Contact Form Plugin – Fastest Contact Form Builder Plugin for WordPress by Fluent Forms - Version 4.3.13

Version Description

(Date: October 07, 2022) = - Adds Cloudflare Turnstile - Adds full admin side translations - Improves entry page styles - Improves label placement settings - Improves Slack integration for Checkable Grid - Improves Password truncate module - Improves AJAX calls - Fixes CSV export issue - Fixes multiple success message issue - Fixes conditional logics for Containers - Fixes long file names issue for file upload

Download this release

Release Info

Developer adreastrian
Plugin Icon 128x128 Contact Form Plugin – Fastest Contact Form Builder Plugin for WordPress by Fluent Forms
Version 4.3.13
Comparing to
See all releases

Code changes from version 4.3.12 to 4.3.13

app/Global/Common.php CHANGED
@@ -211,6 +211,11 @@ function fluentform_upgrade_url()
211
  return 'https://fluentforms.com/pricing/?utm_source=plugin&utm_medium=wp_install&utm_campaign=ff_upgrade&theme_style=' . fluentform_get_active_theme_slug();
212
  }
213
 
 
 
 
 
 
214
  function fluentFormApi($module = 'forms')
215
  {
216
  if ($module == 'forms') {
211
  return 'https://fluentforms.com/pricing/?utm_source=plugin&utm_medium=wp_install&utm_campaign=ff_upgrade&theme_style=' . fluentform_get_active_theme_slug();
212
  }
213
 
214
+ function fluentform_integrations_url()
215
+ {
216
+ return 'https://fluentforms.com/integration/?utm_source=plugin&utm_medium=wp_install&utm_campaign=ff_upgrade&theme_style=' . fluentform_get_active_theme_slug();
217
+ }
218
+
219
  function fluentFormApi($module = 'forms')
220
  {
221
  if ($module == 'forms') {
app/Helpers/Helper.php CHANGED
@@ -6,13 +6,13 @@ use FluentForm\Framework\Helpers\ArrayHelper;
6
 
7
  class Helper
8
  {
9
- static $tabIndex = 0;
10
 
11
- static $formInstance = 0;
12
 
13
- static $loadedForms = [];
14
 
15
- static $tabIndexStatus = 'na';
16
 
17
  /**
18
  * Sanitize form inputs recursively.
@@ -33,7 +33,7 @@ class Helper
33
  foreach ($input as $key => &$value) {
34
  $attribute = $attribute ? $attribute . '[' . $key . ']' : $key;
35
 
36
- $value = Helper::sanitizer($value, $attribute, $fields);
37
 
38
  $attribute = null;
39
  }
@@ -63,7 +63,6 @@ class Helper
63
  }
64
 
65
  return $baseUrl;
66
-
67
  }
68
 
69
  public static function getHtmlElementClass($value1, $value2, $class = 'active', $default = '')
@@ -224,7 +223,6 @@ class Helper
224
  'created_at' => current_time('mysql'),
225
  'updated_at' => current_time('mysql')
226
  ]);
227
-
228
  }
229
 
230
  public static function isEntryAutoDeleteEnabled($formId)
@@ -316,7 +314,6 @@ class Helper
316
 
317
  public static function getShortCodeIds($content, $tag = 'fluentform', $selector = 'id')
318
  {
319
-
320
  if (false === strpos($content, '[')) {
321
  return [];
322
  }
@@ -517,7 +514,7 @@ class Helper
517
  {
518
  if ($type == 'conversational') {
519
  return self::getConversionUrl($formId);
520
- } else if ($type == 'classic') {
521
  return site_url('?fluent_forms_pages=1&design_mode=1&preview_id=' . $formId) . '#ff_preview';
522
  } else {
523
  if (self::isConversionForm($formId)) {
@@ -545,7 +542,7 @@ class Helper
545
  $meta = self::getFormMeta($formId, 'ffc_form_settings_meta', []);
546
  $key = ArrayHelper::get($meta, 'share_key', '');
547
  $paramKey = apply_filters('fluentform_conversational_url_slug', 'fluent-form');
548
- if($paramKey == 'form') {
549
  $paramKey = 'fluent-form';
550
  }
551
  if ($key) {
@@ -553,7 +550,7 @@ class Helper
553
  }
554
  return site_url('?'.$paramKey.'=' . $formId);
555
  }
556
-
557
  public static function fileUploadLocations()
558
  {
559
  $locations = array(
@@ -566,11 +563,10 @@ class Helper
566
  'label' => __('Media Library', 'fluentform'),
567
  ),
568
  );
569
-
570
  return apply_filters('fluentform_file_upload_options', $locations);
571
-
572
  }
573
-
574
  private function unreadCount($formId)
575
  {
576
  return wpFluent()->table('fluentform_submissions')
@@ -600,4 +596,48 @@ class Helper
600
 
601
  return $forms;
602
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
603
  }
6
 
7
  class Helper
8
  {
9
+ public static $tabIndex = 0;
10
 
11
+ public static $formInstance = 0;
12
 
13
+ public static $loadedForms = [];
14
 
15
+ public static $tabIndexStatus = 'na';
16
 
17
  /**
18
  * Sanitize form inputs recursively.
33
  foreach ($input as $key => &$value) {
34
  $attribute = $attribute ? $attribute . '[' . $key . ']' : $key;
35
 
36
+ $value = static::sanitizer($value, $attribute, $fields);
37
 
38
  $attribute = null;
39
  }
63
  }
64
 
65
  return $baseUrl;
 
66
  }
67
 
68
  public static function getHtmlElementClass($value1, $value2, $class = 'active', $default = '')
223
  'created_at' => current_time('mysql'),
224
  'updated_at' => current_time('mysql')
225
  ]);
 
226
  }
227
 
228
  public static function isEntryAutoDeleteEnabled($formId)
314
 
315
  public static function getShortCodeIds($content, $tag = 'fluentform', $selector = 'id')
316
  {
 
317
  if (false === strpos($content, '[')) {
318
  return [];
319
  }
514
  {
515
  if ($type == 'conversational') {
516
  return self::getConversionUrl($formId);
517
+ } elseif ($type == 'classic') {
518
  return site_url('?fluent_forms_pages=1&design_mode=1&preview_id=' . $formId) . '#ff_preview';
519
  } else {
520
  if (self::isConversionForm($formId)) {
542
  $meta = self::getFormMeta($formId, 'ffc_form_settings_meta', []);
543
  $key = ArrayHelper::get($meta, 'share_key', '');
544
  $paramKey = apply_filters('fluentform_conversational_url_slug', 'fluent-form');
545
+ if ($paramKey == 'form') {
546
  $paramKey = 'fluent-form';
547
  }
548
  if ($key) {
550
  }
551
  return site_url('?'.$paramKey.'=' . $formId);
552
  }
553
+
554
  public static function fileUploadLocations()
555
  {
556
  $locations = array(
563
  'label' => __('Media Library', 'fluentform'),
564
  ),
565
  );
566
+
567
  return apply_filters('fluentform_file_upload_options', $locations);
 
568
  }
569
+
570
  private function unreadCount($formId)
571
  {
572
  return wpFluent()->table('fluentform_submissions')
596
 
597
  return $forms;
598
  }
599
+
600
+ public static function replaceBrTag($content, $with = '')
601
+ {
602
+ if (is_array($content)) {
603
+ foreach ($content as $key => $value) {
604
+ $content[$key] = static::replaceBrTag($value, $with);
605
+ }
606
+ } elseif (static::hasBrTag($content)) {
607
+ $content = str_replace('<br />', $with, $content);
608
+ }
609
+
610
+ return $content;
611
+ }
612
+
613
+ public static function hasBrTag($content)
614
+ {
615
+ return is_string($content) && strpos($content, '<br />') !== false;
616
+ }
617
+
618
+ public static function sanitizeForCSV($content)
619
+ {
620
+ $formulas = ['=', '-', '+', '@', "\t", "\r"];
621
+
622
+ if (Str::startsWith($content, $formulas)) {
623
+ $content = "'" . $content;
624
+ }
625
+
626
+ return $content;
627
+ }
628
+
629
+ public static function getForm($id)
630
+ {
631
+ return wpFluent()->table('fluentform_forms')->where('id', $id)->first();
632
+ }
633
+
634
+ public static function shouldHidePassword($formId)
635
+ {
636
+ return apply_filters('fluentform_truncate_password_values', true, $formId) &&
637
+ (
638
+ (defined('FLUENTFORM_RENDERING_ENTRIES') && FLUENTFORM_RENDERING_ENTRIES) ||
639
+ (defined('FLUENTFORM_RENDERING_ENTRY') && FLUENTFORM_RENDERING_ENTRY) ||
640
+ (defined('FLUENTFORM_EXPORTING_ENTRIES') && FLUENTFORM_EXPORTING_ENTRIES)
641
+ );
642
+ }
643
  }
app/Helpers/Str.php CHANGED
@@ -13,7 +13,7 @@ class Str
13
  */
14
  public static function startsWith($haystack, $needles)
15
  {
16
- if(is_array($haystack)) {
17
  $haystack = implode(' ', $haystack);
18
  }
19
 
@@ -35,9 +35,10 @@ class Str
35
  */
36
  public static function endsWith($haystack, $needles)
37
  {
38
- if(is_array($haystack)) {
39
  $haystack = implode(' ', $haystack);
40
  }
 
41
  foreach ((array) $needles as $needle) {
42
  if (substr($haystack, - strlen($needle)) === (string) $needle) {
43
  return true;
@@ -56,7 +57,7 @@ class Str
56
  */
57
  public static function contains($haystack, $needles)
58
  {
59
- if(is_array($haystack)) {
60
  $haystack = implode(' ', $haystack);
61
  }
62
 
13
  */
14
  public static function startsWith($haystack, $needles)
15
  {
16
+ if (is_array($haystack)) {
17
  $haystack = implode(' ', $haystack);
18
  }
19
 
35
  */
36
  public static function endsWith($haystack, $needles)
37
  {
38
+ if (is_array($haystack)) {
39
  $haystack = implode(' ', $haystack);
40
  }
41
+
42
  foreach ((array) $needles as $needle) {
43
  if (substr($haystack, - strlen($needle)) === (string) $needle) {
44
  return true;
57
  */
58
  public static function contains($haystack, $needles)
59
  {
60
+ if (is_array($haystack)) {
61
  $haystack = implode(' ', $haystack);
62
  }
63
 
app/Hooks/Backend.php CHANGED
@@ -351,6 +351,11 @@ add_action('fluentform_loading_editor_assets', function ($form) {
351
  $item['attributes']['name'] = 'h-captcha-response';
352
  return $item;
353
  }, 10, 2);
 
 
 
 
 
354
 
355
  }, 10);
356
 
@@ -400,6 +405,10 @@ $autoIncludeRecaptcha = [
400
  'type'=>'recaptcha',
401
  'is_disabled'=>!get_option('_fluentform_reCaptcha_keys_status', false)
402
  ],
 
 
 
 
403
  ];
404
 
405
  foreach ($autoIncludeRecaptcha as $input) {
351
  $item['attributes']['name'] = 'h-captcha-response';
352
  return $item;
353
  }, 10, 2);
354
+
355
+ add_filter('fluentform_editor_init_element_turnstile', function ($item, $form) {
356
+ $item['attributes']['name'] = 'cf-turnstile-response';
357
+ return $item;
358
+ }, 10, 2);
359
 
360
  }, 10);
361
 
405
  'type'=>'recaptcha',
406
  'is_disabled'=>!get_option('_fluentform_reCaptcha_keys_status', false)
407
  ],
408
+ [
409
+ 'type'=>'turnstile',
410
+ 'is_disabled'=>!get_option('_fluentform_turnstile_keys_status', false)
411
+ ],
412
  ];
413
 
414
  foreach ($autoIncludeRecaptcha as $input) {
app/Hooks/Common.php CHANGED
@@ -1,5 +1,6 @@
1
  <?php
2
 
 
3
  use FluentForm\App\Modules\Component\Component;
4
 
5
  /**
@@ -13,7 +14,7 @@ use FluentForm\App\Modules\Component\Component;
13
 
14
  add_action('save_post', function ($post_id) {
15
  if (isset($_POST['post_content'])) {
16
- $post_content = $_POST['post_content'];
17
  } else {
18
  $post = get_post($post_id);
19
  $post_content = $post->post_content;
@@ -166,6 +167,14 @@ $app->addFilter('fluentform_response_render_input_name', function ($response) {
166
  return \FluentForm\App\Modules\Form\FormDataParser::formatName($response);
167
  }, 10, 1);
168
 
 
 
 
 
 
 
 
 
169
  $app->addFilter('fluentform_filter_insert_data', function ($data) {
170
  $settings = get_option('_fluentform_global_form_settings', false);
171
  if (is_array($settings) && isset($settings['misc'])) {
@@ -357,7 +366,7 @@ add_action('ff_integration_action_result', function ($feed, $status, $note = '')
357
  }, 10, 3);
358
 
359
  add_action('fluentform_global_notify_completed', function ($insertId, $form) use ($app) {
360
- if (strpos($form->form_fields, '"element":"input_password"') && apply_filters('fluentform_truncate_password_values', true, $form)) {
361
  // we have password
362
  (new \FluentForm\App\Services\Integrations\GlobalNotificationManager($app))->cleanUpPassword($insertId, $form);
363
  }
1
  <?php
2
 
3
+ use FluentForm\App\Helpers\Helper;
4
  use FluentForm\App\Modules\Component\Component;
5
 
6
  /**
14
 
15
  add_action('save_post', function ($post_id) {
16
  if (isset($_POST['post_content'])) {
17
+ $post_content = wp_kses_post(wp_unslash($_POST['post_content']));
18
  } else {
19
  $post = get_post($post_id);
20
  $post_content = $post->post_content;
167
  return \FluentForm\App\Modules\Form\FormDataParser::formatName($response);
168
  }, 10, 1);
169
 
170
+ $app->addFilter('fluentform_response_render_input_password', function ($value, $field, $formId) {
171
+ if (Helper::shouldHidePassword($formId)) {
172
+ $value = str_repeat("*", 6) . ' ' . __('(truncated)', 'fluentform');
173
+ }
174
+
175
+ return $value;
176
+ }, 10, 3);
177
+
178
  $app->addFilter('fluentform_filter_insert_data', function ($data) {
179
  $settings = get_option('_fluentform_global_form_settings', false);
180
  if (is_array($settings) && isset($settings['misc'])) {
366
  }, 10, 3);
367
 
368
  add_action('fluentform_global_notify_completed', function ($insertId, $form) use ($app) {
369
+ if (strpos($form->form_fields, '"element":"input_password"') && apply_filters('fluentform_truncate_password_values', true, $form->id)) {
370
  // we have password
371
  (new \FluentForm\App\Services\Integrations\GlobalNotificationManager($app))->cleanUpPassword($insertId, $form);
372
  }
app/Hooks/Frontend.php CHANGED
@@ -46,11 +46,19 @@ add_filter('fluentform_rendering_form', function ($form) {
46
  "name" => "hcaptcha",
47
  ],
48
  ];
 
 
 
 
 
 
49
 
50
  if ($type == 'recaptcha') {
51
  $captcha = $reCaptcha;
52
  } elseif ($type == 'hcaptcha') {
53
  $captcha = $hCaptcha;
 
 
54
  }
55
 
56
  // place recaptcha below custom submit button
46
  "name" => "hcaptcha",
47
  ],
48
  ];
49
+ $turnstile = [
50
+ "element" => "turnstile",
51
+ "attributes" => [
52
+ "name" => "turnstile",
53
+ ],
54
+ ];
55
 
56
  if ($type == 'recaptcha') {
57
  $captcha = $reCaptcha;
58
  } elseif ($type == 'hcaptcha') {
59
  $captcha = $hCaptcha;
60
+ } elseif ($type == 'turnstile') {
61
+ $captcha = $turnstile;
62
  }
63
 
64
  // place recaptcha below custom submit button
app/Modules/Acl/Acl.php CHANGED
@@ -233,7 +233,7 @@ class Acl
233
  'depends' => []
234
  ],
235
  'fluentform_full_access' => [
236
- 'title' => __('Full Access', 'fluent-crm'),
237
  'depends' => []
238
  ],
239
  ];
233
  'depends' => []
234
  ],
235
  'fluentform_full_access' => [
236
+ 'title' => __('Full Access', 'fluentform'),
237
  'depends' => []
238
  ],
239
  ];
app/Modules/Acl/Managers.php CHANGED
@@ -76,7 +76,7 @@ class Managers
76
 
77
  if (!$user) {
78
  return $this->sendError([
79
- 'message' => __('Associate user could not be found', 'fluentcampaign-pro')
80
  ]);
81
  }
82
 
76
 
77
  if (!$user) {
78
  return $this->sendError([
79
+ 'message' => __('Associate user could not be found', 'fluentform')
80
  ]);
81
  }
82
 
app/Modules/AddOnModule.php CHANGED
@@ -68,7 +68,8 @@ class AddOnModule
68
 
69
  wp_localize_script('fluentform-modules', 'fluent_addon_modules', [
70
  'addons' => $addOns,
71
- 'has_pro' => defined('FLUENTFORMPRO')
 
72
  ]);
73
 
74
  View::render('admin.addons.list', []);
@@ -89,143 +90,143 @@ class AddOnModule
89
  $purchaseUrl = fluentform_upgrade_url();
90
  return array(
91
  'paypal' => array(
92
- 'title' => 'PayPal',
93
- 'description' => 'Accept Payments via paypal as a part of your form submission',
94
  'logo' => App::publicUrl('img/integrations/paypal.png'),
95
  'enabled' => 'no',
96
  'purchase_url' => $purchaseUrl,
97
  'category' => 'payment'
98
  ),
99
  'stripe' => array(
100
- 'title' => 'Stripe',
101
- 'description' => 'Accept Payments via stripe as a part of your form submission',
102
  'logo' => App::publicUrl('img/integrations/stripe.png'),
103
  'enabled' => 'no',
104
  'purchase_url' => $purchaseUrl,
105
  'category' => 'payment'
106
  ),
107
  'UserRegistration' => array(
108
- 'title' => 'User Registration',
109
- 'description' => 'Create WordPress user when when a form is submitted',
110
  'logo' => App::publicUrl('img/integrations/user_registration.png'),
111
  'enabled' => 'no',
112
  'purchase_url' => $purchaseUrl,
113
  'category' => 'wp_core'
114
  ),
115
  'PostFeeds' => array(
116
- 'title' => 'Advanced Post/CPT Creation',
117
- 'description' => 'Create post/any cpt on form submission. It will enable many new features including dedicated post fields.',
118
  'logo' => App::publicUrl('img/integrations/post-creation.png'),
119
  'enabled' => 'no',
120
  'purchase_url' => $purchaseUrl,
121
  'category' => 'wp_core'
122
  ),
123
  'sharePages' => array(
124
- 'title' => 'Landing Pages',
125
- 'description' => 'Create completely custom "distraction-free" form landing pages to boost conversions',
126
  'logo' => App::publicUrl('img/integrations/landing_pages.png'),
127
  'enabled' => 'no',
128
  'purchase_url' => $purchaseUrl,
129
  'category' => 'wp_core'
130
  ),
131
  'webhook' => array(
132
- 'title' => 'WebHooks',
133
- 'description' => 'Broadcast your Fluent Forms Submission to any web api endpoint with the powerful webhook module.',
134
  'logo' => App::publicUrl('img/integrations/webhook.png'),
135
  'enabled' => 'no',
136
  'purchase_url' => $purchaseUrl,
137
  'category' => 'crm'
138
  ),
139
  'zapier' => array(
140
- 'title' => 'Zapier',
141
- 'description' => 'Connect your Fluent Forms data with Zapier and push data to thousands of online softwares.',
142
  'logo' => App::publicUrl('img/integrations/zapier.png'),
143
  'enabled' => 'no',
144
  'purchase_url' => $purchaseUrl,
145
  'category' => 'crm'
146
  ),
147
  'trello' => array(
148
- 'title' => 'Trello',
149
- 'description' => 'Fluent Forms Trello Module allows you to create Trello card from submiting forms.',
150
  'logo' => App::publicUrl('img/integrations/trello.png'),
151
  'enabled' => 'no',
152
  'purchase_url' => $purchaseUrl,
153
  'category' => 'crm'
154
  ),
155
  'google_sheet' => array(
156
- 'title' => 'Google Sheet',
157
- 'description' => 'Add Fluent Forms Submission to Google sheets when a form is submitted.',
158
  'logo' => App::publicUrl('img/integrations/google-sheets.png'),
159
  'enabled' => 'no',
160
  'purchase_url' => $purchaseUrl,
161
  'category' => 'crm'
162
  ),
163
  'activecampaign' => array(
164
- 'title' => 'ActiveCampaign',
165
- 'description' => 'Fluent Forms ActiveCampaign Module allows you to create ActiveCampaign list signup forms in WordPress, so you can grow your email list.',
166
  'logo' => App::publicUrl('img/integrations/activecampaign.png'),
167
  'enabled' => 'no',
168
  'purchase_url' => $purchaseUrl,
169
  'category' => 'crm'
170
  ),
171
  'campaign_monitor' => array(
172
- 'title' => 'Campaign Monitor',
173
- 'description' => 'Fluent Forms Campaign Monitor module allows you to create Campaign Monitor newsletter signup forms in WordPress, so you can grow your email list.',
174
  'logo' => App::publicUrl('img/integrations/campaignmonitor.png'),
175
  'enabled' => 'no',
176
  'purchase_url' => $purchaseUrl,
177
  'category' => 'crm'
178
  ),
179
  'constatantcontact' => array(
180
- 'title' => 'Constant Contact',
181
- 'description' => 'Connect Constant Contact with Fluent Forms and create subscriptions forms right into WordPress and grow your list.',
182
  'logo' => App::publicUrl('img/integrations/constantcontact.png'),
183
  'enabled' => 'no',
184
  'purchase_url' => $purchaseUrl,
185
  'category' => 'crm'
186
  ),
187
  'convertkit' => array(
188
- 'title' => 'ConvertKit',
189
- 'description' => 'Connect ConvertKit with Fluent Forms and create subscription forms right into WordPress and grow your list.',
190
  'logo' => App::publicUrl('img/integrations/convertkit.png'),
191
  'enabled' => 'no',
192
  'purchase_url' => $purchaseUrl,
193
  'category' => 'crm'
194
  ),
195
  'getresponse' => array(
196
- 'title' => 'GetResponse',
197
- 'description' => 'Fluent Forms GetResponse module allows you to create GetResponse newsletter signup forms in WordPress, so you can grow your email list.',
198
  'logo' => App::publicUrl('img/integrations/getresponse.png'),
199
  'enabled' => 'no',
200
  'purchase_url' => $purchaseUrl,
201
  'category' => 'crm'
202
  ),
203
  'hubspot' => array(
204
- 'title' => 'Hubspot',
205
- 'description' => 'Connect HubSpot with Fluent Forms and subscribe a contact when a form is submitted.',
206
  'logo' => App::publicUrl('img/integrations/hubspot.png'),
207
  'enabled' => 'no',
208
  'purchase_url' => $purchaseUrl,
209
  'category' => 'crm'
210
  ),
211
  'icontact' => array(
212
- 'title' => 'iContact',
213
- 'description' => 'Connect iContact with Fluent Forms and subscribe a contact when a form is submitted.',
214
  'logo' => App::publicUrl('img/integrations/icontact.png'),
215
  'enabled' => 'no',
216
  'purchase_url' => $purchaseUrl,
217
  'category' => 'crm'
218
  ),
219
  'platformly' => array(
220
- 'title' => 'Platformly',
221
- 'description' => 'Connect Platform.ly with Fluent Forms and subscribe a contact when a form is submitted.',
222
  'logo' => App::publicUrl('img/integrations/platformly.png'),
223
  'enabled' => 'no',
224
  'purchase_url' => $purchaseUrl,
225
  'category' => 'crm'
226
  ),
227
  'moosend' => array(
228
- 'title' => 'MooSend',
229
  'description' => 'Connect MooSend with Fluent Forms and subscribe a contact when a form is submitted.',
230
  'logo' => App::publicUrl('img/integrations/moosend_logo.png'),
231
  'enabled' => 'no',
@@ -233,144 +234,144 @@ class AddOnModule
233
  'category' => 'crm'
234
  ),
235
  'sendfox' => array(
236
- 'title' => 'SendFox',
237
- 'description' => 'Connect SendFox with Fluent Forms and subscribe a contact when a form is submitted.',
238
  'logo' => App::publicUrl('img/integrations/sendfox.png'),
239
  'enabled' => 'no',
240
  'purchase_url' => $purchaseUrl,
241
  'category' => 'crm'
242
  ),
243
  'mailerlite' => array(
244
- 'title' => 'MailerLite',
245
- 'description' => 'Connect your Fluent Forms with MailerLite and add subscribers easily.',
246
  'logo' => App::publicUrl('img/integrations/mailerlite.png'),
247
  'enabled' => 'no',
248
  'purchase_url' => $purchaseUrl,
249
  'category' => 'crm'
250
  ),
251
  'sms_notifications' => array(
252
- 'title' => 'SMS Notification',
253
- 'description' => 'Send SMS in real time when a form is submitted with Twilio.',
254
  'logo' => App::publicUrl('img/integrations/twilio.png'),
255
  'enabled' => 'no',
256
  'purchase_url' => $purchaseUrl,
257
  'category' => 'crm'
258
  ),
259
  'get_gist' => array(
260
- 'title' => 'Gist',
261
- 'description' => 'GetGist is Easy to use all-in-one software for live chat, email marketing automation, forms, knowledge base, and more for a complete 360° view of your contacts.',
262
  'logo' => App::publicUrl('img/integrations/getgist.png'),
263
  'enabled' => 'no',
264
  'purchase_url' => $purchaseUrl,
265
  'category' => 'crm'
266
  ),
267
  'sendinblue' => array(
268
- 'title' => 'SendInBlue',
269
- 'description' => 'Fluent Forms Sendinblue Module allows you to create contacts on your list, so you can grow your email list.',
270
  'logo' => App::publicUrl('img/integrations/sendinblue.png'),
271
  'enabled' => 'no',
272
  'purchase_url' => $purchaseUrl,
273
  'category' => 'crm'
274
  ),
275
  'drip' => array(
276
- 'title' => 'Drip',
277
- 'description' => 'Fluent Forms Drip Module allows you to create contacts on your Drip list, so you can grow your email list.',
278
  'logo' => App::publicUrl('img/integrations/drip.png'),
279
  'enabled' => 'no',
280
  'purchase_url' => $purchaseUrl,
281
  'category' => 'crm'
282
  ),
283
  'discord' => array(
284
- 'title' => 'Discord',
285
- 'description' => 'Send notification with form data to your Discord channel when a form is submitted',
286
  'logo' => App::publicUrl('img/integrations/discord.png'),
287
  'enabled' => 'no',
288
  'purchase_url' => $purchaseUrl,
289
  'category' => 'crm'
290
  ),
291
  'telegram' => array(
292
- 'title' => 'Telegram',
293
- 'description' => 'Send notification to Telegram channel or group when a form is submitted',
294
  'logo' => App::publicUrl('img/integrations/telegram.png'),
295
  'enabled' => 'no',
296
  'purchase_url' => $purchaseUrl,
297
  'category' => 'crm'
298
  ),
299
  'affiliateWp' => array(
300
- 'title' => 'AffiliateWP',
301
- 'description' => 'Generate AffiliateWP referrals automatically when a customer is referred to your site via an affiliate link',
302
  'logo' => App::publicUrl('img/integrations/affiliatewp.png'),
303
  'enabled' => 'no',
304
  'purchase_url' => $purchaseUrl,
305
  'category' => 'crm'
306
  ),
307
  'clicksend_sms_notification' => array(
308
- 'title' => 'ClickSend',
309
- 'description' => 'Send SMS in real time when a form is submitted with ClickSend',
310
  'logo' => App::publicUrl('img/integrations/clicksend.png'),
311
  'enabled' => 'no',
312
  'purchase_url' => $purchaseUrl,
313
  'category' => 'crm'
314
  ),
315
  'zohocrm' => array(
316
- 'title' => 'Zoho CRM',
317
- 'description' => 'Zoho CRM is an online Sales CRM software that manages your sales, marketing and support in one CRM platform.',
318
  'logo' => App::publicUrl('img/integrations/zohocrm.png'),
319
  'enabled' => 'no',
320
  'purchase_url' => $purchaseUrl,
321
  'category' => 'crm'
322
  ),
323
  'cleverreach' => array(
324
- 'title' => 'CleverReach',
325
- 'description' => 'CleverReach is web-based email marketing software for managing email campaigns and contacts. Use Fluent Forms to grow your CleverReach subscriber list',
326
  'logo' => App::publicUrl('img/integrations/clever_reach.png'),
327
  'enabled' => 'no',
328
  'purchase_url' => $purchaseUrl,
329
  'category' => 'crm'
330
  ),
331
  'salesflare' => array(
332
- 'title' => 'Salesflare',
333
- 'description' => 'Create Salesflare contact from WordPress, so you can grow your contact list',
334
  'logo' => App::publicUrl('img/integrations/salesflare.png'),
335
  'enabled' => 'no',
336
  'purchase_url' => $purchaseUrl,
337
  'category' => 'crm'
338
  ),
339
  'automizy' => array(
340
- 'title' => 'Automizy',
341
- 'description' => 'Connect Automizy with Fluent Forms and subscribe a contact when a form is submitted.',
342
  'logo' => App::publicUrl('img/integrations/automizy.png'),
343
  'enabled' => 'no',
344
  'purchase_url' => $purchaseUrl,
345
  'category' => 'crm'
346
  ),
347
  'salesforce' => array(
348
- 'title' => 'Salesforce',
349
- 'description' => 'Salesforce is the world’s #1 customer relationship management (CRM) platform. It helps your marketing, sales, commerce, service and IT teams work as one from anywhere — so you can keep your customers happy everywhere.',
350
  'logo' => App::publicUrl('img/integrations/salesforce.png'),
351
  'enabled' => 'no',
352
  'purchase_url' => $purchaseUrl,
353
  'category' => 'crm'
354
  ),
355
  'airtable' => array(
356
- 'title' => 'Airtable',
357
- 'description' => 'Airtable is a low-code platform for building collaborative apps. Customize your workflow, collaborate, and achieve ambitious outcomes.',
358
  'logo' => App::publicUrl('img/integrations/airtable.png'),
359
  'enabled' => 'no',
360
  'purchase_url' => $purchaseUrl,
361
  'category' => 'crm'
362
  ),
363
  'mailjet' => array(
364
- 'title' => 'Mailjet',
365
- 'description' => 'Mailjet is an easy-to-use all-in-one e-mail platform.',
366
  'logo' => App::publicUrl('img/integrations/mailjet.png'),
367
  'enabled' => 'no',
368
  'purchase_url' => $purchaseUrl,
369
  'category' => 'crm'
370
  ),
371
  'quiz_addon' => array(
372
- 'title' => 'Quiz Module',
373
- 'description' => 'With this module, you can create quizzes and show scores with grades, points, fractions, or percentages',
374
  'logo' => App::publicUrl('img/integrations/quiz-icon.svg'),
375
  'enabled' => 'no',
376
  'purchase_url' => $purchaseUrl,
68
 
69
  wp_localize_script('fluentform-modules', 'fluent_addon_modules', [
70
  'addons' => $addOns,
71
+ 'has_pro' => defined('FLUENTFORMPRO'),
72
+ 'addOnModule_str' => App\Modules\Registerer\TranslationString::getAddOnModuleI18n(),
73
  ]);
74
 
75
  View::render('admin.addons.list', []);
90
  $purchaseUrl = fluentform_upgrade_url();
91
  return array(
92
  'paypal' => array(
93
+ 'title' => __('PayPal', 'fluentform'),
94
+ 'description' => __('Accept Payments via paypal as a part of your form submission', 'fluentform'),
95
  'logo' => App::publicUrl('img/integrations/paypal.png'),
96
  'enabled' => 'no',
97
  'purchase_url' => $purchaseUrl,
98
  'category' => 'payment'
99
  ),
100
  'stripe' => array(
101
+ 'title' => __('Stripe', 'fluentform'),
102
+ 'description' => __('Accept Payments via stripe as a part of your form submission', 'fluentform'),
103
  'logo' => App::publicUrl('img/integrations/stripe.png'),
104
  'enabled' => 'no',
105
  'purchase_url' => $purchaseUrl,
106
  'category' => 'payment'
107
  ),
108
  'UserRegistration' => array(
109
+ 'title' => __('User Registration', 'fluentform'),
110
+ 'description' => __('Create WordPress user when when a form is submitted', 'fluentform'),
111
  'logo' => App::publicUrl('img/integrations/user_registration.png'),
112
  'enabled' => 'no',
113
  'purchase_url' => $purchaseUrl,
114
  'category' => 'wp_core'
115
  ),
116
  'PostFeeds' => array(
117
+ 'title' => __('Advanced Post/CPT Creation', 'fluentform'),
118
+ 'description' => __('Create post/any cpt on form submission. It will enable many new features including dedicated post fields.', 'fluentform'),
119
  'logo' => App::publicUrl('img/integrations/post-creation.png'),
120
  'enabled' => 'no',
121
  'purchase_url' => $purchaseUrl,
122
  'category' => 'wp_core'
123
  ),
124
  'sharePages' => array(
125
+ 'title' => __('Landing Pages', 'fluentform'),
126
+ 'description' => __('Create completely custom "distraction-free" form landing pages to boost conversions', 'fluentform'),
127
  'logo' => App::publicUrl('img/integrations/landing_pages.png'),
128
  'enabled' => 'no',
129
  'purchase_url' => $purchaseUrl,
130
  'category' => 'wp_core'
131
  ),
132
  'webhook' => array(
133
+ 'title' => __('WebHooks', 'fluentform'),
134
+ 'description' => __('Broadcast your Fluent Forms Submission to any web api endpoint with the powerful webhook module.', 'fluentform'),
135
  'logo' => App::publicUrl('img/integrations/webhook.png'),
136
  'enabled' => 'no',
137
  'purchase_url' => $purchaseUrl,
138
  'category' => 'crm'
139
  ),
140
  'zapier' => array(
141
+ 'title' => __('Zapier', 'fluentform'),
142
+ 'description' => __('Connect your Fluent Forms data with Zapier and push data to thousands of online softwares.', 'fluentform'),
143
  'logo' => App::publicUrl('img/integrations/zapier.png'),
144
  'enabled' => 'no',
145
  'purchase_url' => $purchaseUrl,
146
  'category' => 'crm'
147
  ),
148
  'trello' => array(
149
+ 'title' => __('Trello', 'fluentform'),
150
+ 'description' => __('Fluent Forms Trello Module allows you to create Trello card from submiting forms.', 'fluentform'),
151
  'logo' => App::publicUrl('img/integrations/trello.png'),
152
  'enabled' => 'no',
153
  'purchase_url' => $purchaseUrl,
154
  'category' => 'crm'
155
  ),
156
  'google_sheet' => array(
157
+ 'title' => __('Google Sheet', 'fluentform'),
158
+ 'description' => __('Add Fluent Forms Submission to Google sheets when a form is submitted.', 'fluentform'),
159
  'logo' => App::publicUrl('img/integrations/google-sheets.png'),
160
  'enabled' => 'no',
161
  'purchase_url' => $purchaseUrl,
162
  'category' => 'crm'
163
  ),
164
  'activecampaign' => array(
165
+ 'title' => __('ActiveCampaign', 'fluentform'),
166
+ 'description' => __('Fluent Forms ActiveCampaign Module allows you to create ActiveCampaign list signup forms in WordPress, so you can grow your email list.', 'fluentform'),
167
  'logo' => App::publicUrl('img/integrations/activecampaign.png'),
168
  'enabled' => 'no',
169
  'purchase_url' => $purchaseUrl,
170
  'category' => 'crm'
171
  ),
172
  'campaign_monitor' => array(
173
+ 'title' => __('Campaign Monitor', 'fluentform'),
174
+ 'description' => __('Fluent Forms Campaign Monitor module allows you to create Campaign Monitor newsletter signup forms in WordPress, so you can grow your email list.', 'fluentform'),
175
  'logo' => App::publicUrl('img/integrations/campaignmonitor.png'),
176
  'enabled' => 'no',
177
  'purchase_url' => $purchaseUrl,
178
  'category' => 'crm'
179
  ),
180
  'constatantcontact' => array(
181
+ 'title' => __('Constant Contact', 'fluentform'),
182
+ 'description' => __('Connect Constant Contact with Fluent Forms and create subscriptions forms right into WordPress and grow your list.', 'fluentform'),
183
  'logo' => App::publicUrl('img/integrations/constantcontact.png'),
184
  'enabled' => 'no',
185
  'purchase_url' => $purchaseUrl,
186
  'category' => 'crm'
187
  ),
188
  'convertkit' => array(
189
+ 'title' => __('ConvertKit', 'fluentform'),
190
+ 'description' => __('Connect ConvertKit with Fluent Forms and create subscription forms right into WordPress and grow your list.', 'fluentform'),
191
  'logo' => App::publicUrl('img/integrations/convertkit.png'),
192
  'enabled' => 'no',
193
  'purchase_url' => $purchaseUrl,
194
  'category' => 'crm'
195
  ),
196
  'getresponse' => array(
197
+ 'title' => __('GetResponse', 'fluentform'),
198
+ 'description' => __('Fluent Forms GetResponse module allows you to create GetResponse newsletter signup forms in WordPress, so you can grow your email list.', 'fluentform'),
199
  'logo' => App::publicUrl('img/integrations/getresponse.png'),
200
  'enabled' => 'no',
201
  'purchase_url' => $purchaseUrl,
202
  'category' => 'crm'
203
  ),
204
  'hubspot' => array(
205
+ 'title' => __('Hubspot', 'fluentform'),
206
+ 'description' => __('Connect HubSpot with Fluent Forms and subscribe a contact when a form is submitted.', 'fluentform'),
207
  'logo' => App::publicUrl('img/integrations/hubspot.png'),
208
  'enabled' => 'no',
209
  'purchase_url' => $purchaseUrl,
210
  'category' => 'crm'
211
  ),
212
  'icontact' => array(
213
+ 'title' => __('iContact', 'fluentform'),
214
+ 'description' => __('Connect iContact with Fluent Forms and subscribe a contact when a form is submitted.', 'fluentform'),
215
  'logo' => App::publicUrl('img/integrations/icontact.png'),
216
  'enabled' => 'no',
217
  'purchase_url' => $purchaseUrl,
218
  'category' => 'crm'
219
  ),
220
  'platformly' => array(
221
+ 'title' => __('Platformly', 'fluentform'),
222
+ 'description' => __('Connect Platform.ly with Fluent Forms and subscribe a contact when a form is submitted.', 'fluentform'),
223
  'logo' => App::publicUrl('img/integrations/platformly.png'),
224
  'enabled' => 'no',
225
  'purchase_url' => $purchaseUrl,
226
  'category' => 'crm'
227
  ),
228
  'moosend' => array(
229
+ 'title' => __('MooSend', 'fluentform'),
230
  'description' => 'Connect MooSend with Fluent Forms and subscribe a contact when a form is submitted.',
231
  'logo' => App::publicUrl('img/integrations/moosend_logo.png'),
232
  'enabled' => 'no',
234
  'category' => 'crm'
235
  ),
236
  'sendfox' => array(
237
+ 'title' => __('SendFox', 'fluentform'),
238
+ 'description' => __('Connect SendFox with Fluent Forms and subscribe a contact when a form is submitted.', 'fluentform'),
239
  'logo' => App::publicUrl('img/integrations/sendfox.png'),
240
  'enabled' => 'no',
241
  'purchase_url' => $purchaseUrl,
242
  'category' => 'crm'
243
  ),
244
  'mailerlite' => array(
245
+ 'title' => __('MailerLite', 'fluentform'),
246
+ 'description' => __('Connect your Fluent Forms with MailerLite and add subscribers easily.', 'fluentform'),
247
  'logo' => App::publicUrl('img/integrations/mailerlite.png'),
248
  'enabled' => 'no',
249
  'purchase_url' => $purchaseUrl,
250
  'category' => 'crm'
251
  ),
252
  'sms_notifications' => array(
253
+ 'title' => __('SMS Notification', 'fluentform'),
254
+ 'description' => __('Send SMS in real time when a form is submitted with Twilio.', 'fluentform'),
255
  'logo' => App::publicUrl('img/integrations/twilio.png'),
256
  'enabled' => 'no',
257
  'purchase_url' => $purchaseUrl,
258
  'category' => 'crm'
259
  ),
260
  'get_gist' => array(
261
+ 'title' => __('Gist', 'fluentform'),
262
+ 'description' => __('GetGist is Easy to use all-in-one software for live chat, email marketing automation, forms, knowledge base, and more for a complete 360° view of your contacts.', 'fluentform'),
263
  'logo' => App::publicUrl('img/integrations/getgist.png'),
264
  'enabled' => 'no',
265
  'purchase_url' => $purchaseUrl,
266
  'category' => 'crm'
267
  ),
268
  'sendinblue' => array(
269
+ 'title' => __('SendInBlue', 'fluentform'),
270
+ 'description' => __('Fluent Forms Sendinblue Module allows you to create contacts on your list, so you can grow your email list.', 'fluentform'),
271
  'logo' => App::publicUrl('img/integrations/sendinblue.png'),
272
  'enabled' => 'no',
273
  'purchase_url' => $purchaseUrl,
274
  'category' => 'crm'
275
  ),
276
  'drip' => array(
277
+ 'title' => __('Drip', 'fluentform'),
278
+ 'description' => __('Fluent Forms Drip Module allows you to create contacts on your Drip list, so you can grow your email list.', 'fluentform'),
279
  'logo' => App::publicUrl('img/integrations/drip.png'),
280
  'enabled' => 'no',
281
  'purchase_url' => $purchaseUrl,
282
  'category' => 'crm'
283
  ),
284
  'discord' => array(
285
+ 'title' => __('Discord', 'fluentform'),
286
+ 'description' => __('Send notification with form data to your Discord channel when a form is submitted', 'fluentform'),
287
  'logo' => App::publicUrl('img/integrations/discord.png'),
288
  'enabled' => 'no',
289
  'purchase_url' => $purchaseUrl,
290
  'category' => 'crm'
291
  ),
292
  'telegram' => array(
293
+ 'title' => __('Telegram', 'fluentform'),
294
+ 'description' => __('Send notification to Telegram channel or group when a form is submitted', 'fluentform'),
295
  'logo' => App::publicUrl('img/integrations/telegram.png'),
296
  'enabled' => 'no',
297
  'purchase_url' => $purchaseUrl,
298
  'category' => 'crm'
299
  ),
300
  'affiliateWp' => array(
301
+ 'title' => __('AffiliateWP', 'fluentform'),
302
+ 'description' => __('Generate AffiliateWP referrals automatically when a customer is referred to your site via an affiliate link', 'fluentform'),
303
  'logo' => App::publicUrl('img/integrations/affiliatewp.png'),
304
  'enabled' => 'no',
305
  'purchase_url' => $purchaseUrl,
306
  'category' => 'crm'
307
  ),
308
  'clicksend_sms_notification' => array(
309
+ 'title' => __('ClickSend', 'fluentform'),
310
+ 'description' => __('Send SMS in real time when a form is submitted with ClickSend', 'fluentform'),
311
  'logo' => App::publicUrl('img/integrations/clicksend.png'),
312
  'enabled' => 'no',
313
  'purchase_url' => $purchaseUrl,
314
  'category' => 'crm'
315
  ),
316
  'zohocrm' => array(
317
+ 'title' => __('Zoho CRM', 'fluentform'),
318
+ 'description' => __('Zoho CRM is an online Sales CRM software that manages your sales, marketing and support in one CRM platform.', 'fluentform'),
319
  'logo' => App::publicUrl('img/integrations/zohocrm.png'),
320
  'enabled' => 'no',
321
  'purchase_url' => $purchaseUrl,
322
  'category' => 'crm'
323
  ),
324
  'cleverreach' => array(
325
+ 'title' => __('CleverReach', 'fluentform'),
326
+ 'description' => __('CleverReach is web-based email marketing software for managing email campaigns and contacts. Use Fluent Forms to grow your CleverReach subscriber list', 'fluentform'),
327
  'logo' => App::publicUrl('img/integrations/clever_reach.png'),
328
  'enabled' => 'no',
329
  'purchase_url' => $purchaseUrl,
330
  'category' => 'crm'
331
  ),
332
  'salesflare' => array(
333
+ 'title' => __('Salesflare', 'fluentform'),
334
+ 'description' => __('Create Salesflare contact from WordPress, so you can grow your contact list', 'fluentform'),
335
  'logo' => App::publicUrl('img/integrations/salesflare.png'),
336
  'enabled' => 'no',
337
  'purchase_url' => $purchaseUrl,
338
  'category' => 'crm'
339
  ),
340
  'automizy' => array(
341
+ 'title' => __('Automizy', 'fluentform'),
342
+ 'description' => __('Connect Automizy with Fluent Forms and subscribe a contact when a form is submitted.', 'fluentform'),
343
  'logo' => App::publicUrl('img/integrations/automizy.png'),
344
  'enabled' => 'no',
345
  'purchase_url' => $purchaseUrl,
346
  'category' => 'crm'
347
  ),
348
  'salesforce' => array(
349
+ 'title' => __('Salesforce', 'fluentform'),
350
+ 'description' => __('Salesforce helps your marketing, sales, commerce, service and IT teams work as one from anywhere — so you can keep your customers happy everywhere.', 'fluentform'),
351
  'logo' => App::publicUrl('img/integrations/salesforce.png'),
352
  'enabled' => 'no',
353
  'purchase_url' => $purchaseUrl,
354
  'category' => 'crm'
355
  ),
356
  'airtable' => array(
357
+ 'title' => __('Airtable', 'fluentform'),
358
+ 'description' => __('Airtable is a low-code platform for building collaborative apps. Customize your workflow, collaborate, and achieve ambitious outcomes.', 'fluentform'),
359
  'logo' => App::publicUrl('img/integrations/airtable.png'),
360
  'enabled' => 'no',
361
  'purchase_url' => $purchaseUrl,
362
  'category' => 'crm'
363
  ),
364
  'mailjet' => array(
365
+ 'title' => __('Mailjet', 'fluentform'),
366
+ 'description' => __('Mailjet is an easy-to-use all-in-one e-mail platform.', 'fluentform'),
367
  'logo' => App::publicUrl('img/integrations/mailjet.png'),
368
  'enabled' => 'no',
369
  'purchase_url' => $purchaseUrl,
370
  'category' => 'crm'
371
  ),
372
  'quiz_addon' => array(
373
+ 'title' => __('Quiz Module', 'fluentform'),
374
+ 'description' => __('With this module, you can create quizzes and show scores with grades, points, fractions, or percentages', 'fluentform'),
375
  'logo' => App::publicUrl('img/integrations/quiz-icon.svg'),
376
  'enabled' => 'no',
377
  'purchase_url' => $purchaseUrl,
app/Modules/Component/Component.php CHANGED
@@ -179,77 +179,203 @@ class Component
179
  {
180
  $isReCaptchaDisabled = !get_option('_fluentform_reCaptcha_keys_status', false);
181
  $isHCaptchaDisabled = !get_option('_fluentform_hCaptcha_keys_status', false);
 
182
 
183
  $disabled = array(
184
  'recaptcha' => array(
185
- 'contentComponent' => 'recaptcha',
186
- 'disabled' => $isReCaptchaDisabled
 
 
187
  ),
188
  'hcaptcha' => array(
189
- 'contentComponent' => 'hcaptcha',
190
- 'disabled' => $isHCaptchaDisabled
 
 
 
 
 
 
 
 
191
  ),
192
  'input_image' => array(
193
- 'disabled' => true
 
 
 
 
194
  ),
195
  'input_file' => array(
196
- 'disabled' => true
 
 
 
 
197
  ),
198
  'shortcode' => array(
199
- 'disabled' => true
 
 
 
 
200
  ),
201
  'action_hook' => array(
202
- 'disabled' => true
 
 
 
 
203
  ),
204
  'form_step' => array(
205
- 'disabled' => true
 
 
 
 
206
  )
207
  );
208
 
209
  if (!defined('FLUENTFORMPRO')) {
210
  $disabled['ratings'] = array(
211
- 'disabled' => true
 
 
 
 
212
  );
213
  $disabled['tabular_grid'] = array(
214
- 'disabled' => true
 
 
 
 
 
 
 
 
 
 
 
215
  );
216
  $disabled['phone'] = array(
217
- 'disabled' => true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
218
  );
219
-
220
  $disabled['net_promoter_score'] = array(
221
- 'disabled' => true
 
 
 
 
222
  );
223
-
224
  $disabled['repeater_field'] = array(
225
- 'disabled' => true
 
 
 
 
226
  );
227
-
228
  $disabled['rangeslider'] = array(
229
- 'disabled' => true
 
 
 
 
230
  );
231
-
232
  $disabled['color-picker'] = array(
233
- 'disabled' => true
 
 
 
 
234
  );
235
-
236
  $disabled['multi_payment_component'] = array(
237
  'disabled' => true,
238
- 'is_payment' => true
 
 
 
 
239
  );
240
  $disabled['custom_payment_component'] = array(
241
  'disabled' => true,
242
- 'is_payment' => true
 
 
 
 
 
 
 
 
 
 
 
 
243
  );
244
-
245
  $disabled['item_quantity_component'] = array(
246
  'disabled' => true,
247
- 'is_payment' => true
 
 
 
 
248
  );
249
-
250
  $disabled['payment_method'] = array(
251
  'disabled' => true,
252
- 'is_payment' => true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
253
  );
254
  }
255
  return $this->app->applyFilters('fluentform_disabled_components', $disabled);
@@ -515,9 +641,7 @@ class Component
515
 
516
 
517
  if ($atts['type'] == 'conversational') {
518
- ob_start();
519
- $this->addInlineVars();
520
- ob_clean();
521
  return (new \FluentForm\App\Services\FluentConversational\Classes\Form())->renderShortcode($form);
522
  }
523
 
@@ -680,6 +804,7 @@ class Component
680
  'DateTime@compile' => ['fluentform_render_item_input_date'],
681
  'Recaptcha@compile' => ['fluentform_render_item_recaptcha'],
682
  'Hcaptcha@compile' => ['fluentform_render_item_hcaptcha'],
 
683
  'Container@compile' => ['fluentform_render_item_container'],
684
  'CustomHtml@compile' => ['fluentform_render_item_custom_html'],
685
  'SectionBreak@compile' => ['fluentform_render_item_section_break'],
179
  {
180
  $isReCaptchaDisabled = !get_option('_fluentform_reCaptcha_keys_status', false);
181
  $isHCaptchaDisabled = !get_option('_fluentform_hCaptcha_keys_status', false);
182
+ $isTurnstileDisabled = !get_option('_fluentform_turnstile_keys_status', false);
183
 
184
  $disabled = array(
185
  'recaptcha' => array(
186
+ 'disabled' => $isReCaptchaDisabled,
187
+ 'title' => __('reCaptcha', 'fluentform'),
188
+ 'description' => __('Please enter a valid API key on FluentForms->Settings->reCaptcha', 'fluentform'),
189
+ 'hidePro' => true
190
  ),
191
  'hcaptcha' => array(
192
+ 'disabled' => $isHCaptchaDisabled,
193
+ 'title' => __('hCaptcha', 'fluentform'),
194
+ 'description' => __('Please enter a valid API key on FluentForms->Settings->hCaptcha', 'fluentform'),
195
+ 'hidePro' => true
196
+ ),
197
+ 'turnstile' => array(
198
+ 'disabled' => $isTurnstileDisabled,
199
+ 'title' => __('Turnstile', 'fluentform'),
200
+ 'description' => __('Please enter a valid API key on FluentForms->Settings->Turnstile', 'fluentform'),
201
+ 'hidePro' => true
202
  ),
203
  'input_image' => array(
204
+ 'disabled' => true,
205
+ 'title' => __('Image Upload', 'fluentform'),
206
+ 'description' => __('Image Upload is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
207
+ 'image' => '',
208
+ 'video' => 'https://www.youtube.com/embed/Yb3FSoZl9Zg'
209
  ),
210
  'input_file' => array(
211
+ 'disabled' => true,
212
+ 'title' => __('File Upload', 'fluentform'),
213
+ 'description' => __('File Upload is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
214
+ 'image' => '',
215
+ 'video' => 'https://www.youtube.com/embed/bXbTbNPM_4k'
216
  ),
217
  'shortcode' => array(
218
+ 'disabled' => true,
219
+ 'title' => __('Shortcode', 'fluentform'),
220
+ 'description' => __('Shortcode is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
221
+ 'image' => '',
222
+ 'video' => 'https://www.youtube.com/embed/op3mEQxX1MM'
223
  ),
224
  'action_hook' => array(
225
+ 'disabled' => true,
226
+ 'title' => __('Action Hook', 'fluentform'),
227
+ 'description' => __('Action Hook is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
228
+ 'image' => $this->app->publicUrl('img/pro-fields/Action Hook.png'),
229
+ 'video' => ''
230
  ),
231
  'form_step' => array(
232
+ 'disabled' => true,
233
+ 'title' => __('Form Step', 'fluentform'),
234
+ 'description' => __('Form Step is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
235
+ 'image' => '',
236
+ 'video' => 'https://www.youtube.com/embed/VQTWnM6BbRU'
237
  )
238
  );
239
 
240
  if (!defined('FLUENTFORMPRO')) {
241
  $disabled['ratings'] = array(
242
+ 'disabled' => true,
243
+ 'title' => __('Ratings', 'fluentform'),
244
+ 'description' => __('Ratings is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
245
+ 'image' => '',
246
+ 'video' => 'https://www.youtube.com/embed/YGdkNspMaEs'
247
  );
248
  $disabled['tabular_grid'] = array(
249
+ 'disabled' => true,
250
+ 'title' => __('Checkable Grid', 'fluentform'),
251
+ 'description' => __('Checkable Grid is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
252
+ 'image' => '',
253
+ 'video' => 'https://www.youtube.com/embed/ayI3TzXXANA'
254
+ );
255
+ $disabled['chained_select'] = array(
256
+ 'disabled' => true,
257
+ 'title' => __('Chained Select Field', 'fluentform'),
258
+ 'description' => __('Chained Select Field is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
259
+ 'image' => $this->app->publicUrl('img/pro-fields/Chained Select Field.png'),
260
+ 'video' => ''
261
  );
262
  $disabled['phone'] = array(
263
+ 'disabled' => true,
264
+ 'title' => 'Phone Field',
265
+ 'description' => __('Phone Field is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
266
+ 'image' => $this->app->publicUrl('img/pro-fields/Phone Field.png'),
267
+ 'video' => ''
268
+ );
269
+ $disabled['rich_text_input'] = array(
270
+ 'disabled' => true,
271
+ 'title' => __('Rich Text Input', 'fluentform'),
272
+ 'description' => __('Rich Text Input is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
273
+ 'image' => $this->app->publicUrl('img/pro-fields/Rich Text Input.png'),
274
+ 'video' => ''
275
+ );
276
+ $disabled['save_progress_button'] = array(
277
+ 'disabled' => true,
278
+ 'title' => __('Save & Resume', 'fluentform'),
279
+ 'description' => __('Save & Resume is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
280
+ 'image' => $this->app->publicUrl('img/pro-fields/Save Progress Button.png'),
281
+ 'video' => ''
282
+ );
283
+ $disabled['cpt_selection'] = array(
284
+ 'disabled' => true,
285
+ 'title' => __('Post/CPT Selection', 'fluentform'),
286
+ 'description' => __('Post/CPT Selection is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
287
+ 'image' => $this->app->publicUrl('img/pro-fields/Post_CPT Selection.png'),
288
+ 'video' => ''
289
+ );
290
+ $disabled['quiz_score'] = array(
291
+ 'disabled' => true,
292
+ 'title' => __('Quiz Score', 'fluentform'),
293
+ 'description' => __('Quiz Score is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
294
+ 'image' => '',
295
+ 'video' => 'https://www.youtube.com/embed/bPjDXR0y_Oo'
296
  );
 
297
  $disabled['net_promoter_score'] = array(
298
+ 'disabled' => true,
299
+ 'title' => __('Net Promoter Score', 'fluentform'),
300
+ 'description' => __('Net Promoter Score is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
301
+ 'image' => $this->app->publicUrl('img/pro-fields/Net Promoter Score.png'),
302
+ 'video' => ''
303
  );
 
304
  $disabled['repeater_field'] = array(
305
+ 'disabled' => true,
306
+ 'title' => __('Repeat Field', 'fluentform'),
307
+ 'description' => __('Repeat Field is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
308
+ 'image' => '',
309
+ 'video' => 'https://www.youtube.com/embed/BXo9Sk-OLnQ'
310
  );
 
311
  $disabled['rangeslider'] = array(
312
+ 'disabled' => true,
313
+ 'title' => __('Range Slider', 'fluentform'),
314
+ 'description' => __('Range Slider is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
315
+ 'image' => '',
316
+ 'video' => 'https://www.youtube.com/embed/RaY2VcPWk6I'
317
  );
 
318
  $disabled['color-picker'] = array(
319
+ 'disabled' => true,
320
+ 'title' => __('Color Picker', 'fluentform'),
321
+ 'description' => __('Color Picker is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
322
+ 'image' => $this->app->publicUrl('img/pro-fields/Color Picker.png'),
323
+ 'video' => ''
324
  );
 
325
  $disabled['multi_payment_component'] = array(
326
  'disabled' => true,
327
+ 'is_payment' => true,
328
+ 'title' => __('Payment Field', 'fluentform'),
329
+ 'description' => __('Payment Field is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
330
+ 'image' => $this->app->publicUrl('img/pro-fields/Payment Field.png'),
331
+ 'video' => ''
332
  );
333
  $disabled['custom_payment_component'] = array(
334
  'disabled' => true,
335
+ 'is_payment' => true,
336
+ 'title' => 'Custom Payment Amount',
337
+ 'description' => __('Custom Payment Amount is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
338
+ 'image' => $this->app->publicUrl('img/pro-fields/Custom Payment Amount.png'),
339
+ 'video' => ''
340
+ );
341
+ $disabled['subscription_payment_component'] = array(
342
+ 'disabled' => true,
343
+ 'is_payment' => true,
344
+ 'title' => __('Subscription Field', 'fluentform'),
345
+ 'description' => __('Subscription Field is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
346
+ 'image' => $this->app->publicUrl('img/pro-fields/Subscription Field.png'),
347
+ 'video' => ''
348
  );
 
349
  $disabled['item_quantity_component'] = array(
350
  'disabled' => true,
351
+ 'is_payment' => true,
352
+ 'title' => __('Item Quantity', 'fluentform'),
353
+ 'description' => __('Item Quantity is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
354
+ 'image' => $this->app->publicUrl('img/pro-fields/Item Quantity.png'),
355
+ 'video' => ''
356
  );
 
357
  $disabled['payment_method'] = array(
358
  'disabled' => true,
359
+ 'is_payment' => true,
360
+ 'title' => __('Payment Method', 'fluentform'),
361
+ 'description' => __('Payment Method is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
362
+ 'image' => $this->app->publicUrl('img/pro-fields/Payment Method.png'),
363
+ 'video' => ''
364
+ );
365
+ $disabled['payment_summary_component'] = array(
366
+ 'disabled' => true,
367
+ 'is_payment' => true,
368
+ 'title' => __('Payment Summary', 'fluentform'),
369
+ 'description' => __('Payment Summary is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
370
+ 'image' => $this->app->publicUrl('img/pro-fields/Payment Summary.png'),
371
+ 'video' => ''
372
+ );
373
+ $disabled['payment_coupon'] = array(
374
+ 'disabled' => true,
375
+ 'title' => __('Coupon', 'fluentform'),
376
+ 'description' => __('Coupon is not available with the free version. Please upgrade to pro to get all the advanced features.', 'fluentform'),
377
+ 'image' => $this->app->publicUrl('img/pro-fields/Coupon.png'),
378
+ 'video' => ''
379
  );
380
  }
381
  return $this->app->applyFilters('fluentform_disabled_components', $disabled);
641
 
642
 
643
  if ($atts['type'] == 'conversational') {
644
+ $this->addInlineVars();
 
 
645
  return (new \FluentForm\App\Services\FluentConversational\Classes\Form())->renderShortcode($form);
646
  }
647
 
804
  'DateTime@compile' => ['fluentform_render_item_input_date'],
805
  'Recaptcha@compile' => ['fluentform_render_item_recaptcha'],
806
  'Hcaptcha@compile' => ['fluentform_render_item_hcaptcha'],
807
+ 'Turnstile@compile' => ['fluentform_render_item_turnstile'],
808
  'Container@compile' => ['fluentform_render_item_container'],
809
  'CustomHtml@compile' => ['fluentform_render_item_custom_html'],
810
  'SectionBreak@compile' => ['fluentform_render_item_section_break'],
app/Modules/DashboardWidgetModule.php CHANGED
@@ -46,11 +46,11 @@ class DashboardWidgetModule
46
  </li>
47
  <?php endforeach; ?>
48
  </ul>
49
- <?php if ( !defined('ENHANCED_BLOCKS_VERSION') && !defined('FLUENTFORMPRO') ) : ?>
50
  <div class="ff_recommended_plugin">
51
- Recommended Plugin: <b>Enhanced Blocks Page Builder Blocks for Gutenberg</b> <br />
52
- <a href="<?php echo $this->getInstallUrl('enhanced-blocks'); ?>">Install</a>
53
- | <a target="_blank" rel="noopener" href="https://wordpress.org/plugins/enhanced-blocks/">Learn More</a>
54
  </div>
55
  <?php endif; ?>
56
  <style>
46
  </li>
47
  <?php endforeach; ?>
48
  </ul>
49
+ <?php if ( !defined('FLUENTCRM') && !defined('FLUENTFORMPRO') ) : ?>
50
  <div class="ff_recommended_plugin">
51
+ Recommended Plugin: <b>FluentCRM - Email Marketing Automation For WordPress</b> <br />
52
+ <a href="<?php echo $this->getInstallUrl('fluent-crm'); ?>">Install</a>
53
+ | <a target="_blank" rel="noopener" href="https://wordpress.org/plugins/fluent-crm/">Learn More</a>
54
  </div>
55
  <?php endif; ?>
56
  <style>
app/Modules/Entries/Entries.php CHANGED
@@ -5,6 +5,7 @@ namespace FluentForm\App\Modules\Entries;
5
  use FluentForm\App\Helpers\Helper;
6
  use FluentForm\App\Modules\Form\FormDataParser;
7
  use FluentForm\App\Modules\Form\FormFieldsParser;
 
8
  use FluentForm\Framework\Helpers\ArrayHelper;
9
  use FluentForm\View;
10
 
@@ -191,7 +192,8 @@ class Entries extends EntryQuery
191
  'available_countries' => $app->load(
192
  $app->appPath('Services/FormBuilder/CountryNames.php')
193
  ),
194
- 'upgrade_url' => fluentform_upgrade_url()
 
195
  ], $form);
196
 
197
  wp_localize_script(
@@ -391,6 +393,10 @@ class Entries extends EntryQuery
391
 
392
  public function getEntry()
393
  {
 
 
 
 
394
  $entryData = $this->_getEntry();
395
 
396
  $entryData['widgets'] = apply_filters('fluentform_single_entry_widgets', [], $entryData);
@@ -710,6 +716,7 @@ class Entries extends EntryQuery
710
  '_wp_http_referer',
711
  'g-recaptcha-response',
712
  'h-captcha-response',
 
713
  '__stripe_payment_method_id',
714
  '__ff_all_applied_coupons',
715
  '__entry_intermediate_hash'
@@ -873,7 +880,7 @@ class Entries extends EntryQuery
873
  do_action('fluentform_submission_user_changed', $submission, $user);
874
 
875
  wp_send_json_success([
876
- 'message' => __('Selected user has been successfully assigned to this submission', 'fuentform'),
877
  'user' => [
878
  'name' => $user->display_name,
879
  'email' => $user->user_email,
5
  use FluentForm\App\Helpers\Helper;
6
  use FluentForm\App\Modules\Form\FormDataParser;
7
  use FluentForm\App\Modules\Form\FormFieldsParser;
8
+ use FluentForm\App\Modules\Registerer\TranslationString;
9
  use FluentForm\Framework\Helpers\ArrayHelper;
10
  use FluentForm\View;
11
 
192
  'available_countries' => $app->load(
193
  $app->appPath('Services/FormBuilder/CountryNames.php')
194
  ),
195
+ 'upgrade_url' => fluentform_upgrade_url(),
196
+ 'form_entries_str' => TranslationString::getEntriesI18n(),
197
  ], $form);
198
 
199
  wp_localize_script(
393
 
394
  public function getEntry()
395
  {
396
+ if (!defined('FLUENTFORM_RENDERING_ENTRY')) {
397
+ define('FLUENTFORM_RENDERING_ENTRY', true);
398
+ }
399
+
400
  $entryData = $this->_getEntry();
401
 
402
  $entryData['widgets'] = apply_filters('fluentform_single_entry_widgets', [], $entryData);
716
  '_wp_http_referer',
717
  'g-recaptcha-response',
718
  'h-captcha-response',
719
+ 'cf-turnstile-response',
720
  '__stripe_payment_method_id',
721
  '__ff_all_applied_coupons',
722
  '__entry_intermediate_hash'
880
  do_action('fluentform_submission_user_changed', $submission, $user);
881
 
882
  wp_send_json_success([
883
+ 'message' => __('Selected user has been successfully assigned to this submission', 'fluentform'),
884
  'user' => [
885
  'name' => $user->display_name,
886
  'email' => $user->user_email,
app/Modules/Entries/Export.php CHANGED
@@ -6,6 +6,7 @@ use FluentForm\App\Modules\Form\FormDataParser;
6
  use FluentForm\App\Modules\Form\FormFieldsParser;
7
  use FluentForm\Framework\Foundation\Application;
8
  use FluentForm\Framework\Helpers\ArrayHelper as Arr;
 
9
 
10
  class Export
11
  {
@@ -43,6 +44,10 @@ class Export
43
  */
44
  public function index()
45
  {
 
 
 
 
46
  $formId = intval($this->request->get('form_id'));
47
 
48
  $form = wpFluent()->table('fluentform_forms')->find($formId);
@@ -77,13 +82,15 @@ class Export
77
  $submission->response = json_decode($submission->response, true);
78
  $temp = [];
79
  foreach ($inputLabels as $field => $label) {
80
- $temp[] = trim(
81
  wp_strip_all_tags(
82
  FormDataParser::formatValue(
83
  Arr::get($submission->user_inputs, $field)
84
  )
85
  )
86
  );
 
 
87
  }
88
 
89
  if ($form->has_payment && $this->tableName == 'fluentform_submissions') {
6
  use FluentForm\App\Modules\Form\FormFieldsParser;
7
  use FluentForm\Framework\Foundation\Application;
8
  use FluentForm\Framework\Helpers\ArrayHelper as Arr;
9
+ use FluentForm\App\Helpers\Helper;
10
 
11
  class Export
12
  {
44
  */
45
  public function index()
46
  {
47
+ if (!defined('FLUENTFORM_EXPORTING_ENTRIES')) {
48
+ define('FLUENTFORM_EXPORTING_ENTRIES', true);
49
+ }
50
+
51
  $formId = intval($this->request->get('form_id'));
52
 
53
  $form = wpFluent()->table('fluentform_forms')->find($formId);
82
  $submission->response = json_decode($submission->response, true);
83
  $temp = [];
84
  foreach ($inputLabels as $field => $label) {
85
+ $content = trim(
86
  wp_strip_all_tags(
87
  FormDataParser::formatValue(
88
  Arr::get($submission->user_inputs, $field)
89
  )
90
  )
91
  );
92
+
93
+ $temp[] = Helper::sanitizeForCSV($content);
94
  }
95
 
96
  if ($form->has_payment && $this->tableName == 'fluentform_submissions') {
app/Modules/Entries/Report.php CHANGED
@@ -123,7 +123,7 @@ class Report
123
  ->select(wpFluent()->raw('count(' . $wpdb->prefix . 'fluentform_entry_details.field_name) as total_count'))
124
  ->where('fluentform_entry_details.form_id', $formId)
125
  ->whereIn('fluentform_entry_details.field_name', $fieldNames)
126
- ->leftJoin('fluentform_submissions', 'fluentform_submissions.id', '=', 'fluentform_entry_details.submission_id');
127
 
128
  if ($whereClasuses) {
129
  foreach ($whereClasuses as $clauseColumn => $clasus) {
@@ -342,5 +342,6 @@ class Report
342
  }
343
  return $formattedData;
344
  }
 
345
 
346
- }
123
  ->select(wpFluent()->raw('count(' . $wpdb->prefix . 'fluentform_entry_details.field_name) as total_count'))
124
  ->where('fluentform_entry_details.form_id', $formId)
125
  ->whereIn('fluentform_entry_details.field_name', $fieldNames)
126
+ ->rightJoin('fluentform_submissions', 'fluentform_submissions.id', '=', 'fluentform_entry_details.submission_id');
127
 
128
  if ($whereClasuses) {
129
  foreach ($whereClasuses as $clauseColumn => $clasus) {
342
  }
343
  return $formattedData;
344
  }
345
+
346
 
347
+ }
app/Modules/Form/FormDataParser.php CHANGED
@@ -47,6 +47,7 @@ class FormDataParser
47
  public static function parseData($response, $fields, $formId, $isHtml = false)
48
  {
49
  $trans = [];
 
50
  foreach ($fields as $field_key => $field) {
51
  if (isset($response->{$field_key})) {
52
  $value = apply_filters(
47
  public static function parseData($response, $fields, $formId, $isHtml = false)
48
  {
49
  $trans = [];
50
+
51
  foreach ($fields as $field_key => $field) {
52
  if (isset($response->{$field_key})) {
53
  $value = apply_filters(
app/Modules/Form/FormHandler.php CHANGED
@@ -8,6 +8,7 @@ use FluentForm\App\Modules\Activator;
8
  use FluentForm\App\Modules\Entries\Entries;
9
  use FluentForm\App\Modules\ReCaptcha\ReCaptcha;
10
  use FluentForm\App\Modules\HCaptcha\HCaptcha;
 
11
  use FluentForm\App\Services\Browser\Browser;
12
  use FluentForm\App\Services\FormBuilder\ShortCodeParser;
13
  use FluentForm\Framework\Foundation\Application;
@@ -302,6 +303,7 @@ class FormHandler
302
 
303
  $this->validateReCaptcha();
304
  $this->validateHCaptcha();
 
305
 
306
  foreach ($fields as $fieldName => $field) {
307
  if(isset($this->formData[$fieldName])) {
@@ -479,6 +481,30 @@ class FormHandler
479
  }
480
  }
481
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
482
  /**
483
  * Validate form data based on the form restrictions settings.
484
  *
8
  use FluentForm\App\Modules\Entries\Entries;
9
  use FluentForm\App\Modules\ReCaptcha\ReCaptcha;
10
  use FluentForm\App\Modules\HCaptcha\HCaptcha;
11
+ use FluentForm\App\Modules\Turnstile\Turnstile;
12
  use FluentForm\App\Services\Browser\Browser;
13
  use FluentForm\App\Services\FormBuilder\ShortCodeParser;
14
  use FluentForm\Framework\Foundation\Application;
303
 
304
  $this->validateReCaptcha();
305
  $this->validateHCaptcha();
306
+ $this->validateTurnstile();
307
 
308
  foreach ($fields as $fieldName => $field) {
309
  if(isset($this->formData[$fieldName])) {
481
  }
482
  }
483
 
484
+ /**
485
+ * Validate turnstile.
486
+ */
487
+ private function validateTurnstile()
488
+ {
489
+ $autoInclude = apply_filters('ff_has_auto_turnstile', false);
490
+ if (FormFieldsParser::hasElement($this->form, 'turnstile') || $autoInclude) {
491
+ $keys = get_option('_fluentform_turnstile_details');
492
+ $token = Arr::get($this->formData, 'cf-turnstile-response');
493
+
494
+ $isValid = Turnstile::validate($token, $keys['secretKey']);
495
+
496
+ if (!$isValid) {
497
+ wp_send_json([
498
+ 'errors' => [
499
+ 'cf-turnstile-response' => [
500
+ __('Turnstile verification failed, please try again.', 'fluentform')
501
+ ]
502
+ ]
503
+ ], 422);
504
+ }
505
+ }
506
+ }
507
+
508
  /**
509
  * Validate form data based on the form restrictions settings.
510
  *
app/Modules/Form/Predefined.php CHANGED
@@ -133,7 +133,7 @@ class Predefined extends Form
133
  'brief' => 'This form can be used to create a service request. (Payment Module is required)',
134
  'category' => "Product",
135
  'tag' => ["Order", "service", "online help", "donation", "support", 'donation', "payment"],
136
- 'json' => '[{"id":"206","title":"Donation Form","status":"published","appearance_settings":null,"form_fields":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[],"label_placement":"top"},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":"First Name","maxlength":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"Middle Name","required":false,"maxlength":""},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"Last Name","required":false,"maxlength":""},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"ff-edit-name","template":"nameFields"},"uniqElKey":"el_15925024747330.600432137734858"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"Email Address"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[],"is_unique":"no","unique_validation_message":"Email address need to be unique."},"editor_options":{"title":"Email Address","icon_class":"ff-edit-email","template":"inputText"},"uniqElKey":"el_15925024795800.5874464366027161"},{"index":1,"element":"container","attributes":[],"settings":{"container_class":""},"columns":[{"fields":[{"index":8,"element":"multi_payment_component","attributes":{"type":"radio","name":"payment_input","value":""},"settings":{"container_class":"","label":"Donation Amount","admin_field_label":"","label_placement":"","display_type":"","help_message":"","is_payment_field":"yes","pricing_options":[{"label":"$20","value":"20","image":""},{"label":"$30","value":"30"},{"label":"$40","value":"50"},{"label":"Other","value":"0"}],"price_label":"Price:","enable_quantity":false,"enable_image_input":false,"is_element_lock":false,"layout_class":"ff_list_buttons","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Payment Field","icon_class":"ff-edit-shopping-cart","element":"input-radio","template":"inputMultiPayment"},"uniqElKey":"el_1592502662187"}]},{"fields":[{"index":6,"element":"custom_payment_component","attributes":{"type":"number","name":"custom-payment-amount","value":"","id":"","class":"","placeholder":"Please input your amount","data-payment_item":"yes"},"settings":{"container_class":"","is_payment_field":"yes","label":"Please Provide Custom Amount","admin_field_label":"","label_placement":"","help_message":"","number_step":"","prefix_label":"","suffix_label":"","validation_rules":{"required":{"value":true,"message":"Donation Amount is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"1","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"payment_input","value":"Other","operator":"="}]},"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Custom Payment Amount","icon_class":"ff-edit-keyboard-o","template":"inputText"},"uniqElKey":"el_1592502665775"}]}],"editor_options":{"title":"Two Column Container","icon_class":"ff-edit-column-2"},"uniqElKey":"el_15925026583450.5880630376189451"},{"index":10,"element":"payment_method","attributes":{"name":"payment_method","type":"radio","value":""},"settings":{"container_class":"","label":"Choose Payment Method","default_method":"","label_placement":"","help_message":"","payment_methods":{"stripe":{"title":"Credit\/Debit Card (Stripe)","enabled":"yes","method_value":"stripe","settings":{"option_label":{"type":"text","template":"inputText","value":"Pay with Card (Stripe)","label":"Method Label"},"require_billing_info":{"type":"checkbox","template":"inputYesNoCheckbox","value":"no","label":"Require Billing info"},"require_shipping_info":{"type":"checkbox","template":"inputYesNoCheckbox","value":"no","label":"Collect Shipping Info"}}},"paypal":{"title":"PayPal","enabled":"yes","method_value":"paypal","settings":{"option_label":{"type":"text","template":"inputText","value":"Pay with PayPal","label":"Method Label"},"require_shipping_address":{"type":"checkbox","template":"inputYesNoCheckbox","value":"no","label":"Require Shipping Address"}}},"test":{"title":"Offline Payment","enabled":"yes","method_value":"test","settings":{"option_label":{"type":"text","template":"inputText","value":"Offline Payment","label":"Method Label"}}}},"admin_field_label":"","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Payment Method Field","icon_class":"ff-edit-credit-card","template":"inputPaymentMethods"},"uniqElKey":"el_15925026721370.24223713945247938"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Donate Now {payment_total}","img_url":""},"normal_styles":{"backgroundColor":"#409EFF","borderColor":"#409EFF","color":"#ffffff","borderRadius":"","minWidth":""},"hover_styles":{"backgroundColor":"#ffffff","borderColor":"#409EFF","color":"#409EFF","borderRadius":"","minWidth":""},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"has_payment":"1","type":"form","conditions":null,"created_by":"1","created_at":"2020-06-18 23:47:51","updated_at":"2020-06-18 23:52:05","metas":[{"meta_key":"formSettings","value":"{\"confirmation\":{\"redirectTo\":\"samePage\",\"messageToShow\":\"<p>Thank you for your donation. Here is the donation details<\\\/p>\\n<p>{payment.receipt}<\\\/p>\",\"customPage\":null,\"samePageFormBehavior\":\"hide_form\",\"customUrl\":null},\"restrictions\":{\"limitNumberOfEntries\":{\"enabled\":false,\"numberOfEntries\":null,\"period\":\"total\",\"limitReachedMsg\":\"Maximum number of entries exceeded.\"},\"scheduleForm\":{\"enabled\":false,\"start\":null,\"end\":null,\"pendingMsg\":\"Form submission is not started yet.\",\"expiredMsg\":\"Form submission is now closed.\"},\"requireLogin\":{\"enabled\":false,\"requireLoginMsg\":\"You must be logged in to submit the form.\"},\"denyEmptySubmission\":{\"enabled\":false,\"message\":\"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say.\"}},\"layout\":{\"labelPlacement\":\"top\",\"helpMessagePlacement\":\"with_label\",\"errorMessagePlacement\":\"inline\",\"asteriskPlacement\":\"asterisk-right\"},\"delete_entry_on_submission\":\"no\",\"appendSurveyResult\":{\"enabled\":false,\"showLabel\":false,\"showCount\":false}}"},{"meta_key":"notifications","value":"{\"name\":\"Admin Notification Email\",\"sendTo\":{\"type\":\"email\",\"email\":\"{wp.admin_email}\",\"field\":\"email\",\"routing\":[{\"email\":null,\"field\":null,\"operator\":\"=\",\"value\":null}]},\"fromName\":\"\",\"fromEmail\":\"\",\"replyTo\":\"\",\"bcc\":\"\",\"subject\":\"New Donation By {inputs.names} - {payment.payment_total}\",\"message\":\"<p>New Donation has been made by {inputs.names}.<\/p>\\n<p>{payment.receipt}<\/p>\\n<h3>Other Data:<\/h3>\\n<p>{all_data}<\/p>\\n<p>This form submitted at: {embed_post.permalink}<\/p>\",\"conditionals\":{\"status\":false,\"type\":\"all\",\"conditions\":[{\"field\":null,\"operator\":\"=\",\"value\":null}]},\"enabled\":false,\"email_template\":\"\",\"attachments\":[],\"pdf_attachments\":[]}"},{"meta_key":"step_data_persistency_status","value":"no"},{"meta_key":"advancedValidationSettings","value":"{\"status\":false,\"type\":\"all\",\"conditions\":[{\"field\":\"\",\"operator\":\"=\",\"value\":\"\"}],\"error_message\":\"\",\"validation_type\":\"fail_on_condition_met\"}"},{"meta_key":"_payment_settings","value":"{\"currency\":\"USD\",\"push_meta_to_stripe\":\"no\",\"receipt_email\":\"email\",\"transaction_type\":\"donation\",\"stripe_checkout_methods\":[\"card\"],\"stripe_meta_data\":[{\"item_value\":\"\",\"label\":\"\"}]}"},{"meta_key":"notifications","value":"{\"name\":\"Email To Donar\",\"sendTo\":{\"type\":\"field\",\"email\":\"{wp.admin_email}\",\"field\":\"email\",\"routing\":[{\"email\":null,\"field\":null,\"operator\":\"=\",\"value\":null}]},\"fromName\":\"\",\"fromEmail\":\"\",\"replyTo\":\"\",\"bcc\":\"\",\"subject\":\"Thank you for your Donarion - {payment.payment_total}\",\"message\":\"<p>Hello {inputs.names},<\/p>\\n<p>Thank you for your donation. Here is the donation details:<\/p>\\n<p>{payment.receipt}<\/p>\\n<h3>Other Data:<\/h3>\\n<p>{all_data}<\/p>\\n<p>This form submitted at: {embed_post.permalink}<\/p>\",\"conditionals\":{\"status\":false,\"type\":\"all\",\"conditions\":[{\"field\":null,\"operator\":\"=\",\"value\":null}]},\"enabled\":false,\"email_template\":\"\",\"attachments\":[],\"pdf_attachments\":[]}"}]}]'
137
  ),
138
 
139
 
133
  'brief' => 'This form can be used to create a service request. (Payment Module is required)',
134
  'category' => "Product",
135
  'tag' => ["Order", "service", "online help", "donation", "support", 'donation', "payment"],
136
+ 'json' => '[{"id":"206","title":"Donation Form","status":"published","appearance_settings":null,"form_fields":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[],"label_placement":"top"},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":"First Name","maxlength":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"Middle Name","required":false,"maxlength":""},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"Last Name","required":false,"maxlength":""},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"ff-edit-name","template":"nameFields"},"uniqElKey":"el_15925024747330.600432137734858"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"Email Address"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[],"is_unique":"no","unique_validation_message":"Email address need to be unique."},"editor_options":{"title":"Email Address","icon_class":"ff-edit-email","template":"inputText"},"uniqElKey":"el_15925024795800.5874464366027161"},{"index":1,"element":"container","attributes":[],"settings":{"container_class":""},"columns":[{"fields":[{"index":8,"element":"multi_payment_component","attributes":{"type":"radio","name":"payment_input","value":""},"settings":{"container_class":"","label":"Donation Amount","admin_field_label":"","label_placement":"","display_type":"","help_message":"","is_payment_field":"yes","pricing_options":[{"label":"$20","value":"20","image":""},{"label":"$30","value":"30"},{"label":"$40","value":"40"},{"label":"Other","value":"0"}],"price_label":"Price:","enable_quantity":false,"enable_image_input":false,"is_element_lock":false,"layout_class":"ff_list_buttons","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Payment Field","icon_class":"ff-edit-shopping-cart","element":"input-radio","template":"inputMultiPayment"},"uniqElKey":"el_1592502662187"}]},{"fields":[{"index":6,"element":"custom_payment_component","attributes":{"type":"number","name":"custom-payment-amount","value":"","id":"","class":"","placeholder":"Please input your amount","data-payment_item":"yes"},"settings":{"container_class":"","is_payment_field":"yes","label":"Please Provide Custom Amount","admin_field_label":"","label_placement":"","help_message":"","number_step":"","prefix_label":"","suffix_label":"","validation_rules":{"required":{"value":true,"message":"Donation Amount is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"1","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"payment_input","value":"Other","operator":"="}]},"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Custom Payment Amount","icon_class":"ff-edit-keyboard-o","template":"inputText"},"uniqElKey":"el_1592502665775"}]}],"editor_options":{"title":"Two Column Container","icon_class":"ff-edit-column-2"},"uniqElKey":"el_15925026583450.5880630376189451"},{"index":10,"element":"payment_method","attributes":{"name":"payment_method","type":"radio","value":""},"settings":{"container_class":"","label":"Choose Payment Method","default_method":"","label_placement":"","help_message":"","payment_methods":{"stripe":{"title":"Credit\/Debit Card (Stripe)","enabled":"yes","method_value":"stripe","settings":{"option_label":{"type":"text","template":"inputText","value":"Pay with Card (Stripe)","label":"Method Label"},"require_billing_info":{"type":"checkbox","template":"inputYesNoCheckbox","value":"no","label":"Require Billing info"},"require_shipping_info":{"type":"checkbox","template":"inputYesNoCheckbox","value":"no","label":"Collect Shipping Info"}}},"paypal":{"title":"PayPal","enabled":"yes","method_value":"paypal","settings":{"option_label":{"type":"text","template":"inputText","value":"Pay with PayPal","label":"Method Label"},"require_shipping_address":{"type":"checkbox","template":"inputYesNoCheckbox","value":"no","label":"Require Shipping Address"}}},"test":{"title":"Offline Payment","enabled":"yes","method_value":"test","settings":{"option_label":{"type":"text","template":"inputText","value":"Offline Payment","label":"Method Label"}}}},"admin_field_label":"","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Payment Method Field","icon_class":"ff-edit-credit-card","template":"inputPaymentMethods"},"uniqElKey":"el_15925026721370.24223713945247938"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Donate Now {payment_total}","img_url":""},"normal_styles":{"backgroundColor":"#409EFF","borderColor":"#409EFF","color":"#ffffff","borderRadius":"","minWidth":""},"hover_styles":{"backgroundColor":"#ffffff","borderColor":"#409EFF","color":"#409EFF","borderRadius":"","minWidth":""},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"has_payment":"1","type":"form","conditions":null,"created_by":"1","created_at":"2020-06-18 23:47:51","updated_at":"2020-06-18 23:52:05","metas":[{"meta_key":"formSettings","value":"{\"confirmation\":{\"redirectTo\":\"samePage\",\"messageToShow\":\"<p>Thank you for your donation. Here is the donation details<\\\/p>\\n<p>{payment.receipt}<\\\/p>\",\"customPage\":null,\"samePageFormBehavior\":\"hide_form\",\"customUrl\":null},\"restrictions\":{\"limitNumberOfEntries\":{\"enabled\":false,\"numberOfEntries\":null,\"period\":\"total\",\"limitReachedMsg\":\"Maximum number of entries exceeded.\"},\"scheduleForm\":{\"enabled\":false,\"start\":null,\"end\":null,\"pendingMsg\":\"Form submission is not started yet.\",\"expiredMsg\":\"Form submission is now closed.\"},\"requireLogin\":{\"enabled\":false,\"requireLoginMsg\":\"You must be logged in to submit the form.\"},\"denyEmptySubmission\":{\"enabled\":false,\"message\":\"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say.\"}},\"layout\":{\"labelPlacement\":\"top\",\"helpMessagePlacement\":\"with_label\",\"errorMessagePlacement\":\"inline\",\"asteriskPlacement\":\"asterisk-right\"},\"delete_entry_on_submission\":\"no\",\"appendSurveyResult\":{\"enabled\":false,\"showLabel\":false,\"showCount\":false}}"},{"meta_key":"notifications","value":"{\"name\":\"Admin Notification Email\",\"sendTo\":{\"type\":\"email\",\"email\":\"{wp.admin_email}\",\"field\":\"email\",\"routing\":[{\"email\":null,\"field\":null,\"operator\":\"=\",\"value\":null}]},\"fromName\":\"\",\"fromEmail\":\"\",\"replyTo\":\"\",\"bcc\":\"\",\"subject\":\"New Donation By {inputs.names} - {payment.payment_total}\",\"message\":\"<p>New Donation has been made by {inputs.names}.<\/p>\\n<p>{payment.receipt}<\/p>\\n<h3>Other Data:<\/h3>\\n<p>{all_data}<\/p>\\n<p>This form submitted at: {embed_post.permalink}<\/p>\",\"conditionals\":{\"status\":false,\"type\":\"all\",\"conditions\":[{\"field\":null,\"operator\":\"=\",\"value\":null}]},\"enabled\":false,\"email_template\":\"\",\"attachments\":[],\"pdf_attachments\":[]}"},{"meta_key":"step_data_persistency_status","value":"no"},{"meta_key":"advancedValidationSettings","value":"{\"status\":false,\"type\":\"all\",\"conditions\":[{\"field\":\"\",\"operator\":\"=\",\"value\":\"\"}],\"error_message\":\"\",\"validation_type\":\"fail_on_condition_met\"}"},{"meta_key":"_payment_settings","value":"{\"currency\":\"USD\",\"push_meta_to_stripe\":\"no\",\"receipt_email\":\"email\",\"transaction_type\":\"donation\",\"stripe_checkout_methods\":[\"card\"],\"stripe_meta_data\":[{\"item_value\":\"\",\"label\":\"\"}]}"},{"meta_key":"notifications","value":"{\"name\":\"Email To Donar\",\"sendTo\":{\"type\":\"field\",\"email\":\"{wp.admin_email}\",\"field\":\"email\",\"routing\":[{\"email\":null,\"field\":null,\"operator\":\"=\",\"value\":null}]},\"fromName\":\"\",\"fromEmail\":\"\",\"replyTo\":\"\",\"bcc\":\"\",\"subject\":\"Thank you for your Donarion - {payment.payment_total}\",\"message\":\"<p>Hello {inputs.names},<\/p>\\n<p>Thank you for your donation. Here is the donation details:<\/p>\\n<p>{payment.receipt}<\/p>\\n<h3>Other Data:<\/h3>\\n<p>{all_data}<\/p>\\n<p>This form submitted at: {embed_post.permalink}<\/p>\",\"conditionals\":{\"status\":false,\"type\":\"all\",\"conditions\":[{\"field\":null,\"operator\":\"=\",\"value\":null}]},\"enabled\":false,\"email_template\":\"\",\"attachments\":[],\"pdf_attachments\":[]}"}]}]'
137
  ),
138
 
139
 
app/Modules/Registerer/Menu.php CHANGED
@@ -223,7 +223,8 @@ class Menu
223
  wp_localize_script('fluent_forms_global', 'fluent_forms_global_var', [
224
  'fluent_forms_admin_nonce' => wp_create_nonce('fluent_forms_admin_nonce'),
225
  'ajaxurl' => admin_url('admin-ajax.php'),
226
- 'admin_i18n'=> $this->getAdminI18n(),
 
227
  'permissions' => Acl::getCurrentUserPermissions()
228
  ]);
229
 
@@ -618,7 +619,13 @@ class Menu
618
  'ace_path_url' => $this->app->publicUrl('libs/ace'),
619
  'is_conversion_form' => Helper::isConversionForm($form_id),
620
  'has_fluent_smtp' => defined('FLUENTMAIL'),
621
- 'fluent_smtp_url' => admin_url('admin.php?page=fluent_forms_smtp')
 
 
 
 
 
 
622
  ));
623
 
624
  View::render('admin.form.settings', array(
@@ -758,8 +765,8 @@ class Menu
758
  $this->app->appPath('Services/FormBuilder/ValidationRuleSettings.php')
759
  ),
760
 
 
761
  'element_search_tags' => $searchTags,
762
-
763
  'element_settings_placement' => $elementPlacements,
764
  'all_forms_url' => admin_url('admin.php?page=fluent_forms'),
765
  'has_payment_features' => !defined('FLUENTFORMPRO'),
@@ -808,6 +815,11 @@ class Menu
808
  'title' => 'hCaptcha',
809
  ];
810
 
 
 
 
 
 
811
  View::render('admin.settings.index', [
812
  'components' => $components,
813
  'currentComponent' => $currentComponent
@@ -826,6 +838,7 @@ class Menu
826
  'forms' => $forms,
827
  'upgrade_url' => fluentform_upgrade_url(),
828
  'hasPro' => defined('FLUENTFORMPRO'),
 
829
  ]);
830
 
831
  View::render('admin.transfer.index');
@@ -833,10 +846,10 @@ class Menu
833
 
834
  public function addPreviewButton($formId)
835
  {
836
- $previewText = __('Preview & Design', 'fluent-form');
837
  $previewUrl = Helper::getPreviewUrl($formId);
838
  if($isConversational = Helper::isConversionForm($formId)) {
839
- $previewText = __('Preview', 'fluent-form');
840
  }
841
 
842
  echo '<a target="_blank" class="el-button el-button--small" href="' . esc_url($previewUrl) . '">'.esc_attr($previewText).'</a>';
@@ -910,84 +923,6 @@ class Menu
910
  ]);
911
  }
912
 
913
- private function getAdminI18n()
914
- {
915
- $i18n = array(
916
- 'All Forms' => __('All Forms', 'fluentform'),
917
- 'Add a New Form' => __('Add a New Form', 'fluentform'),
918
- 'Conversational Form' => __('Conversational Form', 'fluentform'),
919
- 'Create Conversational Form' => __('Create Conversational Form', 'fluentform'),
920
- 'ID' => __('ID', 'fluentform'),
921
- 'Title' => __('Title', 'fluentform'),
922
- 'Edit' => __('Edit', 'fluentform'),
923
- 'Settings' => __('Settings', 'fluentform'),
924
- 'Entries' => __('Entries', 'fluentform'),
925
- 'Conversational Preview' => __('Conversational Preview', 'fluentform'),
926
- 'Preview' => __('Preview', 'fluentform'),
927
- 'Duplicate' => __('Duplicate', 'fluentform'),
928
- 'Delete' => __('Delete', 'fluentform'),
929
- 'Short Code' => __('Short Code', 'fluentform'),
930
- 'Conversion' => __('Conversion', 'fluentform'),
931
- 'Views' => __('Views', 'fluentform'),
932
- 'Search Forms' => __('Search Forms', 'fluentform'),
933
- 'Search' => __('Search', 'fluentform'),
934
- 'Click Here to Create Your First Form' => __('Click Here to Create Your First Form', 'fluentform'),
935
- 'Check the video intro' => __('Check the video intro', 'fluentform'),
936
- 'All Form Entries' => __('All Form Entries', 'fluentform'),
937
- 'Browser' => __('Browser', 'fluentform'),
938
- 'Date' => __('Date', 'fluentform'),
939
- 'Hide Chart' => __('Hide Chart', 'fluentform'),
940
- 'Show Chart' => __('Show Chart', 'fluentform'),
941
- 'All' => __('All', 'fluentform'),
942
- 'Unread Only' => __('Unread Only', 'fluentform'),
943
- 'Read Only' => __('Read Only', 'fluentform'),
944
- 'Submission ID' => __('Submission ID', 'fluentform'),
945
- 'Form' => __('Form', 'fluentform'),
946
- 'Status' => __('Status', 'fluentform'),
947
- 'Read' => __('Read', 'fluentform'),
948
- 'Unread' => __('Unread', 'fluentform'),
949
- 'ago' => __('ago', 'fluentform'),
950
- 'Click to copy shortcode' => __('Click to copy shortcode', 'fluentform'),
951
- 'Back to Entries' => __('Back to Entries', 'fluentform'),
952
- 'Previous' => __('Previous', 'fluentform'),
953
- 'Next' => __('Next', 'fluentform'),
954
- 'Entry Details' => __('Entry Details', 'fluentform'),
955
- 'Form Entry Data' => __('Form Entry Data', 'fluentform'),
956
- 'Remove from Favorites' => __('Remove from Favorites', 'fluentform'),
957
- 'Mark as Favorite' => __('Mark as Favorite', 'fluentform'),
958
- 'Submission Info' => __('Submission Info', 'fluentform'),
959
- 'Entity ID' => __('Entity ID', 'fluentform'),
960
- 'User IP' => __('User IP', 'fluentform'),
961
- 'Device' => __('Device', 'fluentform'),
962
- 'User' => __('User', 'fluentform'),
963
- 'Guest' => __('Guest', 'fluentform'),
964
- 'Submitted On' => __('Submitted On', 'fluentform'),
965
- 'Change status to' => __('Change status to', 'fluentform'),
966
- 'Show empty fields' => __('Show empty fields', 'fluentform'),
967
- 'Submission Notes' => __('Submission Notes', 'fluentform'),
968
- 'Please Provide Note Content' => __('Please Provide Note Content', 'fluentform'),
969
- 'No Notes found' => __('No Notes found', 'fluentform'),
970
- 'All Types' => __('All Types', 'fluentform'),
971
- 'Export' => __('Export', 'fluentform'),
972
- 'Export as' => __('Export as', 'fluentform'),
973
- 'Advanced Filter' => __('Advanced Filter', 'fluentform'),
974
- 'Filter By Date Range' => __('Filter By Date Range', 'fluentform'),
975
- 'Favorites Entries only' => __('Favorites Entries only', 'fluentform'),
976
- 'Amount' => __('Amount', 'fluentform'),
977
- 'Actions' => __('Actions', 'fluentform'),
978
- 'Submitted at' => __('Submitted at', 'fluentform'),
979
- 'Submission Logs' => __('Submission Logs', 'fluentform'),
980
- 'General' => __('General', 'fluentform'),
981
- 'API Calls' => __('API Calls', 'fluentform'),
982
- 'No Logs found' => __('No Logs found', 'fluentform'),
983
- 'Submission Notes' => __('Submission Notes', 'fluentform'),
984
- 'Add Note' => __('Add Note', 'fluentform'),
985
- 'No Notes found' => __('No Notes found', 'fluentform'),
986
- );
987
-
988
- return apply_filters('fluentform/admin_i18n', $i18n);
989
- }
990
-
991
  private function usedNameAttributes($formId)
992
  {
993
  return wpFluent()->table('fluentform_entry_details')
223
  wp_localize_script('fluent_forms_global', 'fluent_forms_global_var', [
224
  'fluent_forms_admin_nonce' => wp_create_nonce('fluent_forms_admin_nonce'),
225
  'ajaxurl' => admin_url('admin-ajax.php'),
226
+ 'admin_i18n' => TranslationString::getAdminI18n(),
227
+ 'payments_str' => TranslationString::getPaymentsI18n(),
228
  'permissions' => Acl::getCurrentUserPermissions()
229
  ]);
230
 
619
  'ace_path_url' => $this->app->publicUrl('libs/ace'),
620
  'is_conversion_form' => Helper::isConversionForm($form_id),
621
  'has_fluent_smtp' => defined('FLUENTMAIL'),
622
+ 'fluent_smtp_url' => admin_url('admin.php?page=fluent_forms_smtp'),
623
+ 'form_settings_str' => TranslationString::getSettingsI18n(),
624
+ 'integrationsResource' => [
625
+ 'asset_url' => $this->app->publicUrl('img/integrations.png'),
626
+ 'list_url' => fluentform_integrations_url(),
627
+ 'instruction' => __("Fluent Forms Pro has tons of integrations to take your forms to the next level. From payment gateways to quiz building, SMS notifications to email marketing - you'll get integrations for various purposes. Even if you don't find your favorite tools, you can integrate them easily with Zapier.", 'fluentform')
628
+ ]
629
  ));
630
 
631
  View::render('admin.form.settings', array(
765
  $this->app->appPath('Services/FormBuilder/ValidationRuleSettings.php')
766
  ),
767
 
768
+ 'form_editor_str' => TranslationString::getEditorI18n(),
769
  'element_search_tags' => $searchTags,
 
770
  'element_settings_placement' => $elementPlacements,
771
  'all_forms_url' => admin_url('admin.php?page=fluent_forms'),
772
  'has_payment_features' => !defined('FLUENTFORMPRO'),
815
  'title' => 'hCaptcha',
816
  ];
817
 
818
+ $components['Turnstile'] = [
819
+ 'hash' => 'turnstile',
820
+ 'title' => 'Turnstile (Beta)',
821
+ ];
822
+
823
  View::render('admin.settings.index', [
824
  'components' => $components,
825
  'currentComponent' => $currentComponent
838
  'forms' => $forms,
839
  'upgrade_url' => fluentform_upgrade_url(),
840
  'hasPro' => defined('FLUENTFORMPRO'),
841
+ 'transfer_str' => TranslationString::getTransferModuleI18n()
842
  ]);
843
 
844
  View::render('admin.transfer.index');
846
 
847
  public function addPreviewButton($formId)
848
  {
849
+ $previewText = __('Preview & Design', 'fluentform');
850
  $previewUrl = Helper::getPreviewUrl($formId);
851
  if($isConversational = Helper::isConversionForm($formId)) {
852
+ $previewText = __('Preview', 'fluentform');
853
  }
854
 
855
  echo '<a target="_blank" class="el-button el-button--small" href="' . esc_url($previewUrl) . '">'.esc_attr($previewText).'</a>';
923
  ]);
924
  }
925
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
926
  private function usedNameAttributes($formId)
927
  {
928
  return wpFluent()->table('fluentform_entry_details')
app/Modules/Registerer/TranslationString.php ADDED
@@ -0,0 +1,1502 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace FluentForm\App\Modules\Registerer;
4
+
5
+ class TranslationString
6
+ {
7
+ public static function getAdminI18n()
8
+ {
9
+ $i18n = array(
10
+ 'All Forms' => __('All Forms', 'fluentform'),
11
+ 'Add a New Form' => __('Add a New Form', 'fluentform'),
12
+ 'Conversational Form' => __('Conversational Form', 'fluentform'),
13
+ 'Create Conversational Form' => __('Create Conversational Form', 'fluentform'),
14
+ 'ID' => __('ID', 'fluentform'),
15
+ 'Title' => __('Title', 'fluentform'),
16
+ 'Edit' => __('Edit', 'fluentform'),
17
+ 'Settings' => __('Settings', 'fluentform'),
18
+ 'Entries' => __('Entries', 'fluentform'),
19
+ 'Conversational Preview' => __('Conversational Preview', 'fluentform'),
20
+ 'Preview' => __('Preview', 'fluentform'),
21
+ 'Duplicate' => __('Duplicate', 'fluentform'),
22
+ 'Delete' => __('Delete', 'fluentform'),
23
+ 'Short Code' => __('Short Code', 'fluentform'),
24
+ 'Conversion' => __('Conversion', 'fluentform'),
25
+ 'Views' => __('Views', 'fluentform'),
26
+ 'Search Forms' => __('Search Forms', 'fluentform'),
27
+ 'Search' => __('Search', 'fluentform'),
28
+ 'Click Here to Create Your First Form' => __('Click Here to Create Your First Form', 'fluentform'),
29
+ 'Check the video intro' => __('Check the video intro', 'fluentform'),
30
+ 'All Form Entries' => __('All Form Entries', 'fluentform'),
31
+ 'Browser' => __('Browser', 'fluentform'),
32
+ 'Date' => __('Date', 'fluentform'),
33
+ 'Hide Chart' => __('Hide Chart', 'fluentform'),
34
+ 'Show Chart' => __('Show Chart', 'fluentform'),
35
+ 'All' => __('All', 'fluentform'),
36
+ 'Unread Only' => __('Unread Only', 'fluentform'),
37
+ 'Read Only' => __('Read Only', 'fluentform'),
38
+ 'Submission ID' => __('Submission ID', 'fluentform'),
39
+ 'Form' => __('Form', 'fluentform'),
40
+ 'Status' => __('Status', 'fluentform'),
41
+ 'Read' => __('Read', 'fluentform'),
42
+ 'Unread' => __('Unread', 'fluentform'),
43
+ 'ago' => __('ago', 'fluentform'),
44
+ 'Click to copy shortcode' => __('Click to copy shortcode', 'fluentform'),
45
+ 'Back to Entries' => __('Back to Entries', 'fluentform'),
46
+ 'Previous' => __('Previous', 'fluentform'),
47
+ 'Next' => __('Next', 'fluentform'),
48
+ 'Entry Details' => __('Entry Details', 'fluentform'),
49
+ 'Form Entry Data' => __('Form Entry Data', 'fluentform'),
50
+ 'Remove from Favorites' => __('Remove from Favorites', 'fluentform'),
51
+ 'Mark as Favorite' => __('Mark as Favorite', 'fluentform'),
52
+ 'Submission Info' => __('Submission Info', 'fluentform'),
53
+ 'Entity ID' => __('Entity ID', 'fluentform'),
54
+ 'User IP' => __('User IP', 'fluentform'),
55
+ 'Device' => __('Device', 'fluentform'),
56
+ 'User' => __('User', 'fluentform'),
57
+ 'Guest' => __('Guest', 'fluentform'),
58
+ 'Submitted On' => __('Submitted On', 'fluentform'),
59
+ 'Change status to' => __('Change status to', 'fluentform'),
60
+ 'Show empty fields' => __('Show empty fields', 'fluentform'),
61
+ 'Submission Notes' => __('Submission Notes', 'fluentform'),
62
+ 'Please Provide Note Content' => __('Please Provide Note Content', 'fluentform'),
63
+ 'No Notes found' => __('No Notes found', 'fluentform'),
64
+ 'All Types' => __('All Types', 'fluentform'),
65
+ 'Export' => __('Export', 'fluentform'),
66
+ 'Export as' => __('Export as', 'fluentform'),
67
+ 'Advanced Filter' => __('Advanced Filter', 'fluentform'),
68
+ 'Filter By Date Range' => __('Filter By Date Range', 'fluentform'),
69
+ 'Favorites Entries only' => __('Favorites Entries only', 'fluentform'),
70
+ 'Amount' => __('Amount', 'fluentform'),
71
+ 'Actions' => __('Actions', 'fluentform'),
72
+ 'Submitted at' => __('Submitted at', 'fluentform'),
73
+ 'Submission Logs' => __('Submission Logs', 'fluentform'),
74
+ 'General' => __('General', 'fluentform'),
75
+ 'API Calls' => __('API Calls', 'fluentform'),
76
+ 'No Logs found' => __('No Logs found', 'fluen`tform'),
77
+ 'Add Note' => __('Add Note', 'fluentform'),
78
+ 'Start date' => __('Start date', 'fluentform'),
79
+ 'End date' => __('End date', 'fluentform'),
80
+ 'Hide' => __('Hide', 'fluentform'),
81
+ 'Loading Settings...' => __('Loading Settings...', 'fluentform'),
82
+ 'Select the layout that you want to show for this input' => __('Select the layout that you want to show for this input', 'fluentform'),
83
+ 'Media' => __('Media', 'fluentform'),
84
+ 'Set the media image that you want to set for this input' => __('Set the media image that you want to set for this input', 'fluentform'),
85
+ 'Media Brightness' => __('Media Brightness', 'fluentform'),
86
+ 'Brightness of your selected media' => __('Brightness of your selected media', 'fluentform'),
87
+ 'Media Horizontal Position' => __('Media Horizontal Position', 'fluentform'),
88
+ 'Horizontal (X) Position of the media' => __('Horizontal (X) Position of the media', 'fluentform'),
89
+ 'Media Vertical Position' => __('Media Vertical Position', 'fluentform'),
90
+ 'Vertical (Y) Position of the media' => __('Vertical (Y) Position of the media', 'fluentform'),
91
+ 'Media Alt Text' => __('Media Alt Text', 'fluentform'),
92
+ 'Alt text is a short description of an image that will help people with visual impairment. This label is not visible in your frontend' => __('Alt text is a short description of an image that will help people with visual impairment. This label is not visible in your frontend', 'fluentform'),
93
+ 'HTML to Show' => __('HTML to Show', 'fluentform'),
94
+ 'Please provide your raw html that you want to show at the side of the form' => __('Please provide your raw html that you want to show at the side of the form', 'fluentform'),
95
+ 'Use System Default' => __('Use System Default', 'fluentform'),
96
+ 'Select Font will apply only for landing page UI.' => __('Select Font will apply only for landing page UI.', 'fluentform'),
97
+ 'Font' => __('Font', 'fluentform'),
98
+ 'Questions' => __('Questions', 'fluentform'),
99
+ 'Answers' => __('Answers', 'fluentform'),
100
+ 'Button' => __('Button', 'fluentform'),
101
+ 'Button Text' => __('Button Text', 'fluentform'),
102
+ 'Background' => __('Background', 'fluentform'),
103
+ 'BG Brightness' => __('BG Brightness', 'fluentform'),
104
+ 'Disable Layout on Mobile Devices' => __('Disable Layout on Mobile Devices', 'fluentform'),
105
+ 'Disable Scroll to Next' => __('Disable Scroll to Next', 'fluentform'),
106
+ 'Disable Branding' => __('Disable Branding', 'fluentform'),
107
+ 'Key Hint' => __('Key Hint', 'fluentform'),
108
+ 'Design customization available on pro only.This is just a preview version.To use this feature please upgrade to Pro.' => __('Design customization available on pro only.This is just a preview version.To use this feature please upgrade to Pro.', 'fluentform'),
109
+ 'Design Customization is only available on Pro Version of Fluent Forms.' => __('Design Customization is only available on Pro Version of Fluent Forms.', 'fluentform'),
110
+ 'Buy Pro' => __('Buy Pro', 'fluentform'),
111
+ 'Meta Settings & Form Messages' => __('Meta Settings & Form Messages', 'fluentform'),
112
+ 'Meta Title' => __('Meta Title', 'fluentform'),
113
+ 'Meta Description' => __('Meta Description', 'fluentform'),
114
+ 'For your social sharing preview Image' => __('For your social sharing preview Image', 'fluentform'),
115
+ 'Security Code (Optional)' => __('Security Code (Optional)', 'fluentform'),
116
+ 'Continue Button Text' => __('Continue Button Text', 'fluentform'),
117
+ 'EG: Continue' => __('EG: Continue', 'fluentform'),
118
+ 'Skip Button Text' => __('Skip Button Text', 'fluentform'),
119
+ 'Keyboard instruction to go to next question' => __('Keyboard instruction to go to next question', 'fluentform'),
120
+ 'EG: press Enter ↵' => __('EG: press Enter ↵', 'fluentform'),
121
+ 'Hint for making a line break in Textarea' => __('Hint for making a line break in Textarea', 'fluentform'),
122
+ 'EG: Shift ⇧ + Enter ↵ to make a line break' => __('EG: Shift ⇧ + Enter ↵ to make a line break', 'fluentform'),
123
+ 'Hint for multiple selection' => __('Hint for multiple selection', 'fluentform'),
124
+ 'EG: Choose as many as you like' => __('EG: Choose as many as you like', 'fluentform'),
125
+ 'Key Hint Text' => __('Key Hint Text', 'fluentform'),
126
+ 'Enter key hint text shown to options' => __('Enter key hint text shown to options', 'fluentform'),
127
+ 'Confirm Button Text' => __('Confirm Button Text', 'fluentform'),
128
+ 'OK' => __('OK', 'fluentform'),
129
+ 'Hint for Single selection' => __('Hint for Single selection', 'fluentform'),
130
+ 'EG: Select an option' => __('EG: Select an option', 'fluentform'),
131
+ 'Progress Text' => __('Progress Text', 'fluentform'),
132
+ 'EG: {percent}% completed' => __('EG: {percent}% completed', 'fluentform'),
133
+ 'Available Variables: {percent}, {step}, {total}' => __('Available Variables: {percent}, {step}, {total}', 'fluentform'),
134
+ 'Invalid Prompt' => __('Invalid Prompt', 'fluentform'),
135
+ 'EG: Please fill out the field correctly' => __('EG: Please fill out the field correctly', 'fluentform'),
136
+ 'Default Placeholder' => __('Default Placeholder', 'fluentform'),
137
+ 'EG: Type your answer here' => __('EG: Type your answer here', 'fluentform'),
138
+ 'Key Hint Tooltip' => __('Key Hint Tooltip', 'fluentform'),
139
+ 'Enter Key hint tooltip' => __('Enter Key hint tooltip', 'fluentform'),
140
+ 'Shortcode for Conversational Form' => __('Shortcode for Conversational Form', 'fluentform'),
141
+ 'Shortcode for Classic Form' => __('Shortcode for Classic Form', 'fluentform'),
142
+ 'Meta' => __('Meta', 'fluentform'),
143
+ 'Set your social sharing meta texts and form messages here' => __('Set your social sharing meta texts and form messages here', 'fluentform'),
144
+ 'Share your form by unique URL or copy and paste the ' => __('Share your form by unique URL or copy and paste the ', 'fluentform'),
145
+ ' to embed in your page and post' => __(' to embed in your page and post', 'fluentform'),
146
+ 'Loading Design... Please wait' => __('Loading Design... Please wait', 'fluentform'),
147
+ );
148
+
149
+ return apply_filters('fluentform/admin_i18n', $i18n);
150
+ }
151
+
152
+ public static function getSettingsI18n()
153
+ {
154
+ $i18n = array(
155
+ 'Form Settings' => __('Form Settings', 'fluentform'),
156
+ 'Saving' => __('Saving', 'fluentform'),
157
+ 'Save ' => __('Save', 'fluentform'),
158
+ 'Settings ' => __('Settings', 'fluentform'),
159
+ 'Confirmation Settings' => __('Confirmation Settings', 'fluentform'),
160
+ 'Enable ' => __('Enable ', 'fluentform'),
161
+ 'Double Optin ' => __('Double Optin ', 'fluentform'),
162
+ 'Confirmation before Form Data Processing' => __('Confirmation before Form Data Processing', 'fluentform'),
163
+ 'Primary Email Field' => __('Primary Email Field', 'fluentform'),
164
+ '\Select the primary email field from the form fields.' => __('\Select the primary email field from the form fields.', 'fluentform'),
165
+ 'In the selected email field, the double optin email will be sent for verification.' => __('In the selected email field, the double optin email will be sent for verification.', 'fluentform'),
166
+ 'Select an email field' => __('Select an email field', 'fluentform'),
167
+ 'Initial Success Message' => __('Initial Success Message', 'fluentform'),
168
+ 'Enter the text you would like the user to ' => __('Enter the text you would like the user to ', 'fluentform'),
169
+ 'see just after initial form submission.' => __('see just after initial form submission.', 'fluentform'),
170
+ 'This message will be shown after the intial form submission' => __('This message will be shown after the intial form submission', 'fluentform'),
171
+ 'Email Type' => __('Email Type', 'fluentform'),
172
+ 'As Per Global Settings' => __('As Per Global Settings', 'fluentform'),
173
+ 'Customized Double Optin Email' => __('Customized Double Optin Email', 'fluentform'),
174
+ 'Optin Email Subject' => __('Optin Email Subject', 'fluentform'),
175
+ 'Email Subject for double optin email. ' => __('Email Subject for double optin email. ', 'fluentform'),
176
+ 'You can use any smart code in the email subject' => __('You can use any smart code in the email subject', 'fluentform'),
177
+ 'Email Subject' => __('Email Subject', 'fluentform'),
178
+ 'Optin Email Body' => __('Optin Email Body', 'fluentform'),
179
+ 'Enter the content you would like the user to ' => __('Enter the content you would like the user to ', 'fluentform'),
180
+ 'send via email for confirmation.' => __('send via email for confirmation.', 'fluentform'),
181
+ 'Double Opt-in Email Body HTML' => __('Double Opt-in Email Body HTML', 'fluentform'),
182
+ 'Send Email as RAW HTML Format' => __('Send Email as RAW HTML Format', 'fluentform'),
183
+ 'Use #confirmation_url# smartcode for double optin confirmation URL' => __('Use #confirmation_url# smartcode for double optin confirmation URL', 'fluentform'),
184
+ 'Disable Double Optin for Logged in users' => __('Disable Double Optin for Logged in users', 'fluentform'),
185
+ 'Disable Double Optin if contact email is subscribed in ' => __('Disable Double Optin if contact email is subscribed in ', 'fluentform'),
186
+ 'Form Layout' => __('Form Layout', 'fluentform'),
187
+ 'Learn More' => __('Learn More', 'fluentform'),
188
+ 'Label Alignment' => __('Label Alignment', 'fluentform'),
189
+ 'Form Label Placement' => __('Form Label Placement', 'fluentform'),
190
+ 'Select the default label placement.Labels can be top aligned above a field, left aligned to the left of a field, or right aligned to the right of a field.' => __('Select the default label placement.Labels can be top aligned above a field, left aligned to the left of a field.', 'fluentform'),
191
+ 'Select the default label placement.Labels can be' => __('Select the default label placement.Labels can be', 'fluentform'),
192
+ 'top aligned above a field, left aligned to the' => __('top aligned to the left of a field', 'fluentform'),
193
+ 'left of a field, or right aligned to the right of a field.' => __('left of a field, or right aligned to the right of a field', 'fluentform'),
194
+ 'Help Message Position' => __('Help Message Position', 'fluentform'),
195
+ 'Help Message Placement' => __('Help Message Placement', 'fluentform'),
196
+ 'Select the default help message placement.' => __('Select the default help message placement.', 'fluentform'),
197
+ 'Help messages can be placed beside' => __('Help messages can be placed beside', 'fluentform'),
198
+ 'label as a tooltip, or below each input.' => __('Label as a tooltip, or below each input.', 'fluentform'),
199
+ 'Error Message Position' => __('Error Message Position', 'fluentform'),
200
+ 'Error Message placement' => __('Error Message placement', 'fluentform'),
201
+ 'Select the default error message placement.' => __('Select the default error message placement.', 'fluentform'),
202
+ 'Error messages can be placed below each input, '=> __('Error messages can be placed below each input', 'fluentform'),
203
+ 'or stacked after the form submit button.' => __('or stacked after the form submit button.', 'fluentform'),
204
+ 'Asterisk Position' => __('Asterisk Position', 'fluentform'),
205
+ 'Required Asterisk Position' => __('Required Asterisk Position', 'fluentform'),
206
+ 'The asterisk marker position for the required elements.' => __('The asterisk marker position for the required elements', 'fluentform'),
207
+ 'Scheduling & Restrictions' => __('Scheduling & Restrictions', 'fluentform'),
208
+ 'Advanced Form Validation' => __('Advanced Form Validation', 'fluentform'),
209
+ 'You can set rules to the user input and based on the rules you can prevent the form submission.' =>__('You can set rules to the user input and based on the rules you can prevent the form submission.', 'fluentform'),
210
+ 'This is very useful feature for preventing spam / bot submissions.' => __('This is very useful feature for preventing spam / bot submissions.', 'fluentform'),
211
+ 'Learn More here' => __('Learn More here', 'fluentform'),
212
+ 'Survey Result' => __('Survey Result', 'fluentform'),
213
+ 'This feature is only available in pro version of Fluent Forms' => __('This feature is only available in pro version of Fluent Forms', 'fluentform'),
214
+ 'Compliance Settings' => __('Compliance Settings', 'fluentform'),
215
+ 'Delete entry on form submission' => __('Delete entry on form submission', 'fluentform'),
216
+ 'If you enable this settings then your entry data will be deleted from database.' => __('If you enable this settings then your entry data will be deleted from database.', 'fluentform'),
217
+ 'It\'s useful for HIPPA/GDPR Compliance for some forms.' => __('It\'s useful for HIPPA/GDPR Compliance for some forms.', 'fluentform'),
218
+ 'Delete entry data after form submission' => __('Delete entry data after form submission', 'fluentform'),
219
+ 'Your data will be deleted on form submission so no entry data, analytics and visual reporting will be available for this form' => __('Your data will be deleted on form submission so no entry data, analytics and visual reporting will be available for this form', 'fluentform'),
220
+ 'Enable auto delete old entries' => __('Enable auto delete old entries', 'fluentform'),
221
+ 'Specify how many days old entries will be deleted for this form' => __('Specify how many days old entries will be deleted for this form', 'fluentform'),
222
+ 'Entries older than ' => __('Entries older than ', 'fluentform'),
223
+ ' days ' => __(' days ', 'fluentform'),
224
+ 'will be deleted automatically' => __('will be deleted automatically', 'fluentform'),
225
+ 'Other' => __('Other', 'fluentform'),
226
+ 'Extra CSS Form Class' => __('Extra CSS Form Class', 'fluentform'),
227
+ 'extra css class' => __('extra css class', 'fluentform'),
228
+ 'Affiliate' => __('Affiliate', 'fluentform'),
229
+ 'Allow referrals' => __('Allow referrals', 'fluentform'),
230
+ 'Enable' => __('Enable', 'fluentform'),
231
+ 'Select type' => __('Select type', 'fluentform'),
232
+ 'Design Your Button' => __('Design Your Button', 'fluentform'),
233
+ 'Button Preview:' => __('Button Preview:', 'fluentform'),
234
+ 'Insert' => __('Insert', 'fluentform'),
235
+ 'Maximum Number of Entries' => __('Maximum Number of Entries', 'fluentform'),
236
+ 'Enter a number in the input box below to limit ' =>__('Enter a number in the input box below to limit ', 'fluentform'),
237
+ 'the number of entries allowed for this form. The ' => __('the number of entries allowed for this form. The ', 'fluentform'),
238
+ 'form will become inactive when that number is reached.' => __('form will become inactive when that number is reached.', 'fluentform'),
239
+ 'Maximum Entries' => __('Maximum Entries', 'fluentform'),
240
+ 'Message Shown on Reaching Max Entries' => __('Message Shown on Reaching Max Entries', 'fluentform'),
241
+ 'Form Scheduling' => __('Form Scheduling', 'fluentform'),
242
+ 'Schedule a time period the form is active.' => __('Schedule a time period the form is active.', 'fluentform'),
243
+ 'Select Weekdays' => __('Select Weekdays', 'fluentform'),
244
+ 'Check all' => __('Check all', 'fluentform'),
245
+ 'Select date and time' => __('Select date and time', 'fluentform'),
246
+ 'Form Waiting Message' => __('Form Waiting Message', 'fluentform'),
247
+ 'Form Expired Message' => __('Form Expired Message', 'fluentform'),
248
+ 'Login Requirement Settings' => __('Login Requirement Settings', 'fluentform'),
249
+ 'Require user to be logged in' => __('Require user to be logged in', 'fluentform'),
250
+ 'Check this option to require a user to be ' => __('Check this option to require a user to be ', 'fluentform'),
251
+ 'logged in to view this form.' => __('logged in to view this form.', 'fluentform'),
252
+ 'Require Login Message' => __('Require Login Message', 'fluentform'),
253
+ 'Enter a message to be displayed to users who ' => __('Enter a message to be displayed to users whoo', 'fluentform'),
254
+ 'are not logged in (shortcodes and HTML are supported).' => __('are not logged in (shortcodes and HTML are supported).', 'fluentform'),
255
+ 'Empty Submission Blocking' => __('Empty Submission Blocking', 'fluentform'),
256
+ 'Deny empty submission' => __('Deny empty submission', 'fluentform'),
257
+ 'Enabling this won\'t allow users to submit empty ' => __('Enabling this won\'t allow users to submit empty', 'fluentform'),
258
+ 'Please note that it is recommended to not change name attributes, doing so will break conditional & integrations field mapping.You will need to recreate these with the new value.' => __('Please note that it is recommended to not change name attributes, doing so will break conditional & integrations field mapping.You will need to recreate these with the new value.', 'fluentform'),
259
+ 'forms when there are no required form fields.' => __('forms when there are no required form fields.', 'fluentform'),
260
+ 'Message Shown Against on Empty Submission' => __('Message Shown Against on Empty Submission', 'fluentform'),
261
+ 'Enter a message to be displayed to users ' => __('Enter a message to be displayed to users ', 'fluentform'),
262
+ 'when they try to submit an empty form.' => __('when they try to submit an empty form.', 'fluentform'),
263
+ 'Append' => __('Append', 'fluentform'),
264
+ 'Append Survey Result' => __('Append Survey Result', 'fluentform'),
265
+ 'Enable this to append survey result to the confirmation message.' => __('Enable this to append survey result to the confirmation message', 'fluentform'),
266
+ 'Show Label' => __('Show Label', 'fluentform'),
267
+ 'Do you want to show form labels when displaying survey result?' => __('Do you want to show form labels when displaying survey result?', 'fluentform'),
268
+ 'Show Count' => __('Show Count', 'fluentform'),
269
+ 'Do you want to show vote count when displaying survey result?' => __('Do you want to show vote count when displaying survey result?', 'fluentform'),
270
+ 'Confirmation Type' => __('Confirmation Type', 'fluentform'),
271
+ 'After submit, where the page will redirect to.' => __('After submit, where the page will redirect to.', 'fluentform'),
272
+ 'Message to show' => __('Message to show', 'fluentform'),
273
+ 'Confirmation Message Text' => __('Confirmation Message Text', 'fluentform'),
274
+ 'see on the confirmation page of this form.' => __('see on the confirmation page of this form.', 'fluentform'),
275
+ 'After Form Submission' => __('After Form Submission', 'fluentform'),
276
+ 'After Form Submission Behavior' => __('After Form Submission Behavior', 'fluentform'),
277
+ 'Select the behavior after form submission, ' => __('Select the behavior after form submission', 'fluentform'),
278
+ 'whether you want to hide or reset the form.' => __('whether you want to hide or reset the form.', 'fluentform'),
279
+ 'Hide Form' => __('Hide Form', 'fluentform'),
280
+ 'Reset Form' => __('Reset Form', 'fluentform'),
281
+ 'Select Page' => __('Select Page', 'fluentform'),
282
+ 'Redirect Form to Page' => __('Redirect Form to Page', 'fluentform'),
283
+ 'Select the page you would like the user to be ' => __('Select the page you would like the user to be ', 'fluentform'),
284
+ 'redirected to after they have submitted the form.' => __('redirected to after they have submitted the form.', 'fluentform'),
285
+ 'Custom URL' => __('Custom URL', 'fluentform'),
286
+ 'Redirect Form to URL' => __('Redirect Form to URL', 'fluentform'),
287
+ 'Enter the URL of the webpage you would ' => __('Enter the URL of the webpage you would ', 'fluentform'),
288
+ 'like the user to be redirected to after ' => __('like the user to be redirected to after ', 'fluentform'),
289
+ 'they have submitted the form.' => __('they have submitted the form.', 'fluentform'),
290
+ 'Redirect URL' => __('Redirect URL', 'fluentform'),
291
+ 'Redirect Query String' => __('Redirect Query String', 'fluentform'),
292
+ 'Pass Field Data Via Query String' => __('Pass Field Data Via Query String', 'fluentform'),
293
+ 'Redirection Message' => __('Redirection Message', 'fluentform'),
294
+ 'Redirection Confirmation Message Text' => __('Redirection Confirmation Message Text', 'fluentform'),
295
+ 'see on the confirmation page when redirecting.' => __('see on the confirmation page when redirecting.', 'fluentform'),
296
+ 'Enable / Disable Advanced Form Validation Rules.' => __('Enable / Disable Advanced Form Validation Rules.', 'fluentform'),
297
+ 'Validation Type' => __('Validation Type', 'fluentform'),
298
+ 'Please select how the validation will apply.' => __('Please select how the validation will apply.', 'fluentform'),
299
+ 'Based on your selection, Submission ' => __('Based on your selection, Submission ', 'fluentform'),
300
+ 'will be rejected ' => __('will be rejected ', 'fluentform'),
301
+ 'if' => __('if ', 'fluentform'),
302
+ 'conditions are met' => __('conditions are met ', 'fluentform'),
303
+ 'will be valid ' => __('will be valid ', 'fluentform'),
304
+ 'if ' => __('if ', 'fluentform'),
305
+ 'Please write the error message if the form submission get invalid.' => __('Please write the error message if the form submission get invalid.', 'fluentform'),
306
+ 'Error Message on Failed submission' => __('Error Message on Failed submission', 'fluentform'),
307
+ 'General Operators' => __('General Operators', 'fluentform'),
308
+ 'contains' => __('contains', 'fluentform'),
309
+ 'do not contains' => __('do not contains', 'fluentform'),
310
+ 'Advanced Operators' => __('Advanced Operators', 'fluentform'),
311
+ 'Equal to Data Length' => __('Equal to Data Length', 'fluentform'),
312
+ 'Less than to Data length' => __('Less than to Data length', 'fluentform'),
313
+ 'Greater than to Data Length' => __('Greater than to Data Length', 'fluentform'),
314
+ 'Regex Match' => __('Regex Match', 'fluentform'),
315
+ 'Enter length in number' => __('Enter length in number', 'fluentform'),
316
+ 'Enter a value' => __('Enter a value', 'fluentform'),
317
+ 'Show Video' => __('Show Video', 'fluentform'),
318
+ 'Read More' => __('Read More', 'fluentform'),
319
+ 'Slack Integration' => __('Slack Integration', 'fluentform'),
320
+ 'Integrate Slack' => __('Integrate Slack', 'fluentform'),
321
+ 'Slack Title' => __('Slack Title', 'fluentform'),
322
+ 'Webhook URL' => __('Webhook URL', 'fluentform'),
323
+ 'slack webhook URL' => __('slack webhook URL', 'fluentform'),
324
+ ' where Fluent Forms will send JSON payload.' => __(' where Fluent Forms will send JSON payload.', 'fluentform'),
325
+ 'Field Selection is a pro feature.' => __('Field Selection is a pro feature.', 'fluentform'),
326
+ 'Zapier Integration' => __('Zapier Integration', 'fluentform'),
327
+ 'Back' => __('Back', 'fluentform'),
328
+ 'Add Webhook' => __('Add Webhook', 'fluentform'),
329
+ 'Fetching Settings...' => __('Fetching Settings...', 'fluentform'),
330
+ 'Name' => __('Name', 'fluentform'),
331
+ 'Webhook Url' => __('Webhook Url', 'fluentform'),
332
+ 'Conditional Logics' => __('Conditional Logics', 'fluentform'),
333
+ 'Allow zapier webhook conditionally' => __('Allow zapier webhook conditionally', 'fluentform'),
334
+ 'Send Data Sample' => __('Send Data Sample', 'fluentform'),
335
+ 'Notification' => __('Notification', 'fluentform'),
336
+ 'Landing Page' => __('Landing Page', 'fluentform'),
337
+ 'Create completely custom "distraction-free" form landing pages to boost conversions' => __('Create completely custom "distraction-free" form landing pages to boost conversions', 'fluentform'),
338
+ 'Enable Form Landing Page Mode' => __('Enable Form Landing Page Mode', 'fluentform'),
339
+ 'Design' => __('Design', 'fluentform'),
340
+ 'Share' => __('Share', 'fluentform'),
341
+ 'Page Design Style' => __('Page Design Style', 'fluentform'),
342
+ 'BG Color' => __('BG Color', 'fluentform'),
343
+ 'Choose Custom Color for your form page' => __('Choose Custom Color for your form page', 'fluentform'),
344
+ 'BG Image' => __('BG Image', 'fluentform'),
345
+ 'Background Image' => __('Background Image', 'fluentform'),
346
+ 'Page Background Image' => __('Page Background Image', 'fluentform'),
347
+ 'Form Logo' => __('Form Logo', 'fluentform'),
348
+ 'Logo' => __('Logo', 'fluentform'),
349
+ 'You may upload your logo and it will show on the top of the page' => __('You may upload your logo and it will show on the top of the page', 'fluentform'),
350
+ 'Featured Image' => __('Featured Image', 'fluentform'),
351
+ 'Featured Image will be shown in social media share preview' => __('Featured Image will be shown in social media share preview ', 'fluentform'),
352
+ 'Page Heading' => __('Page Heading', 'fluentform'),
353
+ 'Form Title' => __('Form Title', 'fluentform'),
354
+ 'This will show at the top of your page' => __('This will show at the top of your page', 'fluentform'),
355
+ 'eg: My Awesome Form' => __('eg: My Awesome Form', 'fluentform'),
356
+ 'Description' => __('Description', 'fluentform'),
357
+ 'This will show at the top of your page after form title' => __('This will show at the top of your page after form title', 'fluentform'),
358
+ 'Security Code' => __('Security Code', 'fluentform'),
359
+ 'A Salt to secure your share url so nobody can guess by form ID.' => __('A Salt to secure your share url so nobody can guess by form ID.', 'fluentform'),
360
+ 'Share your form by unique URL or copy and paste the shortcode to embed in your page and post' => __('Share your form by unique URL or copy and paste the shortcode to embed in your page and post', 'fluentform'),
361
+ 'Share Your Form' => __('Share Your Form', 'fluentform'),
362
+ 'Share Via Direct URL' => __('Share Via Direct URL', 'fluentform'),
363
+ 'Get the link or share on social sites' => __('Get the link or share on social sites', 'fluentform'),
364
+ 'Shortcode' => __('Shortcode', 'fluentform'),
365
+ 'Use this following shortcode in your Page or Post' => __('Use this following shortcode in your Page or Post', 'fluentform'),
366
+ 'Embed via HTML Code' => __('Embed via HTML Code', 'fluentform'),
367
+ 'Want to use this form in another domain or another site or even outside WordPress ? Use the following code' => __('Want to use this form in another domain or another site or even outside WordPress ? Use the following code', 'fluentform'),
368
+ 'You can customize the height property.' => __('You can customize the height property.', 'fluentform'),
369
+ 'Please check if your wp hosting server supports iframe.' => __('Please check if your wp hosting server supports iframe.', 'fluentform'),
370
+ 'Post Feeds' => __('Post Feeds', 'fluentform'),
371
+ 'Add Post Feed' => __('Add Post Feed', 'fluentform'),
372
+ 'Enabled' => __('Enabled', 'fluentform'),
373
+ 'Disabled' => __('Disabled', 'fluentform'),
374
+ 'Create New Feed' => __('Create New Feed', 'fluentform'),
375
+ 'Save Feed' => __('Save Feed', 'fluentform'),
376
+ 'Feed Name' => __('Feed Name', 'fluentform'),
377
+ 'Post Type' => __('Post Type', 'fluentform'),
378
+ 'Submission Type' => __('Submission Type', 'fluentform'),
379
+ 'Create or Update Post' => __('Create or Update Post', 'fluentform'),
380
+ 'For post update only one feed is avaiable, if you have more than one feed the first one will work.' => __('For post update only one feed is avaiable, if you have more than one feed the first one will work.', 'fluentform'),
381
+ 'new' => __('new', 'fluentform'),
382
+ 'update' => __('update', 'fluentform'),
383
+ 'New Post' => __('New Post', 'fluentform'),
384
+ 'Update Post' => __('Update Post', 'fluentform'),
385
+ 'Post Status' => __('Post Status', 'fluentform'),
386
+ 'Comment Status' => __('Comment Status', 'fluentform'),
387
+ 'Post Format' => __('Post Format', 'fluentform'),
388
+ 'Default Category' => __('Default Category', 'fluentform'),
389
+ 'Post Fields Mapping' => __('Post Fields Mapping', 'fluentform'),
390
+ 'Form Fields' => __('Form Fields', 'fluentform'),
391
+ 'Note: All your taxonomies and featured image will be mapped automatically from your form fields' => __('Note: All your taxonomies and featured image will be mapped automatically from your form fields', 'fluentform'),
392
+ 'Meta Fields Mapping' => __('Meta Fields Mapping', 'fluentform'),
393
+ 'Add Meta Field' => __('Add Meta Field', 'fluentform'),
394
+ 'There is no mapping of meta fields.' => __('There is no mapping of meta fields.', 'fluentform'),
395
+ 'Meta Key' => __('Meta Key', 'fluentform'),
396
+ 'Enter Meta Key...' => __('Enter Meta Key...', 'fluentform'),
397
+ 'Meta Value' => __('Meta Value', 'fluentform'),
398
+ 'Add Another General Field' => __('Add Another General Field', 'fluentform'),
399
+ 'There is no mapping found for General Meta fields.' => __('There is no mapping for general Meta fields.', 'fluentform'),
400
+ 'Add Another Advanced Field' => __('Add Another Advanced Field', 'fluentform'),
401
+ 'Select Field' => __('Select Field', 'fluentform'),
402
+ 'Select Form Field' => __('Select Form Field', 'fluentform'),
403
+ 'There is no advanced field mapping for this section.' => __('There is no advanced field mapping for this section.', 'fluentform'),
404
+ 'Other Confirmations' => __('Other Confirmations', 'fluentform'),
405
+ 'Add Confirmation' => __('Add Confirmation', 'fluentform'),
406
+ 'Content' => __('Content', 'fluentform'),
407
+ 'Duplicate notification settings' => __('Duplicate notification settings', 'fluentform'),
408
+ 'Confirmation Name' => __('Confirmation Name', 'fluentform'),
409
+ 'The name to identify each confirmation.' => __('The name to identify each confirmation.','fluentform'),
410
+ 'Conditional Logic' => __('Conditional Logic', 'fluentform'),
411
+ 'Enable this feed conditionally' => __('Enable this feed conditionally', 'fluentform'),
412
+ 'Save Notification' => __('Save Notification', 'fluentform'),
413
+ 'Email Notifications' => __('Email Notifications', 'fluentform'),
414
+ 'Add Notification' => __('Add Notification', 'fluentform'),
415
+ 'Fetching Notifications...' => __('Fetching Notifications...', 'fluentform'),
416
+ 'Subject' => __('Subject', 'fluentform'),
417
+ 'For better email deliverability, we recommend to use FluentSMTP Plugin(completely free & Opensource). FluentSMTP connects with your Email Service Provider natively and makes sure your emails including form notifications are being delivered ' => __('For better email deliverability, we recommend to use FluentSMTP Plugin(completely free & Opensource). FluentSMTP connects with your Email Service Provider natively and makes sure your emails including form notifications are being delivered ', 'fluentform'),
418
+ 'Built by Fluent Forms devs for you.' => __('Built by Fluent Forms devs for you.', 'fluentform'),
419
+ 'Setup SMTP' => __('Setup SMTP', 'fluentform'),
420
+ 'Send To' => __('Send To', 'fluentform'),
421
+ 'Send To Email Address' => __('Send To Email Address', 'fluentform'),
422
+ 'Enter the email address you would like' => __('Enter the email address you would like', 'fluentform'),
423
+ 'the notification email sent to.' => __('the notification email sent to.', 'fluentform'),
424
+ 'email' => __('email', 'fluentform'),
425
+ 'Enter Email' => __('Enter Email', 'fluentform'),
426
+ 'field' => __('field', 'fluentform'),
427
+ 'Select a Field' => __('Select a Field', 'fluentform'),
428
+ 'Configure Routing' => __('Configure Routing', 'fluentform'),
429
+ 'Routing' => __('Routing', 'fluentform'),
430
+ 'Allows notification to be sent to different email ' => __('Allows notification to be sent to different email ', 'fluentform'),
431
+ 'addresses depending on values selected in the form.' => __('addresses depending on values selected in the form.', 'fluentform'),
432
+ 'Send to Email' => __('Send to Email', 'fluentform'),
433
+ 'Send to Field' => __('Send to Field', 'fluentform'),
434
+ 'Email Body' => __('Email Body', 'fluentform'),
435
+ 'Email Body HTML' => __('Email Body HTML', 'fluentform'),
436
+ 'Allow this feed conditionally' => __('Allow this feed conditionally', 'fluentform'),
437
+ 'Email Attachments' => __('Email Attachments', 'fluentform'),
438
+ 'Media File Attachments' => __('Media File Attachments', 'fluentform'),
439
+ 'Add Additional Media File Attachments for the email' => __('Add Additional Media File Attachments for the email', 'fluentform'),
440
+ '(Require Pro Version)' => __('Require Pro Version', 'fluentform'),
441
+ 'PDF Attachments' => __('PDF Attachments', 'fluentform'),
442
+ 'You can select PDF attachments from your created PDF templates' => __('You can select PDF attachments from your created PDF templates', 'fluentform'),
443
+ 'You should use SMTP so send attachment via email otherwise, It may go to spam' => __('You should use SMTP so send attachment via email otherwise, It may go to spam', 'fluentform'),
444
+ 'Send Email' => __('Send Email', 'fluentform'),
445
+ 'Please Select when the email will be sent for Payment Forms' => __('Please Select when the email will be sent for Payment Forms', 'fluentform'),
446
+ 'After Payment Success' => __('After Payment Success', 'fluentform'),
447
+ 'After Form Submit' => __('After Form Submit', 'fluentform'),
448
+ 'Please Note, for offline payment this settings will not work.Pending offline payment form notifications is sent instantly, we will remove this after our next major release, so this settings will also work for offline payments.' => __('Please Note, for offline payment this settings will not work.Pending offline payment form notifications is sent instantly, we will remove this after our next major release, so this settings will also work for offline payments.', 'fluentform'),
449
+ 'Advanced' => __('Advanced', 'fluentform'),
450
+ 'From Name' => __('From Name', 'fluentform'),
451
+ 'Enter the name you would like the notification email ' => __('Enter the name you would like the notification email ', 'fluentform'),
452
+ 'sent from, or select the name from available name fields.' => __('sent from, or select the name from available name fields.', 'fluentform'),
453
+ 'It will only be visible in the email if \"From Email\" value is available' => __('It will only be visible in the email if \"From Email\" value is available', 'fluentform'),
454
+ 'From Email' => __('From Email', 'fluentform'),
455
+ 'From Email Address' => __('From Email Address', 'fluentform'),
456
+ 'Enter the email address you would like the ' => __('Enter the email address you would like the ', 'fluentform'),
457
+ 'notification email sent from, or select the ' => __('notification email sent from, or select the ', 'fluentform'),
458
+ 'email from available email form fields.' => __('email from available email form fields.', 'fluentform'),
459
+ 'It\'s not recommended to change from email. Please use your domain\'s email / SMTP main email. Otherwise email may failed to send.' => __('It\'s not recommended to change from email. Please use your domain\'s email / SMTP main email. Otherwise email may failed to send.', 'fluentform'),
460
+ 'Reply To' => __('Reply To', 'fluentform'),
461
+ 'Enter the email address you would like to be ' => __('Enter the email address you would like to be ', 'fluentform'),
462
+ 'used as the reply to address for the notification email.' => __('used as the reply to address for the notification email.', 'fluentform'),
463
+ 'BCC' => __('BCC', 'fluentform'),
464
+ 'Blind Carbon Copy Addresses' => __('Blind Carbon Copy Addresses', 'fluentform'),
465
+ 'Enter a comma separated list of email addresses ' => __('Enter a comma separated list of email addresses ', 'fluentform'),
466
+ 'you would like to receive a BCC of the notification email.' => __('you would like to receive a BCC of the notification email.', 'fluentform'),
467
+ 'CC' => __('CC', 'fluentform'),
468
+ 'Carbon Copy Addresses' => __('Carbon Copy Addresses', 'fluentform'),
469
+ 'you would like to receive a CC of the notification email.' => __('you would like to receive a CC of the notification email.', 'fluentform'),
470
+ 'WebHooks Integration' => __('WebHooks Integration', 'fluentform'),
471
+ 'Add New' => __('Add New', 'fluentform'),
472
+ 'You don\'t have any feeds configured. Let\'s go ' => __('You don\'t have any feeds configured. Let\'s go', 'fluentform'),
473
+ ' create one!' => __(' create one!', 'fluentform'),
474
+ 'WebHook URL' => __('WebHook URL', 'fluentform'),
475
+ 'Enter a feed name to uniquely identify this setup.' => __('Enter a feed name to uniquely identify this setup.', 'fluentform'),
476
+ 'WebHook Feed Name' => __('WebHook Feed Name', 'fluentform'),
477
+ 'Request URL' => __('Request URL', 'fluentform'),
478
+ 'Enter the URL to be used in the webhook request.' => __('Enter the URL to be used in the webhook request.', 'fluentform'),
479
+ 'Request Method' => __('Request Method', 'fluentform'),
480
+ 'Select the HTTP method used for the webhook request.' => __('Select the HTTP method used for the webhook request.', 'fluentform'),
481
+ 'Request Format' => __('Request Format', 'fluentform'),
482
+ 'Select the format for the webhook request.' => __('Select the format for the webhook request.', 'fluentform'),
483
+ 'Request Header' => __('Request Header', 'fluentform'),
484
+ 'Select with headers if any headers should be sent with the webhook request.' => __('Select with headers if any headers should be sent with the webhook request.', 'fluentform'),
485
+ 'nop' => __('nop', 'fluentform'),
486
+ 'yup' => __('yup', 'fluentform'),
487
+ 'No Headers' => __('No Headers', 'fluentform'),
488
+ 'With Headers' => __('With Headers', 'fluentform'),
489
+ 'Request Headers' => __('Request Headers', 'fluentform'),
490
+ 'Setup the HTTP headers to be sent with the webhook request.' => __('Setup the HTTP headers to be sent with the webhook request.', 'fluentform'),
491
+ 'Header Name' => __('Header Name', 'fluentform'),
492
+ 'Header Value' => __('Header Value', 'fluentform'),
493
+ 'Select Header' => __('Select Header', 'fluentform'),
494
+ 'Enter Custom Header' => __('Enter Custom Header', 'fluentform'),
495
+ 'Select Value' => __('Select Value', 'fluentform'),
496
+ 'Enter Value' => __('Enter Value', 'fluentform'),
497
+ 'Request Body' => __('Request Body', 'fluentform'),
498
+ 'Select if all fields or select fields should be sent with the webhook request.' => __('Select if all fields or select fields should be sent with the webhook request.', 'fluentform'),
499
+ 'All Fields' => __('All Fields', 'fluentform'),
500
+ 'Selected Fields' => __('Selected Fields', 'fluentform'),
501
+ 'Request Fields' => __('Request Fields', 'fluentform'),
502
+ 'Setup the fields to be sent in the webhook request.' => __('Setup the fields to be sent in the webhook request.', 'fluentform'),
503
+ 'Field Name' => __('Field Name', 'fluentform'),
504
+ 'Field Value' => __('Field Value', 'fluentform'),
505
+ 'Enter Name' => __('Enter Name', 'fluentform'),
506
+ 'Allow WebHook to take action conditionally' => __('Allow WebHook to take action conditionally', 'fluentform'),
507
+ 'Update WebHook Feed' => __('Update WebHook Feed', 'fluentform'),
508
+ 'Create WebHook Feed' => __('Create WebHook Feed', 'fluentform'),
509
+ 'Custom CSS and JS' => __('Custom CSS and JS', 'fluentform'),
510
+ 'Save CSS and JS' => __('Save CSS and JS', 'fluentform'),
511
+ 'Custom CSS' => __('Custom CSS', 'fluentform'),
512
+ 'You can write your custom CSS here for this form.This css will be applied in this current form only.' => __('You can write your custom CSS here for this form.This css will be applied in this current form only.', 'fluentform'),
513
+ 'You may add ' => __('You may add ', 'fluentform'),
514
+ 'as your css selector prefix to target this specific form.Alternatively, you can use ' => __('as your css selector prefix to target this specific form.Alternatively, you can use ', 'fluentform'),
515
+ 'where ' => __('where ', 'fluentform'),
516
+ 'will be replaced with your form id dynamically' => __('will be replaced with your form id dynamically', 'fluentform'),
517
+ 'Please don\'t include ' => __('Please don\'t include ', 'fluentform'),
518
+ 'Custom Javascript' => __('Custom Javascript', 'fluentform'),
519
+ 'Your additional JS code will run after this form initialized.Please provide valid javascript code.Invalid JS code may break the Form.' => __('Your additional JS code will run after this form initialized.Please provide valid javascript code.Invalid JS code may break the Form.', 'fluentform'),
520
+ 'Please note that, In Conversational Form Style, Custom Javascript will not work' => __('Please note that, In Conversational Form Style, Custom Javascript will not work', 'fluentform'),
521
+ 'The Following Javascript variables are available that you can use' => __('The Following Javascript variables are available that you can use ', 'fluentform'),
522
+ 'The Javascript(jQuery) DOM object of the Form' => __('The Javascript(jQuery) DOM object of the Form', 'fluentform'),
523
+ 'All Form Integrations' => __('All Form Integrations', 'fluentform'),
524
+ 'Add New Integration' => __('Add New Integration', 'fluentform'),
525
+ 'Search Integration' => __('Search Integration', 'fluentform'),
526
+ 'You don\'t have any integration module enabled. Please go to integration modules and enable and configured from 30 + available modules' => __('You don\'t have any integration module enabled. Please go to integration modules and enable and configured from 30 + available modules', 'fluentform'),
527
+ 'Configure Modules' => __('Configure Modules', 'fluentform'),
528
+ 'You don\'t have any form feed integration yet. Create new feed and connect your data to your favorite CRM / Marketing tool' => __('You don\'t have any form feed integration yet. Create new feed and connect your data to your favorite CRM / Marketing tool', 'fluentform'),
529
+ 'Integration' => __('Integration', 'fluentform'),
530
+ 'View Documentations' => __('View Documentations', 'fluentform'),
531
+ 'View Video Instruction' => __('View Video Instruction', 'fluentform'),
532
+ 'View All' => __('View All', 'fluentform'),
533
+ 'This field only available on pro version.Please install Fluent Forms Pro.' => __('This field only available on pro version.Please install Fluent Forms Pro.', 'fluentform'),
534
+ 'No Template found. Please make sure you are using latest version of Fluent Forms' => __('No Template found. Please make sure you are using latest version of Fluent Forms', 'fluentform'),
535
+ 'Update ' => __('Update ', 'fluentform'),
536
+ 'Create ' => __('Create ', 'fluentform'),
537
+ 'Feed' => __('Feed', 'fluentform'),
538
+ 'PDF Feeds' => __('PDF Feeds', 'fluentform'),
539
+ 'Create PDF template feed and you can download the PDFs from each submission' => __('Create PDF template feed and you can download the PDFs from each submission', 'fluentform'),
540
+ 'Edit PDF Feed ' => __('Edit PDF Feed', 'fluentform'),
541
+ 'Add PDF Feed' => __('Add PDF Feed', 'fluentform'),
542
+ 'Template' => __('Template', 'fluentform'),
543
+ 'Creating Feed. Please wait...' => __('Creating Feed. Please wait...', 'fluentform'),
544
+ 'Create new PDF Feed' => __('Create new PDF Feed', 'fluentform'),
545
+ 'Please Select a Template' => __('Please Select a Template', 'fluentform'),
546
+ 'PDF Contents' => __('PDF Contents', 'fluentform'),
547
+ 'Save Feed Settings' => __('Save Feed Settings', 'fluentform'),
548
+ 'Appearance' => __('Appearance', 'fluentform'),
549
+ 'Select a Field or Type Custom value' => __('Select a Field or Type Custom value', 'fluentform'),
550
+ 'Payment Settings' => __('Payment Settings', 'fluentform'),
551
+ 'Currency' => __('Currency ', 'fluentform'),
552
+ 'Select Currency' => __('Select Currency', 'fluentform'),
553
+ 'Transaction Type' => __('Transaction Type', 'fluentform'),
554
+ 'product' => __('product', 'fluentform'),
555
+ 'Products / Services' => __('Products / Services', 'fluentform'),
556
+ 'donation' => __('donation', 'fluentform'),
557
+ 'Donations' => __('Donations', 'fluentform'),
558
+ 'Customer Email' => __('Customer Email', 'fluentform'),
559
+ 'Please select the customer email field from your form\'s email inputs. It\'s optional field but recommended.' => __('Please select the customer email field from your form\'s email inputs. It\'s optional field but recommended.', 'fluentform'),
560
+ 'Customer Name' => __('Customer Name', 'fluentform'),
561
+ 'Please select the customer name field from your form inputs.It\'s optional ield but recommended.If user is logged in then this data will be picked from logged in user.' => __('Please select the customer name field from your form inputs.It\'s optional ield but recommended.If user is logged in then this data will be picked from logged in user.', 'fluentform'),
562
+ 'Customer Address' => __('Customer Address', 'fluentform'),
563
+ 'Please select the customer address field from your form\'s address inputs. It\'s required for payments in India.' => __('Please select the customer address field from your form\'s address inputs. It\'s required for payments in India.', 'fluentform'),
564
+ 'Select an address field' => __('Select an address field', 'fluentform'),
565
+ 'Stripe Settings' => __('Stripe Settings', 'fluentform'),
566
+ 'Stripe Meta Data' => __('Stripe Meta Data', 'fluentform'),
567
+ 'Push Form Data to Stripe' => __('Push Form Data to Stripe', 'fluentform'),
568
+ 'Please Map meta Data for Stripe' => __('Please Map meta Data for Stripe', 'fluentform'),
569
+ 'Stripe Account' => __('Stripe Account', 'fluentform'),
570
+ 'You can select which stripe account credential will be used for this form.Select "Custom Stripe Credential" for a different stripe account than global.' => __('You can select which stripe account credential will be used for this form.Select "Custom Stripe Credential" for a different stripe account than global.', 'fluentform'),
571
+ 'global' => __('global', 'fluentform'),
572
+ 'As per global settings' => __('As per global settings', 'fluentform'),
573
+ 'custom' => __('custom', 'fluentform'),
574
+ 'Custom Stripe Credentials' => __('Custom Stripe Credentials', 'fluentform'),
575
+ 'Payment Mode' => __('Payment Mode', 'fluentform'),
576
+ 'Select the payment mode.for testing purposes you should select Test Mode otherwise select Live mode.' => __('Select the payment mode.for testing purposes you should select Test Mode otherwise select Live mode.', 'fluentform'),
577
+ 'live' => __('live', 'fluentform'),
578
+ 'Live Mode' => __('Live Mode', 'fluentform'),
579
+ 'test' => __('test', 'fluentform'),
580
+ 'Test Mode' => __('Test Mode', 'fluentform'),
581
+ 'Please provide your ' => __('Please provide your ', 'fluentform'),
582
+ ' API keys' => __(' API keys', 'fluentform'),
583
+ 'Publishable key' => __('Publishable key', 'fluentform'),
584
+ ' Publishable key' => __(' Publishable key', 'fluentform'),
585
+ ' Secret key' => __(' Secret key', 'fluentform'),
586
+ 'Secret key' => __('Secret key', 'fluentform'),
587
+ 'You can find the API keys to ' => __('You can find the API keys to ', 'fluentform'),
588
+ 'Stripe Dashboard' => __('Stripe Dashboard', 'fluentform'),
589
+ 'Stripe Payment Receipt' => __('Stripe Payment Receipt', 'fluentform'),
590
+ 'Disable Payment Receipt Email by Stripe(no recommended)' => __('Disable Payment Receipt Email by Stripe(no recommended)', 'fluentform'),
591
+ 'Statement Description' => __('Statement Description', 'fluentform'),
592
+ 'Provide the statement description.If you keep it empty then your form name will be set.(Contains between 5 and 22 characters)' => __('Provide the statement description.If you keep it empty then your form name will be set.(Contains between 5 and 22 characters)', 'fluentform'),
593
+ 'PayPal Settings' => __('PayPal Settings', 'fluentform'),
594
+ 'PayPal Account' => __('PayPal Account', 'fluentform'),
595
+ 'You can select which PayPal account email will be used for this form.Select "Custom PayPal ID" for a different PayPal account than global.' => __('You can select which PayPal account email will be used for this form.Select "Custom PayPal ID" for a different PayPal account than global.', 'fluentform'),
596
+ 'Custom PayPal ID' => __('Custom PayPal ID', 'fluentform'),
597
+ 'Select the payment mode. for testing purposes you should select Test Mode otherwise select Live mode.' => __('Select the payment mode. for testing purposes you should select Test Mode otherwise select Live mode.', 'fluentform'),
598
+ 'Custom PayPal Email' => __('Custom PayPal Email', 'fluentform'),
599
+ 'Quiz Settings' => __('Quiz Settings', 'fluentform'),
600
+ 'Enable Quiz Module' => __('Enable Quiz Module', 'fluentform'),
601
+ 'Grade System' => __('Grade System', 'fluentform'),
602
+ 'Result will be showed in grade when the score type is set as grade in the score input field' => __('Result will be showed in grade when the score type is set as grade in the score input field', 'fluentform'),
603
+ 'Grade Label' => __('Grade Label', 'fluentform'),
604
+ 'Minimum Range' => __('Minimum Range', 'fluentform'),
605
+ 'Max Range' => __('Max Range', 'fluentform'),
606
+ 'Quiz Questions' => __('Quiz Questions', 'fluentform'),
607
+ 'Advance Scoring' => __('Advance Scoring', 'fluentform'),
608
+ 'Score' => __('Score', 'fluentform'),
609
+ 'Condition' => __('Condition', 'fluentform'),
610
+ 'Select Condition' => __('Select Condition', 'fluentform'),
611
+ 'Correct Answer' => __('Correct Answer', 'fluentform'),
612
+ 'Type your Answers' => __('Type your Answers', 'fluentform'),
613
+ 'Post Settings' => __('Post Settings', 'fluentform'),
614
+ 'Save Settings' => __('Save Settings', 'fluentform'),
615
+ 'Open' => __('Open', 'fluentform'),
616
+ 'Closed' => __('Closed', 'fluentform'),
617
+ 'Loading Editor...' => __('Loading Editor...', 'fluentform'),
618
+ 'Redirect To' => __('Redirect To', 'fluentform'),
619
+ 'After successful submit, where the page will redirect to.' => __('After successful submit, where the page will redirect to.', 'fluentform'),
620
+ 'Page' => __('Page', 'fluentform'),
621
+ 'Select the default label placement.Labels can ' => __('Select the default label placement.Labels can ', 'fluentform'),
622
+ 'be top aligned above a field, left aligned to the ' => __('be top aligned above a field, left aligned to the ', 'fluentform'),
623
+ 'left of a field, or right aligned to the right of a ' => __('left of a field, or right aligned to the right of a ', 'fluentform'),
624
+ 'field.This is a global label placement setting.' => __('field.This is a global label placement setting.', 'fluentform'),
625
+ 'Where help message will be shown' => __('Where help message will be shown', 'fluentform'),
626
+ 'Error Message Placement' => __('Error Message Placement', 'fluentform'),
627
+ 'Where form validation error messages will be shown' => __('Where form validation error messages will be shown', 'fluentform'),
628
+ 'Email Summaries' => __('Email Summaries', 'fluentform'),
629
+ 'Would you like to receive a weekly report showing how your forms are performing ? Enable Email Summaries option and you will get a report every week to the provided email address' => __('Would you like to receive a weekly report showing how your forms are performing ? Enable Email Summaries option and you will get a report every week to the provided email address', 'fluentform'),
630
+ 'Determine, If you want to enable / disable email reporting.If enabled, you will email summaries' => __('Determine, If you want to enable / disable email reporting.If enabled, you will email summaries', 'fluentform'),
631
+ 'Enable Email Summaries Weekly Delivery' => __('Enable Email Summaries Weekly Delivery', 'fluentform'),
632
+ 'Please specify who will get the email summary report' => __('Please specify who will get the email summary report ', 'fluentform'),
633
+ 'Site Admin' => __('Site Admin', 'fluentform'),
634
+ 'Custom Email' => __('Custom Email', 'fluentform'),
635
+ 'Please recipient email address' => __('Please recipient email address', 'fluentform'),
636
+ 'Recipient Email Address' => __('Recipient Email Address', 'fluentform'),
637
+ 'For Multiple please use comma separated values' => __('For Multiple please use comma separated values', 'fluentform'),
638
+ 'Sending Day' => __('Sending Day', 'fluentform'),
639
+ 'Select which day the email report will be sent' => __('Select which day the email report will be sent ', 'fluentform'),
640
+ 'Select Day' => __('Select Day', 'fluentform'),
641
+ 'Enter the subject of the email summary' => __('Enter the subject of the email summary', 'fluentform'),
642
+ 'Integration Failure Email Notification' => __('Integration Failure Email Notification', 'fluentform'),
643
+ 'Receive an instant email notification when any of your integraion is not running.Enable Integration Failure Notification option and you will get an email when any of your integration fails to run' => __('Receive an instant email notification when any of your integraion is not running.Enable Integration Failure Notification option and you will get an email when any of your integration fails to run', 'fluentform'),
644
+ 'Enable Integration Failure Notification if you want recieve a email notification each time any of your integration fails to run.' => __('Enable Integration Failure Notification if you want recieve a email notification each time any of your integration fails to run.', 'fluentform'),
645
+ 'Enable Integration Failure Notification' => __('Enable Integration Failure Notification', 'fluentform'),
646
+ 'This is a Pro Feature' => __('This is a Pro Feature', 'fluentform'),
647
+ 'Please specify who will get the email notification' => __('Please specify who will get the email notification', 'fluentform'),
648
+ 'Miscellaneous' => __('Miscellaneous', 'fluentform'),
649
+ 'Customize Form Settings' => __('Customize Form Settings', 'fluentform'),
650
+ 'These Settings will be used as default settings of a new form where' => __('These Settings will be used as default settings of a new form where', 'fluentform'),
651
+ 'You can customize many options globally, which will effect all forms.' => __('You can customize many options globally, which will effect all forms.', 'fluentform'),
652
+ 'Disable IP Logging' => __('Disable IP Logging', 'fluentform'),
653
+ 'If this option is turned off then the IP address of the' => __('If this option is turned off then the IP address of the', 'fluentform'),
654
+ 'user will be saved in the database with form data.' => __('user will be saved in the database with form data.', 'fluentform'),
655
+ 'Disable Form Analytics' => __('Disable Form Analytics', 'fluentform'),
656
+ 'By Default, Fluent Forms track unique views and submissions to show form metrices.' => __('By Default, Fluent Forms track unique views and submissions to show form metrices.', 'fluentform'),
657
+ 'You can disable it here.' => __('You can disable it here.', 'fluentform'),
658
+ 'Email Footer Text' => __('Email Footer Text', 'fluentform'),
659
+ 'By Default, Fluent Forms add your site title as email footer.You can add email footer text here.(HTML supported)' => __('By Default, Fluent Forms add your site title as email footer.You can add email footer text here.(HTML supported)', 'fluentform'),
660
+ 'Enable Honeypot Security' => __('Enable Honeypot Security', 'fluentform'),
661
+ 'Honeypot Security' => __('Honeypot Security', 'fluentform'),
662
+ 'If you enable this then Fluent Forms will verify honeypot security.Most of the time, bots will fail this test.' => __('If you enable this then Fluent Forms will verify honeypot security.Most of the time, bots will fail this test.', 'fluentform'),
663
+ 'Recommended settings: Enabled' => __('Recommended settings: Enabled', 'fluentform'),
664
+ 'Enable Akismet Integration' => __('Enable Akismet Integration', 'fluentform'),
665
+ 'Akismet Integration' => __('Akismet Integration', 'fluentform'),
666
+ 'If you enable this then Fluent Forms will verify the form submission with Akismet.It will save you from spam form submission.' => __('If you enable this then Fluent Forms will verify the form submission with Akismet.It will save you from spam form submission.', 'fluentform'),
667
+ 'Spam Validation' => __('Spam Validation', 'fluentform'),
668
+ 'Please select what will be happened once a submission marked as spam' => __('Please select what will be happened once a submission marked as spam', 'fluentform'),
669
+ 'Mark as Spam' => __('Mark as Spam', 'fluentform'),
670
+ 'Make the form submission as failed' => __('Make the form submission as failed', 'fluentform'),
671
+ 'Classic Editor Button' => __('Classic Editor Button', 'fluentform'),
672
+ 'Insert Button on Classic Editor' => __('Insert Button on Classic Editor', 'fluentform'),
673
+ 'If you enable this then Classic editor will have form inserter button' => __('If you enable this then Classic editor will have form inserter button', 'fluentform'),
674
+ 'Enable No - Conflict Mode' => __('Enable No - Conflict Mode', 'fluentform'),
675
+ 'No - Conflict Mode' => __('No - Conflict Mode', 'fluentform'),
676
+ 'If you enable this, then fluent forms will try to prevent other plugin scripts from loading and remove the conflicts.' => __('If you enable this, then fluent forms will try to prevent other plugin scripts from loading and remove the conflicts.', 'fluentform'),
677
+ 'Enable Auto Tab - Index' => __('Enable Auto Tab - Index', 'fluentform'),
678
+ 'Auto Tab - Index' => __('Auto Tab - Index', 'fluentform'),
679
+ 'If you enable this, then fluent forms will tabindex to form fields automatically.' => __('If you enable this, then fluent forms will tabindex to form fields automatically.', 'fluentform'),
680
+ 'Geo-Location provider' => __('Geo-Location provider', 'fluentform'),
681
+ 'If you use advanced phone field and enable auto country ditect then may configure this.' => __('If you use advanced phone field and enable auto country ditect then may configure this.', 'fluentform'),
682
+ 'GEO API Token' => __('GEO API Token', 'fluentform'),
683
+ 'File Upload Location' => __('File Upload Location', 'fluentform'),
684
+ 'Select where to store uploaded files.' => __('Select where to store uploaded files.', 'fluentform'),
685
+ 'Autoload Captcha' => __('Autoload Captcha', 'fluentform'),
686
+ 'Captcha Autoload' => __('Captcha Autoload', 'fluentform'),
687
+ 'If you enable this then Fluent Forms will insert captcha in all your forms.Please enable the captcha first.' => __('If you enable this then Fluent Forms will insert captcha in all your forms.Please enable the captcha first.', 'fluentform'),
688
+ 'Google ReCaptcha' => __('Google ReCaptcha', 'fluentform'),
689
+ 'hCaptcha' => __('hCaptcha', 'fluentform'),
690
+ 'Top aligned' => __('Top aligned', 'fluentform'),
691
+ 'Left aligned' => __('Left aligned', 'fluentform'),
692
+ 'Right aligned' => __('Right aligned', 'fluentform'),
693
+ 'Beside Label as Tooltip' => __('Beside Label as Tooltip', 'fluentform'),
694
+ 'Below Input Box' => __('Below Input Box', 'fluentform'),
695
+ 'Show error messages after each input' => __('Show error messages after each input', 'fluentform'),
696
+ 'Show all error messages after submit button as stack' => __('Show all error messages after submit button as stack', 'fluentform'),
697
+ 'Monday' => __('Monday', 'fluentform'),
698
+ 'Tuesday' => __('Tuesday', 'fluentform'),
699
+ 'Wednesday' => __('Wednesday', 'fluentform'),
700
+ 'Thursday' => __('Thursday', 'fluentform'),
701
+ 'Friday' => __('Friday', 'fluentform'),
702
+ 'Saturday' => __('Saturday', 'fluentform'),
703
+ 'Sunday' => __('Sunday', 'fluentform'),
704
+ 'If you have much more visitor for your phone field form then you may add an API token. It will work even if you do not use a token' => __('If you have much more visitor for your phone field form then you may add an API token. It will work even if you do not use a token', 'fluentform'),
705
+ 'Same Page' => __('Same Page', 'fluentform'),
706
+ 'To a Page' => __('To a Page', 'fluentform'),
707
+ 'To a Custom URL' => __('To a Custom URL', 'fluentform'),
708
+ 'Submission Starts' => __('Submission Starts', 'fluentform'),
709
+ 'Submission Ends' => __('Submission Ends', 'fluentform'),
710
+ 'Total Entries' => __('Total Entries', 'fluentform'),
711
+ 'Per Day' => __('Per Day', 'fluentform'),
712
+ 'Per Week' => __('Per Week', 'fluentform'),
713
+ 'Per Month' => __('Per Month', 'fluentform'),
714
+ 'Per Year' => __('Per Year', 'fluentform'),
715
+ 'Per User (IP Address Based)' => __('Per User (IP Address Based)', 'fluentform'),
716
+ 'Per User (Logged in ID based)' => __('Per User (Logged in ID based)', 'fluentform'),
717
+ 'Today' => __('Today', 'fluentform'),
718
+ 'Yesterday' => __('Yesterday', 'fluentform'),
719
+ 'A week ago' => __('A week ago', 'fluentform'),
720
+ 'All Data' => __('All Data', 'fluentform'),
721
+ 'All Data Without Hidden Fields' => __('All Data Without Hidden Fields', 'fluentform'),
722
+ 'Enabled Advanced Form Validation' => __('Enabled Advanced Form Validation', 'fluentform'),
723
+ 'Proceed/Fail form submission if' => __('Proceed/Fail form submission if', 'fluentform'),
724
+ 'Fail the submission if conditions met' => __('Fail the submission if conditions met', 'fluentform'),
725
+ 'Let Submit the form if conditions are met' => __('Let Submit the form if conditions are met', 'fluentform'),
726
+ 'Looks like you do not have latest version of Fluent Forms Pro Installed. Please install latest version of Fluent Forms Pro to use this feature' => __('Looks like you do not have latest version of Fluent Forms Pro Installed. Please install latest version of Fluent Forms Pro to use this feature', 'fluentform'),
727
+ 'Thank you for your message. We will get in touch with you shortly' => __('Thank you for your message. We will get in touch with you shortly', 'fluentform'),
728
+ 'Successfully removed the confirmation.' => __('Successfully removed the confirmation.', 'fluentform'),
729
+ 'Successfully saved the confirmation.' => __('Successfully saved the confirmation.', 'fluentform'),
730
+ 'Something is wrong when doing ajax request! Please try again' => __('Something is wrong when doing ajax request! Please try again', 'fluentform'),
731
+ 'Top' => __('Top', 'fluentform'),
732
+ 'Left' => __('Left', 'fluentform'),
733
+ 'Right' => __('Right', 'fluentform'),
734
+ 'Beside Label (Tooltip)' => __('Beside Label (Tooltip)', 'fluentform'),
735
+ 'Below Input Fields' => __('Below Input Fields', 'fluentform'),
736
+ 'Focus on Element' => __('Focus on Element', 'fluentform'),
737
+ 'Before input' => __('Before input', 'fluentform'),
738
+ 'Stacked after Form' => __('Stacked after Form', 'fluentform'),
739
+ 'Left to Label' => __('Left to Label', 'fluentform'),
740
+ 'Right to Label' => __('Right to Label', 'fluentform'),
741
+ 'Maximum number of entries exceeded.' => __('Maximum number of entries exceeded.', 'fluentform'),
742
+ 'Form submission is not started yet.' => __('Form submission is not started yet.', 'fluentform'),
743
+ 'Form submission is now closed.' => __('Form submission is now closed.', 'fluentform'),
744
+ 'You must be logged in to submit the form.' => __('You must be logged in to submit the form.', 'fluentform'),
745
+ 'Sorry, you cannot submit an empty form. Let\'s hear what you wanna say.' => __('Sorry, you cannot submit an empty form. Let\'s hear what you wanna say.', 'fluentform'),
746
+ 'Successfully removed the notification.' => __('Successfully removed the notification.', 'fluentform'),
747
+ 'Feed name is required.' => __('Feed name is required.', 'fluentform'),
748
+ 'ACF Plugin Mapping' => __('ACF Plugin Mapping', 'fluentform'),
749
+ 'ACF Field' => __('ACF Field', 'fluentform'),
750
+ 'Form Field (Value)' => __('Form Field (Value)', 'fluentform'),
751
+ 'MetaBox (MB) Plugin Mapping' => __('MetaBox (MB) Plugin Mapping', 'fluentform'),
752
+ 'MetaBox (MB) Field' => __('MetaBox (MB) Field', 'fluentform'),
753
+ 'Successfully deleted the feed.' => __('Successfully deleted the feed.', 'fluentform'),
754
+ 'enabled' => __('enabled', 'fluentform'),
755
+ 'disabled' => __('disabled', 'fluentform'),
756
+ 'Successfully ' => __('Successfully ', 'fluentform'),
757
+ ' the feed.' => __(' the feed', 'fluentform'),
758
+ 'Equal' => __('Equal', 'fluentform'),
759
+ 'Includes Any' => __('Includes Any', 'fluentform'),
760
+ 'Includes All' => __('Includes All', 'fluentform'),
761
+ 'Not Includes' => __('Not Includes', 'fluentform'),
762
+ 'Notification ' => __('Notification ', 'fluentform'),
763
+ ' successfully!' => __(' successfully', 'fluentform'),
764
+ 'End of page' => __('End of page', 'fluentform'),
765
+ 'PAGE BREAK' => __('PAGE BREAK', 'fluentform'),
766
+ 'Top of new page' => __('Top of new page', 'fluentform'),
767
+ 'Price: $' => __('Price: $', 'fluentform'),
768
+ 'Item 1' => __('Item 1', 'fluentform'),
769
+ 'Item 2' => __('Item 2', 'fluentform'),
770
+ 'Item 3' => __('Item 3', 'fluentform'),
771
+ 'press ' => __('press ', 'fluentform'),
772
+ 'Enter ↵' => __('Enter ↵', 'fluentform'),
773
+ 'Add Shortcodes' => __('Add Shortcodes', 'fluentform'),
774
+ 'Resend Email Notification' => __('Resend Email Notification', 'fluentform'),
775
+ 'Active' => __('Active', 'fluentform'),
776
+ 'Inactive' => __('Inactive', 'fluentform'),
777
+ 'Payment Form' => __('Payment Form', 'fluentform'),
778
+ 'Post Form' => __('Post Form', 'fluentform'),
779
+ 'Step Form' => __('Step Form', 'fluentform'),
780
+ 'Something went wrong, please try again.' => __('Something went wrong, please try again.', 'fluentform'),
781
+ 'Copied to Clipboard!' => __('Copied to Clipboard!', 'fluentform'),
782
+ 'Opps, No selected columns found to display' => __('Opps, No selected columns found to display', 'fluentform'),
783
+ 'Reset' => __('Reset', 'fluentform'),
784
+ 'Save' => __('Save', 'fluentform'),
785
+ 'Oops!' => __('Oops!', 'fluentform'),
786
+ 'Something went wrong, please try again' => __('Something went wrong, please try again', 'fluentform'),
787
+ 'Remove from Favorite' => __('Remove from Favorite', 'fluentform'),
788
+ 'Delete Permanently' => __('Delete Permanently', 'fluentform'),
789
+ 'Entry has been restored' => __('Entry has been restored', 'fluentform'),
790
+ 'You can not insert a container into another.' => __('You can not insert a container into another.', 'fluentform'),
791
+ 'Your Form Name' => __('Your Form Name', 'fluentform'),
792
+ 'Creating Form...' => __('Creating Form...', 'fluentform'),
793
+ 'Add Form' => __('Add Form', 'fluentform'),
794
+ 'Confirmation' => __('Confirmation', 'fluentform'),
795
+ 'Are you sure you want to delete this field?' => __('Are you sure you want to delete this field?', 'fluentform'),
796
+ 'Select Post Type' => __('Select Post Type', 'fluentform'),
797
+ 'Continue' => __('Continue', 'fluentform'),
798
+ 'Creating Form, Please wait...' => __('Creating Form, Please wait...', 'fluentform'),
799
+ 'Choose a pre - made form template or' => __('Choose a pre - made form template or', 'fluentform'),
800
+ 'create a blank form' => __('create a blank form', 'fluentform'),
801
+ 'Category' => __('Category', 'fluentform'),
802
+ 'Search Form' => __('Search Form', 'fluentform'),
803
+ 'Working...' => __('Working...', 'fluentform'),
804
+ 'Create Form' => __('Create Form', 'fluentform'),
805
+ 'Create a Post Form' => __('Create a Post Form', 'fluentform'),
806
+ 'Create a Blank Form' => __('Create a Blank Form', 'fluentform'),
807
+ 'This form required pro add-on of fluentform. Please install pro add-on' => __('This form required pro add-on of fluentform. Please install pro add-on', 'fluentform'),
808
+ 'Select a form to view it\'s entries' => __('Select a form to view it\'s entries', 'fluentform'),
809
+ 'Select form' => __('Select form', 'fluentform'),
810
+ 'Select a Form' => __('Select a Form', 'fluentform'),
811
+ 'Secret Key' => __('Secret Key', 'fluentform'),
812
+ 'hCaptcha Secret Key' => __('hCaptcha Secret Key', 'fluentform'),
813
+ 'Enter your hCaptcha Secret Key, if you do not have ' => __('Enter your hCaptcha Secret Key, if you do not have ', 'fluentform'),
814
+ 'Validate Keys' => __('Validate Keys', 'fluentform'),
815
+ 'Clear Settings' => __('Clear Settings', 'fluentform'),
816
+ 'Missing required fields.' => __('Missing required fields.', 'fluentform'),
817
+ 'Global settings save error, please reload.' => __('Global settings save error, please reload.', 'fluentform'),
818
+ 'Global settings fetch error, please reload.' => __('Global settings fetch error, please reload.', 'fluentform'),
819
+ 'These Settings will be used as default settings of a new form.' => __('These Settings will be used as default settings of a new form.', 'fluentform'),
820
+ 'You can customize layout settings for each page from form\'s settings page' => __('You can customize layout settings for each page from form\'s settings page', 'fluentform'),
821
+ 'Something went wrong.' => __('Something went wrong.', 'fluentform'),
822
+ 'invalid page number' => __('invalid page number', 'fluentform'),
823
+ 'Form Messages' => __('Form Messages', 'fluentform'),
824
+ );
825
+
826
+ return apply_filters('fluentform/admin_i18n', $i18n);
827
+ }
828
+
829
+ public static function getGlobalSettingsI18n()
830
+ {
831
+ $i18n = array(
832
+ 'Managers' => __('Managers', 'fluentform'),
833
+ 'Add Manager' => __('Add Manager', 'fluentform'),
834
+ 'Global Layout Settings' => __('Global Layout Settings', 'fluentform'),
835
+ 'Administrators have full access to Fluent Forms.Add other managers giving specific permissions.' => __('Administrators have full access to Fluent Forms.Add other managers giving specific permissions.', 'fluentform'),
836
+ 'User Email' => __('User Email', 'fluentform'),
837
+ 'User Email Address' => __('User Email Address', 'fluentform'),
838
+ 'Please provide email address of your existing user.' => __('Please provide email address of your existing user.', 'fluentform'),
839
+ 'Permissions' => __('Permissions', 'fluentform'),
840
+ 'Administrators have full access to Fluent Forms.By selecting additional roles bellow, you can give access to other user roles.' => __('Administrators have full access to Fluent Forms.By selecting additional roles bellow, you can give access to other user roles.', 'fluentform'),
841
+ 'Check all' => __('Check all', 'fluentform'),
842
+ 'Global Double Optin Settings' => __('Global Double Optin Settings', 'fluentform'),
843
+ 'Double Optin Settings' => __('Double Optin Settings', 'fluentform'),
844
+ 'Configure email confirmation / double optin for form form submissions.' => __('Configure email confirmation / double optin for form form submissions.', 'fluentform'),
845
+ 'This is a global settings. After configure this, You can enable in form settings for a specific form.' => __('This is a global settings. After configure this, You can enable in form settings for a specific form.', 'fluentform'),
846
+ 'Enable Double Optin Module' => __('Enable Double Optin Module', 'fluentform'),
847
+ 'Global Email Subject' => __('Global Email Subject', 'fluentform'),
848
+ 'Email Subject for double optin email.' => __('Email Subject for double optin email.', 'fluentform'),
849
+ 'Global Optin Email Body' => __('Global Optin Email Body', 'fluentform'),
850
+ 'Enter the name you would like the notification email sent from' => __('Enter the name you would like the notification email sent from', 'fluentform'),
851
+ 'It will only be visible in the email if "From Email" value is available' => __('It will only be visible in the email if "From Email" value is available', 'fluentform'),
852
+ 'notification email sent from.' => __('notification email sent from.', 'fluentform'),
853
+ 'Reply To Email' => __('Reply To Email', 'fluentform'),
854
+ 'Automatically delete unconfirmed entries if not confirmed in certain days' => __('Automatically delete unconfirmed entries if not confirmed in certain days', 'fluentform'),
855
+ 'Waiting Days' => __('Waiting Days', 'fluentform'),
856
+ 'How many days, it will wait before deleting the unconfirmed entries' => __('How many days, it will wait before deleting the unconfirmed entries', 'fluentform'),
857
+ 'This is a pro feature.Please upgrade to pro to enable this feature' => __('This is a pro feature.Please upgrade to pro to enable this feature', 'fluentform'),
858
+ 'Please update Fluent Forms Pro Addon to latest version' => __('Please update Fluent Forms Pro Addon to latest version ', 'fluentform'),
859
+ 'Verify Connection Again' => __('Verify Connection Again', 'fluentform'),
860
+ 'hCaptcha Settings' => __('hCaptcha Settings', 'fluentform'),
861
+ 'Fluent Forms integrates with hCaptcha, a free service that protects your website from spam and abuse.Please note, these settings are required only if you decide to use the hCaptcha field.' => __('Fluent Forms integrates with hCaptcha, a free service that protects your website from spam and abuse.Please note, these settings are required only if you decide to use the hCaptcha field.', 'fluentform'),
862
+ 'Read more about hCaptcha.' => __('Read more about hCaptcha.', 'fluentform'),
863
+ 'Please generate API key and API secret using hCaptcha' => __('Please generate API key and API secret using hCaptcha', 'fluentform'),
864
+ 'Site Key' => __('Site Key', 'fluentform'),
865
+ 'hCaptcha Site Key' => __('hCaptcha Site Key', 'fluentform'),
866
+ 'Enter your hCaptcha Site Key, if you do not have ' => __('Enter your hCaptcha Site Key, if you do not have ', 'fluentform'),
867
+ 'a key you can register for one at the provided link.' => __('a key you can register for one at the provided link.', 'fluentform'),
868
+ 'hCaptcha is a free service.' => __('hCaptcha is a free service.', 'fluentform'),
869
+ 'Validate Keys' => __('Validate Keys', 'fluentform'),
870
+ 'Clear Settings' => __('Clear Settings', 'fluentform'),
871
+ 'Save Settings' => __('Save Settings', 'fluentform'),
872
+ 'Your hCaptcha is valid' => __('Your hCaptcha is valid', 'fluentform'),
873
+ 'Role Based' => __('Role Based', 'fluentform'),
874
+ 'Advanced' => __('Advanced', 'fluentform'),
875
+ 'Advanced form' => __('Advanced form', 'fluentform'),
876
+ 'Global PDF Settings' => __('Global PDF Settings', 'fluentform'),
877
+ 'This global settings will be set as default for your new PDF feed for any form.Then you can customize for a specific PDF generator feed' => __('This global settings will be set as default for your new PDF feed for any form.Then you can customize for a specific PDF generator feed', 'fluentform'),
878
+ 'Google reCAPTCHA Settings' => __('Google reCAPTCHA Settings', 'fluentform'),
879
+ 'Fluent Forms integrates with reCAPTCHA, a free service that protects your website from spam and abuse. Please note, these settings are required only if you decide to use the reCAPTCHA field.' => __('Fluent Forms integrates with reCAPTCHA, a free service that protects your website from spam and abuse. Please note, these settings are required only if you decide to use the reCAPTCHA field.', 'fluentform'),
880
+ 'Read more about reCAPTCHA.' => __('Read more about reCAPTCHA.', 'fluentform'),
881
+ 'Please generate API key and API secret using reCAPTCHA' => __('Please generate API key and API secret using reCAPTCHA', 'fluentform'),
882
+ 'reCAPTCHA Version' => __('reCAPTCHA Version', 'fluentform'),
883
+ 'Please select which reCAPTCHA version you would like to use' => __('Please select which reCAPTCHA version you would like to use', 'fluentform'),
884
+ 'Version 2(Visible reCAPTCHA)' => __('Version 2(Visible reCAPTCHA)', 'fluentform'),
885
+ 'Version 3(Invisible reCAPTCHA)' => __('Version 3(Invisible reCAPTCHA)', 'fluentform'),
886
+ 'reCAPTCHA Site Key' => __('reCAPTCHA Site Key', 'fluentform'),
887
+ 'Enter your reCAPTCHA Site Key, if you do not have' => __('Enter your hCaptcha Site Key, if you do not have', 'fluentform'),
888
+ 'reCAPTCHA is a free service.' => __('reCAPTCHA is a free service.', 'fluentform'),
889
+ 'reCAPTCHA Secret Key' => __('reCAPTCHA Secret Key', 'fluentform'),
890
+ 'Enter your reCAPTCHA Secret Key, if you do not have' => __('Enter your hCaptcha Site Key, if you do not have', 'fluentform'),
891
+ 'Your reCAPTCHA is valid' => __('Your reCAPTCHA is valid', 'fluentform'),
892
+ );
893
+
894
+ return apply_filters('fluentform/global_settings_i18n', $i18n);
895
+ }
896
+
897
+ public static function getEditorI18n()
898
+ {
899
+ $i18n = array(
900
+ 'PAGING START' => __('PAGING START', 'fluentform'),
901
+ 'Click to configure your step settings' => __('Click to configure your step settings', 'fluentform'),
902
+ 'Video Instruction' => __('Video Instruction', 'fluentform'),
903
+ 'How to create a form' => __('How to create a form', 'fluentform'),
904
+ 'Close' => __('Close', 'fluentform'),
905
+ 'End of last page' => __('End of last page', 'fluentform'),
906
+ 'PAGING END' => __('PAGING END', 'fluentform'),
907
+ 'Input Fields' => __('Input Fields', 'fluentform'),
908
+ 'Input Customization' => __('Input Customization', 'fluentform'),
909
+ 'Loading Awesomeness...' => __('Loading Awesomeness...', 'fluentform'),
910
+ 'Search (name, address)...' => __('Search (name, address)', 'fluentform'),
911
+ 'Post Fields' => __('Post Fields', 'fluentform'),
912
+ 'Taxonomy Fields' => __('Taxonomy Fields', 'fluentform'),
913
+ 'General Fields' => __('General Fields', 'fluentform'),
914
+ 'Advanced Fields' => __('Advanced Fields', 'fluentform'),
915
+ 'Container' => __('Container', 'fluentform'),
916
+ 'Payment Fields' => __('Payment Fields', 'fluentform'),
917
+ 'Advanced Options' => __('Advanced Options', 'fluentform'),
918
+ 'Conditional Logic on conversational form available only in Pro version. To use conditional logic please upgrade to pro' => __('Conditional Logic on conversational form available only in Pro version. To use conditional logic please upgrade to pro', 'fluentform'),
919
+ 'Get Fluent Forms Pro' => __('Get Fluent Forms Pro', 'fluentform'),
920
+ 'Layout Settings' => __('Layout Settings', 'fluentform'),
921
+ 'Convert to Conversational Forms' => __('Convert to Conversational Forms', 'fluentform'),
922
+ 'This process is irreversible.' => __('This process is irreversible.', 'fluentform'),
923
+ 'Are you sure?' => __('Are you sure?', 'fluentform'),
924
+ 'Conversational Forms currently doesn\'t support the following fields:' => __('Conversational Forms currently doesn\'t support the following fields', 'fluentform'),
925
+ 'You may also lose data of these fields.' => __('You may lose data of these fields.', 'fluentform'),
926
+ 'Cancel' => __('Cancel', 'fluentform'),
927
+ 'Convert' => __('Convert', 'fluentform'),
928
+ 'Rename Form' => __('Rename Form', 'fluentform'),
929
+ 'Your Form Title' => __('Your Form Title', 'fluentform'),
930
+ 'Awesome Form' => __('Awesome Form', 'fluentform'),
931
+ 'Renaming Form...' => __('Renaming Form...', 'fluentform'),
932
+ 'Rename' => __('Rename', 'fluentform'),
933
+ 'Field disabled' => __('Field disabled', 'fluentform'),
934
+ 'Accept Payment online as part of the Forms submission process.With Fluent Forms Powerful payment integration, you can easily accept and process payments in your Fluent Forms via Stripe / PayPal.Payment Module is available on Pro Version.' => __('Accept Payment online as part of the Forms submission process.With Fluent Forms Powerful payment integration, you can easily accept and process payments in your Fluent Forms via Stripe / PayPal.Payment Module is available on Pro Version.', 'fluentform'),
935
+ 'This field is only available on pro add - on' => __('This field is only available on pro add - on', 'fluentform'),
936
+ 'Upgrade to Pro Now' => __('Upgrade to Pro Now', 'fluentform'),
937
+ 'Search for a block' => __('Search for a block', 'fluentform'),
938
+ 'recent' => __('recent', 'fluentform'),
939
+ 'general' => __('general', 'fluentform'),
940
+ 'advanced' => __('advanced', 'fluentform'),
941
+ 'container' => __('container', 'fluentform'),
942
+ 'Please enter a valid API key on FluentForms->Settings->reCaptcha' => __('Please enter a valid API key on FluentForms->Settings', 'fluentform'),
943
+ 'Please enter a valid API key on FluentForms->Settings->hCaptcha' => __('Please enter a valid API key on FluentForms->Settings->hCaptcha', 'fluentform'),
944
+ 'View Calculation Documentation' => __('View Calculation Documentation', 'fluentform'),
945
+ 'Custom Mask Help' => __('Custom Mask Help', 'fluentform'),
946
+ 'Usage' => __('Usage', 'fluentform'),
947
+ "Use a '0' to indicate a numerical character." => __("Use a '0' to indicate a numerical character.", 'fluentform'),
948
+ "Use a upper case 'A' to indicate an alphabetical and numeric characters." => __("Use a upper case 'A' to indicate an alphabetical and numeric characters.", 'fluentform'),
949
+ "Use a upper case 'S' to indicate an alphabetical characters." => __("Use a upper case 'S' to indicate an alphabetical characters.", 'fluentform'),
950
+ "Use an asterisk '*' to indicate any alphanumeric character." => __("Use an asterisk '*' to indicate any alphanumeric character.", 'fluentform'),
951
+ "All other characters are literal values and will be displayed automatically." => __("All other characters are literal values and will be displayed automatically.", 'fluentform'),
952
+ 'View More information about ' => __('View More information about ', 'fluentform'),
953
+ 'Mask Library' => __('Mask Library', 'fluentform'),
954
+ 'Show Values' => __('Show Values', 'fluentform'),
955
+ 'Label' => __('Label', 'fluentform'),
956
+ 'Placeholder' => __('Placeholder', 'fluentform'),
957
+ 'Autocomplete Feature' => __('Autocomplete Feature', 'fluentform'),
958
+ 'Enable Autocomplete(Google Map)' => __('Enable Autocomplete(Google Map)', 'fluentform'),
959
+ 'Show Map' => __('Show Map', 'fluentform'),
960
+ 'Clear Selection' => __('Clear Selection', 'fluentform'),
961
+ 'Enable Map(Google Map)' => __('Enable Map(Google Map)', 'fluentform'),
962
+ 'Auto locate' => __('Auto locate', 'fluentform'),
963
+ 'When map is enabled Please enable Geocoding API if you want to populate address after map marker drag end' => __('When map is enabled Please enable Geocoding API if you want to populate address after map marker drag end', 'fluentform'),
964
+ 'Page Load' => __('Page Load', 'fluentform'),
965
+ 'On Click' => __('On Click', 'fluentform'),
966
+ 'Disable' => __('Disable', 'fluentform'),
967
+ 'None' => __('None', 'fluentform'),
968
+ 'Show all' => __('Show All', 'fluentform'),
969
+ 'Hide these' => __('Hide these', 'fluentform'),
970
+ 'Only show these' => __('Only show these', 'fluentform'),
971
+ 'Priority Based' => __('Priority Based', 'fluentform'),
972
+ 'Select' => __('Select', 'fluentform'),
973
+ 'You can use smart code for payment specific dynamic data:' => __('You can use smart code for payment specific dynamic data:', 'fluentform'),
974
+ ': to show the cart summary' => __(': to show the cart summary', 'fluentform'),
975
+ ': to display total payment amount' => __(': to display the total payment amount', 'fluentform'),
976
+ 'Dynamic SmartCodes' => __('Dynamic SmartCodes', 'fluentform'),
977
+ ': to show data from any input' => __(': to show the data from any input', 'fluentform'),
978
+ 'Primary Countries Label' => __('Primary Countries Label', 'fluentform'),
979
+ 'Other Countries Label' => __('Other Countries Label', 'fluentform'),
980
+ 'Bulk Edit' => __('Bulk Edit', 'fluentform'),
981
+ 'Edit your options' => __('Edit your options', 'fluentform'),
982
+ 'Please provide the value as LABEL:VALUE as each line.' => __('Please provider the value as LABEL:VALUE as each line.', 'fluentform'),
983
+ 'You can simply give value only the system will convert the label as value' => __('You can simply give value only the system will convert the label as value', 'fluentform'),
984
+ 'Confirm' => __('Confirm', 'fluentform'),
985
+ 'Calc Values' => __('Calc Values', 'fluentform'),
986
+ 'Photo' => __('Photo', 'fluentform'),
987
+ 'label' => __('label', 'fluentform'),
988
+ 'value' => __('value', 'fluentform'),
989
+ 'calc value' => __('calc value', 'fluentform'),
990
+ 'Bulk Edit / Predefined Data Sets' => __('Bulk Edit / Predefined Data Sets', 'fluentform'),
991
+ 'Please provide the value as LABEL:VALUE as each line or select from predefined data sets' => __('Please provide the value as LABEL:VALUE as each line or select from predefined data sets', 'fluentform'),
992
+ 'Product Display Type' => __('Product Display Type', 'fluentform'),
993
+ 'Select which display type you want for your payment item. Please provide valid number only' => __('Select which display type you want for your payment item. Please provide valid number only', 'fluentform'),
994
+ 'Single Item' => __('Single Item', 'fluentform'),
995
+ 'Radio Selection' => __('Radio Selection', 'fluentform'),
996
+ 'Checkbox Selections' => __('Checkbox Selections', 'fluentform'),
997
+ 'Select Fields' => __('Select Fields', 'fluentform'),
998
+ 'Payment Amount' => __('Payment Amount', 'fluentform'),
999
+ 'Please Provide the payment amount. Max 2 decimal point is excepted' => __('Please provide the payment amount. Max 2 decimal point is excepted', 'fluentform'),
1000
+ 'Amount Label' => __('Amount Label', 'fluentform'),
1001
+ 'Please Provide the Amount Label' => __('Please Provide the Amount Label', 'fluentform'),
1002
+ 'Price' => __('Price', 'fluentform'),
1003
+ 'Item Short Description' => __('Item Short Description', 'fluentform'),
1004
+ 'Subscription Type' => __('Subscription Type', 'fluentform'),
1005
+ 'Select your subscription plan type' => __('Select your subscription plan type', 'fluentform'),
1006
+ 'Single Recurring Plan' => __('Single Recurring Plan', 'fluentform'),
1007
+ 'Multiple Pricing Plans' => __('Multiple Pricing Plans', 'fluentform'),
1008
+ 'Plan Display Type' => __('Plan Display Type', 'fluentform'),
1009
+ 'Select how you want to display the plan options' => __('Select how you want to display the plan options', 'fluentform'),
1010
+ 'Radio input field' => __('Radio input field', 'fluentform'),
1011
+ 'Select input field' => __('Select input field', 'fluentform'),
1012
+ 'Pricing Plans' => __('Pricing Plans', 'fluentform'),
1013
+ 'Plan Name' => __('Plan Name', 'fluentform'),
1014
+ 'Enable User Input Amount' => __('Enable User Input Amount', 'fluentform'),
1015
+ 'Billing Interval' => __('Billing Interval', 'fluentform'),
1016
+ 'User Input Amount label' => __('User Input Amount label', 'fluentform'),
1017
+ 'ex: Please Provide amount/interval' => __('ex: Please Provide amount/interval', 'fluentform'),
1018
+ 'Minimum Amount' => __('Minimum Amount', 'fluentform'),
1019
+ 'Default Amount' => __('Default Amount', 'fluentform'),
1020
+ 'Has Signup Fee?' => __('Has Signup Fee?', 'fluentform'),
1021
+ 'Signup Fee' => __('Signup Fee', 'fluentform'),
1022
+ 'Has Trial Days? (in days)' => __('Has Trial Days? (in days)', 'fluentform'),
1023
+ 'Trial Days' => __('Trial Days', 'fluentform'),
1024
+ 'Total Billing times' => __('Total Billing times', 'fluentform'),
1025
+ 'times' => __('times', 'fluentform'),
1026
+ 'Keep blank or 0 for billing unlimited period of times' => __('Keep blank or 0 for billing unlimited period of times', 'fluentform'),
1027
+ 'Add New Plan' => __('Add New Plan', 'fluentform'),
1028
+ 'Default' => __('Default', 'fluentform'),
1029
+ 'Images' => __('Images', 'fluentform'),
1030
+ 'Select Date Format' => __('Select Date Format', 'fluentform'),
1031
+ 'Normal State' => __('Normal State', 'fluentform'),
1032
+ 'Hover State' => __('Hover State', 'fluentform'),
1033
+ 'Background Color' => __('Background Color', 'fluentform'),
1034
+ 'Button Background Color' => __('Button Background Color', 'fluentform'),
1035
+ 'Text Color' => __('Text Color', 'fluentform'),
1036
+ 'Button Text Color' => __('Button Text Color', 'fluentform'),
1037
+ 'Border Color' => __('Border Color', 'fluentform'),
1038
+ 'Button Border Color' => __('Button Border Color', 'fluentform'),
1039
+ 'Border Radius (px)' => __('Border Radius (px)', 'fluentform'),
1040
+ 'Button Border Radius' => __('Button Border Radius', 'fluentform'),
1041
+ 'Min-Width' => __('Min-Width', 'fluentform'),
1042
+ 'Button Min-Width (Keep blank/0 for auto)' => __('Button Min-Width (Keep blank/0 for auto)', 'fluentform'),
1043
+ 'ex: 100%' => __('ex: 100%', 'fluentform'),
1044
+ 'An option for developers to add dynamic elements they want.It provides the chance to add whatever input type you want to add in this form.This way, you can bind your own functions to render the form to this action hook.You\'ll be given 1 parameter to play with: $form.' => __('An option for developers to add dynamic elements they want.It provides the chance to add whatever input type you want to add in this form.This way, you can bind your own functions to render the form to this action hook.You\'ll be given 1 parameter to play with: $form.', 'fluentform'),
1045
+ 'Error Message' => __('Error Message', 'fluentform'),
1046
+ 'This message will be shown if validation fails for' => __('This message will be shown if validation fails for', 'fluentform'),
1047
+ 'Step' => __('Step', 'fluentform'),
1048
+ 'Yes' => __('Yes', 'fluentform'),
1049
+ 'No' => __('No', 'fluentform'),
1050
+ 'Condition Match' => __('Condition Match', 'fluentform'),
1051
+ 'Select to match whether all rules are required or any. if the match success then the field will be shown' => __('Select to match whether all rules are required or any. if the match success then the field will be shown', 'fluentform'),
1052
+ 'any' => __('any', 'fluentform'),
1053
+ 'all' => __('all', 'fluentform'),
1054
+ 'Any' => __('Any', 'fluentform'),
1055
+ 'equal' => __('equal', 'fluentform'),
1056
+ 'not equal' => __('not equal', 'fluentform'),
1057
+ 'greater than' => __('greater than', 'fluentform'),
1058
+ 'less than' => __('less than', 'fluentform'),
1059
+ 'greater than or equal' => __('greater than or equal', 'fluentform'),
1060
+ 'less than or equal' => __('less than or equal', 'fluentform'),
1061
+ 'includes' => __('includes', 'fluentform'),
1062
+ 'not includes' => __('not includes', 'fluentform'),
1063
+ 'starts with' => __('starts with', 'fluentform'),
1064
+ 'ends with' => __('ends with', 'fluentform'),
1065
+ 'Regex match' => __('Regex match', 'fluentform'),
1066
+ 'You have to have at least one item here.' => __('You have to have at least one item here.', 'fluentform'),
1067
+ 'Field Type' => __('Field Type', 'fluentform'),
1068
+ 'Disable Quantity' => __('Disable Quantity', 'fluentform'),
1069
+ 'File Upload' => __('File Upload', 'fluentform'),
1070
+ 'Remote URL' => __('Remote URL', 'fluentform'),
1071
+ 'Drop file here or' => __('Drop file here or', 'fluentform'),
1072
+ ' click to upload' => __(' click to upload', 'fluentform'),
1073
+ 'Please input a remote csv url...' => __('Please input a remote csv url...', 'fluentform'),
1074
+ 'Fetch' => __('Fetch', 'fluentform'),
1075
+ 'Clear Data Source' => __('Clear Data Source', 'fluentform'),
1076
+ 'Download Sample CSV' => __('Download Sample CSV', 'fluentform'),
1077
+ 'No Active Payment Method Found.Please configure from Fluent Forms Settings' => __('No Active Payment Method Found. Please configure from Fluent Forms Settings', 'fluentform'),
1078
+ 'Layout Type' => __('Layout Type', 'fluentform')
1079
+ );
1080
+
1081
+ return apply_filters('fluentform/editor_i18n', $i18n);
1082
+ }
1083
+
1084
+ public static function getEntriesI18n()
1085
+ {
1086
+ $i18n = array(
1087
+ 'Entries' => __('Entries', 'fluentform'),
1088
+ 'All Types' => __('All Types', 'fluentform'),
1089
+ 'All Payments' => __('All Payments', 'fluentform'),
1090
+ 'View Visual Report' => __('View Visual Report', 'fluentform'),
1091
+ 'Columns' => __('Columns', 'fluentform'),
1092
+ 'Reorder Column' => __('Reorder Column', 'fluentform'),
1093
+ 'Change Column Display Order' => __('Change Column Display Order', 'fluentform'),
1094
+ 'Auto delete entry on form submission is enabled! No new entry data will be saved for this form.' => __('Auto delete entry on form submission is enabled! No new entry data will be saved for this form.', 'fluentform'),
1095
+ 'You can disable the auto delete option from Settings & Integrations Tab' => __('You can disable the auto delete option from Settings & Integrations Tab', 'fluentform'),
1096
+ 'Loading Entries...' => __('Loading Entries...', 'fluentform'),
1097
+ 'Select bulk action' => __('Select bulk action', 'fluentform'),
1098
+ 'Apply' => __('Apply', 'fluentform'),
1099
+ 'Search Entry' => __('Search Entry', 'fluentform'),
1100
+ 'Search' => __('Search', 'fluentform'),
1101
+ 'Export' => __('Export', 'fluentform'),
1102
+ 'Export as' => __('Export as', 'fluentform'),
1103
+ 'Advanced Filter' => __('Advanced Filter', 'fluentform'),
1104
+ 'Filter By Date Range' => __('Filter By Date Range', 'fluentform'),
1105
+ 'Start date' => __('Start date', 'fluentform'),
1106
+ 'End date' => __('End date', 'fluentform'),
1107
+ 'Hide' => __('Hide', 'fluentform'),
1108
+ 'Favorites Entries only' => __('Favorites Entries only', 'fluentform'),
1109
+ 'Remove from Favorites' => __('Remove from Favorites', 'fluentform'),
1110
+ 'Mark as Favorites' => __('Mark as Favorites', 'fluentform'),
1111
+ 'Mark as Unread' => __('Mark as Unread', 'fluentform'),
1112
+ 'Mark as Read' => __('Mark as Read', 'fluentform'),
1113
+ 'Restore' => __('Restore', 'fluentform'),
1114
+ 'Show Favorites Entries only' => __('Show Favorites Entries only', 'fluentform'),
1115
+ 'Mark as Favorite' => __('Mark as Favorite', 'fluentform'),
1116
+ 'Amount' => __('Amount', 'fluentform'),
1117
+ 'Payment Status' => __('Payment Status', 'fluentform'),
1118
+ 'Payment Method' => __('Payment Method', 'fluentform'),
1119
+ 'Submitted at' => __('Submitted at', 'fluentform'),
1120
+ 'Actions' => __('Actions', 'fluentform'),
1121
+ 'Bulk Resend Notifications' => __('Bulk Resend Notifications', 'fluentform'),
1122
+ 'Compact View' => __('Compact View', 'fluentform'),
1123
+ 'Are you sure to delete this?' => __('Are you sure to delete this?', 'fluentform'),
1124
+ 'cancel' => __('cancel', 'fluentform'),
1125
+ 'confirm' => __('confirm', 'fluentform'),
1126
+ 'Resend Email Notification' => __('Resend Email Notification', 'fluentform'),
1127
+ 'Choose Email Notification' => __('Choose Email Notification', 'fluentform'),
1128
+ 'Notification' => __('Notification', 'fluentform'),
1129
+ 'Select Notification' => __('Select Notification', 'fluentform'),
1130
+ 'Send To' => __('Send To', 'fluentform'),
1131
+ 'Default Recipient' => __('Default Recipient', 'fluentform'),
1132
+ 'Custom Recipient' => __('Custom Recipient', 'fluentform'),
1133
+ 'Recipient' => __('Recipient', 'fluentform'),
1134
+ 'Please Type Recipient Email Address' => __('Please Type Recipient Email Address', 'fluentform'),
1135
+ 'Cancel' => __('Cancel', 'fluentform'),
1136
+ 'Resend this notification' => __('Resend this notification', 'fluentform'),
1137
+ 'This feature is available on pro version of fluent forms.' => __('This feature is available on pro version of fluent forms.', 'fluentform'),
1138
+ 'Buy Pro Now' => __('Buy Pro Now', 'fluentform'),
1139
+ 'Opps, No selected columns found to display' => __('Opps, No selected columns found to display', 'fluentform'),
1140
+ 'Reset' => __('Reset', 'fluentform'),
1141
+ 'Save' => __('Save', 'fluentform'),
1142
+ 'Back to Entries' => __('Back to Entries', 'fluentform'),
1143
+ 'Next' => __('Next', 'fluentform'),
1144
+ 'Previous' => __('Previous', 'fluentform'),
1145
+ 'Entry Details' => __('Entry Details', 'fluentform'),
1146
+ 'Form Entry Data' => __('Form Entry Data', 'fluentform'),
1147
+ 'Show empty fields' => __('Show empty fields', 'fluentform'),
1148
+ 'Submission Info' => __('Submission Info', 'fluentform'),
1149
+ 'Entity ID' => __('Entity ID', 'fluentform'),
1150
+ 'User IP' => __('User IP', 'fluentform'),
1151
+ 'Source URL' => __('Source URL', 'fluentform'),
1152
+ 'Browser' => __('Browser', 'fluentform'),
1153
+ 'Device' => __('Device', 'fluentform'),
1154
+ 'User' => __('User', 'fluentform'),
1155
+ 'Guest' => __('Guest', 'fluentform'),
1156
+ 'Status' => __('Status', 'fluentform'),
1157
+ 'Submitted On' => __('Submitted On', 'fluentform'),
1158
+ 'Edit' => __('Edit', 'fluentform'),
1159
+ 'Change status to' => __('Change status to', 'fluentform'),
1160
+ 'Edit Entry Data' => __('Edit Entry Data', 'fluentform'),
1161
+ 'Submission Notes' => __('Submission Notes', 'fluentform'),
1162
+ 'Add Note' => __('Add Note', 'fluentform'),
1163
+ 'Please Provide Note Content' => __('Please Provide Note Content', 'fluentform'),
1164
+ 'Submit Note' => __('Submit Note', 'fluentform'),
1165
+ 'Load More' => __('Load More', 'fluentform'),
1166
+ 'Show Less' => __('Show Less', 'fluentform'),
1167
+ 'No Notes found' => __('No Notes found', 'fluentform'),
1168
+ 'Submission Logs' => __('Submission Logs', 'fluentform'),
1169
+ 'General' => __('General', 'fluentform'),
1170
+ 'API Calls' => __('API Calls', 'fluentform'),
1171
+ 'in' => __('in', 'fluentform'),
1172
+ 'at' => __('at', 'fluentform'),
1173
+ 'No Logs found' => __('No Logs found', 'fluentform'),
1174
+ 'is Not Editable' => __('is Not Editable', 'fluentform'),
1175
+ 'Update Entry' => __('Update Entry', 'fluentform'),
1176
+ 'Entry editor is available on pro version.Please upgrade to pro' => __('Entry editor is available on pro version.Please upgrade to pro', 'fluentform'),
1177
+ 'Action' => __('Action', 'fluentform'),
1178
+ 'Add Item' => __('Add Item', 'fluentform'),
1179
+ 'Add Row' => __('Add Row', 'fluentform'),
1180
+ 'Provide File URL' => __('Provide File URL', 'fluentform'),
1181
+ 'Entry Actions' => __('Entry Actions', 'fluentform'),
1182
+ 'Choose an Action/Integration Feed and Replay' => __('Choose an Action/Integration Feed and Replay', 'fluentform'),
1183
+ 'Loading Feeds...' => __('Loading Feeds...', 'fluentform'),
1184
+ 'Check Conditional Logic when replaying a feed action' => __('Check Conditional Logic when replaying a feed action', 'fluentform'),
1185
+ '(Conditional)' => __('(Conditional)', 'fluentform'),
1186
+ 'Active' => __('Active', 'fluentform'),
1187
+ 'Draft' => __('Draft', 'fluentform'),
1188
+ 'Replay' => __('Replay', 'fluentform'),
1189
+ 'This feature is available on pro version of Fluent Forms.' => __('This feature is available on pro version of Fluent Forms.', 'fluentform'),
1190
+ 'Select User for this submission' => __('Select User for this submission', 'fluentform'),
1191
+ 'This entry was submitted by' => __('This entry was submitted by', 'fluentform'),
1192
+ 'You can change the associate user by using the following form' => __('You can change the associate user by using the following form', 'fluentform'),
1193
+ 'This entry was submitted by guest user.You can assign a new user for this entry' => __('This entry was submitted by guest user.You can assign a new user for this entry', 'fluentform'),
1194
+ 'Select corresponding user' => __('Select corresponding user', 'fluentform'),
1195
+ 'Search User' => __('Search User', 'fluentform'),
1196
+ 'Change Submitter' => __('Change Submitter', 'fluentform'),
1197
+ 'Visual Data Reporting' => __('Visual Data Reporting', 'fluentform'),
1198
+ 'View Regular Entries' => __('View Regular Entries', 'fluentform'),
1199
+ 'Fetching Data..Please wait' => __('Fetching Data..Please wait', 'fluentform'),
1200
+ 'Submission Stats' => __('Submission Stats', 'fluentform'),
1201
+ 'Start Date' => __('Start Date', 'fluentform'),
1202
+ 'End Date' => __('End Date', 'fluentform'),
1203
+ 'Sorry!No reports found based on your filter, available form submissions and input types' => __('Sorry!No reports found based on your filter, available form submissions and input types', 'fluentform'),
1204
+ 'Filter Data by Status' => __('Filter Data by Status', 'fluentform'),
1205
+ 'Show from all except trashed' => __('Show from all except trashed', 'fluentform'),
1206
+ 'Other Info' => __('Other Info', 'fluentform'),
1207
+ 'Total Entries:' => __('Total Entries', 'fluentform'),
1208
+ 'Entries By Browser' => __('Entries By Browser', 'fluentform'),
1209
+ 'Print this report' => __('Print this report', 'fluentform'),
1210
+ 'Label' => __('Label', 'fluentform'),
1211
+ 'Total' => __('Total', 'fluentform'),
1212
+ 'Looks like you are using older version of fluent forms pro. Please update to latest version' => __('Looks like you are using older version of fluent forms pro. Please update to latest version', 'fluentform'),
1213
+ 'Order Details' => __('Order Details', 'fluentform'),
1214
+ 'Product' => __('Product', 'fluentform'),
1215
+ 'Qty' => __('Qty', 'fluentform'),
1216
+ 'Unit Price' => __('Unit Price', 'fluentform'),
1217
+ 'Price' => __('Price', 'fluentform'),
1218
+ 'Sub-Total' => __('Sub-Total', 'fluentform'),
1219
+ 'Discount' => __('Discount', 'fluentform'),
1220
+ 'Payment Details' => __('Payment Details', 'fluentform'),
1221
+ 'From Subscriptions' => __('From Subscriptions', 'fluentform'),
1222
+ 'Transaction' => __('Transaction', 'fluentform'),
1223
+ 'ID' => __('ID', 'fluentform'),
1224
+ 'Billing Name' => __('Billing Name', 'fluentform'),
1225
+ 'Billing Email' => __('Billing Email', 'fluentform'),
1226
+ 'Billing Address' => __('Billing Address', 'fluentform'),
1227
+ 'Shipping Address' => __('Shipping Address', 'fluentform'),
1228
+ 'Transaction ID' => __('Transaction ID', 'fluentform'),
1229
+ 'Card Last 4' => __('Card Last 4', 'fluentform'),
1230
+ 'Payment Total' => __('Payment Total', 'fluentform'),
1231
+ 'Date' => __('Date', 'fluentform'),
1232
+ 'Edit Transaction' => __('Edit Transaction', 'fluentform'),
1233
+ 'Refund' => __('Refund', 'fluentform'),
1234
+ 'View' => __('View', 'fluentform'),
1235
+ 'has been refunded via' => __('has been refunded via', 'fluentform'),
1236
+ 'Note' => __('Note', 'fluentform'),
1237
+ 'Reference ID' => __('Reference ID', 'fluentform'),
1238
+ 'New Refund Amount' => __('New Refund Amount', 'fluentform'),
1239
+ 'Refund Note' => __('Refund Note', 'fluentform'),
1240
+ 'Confirm' => __('Confirm', 'fluentform'),
1241
+ 'Subscriptions (Recurring Payments)' => __('Subscriptions (Recurring Payments)', 'fluentform'),
1242
+ 'Related Payments' => __('Related Payments', 'fluentform'),
1243
+ 'Date (GMT)' => __('Date (GMT)', 'fluentform'),
1244
+ 'Discounts' => __('Discounts', 'fluentform'),
1245
+ 'All received payments will be shown here. No payments received yet!' => __('All received payments will be shown here. No payments received yet!', 'fluentform'),
1246
+ 'You are about to cancel this subscription' => __('You are about to cancel this subscription', 'fluentform'),
1247
+ 'This will also ' => __('This will also', 'fluentform'),
1248
+ 'cancel the subscription at stripe' => __('cancel the subscription at stripe', 'fluentform'),
1249
+ 'So no further payment will be processed' => __('So no further payment will be processed', 'fluentform'),
1250
+ 'payment gateway does not support remote cancellation at this moment.' => __('payment gateway does not support remote cancellation at this moment.', 'fluentform'),
1251
+ 'Please cancel the subscription from ' => __('Please cancel the subscription from ', 'fluentform'),
1252
+ 'dashboard too.' => __(' dashboard too', 'fluentform'),
1253
+ 'close' => __('close', 'fluentform'),
1254
+ 'Yes, Cancel this subscription' => __('Yes, Cancel this subscription', 'fluentform'),
1255
+ 'Total Bills: ' => __('Total Bills', 'fluentform'),
1256
+ 'No entry found.' => __('No entry found.', 'fluentform'),
1257
+ 'Migrate other plugins forms into Fluent Forms with ease. Please note that previously imported forms and entries will be reset and updated again.' => __('Migrate other plugins forms into Fluent Forms with ease. Please note that previously imported forms and entries will be reset and updated again.', 'fluentform'),
1258
+
1259
+ //pro step form entries
1260
+ 'Partial Entries' => __('Partial Entries', 'fluentform'),
1261
+ 'Bulk Actions' => __('Bulk Actions', 'fluentform'),
1262
+ 'Export ' => __('Export ', 'fluentform'),
1263
+ 'Export as CSV' => __('Export as CSV', 'fluentform'),
1264
+ 'Export as Excel(xlsv)' => __('Export as Excel(xlsv)', 'fluentform'),
1265
+ 'Export as ODS' => __('Export as ODS', 'fluentform'),
1266
+ 'Step Completed' => __('Step Completed', 'fluentform'),
1267
+ 'Back to All' => __('Back to All', 'fluentform'),
1268
+ 'Next ' => __('Next ', 'fluentform'),
1269
+ ' Previous' => __(' Previous', 'fluentform'),
1270
+ 'Entry Details - Partial #' => __('Entry Details - Partial #', 'fluentform'),
1271
+ 'Entity ID: ' => __('Entity ID: ', 'fluentform'),
1272
+ 'User IP: ' => __('User IP: ', 'fluentform'),
1273
+ 'Source URL: ' => __('Source URL', 'fluentform'),
1274
+ 'User: ' => __('User: ', 'fluentform'),
1275
+ 'User: Guest' => __('User: Guest', 'fluentform'),
1276
+ 'Submitted On: ' => __('Submitted On: ', 'fluentform'),
1277
+ );
1278
+
1279
+ return apply_filters('fluentform/entries_i18n', $i18n);
1280
+ }
1281
+
1282
+ public static function getAddOnModuleI18n()
1283
+ {
1284
+ $i18n = array(
1285
+ 'Fluent Forms Modules' => __('Fluent Forms Modules', 'fluentform'),
1286
+ 'Here is the list of all Fluent Forms modules.You can enable or disable the modules based on your need.' => __('Here is the list of all Fluent Forms modules.You can enable or disable the modules based on your need.', 'fluentform'),
1287
+ 'all' => __('all', 'fluentform'),
1288
+ 'crm' => __('crm', 'fluentform'),
1289
+ 'wp_core' => __('wp_core', 'fluentform'),
1290
+ 'All' => __('All', 'fluentform'),
1291
+ 'CRM & SASS Integrations' => __('CRM & SASS Integrations', 'fluentform'),
1292
+ 'WP Core Modules' => __('WP Core Modules', 'fluentform'),
1293
+ 'Search Modules' => __('Search Modules', 'fluentform'),
1294
+ 'Upgrade To Pro' => __('Upgrade To Pro', 'fluentform'),
1295
+ 'Currently' => __('Currently', 'fluentform'),
1296
+ 'Enabled' => __('Enabled', 'fluentform'),
1297
+ 'Disabled' => __('Disabled', 'fluentform'),
1298
+ 'Sorry!No modules found based on your filter' => __('Sorry!No modules found based on your filter', 'fluentform'),
1299
+ );
1300
+ return apply_filters('fluentform/addOnModule_i18n', $i18n);
1301
+ }
1302
+
1303
+ public static function getTransferModuleI18n()
1304
+ {
1305
+ $i18n = array(
1306
+ 'Activity Logs' => __('Activity Logs', 'fluentform'),
1307
+ 'All the form submission & General internal logs.You can see and track if there has any issue with any of your Form.' => __('All the form submission & General internal logs.You can see and track if there has any issue with any of your Form.', 'fluentform'),
1308
+ 'Source' => __('Source', 'fluentform'),
1309
+ 'Select Component' => __('Select Component', 'fluentform'),
1310
+ 'Select Status' => __('Select Status', 'fluentform'),
1311
+ 'Delete Selected Logs' => __('Delete Selected Logs', 'fluentform'),
1312
+ 'Source ID' => __('Source ID', 'fluentform'),
1313
+ 'Form/Source' => __('Form/Source', 'fluentform'),
1314
+ 'General Log' => __('General Log', 'fluentform'),
1315
+ 'Component' => __('Component', 'fluentform'),
1316
+ 'Action' => __('Action', 'fluentform'),
1317
+ 'pending' => __('pending', 'fluentform'),
1318
+ 'processing' => __('processing', 'fluentform'),
1319
+ 'success' => __('success', 'fluentform'),
1320
+ 'failed' => __('failed', 'fluentform'),
1321
+ 'Api Logs' => __('Api Logs', 'fluentform'),
1322
+ 'All the external CRM / API call logs and you can see and track if there has any issue with any of your API configuration.(Last 2 months data only)' => __('All the external CRM / API call logs and you can see and track if there has any issue with any of your API configuration.(Last 2 months data only)', 'fluentform'),
1323
+ 'Submission Id' => __('Submission Id', 'fluentform'),
1324
+ 'Export Forms' => __('Export Forms', 'fluentform'),
1325
+ 'Select the forms you would like to export. When you click the download button below, Fluent Forms will create a JSON file for you to save to your computer.Once you\'ve saved the downloaded file, you can use the Import tool to import the forms.' => __('Select the forms you would like to export. When you click the download button below, Fluent Forms will create a JSON file for you to save to your computer.Once you\'ve saved the downloaded file, you can use the Import tool to import the forms.', 'fluentform'),
1326
+ 'Select Forms' => __('Select Forms', 'fluentform'),
1327
+ 'Export Selected Forms' => __('Export Selected Forms', 'fluentform'),
1328
+ 'Select the forms you would like to export.' => __('Select the forms you would like to export.', 'fluentform'),
1329
+ 'Import Forms' => __('Import Forms', 'fluentform'),
1330
+ 'Select the Fluent Forms export file(.json) you would like to import. When you click the import button below, Fluent Forms will import the forms.' => __('Select the Fluent Forms export file(.json) you would like to import. When you click the import button below, Fluent Forms will import the forms.', 'fluentform'),
1331
+ 'Select File' => __('Select File', 'fluentform'),
1332
+ 'Click the Choose File button to upload a' => __('Click the Choose File button to upload a', 'fluentform'),
1333
+ 'Fluent Forms export file from your computer.' => __('Fluent Forms export file from your computer.', 'fluentform'),
1334
+ 'Import' => __('Import', 'fluentform'),
1335
+ 'Edit Form' => __('Edit Form', 'fluentform'),
1336
+ 'Fluent Forms Migrator' => __('Fluent Forms Migrator', 'fluentform'),
1337
+ 'Migrate other plugins\' forms into Fluent Forms with ease. Please note that previously imported forms and entries will be reset and updated again.' => __('Migrate other plugins\' forms into Fluent Forms with ease. Please note that previously imported forms and entries will be reset and updated again.', 'fluentform'),
1338
+ 'Import ' => __('Import ', 'fluentform'),
1339
+ 'Import All Forms' => __('Import All Forms', 'fluentform'),
1340
+ 'Form Name' => __('Form Name', 'fluentform'),
1341
+ 'Imported' => __('Imported', 'fluentform'),
1342
+ 'Import Form' => __('Import Form', 'fluentform'),
1343
+ 'No Forms Found' => __('No Forms Found', 'fluentform'),
1344
+ 'Imported Forms' => __('Imported Forms', 'fluentform'),
1345
+ 'Imported Form' => __('Imported Form', 'fluentform'),
1346
+ 'The following fields are not supported, please create them manually.' => __('The following fields are not supported, please create them manually.', 'fluentform'),
1347
+ 'Imported Form Entries' => __('Imported Form Entries', 'fluentform'),
1348
+ 'View Entries' => __('View Entries', 'fluentform'),
1349
+ 'Select bulk action' => __('Select bulk action', 'fluentform'),
1350
+ );
1351
+
1352
+ return apply_filters('fluentform/transfer_i18n', $i18n);
1353
+ }
1354
+
1355
+ public static function getPaymentsI18n()
1356
+ {
1357
+ $i18n = array(
1358
+ 'Bulk Actions' => __('Bulk Actions', 'fluentform'),
1359
+ 'Select Form' => __('Select Form', 'fluentform'),
1360
+ 'Payment Methods' => __('Payment Methods', 'fluentform'),
1361
+ 'Select Method' => __('Select Method', 'fluentform'),
1362
+ 'Type' => __('Type', 'fluentform'),
1363
+ 'Refund' => __('Refund', 'fluentform'),
1364
+ 'Charge' => __('Charge', 'fluentform'),
1365
+ 'Submission' => __('Submission', 'fluentform'),
1366
+ 'Customer' => __('Customer', 'fluentform'),
1367
+ 'Fluent Forms Payment Module' => __('Fluent Forms Payment Module', 'fluentform'),
1368
+ 'Enable your users to pay online as part of the Forms submission process.With Fluent Forms Powerful payment integration, you can easily accept and process payments in your Fluent Forms.Just activate this module and setup your payment methods.' => __('Enable your users to pay online as part of the Forms submission process.With Fluent Forms Powerful payment integration, you can easily accept and process payments in your Fluent Forms.Just activate this module and setup your payment methods.', 'fluentform'),
1369
+ 'Enable Fluent Forms Payment Module' => __('Enable Fluent Forms Payment Module', 'fluentform'),
1370
+ 'General Settings' => __('General Settings', 'fluentform'),
1371
+ 'Coupons' => __('Coupons ', 'fluentform'),
1372
+ 'mode' => __('mode', 'fluentform'),
1373
+ 'Connect Your Stripe Account to your website to accept Payments' => __('Connect Your Stripe Account to your website to accept Payments', 'fluentform'),
1374
+ 'Connect With Stripe' => __('Connect With Stripe', 'fluentform'),
1375
+ 'Your Stripe Account is connected' => __('Your Stripe Account is connected', 'fluentform'),
1376
+ 'Administrator(Owner)' => __('Administrator(Owner)', 'fluentform'),
1377
+ 'No, Thanks' => __('No, Thanks', 'fluentform'),
1378
+ 'Are you sure to disconnect this account?' => __('Are you sure to disconnect this account?', 'fluentform'),
1379
+ 'Disconnect' => __('Disconnect', 'fluentform'),
1380
+ 'Page Settings' => __('Page Settings', 'fluentform'),
1381
+ 'FluentForms uses the pages below for handling the display of payment history and payment receipt.Please select the pages and add the instructed shortcodes accordingly.' => __('FluentForms uses the pages below for handling the display of payment history and payment receipt.Please select the pages and add the instructed shortcodes accordingly.', 'fluentform'),
1382
+ 'Please read the documentation' => __('Please read the documentation', 'fluentform'),
1383
+ ' for advanced shorcode usage' => __(' for advanced shorcode usage', 'fluentform'),
1384
+ 'Also please check the documentation ' => __('Also please check the documentation', 'fluentform'),
1385
+ 'to learn how to accept ' => __('to learn how to accept ', 'fluentform'),
1386
+ 'Recurring Payments' => __('Recurring Payments', 'fluentform'),
1387
+ 'Payment Management Page' => __('Payment Management Page', 'fluentform'),
1388
+ 'This is where user can view their single payments and subscriptions.' => __('This is where user can view their single payments and subscriptions.', 'fluentform'),
1389
+ 'Add shortcode ' => __('Add shortcode ', 'fluentform'),
1390
+ 'in the selected page. This shortcode will show single and subscriptions to the logged - in user' => __('in the selected page. This shortcode will show single and subscriptions to the logged - in user', 'fluentform'),
1391
+ 'Payment Receipt Page' => __('Payment Receipt Page', 'fluentform'),
1392
+ 'This is where user can view their payment receipt and manage single subscription payment.' => __('This is where user can view their payment receipt and manage single subscription payment.', 'fluentform'),
1393
+ 'in the selected page.' => __('in the selected page.', 'fluentform'),
1394
+ 'Subscription Management' => __('Subscription Management', 'fluentform'),
1395
+ 'Please enable this if you enable users to manage their own subscriptions like cancel an active subscription.' => __('Please enable this if you enable users to manage their own subscriptions like cancel an active subscription.', 'fluentform'),
1396
+ 'Users can manage their own payment subscriptions(only available on Stripe)' => __('Users can manage their own payment subscriptions(only available on Stripe)', 'fluentform'),
1397
+ 'Fluent Forms Coupon Module' => __('Fluent Forms Coupon Module', 'fluentform'),
1398
+ 'Enable your users to apply coupon / discount code while purchasing something using Fluent Forms Payment Module.Just activate this module and setup your your coupons.' => __('Enable your users to apply coupon / discount code while purchasing something using Fluent Forms Payment Module.Just activate this module and setup your your coupons.', 'fluentform'),
1399
+ 'Enable Fluent Forms Coupon Module' => __('Enable Fluent Forms Coupon Module', 'fluentform'),
1400
+ 'Available Coupons' => __('Available Coupons', 'fluentform'),
1401
+ 'Add New Coupon' => __('Add New Coupon', 'fluentform'),
1402
+ 'Code' => __('Code', 'fluentform'),
1403
+ 'Edit Coupon' => __('Edit Coupon', 'fluentform'),
1404
+ 'Add a new Coupon' => __('Add a new Coupon', 'fluentform'),
1405
+ 'Coupon Title' => __('Coupon Title', 'fluentform'),
1406
+ 'The name of this discount' => __('The name of this discount', 'fluentform'),
1407
+ 'Coupon Code' => __('Coupon Code', 'fluentform'),
1408
+ 'Enter a code for this discount, such as 10PERCENT.Only alphanumeric characters are allowed.' => __('Enter a code for this discount, such as 10PERCENT.Only alphanumeric characters are allowed.', 'fluentform'),
1409
+ 'Discount Amount / Percent' => __('Discount Amount / Percent', 'fluentform'),
1410
+ 'Enter the discount percentage. 10 = 10 %' => __('Enter the discount percentage. 10 = 10 %', 'fluentform'),
1411
+ 'Discount Type' => __('Discount Type', 'fluentform'),
1412
+ 'Percent based discount' => __('Percent based discount', 'fluentform'),
1413
+ 'Fixed Discount' => __('Fixed Discount', 'fluentform'),
1414
+ 'The kind of discount to apply for this discount.' => __('The kind of discount to apply for this discount.', 'fluentform'),
1415
+ 'Min Purchase Amount' => __('Min Purchase Amount', 'fluentform'),
1416
+ 'The minimum amount that must be purchased before this discount can be used. Leave blank for no minimum.' => __('The minimum amount that must be purchased before this discount can be used. Leave blank for no minimum.', 'fluentform'),
1417
+ 'Stackable' => __('Stackable', 'fluentform'),
1418
+ 'Can this coupon code can be used with other coupon code' => __('Can this coupon code can be used with other coupon code', 'fluentform'),
1419
+ 'Start Date' => __('Start Date', 'fluentform'),
1420
+ 'Enter the start date for this discount code in the format of yyyy - mm - dd. For no start date, leave blank.' => __('Enter the start date for this discount code in the format of yyyy - mm - dd. For no start date, leave blank.', 'fluentform'),
1421
+ 'End Date' => __('End Date', 'fluentform'),
1422
+ 'Enter the expiration date for this discount code in the format of yyyy - mm - dd. For no expiration, leave blank' => __('Enter the expiration date for this discount code in the format of yyyy - mm - dd. For no expiration, leave blank', 'fluentform'),
1423
+ 'Applicable Forms' => __('Applicable Forms', 'fluentform'),
1424
+ 'Leave blank for applicable for all payment forms' => __('Leave blank for applicable for all payments forms', 'fluentform'),
1425
+ 'Save Coupon' => __('Save Coupon', 'fluentform'),
1426
+ 'Pages & Subscription Management' => __('Pages & Subscription Management', 'fluentform'),
1427
+ 'If you disable this then all the payment related functions will be disabled.If you want to process / accept payment using fluent forms.You should enable this.' => __('If you disable this then all the payment related functions will be disabled.If you want to process / accept payment using fluent forms.You should enable this.', 'fluentform'),
1428
+ 'Enable Payment Module' => __('Enable Payment Module', 'fluentform'),
1429
+ 'Business Name' => __('Business Name', 'fluentform'),
1430
+ 'Please provide your business name.It will be used to paypal\'s business name when redirect to checkout.' => __('Please provide your business name.It will be used to paypal\'s business name when redirect to checkout.', 'fluentform'),
1431
+ 'Business Address' => __('Business Address', 'fluentform'),
1432
+ 'Please provide your full business address including street, city, zip, state and country.' => __('Please provide your full business address including street, city, zip, state and country.', 'fluentform'),
1433
+ 'Full Business Address' => __('Full Business Address', 'fluentform'),
1434
+ 'Business Logo' => __('Business Logo', 'fluentform'),
1435
+ 'Debug Log' => __('Debug Log', 'fluentform'),
1436
+ 'Enable this only for test purpose, then FluentForm will log IPN and Payment errors in the log' => __('Enable this only for test purpose, then FluentForm will log IPN and Payment errors in the log', 'fluentform'),
1437
+ 'Enable Debug Log(Recommended for debug purpose only)' => __('Enable Debug Log(Recommended for debug purpose only)', 'fluentform'),
1438
+ 'Currency Settings' => __('Currency Settings', 'fluentform'),
1439
+ 'Default Currency' => __('Default Currency', 'fluentform'),
1440
+ 'Provide your default currency.You can also change your currency to each form in form\'s payment settings' => __('Provide your default currency.You can also change your currency to each form in form\'s payment settings', 'fluentform'),
1441
+ 'Currency Sign Position' => __('Currency Sign Position', 'fluentform'),
1442
+ 'Currency Separators' => __('Currency Separators', 'fluentform'),
1443
+ 'Comma as Thousand and Dot as Decimal (EG: 12,000.00)' => __('Comma as Thousand and Dot as Decimal (EG: 12,000.00)', 'fluentform'),
1444
+ 'Dot as Thousand and Comma as Decimal ( EG: 12.000,00 )' => __('Dot as Thousand and Comma as Decimal ( EG: 12.000,00 )', 'fluentform'),
1445
+ 'Hide decimal points for rounded numbers' => __('Hide decimal points for rounded numbers', 'fluentform'),
1446
+ 'Payment Module has been disabled currently.No Payments will be processed and associate functions will be disabled' => __('Payment Module has been disabled currently.No Payments will be processed and associate functions will be disabled', 'fluentform'),
1447
+ 'Stripe' => __('Stripe', 'fluentform'),
1448
+ 'Test Payment' => __('Test Payment', 'fluentform'),
1449
+ 'Enable PayPal Payment Method' => __('Enable PayPal Payment Method', 'fluentform'),
1450
+ 'PayPal Payment Mode' => __('PayPal Payment Mode', 'fluentform'),
1451
+ 'Select the payment mode.for testing purposes you should select Sandbox Mode otherwise select Live mode.' => __('Select the payment mode.for testing purposes you should select Sandbox Mode otherwise select Live mode.', 'fluentform'),
1452
+ 'Sandbox Mode' => __('Sandbox Mode', 'fluentform'),
1453
+ 'PayPal Email' => __('PayPal Email', 'fluentform'),
1454
+ 'Paypal Email Address' => __('Paypal Email Address', 'fluentform'),
1455
+ 'Disable PayPal IPN Verification' => __('Disable PayPal IPN Verification', 'fluentform'),
1456
+ 'If you are unable to use Payment Data Transfer and payments are not getting marked as complete, then check this box.This forces the site to use a slightly less secure method of verifying purchases.' => __('If you are unable to use Payment Data Transfer and payments are not getting marked as complete, then check this box.This forces the site to use a slightly less secure method of verifying purchases.', 'fluentform'),
1457
+ 'Save PayPal Settings' => __('Save PayPal Settings', 'fluentform'),
1458
+ 'PayPal IPN Settings(Recommended for Subscription Payment)' => __('PayPal IPN Settings(Recommended for Subscription Payment)', 'fluentform'),
1459
+ 'In order to function completely for subscription / recurring payments, you must configure your PayPal IPN.' => __('In order to function completely for subscription / recurring payments, you must configure your PayPal IPN.', 'fluentform'),
1460
+ 'IPN URL: ' => __('IPN URL ', 'fluentform'),
1461
+ 'Please read the documentation ' => __('Please read the documentation ', 'fluentform'),
1462
+ 'to learn how to setup ' => __('to learn how to setup ', 'fluentform'),
1463
+ 'PayPal IPN' => __('PayPal IPN', 'fluentform'),
1464
+ 'Sorry!No settings found.Maybe your payment module is disabled!' => __('Sorry! No settings found.Maybe your payment module is disabled!', 'fluentform'),
1465
+ 'Enable Stripe Payment Method' => __('Enable Stripe Payment Method', 'fluentform'),
1466
+ 'Stripe Test API Keys' => __('Stripe Test API Keys', 'fluentform'),
1467
+ 'Test Publishable key' => __('Test Publishable key', 'fluentform'),
1468
+ 'Test Secret key' => __('Test Secret key', 'fluentform'),
1469
+ 'Stripe Live API Keys' => __('Stripe Live API Keys', 'fluentform'),
1470
+ 'Live Publishable key' => __('Live Publishable key', 'fluentform'),
1471
+ 'Save Stripe Settings' => __('Save Stripe Settings', 'fluentform'),
1472
+ 'Stripe Webhook(Recommended for Recurring Payments)' => __('Stripe Webhook(Recommended for Recurring Payments)', 'fluentform'),
1473
+ 'In order for Stripe to function completely for subscription / recurring payments, you must configure your Stripe webhooks. Visit your ' => __('In order for Stripe to function completely for subscription / recurring payments, you must configure your Stripe webhooks. Visit your ', 'fluentform'),
1474
+ 'account dashboard' => __('account dashboard', 'fluentform'),
1475
+ 'to configure them.Please add a webhook endpoint for the URL below.' => __('to configure them.Please add a webhook endpoint for the URL below.', 'fluentform'),
1476
+ 'Webhook URL: ' => __('Webhook URL', 'fluentform'),
1477
+ 'Stripe IPN' => __('Stripe IPN', 'fluentform'),
1478
+ 'Please enable the following Webhook events for this URL: ' => __('Please enable the following Webhook events for this URL:', 'fluentform'),
1479
+ 'Sorry! No settings found.Maybe your payment module is disabled!' => __('Sorry! No settings found.Maybe your payment module is disabled!', 'fluentform'),
1480
+ 'Fetching settings.Please wait...' => __('Fetching settings.Please wait...', 'fluentform'),
1481
+ 'Enable Offline / Test Payment Method' => __('Enable Offline / Test Payment Method', 'fluentform'),
1482
+ 'Bottom' => __('Bottom', 'fluentform'),
1483
+ 'Border Type' => __('Border Type', 'fluentform'),
1484
+ 'Color' => __('Color', 'fluentform'),
1485
+ 'Horizontal' => __('Horizontal', 'fluentform'),
1486
+ 'Vertical' => __('Vertical', 'fluentform'),
1487
+ 'Blur' => __('Blur', 'fluentform'),
1488
+ 'Spread' => __('Spread', 'fluentform'),
1489
+ 'Position' => __('Position', 'fluentform'),
1490
+ 'Font Size' => __('Font Size', 'fluentform'),
1491
+ 'Font Weight' => __('Font Weight', 'fluentform'),
1492
+ 'Transform' => __('Transform', 'fluentform'),
1493
+ 'Font Style' => __('Font Style', 'fluentform'),
1494
+ 'Text Decoration' => __('Text Decoration', 'fluentform'),
1495
+ 'Line Height' => __('Line Height', 'fluentform'),
1496
+ 'Letter Spacing' => __('Letter Spacing', 'fluentform'),
1497
+ );
1498
+
1499
+ return apply_filters('fluentform/payments_i18n', $i18n);
1500
+ }
1501
+ }
1502
+
app/Modules/Renderer/GlobalSettings/Settings.php CHANGED
@@ -3,6 +3,7 @@
3
  namespace FluentForm\App\Modules\Renderer\GlobalSettings;
4
 
5
  use FluentForm\App\Modules\Form\AkismetHandler;
 
6
  use FluentForm\Framework\Foundation\Application;
7
 
8
  class Settings
@@ -46,7 +47,8 @@ class Settings
46
  wp_localize_script('fluentform-global-settings-js', 'FluentFormApp', [
47
  'plugin' => $this->app->getSlug(),
48
  'akismet_activated' => AkismetHandler::isPluginEnabled(),
49
- 'has_pro' => defined('FLUENTFORMPRO')
 
50
  ]);
51
  }
52
  }
3
  namespace FluentForm\App\Modules\Renderer\GlobalSettings;
4
 
5
  use FluentForm\App\Modules\Form\AkismetHandler;
6
+ use FluentForm\App\Modules\Registerer\TranslationString;
7
  use FluentForm\Framework\Foundation\Application;
8
 
9
  class Settings
47
  wp_localize_script('fluentform-global-settings-js', 'FluentFormApp', [
48
  'plugin' => $this->app->getSlug(),
49
  'akismet_activated' => AkismetHandler::isPluginEnabled(),
50
+ 'has_pro' => defined('FLUENTFORMPRO'),
51
+ 'form_settings_str' => TranslationString::getGlobalSettingsI18n()
52
  ]);
53
  }
54
  }
app/Modules/Settings/Settings.php CHANGED
@@ -6,6 +6,7 @@ use FluentForm\Framework\Request\Request;
6
  use FluentForm\Framework\Helpers\ArrayHelper;
7
  use FluentForm\App\Modules\ReCaptcha\ReCaptcha;
8
  use FluentForm\App\Modules\HCaptcha\HCaptcha;
 
9
  use FluentForm\App\Services\Integrations\MailChimp\MailChimp;
10
 
11
  /**
@@ -57,6 +58,7 @@ class Settings
57
  $allowedMethods = [
58
  'storeReCaptcha',
59
  'storeHCaptcha',
 
60
  'storeSaveGlobalLayoutSettings',
61
  'storeMailChimpSettings',
62
  'storeEmailSummarySettings'
@@ -197,6 +199,72 @@ class Settings
197
  ], 400);
198
  }
199
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
200
  public function storeSaveGlobalLayoutSettings()
201
  {
202
  $settings = $this->request->get('value');
6
  use FluentForm\Framework\Helpers\ArrayHelper;
7
  use FluentForm\App\Modules\ReCaptcha\ReCaptcha;
8
  use FluentForm\App\Modules\HCaptcha\HCaptcha;
9
+ use FluentForm\App\Modules\Turnstile\Turnstile;
10
  use FluentForm\App\Services\Integrations\MailChimp\MailChimp;
11
 
12
  /**
58
  $allowedMethods = [
59
  'storeReCaptcha',
60
  'storeHCaptcha',
61
+ 'storeTurnstile',
62
  'storeSaveGlobalLayoutSettings',
63
  'storeMailChimpSettings',
64
  'storeEmailSummarySettings'
199
  ], 400);
200
  }
201
 
202
+ public function storeTurnstile()
203
+ {
204
+ $data = $this->request->get('turnstile');
205
+
206
+ if ($data == 'clear-settings') {
207
+ delete_option('_fluentform_turnstile_details');
208
+
209
+ update_option('_fluentform_turnstile_keys_status', false, 'no');
210
+
211
+ wp_send_json_success([
212
+ 'message' => __('Your Turnstile settings are deleted.', 'fluentform'),
213
+ 'status' => false
214
+ ], 200);
215
+ }
216
+
217
+ $token = ArrayHelper::get($data, 'token');
218
+ $secretKey = ArrayHelper::get($data, 'secretKey');
219
+
220
+ // If token is not empty meaning user verified their captcha.
221
+ if ($token) {
222
+ // Validate the turnstile response.
223
+ $status = Turnstile::validate($token, $secretKey);
224
+
225
+ // turnstile is valid. So proceed to store.
226
+ if ($status) {
227
+ // Prepare captcha data.
228
+ $captchaData = [
229
+ 'siteKey' => sanitize_text_field(ArrayHelper::get($data, 'siteKey')),
230
+ 'secretKey' => sanitize_text_field($secretKey),
231
+ 'token' => $token
232
+ ];
233
+
234
+ // Update the turnstile details with siteKey & secretKey.
235
+ update_option('_fluentform_turnstile_details', $captchaData, 'no');
236
+
237
+ // Update the turnstile validation status.
238
+ update_option('_fluentform_turnstile_keys_status', $status, 'no');
239
+
240
+ // Send success response letting the user know that
241
+ // that the turnstile is valid and saved properly.
242
+ wp_send_json_success([
243
+ 'message' => __('Your Turnstile is valid and saved.', 'fluentform'),
244
+ 'status' => $status
245
+ ], 200);
246
+ } else {
247
+ // turnstile is not valid.
248
+ $message = __('Sorry, Your Turnstile is not valid. Please try again', 'fluentform');
249
+ }
250
+ } else {
251
+ // The token is empty, so the user didn't verify their captcha.
252
+ $message = __('Please validate your Turnstile first and then hit save.', 'fluentform');
253
+
254
+ // Get the already stored reCaptcha status.
255
+ $status = get_option('_fluentform_turnstile_keys_status');
256
+
257
+ if ($status) {
258
+ $message = __('Your Turnstile details are already valid. So no need to save again.', 'fluentform');
259
+ }
260
+ }
261
+
262
+ wp_send_json_error([
263
+ 'message' => $message,
264
+ 'status' => $status
265
+ ], 400);
266
+ }
267
+
268
  public function storeSaveGlobalLayoutSettings()
269
  {
270
  $settings = $this->request->get('value');
app/Modules/Track/SetupModule.php CHANGED
@@ -31,7 +31,7 @@ class SetupModule
31
  return [
32
  'is_installed' => defined('FLUENTMAIL'),
33
  'config_url' => admin_url('options-general.php?page=fluent-mail#/'),
34
- 'message' => __('FluentSMTP plugin has been installed and activated successfully', 'fluent-crm')
35
  ];
36
  }
37
 
@@ -154,4 +154,4 @@ class SetupModule
154
  $plugins[$filename] = $key;
155
  return $plugins;
156
  }
157
- }
31
  return [
32
  'is_installed' => defined('FLUENTMAIL'),
33
  'config_url' => admin_url('options-general.php?page=fluent-mail#/'),
34
+ 'message' => __('FluentSMTP plugin has been installed and activated successfully', 'fluentform')
35
  ];
36
  }
37
 
154
  $plugins[$filename] = $key;
155
  return $plugins;
156
  }
157
+ }
app/Modules/Track/TrackModule.php CHANGED
@@ -145,7 +145,7 @@ class TrackModule
145
  {
146
  return array(
147
  'name' => 'track_data_notice',
148
- 'title' => __( 'Want to make Fluent Forms better with just one click?', 'ninja-forms' ),
149
  'message' => 'We will collect a few server data if you permit us. It will help us troubleshoot any inconveniences you may face while using FluentForm, and guide us to add better features according to your usage. NO FORM SUBMISSION DATA WILL BE COLLECTED.<br/><input checked type="checkbox" id="ff-optin-send-email"> You can also send me Fluent Forms tips and tricks occasionally',
150
  'links' => array(
151
  array(
145
  {
146
  return array(
147
  'name' => 'track_data_notice',
148
+ 'title' => __( 'Want to make Fluent Forms better with just one click?', 'fluentform' ),
149
  'message' => 'We will collect a few server data if you permit us. It will help us troubleshoot any inconveniences you may face while using FluentForm, and guide us to add better features according to your usage. NO FORM SUBMISSION DATA WILL BE COLLECTED.<br/><input checked type="checkbox" id="ff-optin-send-email"> You can also send me Fluent Forms tips and tricks occasionally',
150
  'links' => array(
151
  array(
app/Modules/Turnstile/Turnstile.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace FluentForm\App\Modules\Turnstile;
4
+
5
+ use FluentForm\Framework\Helpers\ArrayHelper;
6
+
7
+ class Turnstile
8
+ {
9
+ /**
10
+ * Verify turnstile response.
11
+ *
12
+ * @param string $token response from the user.
13
+ * @param null $secret provided or already stored secret key.
14
+ *
15
+ * @return bool
16
+ */
17
+ public static function validate($token, $secret)
18
+ {
19
+ $verifyUrl = 'https://challenges.cloudflare.com/turnstile/v0/siteverify';
20
+
21
+ $response = wp_remote_post($verifyUrl, [
22
+ 'method' => 'POST',
23
+ 'body' => [
24
+ 'secret' => $secret,
25
+ 'response' => $token
26
+ ],
27
+ ]);
28
+
29
+ $isValid = false;
30
+
31
+ if (!is_wp_error($response)) {
32
+ $result = json_decode(wp_remote_retrieve_body($response));
33
+ $isValid = $result->success;
34
+ }
35
+
36
+ return $isValid;
37
+ }
38
+ }
app/Services/FluentConversational/Classes/Converter/Converter.php CHANGED
@@ -46,7 +46,9 @@ class Converter
46
  'media_x_position' => 50,
47
  'media_y_position' => 50
48
  ]),
49
- 'conditional_logics' => self::parseConditionalLogic($field)
 
 
50
  ];
51
 
52
  if ($answer = self::setDefaultValue(ArrayHelper::get($field, 'attributes.value'), $field, $form)) {
@@ -143,6 +145,8 @@ class Converter
143
  $question['max'] = ArrayHelper::get($field, 'settings.validation_rules.max.value');
144
  $question['min'] = is_numeric($question['min']) ? $question['min'] : null;
145
  $question['max'] = is_numeric($question['max']) ? $question['max'] : null;
 
 
146
  } elseif (in_array($field['element'], ['terms_and_condition', 'gdpr_agreement'])) {
147
  $question['options'] = [
148
  [
@@ -248,6 +252,7 @@ class Converter
248
  }
249
 
250
  $question['is_payment_field'] = true;
 
251
  } elseif ($field['element'] === 'subscription_payment_component') {
252
  $question['is_payment_field'] = true;
253
  $question['is_subscription_field'] = true;
@@ -307,6 +312,8 @@ class Converter
307
  $question['max'] = is_numeric($question['max']) ? $question['max'] : null;
308
 
309
  $question['is_payment_field'] = true;
 
 
310
  } elseif ($field['element'] === 'item_quantity_component') {
311
  $question['type'] = $allowedFields['input_number'];
312
  $question['targetProduct'] = $field['settings']['target_product'];
@@ -409,7 +416,6 @@ class Converter
409
  $form->submit_button = $field;
410
  }
411
  }
412
-
413
  $form->questions = $questions;
414
 
415
  $form->image_preloads = $imagePreloads;
46
  'media_x_position' => 50,
47
  'media_y_position' => 50
48
  ]),
49
+ 'conditional_logics' => self::parseConditionalLogic($field),
50
+ 'calculation_settings' => ArrayHelper::get($field, 'settings.calculation_settings'),
51
+ 'calc_value_status' => ArrayHelper::get($field, 'settings.calc_value_status', false),
52
  ];
53
 
54
  if ($answer = self::setDefaultValue(ArrayHelper::get($field, 'attributes.value'), $field, $form)) {
145
  $question['max'] = ArrayHelper::get($field, 'settings.validation_rules.max.value');
146
  $question['min'] = is_numeric($question['min']) ? $question['min'] : null;
147
  $question['max'] = is_numeric($question['max']) ? $question['max'] : null;
148
+ $question['calc_value_status'] = true;
149
+ do_action('ff_rendering_calculation_form', $form, $field);
150
  } elseif (in_array($field['element'], ['terms_and_condition', 'gdpr_agreement'])) {
151
  $question['options'] = [
152
  [
252
  }
253
 
254
  $question['is_payment_field'] = true;
255
+ $question['calc_value_status'] = true;
256
  } elseif ($field['element'] === 'subscription_payment_component') {
257
  $question['is_payment_field'] = true;
258
  $question['is_subscription_field'] = true;
312
  $question['max'] = is_numeric($question['max']) ? $question['max'] : null;
313
 
314
  $question['is_payment_field'] = true;
315
+ $question['calc_value_status'] = true;
316
+ do_action('ff_rendering_calculation_form', $form, $field);
317
  } elseif ($field['element'] === 'item_quantity_component') {
318
  $question['type'] = $allowedFields['input_number'];
319
  $question['targetProduct'] = $field['settings']['target_product'];
416
  $form->submit_button = $field;
417
  }
418
  }
 
419
  $form->questions = $questions;
420
 
421
  $form->image_preloads = $imagePreloads;
app/Services/FluentConversational/Classes/Form.php CHANGED
@@ -543,6 +543,7 @@ class Form
543
  'assetBaseUrl' => FLUENT_CONVERSATIONAL_FORM_DIR_URL . 'public',
544
  'i18n' => $metaSettings['i18n'],
545
  'form_id' => $form->id,
 
546
  'is_inline_form' => true,
547
  'design' => $designSettings,
548
  'extra_inputs' => $this->getExtraHiddenInputs($formId),
@@ -664,6 +665,7 @@ class Form
664
  'assetBaseUrl' => FLUENT_CONVERSATIONAL_FORM_DIR_URL . 'public',
665
  'i18n' => $metaSettings['i18n'],
666
  'design' => $designSettings,
 
667
  'extra_inputs' => $this->getExtraHiddenInputs($formId),
668
  'uploading_txt' => __('Uploading', 'fluentform'),
669
  'upload_completed_txt' => __('100% Completed', 'fluentform'),
543
  'assetBaseUrl' => FLUENT_CONVERSATIONAL_FORM_DIR_URL . 'public',
544
  'i18n' => $metaSettings['i18n'],
545
  'form_id' => $form->id,
546
+ 'hasPro' => defined('FLUENTFORMPRO'),
547
  'is_inline_form' => true,
548
  'design' => $designSettings,
549
  'extra_inputs' => $this->getExtraHiddenInputs($formId),
665
  'assetBaseUrl' => FLUENT_CONVERSATIONAL_FORM_DIR_URL . 'public',
666
  'i18n' => $metaSettings['i18n'],
667
  'design' => $designSettings,
668
+ 'hasPro' => defined('FLUENTFORMPRO'),
669
  'extra_inputs' => $this->getExtraHiddenInputs($formId),
670
  'uploading_txt' => __('Uploading', 'fluentform'),
671
  'upload_completed_txt' => __('100% Completed', 'fluentform'),
app/Services/FluentConversational/public/js/conversationalForm.js CHANGED
@@ -1,2 +1,2 @@
1
  /*! For license information please see conversationalForm.js.LICENSE.txt */
2
- (()=>{var __webpack_modules__={6980:(e,t,n)=>{"use strict";n.r(t),n.d(t,{afterMain:()=>x,afterRead:()=>b,afterWrite:()=>S,applyStyles:()=>N,arrow:()=>J,auto:()=>a,basePlacements:()=>l,beforeMain:()=>_,beforeRead:()=>y,beforeWrite:()=>k,bottom:()=>r,clippingParents:()=>d,computeStyles:()=>ne,createPopper:()=>Ne,createPopperBase:()=>Ve,createPopperLite:()=>Pe,detectOverflow:()=>ge,end:()=>u,eventListeners:()=>re,flip:()=>be,hide:()=>xe,left:()=>s,main:()=>w,modifierPhases:()=>C,offset:()=>ke,placements:()=>v,popper:()=>f,popperGenerator:()=>Me,popperOffsets:()=>Ee,preventOverflow:()=>Se,read:()=>g,reference:()=>h,right:()=>i,start:()=>c,top:()=>o,variationPlacements:()=>m,viewport:()=>p,write:()=>E});var o="top",r="bottom",i="right",s="left",a="auto",l=[o,r,i,s],c="start",u="end",d="clippingParents",p="viewport",f="popper",h="reference",m=l.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+u])}),[]),v=[].concat(l,[a]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])}),[]),y="beforeRead",g="read",b="afterRead",_="beforeMain",w="main",x="afterMain",k="beforeWrite",E="write",S="afterWrite",C=[y,g,b,_,w,x,k,E,S];function O(e){return e?(e.nodeName||"").toLowerCase():null}function T(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function B(e){return e instanceof T(e).Element||e instanceof Element}function M(e){return e instanceof T(e).HTMLElement||e instanceof HTMLElement}function V(e){return"undefined"!=typeof ShadowRoot&&(e instanceof T(e).ShadowRoot||e instanceof ShadowRoot)}const N={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];M(r)&&O(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});M(o)&&O(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function P(e){return e.split("-")[0]}var A=Math.max,q=Math.min,F=Math.round;function L(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function I(){return!/^((?!chrome|android).)*safari/i.test(L())}function D(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),r=1,i=1;t&&M(e)&&(r=e.offsetWidth>0&&F(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&F(o.height)/e.offsetHeight||1);var s=(B(e)?T(e):window).visualViewport,a=!I()&&n,l=(o.left+(a&&s?s.offsetLeft:0))/r,c=(o.top+(a&&s?s.offsetTop:0))/i,u=o.width/r,d=o.height/i;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function j(e){var t=D(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function R(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&V(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function $(e){return T(e).getComputedStyle(e)}function z(e){return["table","td","th"].indexOf(O(e))>=0}function H(e){return((B(e)?e.ownerDocument:e.document)||window.document).documentElement}function U(e){return"html"===O(e)?e:e.assignedSlot||e.parentNode||(V(e)?e.host:null)||H(e)}function K(e){return M(e)&&"fixed"!==$(e).position?e.offsetParent:null}function W(e){for(var t=T(e),n=K(e);n&&z(n)&&"static"===$(n).position;)n=K(n);return n&&("html"===O(n)||"body"===O(n)&&"static"===$(n).position)?t:n||function(e){var t=/firefox/i.test(L());if(/Trident/i.test(L())&&M(e)&&"fixed"===$(e).position)return null;var n=U(e);for(V(n)&&(n=n.host);M(n)&&["html","body"].indexOf(O(n))<0;){var o=$(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function Q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Y(e,t,n){return A(e,q(t,n))}function G(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Z(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const J={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,a=e.name,c=e.options,u=n.elements.arrow,d=n.modifiersData.popperOffsets,p=P(n.placement),f=Q(p),h=[s,i].indexOf(p)>=0?"height":"width";if(u&&d){var m=function(e,t){return G("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Z(e,l))}(c.padding,n),v=j(u),y="y"===f?o:s,g="y"===f?r:i,b=n.rects.reference[h]+n.rects.reference[f]-d[f]-n.rects.popper[h],_=d[f]-n.rects.reference[f],w=W(u),x=w?"y"===f?w.clientHeight||0:w.clientWidth||0:0,k=b/2-_/2,E=m[y],S=x-v[h]-m[g],C=x/2-v[h]/2+k,O=Y(E,C,S),T=f;n.modifiersData[a]=((t={})[T]=O,t.centerOffset=O-C,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&R(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function X(e){return e.split("-")[1]}var ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(e){var t,n=e.popper,a=e.popperRect,l=e.placement,c=e.variation,d=e.offsets,p=e.position,f=e.gpuAcceleration,h=e.adaptive,m=e.roundOffsets,v=e.isFixed,y=d.x,g=void 0===y?0:y,b=d.y,_=void 0===b?0:b,w="function"==typeof m?m({x:g,y:_}):{x:g,y:_};g=w.x,_=w.y;var x=d.hasOwnProperty("x"),k=d.hasOwnProperty("y"),E=s,S=o,C=window;if(h){var O=W(n),B="clientHeight",M="clientWidth";if(O===T(n)&&"static"!==$(O=H(n)).position&&"absolute"===p&&(B="scrollHeight",M="scrollWidth"),l===o||(l===s||l===i)&&c===u)S=r,_-=(v&&O===C&&C.visualViewport?C.visualViewport.height:O[B])-a.height,_*=f?1:-1;if(l===s||(l===o||l===r)&&c===u)E=i,g-=(v&&O===C&&C.visualViewport?C.visualViewport.width:O[M])-a.width,g*=f?1:-1}var V,N=Object.assign({position:p},h&&ee),P=!0===m?function(e){var t=e.x,n=e.y,o=window.devicePixelRatio||1;return{x:F(t*o)/o||0,y:F(n*o)/o||0}}({x:g,y:_}):{x:g,y:_};return g=P.x,_=P.y,f?Object.assign({},N,((V={})[S]=k?"0":"",V[E]=x?"0":"",V.transform=(C.devicePixelRatio||1)<=1?"translate("+g+"px, "+_+"px)":"translate3d("+g+"px, "+_+"px, 0)",V)):Object.assign({},N,((t={})[S]=k?_+"px":"",t[E]=x?g+"px":"",t.transform="",t))}const ne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,s=void 0===i||i,a=n.roundOffsets,l=void 0===a||a,c={placement:P(t.placement),variation:X(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,te(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,te(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var oe={passive:!0};const re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=void 0===r||r,s=o.resize,a=void 0===s||s,l=T(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,oe)})),a&&l.addEventListener("resize",n.update,oe),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,oe)})),a&&l.removeEventListener("resize",n.update,oe)}},data:{}};var ie={left:"right",right:"left",bottom:"top",top:"bottom"};function se(e){return e.replace(/left|right|bottom|top/g,(function(e){return ie[e]}))}var ae={start:"end",end:"start"};function le(e){return e.replace(/start|end/g,(function(e){return ae[e]}))}function ce(e){var t=T(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ue(e){return D(H(e)).left+ce(e).scrollLeft}function de(e){var t=$(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function pe(e){return["html","body","#document"].indexOf(O(e))>=0?e.ownerDocument.body:M(e)&&de(e)?e:pe(U(e))}function fe(e,t){var n;void 0===t&&(t=[]);var o=pe(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=T(o),s=r?[i].concat(i.visualViewport||[],de(o)?o:[]):o,a=t.concat(s);return r?a:a.concat(fe(U(s)))}function he(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function me(e,t,n){return t===p?he(function(e,t){var n=T(e),o=H(e),r=n.visualViewport,i=o.clientWidth,s=o.clientHeight,a=0,l=0;if(r){i=r.width,s=r.height;var c=I();(c||!c&&"fixed"===t)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:i,height:s,x:a+ue(e),y:l}}(e,n)):B(t)?function(e,t){var n=D(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):he(function(e){var t,n=H(e),o=ce(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=A(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=A(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-o.scrollLeft+ue(e),l=-o.scrollTop;return"rtl"===$(r||n).direction&&(a+=A(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}(H(e)))}function ve(e,t,n,o){var r="clippingParents"===t?function(e){var t=fe(U(e)),n=["absolute","fixed"].indexOf($(e).position)>=0&&M(e)?W(e):e;return B(n)?t.filter((function(e){return B(e)&&R(e,n)&&"body"!==O(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),s=i[0],a=i.reduce((function(t,n){var r=me(e,n,o);return t.top=A(r.top,t.top),t.right=q(r.right,t.right),t.bottom=q(r.bottom,t.bottom),t.left=A(r.left,t.left),t}),me(e,s,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ye(e){var t,n=e.reference,a=e.element,l=e.placement,d=l?P(l):null,p=l?X(l):null,f=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2;switch(d){case o:t={x:f,y:n.y-a.height};break;case r:t={x:f,y:n.y+n.height};break;case i:t={x:n.x+n.width,y:h};break;case s:t={x:n.x-a.width,y:h};break;default:t={x:n.x,y:n.y}}var m=d?Q(d):null;if(null!=m){var v="y"===m?"height":"width";switch(p){case c:t[m]=t[m]-(n[v]/2-a[v]/2);break;case u:t[m]=t[m]+(n[v]/2-a[v]/2)}}return t}function ge(e,t){void 0===t&&(t={});var n=t,s=n.placement,a=void 0===s?e.placement:s,c=n.strategy,u=void 0===c?e.strategy:c,m=n.boundary,v=void 0===m?d:m,y=n.rootBoundary,g=void 0===y?p:y,b=n.elementContext,_=void 0===b?f:b,w=n.altBoundary,x=void 0!==w&&w,k=n.padding,E=void 0===k?0:k,S=G("number"!=typeof E?E:Z(E,l)),C=_===f?h:f,O=e.rects.popper,T=e.elements[x?C:_],M=ve(B(T)?T:T.contextElement||H(e.elements.popper),v,g,u),V=D(e.elements.reference),N=ye({reference:V,element:O,strategy:"absolute",placement:a}),P=he(Object.assign({},O,N)),A=_===f?P:V,q={top:M.top-A.top+S.top,bottom:A.bottom-M.bottom+S.bottom,left:M.left-A.left+S.left,right:A.right-M.right+S.right},F=e.modifiersData.offset;if(_===f&&F){var L=F[a];Object.keys(q).forEach((function(e){var t=[i,r].indexOf(e)>=0?1:-1,n=[o,r].indexOf(e)>=0?"y":"x";q[e]+=L[n]*t}))}return q}const be={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var d=n.mainAxis,p=void 0===d||d,f=n.altAxis,h=void 0===f||f,y=n.fallbackPlacements,g=n.padding,b=n.boundary,_=n.rootBoundary,w=n.altBoundary,x=n.flipVariations,k=void 0===x||x,E=n.allowedAutoPlacements,S=t.options.placement,C=P(S),O=y||(C===S||!k?[se(S)]:function(e){if(P(e)===a)return[];var t=se(e);return[le(e),t,le(t)]}(S)),T=[S].concat(O).reduce((function(e,n){return e.concat(P(n)===a?function(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?v:c,d=X(o),p=d?a?m:m.filter((function(e){return X(e)===d})):l,f=p.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=p);var h=f.reduce((function(t,n){return t[n]=ge(e,{placement:n,boundary:r,rootBoundary:i,padding:s})[P(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:b,rootBoundary:_,padding:g,flipVariations:k,allowedAutoPlacements:E}):n)}),[]),B=t.rects.reference,M=t.rects.popper,V=new Map,N=!0,A=T[0],q=0;q<T.length;q++){var F=T[q],L=P(F),I=X(F)===c,D=[o,r].indexOf(L)>=0,j=D?"width":"height",R=ge(t,{placement:F,boundary:b,rootBoundary:_,altBoundary:w,padding:g}),$=D?I?i:s:I?r:o;B[j]>M[j]&&($=se($));var z=se($),H=[];if(p&&H.push(R[L]<=0),h&&H.push(R[$]<=0,R[z]<=0),H.every((function(e){return e}))){A=F,N=!1;break}V.set(F,H)}if(N)for(var U=function(e){var t=T.find((function(t){var n=V.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return A=t,"break"},K=k?3:1;K>0;K--){if("break"===U(K))break}t.placement!==A&&(t.modifiersData[u]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function _e(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function we(e){return[o,i,r,s].some((function(t){return e[t]>=0}))}const xe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,s=ge(t,{elementContext:"reference"}),a=ge(t,{altBoundary:!0}),l=_e(s,o),c=_e(a,r,i),u=we(l),d=we(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};const ke={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.offset,l=void 0===a?[0,0]:a,c=v.reduce((function(e,n){return e[n]=function(e,t,n){var r=P(e),a=[s,o].indexOf(r)>=0?-1:1,l="function"==typeof n?n(Object.assign({},t,{placement:e})):n,c=l[0],u=l[1];return c=c||0,u=(u||0)*a,[s,i].indexOf(r)>=0?{x:u,y:c}:{x:c,y:u}}(n,t.rects,l),e}),{}),u=c[t.placement],d=u.x,p=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=p),t.modifiersData[r]=c}};const Ee={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ye({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};const Se={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,a=e.name,l=n.mainAxis,u=void 0===l||l,d=n.altAxis,p=void 0!==d&&d,f=n.boundary,h=n.rootBoundary,m=n.altBoundary,v=n.padding,y=n.tether,g=void 0===y||y,b=n.tetherOffset,_=void 0===b?0:b,w=ge(t,{boundary:f,rootBoundary:h,padding:v,altBoundary:m}),x=P(t.placement),k=X(t.placement),E=!k,S=Q(x),C="x"===S?"y":"x",O=t.modifiersData.popperOffsets,T=t.rects.reference,B=t.rects.popper,M="function"==typeof _?_(Object.assign({},t.rects,{placement:t.placement})):_,V="number"==typeof M?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(O){if(u){var L,I="y"===S?o:s,D="y"===S?r:i,R="y"===S?"height":"width",$=O[S],z=$+w[I],H=$-w[D],U=g?-B[R]/2:0,K=k===c?T[R]:B[R],G=k===c?-B[R]:-T[R],Z=t.elements.arrow,J=g&&Z?j(Z):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[I],ne=ee[D],oe=Y(0,T[R],J[R]),re=E?T[R]/2-U-oe-te-V.mainAxis:K-oe-te-V.mainAxis,ie=E?-T[R]/2+U+oe+ne+V.mainAxis:G+oe+ne+V.mainAxis,se=t.elements.arrow&&W(t.elements.arrow),ae=se?"y"===S?se.clientTop||0:se.clientLeft||0:0,le=null!=(L=null==N?void 0:N[S])?L:0,ce=$+ie-le,ue=Y(g?q(z,$+re-le-ae):z,$,g?A(H,ce):H);O[S]=ue,F[S]=ue-$}if(p){var de,pe="x"===S?o:s,fe="x"===S?r:i,he=O[C],me="y"===C?"height":"width",ve=he+w[pe],ye=he-w[fe],be=-1!==[o,s].indexOf(x),_e=null!=(de=null==N?void 0:N[C])?de:0,we=be?ve:he-T[me]-B[me]-_e+V.altAxis,xe=be?he+T[me]+B[me]-_e-V.altAxis:ye,ke=g&&be?function(e,t,n){var o=Y(e,t,n);return o>n?n:o}(we,he,xe):Y(g?we:ve,he,g?xe:ye);O[C]=ke,F[C]=ke-he}t.modifiersData[a]=F}},requiresIfExists:["offset"]};function Ce(e,t,n){void 0===n&&(n=!1);var o,r,i=M(t),s=M(t)&&function(e){var t=e.getBoundingClientRect(),n=F(t.width)/e.offsetWidth||1,o=F(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),a=H(t),l=D(e,s,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==O(t)||de(a))&&(c=(o=t)!==T(o)&&M(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:ce(o)),M(t)?((u=D(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=ue(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Oe(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}var Te={placement:"bottom",modifiers:[],strategy:"absolute"};function Be(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Me(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?Te:r;return function(e,t,n){void 0===n&&(n=i);var r,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Te,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){var r="function"==typeof n?n(a.options):n;d(),a.options=Object.assign({},i,a.options,r),a.scrollParents={reference:B(e)?fe(e):e.contextElement?fe(e.contextElement):[],popper:fe(t)};var s=function(e){var t=Oe(e);return C.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(o,a.options.modifiers)));return a.orderedModifiers=s.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var i=r({state:a,name:t,instance:u,options:o}),s=function(){};l.push(i||s)}})),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(Be(t,n)){a.rects={reference:Ce(t,W(n),"fixed"===a.options.strategy),popper:j(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<a.orderedModifiers.length;o++)if(!0!==a.reset){var r=a.orderedModifiers[o],i=r.fn,s=r.options,l=void 0===s?{}:s,d=r.name;"function"==typeof i&&(a=i({state:a,options:l,name:d,instance:u})||a)}else a.reset=!1,o=-1}}},update:(r=function(){return new Promise((function(e){u.forceUpdate(),e(a)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(r())}))}))),s}),destroy:function(){d(),c=!0}};if(!Be(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var Ve=Me(),Ne=Me({defaultModifiers:[re,Ee,ne,N,ke,be,Se,J,xe]}),Pe=Me({defaultModifiers:[re,Ee,ne,N]})},3577:(e,t,n)=>{"use strict";function o(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}n.r(t),n.d(t,{EMPTY_ARR:()=>I,EMPTY_OBJ:()=>L,NO:()=>j,NOOP:()=>D,PatchFlagNames:()=>r,camelize:()=>pe,capitalize:()=>me,def:()=>be,escapeHtml:()=>M,escapeHtmlComment:()=>N,extend:()=>H,genPropsAccessExp:()=>Ee,generateCodeFrame:()=>a,getGlobalThis:()=>xe,hasChanged:()=>ye,hasOwn:()=>W,hyphenate:()=>he,includeBooleanAttr:()=>d,invokeArrayFns:()=>ge,isArray:()=>Q,isBooleanAttr:()=>u,isBuiltInDirective:()=>ce,isDate:()=>Z,isFunction:()=>J,isGloballyWhitelisted:()=>s,isHTMLTag:()=>C,isIntegerKey:()=>ae,isKnownHtmlAttr:()=>y,isKnownSvgAttr:()=>g,isMap:()=>Y,isModelListener:()=>z,isNoUnitNumericStyleProp:()=>v,isObject:()=>te,isOn:()=>$,isPlainObject:()=>se,isPromise:()=>ne,isReservedProp:()=>le,isSSRSafeAttrName:()=>h,isSVGTag:()=>O,isSet:()=>G,isSpecialBooleanAttr:()=>c,isString:()=>X,isSymbol:()=>ee,isVoidTag:()=>T,looseEqual:()=>P,looseIndexOf:()=>A,makeMap:()=>o,normalizeClass:()=>E,normalizeProps:()=>S,normalizeStyle:()=>b,objectToString:()=>oe,parseStringStyle:()=>x,propsToAttrMap:()=>m,remove:()=>U,slotFlagsText:()=>i,stringifyStyle:()=>k,toDisplayString:()=>q,toHandlerKey:()=>ve,toNumber:()=>_e,toRawType:()=>ie,toTypeString:()=>re});const r={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},i={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},s=o("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function a(e,t=0,n=e.length){let o=e.split(/(\r?\n)/);const r=o.filter(((e,t)=>t%2==1));o=o.filter(((e,t)=>t%2==0));let i=0;const s=[];for(let e=0;e<o.length;e++)if(i+=o[e].length+(r[e]&&r[e].length||0),i>=t){for(let a=e-2;a<=e+2||n>i;a++){if(a<0||a>=o.length)continue;const l=a+1;s.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${o[a]}`);const c=o[a].length,u=r[a]&&r[a].length||0;if(a===e){const e=t-(i-(c+u)),o=Math.max(1,n>i?c-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(a>e){if(n>i){const e=Math.max(Math.min(n-i,c),1);s.push(" | "+"^".repeat(e))}i+=c+u}}break}return s.join("\n")}const l="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",c=o(l),u=o(l+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function d(e){return!!e||""===e}const p=/[>/="'\u0009\u000a\u000c\u0020]/,f={};function h(e){if(f.hasOwnProperty(e))return f[e];const t=p.test(e);return t&&console.error(`unsafe attribute name: ${e}`),f[e]=!t}const m={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},v=o("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width"),y=o("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),g=o("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function b(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=X(o)?x(o):b(o);if(r)for(const e in r)t[e]=r[e]}return t}return X(e)||te(e)?e:void 0}const _=/;(?![^(]*\))/g,w=/:(.+)/;function x(e){const t={};return e.split(_).forEach((e=>{if(e){const n=e.split(w);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function k(e){let t="";if(!e||X(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:he(n);(X(o)||"number"==typeof o&&v(r))&&(t+=`${r}:${o};`)}return t}function E(e){let t="";if(X(e))t=e;else if(Q(e))for(let n=0;n<e.length;n++){const o=E(e[n]);o&&(t+=o+" ")}else if(te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function S(e){if(!e)return null;let{class:t,style:n}=e;return t&&!X(t)&&(e.class=E(t)),n&&(e.style=b(n)),e}const C=o("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),O=o("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),T=o("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),B=/["'&<>]/;function M(e){const t=""+e,n=B.exec(t);if(!n)return t;let o,r,i="",s=0;for(r=n.index;r<t.length;r++){switch(t.charCodeAt(r)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 39:o="&#39;";break;case 60:o="&lt;";break;case 62:o="&gt;";break;default:continue}s!==r&&(i+=t.slice(s,r)),s=r+1,i+=o}return s!==r?i+t.slice(s,r):i}const V=/^-?>|<!--|-->|--!>|<!-$/g;function N(e){return e.replace(V,"")}function P(e,t){if(e===t)return!0;let n=Z(e),o=Z(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=ee(e),o=ee(t),n||o)return e===t;if(n=Q(e),o=Q(t),n||o)return!(!n||!o)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=P(e[o],t[o]);return n}(e,t);if(n=te(e),o=te(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(o&&!r||!o&&r||!P(e[n],t[n]))return!1}}return String(e)===String(t)}function A(e,t){return e.findIndex((e=>P(e,t)))}const q=e=>X(e)?e:null==e?"":Q(e)||te(e)&&(e.toString===oe||!J(e.toString))?JSON.stringify(e,F,2):String(e),F=(e,t)=>t&&t.__v_isRef?F(e,t.value):Y(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:G(t)?{[`Set(${t.size})`]:[...t.values()]}:!te(t)||Q(t)||se(t)?t:String(t),L={},I=[],D=()=>{},j=()=>!1,R=/^on[^a-z]/,$=e=>R.test(e),z=e=>e.startsWith("onUpdate:"),H=Object.assign,U=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},K=Object.prototype.hasOwnProperty,W=(e,t)=>K.call(e,t),Q=Array.isArray,Y=e=>"[object Map]"===re(e),G=e=>"[object Set]"===re(e),Z=e=>"[object Date]"===re(e),J=e=>"function"==typeof e,X=e=>"string"==typeof e,ee=e=>"symbol"==typeof e,te=e=>null!==e&&"object"==typeof e,ne=e=>te(e)&&J(e.then)&&J(e.catch),oe=Object.prototype.toString,re=e=>oe.call(e),ie=e=>re(e).slice(8,-1),se=e=>"[object Object]"===re(e),ae=e=>X(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,le=o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ce=o("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),ue=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},de=/-(\w)/g,pe=ue((e=>e.replace(de,((e,t)=>t?t.toUpperCase():"")))),fe=/\B([A-Z])/g,he=ue((e=>e.replace(fe,"-$1").toLowerCase())),me=ue((e=>e.charAt(0).toUpperCase()+e.slice(1))),ve=ue((e=>e?`on${me(e)}`:"")),ye=(e,t)=>!Object.is(e,t),ge=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},be=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},_e=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let we;const xe=()=>we||(we="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{}),ke=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function Ee(e){return ke.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}},7478:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var whatwg_fetch__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7147),_components_Form__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(2479),_models_LanguageModel__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(6484),_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(3012),_models_Helper__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3356);function _typeof(e){return _typeof="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},_typeof(e)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){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 _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(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)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i=[],s=!0,a=!1;try{for(n=n.call(e);!(s=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);s=!0);}catch(e){a=!0,r=e}finally{try{s||null==n.return||n.return()}finally{if(a)throw r}}return i}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach((function(t){_defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _regeneratorRuntime(){_regeneratorRuntime=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function a(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(e){a=function(e,t,n){return e[t]=n}}function l(e,t,n,o){var r=t&&t.prototype instanceof d?t:d,i=Object.create(r.prototype),s=new k(o||[]);return i._invoke=function(e,t,n){var o="suspendedStart";return function(r,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===r)throw i;return S()}for(n.method=r,n.arg=i;;){var s=n.delegate;if(s){var a=_(s,n);if(a){if(a===u)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o="executing";var l=c(e,t,n);if("normal"===l.type){if(o=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o="completed",n.method="throw",n.arg=l.arg)}}}(e,n,s),i}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function p(){}function f(){}var h={};a(h,r,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(E([])));v&&v!==t&&n.call(v,r)&&(h=v);var y=f.prototype=d.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){a(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function o(r,i,s,a){var l=c(e[r],e,i);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==_typeof(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,s,a)}),(function(e){o("throw",e,s,a)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return o("throw",e,s,a)}))}a(l.arg)}var r;this._invoke=function(e,n){function i(){return new t((function(t,r){o(e,n,t,r)}))}return r=r?r.then(i,i):i()}}function _(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var o=c(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,u;var r=o.arg;return r?r.done?(t[e.resultName]=r.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function E(e){if(e){var t=e[r];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function t(){for(;++o<e.length;)if(n.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=f,a(y,"constructor",f),a(f,"constructor",p),p.displayName=a(f,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a(e,s,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},g(b.prototype),a(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,n,o,r,i){void 0===i&&(i=Promise);var s=new b(l(t,n,o,r),i);return e.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},g(y),a(y,s,"Generator"),a(y,r,(function(){return this})),a(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var o=t.pop();if(o in e)return n.value=o,n.done=!1,n}return n.done=!0,n}},e.values=E,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(n,o){return s.type="throw",s.arg=e,t.next=n,o&&(t.method="next",t.arg=void 0),!!o}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var a=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(a&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;x(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function asyncGeneratorStep(e,t,n,o,r,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(o,r)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var i=e.apply(t,n);function s(e){asyncGeneratorStep(i,o,r,s,a,"next",e)}function a(e){asyncGeneratorStep(i,o,r,s,a,"throw",e)}s(void 0)}))}}const __WEBPACK_DEFAULT_EXPORT__={name:"app",components:{FlowForm:_components_Form__WEBPACK_IMPORTED_MODULE_1__.Z},data:function(){return{submitted:!1,completed:!1,language:new _models_LanguageModel__WEBPACK_IMPORTED_MODULE_3__.Z,submissionMessage:"",responseMessage:"",hasError:!1,hasjQuery:"function"==typeof window.jQuery,isActiveForm:!1,submitting:!1,handlingScroll:!1,isScrollInit:!1,scrollDom:null}},computed:{questions:function questions(){var questions=[],fieldsWithOptions=[_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ce.Dropdown,_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ce.MultipleChoice,_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ce.MultiplePictureChoice,_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ce.TermsAndCondition,"FlowFormDropdownMultipleType"];return this.globalVars.form.questions.forEach((function(q){if(fieldsWithOptions.includes(q.type))q.options=q.options.map((function(e){return q.type===_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ce.MultiplePictureChoice&&(e.imageSrc=e.image),new _models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.L1(e)}));else if(q.type===_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ce.Date)try{eval("q.dateCustomConfig="+q.dateCustomConfig)}catch(e){q.dateCustomConfig={}}else if("FlowFormMatrixType"===q.type){for(var rowIndex in q.rows=[],q.columns=[],q.grid_rows)q.rows.push(new _models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.Ux({id:rowIndex,label:q.grid_rows[rowIndex]}));for(var colIndex in q.grid_columns)q.columns.push(new _models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.vF({value:colIndex,label:q.grid_columns[colIndex]}))}else"FlowFormPaymentMethodType"===q.type?q.options=q.options.map((function(e){return q.type===_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ce.MultiplePictureChoice&&(e.imageSrc=e.image),new _models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.L1(e)})):"FlowFormSubscriptionType"===q.type&&q.options&&(q.options=q.options.map((function(e){return new _models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.L1(e)})));questions.push(new _models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ZP(q))})),questions}},watch:{isActiveForm:function(e){e&&!this.isScrollInit?(this.initScrollHandler(),this.isScrollInit=!0):(this.isScrollInit=!1,this.removeScrollHandler())}},mounted:function(){if(this.initActiveFormFocus(),"yes"!=this.globalVars.design.disable_scroll_to_next){var e=document.getElementsByClassName("ff_conv_app_"+this.globalVars.form.id);e.length&&(this.scrollDom=e[0])}},beforeDestroy:function(){},methods:{onAnswer:function(){this.isActiveForm=!0},initScrollHandler:function(){this.scrollDom&&(this.scrollDom.addEventListener("wheel",this.onMouseScroll),this.scrollDom.addEventListener("swiped",this.onSwipe))},onMouseScroll:function(e){if(this.handlingScroll)return!1;e.deltaY>50?this.handleAutoQChange("next"):e.deltaY<-50&&this.handleAutoQChange("prev")},onSwipe:function(e){var t=e.detail.dir;"up"===t?this.handleAutoQChange("next"):"down"===t&&this.handleAutoQChange("prev")},removeScrollHandler:function(){this.scrollDom.removeEventListener("wheel",this.onMouseScroll),this.scrollDom.removeEventListener("swiped",this.onSwipe)},handleAutoQChange:function(e){var t,n=document.querySelector(".ff_conv_app_"+this.globalVars.form.id+" .f-"+e);!n||(t="f-disabled",(" "+n.className+" ").indexOf(" "+t+" ")>-1)||(this.handlingScroll=!0,n.click())},activeQuestionIndexChanged:function(){var e=this;setTimeout((function(){e.handlingScroll=!1}),1500)},initActiveFormFocus:function(){var e=this;if(this.globalVars.is_inline_form){this.isActiveForm=!1;var t=document.querySelector(".ff_conv_app_frame");document.addEventListener("click",(function(n){e.isActiveForm=t.contains(n.target)}))}else this.isActiveForm=!0},onKeyListener:function(e){"Enter"===e.key&&this.completed&&!this.submitted&&this.submitting},onComplete:function(e,t){this.completed=e},onSubmit:function(e){this.submitting||this.onSendData()},onSendData:function(e,t){var n=this;return _asyncToGenerator(_regeneratorRuntime().mark((function o(){var r,i,s,a,l;return _regeneratorRuntime().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(a=function(e){var t=s;return t+=(t.split("?")[1]?"&":"?")+e},n.submitting=!0,!t&&n.globalVars.form.hasPayment&&(t=n.globalVars.paymentConfig.i18n.confirming_text),n.responseMessage=t||"",n.hasError=!1,e){o.next=13;break}return o.next=8,n.getData();case 8:for(i in r=o.sent,n.globalVars.extra_inputs)r+="&"+encodeURIComponent(i)+"="+encodeURIComponent(n.globalVars.extra_inputs[i]);(e=new FormData).append("action","fluentform_submit"),e.append("data",r);case 13:e.append("form_id",n.globalVars.form.id),s=n.globalVars.ajaxurl,l=a("t="+Date.now()),fetch(l,{method:"POST",body:e}).then((function(e){return e.json()})).then((function(e){e&&e.data&&e.data.result?e.data.nextAction?n.handleNextAction(e.data):(n.$refs.flowform.submitted=n.submitted=!0,e.data.result.message&&(n.submissionMessage=e.data.result.message),"redirectUrl"in e.data.result&&e.data.result.redirectUrl&&(location.href=e.data.result.redirectUrl)):e.errors?(n.showErrorMessages(e.errors),n.showErrorMessages(e.message)):e.success?(n.showErrorMessages(e),n.showErrorMessages(e.message)):n.showErrorMessages(e.data.message)})).catch((function(e){e.errors?n.showErrorMessages(e.errors):n.showErrorMessages(e)})).finally((function(e){n.submitting=!1}));case 17:case"end":return o.stop()}}),o)})))()},getData:function(){var e=this;return _asyncToGenerator(_regeneratorRuntime().mark((function t(){var n;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=[],e.$refs.flowform.questionList.forEach((function(t){null!==t.answer&&e.serializeAnswer(t,n)})),e.questions.forEach((function(t){t.type===_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ce.Hidden&&null!==t.answer&&e.serializeAnswer(t,n)})),t.next=5,e.setCaptchaResponse(n);case 5:return t.abrupt("return",n.join("&"));case 6:case"end":return t.stop()}}),t)})))()},serializeAnswer:function(e,t){if("FlowFormMatrixType"===e.type){var n=function(n){e.multiple?e.answer[n].forEach((function(o){t.push(encodeURIComponent(e.name+"["+n+"][]")+"="+encodeURIComponent(o))})):t.push(encodeURIComponent(e.name+"["+n+"]")+"="+encodeURIComponent(e.answer[n]))};for(var o in e.answer)n(o)}else if(e.is_subscription_field){if(t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.answer)),e.customPayment){var r=e.name+"_custom_"+e.answer;t.push(encodeURIComponent(r)+"="+encodeURIComponent(e.customPayment))}}else if(e.multiple)e.answer.forEach((function(n){n=(0,_models_Helper__WEBPACK_IMPORTED_MODULE_4__.h)(n,e),t.push(encodeURIComponent(e.name+"[]")+"="+encodeURIComponent(n))}));else{var i=(0,_models_Helper__WEBPACK_IMPORTED_MODULE_4__.h)(e.answer,e);t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(i))}return t},getSubmitText:function(){return this.globalVars.form.submit_button.settings.button_ui.text||"Submit"},showErrorMessages:function(e){var t=this;if(e){if(this.hasError=!0,"string"==typeof e)this.responseMessage=e;else{var n=function(n){if("string"==typeof e[n])t.responseMessage=e[n];else for(var o in e[n]){var r=t.questions.filter((function(e){return e.name===n}));r&&r.length?((r=r[0]).error=e[n][o],t.$refs.flowform.activeQuestionIndex=r.index,t.$refs.flowform.questionRefs[r.index].focusField()):t.responseMessage=e[n][o];break}return"break"};for(var o in e){if("break"===n(o))break}}this.replayForm()}},handleNextAction:function(e){this[e.actionName]?(this.responseMessage=e.message,this.hasError=!1,this[e.actionName](e)):alert("No method found")},normalRedirect:function(e){window.location.href=e.redirect_url},stripeRedirectToCheckout:function(e){var t=new Stripe(this.globalVars.paymentConfig.stripe.publishable_key);t.registerAppInfo(this.globalVars.paymentConfig.stripe_app_info),t.redirectToCheckout({sessionId:e.sessionId}).then((function(e){console.log(e)}))},initRazorPayModal:function(e){var t=this,n=e.modal_data;n.handler=function(n){t.handlePaymentConfirm({action:"fluentform_razorpay_confirm_payment",transaction_hash:e.transaction_hash,razorpay_order_id:n.razorpay_order_id,razorpay_payment_id:n.razorpay_payment_id,razorpay_signature:n.razorpay_signature},e.confirming_text)},n.modal={escape:!1,ondismiss:function(){t.responseMessage="",t.replayForm(!0)}};var o=new Razorpay(n);o.on("payment.failed",(function(e){this.replayForm(!0)})),o.open()},initPaystackModal:function(e){var t=this,n=e.modal_data;n.callback=function(n){t.handlePaymentConfirm(_objectSpread({action:"fluentform_paystack_confirm_payment"},n),e.confirming_text)},n.onClose=function(e){t.responseMessage=""},PaystackPop.setup(n).openIframe()},initStripeSCAModal:function(e){var t=this;console.log("calledinitStripeSCAModal",e,this.stripe),this.stripe.handleCardAction(e.client_secret).then((function(n){n.error?t.showErrorMessages(n.error.message):t.handlePaymentConfirm({action:"fluentform_sca_inline_confirm_payment",payment_method:n.paymentIntent.payment_method,payment_intent_id:n.paymentIntent.id,submission_id:e.submission_id,type:"handleCardAction"})}))},stripeSetupIntent:function(e){var t=this;this.stripe.confirmCardPayment(e.client_secret,{payment_method:e.payment_method_id}).then((function(n){n.error?t.showErrorMessages(n.error.message):t.handlePaymentConfirm({action:"fluentform_sca_inline_confirm_payment_setup_intents",payment_method:n.paymentIntent.payment_method,payemnt_method_id:e.payemnt_method_id,payment_intent_id:n.paymentIntent.id,submission_id:e.submission_id,stripe_subscription_id:e.stripe_subscription_id,type:"handleCardSetup"})}))},handlePaymentConfirm:function(e,t){t=t||this.globalVars.paymentConfig.i18n.confirming_text;for(var n=Object.entries(e),o=new FormData,r=0,i=n;r<i.length;r++){var s=_slicedToArray(i[r],2),a=s[0],l=s[1];o.append(a,l)}this.onSendData(o,t)},replayForm:function(){this.$refs.flowform.submitted=this.submitted=!1,this.$refs.flowform.submitClicked=!1},setCaptchaResponse:function(e){var t=this;return _asyncToGenerator(_regeneratorRuntime().mark((function n(){var o,r;return _regeneratorRuntime().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!t.globalVars.form.reCaptcha){n.next=9;break}if(2!=t.globalVars.form.reCaptcha.version){n.next=5;break}o=grecaptcha.getResponse(),n.next=8;break;case 5:return n.next=7,grecaptcha.execute(t.globalVars.form.reCaptcha.siteKey,{action:"submit"});case 7:o=n.sent;case 8:o&&e.push("g-recaptcha-response="+o);case 9:t.globalVars.form.hCaptcha&&(r=hcaptcha.getResponse())&&e.push("h-captcha-response="+r);case 10:case"end":return n.stop()}}),n)})))()}}}},8289:(e,t,n)=>{"use strict";function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}n.d(t,{Z:()=>r});var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.enterKey="Enter",this.shiftKey="Shift",this.ok="OK",this.continue="Continue",this.skip="Skip",this.pressEnter="Press :enterKey",this.multipleChoiceHelpText="Choose as many as you like",this.multipleChoiceHelpTextSingle="Choose only one answer",this.otherPrompt="Other",this.placeholder="Type your answer here...",this.submitText="Submit",this.longTextHelpText=":shiftKey + :enterKey to make a line break.",this.prev="Prev",this.next="Next",this.percentCompleted=":percent% completed",this.invalidPrompt="Please fill out the field correctly",this.thankYouText="Thank you!",this.successText="Your submission has been sent.",this.ariaOk="Press to continue",this.ariaRequired="This step is required",this.ariaPrev="Previous step",this.ariaNext="Next step",this.ariaSubmitText="Press to submit",this.ariaMultipleChoice="Press :letter to select",this.ariaTypeAnswer="Type your answer here",this.errorAllowedFileTypes="Invalid file type. Allowed file types: :fileTypes.",this.errorMaxFileSize="File(s) too large. Maximum allowed file size: :size.",this.errorMinFiles="Too few files added. Minimum allowed files: :min.",this.errorMaxFiles="Too many files added. Maximum allowed files: :max.",Object.assign(this,t||{})}var t,n,r;return t=e,(n=[{key:"formatString",value:function(e,t){var n=this;return e.replace(/:(\w+)/g,(function(e,o){return n[o]?'<span class="f-string-em">'+n[o]+"</span>":t&&t[o]?t[o]:e}))}},{key:"formatFileSize",value:function(e){var t=e>0?Math.floor(Math.log(e)/Math.log(1024)):0;return 1*(e/Math.pow(1024,t)).toFixed(2)+" "+["B","kB","MB","GB","TB"][t]}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()},5291:(e,t,n)=>{"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{L1:()=>l,Ux:()=>d,ZP:()=>p,ce:()=>s,fB:()=>c,vF:()=>u});var s=Object.freeze({Date:"FlowFormDateType",Dropdown:"FlowFormDropdownType",Email:"FlowFormEmailType",File:"FlowFormFileType",LongText:"FlowFormLongTextType",MultipleChoice:"FlowFormMultipleChoiceType",MultiplePictureChoice:"FlowFormMultiplePictureChoiceType",Number:"FlowFormNumberType",Password:"FlowFormPasswordType",Phone:"FlowFormPhoneType",SectionBreak:"FlowFormSectionBreakType",Text:"FlowFormTextType",Url:"FlowFormUrlType",Matrix:"FlowFormMatrixType"}),a=(Object.freeze({label:"",value:"",disabled:!0}),Object.freeze({Date:"##/##/####",DateIso:"####-##-##",PhoneUs:"(###) ###-####"})),l=function(){function e(t){o(this,e),this.label="",this.value=null,this.selected=!1,this.imageSrc=null,this.imageAlt=null,Object.assign(this,t)}return i(e,[{key:"choiceLabel",value:function(){return this.label||this.value}},{key:"choiceValue",value:function(){return null!==this.value?this.value:this.label||this.imageAlt||this.imageSrc}},{key:"toggle",value:function(){this.selected=!this.selected}}]),e}(),c=i((function e(t){o(this,e),this.url="",this.text="",this.target="_blank",Object.assign(this,t)})),u=i((function e(t){o(this,e),this.value="",this.label="",Object.assign(this,t)})),d=i((function e(t){o(this,e),this.id="",this.label="",Object.assign(this,t)})),p=function(){function e(t){o(this,e),t=t||{},this.id=null,this.answer=null,this.answered=!1,this.index=0,this.options=[],this.description="",this.className="",this.type=null,this.html=null,this.required=!1,this.jump=null,this.placeholder=null,this.mask="",this.multiple=!1,this.allowOther=!1,this.other=null,this.language=null,this.tagline=null,this.title=null,this.subtitle=null,this.content=null,this.inline=!1,this.helpText=null,this.helpTextShow=!0,this.descriptionLink=[],this.min=null,this.max=null,this.maxLength=null,this.nextStepOnAnswer=!1,this.accept=null,this.maxSize=null,this.rows=[],this.columns=[],Object.assign(this,t),this.type===s.Phone&&(this.mask||(this.mask=a.Phone),this.placeholder||(this.placeholder=this.mask)),this.type===s.Url&&(this.mask=null),this.type!==s.Date||this.placeholder||(this.placeholder="yyyy-mm-dd"),this.type!==s.Matrix&&this.multiple&&!Array.isArray(this.answer)&&(this.answer=this.answer?[this.answer]:[]),(this.required||void 0===t.answer)&&(!this.answer||this.multiple&&!this.answer.length)||(this.answered=!0),this.resetOptions()}return i(e,[{key:"getJumpId",value:function(){var e=null;return"function"==typeof this.jump?e=this.jump.call(this):this.jump[this.answer]?e=this.jump[this.answer]:this.jump._other&&(e=this.jump._other),e}},{key:"setAnswer",value:function(e){this.type!==s.Number||""===e||isNaN(+e)||(e=+e),this.answer=e}},{key:"setIndex",value:function(e){this.id||(this.id="q_"+e),this.index=e}},{key:"resetOptions",value:function(){var e=this;if(this.options){var t=Array.isArray(this.answer),n=0;if(this.options.forEach((function(o){var r=o.choiceValue();e.answer===r||t&&-1!==e.answer.indexOf(r)?(o.selected=!0,++n):o.selected=!1})),this.allowOther){var o=null;t?this.answer.length&&this.answer.length!==n&&(o=this.answer[this.answer.length-1]):-1===this.options.map((function(e){return e.choiceValue()})).indexOf(this.answer)&&(o=this.answer),null!==o&&(this.other=o)}}}},{key:"resetAnswer",value:function(){this.answered=!1,this.answer=this.multiple?[]:null,this.other=null,this.resetOptions()}},{key:"isMultipleChoiceType",value:function(){return[s.MultipleChoice,s.MultiplePictureChoice].includes(this.type)}}]),e}()},5299:(e,t,n)=>{"use strict";var o=n(4865),r=(0,o.createElementVNode)("div",null,null,-1),i={key:0,class:"ff-response-msg"},s={key:1,class:"text-success ff_completed ff-response ff-section-text"},a={class:"vff vff_layout_default"},l={class:"f-container"},c={class:"f-form-wrap"},u={class:"vff-animate q-form f-fade-in-up field-welcomescreen"},d=["innerHTML"];var p=n(7478);const f=(0,n(3744).Z)(p.Z,[["render",function(e,t,n,p,f,h){var m=(0,o.resolveComponent)("flow-form");return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[f.submissionMessage?((0,o.openBlock)(),(0,o.createElementBlock)("div",s,[(0,o.createElementVNode)("div",a,[(0,o.createElementVNode)("div",l,[(0,o.createElementVNode)("div",c,[(0,o.createElementVNode)("div",u,[(0,o.createElementVNode)("div",{class:"ff_conv_input q-inner",innerHTML:f.submissionMessage},null,8,d)])])])])])):((0,o.openBlock)(),(0,o.createBlock)(m,{key:0,ref:"flowform",onComplete:h.onComplete,onSubmit:h.onSubmit,onActiveQuestionIndexChanged:h.activeQuestionIndexChanged,onAnswer:h.onAnswer,questions:h.questions,isActiveForm:f.isActiveForm,language:f.language,globalVars:e.globalVars,standalone:!0,submitting:f.submitting,navigation:1!=e.globalVars.disable_step_naviagtion},{complete:(0,o.withCtx)((function(){return[r]})),completeButton:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",null,[f.responseMessage?((0,o.openBlock)(),(0,o.createElementBlock)("div",i,[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(f.hasError?"f-invalid":"f-info"),role:"alert","aria-live":"assertive"},(0,o.toDisplayString)(f.responseMessage),3)])):(0,o.createCommentVNode)("",!0)])]})),_:1},8,["onComplete","onSubmit","onActiveQuestionIndexChanged","onAnswer","questions","isActiveForm","language","globalVars","submitting","navigation"]))])}]]);function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return m(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 m(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}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 i,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function v(e){window.fluent_forms_global_var=window[e.getAttribute("data-var_name")];var t=(0,o.createApp)(f);t.config.globalProperties.globalVars=window.fluent_forms_global_var,t.unmount(),t.mount("#"+e.id)}function y(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=h(t);try{for(n.s();!(e=n.n()).done;){var o=e.value;v(o)}}catch(e){n.e(e)}finally{n.f()}}n(6770),y(document.getElementsByClassName("ffc_conv_form")),document.addEventListener("ff-elm-conv-form-event",(function(e){y(e.detail)}))},3356:(e,t,n)=>{"use strict";function o(e,t){if(t.is_payment_field&&t.options&&t.options.length){var n=t.options.find((function(t){return t.value==e}));n&&(e=n.label)}return e}n.d(t,{h:()=>o})},6484:(e,t,n)=>{"use strict";function o(e){return o="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},o(e)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function s(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,o=l(e);if(t){var r=l(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return a(this,n)}}function a(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}n.d(t,{Z:()=>c});var c=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&&i(e,t)}(l,e);var t,n,o,a=s(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).ok=window.fluent_forms_global_var.i18n.confirm_btn,t.continue=window.fluent_forms_global_var.i18n.continue,t.skip=window.fluent_forms_global_var.i18n.skip_btn,t.pressEnter=window.fluent_forms_global_var.i18n.keyboard_instruction,t.multipleChoiceHelpText=window.fluent_forms_global_var.i18n.multi_select_hint,t.multipleChoiceHelpTextSingle=window.fluent_forms_global_var.i18n.single_select_hint,t.longTextHelpText=window.fluent_forms_global_var.i18n.long_text_help,t.percentCompleted=window.fluent_forms_global_var.i18n.progress_text,t.invalidPrompt=window.fluent_forms_global_var.i18n.invalid_prompt,t.placeholder=window.fluent_forms_global_var.i18n.default_placeholder,t}return t=l,n&&r(t.prototype,n),o&&r(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(n(8289).Z)},3012:(e,t,n)=>{"use strict";n.d(t,{L1:()=>o.L1,Ux:()=>o.Ux,ZP:()=>d,ce:()=>u,vF:()=>o.vF});var o=n(5291);function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function a(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,o=c(e);if(t){var r=c(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return l(this,n)}}function l(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}var u=Object.assign({Rate:"FlowFormRateType",Text:"FlowFormTextType",Email:"FlowFormEmailType",Phone:"FlowFormPhoneType",Hidden:"FlowFormHiddenType",SectionBreak:"FlowFormSectionBreakType",WelcomeScreen:"FlowFormWelcomeScreenType",MultipleChoice:"FlowFormMultipleChoiceType",DropdownMultiple:"FlowFormDropdownMultipleType",TermsAndCondition:"FlowFormTermsAndConditionType",MultiplePictureChoice:"FlowFormMultiplePictureChoiceType"},o.ce),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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(c,e);var t,n,o,l=a(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=l.call(this,e)).counter=0,t}return t=c,(n=[{key:"setCounter",value:function(e){this.counter=e}},{key:"showQuestion",value:function(e){if(this.type===u.Hidden)return!1;var t=!1;if(this.conditional_logics.status){for(var n=0;n<this.conditional_logics.conditions.length;n++){var o=this.evaluateCondition(this.conditional_logics.conditions[n],e[this.conditional_logics.conditions[n].field]);if("any"===this.conditional_logics.type){if(o){t=!0;break}}else{if(!o){t=!1;break}t=!0}}return t}return!0}},{key:"evaluateCondition",value:function(e,t){return"="==e.operator?"object"==r(t)?null!==t&&-1!=t.indexOf(e.value):t==e.value:"!="==e.operator?"object"==r(t)?null!==t&&-1==t.indexOf(e.value):t!=e.value:">"==e.operator?t&&t>Number(e.value):"<"==e.operator?t&&t<Number(e.value):">="==e.operator?t&&t>=Number(e.value):"<="==e.operator?t&&t<=Number(e.value):"startsWith"==e.operator?t.startsWith(e.value):"endsWith"==e.operator?t.endsWith(e.value):"contains"==e.operator?null!==t&&-1!=t.indexOf(e.value):"doNotContains"==e.operator&&null!==t&&-1==t.indexOf(e.value)}},{key:"isMultipleChoiceType",value:function(){return[u.MultipleChoice,u.MultiplePictureChoice,u.DropdownMultiple].includes(this.type)}}])&&i(t.prototype,n),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.ZP)},7484:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,o="millisecond",r="second",i="minute",s="hour",a="day",l="week",c="month",u="quarter",d="year",p="date",f="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},y=function(e,t,n){var o=String(e);return!o||o.length>=t?e:""+Array(t+1-o.length).join(n)+e},g={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),o=Math.floor(n/60),r=n%60;return(t<=0?"+":"-")+y(o,2,"0")+":"+y(r,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var o=12*(n.year()-t.year())+(n.month()-t.month()),r=t.clone().add(o,c),i=n-r<0,s=t.clone().add(o+(i?-1:1),c);return+(-(o+(n-r)/(i?r-s:s-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:l,d:a,D:p,h:s,m:i,s:r,ms:o,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",_={};_[b]=v;var w=function(e){return e instanceof S},x=function e(t,n,o){var r;if(!t)return b;if("string"==typeof t){var i=t.toLowerCase();_[i]&&(r=i),n&&(_[i]=n,r=i);var s=t.split("-");if(!r&&s.length>1)return e(s[0])}else{var a=t.name;_[a]=t,r=a}return!o&&r&&(b=r),r||!o&&b},k=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new S(n)},E=g;E.l=x,E.i=w,E.w=function(e,t){return k(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var S=function(){function v(e){this.$L=x(e.locale,null,!0),this.parse(e)}var y=v.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(E.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var o=t.match(h);if(o){var r=o[2]-1||0,i=(o[7]||"0").substring(0,3);return n?new Date(Date.UTC(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,i)):new Date(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return E},y.isValid=function(){return!(this.$d.toString()===f)},y.isSame=function(e,t){var n=k(e);return this.startOf(t)<=n&&n<=this.endOf(t)},y.isAfter=function(e,t){return k(e)<this.startOf(t)},y.isBefore=function(e,t){return this.endOf(t)<k(e)},y.$g=function(e,t,n){return E.u(e)?this[t]:this.set(n,e)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(e,t){var n=this,o=!!E.u(t)||t,u=E.p(e),f=function(e,t){var r=E.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return o?r:r.endOf(a)},h=function(e,t){return E.w(n.toDate()[e].apply(n.toDate("s"),(o?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,v=this.$M,y=this.$D,g="set"+(this.$u?"UTC":"");switch(u){case d:return o?f(1,0):f(31,11);case c:return o?f(1,v):f(0,v+1);case l:var b=this.$locale().weekStart||0,_=(m<b?m+7:m)-b;return f(o?y-_:y+(6-_),v);case a:case p:return h(g+"Hours",0);case s:return h(g+"Minutes",1);case i:return h(g+"Seconds",2);case r:return h(g+"Milliseconds",3);default:return this.clone()}},y.endOf=function(e){return this.startOf(e,!1)},y.$set=function(e,t){var n,l=E.p(e),u="set"+(this.$u?"UTC":""),f=(n={},n[a]=u+"Date",n[p]=u+"Date",n[c]=u+"Month",n[d]=u+"FullYear",n[s]=u+"Hours",n[i]=u+"Minutes",n[r]=u+"Seconds",n[o]=u+"Milliseconds",n)[l],h=l===a?this.$D+(t-this.$W):t;if(l===c||l===d){var m=this.clone().set(p,1);m.$d[f](h),m.init(),this.$d=m.set(p,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},y.set=function(e,t){return this.clone().$set(e,t)},y.get=function(e){return this[E.p(e)]()},y.add=function(o,u){var p,f=this;o=Number(o);var h=E.p(u),m=function(e){var t=k(f);return E.w(t.date(t.date()+Math.round(e*o)),f)};if(h===c)return this.set(c,this.$M+o);if(h===d)return this.set(d,this.$y+o);if(h===a)return m(1);if(h===l)return m(7);var v=(p={},p[i]=t,p[s]=n,p[r]=e,p)[h]||1,y=this.$d.getTime()+o*v;return E.w(y,this)},y.subtract=function(e,t){return this.add(-1*e,t)},y.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||f;var o=e||"YYYY-MM-DDTHH:mm:ssZ",r=E.z(this),i=this.$H,s=this.$m,a=this.$M,l=n.weekdays,c=n.months,u=function(e,n,r,i){return e&&(e[n]||e(t,o))||r[n].slice(0,i)},d=function(e){return E.s(i%12||12,e,"0")},p=n.meridiem||function(e,t,n){var o=e<12?"AM":"PM";return n?o.toLowerCase():o},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:E.s(a+1,2,"0"),MMM:u(n.monthsShort,a,c,3),MMMM:u(c,a),D:this.$D,DD:E.s(this.$D,2,"0"),d:String(this.$W),dd:u(n.weekdaysMin,this.$W,l,2),ddd:u(n.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(i),HH:E.s(i,2,"0"),h:d(1),hh:d(2),a:p(i,s,!0),A:p(i,s,!1),m:String(s),mm:E.s(s,2,"0"),s:String(this.$s),ss:E.s(this.$s,2,"0"),SSS:E.s(this.$ms,3,"0"),Z:r};return o.replace(m,(function(e,t){return t||h[e]||r.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(o,p,f){var h,m=E.p(p),v=k(o),y=(v.utcOffset()-this.utcOffset())*t,g=this-v,b=E.m(this,v);return b=(h={},h[d]=b/12,h[c]=b,h[u]=b/3,h[l]=(g-y)/6048e5,h[a]=(g-y)/864e5,h[s]=g/n,h[i]=g/t,h[r]=g/e,h)[m]||g,f?b:E.a(b)},y.daysInMonth=function(){return this.endOf(c).$D},y.$locale=function(){return _[this.$L]},y.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),o=x(e,t,!0);return o&&(n.$L=o),n},y.clone=function(){return E.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},v}(),C=S.prototype;return k.prototype=C,[["$ms",o],["$s",r],["$m",i],["$H",s],["$W",a],["$M",c],["$y",d],["$D",p]].forEach((function(e){C[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),k.extend=function(e,t){return e.$i||(e(t,S,k),e.$i=!0),k},k.locale=x,k.isDayjs=w,k.unix=function(e){return k(1e3*e)},k.en=_[b],k.Ls=_,k.p={},k}()},1247:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(6722),r=n(3566),i=n(4865),s=n(9272),a=n(2796);function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=l(r),u=l(a);const d=new Map;let p;function f(e,t){let n=[];return Array.isArray(t.arg)?n=t.arg:n.push(t.arg),function(o,r){const i=t.instance.popperRef,s=o.target,a=null==r?void 0:r.target,l=!t||!t.instance,c=!s||!a,u=e.contains(s)||e.contains(a),d=e===s,p=n.length&&n.some((e=>null==e?void 0:e.contains(s)))||n.length&&n.includes(a),f=i&&(i.contains(s)||i.contains(a));l||c||u||d||p||f||t.value(o,r)}}c.default||(o.on(document,"mousedown",(e=>p=e)),o.on(document,"mouseup",(e=>{for(const{documentHandler:t}of d.values())t(e,p)})));const h={beforeMount(e,t){d.set(e,{documentHandler:f(e,t),bindingFn:t.value})},updated(e,t){d.set(e,{documentHandler:f(e,t),bindingFn:t.value})},unmounted(e){d.delete(e)}};var m={beforeMount(e,t){let n,r=null;const i=()=>t.value&&t.value(),s=()=>{Date.now()-n<100&&i(),clearInterval(r),r=null};o.on(e,"mousedown",(e=>{0===e.button&&(n=Date.now(),o.once(document,"mouseup",s),clearInterval(r),r=setInterval(i,100))}))}};const v="_trap-focus-children",y=[],g=e=>{if(0===y.length)return;const t=y[y.length-1][v];if(t.length>0&&e.code===s.EVENT_CODE.tab){if(1===t.length)return e.preventDefault(),void(document.activeElement!==t[0]&&t[0].focus());const n=e.shiftKey,o=e.target===t[0],r=e.target===t[t.length-1];o&&n&&(e.preventDefault(),t[t.length-1].focus()),r&&!n&&(e.preventDefault(),t[0].focus())}},b={beforeMount(e){e[v]=s.obtainAllFocusableElements(e),y.push(e),y.length<=1&&o.on(document,"keydown",g)},updated(e){i.nextTick((()=>{e[v]=s.obtainAllFocusableElements(e)}))},unmounted(){y.shift(),0===y.length&&o.off(document,"keydown",g)}},_="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,w={beforeMount(e,t){!function(e,t){if(e&&e.addEventListener){const n=function(e){const n=u.default(e);t&&t.apply(this,[e,n])};_?e.addEventListener("DOMMouseScroll",n):e.onmousewheel=n}}(e,t.value)}};t.ClickOutside=h,t.Mousewheel=w,t.RepeatClick=m,t.TrapFocus=b},7800:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4865);function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(n(9652));const s="elForm",a={addField:"el.form.addField",removeField:"el.form.removeField"};var l=Object.defineProperty,c=Object.defineProperties,u=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t)=>{for(var n in t||(t={}))p.call(t,n)&&h(e,n,t[n]);if(d)for(var n of d(t))f.call(t,n)&&h(e,n,t[n]);return e};var v=o.defineComponent({name:"ElForm",props:{model:Object,rules:Object,labelPosition:String,labelWidth:String,labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:String,disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1}},emits:["validate"],setup(e,{emit:t}){const n=i.default(),r=[];o.watch((()=>e.rules),(()=>{r.forEach((e=>{e.removeValidateEvents(),e.addValidateEvents()})),e.validateOnRuleChange&&p((()=>({})))})),n.on(a.addField,(e=>{e&&r.push(e)})),n.on(a.removeField,(e=>{e.prop&&r.splice(r.indexOf(e),1)}));const l=()=>{e.model?r.forEach((e=>{e.resetField()})):console.warn("[Element Warn][Form]model is required for resetFields to work.")},d=(e=[])=>{(e.length?"string"==typeof e?r.filter((t=>e===t.prop)):r.filter((t=>e.indexOf(t.prop)>-1)):r).forEach((e=>{e.clearValidate()}))},p=t=>{if(!e.model)return void console.warn("[Element Warn][Form]model is required for validate to work!");let n;"function"!=typeof t&&(n=new Promise(((e,n)=>{t=function(t,o){t?e(!0):n(o)}}))),0===r.length&&t(!0);let o=!0,i=0,s={};for(const e of r)e.validate("",((e,n)=>{e&&(o=!1),s=m(m({},s),n),++i===r.length&&t(o,s)}));return n},f=(e,t)=>{e=[].concat(e);const n=r.filter((t=>-1!==e.indexOf(t.prop)));r.length?n.forEach((e=>{e.validate("",t)})):console.warn("[Element Warn]please pass correct props!")},h=o.reactive(m((v=m({formMitt:n},o.toRefs(e)),c(v,u({resetFields:l,clearValidate:d,validateField:f,emit:t}))),function(){const e=o.ref([]);function t(t){const n=e.value.indexOf(t);return-1===n&&console.warn("[Element Warn][ElementForm]unexpected width "+t),n}return{autoLabelWidth:o.computed((()=>{if(!e.value.length)return"0";const t=Math.max(...e.value);return t?`${t}px`:""})),registerLabelWidth:function(n,o){if(n&&o){const r=t(o);e.value.splice(r,1,n)}else n&&e.value.push(n)},deregisterLabelWidth:function(n){const o=t(n);o>-1&&e.value.splice(o,1)}}}()));var v;return o.provide(s,h),{validate:p,resetFields:l,clearValidate:d,validateField:f}}});v.render=function(e,t,n,r,i,s){return o.openBlock(),o.createBlock("form",{class:["el-form",[e.labelPosition?"el-form--label-"+e.labelPosition:"",{"el-form--inline":e.inline}]]},[o.renderSlot(e.$slots,"default")],2)},v.__file="packages/form/src/form.vue",v.install=e=>{e.component(v.name,v)};const y=v;t.default=y,t.elFormEvents=a,t.elFormItemKey="elFormItem",t.elFormKey=s},1002:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4865),r=n(3676),i=n(2532),s=n(5450),a=n(3566),l=n(6645),c=n(6801),u=n(7800);function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=d(a);let f;const h=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function m(e,t=1,n=null){var o;f||(f=document.createElement("textarea"),document.body.appendChild(f));const{paddingSize:r,borderSize:i,boxSizing:s,contextStyle:a}=function(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),o=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),r=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:h.map((e=>`${e}:${t.getPropertyValue(e)}`)).join(";"),paddingSize:o,borderSize:r,boxSizing:n}}(e);f.setAttribute("style",`${a};\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n`),f.value=e.value||e.placeholder||"";let l=f.scrollHeight;const c={};"border-box"===s?l+=i:"content-box"===s&&(l-=r),f.value="";const u=f.scrollHeight-r;if(null!==t){let e=u*t;"border-box"===s&&(e=e+r+i),l=Math.max(e,l),c.minHeight=`${e}px`}if(null!==n){let e=u*n;"border-box"===s&&(e=e+r+i),l=Math.min(e,l)}return c.height=`${l}px`,null==(o=f.parentNode)||o.removeChild(f),f=null,c}var v=Object.defineProperty,y=Object.defineProperties,g=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,k=(e,t)=>{for(var n in t||(t={}))_.call(t,n)&&x(e,n,t[n]);if(b)for(var n of b(t))w.call(t,n)&&x(e,n,t[n]);return e},E=(e,t)=>y(e,g(t));const S={suffix:"append",prefix:"prepend"};var C=o.defineComponent({name:"ElInput",inheritAttrs:!1,props:{modelValue:{type:[String,Number],default:""},type:{type:String,default:"text"},size:{type:String,validator:c.isValidComponentSize},resize:{type:String,validator:e=>["none","both","horizontal","vertical"].includes(e)},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off",validator:e=>["on","off"].includes(e)},placeholder:{type:String},form:{type:String,default:""},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:String,default:""},prefixIcon:{type:String,default:""},label:{type:String},tabindex:{type:[Number,String]},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Object,default:()=>({})}},emits:[i.UPDATE_MODEL_EVENT,"input","change","focus","blur","clear","mouseleave","mouseenter","keydown"],setup(e,t){const n=o.getCurrentInstance(),a=r.useAttrs(),c=s.useGlobalConfig(),d=o.inject(u.elFormKey,{}),f=o.inject(u.elFormItemKey,{}),h=o.ref(null),v=o.ref(null),y=o.ref(!1),g=o.ref(!1),b=o.ref(!1),_=o.ref(!1),w=o.shallowRef(e.inputStyle),x=o.computed((()=>h.value||v.value)),C=o.computed((()=>e.size||f.size||c.size)),O=o.computed((()=>d.statusIcon)),T=o.computed((()=>f.validateState||"")),B=o.computed((()=>i.VALIDATE_STATE_MAP[T.value])),M=o.computed((()=>E(k({},w.value),{resize:e.resize}))),V=o.computed((()=>e.disabled||d.disabled)),N=o.computed((()=>null===e.modelValue||void 0===e.modelValue?"":String(e.modelValue))),P=o.computed((()=>t.attrs.maxlength)),A=o.computed((()=>e.clearable&&!V.value&&!e.readonly&&N.value&&(y.value||g.value))),q=o.computed((()=>e.showPassword&&!V.value&&!e.readonly&&(!!N.value||y.value))),F=o.computed((()=>e.showWordLimit&&t.attrs.maxlength&&("text"===e.type||"textarea"===e.type)&&!V.value&&!e.readonly&&!e.showPassword)),L=o.computed((()=>"number"==typeof e.modelValue?String(e.modelValue).length:(e.modelValue||"").length)),I=o.computed((()=>F.value&&L.value>P.value)),D=()=>{const{type:t,autosize:n}=e;if(!p.default&&"textarea"===t)if(n){const t=s.isObject(n)?n.minRows:void 0,o=s.isObject(n)?n.maxRows:void 0;w.value=k(k({},e.inputStyle),m(v.value,t,o))}else w.value=E(k({},e.inputStyle),{minHeight:m(v.value).minHeight})},j=()=>{const e=x.value;e&&e.value!==N.value&&(e.value=N.value)},R=e=>{const{el:o}=n.vnode,r=Array.from(o.querySelectorAll(`.el-input__${e}`)).find((e=>e.parentNode===o));if(!r)return;const i=S[e];t.slots[i]?r.style.transform=`translateX(${"suffix"===e?"-":""}${o.querySelector(`.el-input-group__${i}`).offsetWidth}px)`:r.removeAttribute("style")},$=()=>{R("prefix"),R("suffix")},z=e=>{const{value:n}=e.target;b.value||n!==N.value&&(t.emit(i.UPDATE_MODEL_EVENT,n),t.emit("input",n),o.nextTick(j))},H=()=>{o.nextTick((()=>{x.value.focus()}))};o.watch((()=>e.modelValue),(t=>{var n;o.nextTick(D),e.validateEvent&&(null==(n=f.formItemMitt)||n.emit("el.form.change",[t]))})),o.watch(N,(()=>{j()})),o.watch((()=>e.type),(()=>{o.nextTick((()=>{j(),D(),$()}))})),o.onMounted((()=>{j(),$(),o.nextTick(D)})),o.onUpdated((()=>{o.nextTick($)}));return{input:h,textarea:v,attrs:a,inputSize:C,validateState:T,validateIcon:B,computedTextareaStyle:M,resizeTextarea:D,inputDisabled:V,showClear:A,showPwdVisible:q,isWordLimitVisible:F,upperLimit:P,textLength:L,hovering:g,inputExceed:I,passwordVisible:_,inputOrTextarea:x,handleInput:z,handleChange:e=>{t.emit("change",e.target.value)},handleFocus:e=>{y.value=!0,t.emit("focus",e)},handleBlur:n=>{var o;y.value=!1,t.emit("blur",n),e.validateEvent&&(null==(o=f.formItemMitt)||o.emit("el.form.blur",[e.modelValue]))},handleCompositionStart:()=>{b.value=!0},handleCompositionUpdate:e=>{const t=e.target.value,n=t[t.length-1]||"";b.value=!l.isKorean(n)},handleCompositionEnd:e=>{b.value&&(b.value=!1,z(e))},handlePasswordVisible:()=>{_.value=!_.value,H()},clear:()=>{t.emit(i.UPDATE_MODEL_EVENT,""),t.emit("change",""),t.emit("clear")},select:()=>{x.value.select()},focus:H,blur:()=>{x.value.blur()},getSuffixVisible:()=>t.slots.suffix||e.suffixIcon||A.value||e.showPassword||F.value||T.value&&O.value,onMouseLeave:e=>{g.value=!1,t.emit("mouseleave",e)},onMouseEnter:e=>{g.value=!0,t.emit("mouseenter",e)},handleKeydown:e=>{t.emit("keydown",e)}}}});const O={key:0,class:"el-input-group__prepend"},T={key:2,class:"el-input__prefix"},B={key:3,class:"el-input__suffix"},M={class:"el-input__suffix-inner"},V={key:3,class:"el-input__count"},N={class:"el-input__count-inner"},P={key:4,class:"el-input-group__append"},A={key:2,class:"el-input__count"};C.render=function(e,t,n,r,i,s){return o.openBlock(),o.createBlock("div",{class:["textarea"===e.type?"el-textarea":"el-input",e.inputSize?"el-input--"+e.inputSize:"",{"is-disabled":e.inputDisabled,"is-exceed":e.inputExceed,"el-input-group":e.$slots.prepend||e.$slots.append,"el-input-group--append":e.$slots.append,"el-input-group--prepend":e.$slots.prepend,"el-input--prefix":e.$slots.prefix||e.prefixIcon,"el-input--suffix":e.$slots.suffix||e.suffixIcon||e.clearable||e.showPassword,"el-input--suffix--password-clear":e.clearable&&e.showPassword},e.$attrs.class],style:e.$attrs.style,onMouseenter:t[20]||(t[20]=(...t)=>e.onMouseEnter&&e.onMouseEnter(...t)),onMouseleave:t[21]||(t[21]=(...t)=>e.onMouseLeave&&e.onMouseLeave(...t))},["textarea"!==e.type?(o.openBlock(),o.createBlock(o.Fragment,{key:0},[o.createCommentVNode(" 前置元素 "),e.$slots.prepend?(o.openBlock(),o.createBlock("div",O,[o.renderSlot(e.$slots,"prepend")])):o.createCommentVNode("v-if",!0),"textarea"!==e.type?(o.openBlock(),o.createBlock("input",o.mergeProps({key:1,ref:"input",class:"el-input__inner"},e.attrs,{type:e.showPassword?e.passwordVisible?"text":"password":e.type,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.label,placeholder:e.placeholder,style:e.inputStyle,onCompositionstart:t[1]||(t[1]=(...t)=>e.handleCompositionStart&&e.handleCompositionStart(...t)),onCompositionupdate:t[2]||(t[2]=(...t)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...t)),onCompositionend:t[3]||(t[3]=(...t)=>e.handleCompositionEnd&&e.handleCompositionEnd(...t)),onInput:t[4]||(t[4]=(...t)=>e.handleInput&&e.handleInput(...t)),onFocus:t[5]||(t[5]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onBlur:t[6]||(t[6]=(...t)=>e.handleBlur&&e.handleBlur(...t)),onChange:t[7]||(t[7]=(...t)=>e.handleChange&&e.handleChange(...t)),onKeydown:t[8]||(t[8]=(...t)=>e.handleKeydown&&e.handleKeydown(...t))}),null,16,["type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder"])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 前置内容 "),e.$slots.prefix||e.prefixIcon?(o.openBlock(),o.createBlock("span",T,[o.renderSlot(e.$slots,"prefix"),e.prefixIcon?(o.openBlock(),o.createBlock("i",{key:0,class:["el-input__icon",e.prefixIcon]},null,2)):o.createCommentVNode("v-if",!0)])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 后置内容 "),e.getSuffixVisible()?(o.openBlock(),o.createBlock("span",B,[o.createVNode("span",M,[e.showClear&&e.showPwdVisible&&e.isWordLimitVisible?o.createCommentVNode("v-if",!0):(o.openBlock(),o.createBlock(o.Fragment,{key:0},[o.renderSlot(e.$slots,"suffix"),e.suffixIcon?(o.openBlock(),o.createBlock("i",{key:0,class:["el-input__icon",e.suffixIcon]},null,2)):o.createCommentVNode("v-if",!0)],64)),e.showClear?(o.openBlock(),o.createBlock("i",{key:1,class:"el-input__icon el-icon-circle-close el-input__clear",onMousedown:t[9]||(t[9]=o.withModifiers((()=>{}),["prevent"])),onClick:t[10]||(t[10]=(...t)=>e.clear&&e.clear(...t))},null,32)):o.createCommentVNode("v-if",!0),e.showPwdVisible?(o.openBlock(),o.createBlock("i",{key:2,class:"el-input__icon el-icon-view el-input__clear",onClick:t[11]||(t[11]=(...t)=>e.handlePasswordVisible&&e.handlePasswordVisible(...t))})):o.createCommentVNode("v-if",!0),e.isWordLimitVisible?(o.openBlock(),o.createBlock("span",V,[o.createVNode("span",N,o.toDisplayString(e.textLength)+"/"+o.toDisplayString(e.upperLimit),1)])):o.createCommentVNode("v-if",!0)]),e.validateState?(o.openBlock(),o.createBlock("i",{key:0,class:["el-input__icon","el-input__validateIcon",e.validateIcon]},null,2)):o.createCommentVNode("v-if",!0)])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 后置元素 "),e.$slots.append?(o.openBlock(),o.createBlock("div",P,[o.renderSlot(e.$slots,"append")])):o.createCommentVNode("v-if",!0)],64)):(o.openBlock(),o.createBlock("textarea",o.mergeProps({key:1,ref:"textarea",class:"el-textarea__inner"},e.attrs,{tabindex:e.tabindex,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autocomplete,style:e.computedTextareaStyle,"aria-label":e.label,placeholder:e.placeholder,onCompositionstart:t[12]||(t[12]=(...t)=>e.handleCompositionStart&&e.handleCompositionStart(...t)),onCompositionupdate:t[13]||(t[13]=(...t)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...t)),onCompositionend:t[14]||(t[14]=(...t)=>e.handleCompositionEnd&&e.handleCompositionEnd(...t)),onInput:t[15]||(t[15]=(...t)=>e.handleInput&&e.handleInput(...t)),onFocus:t[16]||(t[16]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onBlur:t[17]||(t[17]=(...t)=>e.handleBlur&&e.handleBlur(...t)),onChange:t[18]||(t[18]=(...t)=>e.handleChange&&e.handleChange(...t)),onKeydown:t[19]||(t[19]=(...t)=>e.handleKeydown&&e.handleKeydown(...t))}),"\n ",16,["tabindex","disabled","readonly","autocomplete","aria-label","placeholder"])),e.isWordLimitVisible&&"textarea"===e.type?(o.openBlock(),o.createBlock("span",A,o.toDisplayString(e.textLength)+"/"+o.toDisplayString(e.upperLimit),1)):o.createCommentVNode("v-if",!0)],38)},C.__file="packages/input/src/index.vue",C.install=e=>{e.component(C.name,C)};const q=C;t.default=q},3377:(e,t,n)=>{"use strict";const o=n(5853).Option;o.install=e=>{e.component(o.name,o)},t.Z=o},2815:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4865),r=n(1617),i=n(6980),s=n(5450),a=n(9169),l=n(6722),c=n(7050),u=n(1247);function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=d(r),f=d(a);function h(e,t=[]){const{arrow:n,arrowOffset:o,offset:r,gpuAcceleration:i,fallbackPlacements:s}=e,a=[{name:"offset",options:{offset:[0,null!=r?r:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:null!=s?s:[]}},{name:"computeStyles",options:{gpuAcceleration:i,adaptive:i}}];return n&&a.push({name:"arrow",options:{element:n,padding:null!=o?o:5}}),a.push(...t),a}var m,v=Object.defineProperty,y=Object.defineProperties,g=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function k(e,t){return o.computed((()=>{var n,o,r;return o=((e,t)=>{for(var n in t||(t={}))_.call(t,n)&&x(e,n,t[n]);if(b)for(var n of b(t))w.call(t,n)&&x(e,n,t[n]);return e})({placement:e.placement},e.popperOptions),r={modifiers:h({arrow:t.arrow.value,arrowOffset:e.arrowOffset,offset:e.offset,gpuAcceleration:e.gpuAcceleration,fallbackPlacements:e.fallbackPlacements},null==(n=e.popperOptions)?void 0:n.modifiers)},y(o,g(r))}))}(m=t.Effect||(t.Effect={})).DARK="dark",m.LIGHT="light";var E={arrowOffset:{type:Number,default:5},appendToBody:{type:Boolean,default:!0},autoClose:{type:Number,default:0},boundariesPadding:{type:Number,default:0},content:{type:String,default:""},class:{type:String,default:""},style:Object,hideAfter:{type:Number,default:200},cutoff:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},effect:{type:String,default:t.Effect.DARK},enterable:{type:Boolean,default:!0},manualMode:{type:Boolean,default:!1},showAfter:{type:Number,default:0},offset:{type:Number,default:12},placement:{type:String,default:"bottom"},popperClass:{type:String,default:""},pure:{type:Boolean,default:!1},popperOptions:{type:Object,default:()=>null},showArrow:{type:Boolean,default:!0},strategy:{type:String,default:"fixed"},transition:{type:String,default:"el-fade-in-linear"},trigger:{type:[String,Array],default:"hover"},visible:{type:Boolean,default:void 0},stopPopperMouseEvent:{type:Boolean,default:!0},gpuAcceleration:{type:Boolean,default:!0},fallbackPlacements:{type:Array,default:[]}};function S(e,{emit:t}){const n=o.ref(null),r=o.ref(null),a=o.ref(null),l=`el-popper-${s.generateId()}`;let c=null,u=null,d=null,p=!1;const h=()=>e.manualMode||"manual"===e.trigger,m=o.ref({zIndex:f.default.nextZIndex()}),v=k(e,{arrow:n}),y=o.reactive({visible:!!e.visible}),g=o.computed({get:()=>!e.disabled&&(s.isBool(e.visible)?e.visible:y.visible),set(n){h()||(s.isBool(e.visible)?t("update:visible",n):y.visible=n)}});function b(){e.autoClose>0&&(d=window.setTimeout((()=>{_()}),e.autoClose)),g.value=!0}function _(){g.value=!1}function w(){clearTimeout(u),clearTimeout(d)}const x=()=>{h()||e.disabled||(w(),0===e.showAfter?b():u=window.setTimeout((()=>{b()}),e.showAfter))},E=()=>{h()||(w(),e.hideAfter>0?d=window.setTimeout((()=>{S()}),e.hideAfter):S())},S=()=>{_(),e.disabled&&O(!0)};function C(){if(!s.$(g))return;const e=s.$(r),t=s.isHTMLElement(e)?e:e.$el;c=i.createPopper(t,s.$(a),s.$(v)),c.update()}function O(e){!c||s.$(g)&&!e||T()}function T(){var e;null==(e=null==c?void 0:c.destroy)||e.call(c),c=null}const B={};if(!h()){const t=()=>{s.$(g)?E():x()},n=e=>{switch(e.stopPropagation(),e.type){case"click":p?p=!1:t();break;case"mouseenter":x();break;case"mouseleave":E();break;case"focus":p=!0,x();break;case"blur":p=!1,E()}},o={click:["onClick"],hover:["onMouseenter","onMouseleave"],focus:["onFocus","onBlur"]},r=e=>{o[e].forEach((e=>{B[e]=n}))};s.isArray(e.trigger)?Object.values(e.trigger).forEach(r):r(e.trigger)}return o.watch(v,(e=>{c&&(c.setOptions(e),c.update())})),o.watch(g,(function(e){e&&(m.value.zIndex=f.default.nextZIndex(),C())})),{update:function(){s.$(g)&&(c?c.update():C())},doDestroy:O,show:x,hide:E,onPopperMouseEnter:function(){e.enterable&&"click"!==e.trigger&&clearTimeout(d)},onPopperMouseLeave:function(){const{trigger:t}=e;s.isString(t)&&("click"===t||"focus"===t)||1===t.length&&("click"===t[0]||"focus"===t[0])||E()},onAfterEnter:()=>{t("after-enter")},onAfterLeave:()=>{T(),t("after-leave")},onBeforeEnter:()=>{t("before-enter")},onBeforeLeave:()=>{t("before-leave")},initializePopper:C,isManualMode:h,arrowRef:n,events:B,popperId:l,popperInstance:c,popperRef:a,popperStyle:m,triggerRef:r,visibility:g}}const C=()=>{};function O(e,t){const{effect:n,name:r,stopPopperMouseEvent:i,popperClass:s,popperStyle:a,popperRef:c,pure:u,popperId:d,visibility:p,onMouseenter:f,onMouseleave:h,onAfterEnter:m,onAfterLeave:v,onBeforeEnter:y,onBeforeLeave:g}=e,b=[s,"el-popper","is-"+n,u?"is-pure":""],_=i?l.stop:C;return o.h(o.Transition,{name:r,onAfterEnter:m,onAfterLeave:v,onBeforeEnter:y,onBeforeLeave:g},{default:o.withCtx((()=>[o.withDirectives(o.h("div",{"aria-hidden":String(!p),class:b,style:null!=a?a:{},id:d,ref:null!=c?c:"popperRef",role:"tooltip",onMouseenter:f,onMouseleave:h,onClick:l.stop,onMousedown:_,onMouseup:_},t),[[o.vShow,p]])]))})}function T(e,t){const n=c.getFirstValidNode(e,1);return n||p.default("renderTrigger","trigger expects single rooted node"),o.cloneVNode(n,t,!0)}function B(e){return e?o.h("div",{ref:"arrowRef",class:"el-popper__arrow","data-popper-arrow":""},null):o.h(o.Comment,null,"")}var M=Object.defineProperty,V=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,A=(e,t,n)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const q="ElPopper";var F=o.defineComponent({name:q,props:E,emits:["update:visible","after-enter","after-leave","before-enter","before-leave"],setup(e,t){t.slots.trigger||p.default(q,"Trigger must be provided");const n=S(e,t),r=()=>n.doDestroy(!0);return o.onMounted(n.initializePopper),o.onBeforeUnmount(r),o.onActivated(n.initializePopper),o.onDeactivated(r),n},render(){var e;const{$slots:t,appendToBody:n,class:r,style:i,effect:s,hide:a,onPopperMouseEnter:l,onPopperMouseLeave:c,onAfterEnter:d,onAfterLeave:p,onBeforeEnter:f,onBeforeLeave:h,popperClass:m,popperId:v,popperStyle:y,pure:g,showArrow:b,transition:_,visibility:w,stopPopperMouseEvent:x}=this,k=this.isManualMode(),E=B(b),S=O({effect:s,name:_,popperClass:m,popperId:v,popperStyle:y,pure:g,stopPopperMouseEvent:x,onMouseenter:l,onMouseleave:c,onAfterEnter:d,onAfterLeave:p,onBeforeEnter:f,onBeforeLeave:h,visibility:w},[o.renderSlot(t,"default",{},(()=>[o.toDisplayString(this.content)])),E]),C=null==(e=t.trigger)?void 0:e.call(t),M=((e,t)=>{for(var n in t||(t={}))N.call(t,n)&&A(e,n,t[n]);if(V)for(var n of V(t))P.call(t,n)&&A(e,n,t[n]);return e})({"aria-describedby":v,class:r,style:i,ref:"triggerRef"},this.events),q=k?T(C,M):o.withDirectives(T(C,M),[[u.ClickOutside,a]]);return o.h(o.Fragment,null,[q,o.h(o.Teleport,{to:"body",disabled:!n},[S])])}});F.__file="packages/popper/src/index.vue",F.install=e=>{e.component(F.name,F)};const L=F;t.default=L,t.defaultProps=E,t.renderArrow=B,t.renderPopper=O,t.renderTrigger=T,t.usePopper=S},4153:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2406),r=n(5450),i=n(4865),s=n(6722);const a={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};var l=i.defineComponent({name:"Bar",props:{vertical:Boolean,size:String,move:Number},setup(e){const t=i.ref(null),n=i.ref(null),o=i.inject("scrollbar",{}),r=i.inject("scrollbar-wrap",{}),l=i.computed((()=>a[e.vertical?"vertical":"horizontal"])),c=i.ref({}),u=i.ref(null),d=i.ref(null),p=i.ref(!1);let f=null;const h=e=>{e.stopImmediatePropagation(),u.value=!0,s.on(document,"mousemove",m),s.on(document,"mouseup",v),f=document.onselectstart,document.onselectstart=()=>!1},m=e=>{if(!1===u.value)return;const o=c.value[l.value.axis];if(!o)return;const i=100*(-1*(t.value.getBoundingClientRect()[l.value.direction]-e[l.value.client])-(n.value[l.value.offset]-o))/t.value[l.value.offset];r.value[l.value.scroll]=i*r.value[l.value.scrollSize]/100},v=()=>{u.value=!1,c.value[l.value.axis]=0,s.off(document,"mousemove",m),document.onselectstart=f,d.value&&(p.value=!1)},y=i.computed((()=>function({move:e,size:t,bar:n}){const o={},r=`translate${n.axis}(${e}%)`;return o[n.size]=t,o.transform=r,o.msTransform=r,o.webkitTransform=r,o}({size:e.size,move:e.move,bar:l.value}))),g=()=>{d.value=!1,p.value=!!e.size},b=()=>{d.value=!0,p.value=u.value};return i.onMounted((()=>{s.on(o.value,"mousemove",g),s.on(o.value,"mouseleave",b)})),i.onBeforeUnmount((()=>{s.off(document,"mouseup",v),s.off(o.value,"mousemove",g),s.off(o.value,"mouseleave",b)})),{instance:t,thumb:n,bar:l,clickTrackHandler:e=>{const o=100*(Math.abs(e.target.getBoundingClientRect()[l.value.direction]-e[l.value.client])-n.value[l.value.offset]/2)/t.value[l.value.offset];r.value[l.value.scroll]=o*r.value[l.value.scrollSize]/100},clickThumbHandler:e=>{e.stopPropagation(),e.ctrlKey||[1,2].includes(e.button)||(window.getSelection().removeAllRanges(),h(e),c.value[l.value.axis]=e.currentTarget[l.value.offset]-(e[l.value.client]-e.currentTarget.getBoundingClientRect()[l.value.direction]))},thumbStyle:y,visible:p}}});l.render=function(e,t,n,o,r,s){return i.openBlock(),i.createBlock(i.Transition,{name:"el-scrollbar-fade"},{default:i.withCtx((()=>[i.withDirectives(i.createVNode("div",{ref:"instance",class:["el-scrollbar__bar","is-"+e.bar.key],onMousedown:t[2]||(t[2]=(...t)=>e.clickTrackHandler&&e.clickTrackHandler(...t))},[i.createVNode("div",{ref:"thumb",class:"el-scrollbar__thumb",style:e.thumbStyle,onMousedown:t[1]||(t[1]=(...t)=>e.clickThumbHandler&&e.clickThumbHandler(...t))},null,36)],34),[[i.vShow,e.visible]])])),_:1})},l.__file="packages/scrollbar/src/bar.vue";var c=i.defineComponent({name:"ElScrollbar",components:{Bar:l},props:{height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:[String,Array],default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array],default:""},noresize:Boolean,tag:{type:String,default:"div"}},emits:["scroll"],setup(e,{emit:t}){const n=i.ref("0"),s=i.ref("0"),a=i.ref(0),l=i.ref(0),c=i.ref(null),u=i.ref(null),d=i.ref(null);i.provide("scrollbar",c),i.provide("scrollbar-wrap",u);const p=()=>{if(!u.value)return;const e=100*u.value.clientHeight/u.value.scrollHeight,t=100*u.value.clientWidth/u.value.scrollWidth;s.value=e<100?e+"%":"",n.value=t<100?t+"%":""},f=i.computed((()=>{let t=e.wrapStyle;return r.isArray(t)?(t=r.toObject(t),t.height=r.addUnit(e.height),t.maxHeight=r.addUnit(e.maxHeight)):r.isString(t)&&(t+=r.addUnit(e.height)?`height: ${r.addUnit(e.height)};`:"",t+=r.addUnit(e.maxHeight)?`max-height: ${r.addUnit(e.maxHeight)};`:""),t}));return i.onMounted((()=>{e.native||i.nextTick(p),e.noresize||(o.addResizeListener(d.value,p),addEventListener("resize",p))})),i.onBeforeUnmount((()=>{e.noresize||(o.removeResizeListener(d.value,p),removeEventListener("resize",p))})),{moveX:a,moveY:l,sizeWidth:n,sizeHeight:s,style:f,scrollbar:c,wrap:u,resize:d,update:p,handleScroll:()=>{u.value&&(l.value=100*u.value.scrollTop/u.value.clientHeight,a.value=100*u.value.scrollLeft/u.value.clientWidth,t("scroll",{scrollLeft:a.value,scrollTop:l.value}))}}}});const u={ref:"scrollbar",class:"el-scrollbar"};c.render=function(e,t,n,o,r,s){const a=i.resolveComponent("bar");return i.openBlock(),i.createBlock("div",u,[i.createVNode("div",{ref:"wrap",class:[e.wrapClass,"el-scrollbar__wrap",e.native?"":"el-scrollbar__wrap--hidden-default"],style:e.style,onScroll:t[1]||(t[1]=(...t)=>e.handleScroll&&e.handleScroll(...t))},[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.tag),{ref:"resize",class:["el-scrollbar__view",e.viewClass],style:e.viewStyle},{default:i.withCtx((()=>[i.renderSlot(e.$slots,"default")])),_:3},8,["class","style"]))],38),e.native?i.createCommentVNode("v-if",!0):(i.openBlock(),i.createBlock(i.Fragment,{key:0},[i.createVNode(a,{move:e.moveX,size:e.sizeWidth},null,8,["move","size"]),i.createVNode(a,{vertical:"",move:e.moveY,size:e.sizeHeight},null,8,["move","size"])],64))],512)},c.__file="packages/scrollbar/src/index.vue",c.install=e=>{e.component(c.name,c)};const d=c;t.default=d},5853:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4865),r=n(1002),i=n(5450),s=n(2406),a=n(4912),l=n(2815),c=n(4153),u=n(1247),d=n(7993),p=n(2532),f=n(6801),h=n(9652),m=n(9272),v=n(3566),y=n(4593),g=n(3279),b=n(6645),_=n(7800),w=n(8446),x=n(3676);function k(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var E=k(r),S=k(a),C=k(l),O=k(c),T=k(h),B=k(v),M=k(y),V=k(g),N=k(w);const P="ElSelect",A="elOptionQueryChange";var q=o.defineComponent({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},setup(e){const t=o.reactive({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:n,itemSelected:r,isDisabled:s,select:a,hoverItem:l}=function(e,t){const n=o.inject(P),r=o.inject("ElSelectGroup",{disabled:!1}),s=o.computed((()=>"[object object]"===Object.prototype.toString.call(e.value).toLowerCase())),a=o.computed((()=>n.props.multiple?f(n.props.modelValue,e.value):h(e.value,n.props.modelValue))),l=o.computed((()=>{if(n.props.multiple){const e=n.props.modelValue||[];return!a.value&&e.length>=n.props.multipleLimit&&n.props.multipleLimit>0}return!1})),c=o.computed((()=>e.label||(s.value?"":e.value))),u=o.computed((()=>e.value||e.label||"")),d=o.computed((()=>e.disabled||t.groupDisabled||l.value)),p=o.getCurrentInstance(),f=(e=[],t)=>{if(s.value){const o=n.props.valueKey;return e&&e.some((e=>i.getValueByPath(e,o)===i.getValueByPath(t,o)))}return e&&e.indexOf(t)>-1},h=(e,t)=>{if(s.value){const{valueKey:o}=n.props;return i.getValueByPath(e,o)===i.getValueByPath(t,o)}return e===t};return o.watch((()=>c.value),(()=>{e.created||n.props.remote||n.setSelected()})),o.watch((()=>e.value),((t,o)=>{const{remote:r,valueKey:i}=n.props;if(!e.created&&!r){if(i&&"object"==typeof t&&"object"==typeof o&&t[i]===o[i])return;n.setSelected()}})),o.watch((()=>r.disabled),(()=>{t.groupDisabled=r.disabled}),{immediate:!0}),n.selectEmitter.on(A,(o=>{const r=new RegExp(i.escapeRegexpString(o),"i");t.visible=r.test(c.value)||e.created,t.visible||n.filteredOptionsCount--})),{select:n,currentLabel:c,currentValue:u,itemSelected:a,isDisabled:d,hoverItem:()=>{e.disabled||r.disabled||(n.hoverIndex=n.optionsArray.indexOf(p))}}}(e,t),{visible:c,hover:u}=o.toRefs(t),d=o.getCurrentInstance().proxy;return a.onOptionCreate(d),o.onBeforeUnmount((()=>{const{selected:t}=a;let n=a.props.multiple?t:[t];const o=a.cachedOptions.has(e.value),r=n.some((e=>e.value===d.value));o&&!r&&a.cachedOptions.delete(e.value),a.onOptionDestroy(e.value)})),{currentLabel:n,itemSelected:r,isDisabled:s,select:a,hoverItem:l,visible:c,hover:u,selectOptionClick:function(){!0!==e.disabled&&!0!==t.groupDisabled&&a.handleOptionSelect(d,!0)}}}});q.render=function(e,t,n,r,i,s){return o.withDirectives((o.openBlock(),o.createBlock("li",{class:["el-select-dropdown__item",{selected:e.itemSelected,"is-disabled":e.isDisabled,hover:e.hover}],onMouseenter:t[1]||(t[1]=(...t)=>e.hoverItem&&e.hoverItem(...t)),onClick:t[2]||(t[2]=o.withModifiers(((...t)=>e.selectOptionClick&&e.selectOptionClick(...t)),["stop"]))},[o.renderSlot(e.$slots,"default",{},(()=>[o.createVNode("span",null,o.toDisplayString(e.currentLabel),1)]))],34)),[[o.vShow,e.visible]])},q.__file="packages/select/src/option.vue";var F=o.defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=o.inject(P),t=o.computed((()=>e.props.popperClass)),n=o.computed((()=>e.props.multiple)),r=o.ref("");function i(){var t;r.value=(null==(t=e.selectWrapper)?void 0:t.getBoundingClientRect().width)+"px"}return o.onMounted((()=>{s.addResizeListener(e.selectWrapper,i)})),o.onBeforeUnmount((()=>{s.removeResizeListener(e.selectWrapper,i)})),{minWidth:r,popperClass:t,isMultiple:n}}});F.render=function(e,t,n,r,i,s){return o.openBlock(),o.createBlock("div",{class:["el-select-dropdown",[{"is-multiple":e.isMultiple},e.popperClass]],style:{minWidth:e.minWidth}},[o.renderSlot(e.$slots,"default")],6)},F.__file="packages/select/src/select-dropdown.vue";const L=e=>null!==e&&"object"==typeof e,I=Object.prototype.toString,D=e=>(e=>I.call(e))(e).slice(8,-1);const j=(e,t,n)=>{const r=i.useGlobalConfig(),s=o.ref(null),a=o.ref(null),l=o.ref(null),c=o.ref(null),u=o.ref(null),f=o.ref(null),h=o.ref(-1),v=o.inject(_.elFormKey,{}),y=o.inject(_.elFormItemKey,{}),g=o.computed((()=>!e.filterable||e.multiple||!i.isIE()&&!i.isEdge()&&!t.visible)),w=o.computed((()=>e.disabled||v.disabled)),x=o.computed((()=>{const n=e.multiple?Array.isArray(e.modelValue)&&e.modelValue.length>0:void 0!==e.modelValue&&null!==e.modelValue&&""!==e.modelValue;return e.clearable&&!w.value&&t.inputHovering&&n})),k=o.computed((()=>e.remote&&e.filterable?"":t.visible?"arrow-up is-reverse":"arrow-up")),E=o.computed((()=>e.remote?300:0)),S=o.computed((()=>e.loading?e.loadingText||d.t("el.select.loading"):(!e.remote||""!==t.query||0!==t.options.size)&&(e.filterable&&t.query&&t.options.size>0&&0===t.filteredOptionsCount?e.noMatchText||d.t("el.select.noMatch"):0===t.options.size?e.noDataText||d.t("el.select.noData"):null))),C=o.computed((()=>Array.from(t.options.values()))),O=o.computed((()=>Array.from(t.cachedOptions.values()))),T=o.computed((()=>{const n=C.value.filter((e=>!e.created)).some((e=>e.currentLabel===t.query));return e.filterable&&e.allowCreate&&""!==t.query&&!n})),P=o.computed((()=>e.size||y.size||r.size)),A=o.computed((()=>["small","mini"].indexOf(P.value)>-1?"mini":"small")),q=o.computed((()=>t.visible&&!1!==S.value));o.watch((()=>w.value),(()=>{o.nextTick((()=>{F()}))})),o.watch((()=>e.placeholder),(e=>{t.cachedPlaceHolder=t.currentPlaceholder=e})),o.watch((()=>e.modelValue),((n,o)=>{var r;e.multiple&&(F(),n&&n.length>0||a.value&&""!==t.query?t.currentPlaceholder="":t.currentPlaceholder=t.cachedPlaceHolder,e.filterable&&!e.reserveKeyword&&(t.query="",I(t.query))),$(),e.filterable&&!e.multiple&&(t.inputLength=20),N.default(n,o)||null==(r=y.formItemMitt)||r.emit("el.form.change",n)}),{flush:"post",deep:!0}),o.watch((()=>t.visible),(r=>{var i,s;r?(null==(s=null==(i=l.value)?void 0:i.update)||s.call(i),e.filterable&&(t.filteredOptionsCount=t.optionsCount,t.query=e.remote?"":t.selectedLabel,e.multiple?a.value.focus():t.selectedLabel&&(t.currentPlaceholder=t.selectedLabel,t.selectedLabel=""),I(t.query),e.multiple||e.remote||(t.selectEmitter.emit("elOptionQueryChange",""),t.selectEmitter.emit("elOptionGroupQueryChange")))):(a.value&&a.value.blur(),t.query="",t.previousQuery=null,t.selectedLabel="",t.inputLength=20,t.menuVisibleOnFocus=!1,H(),o.nextTick((()=>{a.value&&""===a.value.value&&0===t.selected.length&&(t.currentPlaceholder=t.cachedPlaceHolder)})),e.multiple||(t.selected&&(e.filterable&&e.allowCreate&&t.createdSelected&&t.createdLabel?t.selectedLabel=t.createdLabel:t.selectedLabel=t.selected.currentLabel,e.filterable&&(t.query=t.selectedLabel)),e.filterable&&(t.currentPlaceholder=t.cachedPlaceHolder))),n.emit("visible-change",r)})),o.watch((()=>t.options.entries()),(()=>{var n,o,r;if(B.default)return;null==(o=null==(n=l.value)?void 0:n.update)||o.call(n),e.multiple&&F();const i=(null==(r=u.value)?void 0:r.querySelectorAll("input"))||[];-1===[].indexOf.call(i,document.activeElement)&&$(),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&R()}),{flush:"post"}),o.watch((()=>t.hoverIndex),(e=>{"number"==typeof e&&e>-1&&(h.value=C.value[e]||{}),C.value.forEach((e=>{e.hover=h.value===e}))}));const F=()=>{e.collapseTags&&!e.filterable||o.nextTick((()=>{var e,n;if(!s.value)return;const o=s.value.$el.childNodes,r=[].filter.call(o,(e=>"INPUT"===e.tagName))[0],i=c.value,a=t.initialInputHeight||40;r.style.height=0===t.selected.length?a+"px":Math.max(i?i.clientHeight+(i.clientHeight>a?6:0):0,a)+"px",t.tagInMultiLine=parseFloat(r.style.height)>a,t.visible&&!1!==S.value&&(null==(n=null==(e=l.value)?void 0:e.update)||n.call(e))}))},I=n=>{t.previousQuery===n||t.isOnComposition||(null!==t.previousQuery||"function"!=typeof e.filterMethod&&"function"!=typeof e.remoteMethod?(t.previousQuery=n,o.nextTick((()=>{var e,n;t.visible&&(null==(n=null==(e=l.value)?void 0:e.update)||n.call(e))})),t.hoverIndex=-1,e.multiple&&e.filterable&&o.nextTick((()=>{const n=15*a.value.length+20;t.inputLength=e.collapseTags?Math.min(50,n):n,j(),F()})),e.remote&&"function"==typeof e.remoteMethod?(t.hoverIndex=-1,e.remoteMethod(n)):"function"==typeof e.filterMethod?(e.filterMethod(n),t.selectEmitter.emit("elOptionGroupQueryChange")):(t.filteredOptionsCount=t.optionsCount,t.selectEmitter.emit("elOptionQueryChange",n),t.selectEmitter.emit("elOptionGroupQueryChange")),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&R()):t.previousQuery=n)},j=()=>{""!==t.currentPlaceholder&&(t.currentPlaceholder=a.value.value?"":t.cachedPlaceHolder)},R=()=>{t.hoverIndex=-1;let e=!1;for(let n=t.options.size-1;n>=0;n--)if(C.value[n].created){e=!0,t.hoverIndex=n;break}if(!e)for(let e=0;e!==t.options.size;++e){const n=C.value[e];if(t.query){if(!n.disabled&&!n.groupDisabled&&n.visible){t.hoverIndex=e;break}}else if(n.itemSelected){t.hoverIndex=e;break}}},$=()=>{var n;if(!e.multiple){const o=z(e.modelValue);return(null==(n=o.props)?void 0:n.created)?(t.createdLabel=o.props.value,t.createdSelected=!0):t.createdSelected=!1,t.selectedLabel=o.currentLabel,t.selected=o,void(e.filterable&&(t.query=t.selectedLabel))}const r=[];Array.isArray(e.modelValue)&&e.modelValue.forEach((e=>{r.push(z(e))})),t.selected=r,o.nextTick((()=>{F()}))},z=n=>{let o;const r="object"===D(n).toLowerCase(),s="null"===D(n).toLowerCase(),a="undefined"===D(n).toLowerCase();for(let s=t.cachedOptions.size-1;s>=0;s--){const t=O.value[s];if(r?i.getValueByPath(t.value,e.valueKey)===i.getValueByPath(n,e.valueKey):t.value===n){o={value:n,currentLabel:t.currentLabel,isDisabled:t.isDisabled};break}}if(o)return o;const l={value:n,currentLabel:r||s||a?"":n};return e.multiple&&(l.hitState=!1),l},H=()=>{setTimeout((()=>{e.multiple?t.selected.length>0?t.hoverIndex=Math.min.apply(null,t.selected.map((e=>C.value.indexOf(e)))):t.hoverIndex=-1:t.hoverIndex=C.value.indexOf(t.selected)}),300)},U=()=>{var e;t.inputWidth=null==(e=s.value)?void 0:e.$el.getBoundingClientRect().width},K=V.default((()=>{e.filterable&&t.query!==t.selectedLabel&&(t.query=t.selectedLabel,I(t.query))}),E.value),W=V.default((e=>{I(e.target.value)}),E.value),Q=t=>{N.default(e.modelValue,t)||n.emit(p.CHANGE_EVENT,t)},Y=o=>{o.stopPropagation();const r=e.multiple?[]:"";if("string"!=typeof r)for(const e of t.selected)e.isDisabled&&r.push(e.value);n.emit(p.UPDATE_MODEL_EVENT,r),Q(r),t.visible=!1,n.emit("clear")},G=(r,i)=>{if(e.multiple){const o=(e.modelValue||[]).slice(),i=Z(o,r.value);i>-1?o.splice(i,1):(e.multipleLimit<=0||o.length<e.multipleLimit)&&o.push(r.value),n.emit(p.UPDATE_MODEL_EVENT,o),Q(o),r.created&&(t.query="",I(""),t.inputLength=20),e.filterable&&a.value.focus()}else n.emit(p.UPDATE_MODEL_EVENT,r.value),Q(r.value),t.visible=!1;t.isSilentBlur=i,J(),t.visible||o.nextTick((()=>{X(r)}))},Z=(t=[],n)=>{if(!L(n))return t.indexOf(n);const o=e.valueKey;let r=-1;return t.some(((e,t)=>i.getValueByPath(e,o)===i.getValueByPath(n,o)&&(r=t,!0))),r},J=()=>{t.softFocus=!0;const e=a.value||s.value;e&&e.focus()},X=e=>{var t,n,o,r;const i=Array.isArray(e)?e[0]:e;let s=null;if(null==i?void 0:i.value){const e=C.value.filter((e=>e.value===i.value));e.length>0&&(s=e[0].$el)}if(l.value&&s){const e=null==(o=null==(n=null==(t=l.value)?void 0:t.popperRef)?void 0:n.querySelector)?void 0:o.call(n,".el-select-dropdown__wrap");e&&M.default(e,s)}null==(r=f.value)||r.handleScroll()},ee=e=>{if(!Array.isArray(t.selected))return;const n=t.selected[t.selected.length-1];return n?!0===e||!1===e?(n.hitState=e,e):(n.hitState=!n.hitState,n.hitState):void 0},te=()=>{e.automaticDropdown||w.value||(t.menuVisibleOnFocus?t.menuVisibleOnFocus=!1:t.visible=!t.visible,t.visible&&(a.value||s.value).focus())},ne=o.computed((()=>C.value.filter((e=>e.visible)).every((e=>e.disabled)))),oe=e=>{if(t.visible){if(0!==t.options.size&&0!==t.filteredOptionsCount&&!ne.value){"next"===e?(t.hoverIndex++,t.hoverIndex===t.options.size&&(t.hoverIndex=0)):"prev"===e&&(t.hoverIndex--,t.hoverIndex<0&&(t.hoverIndex=t.options.size-1));const n=C.value[t.hoverIndex];!0!==n.disabled&&!0!==n.groupDisabled&&n.visible||oe(e),o.nextTick((()=>X(h.value)))}}else t.visible=!0};return{optionsArray:C,selectSize:P,handleResize:()=>{var t,n;U(),null==(n=null==(t=l.value)?void 0:t.update)||n.call(t),e.multiple&&F()},debouncedOnInputChange:K,debouncedQueryChange:W,deletePrevTag:o=>{if(o.target.value.length<=0&&!ee()){const t=e.modelValue.slice();t.pop(),n.emit(p.UPDATE_MODEL_EVENT,t),Q(t)}1===o.target.value.length&&0===e.modelValue.length&&(t.currentPlaceholder=t.cachedPlaceHolder)},deleteTag:(o,r)=>{const i=t.selected.indexOf(r);if(i>-1&&!w.value){const t=e.modelValue.slice();t.splice(i,1),n.emit(p.UPDATE_MODEL_EVENT,t),Q(t),n.emit("remove-tag",r.value)}o.stopPropagation()},deleteSelected:Y,handleOptionSelect:G,scrollToOption:X,readonly:g,resetInputHeight:F,showClose:x,iconClass:k,showNewOption:T,collapseTagSize:A,setSelected:$,managePlaceholder:j,selectDisabled:w,emptyText:S,toggleLastOptionHitState:ee,resetInputState:e=>{e.code!==m.EVENT_CODE.backspace&&ee(!1),t.inputLength=15*a.value.length+20,F()},handleComposition:e=>{const n=e.target.value;if("compositionend"===e.type)t.isOnComposition=!1,o.nextTick((()=>I(n)));else{const e=n[n.length-1]||"";t.isOnComposition=!b.isKorean(e)}},onOptionCreate:e=>{t.optionsCount++,t.filteredOptionsCount++,t.options.set(e.value,e),t.cachedOptions.set(e.value,e)},onOptionDestroy:e=>{t.optionsCount--,t.filteredOptionsCount--,t.options.delete(e)},handleMenuEnter:()=>{o.nextTick((()=>X(t.selected)))},handleFocus:o=>{t.softFocus?t.softFocus=!1:((e.automaticDropdown||e.filterable)&&(t.visible=!0,e.filterable&&(t.menuVisibleOnFocus=!0)),n.emit("focus",o))},blur:()=>{t.visible=!1,s.value.blur()},handleBlur:e=>{o.nextTick((()=>{t.isSilentBlur?t.isSilentBlur=!1:n.emit("blur",e)})),t.softFocus=!1},handleClearClick:e=>{Y(e)},handleClose:()=>{t.visible=!1},toggleMenu:te,selectOption:()=>{t.visible?C.value[t.hoverIndex]&&G(C.value[t.hoverIndex],void 0):te()},getValueKey:t=>L(t.value)?i.getValueByPath(t.value,e.valueKey):t.value,navigateOptions:oe,dropMenuVisible:q,reference:s,input:a,popper:l,tags:c,selectWrapper:u,scrollbar:f}};var R=o.defineComponent({name:"ElSelect",componentName:"ElSelect",components:{ElInput:E.default,ElSelectMenu:F,ElOption:q,ElTag:S.default,ElScrollbar:O.default,ElPopper:C.default},directives:{ClickOutside:u.ClickOutside},props:{name:String,id:String,modelValue:[Array,String,Number,Boolean,Object],autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:f.isValidComponentSize},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0},clearIcon:{type:String,default:"el-icon-circle-close"}},emits:[p.UPDATE_MODEL_EVENT,p.CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(e,t){const n=function(e){const t=T.default();return o.reactive({options:new Map,cachedOptions:new Map,createdLabel:null,createdSelected:!1,selected:e.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:d.t("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1,selectEmitter:t,prefixWidth:null,tagInMultiLine:!1})}(e),{optionsArray:r,selectSize:i,readonly:a,handleResize:l,collapseTagSize:c,debouncedOnInputChange:u,debouncedQueryChange:f,deletePrevTag:h,deleteTag:m,deleteSelected:v,handleOptionSelect:y,scrollToOption:g,setSelected:b,resetInputHeight:_,managePlaceholder:w,showClose:k,selectDisabled:E,iconClass:S,showNewOption:C,emptyText:O,toggleLastOptionHitState:B,resetInputState:M,handleComposition:V,onOptionCreate:N,onOptionDestroy:A,handleMenuEnter:q,handleFocus:F,blur:L,handleBlur:I,handleClearClick:D,handleClose:R,toggleMenu:$,selectOption:z,getValueKey:H,navigateOptions:U,dropMenuVisible:K,reference:W,input:Q,popper:Y,tags:G,selectWrapper:Z,scrollbar:J}=j(e,n,t),{focus:X}=x.useFocus(W),{inputWidth:ee,selected:te,inputLength:ne,filteredOptionsCount:oe,visible:re,softFocus:ie,selectedLabel:se,hoverIndex:ae,query:le,inputHovering:ce,currentPlaceholder:ue,menuVisibleOnFocus:de,isOnComposition:pe,isSilentBlur:fe,options:he,cachedOptions:me,optionsCount:ve,prefixWidth:ye,tagInMultiLine:ge}=o.toRefs(n);o.provide(P,o.reactive({props:e,options:he,optionsArray:r,cachedOptions:me,optionsCount:ve,filteredOptionsCount:oe,hoverIndex:ae,handleOptionSelect:y,selectEmitter:n.selectEmitter,onOptionCreate:N,onOptionDestroy:A,selectWrapper:Z,selected:te,setSelected:b})),o.onMounted((()=>{if(n.cachedPlaceHolder=ue.value=e.placeholder||d.t("el.select.placeholder"),e.multiple&&Array.isArray(e.modelValue)&&e.modelValue.length>0&&(ue.value=""),s.addResizeListener(Z.value,l),W.value&&W.value.$el){const e={medium:36,small:32,mini:28},t=W.value.input;n.initialInputHeight=t.getBoundingClientRect().height||e[i.value]}e.remote&&e.multiple&&_(),o.nextTick((()=>{if(W.value.$el&&(ee.value=W.value.$el.getBoundingClientRect().width),t.slots.prefix){const e=W.value.$el.childNodes,t=[].filter.call(e,(e=>"INPUT"===e.tagName))[0],o=W.value.$el.querySelector(".el-input__prefix");ye.value=Math.max(o.getBoundingClientRect().width+5,30),n.prefixWidth&&(t.style.paddingLeft=`${Math.max(n.prefixWidth,30)}px`)}})),b()})),o.onBeforeUnmount((()=>{s.removeResizeListener(Z.value,l)})),e.multiple&&!Array.isArray(e.modelValue)&&t.emit(p.UPDATE_MODEL_EVENT,[]),!e.multiple&&Array.isArray(e.modelValue)&&t.emit(p.UPDATE_MODEL_EVENT,"");const be=o.computed((()=>{var e;return null==(e=Y.value)?void 0:e.popperRef}));return{tagInMultiLine:ge,prefixWidth:ye,selectSize:i,readonly:a,handleResize:l,collapseTagSize:c,debouncedOnInputChange:u,debouncedQueryChange:f,deletePrevTag:h,deleteTag:m,deleteSelected:v,handleOptionSelect:y,scrollToOption:g,inputWidth:ee,selected:te,inputLength:ne,filteredOptionsCount:oe,visible:re,softFocus:ie,selectedLabel:se,hoverIndex:ae,query:le,inputHovering:ce,currentPlaceholder:ue,menuVisibleOnFocus:de,isOnComposition:pe,isSilentBlur:fe,options:he,resetInputHeight:_,managePlaceholder:w,showClose:k,selectDisabled:E,iconClass:S,showNewOption:C,emptyText:O,toggleLastOptionHitState:B,resetInputState:M,handleComposition:V,handleMenuEnter:q,handleFocus:F,blur:L,handleBlur:I,handleClearClick:D,handleClose:R,toggleMenu:$,selectOption:z,getValueKey:H,navigateOptions:U,dropMenuVisible:K,focus:X,reference:W,input:Q,popper:Y,popperPaneRef:be,tags:G,selectWrapper:Z,scrollbar:J}}});const $={class:"select-trigger"},z={key:0},H={class:"el-select__tags-text"},U={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}},K={key:1,class:"el-select-dropdown__empty"};R.render=function(e,t,n,r,i,s){const a=o.resolveComponent("el-tag"),l=o.resolveComponent("el-input"),c=o.resolveComponent("el-option"),u=o.resolveComponent("el-scrollbar"),d=o.resolveComponent("el-select-menu"),p=o.resolveComponent("el-popper"),f=o.resolveDirective("click-outside");return o.withDirectives((o.openBlock(),o.createBlock("div",{ref:"selectWrapper",class:["el-select",[e.selectSize?"el-select--"+e.selectSize:""]],onClick:t[26]||(t[26]=o.withModifiers(((...t)=>e.toggleMenu&&e.toggleMenu(...t)),["stop"]))},[o.createVNode(p,{ref:"popper",visible:e.dropMenuVisible,"onUpdate:visible":t[25]||(t[25]=t=>e.dropMenuVisible=t),placement:"bottom-start","append-to-body":e.popperAppendToBody,"popper-class":`el-select__popper ${e.popperClass}`,"fallback-placements":["auto"],"manual-mode":"",effect:"light",pure:"",trigger:"click",transition:"el-zoom-in-top","stop-popper-mouse-event":!1,"gpu-acceleration":!1,onBeforeEnter:e.handleMenuEnter},{trigger:o.withCtx((()=>[o.createVNode("div",$,[e.multiple?(o.openBlock(),o.createBlock("div",{key:0,ref:"tags",class:"el-select__tags",style:{"max-width":e.inputWidth-32+"px",width:"100%"}},[e.collapseTags&&e.selected.length?(o.openBlock(),o.createBlock("span",z,[o.createVNode(a,{closable:!e.selectDisabled&&!e.selected[0].isDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:"info","disable-transitions":"",onClose:t[1]||(t[1]=t=>e.deleteTag(t,e.selected[0]))},{default:o.withCtx((()=>[o.createVNode("span",{class:"el-select__tags-text",style:{"max-width":e.inputWidth-123+"px"}},o.toDisplayString(e.selected[0].currentLabel),5)])),_:1},8,["closable","size","hit"]),e.selected.length>1?(o.openBlock(),o.createBlock(a,{key:0,closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""},{default:o.withCtx((()=>[o.createVNode("span",H,"+ "+o.toDisplayString(e.selected.length-1),1)])),_:1},8,["size"])):o.createCommentVNode("v-if",!0)])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" <div> "),e.collapseTags?o.createCommentVNode("v-if",!0):(o.openBlock(),o.createBlock(o.Transition,{key:1,onAfterLeave:e.resetInputHeight},{default:o.withCtx((()=>[o.createVNode("span",{style:{marginLeft:e.prefixWidth&&e.selected.length?`${e.prefixWidth}px`:null}},[(o.openBlock(!0),o.createBlock(o.Fragment,null,o.renderList(e.selected,(t=>(o.openBlock(),o.createBlock(a,{key:e.getValueKey(t),closable:!e.selectDisabled&&!t.isDisabled,size:e.collapseTagSize,hit:t.hitState,type:"info","disable-transitions":"",onClose:n=>e.deleteTag(n,t)},{default:o.withCtx((()=>[o.createVNode("span",{class:"el-select__tags-text",style:{"max-width":e.inputWidth-75+"px"}},o.toDisplayString(t.currentLabel),5)])),_:2},1032,["closable","size","hit","onClose"])))),128))],4)])),_:1},8,["onAfterLeave"])),o.createCommentVNode(" </div> "),e.filterable?o.withDirectives((o.openBlock(),o.createBlock("input",{key:2,ref:"input","onUpdate:modelValue":t[2]||(t[2]=t=>e.query=t),type:"text",class:["el-select__input",[e.selectSize?`is-${e.selectSize}`:""]],disabled:e.selectDisabled,autocomplete:e.autocomplete,style:{marginLeft:e.prefixWidth&&!e.selected.length||e.tagInMultiLine?`${e.prefixWidth}px`:null,flexGrow:"1",width:e.inputLength/(e.inputWidth-32)+"%",maxWidth:e.inputWidth-42+"px"},onFocus:t[3]||(t[3]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onBlur:t[4]||(t[4]=(...t)=>e.handleBlur&&e.handleBlur(...t)),onKeyup:t[5]||(t[5]=(...t)=>e.managePlaceholder&&e.managePlaceholder(...t)),onKeydown:[t[6]||(t[6]=(...t)=>e.resetInputState&&e.resetInputState(...t)),t[7]||(t[7]=o.withKeys(o.withModifiers((t=>e.navigateOptions("next")),["prevent"]),["down"])),t[8]||(t[8]=o.withKeys(o.withModifiers((t=>e.navigateOptions("prev")),["prevent"]),["up"])),t[9]||(t[9]=o.withKeys(o.withModifiers((t=>e.visible=!1),["stop","prevent"]),["esc"])),t[10]||(t[10]=o.withKeys(o.withModifiers(((...t)=>e.selectOption&&e.selectOption(...t)),["stop","prevent"]),["enter"])),t[11]||(t[11]=o.withKeys(((...t)=>e.deletePrevTag&&e.deletePrevTag(...t)),["delete"])),t[12]||(t[12]=o.withKeys((t=>e.visible=!1),["tab"]))],onCompositionstart:t[13]||(t[13]=(...t)=>e.handleComposition&&e.handleComposition(...t)),onCompositionupdate:t[14]||(t[14]=(...t)=>e.handleComposition&&e.handleComposition(...t)),onCompositionend:t[15]||(t[15]=(...t)=>e.handleComposition&&e.handleComposition(...t)),onInput:t[16]||(t[16]=(...t)=>e.debouncedQueryChange&&e.debouncedQueryChange(...t))},null,46,["disabled","autocomplete"])),[[o.vModelText,e.query]]):o.createCommentVNode("v-if",!0)],4)):o.createCommentVNode("v-if",!0),o.createVNode(l,{id:e.id,ref:"reference",modelValue:e.selectedLabel,"onUpdate:modelValue":t[18]||(t[18]=t=>e.selectedLabel=t),type:"text",placeholder:e.currentPlaceholder,name:e.name,autocomplete:e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,class:{"is-focus":e.visible},tabindex:e.multiple&&e.filterable?"-1":null,onFocus:e.handleFocus,onBlur:e.handleBlur,onInput:e.debouncedOnInputChange,onPaste:e.debouncedOnInputChange,onKeydown:[t[19]||(t[19]=o.withKeys(o.withModifiers((t=>e.navigateOptions("next")),["stop","prevent"]),["down"])),t[20]||(t[20]=o.withKeys(o.withModifiers((t=>e.navigateOptions("prev")),["stop","prevent"]),["up"])),o.withKeys(o.withModifiers(e.selectOption,["stop","prevent"]),["enter"]),t[21]||(t[21]=o.withKeys(o.withModifiers((t=>e.visible=!1),["stop","prevent"]),["esc"])),t[22]||(t[22]=o.withKeys((t=>e.visible=!1),["tab"]))],onMouseenter:t[23]||(t[23]=t=>e.inputHovering=!0),onMouseleave:t[24]||(t[24]=t=>e.inputHovering=!1)},o.createSlots({suffix:o.withCtx((()=>[o.withDirectives(o.createVNode("i",{class:["el-select__caret","el-input__icon","el-icon-"+e.iconClass]},null,2),[[o.vShow,!e.showClose]]),e.showClose?(o.openBlock(),o.createBlock("i",{key:0,class:`el-select__caret el-input__icon ${e.clearIcon}`,onClick:t[17]||(t[17]=(...t)=>e.handleClearClick&&e.handleClearClick(...t))},null,2)):o.createCommentVNode("v-if",!0)])),_:2},[e.$slots.prefix?{name:"prefix",fn:o.withCtx((()=>[o.createVNode("div",U,[o.renderSlot(e.$slots,"prefix")])]))}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","onFocus","onBlur","onInput","onPaste","onKeydown"])])])),default:o.withCtx((()=>[o.createVNode(d,null,{default:o.withCtx((()=>[o.withDirectives(o.createVNode(u,{ref:"scrollbar",tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list",class:{"is-empty":!e.allowCreate&&e.query&&0===e.filteredOptionsCount}},{default:o.withCtx((()=>[e.showNewOption?(o.openBlock(),o.createBlock(c,{key:0,value:e.query,created:!0},null,8,["value"])):o.createCommentVNode("v-if",!0),o.renderSlot(e.$slots,"default")])),_:3},8,["class"]),[[o.vShow,e.options.size>0&&!e.loading]]),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&0===e.options.size)?(o.openBlock(),o.createBlock(o.Fragment,{key:0},[e.$slots.empty?o.renderSlot(e.$slots,"empty",{key:0}):(o.openBlock(),o.createBlock("p",K,o.toDisplayString(e.emptyText),1))],2112)):o.createCommentVNode("v-if",!0)])),_:3})])),_:1},8,["visible","append-to-body","popper-class","onBeforeEnter"])],2)),[[f,e.handleClose,e.popperPaneRef]])},R.__file="packages/select/src/select.vue",R.install=e=>{e.component(R.name,R)};const W=R;t.Option=q,t.default=W},4912:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4865),r=n(5450),i=n(6801),s=o.defineComponent({name:"ElTag",props:{closable:Boolean,type:{type:String,default:""},hit:Boolean,disableTransitions:Boolean,color:{type:String,default:""},size:{type:String,validator:i.isValidComponentSize},effect:{type:String,default:"light",validator:e=>-1!==["dark","light","plain"].indexOf(e)}},emits:["close","click"],setup(e,t){const n=r.useGlobalConfig(),i=o.computed((()=>e.size||n.size)),s=o.computed((()=>{const{type:t,hit:n,effect:o}=e;return["el-tag",t?`el-tag--${t}`:"",i.value?`el-tag--${i.value}`:"",o?`el-tag--${o}`:"",n&&"is-hit"]}));return{tagSize:i,classes:s,handleClose:e=>{e.stopPropagation(),t.emit("close",e)},handleClick:e=>{t.emit("click",e)}}}});s.render=function(e,t,n,r,i,s){return e.disableTransitions?(o.openBlock(),o.createBlock(o.Transition,{key:1,name:"el-zoom-in-center"},{default:o.withCtx((()=>[o.createVNode("span",{class:e.classes,style:{backgroundColor:e.color},onClick:t[4]||(t[4]=(...t)=>e.handleClick&&e.handleClick(...t))},[o.renderSlot(e.$slots,"default"),e.closable?(o.openBlock(),o.createBlock("i",{key:0,class:"el-tag__close el-icon-close",onClick:t[3]||(t[3]=(...t)=>e.handleClose&&e.handleClose(...t))})):o.createCommentVNode("v-if",!0)],6)])),_:3})):(o.openBlock(),o.createBlock("span",{key:0,class:e.classes,style:{backgroundColor:e.color},onClick:t[2]||(t[2]=(...t)=>e.handleClick&&e.handleClick(...t))},[o.renderSlot(e.$slots,"default"),e.closable?(o.openBlock(),o.createBlock("i",{key:0,class:"el-tag__close el-icon-close",onClick:t[1]||(t[1]=(...t)=>e.handleClose&&e.handleClose(...t))})):o.createCommentVNode("v-if",!0)],6))},s.__file="packages/tag/src/index.vue",s.install=e=>{e.component(s.name,s)};const a=s;t.default=a},3676:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4865),r=n(5450),i=n(6722),s=n(6311),a=n(1617),l=n(9272),c=n(3566);function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=u(s),p=u(a);const f=["class","style"],h=/^on[A-Z]/;const m=[],v=e=>{if(0!==m.length&&e.code===l.EVENT_CODE.esc){e.stopPropagation();m[m.length-1].handleClose()}};u(c).default||i.on(document,"keydown",v);t.useAttrs=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,i=o.getCurrentInstance(),s=o.shallowRef({}),a=n.concat(f);return i.attrs=o.reactive(i.attrs),o.watchEffect((()=>{const e=r.entries(i.attrs).reduce(((e,[n,o])=>(a.includes(n)||t&&h.test(n)||(e[n]=o),e)),{});s.value=e})),s},t.useEvents=(e,t)=>{o.watch(e,(n=>{n?t.forEach((({name:t,handler:n})=>{i.on(e.value,t,n)})):t.forEach((({name:t,handler:n})=>{i.off(e.value,t,n)}))}))},t.useFocus=e=>({focus:()=>{var t,n;null==(n=null==(t=e.value)?void 0:t.focus)||n.call(t)}}),t.useLockScreen=e=>{o.isRef(e)||p.default("[useLockScreen]","You need to pass a ref param to this function");let t=0,n=!1,r="0",s=0;o.onUnmounted((()=>{a()}));const a=()=>{i.removeClass(document.body,"el-popup-parent--hidden"),n&&(document.body.style.paddingRight=r)};o.watch(e,(e=>{if(e){n=!i.hasClass(document.body,"el-popup-parent--hidden"),n&&(r=document.body.style.paddingRight,s=parseInt(i.getStyle(document.body,"paddingRight"),10)),t=d.default();const e=document.documentElement.clientHeight<document.body.scrollHeight,o=i.getStyle(document.body,"overflowY");t>0&&(e||"scroll"===o)&&n&&(document.body.style.paddingRight=s+t+"px"),i.addClass(document.body,"el-popup-parent--hidden")}else a()}))},t.useMigrating=function(){o.onMounted((()=>{o.getCurrentInstance()}));const e=function(){return{props:{},events:{}}};return{getMigratingConfig:e}},t.useModal=(e,t)=>{o.watch((()=>t.value),(t=>{t?m.push(e):m.splice(m.findIndex((t=>t===e)),1)}))},t.usePreventGlobal=(e,t,n)=>{const r=e=>{n(e)&&e.stopImmediatePropagation()};o.watch((()=>e.value),(e=>{e?i.on(document,t,r,!0):i.off(document,t,r,!0)}),{immediate:!0})},t.useRestoreActive=(e,t)=>{let n;o.watch((()=>e.value),(e=>{var r,i;e?(n=document.activeElement,o.isRef(t)&&(null==(i=(r=t.value).focus)||i.call(r))):n.focus()}))},t.useThrottleRender=function(e,t=0){if(0===t)return e;const n=o.ref(!1);let r=0;const i=()=>{r&&clearTimeout(r),r=window.setTimeout((()=>{n.value=e.value}),t)};return o.onMounted(i),o.watch((()=>e.value),(e=>{e?i():n.value=e})),n}},7993:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2372),r=n(7484);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(o),a=i(r);let l=s.default,c=null;const u=e=>{c=e};function d(e,t){return e&&t?e.replace(/\{(\w+)\}/g,((e,n)=>t[n])):e}const p=(...e)=>{if(c)return c(...e);const[t,n]=e;let o;const r=t.split(".");let i=l;for(let e=0,t=r.length;e<t;e++){if(o=i[r[e]],e===t-1)return d(o,n);if(!o)return"";i=o}return""},f=e=>{l=e||l,l.name&&a.default.locale(l.name)};var h={use:f,t:p,i18n:u};t.default=h,t.i18n=u,t.t=p,t.use=f},2372:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:""},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}}},9272:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e=>{return"fixed"!==getComputedStyle(e).position&&null!==e.offsetParent},o=e=>{if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return!("hidden"===e.type||"file"===e.type);case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},r=e=>{var t;return!!o(e)&&(i.IgnoreUtilFocusChanges=!0,null===(t=e.focus)||void 0===t||t.call(e),i.IgnoreUtilFocusChanges=!1,document.activeElement===e)},i={IgnoreUtilFocusChanges:!1,focusFirstDescendant:function(e){for(let t=0;t<e.childNodes.length;t++){const n=e.childNodes[t];if(r(n)||this.focusFirstDescendant(n))return!0}return!1},focusLastDescendant:function(e){for(let t=e.childNodes.length-1;t>=0;t--){const n=e.childNodes[t];if(r(n)||this.focusLastDescendant(n))return!0}return!1}};t.EVENT_CODE={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace"},t.attemptFocus=r,t.default=i,t.isFocusable=o,t.isVisible=n,t.obtainAllFocusableElements=e=>Array.from(e.querySelectorAll('a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])')).filter(o).filter(n),t.triggerEvent=function(e,t,...n){let o;o=t.includes("mouse")||t.includes("click")?"MouseEvents":t.includes("key")?"KeyboardEvent":"HTMLEvents";const r=document.createEvent(o);return r.initEvent(t,...n),e.dispatchEvent(r),e}},544:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n={};t.getConfig=e=>n[e],t.setConfig=e=>{n=e}},2532:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.CHANGE_EVENT="change",t.INPUT_EVENT="input",t.UPDATE_MODEL_EVENT="update:modelValue",t.VALIDATE_STATE_MAP={validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}},6722:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3566),r=n(5450);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(o);const a=function(e,t,n,o=!1){e&&t&&n&&e.addEventListener(t,n,o)},l=function(e,t,n,o=!1){e&&t&&n&&e.removeEventListener(t,n,o)};function c(e,t){if(!e||!t)return!1;if(-1!==t.indexOf(" "))throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}const u=function(e,t){if(!s.default){if(!e||!t)return null;"float"===(t=r.camelize(t))&&(t="cssFloat");try{const n=e.style[t];if(n)return n;const o=document.defaultView.getComputedStyle(e,"");return o?o[t]:""}catch(n){return e.style[t]}}};function d(e,t,n){e&&t&&(r.isObject(t)?Object.keys(t).forEach((n=>{d(e,n,t[n])})):(t=r.camelize(t),e.style[t]=n))}const p=(e,t)=>{if(s.default)return;return u(e,null==t?"overflow":t?"overflow-y":"overflow-x").match(/(scroll|auto)/)},f=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t};t.addClass=function(e,t){if(!e)return;let n=e.className;const o=(t||"").split(" ");for(let t=0,r=o.length;t<r;t++){const r=o[t];r&&(e.classList?e.classList.add(r):c(e,r)||(n+=" "+r))}e.classList||(e.className=n)},t.getOffsetTop=f,t.getOffsetTopDistance=(e,t)=>Math.abs(f(e)-f(t)),t.getScrollContainer=(e,t)=>{if(s.default)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(p(n,t))return n;n=n.parentNode}return n},t.getStyle=u,t.hasClass=c,t.isInContainer=(e,t)=>{if(s.default||!e||!t)return!1;const n=e.getBoundingClientRect();let o;return o=[window,document,document.documentElement,null,void 0].includes(t)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:t.getBoundingClientRect(),n.top<o.bottom&&n.bottom>o.top&&n.right>o.left&&n.left<o.right},t.isScroll=p,t.off=l,t.on=a,t.once=function(e,t,n){const o=function(...r){n&&n.apply(this,r),l(e,t,o)};a(e,t,o)},t.removeClass=function(e,t){if(!e||!t)return;const n=t.split(" ");let o=" "+e.className+" ";for(let t=0,r=n.length;t<r;t++){const r=n[t];r&&(e.classList?e.classList.remove(r):c(e,r)&&(o=o.replace(" "+r+" "," ")))}e.classList||(e.className=(o||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,""))},t.removeStyle=function(e,t){e&&t&&(r.isObject(t)?Object.keys(t).forEach((t=>{d(e,t,"")})):d(e,t,""))},t.setStyle=d,t.stop=e=>e.stopPropagation()},1617:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super(e),this.name="ElementPlusError"}}t.default=(e,t)=>{throw new n(`[${e}] ${t}`)},t.warn=function(e,t){console.warn(new n(`[${e}] ${t}`))}},6645:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isKorean=function(e){return/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(e)}},3566:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="undefined"==typeof window;t.default=n},9169:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3566),r=n(544),i=n(6722),s=n(9272);function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=a(o);const c=e=>{e.preventDefault(),e.stopPropagation()},u=()=>{null==m||m.doOnModalClick()};let d,p=!1;const f=function(){if(l.default)return;let e=m.modalDom;return e?p=!0:(p=!1,e=document.createElement("div"),m.modalDom=e,i.on(e,"touchmove",c),i.on(e,"click",u)),e},h={},m={modalFade:!0,modalDom:void 0,zIndex:d,getInstance:function(e){return h[e]},register:function(e,t){e&&t&&(h[e]=t)},deregister:function(e){e&&(h[e]=null,delete h[e])},nextZIndex:function(){return++m.zIndex},modalStack:[],doOnModalClick:function(){const e=m.modalStack[m.modalStack.length-1];if(!e)return;const t=m.getInstance(e.id);t&&t.closeOnClickModal.value&&t.close()},openModal:function(e,t,n,o,r){if(l.default)return;if(!e||void 0===t)return;this.modalFade=r;const s=this.modalStack;for(let t=0,n=s.length;t<n;t++){if(s[t].id===e)return}const a=f();if(i.addClass(a,"v-modal"),this.modalFade&&!p&&i.addClass(a,"v-modal-enter"),o){o.trim().split(/\s+/).forEach((e=>i.addClass(a,e)))}setTimeout((()=>{i.removeClass(a,"v-modal-enter")}),200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(a):document.body.appendChild(a),t&&(a.style.zIndex=String(t)),a.tabIndex=0,a.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:o})},closeModal:function(e){const t=this.modalStack,n=f();if(t.length>0){const o=t[t.length-1];if(o.id===e){if(o.modalClass){o.modalClass.trim().split(/\s+/).forEach((e=>i.removeClass(n,e)))}t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex)}else for(let n=t.length-1;n>=0;n--)if(t[n].id===e){t.splice(n,1);break}}0===t.length&&(this.modalFade&&i.addClass(n,"v-modal-leave"),setTimeout((()=>{0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",m.modalDom=void 0),i.removeClass(n,"v-modal-leave")}),200))}};Object.defineProperty(m,"zIndex",{configurable:!0,get:()=>(void 0===d&&(d=r.getConfig("zIndex")||2e3),d),set(e){d=e}});l.default||i.on(window,"keydown",(function(e){if(e.code===s.EVENT_CODE.esc){const e=function(){if(!l.default&&m.modalStack.length>0){const e=m.modalStack[m.modalStack.length-1];if(!e)return;return m.getInstance(e.id)}}();e&&e.closeOnPressEscape.value&&(e.handleClose?e.handleClose():e.handleAction?e.handleAction("cancel"):e.close())}})),t.default=m},2406:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1033),r=n(3566);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(o),a=i(r);const l=function(e){for(const t of e){const e=t.target.__resizeListeners__||[];e.length&&e.forEach((e=>{e()}))}};t.addResizeListener=function(e,t){!a.default&&e&&(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new s.default(l),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},4593:(e,t,n)=>{"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(3566));t.default=function(e,t){if(r.default)return;if(!t)return void(e.scrollTop=0);const n=[];let o=t.offsetParent;for(;null!==o&&e!==o&&e.contains(o);)n.push(o),o=o.offsetParent;const i=t.offsetTop+n.reduce(((e,t)=>e+t.offsetTop),0),s=i+t.offsetHeight,a=e.scrollTop,l=a+e.clientHeight;i<a?e.scrollTop=i:s>l&&(e.scrollTop=s-e.clientHeight)}},6311:(e,t,n)=>{"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(3566));let i;t.default=function(){if(r.default)return 0;if(void 0!==i)return i;const e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const t=e.offsetWidth;e.style.overflow="scroll";const n=document.createElement("div");n.style.width="100%",e.appendChild(n);const o=n.offsetWidth;return e.parentNode.removeChild(e),i=t-o,i}},5450:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4865),r=n(3577),i=n(3566);n(1617);function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=s(i);const l=r.hyphenate,c=e=>"number"==typeof e;Object.defineProperty(t,"isVNode",{enumerable:!0,get:function(){return o.isVNode}}),Object.defineProperty(t,"camelize",{enumerable:!0,get:function(){return r.camelize}}),Object.defineProperty(t,"capitalize",{enumerable:!0,get:function(){return r.capitalize}}),Object.defineProperty(t,"extend",{enumerable:!0,get:function(){return r.extend}}),Object.defineProperty(t,"hasOwn",{enumerable:!0,get:function(){return r.hasOwn}}),Object.defineProperty(t,"isArray",{enumerable:!0,get:function(){return r.isArray}}),Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return r.isObject}}),Object.defineProperty(t,"isString",{enumerable:!0,get:function(){return r.isString}}),Object.defineProperty(t,"looseEqual",{enumerable:!0,get:function(){return r.looseEqual}}),t.$=function(e){return e.value},t.SCOPE="Util",t.addUnit=function(e){return r.isString(e)?e:c(e)?e+"px":""},t.arrayFind=function(e,t){return e.find(t)},t.arrayFindIndex=function(e,t){return e.findIndex(t)},t.arrayFlat=function e(t){return t.reduce(((t,n)=>{const o=Array.isArray(n)?e(n):n;return t.concat(o)}),[])},t.autoprefixer=function(e){const t=["ms-","webkit-"];return["transform","transition","animation"].forEach((n=>{const o=e[n];n&&o&&t.forEach((t=>{e[t+n]=o}))})),e},t.clearTimer=e=>{clearTimeout(e.value),e.value=null},t.coerceTruthyValueToArray=e=>e||0===e?Array.isArray(e)?e:[e]:[],t.deduplicate=function(e){return Array.from(new Set(e))},t.entries=function(e){return Object.keys(e).map((t=>[t,e[t]]))},t.escapeRegexpString=(e="")=>String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"),t.generateId=()=>Math.floor(1e4*Math.random()),t.getPropByPath=function(e,t,n){let o=e;const r=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split(".");let i=0;for(;i<r.length-1&&(o||n);i++){const e=r[i];if(!(e in o)){if(n)throw new Error("please transfer a valid prop path to form item!");break}o=o[e]}return{o,k:r[i],v:null==o?void 0:o[r[i]]}},t.getRandomInt=function(e){return Math.floor(Math.random()*Math.floor(e))},t.getValueByPath=(e,t="")=>{let n=e;return t.split(".").map((e=>{n=null==n?void 0:n[e]})),n},t.isBool=e=>"boolean"==typeof e,t.isEdge=function(){return!a.default&&navigator.userAgent.indexOf("Edge")>-1},t.isEmpty=function(e){return!!(!e&&0!==e||r.isArray(e)&&!e.length||r.isObject(e)&&!Object.keys(e).length)},t.isFirefox=function(){return!a.default&&!!window.navigator.userAgent.match(/firefox/i)},t.isHTMLElement=e=>r.toRawType(e).startsWith("HTML"),t.isIE=function(){return!a.default&&!isNaN(Number(document.documentMode))},t.isNumber=c,t.isUndefined=function(e){return void 0===e},t.kebabCase=l,t.rafThrottle=function(e){let t=!1;return function(...n){t||(t=!0,window.requestAnimationFrame((()=>{e.apply(this,n),t=!1})))}},t.toObject=function(e){const t={};for(let n=0;n<e.length;n++)e[n]&&r.extend(t,e[n]);return t},t.useGlobalConfig=function(){const e=o.getCurrentInstance();return"$ELEMENT"in e.proxy?e.proxy.$ELEMENT:{}}},6801:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5450);t.isValidComponentSize=e=>["","large","medium","small","mini"].includes(e),t.isValidDatePickType=e=>["year","month","date","dates","week","datetime","datetimerange","daterange","monthrange"].includes(e),t.isValidWidthUnit=e=>!!o.isNumber(e)||["px","rem","em","vw","%","vmin","vmax"].some((t=>e.endsWith(t)))},7050:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4865);var r;(r=t.PatchFlags||(t.PatchFlags={}))[r.TEXT=1]="TEXT",r[r.CLASS=2]="CLASS",r[r.STYLE=4]="STYLE",r[r.PROPS=8]="PROPS",r[r.FULL_PROPS=16]="FULL_PROPS",r[r.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",r[r.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",r[r.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",r[r.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",r[r.NEED_PATCH=512]="NEED_PATCH",r[r.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",r[r.HOISTED=-1]="HOISTED",r[r.BAIL=-2]="BAIL";const i=e=>e.type===o.Fragment,s=e=>e.type===o.Comment,a=e=>"template"===e.type;function l(e,t){if(!s(e))return i(e)||a(e)?t>0?c(e.children,t-1):void 0:e}const c=(e,t=3)=>Array.isArray(e)?l(e[0],t):l(e,t);function u(e,t,n,r,i){return o.openBlock(),o.createBlock(e,t,n,r,i)}t.getFirstValidNode=c,t.isComment=s,t.isFragment=i,t.isTemplate=a,t.isText=e=>e.type===o.Text,t.isValidElementNode=e=>!(i(e)||s(e)),t.renderBlock=u,t.renderIf=function(e,t,n,r,i,s){return e?u(t,n,r,i,s):o.createCommentVNode("v-if",!0)}},8552:(e,t,n)=>{var o=n(852)(n(5639),"DataView");e.exports=o},1989:(e,t,n)=>{var o=n(1789),r=n(401),i=n(7667),s=n(1327),a=n(1866);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,e.exports=l},8407:(e,t,n)=>{var o=n(7040),r=n(4125),i=n(2117),s=n(7518),a=n(4705);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,e.exports=l},7071:(e,t,n)=>{var o=n(852)(n(5639),"Map");e.exports=o},3369:(e,t,n)=>{var o=n(4785),r=n(1285),i=n(6e3),s=n(9916),a=n(5265);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,e.exports=l},3818:(e,t,n)=>{var o=n(852)(n(5639),"Promise");e.exports=o},8525:(e,t,n)=>{var o=n(852)(n(5639),"Set");e.exports=o},8668:(e,t,n)=>{var o=n(3369),r=n(619),i=n(2385);function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=r,s.prototype.has=i,e.exports=s},6384:(e,t,n)=>{var o=n(8407),r=n(7465),i=n(3779),s=n(7599),a=n(4758),l=n(4309);function c(e){var t=this.__data__=new o(e);this.size=t.size}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=s,c.prototype.has=a,c.prototype.set=l,e.exports=c},2705:(e,t,n)=>{var o=n(5639).Symbol;e.exports=o},1149:(e,t,n)=>{var o=n(5639).Uint8Array;e.exports=o},577:(e,t,n)=>{var o=n(852)(n(5639),"WeakMap");e.exports=o},4963:e=>{e.exports=function(e,t){for(var n=-1,o=null==e?0:e.length,r=0,i=[];++n<o;){var s=e[n];t(s,n,e)&&(i[r++]=s)}return i}},4636:(e,t,n)=>{var o=n(2545),r=n(5694),i=n(1469),s=n(4144),a=n(5776),l=n(6719),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&r(e),d=!n&&!u&&s(e),p=!n&&!u&&!d&&l(e),f=n||u||d||p,h=f?o(e.length,String):[],m=h.length;for(var v in e)!t&&!c.call(e,v)||f&&("length"==v||d&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||a(v,m))||h.push(v);return h}},2488:e=>{e.exports=function(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}},2908:e=>{e.exports=function(e,t){for(var n=-1,o=null==e?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}},8470:(e,t,n)=>{var o=n(7813);e.exports=function(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}},8866:(e,t,n)=>{var o=n(2488),r=n(1469);e.exports=function(e,t,n){var i=t(e);return r(e)?i:o(i,n(e))}},4239:(e,t,n)=>{var o=n(2705),r=n(9607),i=n(2333),s=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?r(e):i(e)}},9454:(e,t,n)=>{var o=n(4239),r=n(7005);e.exports=function(e){return r(e)&&"[object Arguments]"==o(e)}},939:(e,t,n)=>{var o=n(2492),r=n(7005);e.exports=function e(t,n,i,s,a){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:o(t,n,i,s,e,a))}},2492:(e,t,n)=>{var o=n(6384),r=n(7114),i=n(8351),s=n(6096),a=n(4160),l=n(1469),c=n(4144),u=n(6719),d="[object Arguments]",p="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,v,y){var g=l(e),b=l(t),_=g?p:a(e),w=b?p:a(t),x=(_=_==d?f:_)==f,k=(w=w==d?f:w)==f,E=_==w;if(E&&c(e)){if(!c(t))return!1;g=!0,x=!1}if(E&&!x)return y||(y=new o),g||u(e)?r(e,t,n,m,v,y):i(e,t,_,n,m,v,y);if(!(1&n)){var S=x&&h.call(e,"__wrapped__"),C=k&&h.call(t,"__wrapped__");if(S||C){var O=S?e.value():e,T=C?t.value():t;return y||(y=new o),v(O,T,n,m,y)}}return!!E&&(y||(y=new o),s(e,t,n,m,v,y))}},8458:(e,t,n)=>{var o=n(3560),r=n(5346),i=n(3218),s=n(346),a=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(o(e)?p:a).test(s(e))}},8749:(e,t,n)=>{var o=n(4239),r=n(1780),i=n(7005),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&r(e.length)&&!!s[o(e)]}},280:(e,t,n)=>{var o=n(5726),r=n(6916),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!o(e))return r(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},2545:e=>{e.exports=function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}},7561:(e,t,n)=>{var o=n(7990),r=/^\s+/;e.exports=function(e){return e?e.slice(0,o(e)+1).replace(r,""):e}},1717:e=>{e.exports=function(e){return function(t){return e(t)}}},4757:e=>{e.exports=function(e,t){return e.has(t)}},4429:(e,t,n)=>{var o=n(5639)["__core-js_shared__"];e.exports=o},7114:(e,t,n)=>{var o=n(8668),r=n(2908),i=n(4757);e.exports=function(e,t,n,s,a,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var p=l.get(e),f=l.get(t);if(p&&f)return p==t&&f==e;var h=-1,m=!0,v=2&n?new o:void 0;for(l.set(e,t),l.set(t,e);++h<u;){var y=e[h],g=t[h];if(s)var b=c?s(g,y,h,t,e,l):s(y,g,h,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(v){if(!r(t,(function(e,t){if(!i(v,t)&&(y===e||a(y,e,n,s,l)))return v.push(t)}))){m=!1;break}}else if(y!==g&&!a(y,g,n,s,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},8351:(e,t,n)=>{var o=n(2705),r=n(1149),i=n(7813),s=n(7114),a=n(8776),l=n(1814),c=o?o.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,o,c,d,p){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||!d(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=a;case"[object Set]":var h=1&o;if(f||(f=l),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;o|=2,p.set(e,t);var v=s(f(e),f(t),o,c,d,p);return p.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},6096:(e,t,n)=>{var o=n(8234),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,s,a){var l=1&n,c=o(e),u=c.length;if(u!=o(t).length&&!l)return!1;for(var d=u;d--;){var p=c[d];if(!(l?p in t:r.call(t,p)))return!1}var f=a.get(e),h=a.get(t);if(f&&h)return f==t&&h==e;var m=!0;a.set(e,t),a.set(t,e);for(var v=l;++d<u;){var y=e[p=c[d]],g=t[p];if(i)var b=l?i(g,y,p,t,e,a):i(y,g,p,e,t,a);if(!(void 0===b?y===g||s(y,g,n,i,a):b)){m=!1;break}v||(v="constructor"==p)}if(m&&!v){var _=e.constructor,w=t.constructor;_==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(m=!1)}return a.delete(e),a.delete(t),m}},1957:(e,t,n)=>{var o="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=o},8234:(e,t,n)=>{var o=n(8866),r=n(9551),i=n(3674);e.exports=function(e){return o(e,i,r)}},5050:(e,t,n)=>{var o=n(7019);e.exports=function(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}},852:(e,t,n)=>{var o=n(8458),r=n(7801);e.exports=function(e,t){var n=r(e,t);return o(n)?n:void 0}},9607:(e,t,n)=>{var o=n(2705),r=Object.prototype,i=r.hasOwnProperty,s=r.toString,a=o?o.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var o=!0}catch(e){}var r=s.call(e);return o&&(t?e[a]=n:delete e[a]),r}},9551:(e,t,n)=>{var o=n(4963),r=n(479),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),o(s(e),(function(t){return i.call(e,t)})))}:r;e.exports=a},4160:(e,t,n)=>{var o=n(8552),r=n(7071),i=n(3818),s=n(8525),a=n(577),l=n(4239),c=n(346),u="[object Map]",d="[object Promise]",p="[object Set]",f="[object WeakMap]",h="[object DataView]",m=c(o),v=c(r),y=c(i),g=c(s),b=c(a),_=l;(o&&_(new o(new ArrayBuffer(1)))!=h||r&&_(new r)!=u||i&&_(i.resolve())!=d||s&&_(new s)!=p||a&&_(new a)!=f)&&(_=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,o=n?c(n):"";if(o)switch(o){case m:return h;case v:return u;case y:return d;case g:return p;case b:return f}return t}),e.exports=_},7801:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},1789:(e,t,n)=>{var o=n(4536);e.exports=function(){this.__data__=o?o(null):{},this.size=0}},401:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:(e,t,n)=>{var o=n(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(o){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},1327:(e,t,n)=>{var o=n(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return o?void 0!==t[e]:r.call(t,e)}},1866:(e,t,n)=>{var o=n(4536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this}},5776:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var o=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&t.test(e))&&e>-1&&e%1==0&&e<n}},7019:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:(e,t,n)=>{var o,r=n(4429),i=(o=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";e.exports=function(e){return!!i&&i in e}},5726:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},7040:e=>{e.exports=function(){this.__data__=[],this.size=0}},4125:(e,t,n)=>{var o=n(8470),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():r.call(t,n,1),--this.size,!0)}},2117:(e,t,n)=>{var o=n(8470);e.exports=function(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}},7518:(e,t,n)=>{var o=n(8470);e.exports=function(e){return o(this.__data__,e)>-1}},4705:(e,t,n)=>{var o=n(8470);e.exports=function(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},4785:(e,t,n)=>{var o=n(1989),r=n(8407),i=n(7071);e.exports=function(){this.size=0,this.__data__={hash:new o,map:new(i||r),string:new o}}},1285:(e,t,n)=>{var o=n(5050);e.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}},6e3:(e,t,n)=>{var o=n(5050);e.exports=function(e){return o(this,e).get(e)}},9916:(e,t,n)=>{var o=n(5050);e.exports=function(e){return o(this,e).has(e)}},5265:(e,t,n)=>{var o=n(5050);e.exports=function(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},8776:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,o){n[++t]=[o,e]})),n}},4536:(e,t,n)=>{var o=n(852)(Object,"create");e.exports=o},6916:(e,t,n)=>{var o=n(5569)(Object.keys,Object);e.exports=o},1167:(e,t,n)=>{e=n.nmd(e);var o=n(1957),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,s=i&&i.exports===r&&o.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},5639:(e,t,n)=>{var o=n(1957),r="object"==typeof self&&self&&self.Object===Object&&self,i=o||r||Function("return this")();e.exports=i},619:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2385:e=>{e.exports=function(e){return this.__data__.has(e)}},1814:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},7465:(e,t,n)=>{var o=n(8407);e.exports=function(){this.__data__=new o,this.size=0}},3779:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},7599:e=>{e.exports=function(e){return this.__data__.get(e)}},4758:e=>{e.exports=function(e){return this.__data__.has(e)}},4309:(e,t,n)=>{var o=n(8407),r=n(7071),i=n(3369);e.exports=function(e,t){var n=this.__data__;if(n instanceof o){var s=n.__data__;if(!r||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(s)}return n.set(e,t),this.size=n.size,this}},346:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7990:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},3279:(e,t,n)=>{var o=n(3218),r=n(7771),i=n(4841),s=Math.max,a=Math.min;e.exports=function(e,t,n){var l,c,u,d,p,f,h=0,m=!1,v=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=l,o=c;return l=c=void 0,h=t,d=e.apply(o,n)}function b(e){return h=e,p=setTimeout(w,t),m?g(e):d}function _(e){var n=e-f;return void 0===f||n>=t||n<0||v&&e-h>=u}function w(){var e=r();if(_(e))return x(e);p=setTimeout(w,function(e){var n=t-(e-f);return v?a(n,u-(e-h)):n}(e))}function x(e){return p=void 0,y&&l?g(e):(l=c=void 0,d)}function k(){var e=r(),n=_(e);if(l=arguments,c=this,f=e,n){if(void 0===p)return b(f);if(v)return clearTimeout(p),p=setTimeout(w,t),g(f)}return void 0===p&&(p=setTimeout(w,t)),d}return t=i(t)||0,o(n)&&(m=!!n.leading,u=(v="maxWait"in n)?s(i(n.maxWait)||0,t):u,y="trailing"in n?!!n.trailing:y),k.cancel=function(){void 0!==p&&clearTimeout(p),h=0,l=f=c=p=void 0},k.flush=function(){return void 0===p?d:x(r())},k}},7813:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},5694:(e,t,n)=>{var o=n(9454),r=n(7005),i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable,l=o(function(){return arguments}())?o:function(e){return r(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=l},1469:e=>{var t=Array.isArray;e.exports=t},8612:(e,t,n)=>{var o=n(3560),r=n(1780);e.exports=function(e){return null!=e&&r(e.length)&&!o(e)}},4144:(e,t,n)=>{e=n.nmd(e);var o=n(5639),r=n(5062),i=t&&!t.nodeType&&t,s=i&&e&&!e.nodeType&&e,a=s&&s.exports===i?o.Buffer:void 0,l=(a?a.isBuffer:void 0)||r;e.exports=l},8446:(e,t,n)=>{var o=n(939);e.exports=function(e,t){return o(e,t)}},3560:(e,t,n)=>{var o=n(4239),r=n(3218);e.exports=function(e){if(!r(e))return!1;var t=o(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},3448:(e,t,n)=>{var o=n(4239),r=n(7005);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==o(e)}},6719:(e,t,n)=>{var o=n(8749),r=n(1717),i=n(1167),s=i&&i.isTypedArray,a=s?r(s):o;e.exports=a},3674:(e,t,n)=>{var o=n(4636),r=n(280),i=n(8612);e.exports=function(e){return i(e)?o(e):r(e)}},7771:(e,t,n)=>{var o=n(5639);e.exports=function(){return o.Date.now()}},479:e=>{e.exports=function(){return[]}},5062:e=>{e.exports=function(){return!1}},4841:(e,t,n)=>{var o=n(7561),r=n(3218),i=n(3448),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var n=a.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):s.test(e)?NaN:+e}},7230:()=>{},9652:(e,t,n)=>{"use strict";function o(e){return{all:e=e||new Map,on:function(t,n){var o=e.get(t);o&&o.push(n)||e.set(t,[n])},off:function(t,n){var o=e.get(t);o&&o.splice(o.indexOf(n)>>>0,1)},emit:function(t,n){(e.get(t)||[]).slice().map((function(e){e(n)})),(e.get("*")||[]).slice().map((function(e){e(t,n)}))}}}n.r(t),n.d(t,{default:()=>o})},2796:(e,t,n)=>{e.exports=n(643)},3264:e=>{"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},4518:e=>{var t,n,o,r,i,s,a,l,c,u,d,p,f,h,m,v=!1;function y(){if(!v){v=!0;var e=navigator.userAgent,y=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),g=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(p=/\b(iPhone|iP[ao]d)/.exec(e),f=/\b(iP[ao]d)/.exec(e),u=/Android/i.exec(e),h=/FBAN\/\w+;/i.exec(e),m=/Mobile/i.exec(e),d=!!/Win64/.exec(e),y){(t=y[1]?parseFloat(y[1]):y[5]?parseFloat(y[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(e);s=b?parseFloat(b[1])+4:t,n=y[2]?parseFloat(y[2]):NaN,o=y[3]?parseFloat(y[3]):NaN,(r=y[4]?parseFloat(y[4]):NaN)?(y=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=y&&y[1]?parseFloat(y[1]):NaN):i=NaN}else t=n=o=i=r=NaN;if(g){if(g[1]){var _=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);a=!_||parseFloat(_[1].replace("_","."))}else a=!1;l=!!g[2],c=!!g[3]}else a=l=c=!1}}var g={ie:function(){return y()||t},ieCompatibilityMode:function(){return y()||s>t},ie64:function(){return g.ie()&&d},firefox:function(){return y()||n},opera:function(){return y()||o},webkit:function(){return y()||r},safari:function(){return g.webkit()},chrome:function(){return y()||i},windows:function(){return y()||l},osx:function(){return y()||a},linux:function(){return y()||c},iphone:function(){return y()||p},mobile:function(){return y()||p||f||u||m},nativeApp:function(){return y()||h},android:function(){return y()||u},ipad:function(){return y()||f}};e.exports=g},6534:(e,t,n)=>{"use strict";var o,r=n(3264);r.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var s=document.createElement("div");s.setAttribute(n,"return;"),i="function"==typeof s[n]}return!i&&o&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},643:(e,t,n)=>{"use strict";var o=n(4518),r=n(6534);function i(e){var t=0,n=0,o=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),o=10*t,r=10*n,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(o=e.deltaX),(o||r)&&e.deltaMode&&(1==e.deltaMode?(o*=40,r*=40):(o*=800,r*=800)),o&&!t&&(t=o<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:o,pixelY:r}}i.getEventType=function(){return o.firefox()?"DOMMouseScroll":r("wheel")?"wheel":"mousewheel"},e.exports=i},1033:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var o=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,o=!1,r=0;function i(){n&&(n=!1,e()),o&&l()}function a(){s(i)}function l(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(a,t);r=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;a.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},p=g(0,0,0,0);function f(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+f(e["border-"+n+"-width"])}),0)}function m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var o=d(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],i=e["padding-"+r];t[r]=f(i)}return t}(o),i=r.left+r.right,s=r.top+r.bottom,a=f(o.width),l=f(o.height);if("border-box"===o.boxSizing&&(Math.round(a+i)!==t&&(a-=h(o,"left","right")+i),Math.round(l+s)!==n&&(l-=h(o,"top","bottom")+s)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(a+i)-t,u=Math.round(l+s)-n;1!==Math.abs(c)&&(a-=c),1!==Math.abs(u)&&(l-=u)}return g(r.left,r.top,a,l)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return r?v(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):m(e):p}function g(e,t,n,o){return{x:e,y:t,width:n,height:o}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),_=function(e,t){var n,o,r,i,s,a,l,c=(o=(n=t).x,r=n.y,i=n.width,s=n.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(a.prototype),u(l,{x:o,y:r,width:i,height:s,top:r,right:o+i,bottom:s+r,left:o}),l);u(this,{target:e,contentRect:c})},w=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new o,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new _(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),x="undefined"!=typeof WeakMap?new WeakMap:new o,k=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),o=new w(t,n,this);x.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){k.prototype[e]=function(){var t;return(t=x.get(this))[e].apply(t,arguments)}}));const E=void 0!==i.ResizeObserver?i.ResizeObserver:k},6770:()=>{!function(e,t){"use strict";"function"!=typeof e.CustomEvent&&(e.CustomEvent=function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var o=t.createEvent("CustomEvent");return o.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),o},e.CustomEvent.prototype=e.Event.prototype),t.addEventListener("touchstart",(function(e){if("true"===e.target.getAttribute("data-swipe-ignore"))return;a=e.target,s=Date.now(),n=e.touches[0].clientX,o=e.touches[0].clientY,r=0,i=0}),!1),t.addEventListener("touchmove",(function(e){if(!n||!o)return;var t=e.touches[0].clientX,s=e.touches[0].clientY;r=n-t,i=o-s}),!1),t.addEventListener("touchend",(function(e){if(a!==e.target)return;var t=parseInt(l(a,"data-swipe-threshold","20"),10),c=parseInt(l(a,"data-swipe-timeout","500"),10),u=Date.now()-s,d="",p=e.changedTouches||e.touches||[];Math.abs(r)>Math.abs(i)?Math.abs(r)>t&&u<c&&(d=r>0?"swiped-left":"swiped-right"):Math.abs(i)>t&&u<c&&(d=i>0?"swiped-up":"swiped-down");if(""!==d){var f={dir:d.replace(/swiped-/,""),touchType:(p[0]||{}).touchType||"direct",xStart:parseInt(n,10),xEnd:parseInt((p[0]||{}).clientX||-1,10),yStart:parseInt(o,10),yEnd:parseInt((p[0]||{}).clientY||-1,10)};a.dispatchEvent(new CustomEvent("swiped",{bubbles:!0,cancelable:!0,detail:f})),a.dispatchEvent(new CustomEvent(d,{bubbles:!0,cancelable:!0,detail:f}))}n=null,o=null,s=null}),!1);var n=null,o=null,r=null,i=null,s=null,a=null;function l(e,n,o){for(;e&&e!==t.documentElement;){var r=e.getAttribute(n);if(r)return r;e=e.parentNode}return o}}(window,document)},3744:(e,t)=>{"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[e,o]of t)n[e]=o;return n}},2479:(e,t,n)=>{"use strict";n.d(t,{Z:()=>es});var o=n(4865),r={class:"f-container"},i={class:"f-form-wrap"},s={key:0,class:"vff-animate f-fade-in-up field-submittype"},a={class:"f-section-wrap"},l={class:"fh2"},c=["disabled","aria-label"],u=["innerHTML"],d={key:2,class:"text-success"},p={class:"vff-footer"},f={class:"footer-inner-wrap"},h={key:0,class:"ffc_progress_label"},m={class:"f-progress-bar"},v={key:1,class:"f-nav"},y={key:0,href:"https://fluentforms.com/",target:"_blank",rel:"noopener",class:"ffc_power"},g=[(0,o.createTextVNode)(" Powered by "),(0,o.createElementVNode)("b",null,"FluentForms",-1)],b=["aria-label"],_=(0,o.createElementVNode)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"42.333px",height:"28.334px",viewBox:"78.833 5.5 42.333 28.334","aria-hidden":"true"},[(0,o.createElementVNode)("path",{d:"M82.039,31.971L100,11.442l17.959,20.529L120,30.187L101.02,8.492c-0.258-0.295-0.629-0.463-1.02-0.463c-0.39,0-0.764,0.168-1.02,0.463L80,30.187L82.039,31.971z"})],-1),w={class:"f-nav-text","aria-hidden":"true"},x=["aria-label"],k=(0,o.createElementVNode)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"42.333px",height:"28.334px",viewBox:"78.833 5.5 42.333 28.334","aria-hidden":"true"},[(0,o.createElementVNode)("path",{d:"M117.963,8.031l-17.961,20.529L82.042,8.031l-2.041,1.784l18.98,21.695c0.258,0.295,0.629,0.463,1.02,0.463c0.39,0,0.764-0.168,1.02-0.463l18.98-21.695L117.963,8.031z"})],-1),E={class:"f-nav-text","aria-hidden":"true"},S={key:2,class:"f-timer"};var C={class:"ffc_q_header"},O=["innerHTML"],T={key:1,class:"f-text"},B=["innerHTML"],M=["aria-label"],V=[(0,o.createElementVNode)("span",{"aria-hidden":"true"},"*",-1)],N={key:1,class:"f-answer"},P=["innerHTML"],A={key:0,class:"f-answer f-full-width"},q={key:1,class:"f-sub"},F=["innerHTML"],L=["innerHTML"],I={key:2,class:"f-help"},D={key:3,class:"f-help"},j={key:0,class:"f-description"},R={key:0},$=["href","target"],z={key:0,class:"vff-animate f-fade-in f-enter"},H=["disabled","aria-label"],U={key:0},K=["innerHTML"],W=["innerHTML"],Q=["innerHTML"],Y=["innerHTML"],G={key:1,class:"f-invalid",role:"alert","aria-live":"assertive"},Z={key:0,class:"ff_conv_media_holder"},J={key:0,class:"fc_image_holder"},X=["alt","src"];var ee={class:"ffc-counter"},te={class:"ffc-counter-in"},ne={class:"ffc-counter-div"},oe={class:"counter-value"},re={class:"counter-icon-container"},ie={class:"counter-icon-span"},se={key:0,height:"8",width:"7"},ae=[(0,o.createElementVNode)("path",{d:"M5 3.5v1.001H-.002v-1z"},null,-1),(0,o.createElementVNode)("path",{d:"M4.998 4L2.495 1.477 3.2.782 6.416 4 3.199 7.252l-.704-.709z"},null,-1)],le={key:1,height:"10",width:"11"},ce=[(0,o.createElementVNode)("path",{d:"M7.586 5L4.293 1.707 5.707.293 10.414 5 5.707 9.707 4.293 8.293z"},null,-1),(0,o.createElementVNode)("path",{d:"M8 4v2H0V4z"},null,-1)];const ue={name:"Counter",props:["serial","isMobile"]};var de=n(3744);const pe=(0,de.Z)(ue,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",ee,[(0,o.createElementVNode)("div",te,[(0,o.createElementVNode)("div",ne,[(0,o.createElementVNode)("span",oe,[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(n.serial),1)]),(0,o.createElementVNode)("div",re,[(0,o.createElementVNode)("span",ie,[n.isMobile?((0,o.openBlock)(),(0,o.createElementBlock)("svg",se,ae)):((0,o.openBlock)(),(0,o.createElementBlock)("svg",le,ce))])])])])])}]]);var fe=["aria-label","disabled"],he=["innerHTML"],me=["disabled","src","aria-label"],ve=["innerHTML"];const ye=function(e,t){e||(e=0);var n=parseInt(e)/100,o=2;e%100==0&&0==t.decimal_points&&(o=0);var r=",",i=".";"dot_comma"!=t.currency_separator&&(r=".",i=",");var s,a,l,c,u,d,p,f,h,m,v=t.currency_sign||"",y=(s=n,a=o,l=i,c=r,u=isNaN(a)?2:Math.abs(a),d=l||".",p=void 0===c?",":c,f=s<0?"-":"",h=parseInt(s=Math.abs(s).toFixed(u))+"",m=(m=h.length)>3?m%3:0,f+(m?h.substr(0,m)+p:"")+h.substr(m).replace(/(\d{3})(?=\d)/g,"$1"+p)+(u?d+Math.abs(s-h).toFixed(u).slice(2):""));return"right"==t.currency_sign_position?y+""+v:"left_space"==t.currency_sign_position?v+" "+y:"right_space"==t.currency_sign_position?y+" "+v:v+""+y};function ge(e,t,n){e.signup_fee&&n.push({label:this.$t("Signup Fee for")+" "+t.title+" - "+e.name,price:e.signup_fee,quantity:1,lineTotal:1*e.signup_fee});var o=e.subscription_amount;return"yes"==e.user_input&&(o=t.customPayment),e.trial_days&&(o=0),o}function be(e){for(var t=[],n=function(n){var o=e[n],r=!o.multiple&&null!=o.answer||o.multiple&&o.answer&&o.answer.length,i=o.paymentItemQty||1;if(o.is_payment_field&&r){var s=Array.isArray(o.answer)?o.answer:[o.answer];if(o.options.length){var a=[];if(o.options.forEach((function(e){if(s.includes(e.value)){var n=e.value;if(o.is_subscription_field){var r=o.plans[e.value],l=!("yes"===r.has_trial_days&&r.trial_days);if(!(n=ge(r,o,t))&&l)return}a.push({label:e.label,price:n,quantity:i,lineTotal:n*i})}})),a.length){var l=0,c=0;a.forEach((function(e){l+=parseFloat(e.price),c+=e.lineTotal})),t.push({label:o.title,price:l,quantity:i,lineTotal:c,childItems:a})}}else{var u=o.answer;o.is_subscription_field&&(u=ge(o.plans[o.answer],o,t)),t.push({label:o.title,price:u,quantity:i,lineTotal:u*i})}}},o=0;o<e.length;o++)n(o);return t}function _e(e){var t=0;return e.forEach((function(e){return t+=e.lineTotal})),t}function we(e,t){if(t)for(var n in t){var o=t[n],r=o.amount;"percent"===o.coupon_type&&(r=o.amount/100*this.subTotal),e-=r}return e}function xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){Ee(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Se={name:"SubmitButton",props:["language","disabled"],data:function(){return{hover:!1}},computed:{button:function(){return this.globalVars.form.submit_button},btnStyles:function(){if(""!=this.button.settings.button_style)return"default"===this.button.settings.button_style?{}:{backgroundColor:this.button.settings.background_color,color:this.button.settings.color};var e=this.button.settings.normal_styles,t="normal_styles";this.hover&&(t="hover_styles");var n=JSON.parse(JSON.stringify(this.button.settings[t]));return n.borderRadius?n.borderRadius=n.borderRadius+"px":delete n.borderRadius,n.minWidth||delete n.minWidth,ke(ke({},e),n)},btnStyleClass:function(){return this.button.settings.button_style},btnSize:function(){return"ff-btn-"+this.button.settings.button_size},btnText:function(){if(this.button.settings.button_ui.text.includes("{payment_total}")&&this.globalVars.paymentConfig){var e=_e(be(this.$parent.$parent.questionList)),t=ye(parseFloat(100*we(e,this.globalVars.appliedCoupons)).toFixed(2),this.globalVars.paymentConfig.currency_settings);return this.button.settings.button_ui.text.replace("{payment_total}",t)}return this.button.settings.button_ui.text}},methods:{submit:function(){this.$emit("submit")},toggleHover:function(e){this.hover=e},onBtnFocus:function(){this.$emit("focus-in")}}},Ce=(0,de.Z)(Se,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)("ff-btn-submit-"+s.button.settings.align)},["default"==s.button.settings.button_ui.type?((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:0,type:"button",class:(0,o.normalizeClass)(["ff-btn o-btn-action",[s.btnSize,s.btnStyleClass]]),style:(0,o.normalizeStyle)(s.btnStyles),"aria-label":n.language.ariaSubmitText,disabled:n.disabled,onClick:t[0]||(t[0]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"])),onMouseenter:t[1]||(t[1]=function(e){return s.toggleHover(!0)}),onMouseleave:t[2]||(t[2]=function(e){return s.toggleHover(!1)}),onFocusin:t[3]||(t[3]=function(){return s.onBtnFocus&&s.onBtnFocus.apply(s,arguments)}),onFocusout:t[4]||(t[4]=function(){return s.onBtnFocus&&s.onBtnFocus.apply(s,arguments)})},[(0,o.createElementVNode)("span",{innerHTML:s.btnText},null,8,he)],46,fe)):((0,o.openBlock)(),(0,o.createElementBlock)("img",{key:1,disabled:n.disabled,src:s.button.settings.button_ui.img_url,"aria-label":n.language.ariaSubmitText,style:{"max-width":"200px"},onClick:t[5]||(t[5]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"]))},null,8,me)),(0,o.createElementVNode)("a",{class:"f-enter-desc",href:"#",onClick:t[6]||(t[6]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"])),innerHTML:n.language.formatString(n.language.pressEnter)},null,8,ve)],2)}]]);var Oe=["data-placeholder"],Te=["name","type","value","required","min","max","placeholder","maxlength"];var Be=n(5291),Me=n(8289),Ve=!1,Ne=!1;"undefined"!=typeof navigator&&"undefined"!=typeof document&&(Ve=navigator.userAgent.match(/iphone|ipad|ipod/i)||-1!==navigator.userAgent.indexOf("Mac")&&"ontouchend"in document,Ne=Ve||navigator.userAgent.match(/android/i));var Pe={data:function(){return{isIos:Ve,isMobile:Ne}}};const Ae={name:"FlowFormBaseType",props:{language:Me.Z,question:Be.ZP,active:Boolean,disabled:Boolean,modelValue:[String,Array,Boolean,Number,Object]},mixins:[Pe],data:function(){return{dirty:!1,dataValue:null,answer:null,enterPressed:!1,allowedChars:null,alwaysAllowedKeys:["ArrowLeft","ArrowRight","Delete","Backspace"],focused:!1,canReceiveFocus:!1,errorMessage:null}},mounted:function(){this.question.answer?this.dataValue=this.answer=this.question.answer:this.question.multiple&&(this.dataValue=[])},methods:{fixAnswer:function(e){return e},getElement:function(){for(var e=this.$refs.input;e&&e.$el;)e=e.$el;return e},setFocus:function(){this.focused=!0},unsetFocus:function(e){this.focused=!1},focus:function(){if(!this.focused){var e=this.getElement();e&&e.focus()}},blur:function(){var e=this.getElement();e&&e.blur()},onKeyDown:function(e){this.enterPressed=!1,clearTimeout(this.timeoutId),e&&("Enter"!==e.key||e.shiftKey||this.unsetFocus(),null!==this.allowedChars&&-1===this.alwaysAllowedKeys.indexOf(e.key)&&-1===this.allowedChars.indexOf(e.key)&&e.preventDefault())},onChange:function(e){"Enter"!==e.key&&(this.dirty=!0,this.dataValue=e.target.value,this.onKeyDown(),this.setAnswer(this.dataValue))},onEnter:function(){this._onEnter()},_onEnter:function(){this.enterPressed=!0,this.dataValue=this.fixAnswer(this.dataValue),this.setAnswer(this.dataValue),this.isValid()?this.blur():this.focus()},setAnswer:function(e){this.question.setAnswer(e),this.answer=this.question.answer,this.question.answered=this.isValid(),this.$emit("update:modelValue",this.answer)},showInvalid:function(){return this.dirty&&this.enterPressed&&!this.isValid()},isValid:function(){return!(this.question.required||this.hasValue||!this.dirty)||!!this.validate()},validate:function(){return!this.question.required||this.hasValue}},computed:{placeholder:function(){return this.question.placeholder||this.language.placeholder},hasValue:function(){if(null!==this.dataValue){var e=this.dataValue;return e.trim?e.trim().length>0:!Array.isArray(e)||e.length>0}return!1}}},qe=["value"];function Fe(e,t,n=!0,o){e=e||"",t=t||"";for(var r=0,i=0,s="";r<t.length&&i<e.length;){var a=o[u=t[r]],l=e[i];a&&!a.escape?(a.pattern.test(l)&&(s+=a.transform?a.transform(l):l,r++),i++):(a&&a.escape&&(u=t[++r]),n&&(s+=u),l===u&&i++,r++)}for(var c="";r<t.length&&n;){var u;if(o[u=t[r]]){c="";break}c+=u,r++}return s+c}function Le(e,t,n=!0,o){return Array.isArray(t)?function(e,t,n){return t=t.sort(((e,t)=>e.length-t.length)),function(o,r,i=!0){for(var s=0;s<t.length;){var a=t[s];s++;var l=t[s];if(!(l&&e(o,l,!0,n).length>a.length))return e(o,a,i,n)}return""}}(Fe,t,o)(e,t,n,o):Fe(e,t,n,o)}var Ie=n(5460),De=n.n(Ie);function je(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}const Re={name:"TheMask",props:{value:[String,Number],mask:{type:[String,Array],required:!0},masked:{type:Boolean,default:!1},tokens:{type:Object,default:()=>De()}},directives:{mask:function(e,t){var n=t.value;if((Array.isArray(n)||"string"==typeof n)&&(n={mask:n,tokens:De()}),"INPUT"!==e.tagName.toLocaleUpperCase()){var o=e.getElementsByTagName("input");if(1!==o.length)throw new Error("v-mask directive requires 1 input, found "+o.length);e=o[0]}e.oninput=function(t){if(t.isTrusted){var o=e.selectionEnd,r=e.value[o-1];for(e.value=Le(e.value,n.mask,!0,n.tokens);o<e.value.length&&e.value.charAt(o-1)!==r;)o++;e===document.activeElement&&(e.setSelectionRange(o,o),setTimeout((function(){e.setSelectionRange(o,o)}),0)),e.dispatchEvent(je("input"))}};var r=Le(e.value,n.mask,!0,n.tokens);r!==e.value&&(e.value=r,e.dispatchEvent(je("input")))}},data(){return{lastValue:null,display:this.value}},watch:{value(e){e!==this.lastValue&&(this.display=e)},masked(){this.refresh(this.display)}},computed:{config(){return{mask:this.mask,tokens:this.tokens,masked:this.masked}}},methods:{onInput(e){e.isTrusted||this.refresh(e.target.value)},refresh(e){this.display=e,(e=Le(e,this.mask,this.masked,this.tokens))!==this.lastValue&&(this.lastValue=e,this.$emit("input",e))}}},$e=(0,de.Z)(Re,[["render",function(e,t,n,r,i,s){const a=(0,o.resolveDirective)("mask");return(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("input",{type:"text",value:i.display,onInput:t[0]||(t[0]=(...e)=>s.onInput&&s.onInput(...e))},null,40,qe)),[[a,s.config]])}]]),ze={extends:Ae,name:Be.ce.Text,components:{TheMask:$e},data:function(){return{inputType:"text",canReceiveFocus:!0}},methods:{validate:function(){return this.question.mask&&this.hasValue?this.validateMask():!this.question.required||this.hasValue},validateMask:function(){var e=this;return Array.isArray(this.question.mask)?this.question.mask.some((function(t){return t.length===e.dataValue.length})):this.dataValue.length===this.question.mask.length}}},He=(0,de.Z)(ze,[["render",function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("the-mask");return(0,o.openBlock)(),(0,o.createElementBlock)("span",{"data-placeholder":"date"===i.inputType?e.placeholder:null},[e.question.mask?((0,o.openBlock)(),(0,o.createBlock)(a,{key:0,ref:"input",name:e.question.name,mask:e.question.mask,masked:!1,type:i.inputType,value:e.modelValue,required:e.question.required,onKeydown:e.onKeyDown,onKeyup:[e.onChange,(0,o.withKeys)((0,o.withModifiers)(e.onEnter,["prevent"]),["enter"]),(0,o.withKeys)((0,o.withModifiers)(e.onEnter,["prevent"]),["tab"])],onFocus:e.setFocus,onBlur:e.unsetFocus,placeholder:e.placeholder,min:e.question.min,max:e.question.max,onChange:e.onChange},null,8,["name","mask","type","value","required","onKeydown","onKeyup","onFocus","onBlur","placeholder","min","max","onChange"])):((0,o.openBlock)(),(0,o.createElementBlock)("input",{key:1,ref:"input",name:e.question.name,type:i.inputType,value:e.modelValue,required:e.question.required,onKeydown:t[0]||(t[0]=function(){return e.onKeyDown&&e.onKeyDown.apply(e,arguments)}),onKeyup:t[1]||(t[1]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),onFocus:t[2]||(t[2]=function(){return e.setFocus&&e.setFocus.apply(e,arguments)}),onBlur:t[3]||(t[3]=function(){return e.unsetFocus&&e.unsetFocus.apply(e,arguments)}),min:e.question.min,max:e.question.max,onChange:t[4]||(t[4]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),placeholder:e.placeholder,maxlength:e.question.maxLength},null,40,Te))],8,Oe)}]]),Ue={extends:He,name:Be.ce.Url,data:function(){return{inputType:"url"}},methods:{fixAnswer:function(e){return e&&-1===e.indexOf("://")&&(e="https://"+e),e},validate:function(){if(this.hasValue)try{return new URL(this.fixAnswer(this.dataValue)),!0}catch(e){return!1}return!this.question.required}}},Ke={extends:Ue,methods:{validate:function(){if(this.hasValue){if(!/^(ftp|http|https):\/\/[^ "]+$/.test(this.fixAnswer(this.dataValue)))return this.errorMessage=this.question.validationRules.url.message,!1}return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},shouldPrev:function(){return!0}}};var We=["data-placeholder"],Qe=["name","type","value","required","min","max","placeholder"];const Ye={extends:He,data:function(){return{tokens:{"*":{pattern:/[0-9a-zA-Z]/},0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}}}},methods:{validate:function(){if(this.question.mask&&this.hasValue){var e=this.validateMask();return e||(this.errorMessage=this.language.invalidPrompt),e}return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},shouldPrev:function(){return!0}}},Ge=(0,de.Z)(Ye,[["render",function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("the-mask");return(0,o.openBlock)(),(0,o.createElementBlock)("span",{"data-placeholder":"date"===e.inputType?e.placeholder:null},[e.question.mask?((0,o.openBlock)(),(0,o.createBlock)(a,{key:0,ref:"input",name:e.question.name,mask:e.question.mask,masked:!1,tokens:i.tokens,type:e.inputType,value:e.modelValue,required:e.question.required,onKeydown:e.onKeyDown,onKeyup:e.onChange,onFocus:e.setFocus,onBlur:e.unsetFocus,placeholder:e.placeholder,min:e.question.min,max:e.question.max,onChange:e.onChange},null,8,["name","mask","tokens","type","value","required","onKeydown","onKeyup","onFocus","onBlur","placeholder","min","max","onChange"])):((0,o.openBlock)(),(0,o.createElementBlock)("input",{key:1,ref:"input",name:e.question.name,type:e.inputType,value:e.modelValue,required:e.question.required,onKeydown:t[0]||(t[0]=function(){return e.onKeyDown&&e.onKeyDown.apply(e,arguments)}),onKeyup:t[1]||(t[1]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),onFocus:t[2]||(t[2]=function(){return e.setFocus&&e.setFocus.apply(e,arguments)}),onBlur:t[3]||(t[3]=function(){return e.unsetFocus&&e.unsetFocus.apply(e,arguments)}),min:e.question.min,max:e.question.max,onChange:t[4]||(t[4]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),placeholder:e.placeholder},null,40,Qe))],8,We)}]]);var Ze={class:"ff_file_upload"},Je={class:"ff_file_upload_wrapper"},Xe={class:"ff_file_upload_field_wrap"},et=["accept","multiple","value","required"],tt={"aria-hidden":"true",class:"help_text"},nt=(0,o.createElementVNode)("span",null,[(0,o.createElementVNode)("strong",null,"Choose file")],-1),ot=(0,o.createElementVNode)("span",null,[(0,o.createTextVNode)(" or "),(0,o.createElementVNode)("strong",null,"drag here")],-1),rt={class:"ff_file_upload_field"},it={class:"icon_wrap"},st={height:"68px",viewBox:"0 0 92 68",width:"92px",style:{display:"block"}},at=["fill"],lt={class:"file_upload_arrow_wrap"},ct={class:"file_upload_arrow"},ut={height:"60px",viewBox:"0 0 26 31",width:"26px"},dt=["fill"],pt={class:"upload_text_wrap"},ft=(0,o.createElementVNode)("div",{class:"upload_text choose_file"},[(0,o.createElementVNode)("strong",null,"Choose file")],-1),ht=(0,o.createElementVNode)("div",{class:"upload_text drag"},[(0,o.createTextVNode)(" or "),(0,o.createElementVNode)("strong",null,"drag here")],-1),mt={class:"upload_text size"},vt={key:0,class:"ff-uploaded-list"},yt={class:"ff-upload-preview"},gt={class:"ff-upload-thumb"},bt={class:"ff-upload-filename"},_t={class:"ff-upload-progress-inline ff-el-progress"},wt={class:"ff-upload-progress-inline-text ff-inline-block"},xt={class:"ff-upload-filesize ff-inline-block"},kt={class:"ff-upload-error"},Et=["onClick"];var St=n(3012);const Ct={extends:Ge,name:St.ce.File,data:function(){return{files:[],uploadsInfo:{}}},mounted:function(){this.question.accept&&(this.mimeTypeRegex=new RegExp(this.question.accept.replace("*","[^\\/,]+")))},methods:{setAnswer:function(e){this.question.setAnswer(this.files.map((function(e){return e.url}))),this.answer.push=e,this.question.answered=!0},showInvalid:function(){return null!==this.errorMessage},validate:function(){return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},validateFiles:function(e){var t=this;if(this.errorMessage=null,this.question.multiple){var n=e.length;if(null!==this.question.min&&n<+this.question.min)return this.errorMessage=this.language.formatString(this.language.errorMinFiles,{min:this.question.min}),!1;if(null!==this.question.max&&n>+this.question.max)return this.errorMessage=this.question.validationRules.max_file_count.message,!1}return!(null!==this.question.maxSize&&!e.every((function(e){return e.size<+t.question.maxSize})))||(this.errorMessage=this.question.validationRules.max_file_size.message,!1)},onFileChange:function(e){var t=this;if(!e.target.files.length)return!1;var n=this.files.concat(Array.from(e.target.files));if(this.validateFiles(n))for(var o=function(n){var o=e.target.files.item(n),r=(new Date).getTime();t.uploadsInfo[r]={progress:0,uploading:!0,uploadingClass:"ff_uploading",uploadingTxt:t.globalVars.uploading_txt},o.id=r,t.files.push(o);var i=new FormData;for(var s in t.globalVars.extra_inputs)i.append(s,t.globalVars.extra_inputs[s]);i.append(t.question.name,o);var a=new XMLHttpRequest,l=t.globalVars.ajaxurl+"?action=fluentform_file_upload&formId="+t.globalVars.form_id;a.open("POST",l),a.responseType="json",a.upload.addEventListener("progress",(function(e){t.uploadsInfo[r].progress=parseInt(e.loaded/e.total*100,10)}),!1),a.onload=function(){if(200!==a.status)t.processAPIError(a,r);else{if(a.response.data.files[0].error)return void t.processAPIError({responseText:a.response.data.files[0].error},r);o.path=a.response.data.files[0].file,o.url=a.response.data.files[0].url,t.uploadsInfo[r].uploading=!1,t.uploadsInfo[r].uploadingTxt=t.globalVars.upload_completed_txt,t.uploadsInfo[r].uploadingClass="",t.dirty=!0,t.dataValue=o.path,t.onKeyDown(),t.setAnswer(o.path)}},a.send(i)},r=0;r<e.target.files.length;r++)o(r)},getThumbnail:function(e){var t="";if(e.type.match("image"))t=URL.createObjectURL(e);else{var n=document.createElement("canvas");n.width=60,n.height=60,n.style.zIndex=8,n.style.position="absolute",n.style.border="1px solid";var o=n.getContext("2d");o.fillStyle="rgba(0, 0, 0, 0.2)",o.fillRect(0,0,60,60),o.font="13px Arial",o.fillStyle="white",o.textAlign="center",o.fillText(e.type.substr(e.type.indexOf("/")+1),30,30,60),t=n.toDataURL()}return{backgroundImage:"url('"+t+"')"}},removeFile:function(e){var t=this;if(this.errorMessage=null,this.files[e])if(this.files[e].path){var n=this.files[e].id,o=new XMLHttpRequest;o.open("POST",this.globalVars.ajaxurl),o.responseType="json",o.onload=function(){200!==o.status?t.processAPIError(o,n):t.resetAnswer(e)};var r=new FormData;r.append("path",this.files[e].path),r.append("action","fluentform_delete_uploaded_file"),o.send(r)}else this.resetAnswer(e)},resetAnswer:function(e){this.files=this.files.filter((function(t,n){return n!==e})),this.question.answer.splice(e,1),this.files.length||(this.answered=!1,this.dataValue="",this.question.answered=!1,this.dirty=!1)},processAPIError:function(e,t){var n="";if(e.response&&e.response.errors)for(var o in e.response.errors)n=Array.isArray(e.response.errors[o])?e.response.errors[o].shift():e.response.errors[o];else n=e.responseText?e.responseText:"Something is wrong when uploading the file! Please try again.";this.uploadsInfo[t].error=n},shouldPrev:function(){return!0}},computed:{sizeLimit:function(){return this.language.formatFileSize(this.question.maxSize)},acceptable:function(){return this.question.accept?this.question.accept.split("|").map((function(e){return"."+e})).join(","):""}}},Ot=(0,de.Z)(Ct,[["render",function(e,t,n,r,i,s){var a=this;return(0,o.openBlock)(),(0,o.createElementBlock)("div",Ze,[(0,o.createElementVNode)("div",Je,[(0,o.createElementVNode)("div",Xe,[(0,o.createElementVNode)("label",null,[(0,o.createElementVNode)("input",{ref:"input",type:"file",accept:s.acceptable,multiple:e.question.multiple,value:e.modelValue,required:e.question.required,onFocus:t[0]||(t[0]=function(){return e.setFocus&&e.setFocus.apply(e,arguments)}),onBlur:t[1]||(t[1]=function(){return e.unsetFocus&&e.unsetFocus.apply(e,arguments)}),onChange:t[2]||(t[2]=function(){return s.onFileChange&&s.onFileChange.apply(s,arguments)})},null,40,et),(0,o.createElementVNode)("span",tt,[nt,ot,(0,o.createElementVNode)("span",null,"Size limit: "+(0,o.toDisplayString)(s.sizeLimit),1)])])]),(0,o.createElementVNode)("div",rt,[(0,o.createElementVNode)("div",it,[((0,o.openBlock)(),(0,o.createElementBlock)("svg",st,[(0,o.createElementVNode)("path",{d:"M46 .64a27.9 27.9 0 0 1 19.78 8.19 27.78 27.78 0 0 1 8.03 20A19.95 19.95 0 0 1 92 48.63c0 11.04-8.97 20-20 20H23c-12.67 0-23-10.33-23-23a22.94 22.94 0 0 1 18.63-22.46 27.79 27.79 0 0 1 7.56-14.34A27.97 27.97 0 0 1 46 .63zm0 6c-5.64 0-11.26 2.1-15.56 6.4-3.66 3.66-5.96 10.59-6.51 15.34 0 .06.2.06-2.5.32A17.02 17.02 0 0 0 6 45.64c0 9.42 7.58 17 17 17h49c7.8 0 14-6.2 14-14 0-7.81-6.2-14-14-14H67.12v-3.36c0-10.7-1.43-14.1-5.59-18.24-4.32-4.3-9.9-6.4-15.53-6.4z",fill:e.globalVars.design.answer_color+"4d","fill-rule":"nonzero"},null,8,at)])),(0,o.createElementVNode)("div",lt,[(0,o.createElementVNode)("div",ct,[((0,o.openBlock)(),(0,o.createElementBlock)("svg",ut,[(0,o.createElementVNode)("path",{d:"M13 .53l-2.03 1.89-11 10 4.06 4.44L10 11.42v19.22h6V11.42l5.97 5.44c.03.02 4.06-4.44 4.06-4.44l-11-10c-.4-.36-1.07-1-2.03-1.9z",fill:e.globalVars.design.answer_color+"4d","fill-rule":"nonzero"},null,8,dt)]))])])]),(0,o.createElementVNode)("div",pt,[ft,ht,(0,o.createElementVNode)("div",mt,[(0,o.createElementVNode)("p",null," Size limit: "+(0,o.toDisplayString)(s.sizeLimit),1)])])])]),i.files.length?((0,o.openBlock)(),(0,o.createElementBlock)("div",vt,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(i.files,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("div",yt,[(0,o.createElementVNode)("div",gt,[(0,o.createElementVNode)("div",{class:"ff-upload-preview-img",style:(0,o.normalizeStyle)(s.getThumbnail(e))},null,4)]),(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["ff-upload-details",i.uploadsInfo[e.id].uploadingClass])},[(0,o.createElementVNode)("div",bt,(0,o.toDisplayString)(e.name),1),(0,o.createElementVNode)("div",_t,[(0,o.createElementVNode)("div",{class:"ff-el-progress-bar",style:(0,o.normalizeStyle)({width:i.uploadsInfo[e.id].progress+"%"})},null,4)]),(0,o.createElementVNode)("span",wt,(0,o.toDisplayString)(i.uploadsInfo[e.id].uploadingTxt),1),(0,o.createElementVNode)("div",xt,(0,o.toDisplayString)(a.language.formatFileSize(e.size)),1),(0,o.createElementVNode)("div",kt,(0,o.toDisplayString)(i.uploadsInfo[e.id].error),1),(0,o.createElementVNode)("span",{class:"ff-upload-remove",onClick:function(e){return s.removeFile(t)}},"×",8,Et)],2)])})),256))])):(0,o.createCommentVNode)("",!0)])}]]);var Tt={class:"f-star-wrap"},Bt=["aria-checked","tabindex","data-focus","onClick","onMouseover"],Mt={class:"f-star-field"},Vt={class:"f-star-field-star"},Nt={viewBox:"0 0 62 58",style:{"max-height":"64px","max-width":"64px"}},Pt=[(0,o.createElementVNode)("path",{class:"symbolFill",d:"M31 44.237L12.19 57.889l7.172-22.108L.566 22.111l23.241-.01L31 0l7.193 22.1 23.24.011-18.795 13.67 7.171 22.108z","fill-rule":"evenodd"},null,-1),(0,o.createElementVNode)("path",{class:"symbolOutline",d:"M31 41.148l14.06 10.205-5.36-16.526 14.051-10.22-17.374-.008L31 8.08l-5.377 16.52-17.374.009L22.3 34.827l-5.36 16.526L31 41.148zm0 3.089L12.19 57.889l7.172-22.108L.566 22.111l23.241-.01L31 0l7.193 22.1 23.24.011-18.795 13.67 7.171 22.108L31 44.237z","fill-rule":"nonzero"},null,-1)],At={class:"f-star-field-rating"};const qt={name:"FormBaseType",extends:Ae,methods:{shouldPrev:function(){return!0}}},Ft={extends:qt,name:St.ce.Rate,data:function(){return{temp_value:null,hover_value:null,rateText:null,keyPressed:[],canReceiveFocus:!0}},watch:{active:function(e){e?(this.addKeyListener(),this.focus()):this.removeKeyListener()}},computed:{ratings:function(){return this.question.rateOptions}},methods:{starOver:function(e,t){this.temp_value=parseInt(e),this.hover_value=this.temp_value,this.rateText=t},starOut:function(){this.temp_value=null,this.hover_value=this.dataValue,this.dataValue?this.rateText=this.ratings[this.dataValue]:this.rateText=null,this.toggleDataFocus()},set:function(e,t){e=parseInt(e),this.temp_value=e,this.hover_value=e,this.dataValue===e&&(e=null,t=""),this.dataValue=e,this.rateText=t,this.setAnswer(this.dataValue),this.dataValue&&(this.disabled||this.$parent.lastStep||this.$emit("next"))},getClassObject:function(e){return e=parseInt(e),{"is-selected":this.dataValue>=e&&null!=this.dataValue,"is-hovered":this.temp_value>=e&&null!=this.temp_value,"is-disabled":this.disabled,blink:this.dataValue===e}},addKeyListener:function(){this.removeKeyListener(),document.addEventListener("keyup",this.onKeyListener)},removeKeyListener:function(){document.removeEventListener("keyup",this.onKeyListener)},onKeyListener:function(e){if(this.active&&!this.editingOther&&e.key)if(-1!==["ArrowRight","ArrowLeft"].indexOf(e.key))"ArrowRight"===e.key?this.hover_value=Math.min(this.hover_value+1,Object.keys(this.ratings).length):this.hover_value=Math.max(this.hover_value-1,1),this.hover_value>0&&this.focus(this.hover_value);else if(1===e.key.length){var t=parseInt(e.key);32==e.keyCode&&this.temp_value&&(t=this.temp_value);var n=this.question.rateOptions[t];n&&this.set(t,n)}},getTabIndex:function(e){var t=-1;return(this.dataValue&&this.dataValue==e||Object.keys(this.ratings)[0]==e)&&(t=0),t},focus:function(e){var t=0;(e=e||this.dataValue||this.hover_value)?(t=Object.keys(this.ratings).findIndex((function(t){return t==e})),this.toggleDataFocus(t)):e=Object.keys(this.ratings)[0],this.temp_value=parseInt(e),this.hover_value=this.temp_value},toggleDataFocus:function(e){for(var t=this.$el.getElementsByClassName("f-star-field-wrap"),n=0;n<t.length;n++)e!==n&&t[n].removeAttribute("data-focus");(0===e||e)&&(t[e].focus(),t[e].setAttribute("data-focus",!0))}},mounted:function(){this.addKeyListener()},beforeUnmount:function(){this.removeKeyListener()}},Lt=(0,de.Z)(Ft,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",Tt,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(s.ratings,(function(n,r){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{key:r,"aria-checked":e.dataValue==r,role:"radio",tabindex:s.getTabIndex(r),"data-focus":e.dataValue==r,class:(0,o.normalizeClass)(["f-star-field-wrap",s.getClassObject(r)]),onClick:function(e){return s.set(r,n)},onMouseover:function(e){return s.starOver(r,n)},onMouseout:t[0]||(t[0]=function(){return s.starOut&&s.starOut.apply(s,arguments)})},[(0,o.createElementVNode)("div",Mt,[(0,o.createElementVNode)("div",Vt,[(0,o.createElementVNode)("div",null,[((0,o.openBlock)(),(0,o.createElementBlock)("svg",Nt,Pt))])]),(0,o.createElementVNode)("div",At,(0,o.toDisplayString)(r),1)])],42,Bt)})),128)),(0,o.withDirectives)((0,o.createElementVNode)("span",{class:"rating-text-wrap"},(0,o.toDisplayString)(i.rateText),513),[[o.vShow,"yes"===e.question.show_text]])])}]]);var It=["required","placeholder","value"];const Dt={extends:Ge,name:St.ce.Date,data:function(){return{inputType:"date",canReceiveFocus:!1}},methods:{init:function(){var e=this;if("undefined"!=typeof flatpickr){flatpickr.localize(this.globalVars.date_i18n);var t=Object.assign({},this.question.dateConfig,this.question.dateCustomConfig);t.locale||(t.locale="default"),t.defaultDate=this.question.answer;var n=flatpickr(this.getElement(),t);this.fp=n,n.config.onChange.push((function(t,n,o){e.dataValue=n,e.setAnswer(e.dataValue)}))}},validate:function(){return this.question.min&&this.dataValue<this.question.min?(this.errorMessage=this.question.validationRules.min.message,!1):this.question.max&&this.dataValue>this.question.max?(this.errorMessage=this.question.validationRules.max.message,!1):!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},shouldPrev:function(){return!0},focus:function(){var e=this;setTimeout((function(){e.$refs.input.focus(),e.canReceiveFocus=!0}),500)}},mounted:function(){this.init(),1===this.question.counter&&this.focus()},watch:{active:function(e){e?this.focus():(this.fp.close(),this.canReceiveFocus=!1)}}},jt=(0,de.Z)(Dt,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("input",{ref:"input",required:e.question.required,placeholder:e.placeholder,value:e.modelValue},null,8,It)}]]);var Rt=["value"];const $t={name:"HiddenType",extends:qt},zt=(0,de.Z)($t,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("input",{type:"hidden",value:e.modelValue},null,8,Rt)}]]),Ht={extends:He,name:Be.ce.Email,data:function(){return{inputType:"email"}},methods:{validate:function(){return this.hasValue?/^[^@]+@.+[^.]$/.test(this.dataValue):!this.question.required}}},Ut={extends:Ht,name:St.ce.Email,methods:{validate:function(){if(this.hasValue){return!!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(this.dataValue)||(this.errorMessage=this.language.invalidPrompt,!1)}return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},shouldPrev:function(){return!0}}},Kt={extends:Ge,name:St.ce.Phone,data:function(){return{inputType:"tel",canReceiveFocus:!0}},methods:{validate:function(){if(this.hasValue&&this.question.phone_settings.enabled&&this.iti){var e=this.iti.isValidNumber();return e||(this.errorMessage=this.question.validationRules.valid_phone_number.message),e}return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},init:function(){var e=this;if("undefined"!=typeof intlTelInput&&0!=this.question.phone_settings.enabled){var t=this.getElement(),n=JSON.parse(this.question.phone_settings.itlOptions);this.question.phone_settings.ipLookupUrl&&(n.geoIpLookup=function(t,n){fetch(e.question.phone_settings.ipLookupUrl,{headers:{Accept:"application/json"}}).then((function(e){return e.json()})).then((function(e){var n=e&&e.country?e.country:"";t(n)}))}),this.iti=intlTelInput(t,n),t.addEventListener("change",(function(){e.itiFormat()})),t.addEventListener("keyup",(function(){e.itiFormat()}))}},itiFormat:function(){if("undefined"!=typeof intlTelInputUtils){var e=this.iti.getNumber(intlTelInputUtils.numberFormat.E164);this.iti.isValidNumber()&&"string"==typeof e&&(this.iti.setNumber(e),this.dataValue=e,this.dirty=!0,this.onKeyDown(),this.setAnswer(this.dataValue))}}},mounted:function(){this.init()},watch:{active:function(e){var t=this;e&&setTimeout((function(){t.itiFormat()}),1)}}},Wt={extends:Ge,name:St.ce.Number,data:function(){return{inputType:"number",allowedChars:"-0123456789.TabArrowDownArrowUp"}},computed:{hasValue:function(){return null!==this.dataValue}},methods:{fixAnswer:function(e){return e=null===e?"":e,this.maybeHandleTargetProduct(e),e},showInvalid:function(){return this.dirty&&!this.isValid()},validate:function(){if(null!==this.question.min&&!isNaN(this.question.min)&&+this.dataValue<+this.question.min)return this.errorMessage=this.question.validationRules.min.message,!1;if(null!==this.question.max&&!isNaN(this.question.max)&&+this.dataValue>+this.question.max)return this.errorMessage=this.question.validationRules.max.message,!1;if(this.hasValue){if(this.question.mask)return this.errorMessage=this.language.invalidPrompt,this.validateMask();var e=+this.dataValue;return this.question.targetProduct&&e%1!=0?(this.errorMessage=this.question.stepErrorMsg.replace("{lower_value}",Math.floor(e)).replace("{upper_value}",Math.ceil(e)),!1):!isNaN(e)}return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},maybeHandleTargetProduct:function(e){var t=this;this.question.targetProduct&&(e=e||this.question.min||1,this.$parent.$parent.questionList.forEach((function(n){n.is_payment_field&&n.name==t.question.targetProduct&&(n.paymentItemQty=e)})))},onChange:function(e){e.target.value&&(this.dirty=!0,this.dataValue=+e.target.value,this.onKeyDown(),this.setAnswer(this.dataValue))}}};var Qt={class:"f-coupon-field-wrap"},Yt={class:"f-coupon-field"},Gt={key:0,class:"f-coupon-applied-list f-radios-wrap"},Zt={class:"f-radios",role:"listbox"},Jt=["onClick","onKeyup","onFocusin"],Xt=["innerHTML"],en=(0,o.createElementVNode)("span",{class:"error-clear"},"×",-1),tn={class:"f-coupon-field-btn-wrap f-enter"},nn=["innerHTML"];const on={extends:qt,name:"CouponType",data:function(){return{appliedCoupons:{},canReceiveFocus:!0}},watch:{dataValue:function(e){this.question.error=""}},computed:{couponMode:function(){return!!this.dataValue},btnText:function(){var e="SKIP";return e=this.couponMode?"APPLY COUPON":Object.keys(this.appliedCoupons).length?"OK":e},paymentConfig:function(){return this.globalVars.paymentConfig}},methods:{applyCoupon:function(){var e=this;this.$emit("update:modelValue",""),this.question.error="";var t=new XMLHttpRequest,n=this.globalVars.ajaxurl+"?action=fluentform_apply_coupon",o=new FormData;o.append("form_id",this.globalVars.form_id),o.append("coupon",this.dataValue),o.append("other_coupons",JSON.stringify(Object.keys(this.appliedCoupons))),t.open("POST",n),t.responseType="json",t.onload=function(){if(200!==t.status)e.question.error=t.response.message;else{var n=t.response.coupon,o=n.amount+"%";"fixed"==n.coupon_type&&(o=e.formatMoney(n.amount)),n.message="".concat(n.code," - ").concat(o),e.appliedCoupons[n.code]=n,e.globalVars.appliedCoupons=e.appliedCoupons,e.dataValue="",e.globalVars.extra_inputs.__ff_all_applied_coupons=JSON.stringify(Object.keys(e.appliedCoupons)),e.focus()}},t.send(o)},handleKeyDown:function(e){this.couponMode&&"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),this.applyCoupon())},discard:function(e){delete this.appliedCoupons[e.code],this.focus()},formatMoney:function(e){return ye(parseFloat(100*e).toFixed(2),this.paymentConfig.currency_settings)},handleBtnClick:function(){this.couponMode?this.applyCoupon():this.$emit("next")},onBtnFocus:function(){this.$parent.btnFocusIn=!this.$parent.btnFocusIn},onFocus:function(e){this.focusIndex=e},onInputFocus:function(){this.focusIndex=null},shouldPrev:function(){return!this.focusIndex}}},rn=(0,de.Z)(on,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",Qt,[(0,o.createElementVNode)("div",Yt,[(0,o.withDirectives)((0,o.createElementVNode)("input",{ref:"input",type:"text","onUpdate:modelValue":t[0]||(t[0]=function(t){return e.dataValue=t}),onKeydown:t[1]||(t[1]=function(){return s.handleKeyDown&&s.handleKeyDown.apply(s,arguments)}),onFocusin:t[2]||(t[2]=function(){return s.onInputFocus&&s.onInputFocus.apply(s,arguments)})},null,544),[[o.vModelText,e.dataValue]])]),i.appliedCoupons?((0,o.openBlock)(),(0,o.createElementBlock)("div",Gt,[(0,o.createElementVNode)("ul",Zt,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(i.appliedCoupons,(function(e){return(0,o.openBlock)(),(0,o.createElementBlock)("li",{class:"f-coupon-applied-item",role:"option",tabindex:"0",key:e.code,onClick:(0,o.withModifiers)((function(t){return s.discard(e)}),["prevent"]),onKeyup:(0,o.withKeys)((function(t){return s.discard(e)}),["space"]),onFocusin:function(t){return s.onFocus(e.code)}},[(0,o.createElementVNode)("span",{class:"f-label",innerHTML:e.message},null,8,Xt),en],40,Jt)})),128))])])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",tn,[(0,o.createElementVNode)("button",{class:"o-btn-action f-coupon-field-btn",type:"button",href:"#","aria-label":"Press to continue",onClick:t[3]||(t[3]=function(){return s.handleBtnClick&&s.handleBtnClick.apply(s,arguments)}),onFocusin:t[4]||(t[4]=function(){return s.onBtnFocus&&s.onBtnFocus.apply(s,arguments)}),onFocusout:t[5]||(t[5]=function(){return s.onBtnFocus&&s.onBtnFocus.apply(s,arguments)})},[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(s.btnText),1)],32),e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("a",{key:0,class:"f-enter-desc",href:"#",innerHTML:e.language.formatString(e.language.pressEnter),onClick:t[6]||(t[6]=function(){return s.handleBtnClick&&s.handleBtnClick.apply(s,arguments)})},null,8,nn))])])}]]);var sn=(0,o.createElementVNode)("td",null,null,-1),an={class:"f-table-string"},ln={class:"f-table-cell f-row-cell"},cn={class:"f-table-string"},un=["title"],dn={key:0,class:"f-field-wrap"},pn={class:"f-matrix-field f-matrix-radio"},fn=["name","id","aria-label","data-id","value","onUpdate:modelValue","onFocusin"],hn={key:1,class:"f-field-wrap"},mn={class:"f-matrix-field f-matrix-checkbox"},vn=["id","aria-label","data-id","value","onUpdate:modelValue","onFocusin"];var yn={class:"f-matrix-wrap"},gn=(0,o.createElementVNode)("td",null,null,-1),bn={class:"f-table-string"},_n={class:"f-table-cell f-row-cell"},wn={class:"f-table-string"},xn=["title"],kn={key:0,class:"f-field-wrap"},En={class:"f-matrix-field f-matrix-radio"},Sn=["name","id","aria-label","data-id","value","onUpdate:modelValue"],Cn=(0,o.createElementVNode)("span",{class:"f-field-mask f-radio-mask"},[(0,o.createElementVNode)("svg",{viewBox:"0 0 24 24",class:"f-field-svg f-radio-svg"},[(0,o.createElementVNode)("circle",{r:"6",cx:"12",cy:"12"})])],-1),On={key:1,class:"f-field-wrap"},Tn={class:"f-matrix-field f-matrix-checkbox"},Bn=["id","aria-label","data-id","value","onUpdate:modelValue"],Mn=(0,o.createElementVNode)("span",{class:"f-field-mask f-checkbox-mask"},[(0,o.createElementVNode)("svg",{viewBox:"0 0 24 24",class:"f-field-svg f-checkbox-svg"},[(0,o.createElementVNode)("rect",{width:"12",height:"12",x:"6",y:"6"})])],-1);function Vn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Nn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pn(e){return function(e){if(Array.isArray(e))return Fn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||qn(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 An(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=qn(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}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 i,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}}function qn(e,t){if(e){if("string"==typeof e)return Fn(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)?Fn(e,t):void 0}}function Fn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Ln={extends:Ae,name:Be.ce.Matrix,data:function(){return{selected:{},inputList:[]}},beforeMount:function(){if(this.question.multiple){var e,t=An(this.question.rows);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.selected[n.id]=this.question.answer&&this.question.answer[n.id]?Pn(this.question.answer[n.id]):[]}}catch(e){t.e(e)}finally{t.f()}}else this.question.answer&&(this.selected=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vn(Object(n),!0).forEach((function(t){Nn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.question.answer))},beforeUpdate:function(){this.inputList=[]},methods:{onChange:function(e){this.dirty=!0,this.dataValue=this.selected,this.onKeyDown(),this.setAnswer(this.dataValue)},validate:function(){if(!this.question.required)return!0;return!!Object.values(this.inputGroups).every((function(e){return e.some((function(e){return e.checked}))}))},getElement:function(){return this.inputList[0]}},computed:{inputGroups:function(){var e,t={},n=An(this.question.rows);try{for(n.s();!(e=n.n()).done;){var o=e.value;t[o.id]=[]}}catch(e){n.e(e)}finally{n.f()}return this.inputList.forEach((function(e){t[e.dataset.id].push(e)})),t}}},In=(0,de.Z)(Ln,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",yn,[(0,o.createElementVNode)("table",{class:(0,o.normalizeClass)(["f-matrix-table",{"f-matrix-multiple":e.question.multiple}])},[(0,o.createElementVNode)("thead",null,[(0,o.createElementVNode)("tr",null,[gn,((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.columns,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("th",{key:"c"+t,class:"f-table-cell f-column-cell"},[(0,o.createElementVNode)("span",bn,(0,o.toDisplayString)(e.label),1)])})),128))])]),(0,o.createElementVNode)("tbody",null,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.rows,(function(n,r){return(0,o.openBlock)(),(0,o.createElementBlock)("tr",{key:"r"+r,class:"f-table-row"},[(0,o.createElementVNode)("td",_n,[(0,o.createElementVNode)("span",wn,(0,o.toDisplayString)(n.label),1)]),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.columns,(function(r,a){return(0,o.openBlock)(),(0,o.createElementBlock)("td",{key:"l"+a,title:r.label,class:"f-table-cell f-matrix-cell"},[e.question.multiple?((0,o.openBlock)(),(0,o.createElementBlock)("div",On,[(0,o.createElementVNode)("label",Tn,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"checkbox",ref_for:!0,ref:function(e){return i.inputList.push(e)},id:"c"+a+"-"+n.id,"aria-label":n.label,"data-id":n.id,value:r.value,class:"f-field-control f-checkbox-control","onUpdate:modelValue":function(e){return i.selected[n.id]=e},onChange:t[1]||(t[1]=function(){return s.onChange&&s.onChange.apply(s,arguments)})},null,40,Bn),[[o.vModelCheckbox,i.selected[n.id]]]),Mn])])):((0,o.openBlock)(),(0,o.createElementBlock)("div",kn,[(0,o.createElementVNode)("label",En,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"radio",ref_for:!0,ref:function(e){return i.inputList.push(e)},name:n.id,id:"c"+a+"-"+n.id,"aria-label":n.label,"data-id":n.id,value:r.value,"onUpdate:modelValue":function(e){return i.selected[n.id]=e},class:"f-field-control f-radio-control",onChange:t[0]||(t[0]=function(){return s.onChange&&s.onChange.apply(s,arguments)})},null,40,Sn),[[o.vModelRadio,i.selected[n.id]]]),Cn])]))],8,xn)})),128))])})),128))])],2)])}]]),Dn={extends:In,data:function(){return{hasMoreColumns:null,canReceiveFocus:!0}},methods:{validate:function(){if(!this.question.required)return!0;var e=this.question.requiredPerRow?"every":"some";return!!Object.values(this.inputGroups)[e]((function(e){return e.some((function(e){return e.checked}))}))||(this.errorMessage=this.question.requiredMsg,!1)},onFocus:function(e,t){this.question.multiple?(0!==e&&(e=this.question.columns.length),this.focusIndex=e+t):this.focusIndex=e},shouldPrev:function(){return 0===this.focusIndex},detectMoreColumns:function(){this.fieldWidth=this.$el.clientWidth,this.tableWidth=this.$el.getElementsByClassName("f-matrix-table")[0].clientWidth,this.hasMoreColumns=this.tableWidth>this.fieldWidth},getFieldWrapperClass:function(){return this.hasMoreColumns?"f-matrix-has-more-columns":""},handleScroll:function(e){this.hasMoreColumns=!(this.tableWidth-e.target.scrollLeft<=this.fieldWidth)},focus:function(){var e=this,t=this.question.counter+"-c0-"+this.question.rows[0].id;if(!this.question.multiple&&this.question.answer){var n=Object.keys(this.question.answer)[0];if(n===this.question.rows[0].id){var o=this.question.columns.findIndex((function(t){return t.value===e.question.answer[n]}));o&&(t=this.question.counter+"-c"+o+"-"+n)}}document.getElementById(t).focus()}},watch:{active:function(e){e&&(this.focus(),null===this.hasMoreColumns&&this.detectMoreColumns())}},mounted:function(){1===this.question.counter&&this.detectMoreColumns()}},jn=(0,de.Z)(Dn,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["f-matrix-wrap",s.getFieldWrapperClass()]),onScroll:t[2]||(t[2]=function(){return s.handleScroll&&s.handleScroll.apply(s,arguments)}),id:"adre"},[(0,o.createElementVNode)("table",{class:(0,o.normalizeClass)(["f-matrix-table",{"f-matrix-multiple":e.question.multiple}])},[(0,o.createElementVNode)("thead",null,[(0,o.createElementVNode)("tr",null,[sn,((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.columns,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("th",{key:"c"+t,class:"f-table-cell f-column-cell"},[(0,o.createElementVNode)("span",an,(0,o.toDisplayString)(e.label),1)])})),128))])]),(0,o.createElementVNode)("tbody",null,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.rows,(function(n,r){return(0,o.openBlock)(),(0,o.createElementBlock)("tr",{key:"r"+r,class:"f-table-row"},[(0,o.createElementVNode)("td",ln,[(0,o.createElementVNode)("span",cn,(0,o.toDisplayString)(n.label),1)]),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.columns,(function(i,a){return(0,o.openBlock)(),(0,o.createElementBlock)("td",{key:"l"+a,title:i.label,class:"f-table-cell f-matrix-cell"},[e.question.multiple?((0,o.openBlock)(),(0,o.createElementBlock)("div",hn,[(0,o.createElementVNode)("label",mn,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"checkbox",ref_for:!0,ref:function(t){return e.inputList.push(t)},id:e.question.counter+"-c"+a+"-"+n.id,"aria-label":n.label,"data-id":n.id,value:i.value,class:"f-field-control f-checkbox-control","onUpdate:modelValue":function(t){return e.selected[n.id]=t},onChange:t[1]||(t[1]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),onFocusin:function(e){return s.onFocus(r,a)}},null,40,vn),[[o.vModelCheckbox,e.selected[n.id]]]),(0,o.createCommentVNode)("",!0)])])):((0,o.openBlock)(),(0,o.createElementBlock)("div",dn,[(0,o.createElementVNode)("label",pn,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"radio",ref_for:!0,ref:function(t){return e.inputList.push(t)},name:n.id,id:e.question.counter+"-c"+a+"-"+n.id,"aria-label":n.label,"data-id":n.id,value:i.value,"onUpdate:modelValue":function(t){return e.selected[n.id]=t},class:"f-field-control f-radio-control",onChange:t[0]||(t[0]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),onFocusin:function(e){return s.onFocus(r,a)}},null,40,fn),[[o.vModelRadio,e.selected[n.id]]]),(0,o.createCommentVNode)("",!0)])]))],8,un)})),128))])})),128))])],2)],34)}]]);var Rn=["innerHTML"];const $n={extends:qt,name:"PaymentType",data:function(){return{canReceiveFocus:!0}},computed:{paymentConfig:function(){return this.globalVars.paymentConfig}},watch:{active:function(e){var t=this;e?setTimeout((function(){t.focus()}),100):this.canReceiveFocus=!0}},methods:{focus:function(){this.$el.parentElement.parentElement.parentElement.parentElement.getElementsByClassName("o-btn-action")[0].focus(),0!==this.question.index&&(this.canReceiveFocus=!1)},formatMoney:function(e){return ye(parseFloat(100*e).toFixed(2),this.paymentConfig.currency_settings)}}},zn=(0,de.Z)($n,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[(0,o.createTextVNode)((0,o.toDisplayString)(e.question.priceLabel)+" ",1),(0,o.createElementVNode)("span",{innerHTML:s.formatMoney(e.question.answer)},null,8,Rn)])}]]);var Hn=n(3377),Un=n(5853);const Kn={extends:qt,name:St.ce.Dropdown,components:{ElSelect:Un.default,ElOption:Hn.Z},data:function(){return{canReceiveFocus:!0}},methods:{shouldPrev:function(){return!0},focus:function(){var e=this;this.$refs.input.blur(),setTimeout((function(){e.$refs.input.focus()}),1e3)}}},Wn=(0,de.Z)(Kn,[["render",function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("el-option"),l=(0,o.resolveComponent)("el-select");return(0,o.openBlock)(),(0,o.createBlock)(l,{ref:"input",multiple:e.question.multiple,modelValue:e.dataValue,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.dataValue=t}),placeholder:e.question.placeholder,"multiple-limit":e.question.max_selection,clearable:!0,filterable:"yes"===e.question.searchable,class:"f-full-width",onChange:e.setAnswer},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.options,(function(e){return(0,o.openBlock)(),(0,o.createBlock)(a,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])})),128))]})),_:1},8,["multiple","modelValue","placeholder","multiple-limit","filterable","onChange"])}]]);const Qn={name:"TextareaAutosize",props:{value:{type:[String,Number],default:""},autosize:{type:Boolean,default:!0},minHeight:{type:[Number],default:null},maxHeight:{type:[Number],default:null},important:{type:[Boolean,Array],default:!1}},data:()=>({val:null,maxHeightScroll:!1,height:"auto"}),computed:{computedStyles(){return this.autosize?{resize:this.isResizeImportant?"none !important":"none",height:this.height,overflow:this.maxHeightScroll?"auto":this.isOverflowImportant?"hidden !important":"hidden"}:{}},isResizeImportant(){const e=this.important;return!0===e||Array.isArray(e)&&e.includes("resize")},isOverflowImportant(){const e=this.important;return!0===e||Array.isArray(e)&&e.includes("overflow")},isHeightImportant(){const e=this.important;return!0===e||Array.isArray(e)&&e.includes("height")}},watch:{value(e){this.val=e},val(e){this.$nextTick(this.resize),this.$emit("input",e)},minHeight(){this.$nextTick(this.resize)},maxHeight(){this.$nextTick(this.resize)},autosize(e){e&&this.resize()}},methods:{resize(){const e=this.isHeightImportant?"important":"";return this.height="auto"+(e?" !important":""),this.$nextTick((()=>{let t=this.$el.scrollHeight+1;this.minHeight&&(t=t<this.minHeight?this.minHeight:t),this.maxHeight&&(t>this.maxHeight?(t=this.maxHeight,this.maxHeightScroll=!0):this.maxHeightScroll=!1);const n=t+"px";this.height=`${n}${e?" !important":""}`})),this}},created(){this.val=this.value},mounted(){this.resize()}},Yn=(0,de.Z)(Qn,[["render",function(e,t,n,r,i,s){return(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("textarea",{style:(0,o.normalizeStyle)(s.computedStyles),"onUpdate:modelValue":t[0]||(t[0]=e=>i.val=e),onFocus:t[1]||(t[1]=(...e)=>s.resize&&s.resize(...e))},null,36)),[[o.vModelText,i.val]])}]]),Gn={extends:Ae,name:Be.ce.LongText,components:{TextareaAutosize:Yn},data:function(){return{canReceiveFocus:!0}},mounted:function(){window.addEventListener("resize",this.onResizeListener)},beforeUnmount:function(){window.removeEventListener("resize",this.onResizeListener)},methods:{onResizeListener:function(){this.$refs.input.resize()},unsetFocus:function(e){!e&&this.isMobile||(this.focused=!1)},onEnterDown:function(e){this.isMobile||e.preventDefault()},onEnter:function(){this._onEnter(),this.isMobile&&this.focus()}}},Zn=(0,de.Z)(Gn,[["render",function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("textarea-autosize");return(0,o.openBlock)(),(0,o.createElementBlock)("span",null,[(0,o.createVNode)(a,{ref:"input",rows:"1",value:e.modelValue,required:e.question.required,onKeydown:[e.onKeyDown,(0,o.withKeys)((0,o.withModifiers)(s.onEnterDown,["exact"]),["enter"])],onKeyup:[e.onChange,(0,o.withKeys)((0,o.withModifiers)(s.onEnter,["exact","prevent"]),["enter"]),(0,o.withKeys)((0,o.withModifiers)(s.onEnter,["prevent"]),["tab"])],onFocus:e.setFocus,onBlur:s.unsetFocus,placeholder:e.placeholder,maxlength:e.question.maxLength},null,8,["value","required","onKeydown","onKeyup","onFocus","onBlur","placeholder","maxlength"])])}]]),Jn={extends:Zn,methods:{validate:function(){return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},shouldPrev:function(){return!0}}},Xn={extends:Ge,name:St.ce.Password,data:function(){return{inputType:"password"}}};var eo=["data-sitekey"];const to={extends:qt,name:"FlowFormReCaptchaType",methods:{callback:function(e){this.dataValue=e,this.setAnswer(e)}},computed:{siteKey:function(){return this.question.siteKey}},mounted:function(){window.ff_conv_recaptcha_callback=this.callback}},no=(0,de.Z)(to,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[(0,o.createElementVNode)("div",{class:"g-recaptcha","data-sitekey":s.siteKey,"data-callback":"ff_conv_recaptcha_callback"},null,8,eo)])}]]);var oo=["data-sitekey"];const ro={extends:qt,name:"FlowFormHCaptchaType",methods:{callback:function(e){this.dataValue=e,this.setAnswer(e)}},computed:{siteKey:function(){return this.question.siteKey}},mounted:function(){window.ff_conv_hcaptcha_callback=this.callback}},io=(0,de.Z)(ro,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[(0,o.createElementVNode)("div",{class:"h-captcha","data-sitekey":s.siteKey,"data-callback":"ff_conv_hcaptcha_callback"},null,8,oo)])}]]);var so={class:"f-subscription-wrap"},ao={key:1,class:"f-subscription-custom-payment-wrap"},lo=["for"],co=["id"];var uo={class:"f-radios-wrap"},po=["onClick","aria-label","onFocusin","onKeyup"],fo={key:0,class:"f-image"},ho=["src","alt"],mo={class:"f-label-wrap"},vo=["title"],yo=["title"],go={key:0,class:"f-label"},bo=(0,o.createElementVNode)("span",{class:"ffc_check_svg"},[(0,o.createElementVNode)("svg",{height:"13",width:"16"},[(0,o.createElementVNode)("path",{d:"M14.293.293l1.414 1.414L5 12.414.293 7.707l1.414-1.414L5 9.586z"})])],-1),_o=["aria-label"],wo={class:"f-label-wrap"},xo={key:0,class:"f-key"},ko={key:2,class:"f-selected"},Eo={class:"f-label"},So={key:3,class:"f-label"};var Co={class:"f-radios-wrap"},Oo=["onClick","aria-label"],To={key:0,class:"f-image"},Bo=["src","alt"],Mo={class:"f-label-wrap"},Vo={class:"f-key"},No={key:0,class:"f-label"},Po=["aria-label"],Ao={class:"f-label-wrap"},qo={key:0,class:"f-key"},Fo={key:2,class:"f-selected"},Lo={class:"f-label"},Io={key:3,class:"f-label"};const Do={extends:Ae,name:Be.ce.MultipleChoice,data:function(){return{editingOther:!1,hasImages:!1}},mounted:function(){this.addKeyListener()},beforeUnmount:function(){this.removeKeyListener()},watch:{active:function(e){e?(this.addKeyListener(),this.question.multiple&&this.question.answered&&(this.enterPressed=!1)):this.removeKeyListener()}},methods:{addKeyListener:function(){this.removeKeyListener(),document.addEventListener("keyup",this.onKeyListener)},removeKeyListener:function(){document.removeEventListener("keyup",this.onKeyListener)},onKeyListener:function(e){if(this.active&&!this.editingOther&&e.key&&1===e.key.length){var t=e.key.toUpperCase().charCodeAt(0);if(t>=65&&t<=90){var n=t-65;if(n>-1){var o=this.question.options[n];o?this.toggleAnswer(o):this.question.allowOther&&n===this.question.options.length&&this.startEditOther()}}}},getLabel:function(e){return this.language.ariaMultipleChoice.replace(":letter",this.getToggleKey(e))},getToggleKey:function(e){var t=65+e;return t<=90?String.fromCharCode(t):""},toggleAnswer:function(e){if(!this.question.multiple){this.question.allowOther&&(this.question.other=this.dataValue=null,this.setAnswer(this.dataValue));for(var t=0;t<this.question.options.length;t++){var n=this.question.options[t];n.selected&&this._toggleAnswer(n)}}this._toggleAnswer(e)},_toggleAnswer:function(e){var t=e.choiceValue();e.toggle(),this.question.multiple?(this.enterPressed=!1,e.selected?-1===this.dataValue.indexOf(t)&&this.dataValue.push(t):this._removeAnswer(t)):this.dataValue=e.selected?t:null,this.isValid()&&this.question.nextStepOnAnswer&&!this.question.multiple&&!this.disabled&&this.$emit("next"),this.setAnswer(this.dataValue)},_removeAnswer:function(e){var t=this.dataValue.indexOf(e);-1!==t&&this.dataValue.splice(t,1)},startEditOther:function(){var e=this;this.editingOther=!0,this.enterPressed=!1,this.$nextTick((function(){e.$refs.otherInput.focus()}))},onChangeOther:function(){if(this.editingOther){var e=[],t=this;this.question.options.forEach((function(n){n.selected&&(t.question.multiple?e.push(n.choiceValue()):n.toggle())})),this.question.other&&this.question.multiple?e.push(this.question.other):this.question.multiple||(e=this.question.other),this.dataValue=e,this.setAnswer(this.dataValue)}},stopEditOther:function(){this.editingOther=!1}},computed:{hasValue:function(){return!!this.question.options.filter((function(e){return e.selected})).length||!!this.question.allowOther&&(this.question.other&&this.question.other.trim().length>0)}}},jo=(0,de.Z)(Do,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",Co,[(0,o.createElementVNode)("ul",{class:(0,o.normalizeClass)(["f-radios",{"f-multiple":e.question.multiple}]),role:"listbox"},[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.options,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("li",{onClick:(0,o.withModifiers)((function(t){return s.toggleAnswer(e)}),["prevent"]),class:(0,o.normalizeClass)({"f-selected":e.selected}),key:"m"+t,"aria-label":s.getLabel(t),role:"option"},[i.hasImages&&e.imageSrc?((0,o.openBlock)(),(0,o.createElementBlock)("span",To,[(0,o.createElementVNode)("img",{src:e.imageSrc,alt:e.imageAlt},null,8,Bo)])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",Mo,[(0,o.createElementVNode)("span",Vo,(0,o.toDisplayString)(s.getToggleKey(t)),1),e.choiceLabel()?((0,o.openBlock)(),(0,o.createElementBlock)("span",No,(0,o.toDisplayString)(e.choiceLabel()),1)):(0,o.createCommentVNode)("",!0)])],10,Oo)})),128)),!i.hasImages&&e.question.allowOther?((0,o.openBlock)(),(0,o.createElementBlock)("li",{key:0,class:(0,o.normalizeClass)(["f-other",{"f-selected":e.question.other,"f-focus":i.editingOther}]),onClick:t[5]||(t[5]=(0,o.withModifiers)((function(){return s.startEditOther&&s.startEditOther.apply(s,arguments)}),["prevent"])),"aria-label":e.language.ariaTypeAnswer,role:"option"},[(0,o.createElementVNode)("div",Ao,[i.editingOther?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("span",qo,(0,o.toDisplayString)(s.getToggleKey(e.question.options.length)),1)),i.editingOther?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("input",{key:1,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.question.other=t}),type:"text",ref:"otherInput",onBlur:t[1]||(t[1]=function(){return s.stopEditOther&&s.stopEditOther.apply(s,arguments)}),onKeyup:[t[2]||(t[2]=(0,o.withKeys)((0,o.withModifiers)((function(){return s.stopEditOther&&s.stopEditOther.apply(s,arguments)}),["prevent"]),["enter"])),t[3]||(t[3]=function(){return s.onChangeOther&&s.onChangeOther.apply(s,arguments)})],onChange:t[4]||(t[4]=function(){return s.onChangeOther&&s.onChangeOther.apply(s,arguments)}),maxlength:"256"},null,544)),[[o.vModelText,e.question.other]]):e.question.other?((0,o.openBlock)(),(0,o.createElementBlock)("span",Fo,[(0,o.createElementVNode)("span",Lo,(0,o.toDisplayString)(e.question.other),1)])):((0,o.openBlock)(),(0,o.createElementBlock)("span",Io,(0,o.toDisplayString)(e.language.otherPrompt),1))])],10,Po)):(0,o.createCommentVNode)("",!0)],2)])}]]),Ro={extends:jo,name:St.ce.MultipleChoice,data:function(){return{canReceiveFocus:!0}},computed:{showKeyHint:function(){return"yes"===this.globalVars.design.key_hint},keyHintText:function(){return this.globalVars.i18n.key_hint_text},keyHintTooltip:function(){return this.globalVars.i18n.key_hint_tooltip}},methods:{toggleAnswer:function(e){if(!this.question.multiple){this.question.allowOther&&(this.question.other=this.dataValue=null,this.setAnswer(this.dataValue));for(var t=0;t<this.question.options.length;t++){var n=this.question.options[t];n.selected&&n.value!==e.value&&n.toggle()}}this._toggleAnswer(e)},_toggleAnswer:function(e){var t=this,n=e.choiceValue();e.toggle(),this.question.multiple?(this.enterPressed=!1,e.selected?-1===this.dataValue.indexOf(n)&&this.dataValue.push(n):this._removeAnswer(n)):this.dataValue=e.selected?n:null,this.$nextTick((function(){e.selected&&t.isValid()&&t.question.nextStepOnAnswer&&!t.question.multiple&&!t.disabled&&!t.$parent.lastStep&&t.$emit("next")})),this.setAnswer(this.dataValue)},validate:function(){return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},onFocus:function(e){this.focusIndex=e},shouldPrev:function(){return 0===this.focusIndex},focus:function(){var e=0;if(this.$parent.btnFocusIn)e=this.$el.firstElementChild.children.length-1;else if(this.question.multiple&&this.question.answer.length){var t=this.question.answer[this.question.answer.length-1];e=this.question.options.findIndex((function(e){return e.value==t}))}this.$el.firstElementChild.children[e].focus()}},watch:{active:function(e){e&&this.focus()}}},$o=(0,de.Z)(Ro,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",uo,[(0,o.createElementVNode)("ul",{class:(0,o.normalizeClass)(["f-radios",e.question.multiple?"f-multiple":"f-single"]),role:"listbox"},[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.options,(function(t,n){return(0,o.openBlock)(),(0,o.createElementBlock)("li",{onClick:(0,o.withModifiers)((function(e){return s.toggleAnswer(t)}),["prevent"]),class:(0,o.normalizeClass)({"f-selected":t.selected}),key:"m"+n,"aria-label":e.getLabel(n),role:"option",tabindex:"0",onFocusin:function(e){return s.onFocus(n)},onKeyup:(0,o.withKeys)((function(e){return s.toggleAnswer(t)}),["space"])},[e.hasImages&&t.imageSrc?((0,o.openBlock)(),(0,o.createElementBlock)("span",fo,[(0,o.createElementVNode)("img",{src:t.imageSrc,alt:t.imageAlt},null,8,ho)])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",mo,[(0,o.withDirectives)((0,o.createElementVNode)("span",{title:s.keyHintTooltip,class:"f-key"},[(0,o.createElementVNode)("span",{title:s.keyHintTooltip,class:"f-key-hint"},(0,o.toDisplayString)(s.keyHintText),9,yo),(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(e.getToggleKey(n)),1)],8,vo),[[o.vShow,s.showKeyHint]]),t.choiceLabel()?((0,o.openBlock)(),(0,o.createElementBlock)("span",go,[(0,o.createTextVNode)((0,o.toDisplayString)(t.choiceLabel())+" ",1),(0,o.withDirectives)((0,o.createElementVNode)("span",{class:"f-label-sub"},(0,o.toDisplayString)(t.sub),513),[[o.vShow,t.sub]])])):(0,o.createCommentVNode)("",!0),bo])],42,po)})),128)),!e.hasImages&&e.question.allowOther?((0,o.openBlock)(),(0,o.createElementBlock)("li",{key:0,class:(0,o.normalizeClass)(["f-other",{"f-selected":e.question.other,"f-focus":e.editingOther}]),onClick:t[5]||(t[5]=(0,o.withModifiers)((function(){return e.startEditOther&&e.startEditOther.apply(e,arguments)}),["prevent"])),"aria-label":e.language.ariaTypeAnswer,role:"option"},[(0,o.createElementVNode)("div",wo,[e.editingOther?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("span",xo,(0,o.toDisplayString)(e.getToggleKey(e.question.options.length)),1)),e.editingOther?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("input",{key:1,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.question.other=t}),type:"text",ref:"otherInput",onBlur:t[1]||(t[1]=function(){return e.stopEditOther&&e.stopEditOther.apply(e,arguments)}),onKeyup:[t[2]||(t[2]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.stopEditOther&&e.stopEditOther.apply(e,arguments)}),["prevent"]),["enter"])),t[3]||(t[3]=function(){return e.onChangeOther&&e.onChangeOther.apply(e,arguments)})],onChange:t[4]||(t[4]=function(){return e.onChangeOther&&e.onChangeOther.apply(e,arguments)}),maxlength:"256"},null,544)),[[o.vModelText,e.question.other]]):e.question.other?((0,o.openBlock)(),(0,o.createElementBlock)("span",ko,[(0,o.createElementVNode)("span",Eo,(0,o.toDisplayString)(e.question.other),1)])):((0,o.openBlock)(),(0,o.createElementBlock)("span",So,(0,o.toDisplayString)(e.language.otherPrompt),1))])],10,_o)):(0,o.createCommentVNode)("",!0)],2)])}]]),zo={extends:qt,name:"SubscriptionType",components:{FlowFormDropdownType:Wn,FlowFormMultipleChoiceType:$o},data:function(){return{canReceiveFocus:!0,customPaymentFocus:!1}},computed:{single:function(){return"single"==this.question.subscriptionFieldType},hasCustomPayment:function(){return this.question.plans[this.question.answer]&&"yes"==this.question.plans[this.question.answer].user_input},customPlan:function(){return this.hasCustomPayment?this.question.plans[this.question.answer]:null},btnFocusIn:function(){return 0!==this.question.index&&(this.canReceiveFocus=!this.$parent.btnFocusIn),this.$parent.btnFocusIn},paymentConfig:function(){return this.globalVars.paymentConfig},regexPattern:function(){var e=/\$[0-9\.]+/g;switch(this.paymentConfig.currency_settings.currency_sign_position){case"left":e="\\"+this.paymentConfig.currency_settings.currency_symbol+"[0-9.]+";break;case"left_space":e="\\"+this.paymentConfig.currency_settings.currency_symbol+" [0-9.]+";break;case"right_space":e="[0-9.]+ \\"+this.paymentConfig.currency_settings.currency_symbol;break;case"right":e="[0-9.]+\\"+this.paymentConfig.currency_settings.currency_symbol}return new RegExp(e,"g")}},watch:{dataValue:function(){this.question.customPayment=this.customPlan&&this.customPlan.subscription_amount,this.dirty=!0},active:function(e){e?this.focus():this.canReceiveFocus=!0},"question.customPayment":function(e,t){if(null!=this.question.answer&&this.customPlan){e=e||0,this.dirty=!0,this.enterPressed=!0;var n=this.question.plans[this.question.answer],o=n;this.single||(o=this.question.options[this.question.answer]);var r=o.sub.match(this.regexPattern);if(r&&r.length){var i=this.formatMoney(e).replace(this.paymentConfig.currency_settings.currency_sign,this.paymentConfig.currency_settings.currency_symbol);if(1==r.length)o.sub=o.sub.replace(r[0],i);else{var s=this.formatMoney(e+n.signup_fee).replace(this.paymentConfig.currency_settings.currency_sign,this.paymentConfig.currency_settings.currency_symbol);o.sub=o.sub.replace(r[0],"{firstTime}").replace(r[1],i).replace("{firstTime}",s)}}}}},methods:{validate:function(){return this.hasCustomPayment?this.question.required&&!this.question.customPayment?(this.errorMessage=this.question.requiredMsg,!1):!(this.customPlan.user_input_min_value&&this.question.customPayment<this.customPlan.user_input_min_value)||(this.errorMessage="Value must be greater than or equal to "+this.customPlan.user_input_min_value,!1):!!this.single||this.$refs.questionComponent.validate()},onNext:function(){this.hasCustomPayment||this.$emit("next")},shouldPrev:function(){return!this.customPaymentFocus&&(!!this.single||this.$refs.questionComponent.shouldPrev())},focus:function(){if(this.hasCustomPayment)this.$refs.customPayment.focus();else if(this.single){var e=this.$parent.$el.getElementsByClassName("o-btn-action")[0];e&&e.focus(),0!==this.question.index&&(this.canReceiveFocus=!1)}else this.$refs.questionComponent.focus()},onCustomPaymentFocusIn:function(){this.customPaymentFocus=!this.customPaymentFocus},formatMoney:function(e){return ye(parseFloat(100*e).toFixed(2),this.paymentConfig.currency_settings)}},mounted:function(){null!==this.question.answer&&(this.dataValue=this.answer=this.question.answer)}},Ho=(0,de.Z)(zo,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",so,[s.single?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(e.question.subscriptionFieldType),{key:0,ref:"questionComponent",question:e.question,language:e.language,modelValue:e.dataValue,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.dataValue=t}),active:e.active,disabled:e.disabled,onNext:s.onNext},null,40,["question","language","modelValue","active","disabled","onNext"])),s.hasCustomPayment?((0,o.openBlock)(),(0,o.createElementBlock)("div",ao,[s.customPlan.user_input_label?((0,o.openBlock)(),(0,o.createElementBlock)("label",{key:0,for:s.customPlan.customInput},(0,o.toDisplayString)(s.customPlan.user_input_label),9,lo)):(0,o.createCommentVNode)("",!0),(0,o.withDirectives)((0,o.createElementVNode)("input",{ref:"customPayment",type:"number",id:s.customPlan.customInput,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.question.customPayment=t}),onFocusin:t[2]||(t[2]=function(){return s.onCustomPaymentFocusIn&&s.onCustomPaymentFocusIn.apply(s,arguments)}),onFocusout:t[3]||(t[3]=function(){return s.onCustomPaymentFocusIn&&s.onCustomPaymentFocusIn.apply(s,arguments)})},null,40,co),[[o.vModelText,e.question.customPayment,void 0,{number:!0}]])])):(0,o.createCommentVNode)("",!0),s.single?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:2},[(0,o.createTextVNode)((0,o.toDisplayString)(e.question.plans[0].sub),1)],64)):(0,o.createCommentVNode)("",!0)])}]]);var Uo=["innerHTML"];var Ko={key:0,class:"f-content"},Wo={class:"f-section-text"};const Qo={extends:Ae,name:Be.ce.SectionBreak,methods:{onEnter:function(){this.dirty=!0,this._onEnter()},isValid:function(){return!0}}},Yo=(0,de.Z)(Qo,[["render",function(e,t,n,r,i,s){return e.question.content?((0,o.openBlock)(),(0,o.createElementBlock)("div",Ko,[(0,o.createElementVNode)("span",Wo,(0,o.toDisplayString)(e.question.content),1)])):(0,o.createCommentVNode)("",!0)}]]),Go={extends:Yo,name:St.ce.SectionBreak,props:["replaceSmartCodes"],data:function(){return{canReceiveFocus:!0}},methods:{shouldPrev:function(){return!0},focus:function(){var e=this;setTimeout((function(){e.$el.closest(".ff_conv_input").getElementsByClassName("o-btn-action")[0].focus(),0!==e.question.index&&(e.canReceiveFocus=!1)}),100)}},watch:{active:function(e){e?this.focus():this.canReceiveFocus=!0}}},Zo=(0,de.Z)(Go,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"f-content",innerHTML:n.replaceSmartCodes(e.question.content)},null,8,Uo)}]]);var Jo={class:"f-payment-method-wrap"},Xo={class:"stripe-inline-wrapper"},er=(0,o.createElementVNode)("p",{class:"stripe-inline-header"},"Pay with Card (Stripe)",-1),tr=["id"];function nr(e){return nr="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},nr(e)}function or(){or=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function a(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(e){a=function(e,t,n){return e[t]=n}}function l(e,t,n,o){var r=t&&t.prototype instanceof d?t:d,i=Object.create(r.prototype),s=new k(o||[]);return i._invoke=function(e,t,n){var o="suspendedStart";return function(r,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===r)throw i;return S()}for(n.method=r,n.arg=i;;){var s=n.delegate;if(s){var a=_(s,n);if(a){if(a===u)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o="executing";var l=c(e,t,n);if("normal"===l.type){if(o=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o="completed",n.method="throw",n.arg=l.arg)}}}(e,n,s),i}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function p(){}function f(){}var h={};a(h,r,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(E([])));v&&v!==t&&n.call(v,r)&&(h=v);var y=f.prototype=d.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){a(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function o(r,i,s,a){var l=c(e[r],e,i);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==nr(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,s,a)}),(function(e){o("throw",e,s,a)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return o("throw",e,s,a)}))}a(l.arg)}var r;this._invoke=function(e,n){function i(){return new t((function(t,r){o(e,n,t,r)}))}return r=r?r.then(i,i):i()}}function _(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var o=c(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,u;var r=o.arg;return r?r.done?(t[e.resultName]=r.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function E(e){if(e){var t=e[r];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function t(){for(;++o<e.length;)if(n.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=f,a(y,"constructor",f),a(f,"constructor",p),p.displayName=a(f,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a(e,s,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},g(b.prototype),a(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,n,o,r,i){void 0===i&&(i=Promise);var s=new b(l(t,n,o,r),i);return e.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},g(y),a(y,s,"Generator"),a(y,r,(function(){return this})),a(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var o=t.pop();if(o in e)return n.value=o,n.done=!1,n}return n.done=!0,n}},e.values=E,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(n,o){return s.type="throw",s.arg=e,t.next=n,o&&(t.method="next",t.arg=void 0),!!o}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var a=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(a&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;x(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function rr(e,t,n,o,r,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(o,r)}const ir={extends:qt,name:"PaymentMethodType",components:{MultipleChoiceType:$o},data:function(){return{canReceiveFocus:!0,processingPayment:!1}},computed:{btnFocusIn:function(){return this.$parent.btnFocusIn},isStripeEmbedded:function(){return"stripe"==this.question.answer&&"yes"==this.question.paymentMethods.stripe.settings.embedded_checkout.value},paymentConfig:function(){return this.globalVars.paymentConfig},stripeInlineElementId:function(){return"payment_method_"+this.globalVars.form.id+"_"+this.question.counter+"_stripe_inline"}},watch:{isStripeEmbedded:function(e){this.disableBtn(e),e||(this.errorMessage=null,this.$parent.dataValue=null,this.globalVars.extra_inputs.__stripe_payment_method_id="")}},methods:{focus:function(){this.isStripeEmbedded?this.btnFocusIn&&this.stripeCard.focus():this.$refs.questionComponent.focus()},shouldPrev:function(){return this.$refs.questionComponent.shouldPrev()},onNext:function(){this.isStripeEmbedded?this.initStripeInline():this.$emit("next")},validate:function(){return this.isStripeEmbedded?!this.errorMessage:this.$refs.questionComponent.validate()},initStripeInline:function(){var e=this;this.stripe=new Stripe(this.paymentConfig.stripe.publishable_key),this.stripe.registerAppInfo(this.paymentConfig.stripe_app_info),this.$parent.$parent.$parent.stripe=this.stripe;var t=this.stripe.elements(),n={base:{color:this.globalVars.design.answer_color,fontFamily:"-apple-system, BlinkMacSystemFont, sans-serif",fontSmoothing:"antialiased",fontSize:"18px","::placeholder":{color:this.globalVars.design.answer_color+"80"}},invalid:{color:"#fa755a",iconColor:"#fa755a"}},o=t.create("card",{style:n,hidePostalCode:!this.paymentConfig.stripe.inlineConfig.verifyZip}),r=this.stripeInlineElementId;o.mount("#"+r),o.on("ready",(function(){e.disableBtn(!0),e.$parent.dataValue=e.dataValue,o.focus()})),o.on("change",(function(t){e.globalVars.extra_inputs.__stripe_payment_method_id="",e.disableBtn(!0),e.errorMessage=t.error&&t.error.message,e.errorMessage?o.focus():t.complete&&e.registerStripePaymentToken()})),this.stripeCard=o},registerStripePaymentToken:function(){var e,t=this;return(e=or().mark((function e(){var n;return or().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processingPayment=!0,e.next=3,t.stripe.createPaymentMethod("card",t.stripeCard);case 3:(n=e.sent)&&(n.error?t.errorMessage=n.error.message:(t.globalVars.extra_inputs.__stripe_payment_method_id=n.paymentMethod.id,t.errorMessage=null,t.disableBtn(!1),t.focusBtn())),t.processingPayment=!1;case 6:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(o,r){var i=e.apply(t,n);function s(e){rr(i,o,r,s,a,"next",e)}function a(e){rr(i,o,r,s,a,"throw",e)}s(void 0)}))})()},disableBtn:function(e){this.$parent.$el.getElementsByClassName("o-btn-action")[0].disabled=e;var t=e?"setAttribute":"removeAttribute";this.$parent.$el.getElementsByClassName("f-enter-desc")[0][t]("disabled",e)},focusBtn:function(){this.$parent.$el.getElementsByClassName("o-btn-action")[0].focus()}}},sr=(0,de.Z)(ir,[["render",function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("multiple-choice-type");return(0,o.openBlock)(),(0,o.createElementBlock)("div",Jo,[(0,o.createVNode)(a,{ref:"questionComponent",question:e.question,language:e.language,modelValue:e.dataValue,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.dataValue=t}),active:e.active,disabled:e.disabled,onNext:s.onNext},null,8,["question","language","modelValue","active","disabled","onNext"]),(0,o.withDirectives)((0,o.createElementVNode)("div",Xo,[er,(0,o.createElementVNode)("div",{id:s.stripeInlineElementId,class:"stripe-inline-holder"},null,8,tr),(0,o.withDirectives)((0,o.createElementVNode)("p",{class:"payment-processing"},(0,o.toDisplayString)(s.paymentConfig.i18n.processing_text),513),[[o.vShow,i.processingPayment]])],512),[[o.vShow,s.isStripeEmbedded]])])}]]);var ar={class:"ffc_q_header"},lr={class:"f-text"},cr={class:"f-sub"},ur=["innerHTML"],dr={class:"ff_custom_button f-enter"},pr=["innerHTML"],fr=["innerHTML"];function hr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function mr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hr(Object(n),!0).forEach((function(t){vr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const yr={extends:qt,name:St.ce.WelcomeScreen,props:["replaceSmartCodes"],methods:{onEnter:function(){this.dirty=!0,this._onEnter()},isValid:function(){return!0},next:function(){this.$emit("next")},shouldPrev:function(){return!0},onBtnFocus:function(){this.$emit("focus-in")},focus:function(){this.$el.getElementsByClassName("ff-btn")[0].focus(),0!==this.question.index&&(this.canReceiveFocus=!1)}},data:function(){return{extraHtml:"<style>.ff_default_submit_button_wrapper {display: none !important;}</style>",canReceiveFocus:!0}},computed:{btnStyles:function(){if(""!=this.question.settings.button_style)return"default"===this.question.settings.button_style?{}:{backgroundColor:this.question.settings.background_color,color:this.question.settings.color};var e=this.question.settings.normal_styles,t="normal_styles";if("hover_styles"==this.question.settings.current_state&&(t="hover_styles"),!this.question.settings[t])return e;var n=JSON.parse(JSON.stringify(this.question.settings[t]));return n.borderRadius?n.borderRadius=n.borderRadius+"px":delete n.borderRadius,n.minWidth||delete n.minWidth,mr(mr({},e),n)},btnStyleClass:function(){return this.question.settings.button_style},btnSize:function(){return"ff-btn-"+this.question.settings.button_size},wrapperStyle:function(){var e={};return e.textAlign=this.question.settings.align,e},enterStyle:function(){if(""!=this.question.settings.button_style)return"default"===this.question.settings.button_style?{}:{color:this.question.settings.background_color};var e=this.question.settings.normal_styles,t="normal_styles";return"hover_styles"==this.question.settings.current_state&&(t="hover_styles"),this.question.settings[t]?{color:JSON.parse(JSON.stringify(this.question.settings[t])).backgroundColor}:e}},watch:{active:function(e){e?this.focus():this.canReceiveFocus=!0}}},gr=(0,de.Z)(yr,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"fh2 f-welcome-screen",style:(0,o.normalizeStyle)(s.wrapperStyle)},[(0,o.createElementVNode)("div",ar,[(0,o.createElementVNode)("h4",lr,(0,o.toDisplayString)(n.replaceSmartCodes(e.question.title)),1)]),(0,o.createElementVNode)("div",cr,[e.question.subtitle?((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:0,innerHTML:n.replaceSmartCodes(e.question.subtitle)},null,8,ur)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",dr,["default"==e.question.settings.button_ui.type?((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:0,class:(0,o.normalizeClass)(["ff-btn o-btn-action",[s.btnSize,s.btnStyleClass]]),type:"button",ref:"button",href:"#",onClick:t[0]||(t[0]=(0,o.withModifiers)((function(){return s.next&&s.next.apply(s,arguments)}),["prevent"])),onFocusin:t[1]||(t[1]=function(){return s.onBtnFocus&&s.onBtnFocus.apply(s,arguments)}),onFocusout:t[2]||(t[2]=function(){return s.onBtnFocus&&s.onBtnFocus.apply(s,arguments)}),style:(0,o.normalizeStyle)(s.btnStyles)},[(0,o.createElementVNode)("span",{innerHTML:e.question.settings.button_ui.text},null,8,pr)],38)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("a",{class:"f-enter-desc",href:"#",onClick:t[3]||(t[3]=(0,o.withModifiers)((function(){return s.next&&s.next.apply(s,arguments)}),["prevent"])),style:(0,o.normalizeStyle)(s.enterStyle),innerHTML:e.language.formatString(e.language.pressEnter)},null,12,fr)])],4)}]]);var br={class:"f-payment-summary-wrap"},_r={key:0,class:"f-payment-summary-table"},wr={class:"f-table-cell f-column-cell"},xr={class:"f-table-cell f-column-cell"},kr={class:"f-table-cell f-column-cell"},Er={class:"f-table-cell f-column-cell"},Sr={class:"f-table-cell"},Cr={key:0},Or=["innerHTML"],Tr={class:"f-table-cell"},Br=["innerHTML"],Mr={colspan:"3",class:"f-table-cell right"},Vr=["innerHTML"],Nr={colspan:"3",class:"f-table-cell right"},Pr=["innerHTML"],Ar={colspan:"3",class:"f-table-cell right"},qr=["innerHTML"],Fr=["innerHTML"];const Lr={extends:qt,name:"PaymentSummaryType",data:function(){return{canReceiveFocus:!0,appliedCoupons:null}},computed:{paymentItems:function(){var e=[];return this.active&&(e=be(this.$parent.$parent.questionList)),e},paymentConfig:function(){return this.globalVars.paymentConfig},btnFocusIn:function(){return 0!==this.question.index&&(this.canReceiveFocus=!this.$parent.btnFocusIn),this.$parent.btnFocusIn},subTotal:function(){return _e(this.paymentItems)},totalAmount:function(){return we(this.subTotal,this.appliedCoupons)}},methods:{formatMoney:function(e){return ye(parseFloat(100*e).toFixed(2),this.paymentConfig.currency_settings)},formatDiscountAmount:function(e){var t=e.amount;return"percent"===e.coupon_type&&(t=e.amount/100*this.subTotal),"-"+this.formatMoney(t)},$t:function(e){return this.paymentConfig.i18n[e]||e},focus:function(){var e=this;setTimeout((function(){e.$el.parentElement.parentElement.parentElement.parentElement.getElementsByClassName("o-btn-action")[0].focus()}),100)}},watch:{active:function(e){e?(this.focus(),this.appliedCoupons=this.globalVars.appliedCoupons,this.canReceiveFocus=!1):(this.canReceiveFocus=!0,this.appliedCoupons=null)}}},Ir=(0,de.Z)(Lr,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",br,[e.active&&s.paymentItems.length?((0,o.openBlock)(),(0,o.createElementBlock)("table",_r,[(0,o.createElementVNode)("thead",null,[(0,o.createElementVNode)("tr",null,[(0,o.createElementVNode)("th",wr,(0,o.toDisplayString)(s.$t("item")),1),(0,o.createElementVNode)("th",xr,(0,o.toDisplayString)(s.$t("price")),1),(0,o.createElementVNode)("th",kr,(0,o.toDisplayString)(s.$t("qty")),1),(0,o.createElementVNode)("th",Er,(0,o.toDisplayString)(s.$t("line_total")),1)])]),(0,o.createElementVNode)("tbody",null,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(s.paymentItems,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("tr",{key:t},[(0,o.createElementVNode)("td",Sr,[(0,o.createTextVNode)((0,o.toDisplayString)(e.label)+" ",1),e.childItems?((0,o.openBlock)(),(0,o.createElementBlock)("ul",Cr,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.childItems,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("li",{key:t},(0,o.toDisplayString)(e.label),1)})),128))])):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("td",{class:"f-table-cell",innerHTML:s.formatMoney(e.price)},null,8,Or),(0,o.createElementVNode)("td",Tr,(0,o.toDisplayString)(e.quantity),1),(0,o.createElementVNode)("td",{class:"f-table-cell",innerHTML:s.formatMoney(e.lineTotal)},null,8,Br)])})),128))]),(0,o.createElementVNode)("tfoot",null,[i.appliedCoupons?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[(0,o.createElementVNode)("tr",null,[(0,o.createElementVNode)("th",Mr,(0,o.toDisplayString)(s.$t("line_total")),1),(0,o.createElementVNode)("th",{class:"f-table-cell",innerHTML:s.formatMoney(s.subTotal)},null,8,Vr)]),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(i.appliedCoupons,(function(e){return(0,o.openBlock)(),(0,o.createElementBlock)("tr",{key:e.code},[(0,o.createElementVNode)("th",Nr," Discount: "+(0,o.toDisplayString)(e.title),1),(0,o.createElementVNode)("th",{class:"f-table-cell",innerHTML:s.formatDiscountAmount(e)},null,8,Pr)])})),128))],64)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("tr",null,[(0,o.createElementVNode)("th",Ar,(0,o.toDisplayString)(s.$t("total")),1),(0,o.createElementVNode)("th",{class:"f-table-cell",innerHTML:s.formatMoney(s.totalAmount)},null,8,qr)])])])):((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:1,innerHTML:e.question.emptyText},null,8,Fr))])}]]),Dr={extends:$o,name:St.ce.TermsAndCondition,data:function(){return{hasImages:!0}},methods:{validate:function(){return"on"===this.dataValue?(this.question.error="",!0):!this.question.required||(this.question.error=this.question.requiredMsg,!1)}}};var jr={class:"q-inner"},Rr={key:0,class:"f-tagline"},$r={key:0,class:"fh2"},zr={key:1,class:"f-text"},Hr=["aria-label"],Ur=[(0,o.createElementVNode)("span",{"aria-hidden":"true"},"*",-1)],Kr={key:1,class:"f-answer"},Wr={key:2,class:"f-sub"},Qr={key:0},Yr=["innerHTML"],Gr={key:2,class:"f-help"},Zr={key:3,class:"f-help"},Jr={key:3,class:"f-answer f-full-width"},Xr={key:0,class:"f-description"},ei={key:0},ti=["href","target"],ni={key:0,class:"vff-animate f-fade-in f-enter"},oi=["aria-label"],ri={key:0},ii={key:1},si={key:2},ai=["innerHTML"],li={key:1,class:"f-invalid",role:"alert","aria-live":"assertive"};var ci={class:"faux-form"},ui=["value","required"],di={key:0,label:" ",value:"",disabled:"",selected:"",hidden:""},pi=["disabled","value"],fi=(0,o.createElementVNode)("span",{class:"f-arrow-down"},[(0,o.createElementVNode)("svg",{version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"-163 254.1 284.9 284.9",style:"","xml:space":"preserve"},[(0,o.createElementVNode)("g",null,[(0,o.createElementVNode)("path",{d:"M119.1,330.6l-14.3-14.3c-1.9-1.9-4.1-2.9-6.6-2.9c-2.5,0-4.7,1-6.6,2.9L-20.5,428.5l-112.2-112.2c-1.9-1.9-4.1-2.9-6.6-2.9c-2.5,0-4.7,0.9-6.6,2.9l-14.3,14.3c-1.9,1.9-2.9,4.1-2.9,6.6c0,2.5,1,4.7,2.9,6.6l133,133c1.9,1.9,4.1,2.9,6.6,2.9s4.7-1,6.6-2.9l133.1-133c1.9-1.9,2.8-4.1,2.8-6.6C121.9,334.7,121,332.5,119.1,330.6z"})])])],-1);const hi={extends:Ae,name:Be.ce.Dropdown,computed:{answerLabel:function(){for(var e=0;e<this.question.options.length;e++){var t=this.question.options[e];if(t.choiceValue()===this.dataValue)return t.choiceLabel()}return this.question.placeholder}},methods:{onKeyDownListener:function(e){"ArrowDown"===e.key||"ArrowUp"===e.key?this.setAnswer(this.dataValue):"Enter"===e.key&&this.hasValue&&(this.focused=!1,this.blur())},onKeyUpListener:function(e){"Enter"===e.key&&this.isValid()&&!this.disabled&&(e.stopPropagation(),this._onEnter(),this.$emit("next"))}}},mi=(0,de.Z)(hi,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("span",ci,[(0,o.createElementVNode)("select",{ref:"input",class:"",value:e.dataValue,onChange:t[0]||(t[0]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),onKeydown:t[1]||(t[1]=function(){return s.onKeyDownListener&&s.onKeyDownListener.apply(s,arguments)}),onKeyup:t[2]||(t[2]=function(){return s.onKeyUpListener&&s.onKeyUpListener.apply(s,arguments)}),required:e.question.required},[e.question.required?((0,o.openBlock)(),(0,o.createElementBlock)("option",di," ")):(0,o.createCommentVNode)("",!0),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.options,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("option",{disabled:e.disabled,value:e.choiceValue(),key:"o"+t},(0,o.toDisplayString)(e.choiceLabel()),9,pi)})),128))],40,ui),(0,o.createElementVNode)("span",null,[(0,o.createElementVNode)("span",{class:(0,o.normalizeClass)(["f-empty",{"f-answered":this.question.answer&&this.question.answered}])},(0,o.toDisplayString)(s.answerLabel),3),fi])])}]]),vi={extends:jo,name:Be.ce.MultiplePictureChoice,data:function(){return{hasImages:!0}}},yi={extends:He,name:Be.ce.Number,data:function(){return{inputType:"tel",allowedChars:"-0123456789."}},methods:{validate:function(){return!(null!==this.question.min&&!isNaN(this.question.min)&&+this.dataValue<+this.question.min)&&(!(null!==this.question.max&&!isNaN(this.question.max)&&+this.dataValue>+this.question.max)&&(this.hasValue?this.question.mask?this.validateMask():!isNaN(+this.dataValue):!this.question.required||this.hasValue))}}},gi={extends:He,name:Be.ce.Password,data:function(){return{inputType:"password"}}},bi={extends:He,name:Be.ce.Phone,data:function(){return{inputType:"tel",canReceiveFocus:!0}}},_i={extends:He,name:Be.ce.Date,data:function(){return{inputType:"date"}},methods:{validate:function(){return!(this.question.min&&this.dataValue<this.question.min)&&(!(this.question.max&&this.dataValue>this.question.max)&&(!this.question.required||this.hasValue))}}};var wi=["accept","multiple","value","required"];const xi={extends:He,name:Be.ce.File,mounted:function(){this.question.accept&&(this.mimeTypeRegex=new RegExp(this.question.accept.replace("*","[^\\/,]+")))},methods:{setAnswer:function(e){this.question.setAnswer(this.files),this.answer=e,this.question.answered=this.isValid(),this.$emit("update:modelValue",e)},showInvalid:function(){return null!==this.errorMessage},validate:function(){var e=this;if(this.errorMessage=null,this.question.required&&!this.hasValue)return!1;if(this.question.accept&&!Array.from(this.files).every((function(t){return e.mimeTypeRegex.test(t.type)})))return this.errorMessage=this.language.formatString(this.language.errorAllowedFileTypes,{fileTypes:this.question.accept}),!1;if(this.question.multiple){var t=this.files.length;if(null!==this.question.min&&t<+this.question.min)return this.errorMessage=this.language.formatString(this.language.errorMinFiles,{min:this.question.min}),!1;if(null!==this.question.max&&t>+this.question.max)return this.errorMessage=this.language.formatString(this.language.errorMaxFiles,{max:this.question.max}),!1}if(null!==this.question.maxSize&&Array.from(this.files).reduce((function(e,t){return e+t.size}),0)>+this.question.maxSize)return this.errorMessage=this.language.formatString(this.language.errorMaxFileSize,{size:this.language.formatFileSize(this.question.maxSize)}),!1;return this.$refs.input.checkValidity()}},computed:{files:function(){return this.$refs.input.files}}},ki={name:"FlowFormQuestion",components:{FlowFormDateType:_i,FlowFormDropdownType:mi,FlowFormEmailType:Ht,FlowFormLongTextType:Zn,FlowFormMultipleChoiceType:jo,FlowFormMultiplePictureChoiceType:vi,FlowFormNumberType:yi,FlowFormPasswordType:gi,FlowFormPhoneType:bi,FlowFormSectionBreakType:Yo,FlowFormTextType:He,FlowFormFileType:(0,de.Z)(xi,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("input",{ref:"input",type:"file",accept:e.question.accept,multiple:e.question.multiple,value:e.modelValue,required:e.question.required,onKeyup:[t[0]||(t[0]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"]),["enter"])),t[1]||(t[1]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"]),["tab"]))],onFocus:t[2]||(t[2]=function(){return e.setFocus&&e.setFocus.apply(e,arguments)}),onBlur:t[3]||(t[3]=function(){return e.unsetFocus&&e.unsetFocus.apply(e,arguments)}),onChange:t[4]||(t[4]=function(){return e.onChange&&e.onChange.apply(e,arguments)})},null,40,wi)}]]),FlowFormUrlType:Ue,FlowFormMatrixType:In},props:{question:Be.ZP,language:Me.Z,value:[String,Array,Boolean,Number,Object],active:{type:Boolean,default:!1},reverse:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!0}},mixins:[Pe],data:function(){return{QuestionType:Be.ce,dataValue:null,debounced:!1}},mounted:function(){this.autofocus&&this.focusField(),this.dataValue=this.question.answer,this.$refs.qanimate.addEventListener("animationend",this.onAnimationEnd)},beforeUnmount:function(){this.$refs.qanimate.removeEventListener("animationend",this.onAnimationEnd)},methods:{focusField:function(){var e=this.$refs.questionComponent;e&&e.focus()},onAnimationEnd:function(){this.autofocus&&this.focusField()},shouldFocus:function(){var e=this.$refs.questionComponent;return e&&e.canReceiveFocus&&!e.focused},returnFocus:function(){this.$refs.questionComponent;this.shouldFocus()&&this.focusField()},onEnter:function(e){this.checkAnswer(this.emitAnswer)},onTab:function(e){this.checkAnswer(this.emitAnswerTab)},checkAnswer:function(e){var t=this,n=this.$refs.questionComponent;n.isValid()&&this.question.isMultipleChoiceType()&&this.question.nextStepOnAnswer&&!this.question.multiple?(this.$emit("disable",!0),this.debounce((function(){e(n),t.$emit("disable",!1)}),350)):e(n)},emitAnswer:function(e){e&&(e.focused||this.$emit("answer",e),e.onEnter())},emitAnswerTab:function(e){e&&this.question.type!==Be.ce.Date&&(this.returnFocus(),this.$emit("answer",e),e.onEnter())},debounce:function(e,t){var n;return this.debounced=!0,clearTimeout(n),void(n=setTimeout(e,t))},showOkButton:function(){var e=this.$refs.questionComponent;return this.question.type===Be.ce.SectionBreak?this.active:!this.question.required||(!(!this.question.allowOther||!this.question.other)||!(this.question.isMultipleChoiceType()&&!this.question.multiple&&this.question.nextStepOnAnswer)&&(!(!e||null===this.dataValue)&&(e.hasValue&&e.isValid())))},showSkip:function(){var e=this.$refs.questionComponent;return!(this.question.required||e&&e.hasValue)},showInvalid:function(){var e=this.$refs.questionComponent;return!(!e||null===this.dataValue)&&e.showInvalid()}},computed:{mainClasses:{cache:!1,get:function(){var e={"q-is-active":this.active,"q-is-inactive":!this.active,"f-fade-in-down":this.reverse,"f-fade-in-up":!this.reverse,"f-focused":this.$refs.questionComponent&&this.$refs.questionComponent.focused,"f-has-value":this.$refs.questionComponent&&this.$refs.questionComponent.hasValue};return e["field-"+this.question.type.toLowerCase().substring(8,this.question.type.length-4)]=!0,e}},showHelperText:function(){return!!this.question.subtitle||(this.question.type===Be.ce.LongText||this.question.type===Be.ce.MultipleChoice)&&this.question.helpTextShow},errorMessage:function(){var e=this.$refs.questionComponent;return e&&e.errorMessage?e.errorMessage:this.language.invalidPrompt}}},Ei=(0,de.Z)(ki,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["vff-animate q-form",s.mainClasses]),ref:"qanimate"},[(0,o.createElementVNode)("div",jr,[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)({"f-section-wrap":n.question.type===i.QuestionType.SectionBreak})},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)({fh2:n.question.type!==i.QuestionType.SectionBreak})},[n.question.tagline?((0,o.openBlock)(),(0,o.createElementBlock)("span",Rr,(0,o.toDisplayString)(n.question.tagline),1)):(0,o.createCommentVNode)("",!0),n.question.title?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[n.question.type===i.QuestionType.SectionBreak?((0,o.openBlock)(),(0,o.createElementBlock)("span",$r,(0,o.toDisplayString)(n.question.title),1)):((0,o.openBlock)(),(0,o.createElementBlock)("span",zr,[(0,o.createTextVNode)((0,o.toDisplayString)(n.question.title)+"  ",1),n.question.required?((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:0,class:"f-required","aria-label":n.language.ariaRequired,role:"note"},Ur,8,Hr)):(0,o.createCommentVNode)("",!0),n.question.inline?((0,o.openBlock)(),(0,o.createElementBlock)("span",Kr,[((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(n.question.type),{ref:"questionComponent",question:n.question,language:n.language,modelValue:i.dataValue,"onUpdate:modelValue":t[0]||(t[0]=function(e){return i.dataValue=e}),active:n.active,disabled:n.disabled,onNext:s.onEnter},null,40,["question","language","modelValue","active","disabled","onNext"]))])):(0,o.createCommentVNode)("",!0)]))],64)):(0,o.createCommentVNode)("",!0),s.showHelperText?((0,o.openBlock)(),(0,o.createElementBlock)("span",Wr,[n.question.subtitle?((0,o.openBlock)(),(0,o.createElementBlock)("span",Qr,(0,o.toDisplayString)(n.question.subtitle),1)):(0,o.createCommentVNode)("",!0),n.question.type!==i.QuestionType.LongText||e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:1,class:"f-help",innerHTML:n.question.helpText||n.language.formatString(n.language.longTextHelpText)},null,8,Yr)),n.question.type===i.QuestionType.MultipleChoice&&n.question.multiple?((0,o.openBlock)(),(0,o.createElementBlock)("span",Gr,(0,o.toDisplayString)(n.question.helpText||n.language.multipleChoiceHelpText),1)):n.question.type===i.QuestionType.MultipleChoice?((0,o.openBlock)(),(0,o.createElementBlock)("span",Zr,(0,o.toDisplayString)(n.question.helpText||n.language.multipleChoiceHelpTextSingle),1)):(0,o.createCommentVNode)("",!0)])):(0,o.createCommentVNode)("",!0),n.question.inline?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",Jr,[((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(n.question.type),{ref:"questionComponent",question:n.question,language:n.language,modelValue:i.dataValue,"onUpdate:modelValue":t[1]||(t[1]=function(e){return i.dataValue=e}),active:n.active,disabled:n.disabled,onNext:s.onEnter},null,40,["question","language","modelValue","active","disabled","onNext"]))]))],2),n.question.description||0!==n.question.descriptionLink.length?((0,o.openBlock)(),(0,o.createElementBlock)("p",Xr,[n.question.description?((0,o.openBlock)(),(0,o.createElementBlock)("span",ei,(0,o.toDisplayString)(n.question.description),1)):(0,o.createCommentVNode)("",!0),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(n.question.descriptionLink,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("a",{class:"f-link",key:"m"+t,href:e.url,target:e.target},(0,o.toDisplayString)(e.text||e.url),9,ti)})),128))])):(0,o.createCommentVNode)("",!0)],2),s.showOkButton()?((0,o.openBlock)(),(0,o.createElementBlock)("div",ni,[(0,o.createElementVNode)("button",{class:"o-btn-action",type:"button",ref:"button",href:"#",onClick:t[2]||(t[2]=(0,o.withModifiers)((function(){return s.onEnter&&s.onEnter.apply(s,arguments)}),["prevent"])),"aria-label":n.language.ariaOk},[n.question.type===i.QuestionType.SectionBreak?((0,o.openBlock)(),(0,o.createElementBlock)("span",ri,(0,o.toDisplayString)(n.language.continue),1)):s.showSkip()?((0,o.openBlock)(),(0,o.createElementBlock)("span",ii,(0,o.toDisplayString)(n.language.skip),1)):((0,o.openBlock)(),(0,o.createElementBlock)("span",si,(0,o.toDisplayString)(n.language.ok),1))],8,oi),n.question.type===i.QuestionType.LongText&&e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("a",{key:0,class:"f-enter-desc",href:"#",onClick:t[3]||(t[3]=(0,o.withModifiers)((function(){return s.onEnter&&s.onEnter.apply(s,arguments)}),["prevent"])),innerHTML:n.language.formatString(n.language.pressEnter)},null,8,ai))])):(0,o.createCommentVNode)("",!0),s.showInvalid()?((0,o.openBlock)(),(0,o.createElementBlock)("div",li,(0,o.toDisplayString)(s.errorMessage),1)):(0,o.createCommentVNode)("",!0)])],2)}]]),Si={name:"FormQuestion",extends:Ei,components:{Counter:pe,SubmitButton:Ce,FlowFormUrlType:Ke,FlowFormFileType:Ot,FlowFormTextType:Ge,FlowFormRateType:Lt,FlowFormDateType:jt,FlowFormEmailType:Ut,FlowFormPhoneType:Kt,FlowFormNumberType:Wt,FlowFormHiddenType:zt,FlowFormCouponType:rn,FlowFormMatrixType:jn,FlowFormPaymentType:zn,FlowFormLongTextType:Jn,FlowFormDropdownType:Wn,FlowFormPasswordType:Xn,FlowFormReCaptchaType:no,FlowFormHCaptchaType:io,FlowFormSubscriptionType:Ho,FlowFormSectionBreakType:Zo,FlowFormPaymentMethodType:sr,FlowFormWelcomeScreenType:gr,FlowFormPaymentSummaryType:Ir,FlowFormMultipleChoiceType:$o,FlowFormTermsAndConditionType:Dr,FlowFormMultiplePictureChoiceType:{extends:$o,name:St.ce.MultiplePictureChoice,data:function(){return{hasImages:!0}}}},props:{isActiveForm:{type:Boolean,default:!0},lastStep:{type:Boolean,default:!1},submitting:{type:Boolean,default:!1},replaceSmartCodes:{type:Function,default:function(e){return e}}},data:function(){return{QuestionType:St.ce,btnFocusIn:!1}},watch:{"question.answer":{handler:function(e){this.$emit("answered",this.question)},deep:!0},active:function(e){e&&this.scrollToTop()}},methods:{onBtnFocus:function(){this.btnFocusIn=!this.btnFocusIn},focusField:function(){if(!this.isActiveForm)return!1;var e=this.$refs.questionComponent;this.active&&e&&e.canReceiveFocus&&e.focus()},checkAnswer:function(e){var t=this,n=this.$refs.questionComponent;n.isValid()&&this.question.nextStepOnAnswer&&!this.question.multiple?(this.$emit("disable",!0),this.debounce((function(){e(n),t.$emit("disable",!1)}),350)):e(n)},showOkButton:function(){var e=this.$refs.questionComponent;return this.question.type!==St.ce.WelcomeScreen&&"FlowFormCouponType"!==this.question.type&&(this.question.type===St.ce.SectionBreak?this.active:!this.question.required||(!(!this.question.allowOther||!this.question.other)||!(this.question.isMultipleChoiceType()&&!this.question.multiple&&this.question.nextStepOnAnswer&&!this.lastStep)&&(!(!e||null===this.dataValue)&&(e.hasValue&&e.isValid()))))},showInvalid:function(){var e=this.$refs.questionComponent;return!(!e||null===this.dataValue)&&(!e||this.question.multiple||this.question.is_subscription_field||(e.dirty=!0,e.enterPressed=!0),this.question.error||e.showInvalid())},onSubmit:function(e){this.$emit("submit",!0),this.onEnter(e)},emitAnswer:function(e){this.$emit("answer",e),e.onEnter()},scrollToTop:function(){var e=this;setTimeout((function(){e.$el.querySelector(".ff_conv_input").scrollTo({top:0})}),200)}},computed:{mainClasses:{cache:!1,get:function(){var e={"q-is-inactive":!this.active,"f-fade-in-down":this.reverse&&this.active,"f-fade-in-up":!this.reverse&&this.active,"f-focused":this.$refs.questionComponent&&this.$refs.questionComponent.focused,"f-has-value":this.$refs.questionComponent&&this.$refs.questionComponent.hasValue};return e["field-"+this.question.type.toLowerCase().substring(8,this.question.type.length-4)]=!0,e}},layoutClass:{cache:!1,get:function(){return this.question.style_pref.layout}},setAlignment:{cache:!1,get:function(){var e="";return null!=this.question.settings&&(e+="text-align: ".concat(this.question.settings.align,"; ")),e}},layoutStyle:{cache:!1,get:function(){return{backgroundImage:"url("+this.question.style_pref.media+")",height:"90vh",backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:this.question.style_pref.media_x_position+"px "+this.question.style_pref.media_y_position+"px"}}},brightness:function(){var e=this.question.style_pref.brightness;if(!e)return!1;var t="";return e>0&&(t+="contrast("+((100-e)/100).toFixed(2)+") "),t+"brightness("+(1+this.question.style_pref.brightness/100)+")"},imagePositionCSS:function(){return("media_right_full"==this.question.style_pref.layout||"media_left_full"==this.question.style_pref.layout)&&this.question.style_pref.media_x_position+"% "+this.question.style_pref.media_y_position+"%"}},mounted:function(){this.active&&this.scrollToTop()}},Ci=(0,de.Z)(Si,[["render",function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("flow-form-welcome-screen-type"),l=(0,o.resolveComponent)("counter"),c=(0,o.resolveComponent)("submit-button");return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["vff-animate q-form",s.mainClasses]),ref:"qanimate"},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["ff_conv_section_wrapper",["ff_conv_layout_"+s.layoutClass,e.question.container_class]])},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["ff_conv_input q-inner",[e.question.contentAlign]])},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["ffc_question",{"f-section-wrap":e.question.type===i.QuestionType.SectionBreak}])},[e.question.type===i.QuestionType.WelcomeScreen?((0,o.openBlock)(),(0,o.createBlock)(a,{key:0,ref:"questionComponent",is:e.question.type,question:e.question,language:e.language,modelValue:e.dataValue,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.dataValue=t}),active:e.active,replaceSmartCodes:n.replaceSmartCodes,disabled:e.disabled,onNext:e.onEnter,onFocusIn:s.onBtnFocus},null,8,["is","question","language","modelValue","active","replaceSmartCodes","disabled","onNext","onFocusIn"])):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)({fh2:e.question.type!==i.QuestionType.SectionBreak})},[(0,o.createElementVNode)("div",C,[[i.QuestionType.SectionBreak,i.QuestionType.Hidden].includes(e.question.type)?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)(l,{serial:e.question.counter,key:e.question.counter,isMobile:e.isMobile},null,8,["serial","isMobile"])),e.question.title?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[e.question.type===i.QuestionType.SectionBreak?((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:0,class:"fh2",innerHTML:n.replaceSmartCodes(e.question.title)},null,8,O)):((0,o.openBlock)(),(0,o.createElementBlock)("span",T,[(0,o.createElementVNode)("span",{innerHTML:n.replaceSmartCodes(e.question.title)},null,8,B),e.question.required?((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:0,class:"f-required","aria-label":e.language.ariaRequired,role:"note"},V,8,M)):(0,o.createCommentVNode)("",!0),e.question.inline?((0,o.openBlock)(),(0,o.createElementBlock)("span",N,[((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(e.question.type),{ref:"questionComponent",question:e.question,language:e.language,replaceSmartCodes:n.replaceSmartCodes,modelValue:e.dataValue,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.dataValue=t}),active:e.active,disabled:e.disabled,onNext:e.onEnter},null,40,["question","language","replaceSmartCodes","modelValue","active","disabled","onNext"]))])):(0,o.createCommentVNode)("",!0)]))],64)):(0,o.createCommentVNode)("",!0),e.question.tagline?((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:2,class:"f-tagline",innerHTML:n.replaceSmartCodes(e.question.tagline)},null,8,P)):(0,o.createCommentVNode)("",!0)]),e.question.inline?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",A,[((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(e.question.type),{ref:"questionComponent",question:e.question,language:e.language,modelValue:e.dataValue,"onUpdate:modelValue":t[2]||(t[2]=function(t){return e.dataValue=t}),replaceSmartCodes:n.replaceSmartCodes,active:e.active,disabled:e.disabled,onNext:e.onEnter},null,40,["question","language","modelValue","replaceSmartCodes","active","disabled","onNext"]))])),e.showHelperText?((0,o.openBlock)(),(0,o.createElementBlock)("span",q,[e.question.subtitle?((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:0,innerHTML:e.question.subtitle},null,8,F)):(0,o.createCommentVNode)("",!0),e.question.type!==i.QuestionType.LongText||e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:1,class:"f-help",innerHTML:e.question.helpText||e.language.formatString(e.language.longTextHelpText)},null,8,L)),e.question.type===i.QuestionType.MultipleChoice&&e.question.multiple?((0,o.openBlock)(),(0,o.createElementBlock)("span",I,(0,o.toDisplayString)(e.question.helpText||e.language.multipleChoiceHelpText),1)):e.question.type===i.QuestionType.MultipleChoice?((0,o.openBlock)(),(0,o.createElementBlock)("span",D,(0,o.toDisplayString)(e.question.helpText||e.language.multipleChoiceHelpTextSingle),1)):(0,o.createCommentVNode)("",!0)])):(0,o.createCommentVNode)("",!0)],2),e.question.description||0!==e.question.descriptionLink.length?((0,o.openBlock)(),(0,o.createElementBlock)("p",j,[e.question.description?((0,o.openBlock)(),(0,o.createElementBlock)("span",R,(0,o.toDisplayString)(n.replaceSmartCodes(e.question.description)),1)):(0,o.createCommentVNode)("",!0),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.descriptionLink,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("a",{class:"f-link",key:"m"+t,href:e.url,target:e.target},(0,o.toDisplayString)(e.text||e.url),9,$)})),128))])):(0,o.createCommentVNode)("",!0)],64))],2),e.active&&s.showOkButton()?((0,o.openBlock)(),(0,o.createElementBlock)("div",z,[n.lastStep?((0,o.openBlock)(),(0,o.createBlock)(c,{key:0,language:e.language,disabled:n.submitting,onSubmit:s.onSubmit,onFocusIn:s.onBtnFocus},null,8,["language","disabled","onSubmit","onFocusIn"])):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[(0,o.createElementVNode)("button",{class:(0,o.normalizeClass)(["o-btn-action",{ffc_submitting:n.submitting}]),type:"button",ref:"button",href:"#",onClick:t[3]||(t[3]=(0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"])),disabled:n.submitting,"aria-label":e.language.ariaOk,onFocusin:t[4]||(t[4]=function(){return s.onBtnFocus&&s.onBtnFocus.apply(s,arguments)}),onFocusout:t[5]||(t[5]=function(){return s.onBtnFocus&&s.onBtnFocus.apply(s,arguments)})},[n.lastStep?((0,o.openBlock)(),(0,o.createElementBlock)("span",U,(0,o.toDisplayString)(e.language.submitText),1)):e.question.type===i.QuestionType.SectionBreak?((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:1,innerHTML:e.language.continue},null,8,K)):e.showSkip()?((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:2,innerHTML:e.language.skip},null,8,W)):((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:3,innerHTML:e.language.ok},null,8,Q))],42,H),e.question.type===i.QuestionType.LongText&&e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("a",{key:0,class:"f-enter-desc",href:"#",onClick:t[6]||(t[6]=(0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"])),innerHTML:e.language.formatString(e.language.pressEnter)},null,8,Y))],64))])):(0,o.createCommentVNode)("",!0),e.active&&s.showInvalid()?((0,o.openBlock)(),(0,o.createElementBlock)("div",G,(0,o.toDisplayString)(e.question.error||e.errorMessage),1)):(0,o.createCommentVNode)("",!0)],2),"default"!=e.question.style_pref.layout?((0,o.openBlock)(),(0,o.createElementBlock)("div",Z,[(0,o.createElementVNode)("div",{style:(0,o.normalizeStyle)({filter:s.brightness}),class:(0,o.normalizeClass)(["fcc_block_media_attachment","fc_i_layout_"+e.question.style_pref.layout])},[e.question.style_pref.media?((0,o.openBlock)(),(0,o.createElementBlock)("picture",J,[(0,o.createElementVNode)("img",{style:(0,o.normalizeStyle)({"object-position":s.imagePositionCSS}),alt:e.question.style_pref.alt_text,src:e.question.style_pref.media},null,12,X)])):(0,o.createCommentVNode)("",!0)],6)])):(0,o.createCommentVNode)("",!0)],2)],2)}]]);var Oi=n(6484),Ti={class:"f-container"},Bi={class:"f-form-wrap"},Mi={key:0,class:"vff-animate f-fade-in-up field-submittype"},Vi={class:"f-section-wrap"},Ni={class:"fh2"},Pi=["aria-label"],Ai=["innerHTML"],qi={key:2,class:"text-success"},Fi={class:"vff-footer"},Li={class:"footer-inner-wrap"},Ii={class:"f-progress-bar"},Di={key:1,class:"f-nav"},ji=["aria-label"],Ri=(0,o.createElementVNode)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"42.333px",height:"28.334px",viewBox:"78.833 5.5 42.333 28.334","aria-hidden":"true"},[(0,o.createElementVNode)("path",{d:"M82.039,31.971L100,11.442l17.959,20.529L120,30.187L101.02,8.492c-0.258-0.295-0.629-0.463-1.02-0.463c-0.39,0-0.764,0.168-1.02,0.463L80,30.187L82.039,31.971z"})],-1),$i={class:"f-nav-text","aria-hidden":"true"},zi=["aria-label"],Hi=(0,o.createElementVNode)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"42.333px",height:"28.334px",viewBox:"78.833 5.5 42.333 28.334","aria-hidden":"true"},[(0,o.createElementVNode)("path",{d:"M117.963,8.031l-17.961,20.529L82.042,8.031l-2.041,1.784l18.98,21.695c0.258,0.295,0.629,0.463,1.02,0.463c0.39,0,0.764-0.168,1.02-0.463l18.98-21.695L117.963,8.031z"})],-1),Ui={class:"f-nav-text","aria-hidden":"true"},Ki={key:2,class:"f-timer"};var Wi={},Qi={methods:{getInstance:function(e){return Wi[e]},setInstance:function(){Wi[this.id]=this}}};const Yi={name:"FlowForm",components:{FlowFormQuestion:Ei},props:{questions:{type:Array,validator:function(e){return e.every((function(e){return e instanceof Be.ZP}))}},language:{type:Me.Z,default:function(){return new Me.Z}},progressbar:{type:Boolean,default:!0},standalone:{type:Boolean,default:!0},navigation:{type:Boolean,default:!0},timer:{type:Boolean,default:!1},timerStartStep:[String,Number],timerStopStep:[String,Number],autofocus:{type:Boolean,default:!0}},mixins:[Pe,Qi],data:function(){return{questionRefs:[],completed:!1,submitted:!1,activeQuestionIndex:0,questionList:[],questionListActivePath:[],reverse:!1,timerOn:!1,timerInterval:null,time:0,disabled:!1}},mounted:function(){document.addEventListener("keydown",this.onKeyDownListener),document.addEventListener("keyup",this.onKeyUpListener,!0),window.addEventListener("beforeunload",this.onBeforeUnload),this.setQuestions(),this.checkTimer()},beforeUnmount:function(){document.removeEventListener("keydown",this.onKeyDownListener),document.removeEventListener("keyup",this.onKeyUpListener,!0),window.removeEventListener("beforeunload",this.onBeforeUnload),this.stopTimer()},beforeUpdate:function(){this.questionRefs=[]},computed:{numActiveQuestions:function(){return this.questionListActivePath.length},activeQuestion:function(){return this.questionListActivePath[this.activeQuestionIndex]},activeQuestionId:function(){var e=this.questionModels[this.activeQuestionIndex];return this.isOnLastStep?"_submit":e&&e.id?e.id:null},numCompletedQuestions:function(){var e=0;return this.questionListActivePath.forEach((function(t){t.answered&&++e})),e},percentCompleted:function(){return this.numActiveQuestions?Math.floor(this.numCompletedQuestions/this.numActiveQuestions*100):0},isOnLastStep:function(){return this.numActiveQuestions>0&&this.activeQuestionIndex===this.questionListActivePath.length},isOnTimerStartStep:function(){return this.activeQuestionId===this.timerStartStep||!this.timerOn&&!this.timerStartStep&&0===this.activeQuestionIndex},isOnTimerStopStep:function(){return!!this.submitted||this.activeQuestionId===this.timerStopStep},questionModels:{cache:!1,get:function(){var e=this;if(this.questions&&this.questions.length)return this.questions;var t=[];if(!this.questions){var n={options:Be.L1,descriptionLink:Be.fB},o=this.$slots.default(),r=null;o&&o.length&&((r=o[0].children)||(r=o)),r&&r.filter((function(e){return e.type&&-1!==e.type.name.indexOf("Question")})).forEach((function(o){var r=o.props,i=e.getInstance(r.id),s=new Be.ZP;null!==i.question&&(s=i.question),r.modelValue&&(s.answer=r.modelValue),Object.keys(s).forEach((function(e){if(void 0!==r[e])if("boolean"==typeof s[e])s[e]=!1!==r[e];else if(e in n){var t=n[e],o=[];r[e].forEach((function(e){var n=new t;Object.keys(n).forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),o.push(n)})),s[e]=o}else if("type"===e){if(-1!==Object.values(Be.ce).indexOf(r[e]))s[e]=r[e];else for(var i in Be.ce)if(i.toLowerCase()===r[e].toLowerCase()){s[e]=Be.ce[i];break}}else s[e]=r[e]})),i.question=s,s.resetOptions(),t.push(s)}))}return t}}},methods:{setQuestionRef:function(e){this.questionRefs.push(e)},activeQuestionComponent:function(){return this.questionRefs[this.activeQuestionIndex]},setQuestions:function(){this.setQuestionListActivePath(),this.setQuestionList()},setQuestionListActivePath:function(){var e=this,t=[];if(this.questionModels.length){var n,o=0,r=0,i=this.activeQuestionIndex,s=function(){var s=e.questionModels[o];if(t.some((function(e){return e===s})))return"break";if(s.setIndex(r),s.language=e.language,t.push(s),s.jump)if(s.answered)if(n=s.getJumpId())if("_submit"===n)o=e.questionModels.length;else for(var a=function(r){if(e.questionModels[r].id===n)return r<o&&t.some((function(t){return t===e.questionModels[r]}))?(s.answered=!1,i=r,++o):o=r,"break"},l=0;l<e.questionModels.length;l++){if("break"===a(l))break}else++o;else o=e.questionModels.length;else++o;++r};do{if("break"===s())break}while(o<this.questionModels.length);this.questionListActivePath=t,this.goToQuestion(i)}},setQuestionList:function(){for(var e=[],t=0;t<this.questionListActivePath.length;t++){var n=this.questionListActivePath[t];if(e.push(n),!n.answered){this.completed&&(this.completed=!1);break}}this.questionList=e},onBeforeUnload:function(e){this.activeQuestionIndex>0&&!this.submitted&&(e.preventDefault(),e.returnValue="")},onKeyDownListener:function(e){if("Tab"===e.key&&!this.submitted)if(e.shiftKey)e.stopPropagation(),e.preventDefault(),this.navigation&&this.goToPreviousQuestion();else{var t=this.activeQuestionComponent();t.shouldFocus()?(e.preventDefault(),t.focusField()):(e.stopPropagation(),this.emitTab(),this.reverse=!1)}},onKeyUpListener:function(e){if(!e.shiftKey&&-1!==["Tab","Enter"].indexOf(e.key)&&!this.submitted){var t=this.activeQuestionComponent();"Tab"===e.key&&t.shouldFocus()?t.focusField():("Enter"===e.key&&this.emitEnter(),e.stopPropagation(),this.reverse=!1)}},emitEnter:function(){if(!this.disabled){var e=this.activeQuestionComponent();e?e.onEnter():this.completed&&this.isOnLastStep&&this.submit()}},emitTab:function(){var e=this.activeQuestionComponent();e?e.onTab():this.emitEnter()},submit:function(){this.emitSubmit(),this.submitted=!0},emitComplete:function(){this.$emit("complete",this.completed,this.questionList)},emitSubmit:function(){this.$emit("submit",this.questionList)},isNextQuestionAvailable:function(){if(this.submitted)return!1;var e=this.activeQuestion;return!(!e||e.required)||(!(!this.completed||this.isOnLastStep)||this.activeQuestionIndex<this.questionList.length-1)},onQuestionAnswered:function(e){var t=this;e.isValid()?(this.$emit("answer",e.question),this.activeQuestionIndex<this.questionListActivePath.length&&++this.activeQuestionIndex,this.$nextTick((function(){t.reverse=!1,t.setQuestions(),t.checkTimer(),t.$nextTick((function(){var e=t.activeQuestionComponent();e?(t.autofocus&&e.focusField(),t.activeQuestionIndex=e.question.index):t.isOnLastStep&&(t.completed=!0,t.activeQuestionIndex=t.questionListActivePath.length,t.$refs.button&&t.$refs.button.focus()),t.$emit("step",t.activeQuestionId,t.activeQuestion)}))}))):this.completed&&(this.completed=!1)},goToPreviousQuestion:function(){this.blurFocus(),this.activeQuestionIndex>0&&!this.submitted&&(this.isOnTimerStopStep&&this.startTimer(),--this.activeQuestionIndex,this.reverse=!0,this.checkTimer())},goToNextQuestion:function(){this.blurFocus(),this.isNextQuestionAvailable()&&this.emitEnter(),this.reverse=!1},goToQuestion:function(e){if(isNaN(+e)){var t=this.activeQuestionIndex;this.questionListActivePath.forEach((function(n,o){n.id===e&&(t=o)})),e=t}if(e!==this.activeQuestionIndex&&(this.blurFocus(),!this.submitted&&e<=this.questionListActivePath.length-1)){do{if(this.questionListActivePath.slice(0,e).every((function(e){return e.answered})))break;--e}while(e>0);this.reverse=e<this.activeQuestionIndex,this.activeQuestionIndex=e,this.checkTimer()}},blurFocus:function(){document.activeElement&&document.activeElement.blur&&document.activeElement.blur()},checkTimer:function(){this.timer&&(this.isOnTimerStartStep?this.startTimer():this.isOnTimerStopStep&&this.stopTimer())},startTimer:function(){this.timer&&!this.timerOn&&(this.timerInterval=setInterval(this.incrementTime,1e3),this.timerOn=!0)},stopTimer:function(){this.timerOn&&clearInterval(this.timerInterval),this.timerOn=!1},incrementTime:function(){++this.time,this.$emit("timer",this.time,this.formatTime(this.time))},formatTime:function(e){var t=14,n=5;return e>=3600&&(t=11,n=8),new Date(1e3*e).toISOString().substr(t,n)},setDisabled:function(e){this.disabled=e},reset:function(){this.questionModels.forEach((function(e){return e.resetAnswer()})),this.goToQuestion(0)}},watch:{completed:function(){this.emitComplete()},submitted:function(){this.stopTimer()}}},Gi=(0,de.Z)(Yi,[["render",function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("flow-form-question");return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["vff",{"vff-not-standalone":!n.standalone,"vff-is-mobile":e.isMobile,"vff-is-ios":e.isIos}])},[(0,o.createElementVNode)("div",Ti,[(0,o.createElementVNode)("div",Bi,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(i.questionList,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)(a,{ref_for:!0,ref:s.setQuestionRef,question:e,language:n.language,key:"q"+t,active:e.index===i.activeQuestionIndex,modelValue:e.answer,"onUpdate:modelValue":function(t){return e.answer=t},onAnswer:s.onQuestionAnswered,reverse:i.reverse,disabled:i.disabled,onDisable:s.setDisabled,autofocus:n.autofocus},null,8,["question","language","active","modelValue","onUpdate:modelValue","onAnswer","reverse","disabled","onDisable","autofocus"])})),128)),(0,o.renderSlot)(e.$slots,"default"),s.isOnLastStep?((0,o.openBlock)(),(0,o.createElementBlock)("div",Mi,[(0,o.renderSlot)(e.$slots,"complete",{},(function(){return[(0,o.createElementVNode)("div",Vi,[(0,o.createElementVNode)("p",null,[(0,o.createElementVNode)("span",Ni,(0,o.toDisplayString)(n.language.thankYouText),1)])])]})),(0,o.renderSlot)(e.$slots,"completeButton",{},(function(){return[i.submitted?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:0,class:"o-btn-action",ref:"button",type:"button",href:"#",onClick:t[0]||(t[0]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"])),"aria-label":n.language.ariaSubmitText},[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(n.language.submitText),1)],8,Pi)),i.submitted?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("a",{key:1,class:"f-enter-desc",href:"#",onClick:t[1]||(t[1]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"])),innerHTML:n.language.formatString(n.language.pressEnter)},null,8,Ai)),i.submitted?((0,o.openBlock)(),(0,o.createElementBlock)("p",qi,(0,o.toDisplayString)(n.language.successText),1)):(0,o.createCommentVNode)("",!0)]}))])):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",Fi,[(0,o.createElementVNode)("div",Li,[n.progressbar?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:(0,o.normalizeClass)(["f-progress",{"not-started":0===s.percentCompleted,completed:100===s.percentCompleted}])},[(0,o.createElementVNode)("div",Ii,[(0,o.createElementVNode)("div",{class:"f-progress-bar-inner",style:(0,o.normalizeStyle)("width: "+s.percentCompleted+"%;")},null,4)]),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(n.language.percentCompleted.replace(":percent",s.percentCompleted)),1)],2)):(0,o.createCommentVNode)("",!0),n.navigation?((0,o.openBlock)(),(0,o.createElementBlock)("div",Di,[(0,o.createElementVNode)("a",{class:(0,o.normalizeClass)(["f-prev",{"f-disabled":0===i.activeQuestionIndex||i.submitted}]),href:"#",onClick:t[2]||(t[2]=(0,o.withModifiers)((function(e){return s.goToPreviousQuestion()}),["prevent"])),role:"button","aria-label":n.language.ariaPrev},[Ri,(0,o.createElementVNode)("span",$i,(0,o.toDisplayString)(n.language.prev),1)],10,ji),(0,o.createElementVNode)("a",{class:(0,o.normalizeClass)(["f-next",{"f-disabled":!s.isNextQuestionAvailable()}]),href:"#",onClick:t[3]||(t[3]=(0,o.withModifiers)((function(e){return s.goToNextQuestion()}),["prevent"])),role:"button","aria-label":n.language.ariaNext},[Hi,(0,o.createElementVNode)("span",Ui,(0,o.toDisplayString)(n.language.next),1)],10,zi)])):(0,o.createCommentVNode)("",!0),n.timer?((0,o.openBlock)(),(0,o.createElementBlock)("div",Ki,[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(s.formatTime(i.time)),1)])):(0,o.createCommentVNode)("",!0)])])],2)}]]);var Zi=n(3356);function Ji(e){return Ji="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},Ji(e)}const Xi={name:"Form",extends:Gi,components:{FormQuestion:Ci,SubmitButton:Ce},props:{language:{type:Oi.Z,default:function(){return new Oi.Z}},submitting:{type:Boolean,default:!1},isActiveForm:{type:Boolean,default:!0},globalVars:{Type:Object,default:{}}},data:function(){return{formData:{},submitClicked:!1}},computed:{numActiveQuestions:function(){var e=0;return this.questionListActivePath.forEach((function(t){[St.ce.WelcomeScreen,St.ce.SectionBreak,St.ce.Hidden].includes(t.type)||++e})),e},numCompletedQuestions:function(){var e=0;return this.questionListActivePath.forEach((function(t){![St.ce.WelcomeScreen,St.ce.SectionBreak,St.ce.Hidden].includes(t.type)&&t.answered&&++e})),e},isOnLastStep:function(){return this.numActiveQuestions>0&&this.activeQuestionIndex===this.questionListActivePath.length-1},hasImageLayout:function(){if(this.questionListActivePath[this.activeQuestionIndex])return"default"!=this.questionListActivePath[this.activeQuestionIndex].style_pref.layout},vffClasses:function(){var e=[];if(this.standalone||e.push("vff-not-standalone"),this.isMobile&&e.push("vff-is-mobile"),this.isIos&&e.push("vff-is-ios"),this.hasImageLayout?e.push("has-img-layout"):e.push("has-default-layout"),this.questionListActivePath[this.activeQuestionIndex]){var t=this.questionListActivePath[this.activeQuestionIndex].style_pref;e.push("vff_layout_"+t.layout)}else e.push("vff_layout_default");return this.isOnLastStep&&e.push("ffc_last_step"),e}},methods:{onKeyDownListener:function(e){if(-1!==["Tab","Enter"].indexOf(e.key)&&!this.submitted){var t=this.activeQuestionComponent();if(e.shiftKey)"Tab"===e.key&&(t.btnFocusIn&&t.shouldFocus()?(t.focusField(),e.stopPropagation(),e.preventDefault()):this.navigation&&t.$refs.questionComponent.shouldPrev()&&(this.goToPreviousQuestion(),e.stopPropagation(),e.preventDefault()));else if("Enter"===e.key||t.btnFocusIn){if(e.stopPropagation(),e.preventDefault(),"Tab"===e.key&&this.isOnLastStep)return;this.emitEnter()}}},onKeyUpListener:function(e){},setQuestionListActivePath:function(){var e=[];if(this.questionModels.length){var t={};this.questionModels.forEach((function(e){e.name&&(t[e.name]=(0,Zi.h)(e.answer,e))}));var n,o=0,r=0,i=0;do{var s=this.questionModels[o];if(s.showQuestion(t)){if(s.setIndex(r),s.language=this.language,[St.ce.WelcomeScreen,St.ce.SectionBreak].includes(s.type)||(++i,s.setCounter(i)),e.push(s),s.jump)if(s.answered)if(n=s.getJumpId()){if("_submit"===n)o=this.questionModels.length;else for(var a=0;a<this.questionModels.length;a++)if(this.questionModels[a].id===n){o=a;break}}else++o;else o=this.questionModels.length;else++o;++r}else++o}while(o<this.questionModels.length);this.questionListActivePath=e}},setQuestionList:function(){for(var e=[],t=0;t<this.questionListActivePath.length;t++){var n=this.questionListActivePath[t];e.push(n),this.formData[n.name]=n.answer,n.answered||this.completed&&(this.completed=!1)}this.questionList=e},emitEnter:function(){if(!this.disabled){var e=this.activeQuestionComponent();e?this.isOnLastStep?e.onSubmit():e.onEnter():this.completed&&this.isOnLastStep&&this.submit()}},emitSubmit:function(){this.submitting||this.$emit("submit",this.questionList)},onQuestionAnswered:function(e){var t=this;e.isValid()?(this.$emit("answer",e),this.activeQuestionIndex<this.questionListActivePath.length-1&&++this.activeQuestionIndex,this.$nextTick((function(){t.reverse=!1,t.setQuestionList(),t.checkTimer(),t.$nextTick((function(){var e=t.activeQuestionComponent();e&&!t.submitClicked?(e.focusField(),t.activeQuestionIndex=e.question.index,e.dataValue=e.question.answer,e.$refs.questionComponent.dataValue=e.$refs.questionComponent.answer=e.question.answer,t.$emit("step",t.activeQuestionId,t.activeQuestion)):(t.completed=!0,t.$refs.button&&t.$refs.button.focus(),t.submit())}))}))):this.completed&&(this.completed=!1)},replaceSmartCodes:function(e){if(!e||-1==e.indexOf("{dynamic."))return e;for(var t=/{dynamic.(.*?)}/g,n=!1,o=e;n=t.exec(e);){var r=n[1],i="",s=r.split("|");2===s.length&&(r=s[0],i=s[1]);var a=this.formData[r];a?"object"==Ji(a)&&(a=a.join(", ")):a=i,o=o.replace(n[0],a)}return o},onQuestionAnswerChanged:function(){this.setQuestionListActivePath()},isNextQuestionAvailable:function(){if(this.submitted)return!1;var e=this.activeQuestion;return!(e&&e.required&&!e.answered)&&(!(!e||e.required||this.isOnLastStep)||(!(!this.completed||this.isOnLastStep)||this.activeQuestionIndex<this.questionList.length-1))},onSubmit:function(){this.submitClicked=!0},isQuestionOnLastStep:function(e){return this.numActiveQuestions>0&&e===this.questionListActivePath.length-1}},watch:{activeQuestionIndex:function(e){this.$emit("activeQuestionIndexChanged",e)}}},es=(0,de.Z)(Xi,[["render",function(e,t,n,C,O,T){var B=(0,o.resolveComponent)("form-question");return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["vff",T.vffClasses])},[(0,o.createElementVNode)("div",r,[(0,o.createElementVNode)("div",i,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.questionList,(function(t,r){return(0,o.openBlock)(),(0,o.createBlock)(B,{ref_for:!0,ref:e.setQuestionRef,question:t,language:n.language,isActiveForm:n.isActiveForm,key:"q"+r,active:t.index===e.activeQuestionIndex,modelValue:t.answer,"onUpdate:modelValue":function(e){return t.answer=e},onAnswer:T.onQuestionAnswered,reverse:e.reverse,disabled:e.disabled,onDisable:e.setDisabled,submitting:n.submitting,lastStep:T.isQuestionOnLastStep(r),replaceSmartCodes:T.replaceSmartCodes,onAnswered:T.onQuestionAnswerChanged,onSubmit:T.onSubmit},null,8,["question","language","isActiveForm","active","modelValue","onUpdate:modelValue","onAnswer","reverse","disabled","onDisable","submitting","lastStep","replaceSmartCodes","onAnswered","onSubmit"])})),128)),(0,o.renderSlot)(e.$slots,"default"),T.isOnLastStep?((0,o.openBlock)(),(0,o.createElementBlock)("div",s,[(0,o.renderSlot)(e.$slots,"complete",{},(function(){return[(0,o.createElementVNode)("div",a,[(0,o.createElementVNode)("p",null,[(0,o.createElementVNode)("span",l,(0,o.toDisplayString)(n.language.thankYouText),1)])])]})),(0,o.renderSlot)(e.$slots,"completeButton",{},(function(){return[e.submitted?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:0,class:(0,o.normalizeClass)(["o-btn-action",{ffc_submitting:n.submitting}]),ref:"button",type:"button",href:"#",disabled:n.submitting,onClick:t[0]||(t[0]=(0,o.withModifiers)((function(t){return e.submit()}),["prevent"])),"aria-label":n.language.ariaSubmitText},[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(n.language.submitText),1)],10,c)),e.submitted?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("a",{key:1,class:"f-enter-desc",href:"#",onClick:t[1]||(t[1]=(0,o.withModifiers)((function(t){return e.submit()}),["prevent"])),innerHTML:n.language.formatString(n.language.pressEnter)},null,8,u)),e.submitted?((0,o.openBlock)(),(0,o.createElementBlock)("p",d,(0,o.toDisplayString)(n.language.successText),1)):(0,o.createCommentVNode)("",!0)]}))])):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",p,[(0,o.createElementVNode)("div",f,[e.progressbar?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:(0,o.normalizeClass)(["f-progress",{"not-started":0===e.percentCompleted,completed:100===e.percentCompleted}])},[n.language.percentCompleted?((0,o.openBlock)(),(0,o.createElementBlock)("span",h,(0,o.toDisplayString)(n.language.percentCompleted.replace("{percent}",e.percentCompleted).replace("{step}",T.numCompletedQuestions).replace("{total}",T.numActiveQuestions)),1)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",m,[(0,o.createElementVNode)("div",{class:"f-progress-bar-inner",style:(0,o.normalizeStyle)("width: "+e.percentCompleted+"%;")},null,4)])],2)):(0,o.createCommentVNode)("",!0),e.navigation?((0,o.openBlock)(),(0,o.createElementBlock)("div",v,["yes"!=n.globalVars.design.disable_branding?((0,o.openBlock)(),(0,o.createElementBlock)("a",y,g)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("a",{class:(0,o.normalizeClass)(["f-prev",{"f-disabled":0===e.activeQuestionIndex||e.submitted}]),href:"#",onClick:t[2]||(t[2]=(0,o.withModifiers)((function(t){return e.goToPreviousQuestion()}),["prevent"])),role:"button","aria-label":n.language.ariaPrev},[_,(0,o.createElementVNode)("span",w,(0,o.toDisplayString)(n.language.prev),1)],10,b),(0,o.createElementVNode)("a",{class:(0,o.normalizeClass)(["f-next",{"f-disabled":!T.isNextQuestionAvailable()}]),href:"#",onClick:t[3]||(t[3]=(0,o.withModifiers)((function(e){return T.emitEnter()}),["prevent"])),role:"button","aria-label":n.language.ariaNext},[k,(0,o.createElementVNode)("span",E,(0,o.toDisplayString)(n.language.next),1)],10,x)])):(0,o.createCommentVNode)("",!0),e.timer?((0,o.openBlock)(),(0,o.createElementBlock)("div",S,[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(e.formatTime(e.time)),1)])):(0,o.createCommentVNode)("",!0)])])],2)}]])},5460:e=>{e.exports={"#":{pattern:/\d/},X:{pattern:/[0-9a-zA-Z]/},S:{pattern:/[a-zA-Z]/},A:{pattern:/[a-zA-Z]/,transform:e=>e.toLocaleUpperCase()},a:{pattern:/[a-zA-Z]/,transform:e=>e.toLocaleLowerCase()},"!":{escape:!0}}},4865:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BaseTransition:()=>fn,Comment:()=>er,EffectScope:()=>s,Fragment:()=>Jo,KeepAlive:()=>Sn,ReactiveEffect:()=>_,Static:()=>tr,Suspense:()=>Wt,Teleport:()=>Zo,Text:()=>Xo,Transition:()=>Wi,TransitionGroup:()=>ds,VueElement:()=>ji,callWithAsyncErrorHandling:()=>nt,callWithErrorHandling:()=>tt,camelize:()=>r.camelize,capitalize:()=>r.capitalize,cloneVNode:()=>xr,compatUtils:()=>bi,compile:()=>Pu,computed:()=>Xr,createApp:()=>zs,createBlock:()=>dr,createCommentVNode:()=>Sr,createElementBlock:()=>ur,createElementVNode:()=>gr,createHydrationRenderer:()=>zo,createPropsRestProxy:()=>li,createRenderer:()=>$o,createSSRApp:()=>Hs,createSlots:()=>to,createStaticVNode:()=>Er,createTextVNode:()=>kr,createVNode:()=>br,customRef:()=>Ke,defineAsyncComponent:()=>xn,defineComponent:()=>_n,defineCustomElement:()=>Li,defineEmits:()=>ti,defineExpose:()=>ni,defineProps:()=>ei,defineSSRCustomElement:()=>Ii,devtools:()=>Ct,effect:()=>x,effectScope:()=>a,getCurrentInstance:()=>qr,getCurrentScope:()=>c,getTransitionRawChildren:()=>bn,guardReactiveProps:()=>wr,h:()=>ui,handleError:()=>ot,hydrate:()=>$s,initCustomFormatter:()=>fi,initDirectivesForSSR:()=>Ws,inject:()=>en,isMemoSame:()=>mi,isProxy:()=>Be,isReactive:()=>Ce,isReadonly:()=>Oe,isRef:()=>Fe,isRuntimeOnly:()=>Ur,isShallow:()=>Te,isVNode:()=>pr,markRaw:()=>Ve,mergeDefaults:()=>ai,mergeProps:()=>Br,nextTick:()=>yt,normalizeClass:()=>r.normalizeClass,normalizeProps:()=>r.normalizeProps,normalizeStyle:()=>r.normalizeStyle,onActivated:()=>On,onBeforeMount:()=>qn,onBeforeUnmount:()=>Dn,onBeforeUpdate:()=>Ln,onDeactivated:()=>Tn,onErrorCaptured:()=>Hn,onMounted:()=>Fn,onRenderTracked:()=>zn,onRenderTriggered:()=>$n,onScopeDispose:()=>u,onServerPrefetch:()=>Rn,onUnmounted:()=>jn,onUpdated:()=>In,openBlock:()=>rr,popScopeId:()=>Lt,provide:()=>Xt,proxyRefs:()=>He,pushScopeId:()=>Ft,queuePostFlushCb:()=>wt,reactive:()=>we,readonly:()=>ke,ref:()=>Le,registerRuntimeCompiler:()=>Hr,render:()=>Rs,renderList:()=>eo,renderSlot:()=>no,resolveComponent:()=>Qn,resolveDirective:()=>Zn,resolveDynamicComponent:()=>Gn,resolveFilter:()=>gi,resolveTransitionHooks:()=>mn,setBlockTracking:()=>lr,setDevtoolsHook:()=>Bt,setTransitionHooks:()=>gn,shallowReactive:()=>xe,shallowReadonly:()=>Ee,shallowRef:()=>Ie,ssrContextKey:()=>di,ssrUtils:()=>yi,stop:()=>k,toDisplayString:()=>r.toDisplayString,toHandlerKey:()=>r.toHandlerKey,toHandlers:()=>ro,toRaw:()=>Me,toRef:()=>Ye,toRefs:()=>We,transformVNodeArgs:()=>hr,triggerRef:()=>Re,unref:()=>$e,useAttrs:()=>ii,useCssModule:()=>Ri,useCssVars:()=>$i,useSSRContext:()=>pi,useSlots:()=>ri,useTransitionState:()=>dn,vModelCheckbox:()=>bs,vModelDynamic:()=>Cs,vModelRadio:()=>ws,vModelSelect:()=>xs,vModelText:()=>gs,vShow:()=>As,version:()=>vi,warn:()=>Je,watch:()=>sn,watchEffect:()=>tn,watchPostEffect:()=>nn,watchSyncEffect:()=>on,withAsyncContext:()=>ci,withCtx:()=>Dt,withDefaults:()=>oi,withDirectives:()=>Un,withKeys:()=>Ps,withMemo:()=>hi,withModifiers:()=>Vs,withScopeId:()=>It});var o={};n.r(o),n.d(o,{BaseTransition:()=>fn,Comment:()=>er,EffectScope:()=>s,Fragment:()=>Jo,KeepAlive:()=>Sn,ReactiveEffect:()=>_,Static:()=>tr,Suspense:()=>Wt,Teleport:()=>Zo,Text:()=>Xo,Transition:()=>Wi,TransitionGroup:()=>ds,VueElement:()=>ji,callWithAsyncErrorHandling:()=>nt,callWithErrorHandling:()=>tt,camelize:()=>r.camelize,capitalize:()=>r.capitalize,cloneVNode:()=>xr,compatUtils:()=>bi,computed:()=>Xr,createApp:()=>zs,createBlock:()=>dr,createCommentVNode:()=>Sr,createElementBlock:()=>ur,createElementVNode:()=>gr,createHydrationRenderer:()=>zo,createPropsRestProxy:()=>li,createRenderer:()=>$o,createSSRApp:()=>Hs,createSlots:()=>to,createStaticVNode:()=>Er,createTextVNode:()=>kr,createVNode:()=>br,customRef:()=>Ke,defineAsyncComponent:()=>xn,defineComponent:()=>_n,defineCustomElement:()=>Li,defineEmits:()=>ti,defineExpose:()=>ni,defineProps:()=>ei,defineSSRCustomElement:()=>Ii,devtools:()=>Ct,effect:()=>x,effectScope:()=>a,getCurrentInstance:()=>qr,getCurrentScope:()=>c,getTransitionRawChildren:()=>bn,guardReactiveProps:()=>wr,h:()=>ui,handleError:()=>ot,hydrate:()=>$s,initCustomFormatter:()=>fi,initDirectivesForSSR:()=>Ws,inject:()=>en,isMemoSame:()=>mi,isProxy:()=>Be,isReactive:()=>Ce,isReadonly:()=>Oe,isRef:()=>Fe,isRuntimeOnly:()=>Ur,isShallow:()=>Te,isVNode:()=>pr,markRaw:()=>Ve,mergeDefaults:()=>ai,mergeProps:()=>Br,nextTick:()=>yt,normalizeClass:()=>r.normalizeClass,normalizeProps:()=>r.normalizeProps,normalizeStyle:()=>r.normalizeStyle,onActivated:()=>On,onBeforeMount:()=>qn,onBeforeUnmount:()=>Dn,onBeforeUpdate:()=>Ln,onDeactivated:()=>Tn,onErrorCaptured:()=>Hn,onMounted:()=>Fn,onRenderTracked:()=>zn,onRenderTriggered:()=>$n,onScopeDispose:()=>u,onServerPrefetch:()=>Rn,onUnmounted:()=>jn,onUpdated:()=>In,openBlock:()=>rr,popScopeId:()=>Lt,provide:()=>Xt,proxyRefs:()=>He,pushScopeId:()=>Ft,queuePostFlushCb:()=>wt,reactive:()=>we,readonly:()=>ke,ref:()=>Le,registerRuntimeCompiler:()=>Hr,render:()=>Rs,renderList:()=>eo,renderSlot:()=>no,resolveComponent:()=>Qn,resolveDirective:()=>Zn,resolveDynamicComponent:()=>Gn,resolveFilter:()=>gi,resolveTransitionHooks:()=>mn,setBlockTracking:()=>lr,setDevtoolsHook:()=>Bt,setTransitionHooks:()=>gn,shallowReactive:()=>xe,shallowReadonly:()=>Ee,shallowRef:()=>Ie,ssrContextKey:()=>di,ssrUtils:()=>yi,stop:()=>k,toDisplayString:()=>r.toDisplayString,toHandlerKey:()=>r.toHandlerKey,toHandlers:()=>ro,toRaw:()=>Me,toRef:()=>Ye,toRefs:()=>We,transformVNodeArgs:()=>hr,triggerRef:()=>Re,unref:()=>$e,useAttrs:()=>ii,useCssModule:()=>Ri,useCssVars:()=>$i,useSSRContext:()=>pi,useSlots:()=>ri,useTransitionState:()=>dn,vModelCheckbox:()=>bs,vModelDynamic:()=>Cs,vModelRadio:()=>ws,vModelSelect:()=>xs,vModelText:()=>gs,vShow:()=>As,version:()=>vi,warn:()=>Je,watch:()=>sn,watchEffect:()=>tn,watchPostEffect:()=>nn,watchSyncEffect:()=>on,withAsyncContext:()=>ci,withCtx:()=>Dt,withDefaults:()=>oi,withDirectives:()=>Un,withKeys:()=>Ps,withMemo:()=>hi,withModifiers:()=>Vs,withScopeId:()=>It});var r=n(3577);let i;class s{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&i&&(this.parent=i,this.index=(i.scopes||(i.scopes=[])).push(this)-1)}run(e){if(this.active){const t=i;try{return i=this,e()}finally{i=t}}else 0}on(){i=this}off(){i=this.parent}stop(e){if(this.active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}function a(e){return new s(e)}function l(e,t=i){t&&t.active&&t.effects.push(e)}function c(){return i}function u(e){i&&i.cleanups.push(e)}const d=e=>{const t=new Set(e);return t.w=0,t.n=0,t},p=e=>(e.w&v)>0,f=e=>(e.n&v)>0,h=new WeakMap;let m=0,v=1;let y;const g=Symbol(""),b=Symbol("");class _{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,l(this,n)}run(){if(!this.active)return this.fn();let e=y,t=E;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=y,y=this,E=!0,v=1<<++m,m<=30?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=v})(this):w(this),this.fn()}finally{m<=30&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];p(r)&&!f(r)?r.delete(e):t[n++]=r,r.w&=~v,r.n&=~v}t.length=n}})(this),v=1<<--m,y=this.parent,E=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){y===this?this.deferStop=!0:this.active&&(w(this),this.onStop&&this.onStop(),this.active=!1)}}function w(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function x(e,t){e.effect&&(e=e.effect.fn);const n=new _(e);t&&((0,r.extend)(n,t),t.scope&&l(n,t.scope)),t&&t.lazy||n.run();const o=n.run.bind(n);return o.effect=n,o}function k(e){e.effect.stop()}let E=!0;const S=[];function C(){S.push(E),E=!1}function O(){const e=S.pop();E=void 0===e||e}function T(e,t,n){if(E&&y){let t=h.get(e);t||h.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=d());B(o,void 0)}}function B(e,t){let n=!1;m<=30?f(e)||(e.n|=v,n=!p(e)):n=!e.has(y),n&&(e.add(y),y.deps.push(e))}function M(e,t,n,o,i,s){const a=h.get(e);if(!a)return;let l=[];if("clear"===t)l=[...a.values()];else if("length"===n&&(0,r.isArray)(e))a.forEach(((e,t)=>{("length"===t||t>=o)&&l.push(e)}));else switch(void 0!==n&&l.push(a.get(n)),t){case"add":(0,r.isArray)(e)?(0,r.isIntegerKey)(n)&&l.push(a.get("length")):(l.push(a.get(g)),(0,r.isMap)(e)&&l.push(a.get(b)));break;case"delete":(0,r.isArray)(e)||(l.push(a.get(g)),(0,r.isMap)(e)&&l.push(a.get(b)));break;case"set":(0,r.isMap)(e)&&l.push(a.get(g))}if(1===l.length)l[0]&&V(l[0]);else{const e=[];for(const t of l)t&&e.push(...t);V(d(e))}}function V(e,t){const n=(0,r.isArray)(e)?e:[...e];for(const e of n)e.computed&&N(e,t);for(const e of n)e.computed||N(e,t)}function N(e,t){(e!==y||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const P=(0,r.makeMap)("__proto__,__v_isRef,__isVue"),A=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(r.isSymbol)),q=R(),F=R(!1,!0),L=R(!0),I=R(!0,!0),D=j();function j(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Me(this);for(let e=0,t=this.length;e<t;e++)T(n,0,e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Me)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){C();const n=Me(this)[t].apply(this,e);return O(),n}})),e}function R(e=!1,t=!1){return function(n,o,i){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&i===(e?t?_e:be:t?ge:ye).get(n))return n;const s=(0,r.isArray)(n);if(!e&&s&&(0,r.hasOwn)(D,o))return Reflect.get(D,o,i);const a=Reflect.get(n,o,i);return((0,r.isSymbol)(o)?A.has(o):P(o))?a:(e||T(n,0,o),t?a:Fe(a)?s&&(0,r.isIntegerKey)(o)?a:a.value:(0,r.isObject)(a)?e?ke(a):we(a):a)}}const $=H(),z=H(!0);function H(e=!1){return function(t,n,o,i){let s=t[n];if(Oe(s)&&Fe(s)&&!Fe(o))return!1;if(!e&&!Oe(o)&&(Te(o)||(o=Me(o),s=Me(s)),!(0,r.isArray)(t)&&Fe(s)&&!Fe(o)))return s.value=o,!0;const a=(0,r.isArray)(t)&&(0,r.isIntegerKey)(n)?Number(n)<t.length:(0,r.hasOwn)(t,n),l=Reflect.set(t,n,o,i);return t===Me(i)&&(a?(0,r.hasChanged)(o,s)&&M(t,"set",n,o):M(t,"add",n,o)),l}}const U={get:q,set:$,deleteProperty:function(e,t){const n=(0,r.hasOwn)(e,t),o=(e[t],Reflect.deleteProperty(e,t));return o&&n&&M(e,"delete",t,void 0),o},has:function(e,t){const n=Reflect.has(e,t);return(0,r.isSymbol)(t)&&A.has(t)||T(e,0,t),n},ownKeys:function(e){return T(e,0,(0,r.isArray)(e)?"length":g),Reflect.ownKeys(e)}},K={get:L,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},W=(0,r.extend)({},U,{get:F,set:z}),Q=(0,r.extend)({},K,{get:I}),Y=e=>e,G=e=>Reflect.getPrototypeOf(e);function Z(e,t,n=!1,o=!1){const r=Me(e=e.__v_raw),i=Me(t);n||(t!==i&&T(r,0,t),T(r,0,i));const{has:s}=G(r),a=o?Y:n?Pe:Ne;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function J(e,t=!1){const n=this.__v_raw,o=Me(n),r=Me(e);return t||(e!==r&&T(o,0,e),T(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function X(e,t=!1){return e=e.__v_raw,!t&&T(Me(e),0,g),Reflect.get(e,"size",e)}function ee(e){e=Me(e);const t=Me(this);return G(t).has.call(t,e)||(t.add(e),M(t,"add",e,e)),this}function te(e,t){t=Me(t);const n=Me(this),{has:o,get:i}=G(n);let s=o.call(n,e);s||(e=Me(e),s=o.call(n,e));const a=i.call(n,e);return n.set(e,t),s?(0,r.hasChanged)(t,a)&&M(n,"set",e,t):M(n,"add",e,t),this}function ne(e){const t=Me(this),{has:n,get:o}=G(t);let r=n.call(t,e);r||(e=Me(e),r=n.call(t,e));o&&o.call(t,e);const i=t.delete(e);return r&&M(t,"delete",e,void 0),i}function oe(){const e=Me(this),t=0!==e.size,n=e.clear();return t&&M(e,"clear",void 0,void 0),n}function re(e,t){return function(n,o){const r=this,i=r.__v_raw,s=Me(i),a=t?Y:e?Pe:Ne;return!e&&T(s,0,g),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function ie(e,t,n){return function(...o){const i=this.__v_raw,s=Me(i),a=(0,r.isMap)(s),l="entries"===e||e===Symbol.iterator&&a,c="keys"===e&&a,u=i[e](...o),d=n?Y:t?Pe:Ne;return!t&&T(s,0,c?b:g),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function se(e){return function(...t){return"delete"!==e&&this}}function ae(){const e={get(e){return Z(this,e)},get size(){return X(this)},has:J,add:ee,set:te,delete:ne,clear:oe,forEach:re(!1,!1)},t={get(e){return Z(this,e,!1,!0)},get size(){return X(this)},has:J,add:ee,set:te,delete:ne,clear:oe,forEach:re(!1,!0)},n={get(e){return Z(this,e,!0)},get size(){return X(this,!0)},has(e){return J.call(this,e,!0)},add:se("add"),set:se("set"),delete:se("delete"),clear:se("clear"),forEach:re(!0,!1)},o={get(e){return Z(this,e,!0,!0)},get size(){return X(this,!0)},has(e){return J.call(this,e,!0)},add:se("add"),set:se("set"),delete:se("delete"),clear:se("clear"),forEach:re(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=ie(r,!1,!1),n[r]=ie(r,!0,!1),t[r]=ie(r,!1,!0),o[r]=ie(r,!0,!0)})),[e,n,t,o]}const[le,ce,ue,de]=ae();function pe(e,t){const n=t?e?de:ue:e?ce:le;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get((0,r.hasOwn)(n,o)&&o in t?n:t,o,i)}const fe={get:pe(!1,!1)},he={get:pe(!1,!0)},me={get:pe(!0,!1)},ve={get:pe(!0,!0)};const ye=new WeakMap,ge=new WeakMap,be=new WeakMap,_e=new WeakMap;function we(e){return Oe(e)?e:Se(e,!1,U,fe,ye)}function xe(e){return Se(e,!1,W,he,ge)}function ke(e){return Se(e,!0,K,me,be)}function Ee(e){return Se(e,!0,Q,ve,_e)}function Se(e,t,n,o,i){if(!(0,r.isObject)(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const a=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((0,r.toRawType)(l));var l;if(0===a)return e;const c=new Proxy(e,2===a?o:n);return i.set(e,c),c}function Ce(e){return Oe(e)?Ce(e.__v_raw):!(!e||!e.__v_isReactive)}function Oe(e){return!(!e||!e.__v_isReadonly)}function Te(e){return!(!e||!e.__v_isShallow)}function Be(e){return Ce(e)||Oe(e)}function Me(e){const t=e&&e.__v_raw;return t?Me(t):e}function Ve(e){return(0,r.def)(e,"__v_skip",!0),e}const Ne=e=>(0,r.isObject)(e)?we(e):e,Pe=e=>(0,r.isObject)(e)?ke(e):e;function Ae(e){E&&y&&B((e=Me(e)).dep||(e.dep=d()))}function qe(e,t){(e=Me(e)).dep&&V(e.dep)}function Fe(e){return!(!e||!0!==e.__v_isRef)}function Le(e){return De(e,!1)}function Ie(e){return De(e,!0)}function De(e,t){return Fe(e)?e:new je(e,t)}class je{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Me(e),this._value=t?e:Ne(e)}get value(){return Ae(this),this._value}set value(e){e=this.__v_isShallow?e:Me(e),(0,r.hasChanged)(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:Ne(e),qe(this))}}function Re(e){qe(e)}function $e(e){return Fe(e)?e.value:e}const ze={get:(e,t,n)=>$e(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Fe(r)&&!Fe(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function He(e){return Ce(e)?e:new Proxy(e,ze)}class Ue{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e((()=>Ae(this)),(()=>qe(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function Ke(e){return new Ue(e)}function We(e){const t=(0,r.isArray)(e)?new Array(e.length):{};for(const n in e)t[n]=Ye(e,n);return t}class Qe{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}}function Ye(e,t,n){const o=e[t];return Fe(o)?o:new Qe(e,t,n)}class Ge{constructor(e,t,n,o){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new _(e,(()=>{this._dirty||(this._dirty=!0,qe(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=Me(this);return Ae(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}const Ze=[];function Je(e,...t){C();const n=Ze.length?Ze[Ze.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=Ze[Ze.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)tt(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${Zr(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,r=` at <${Zr(e.component,e.type,o)}`,i=">"+n;return e.props?[r,...Xe(e.props),i]:[r+i]}(e))})),t}(r)),console.warn(...n)}O()}function Xe(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...et(n,e[n]))})),n.length>3&&t.push(" ..."),t}function et(e,t,n){return(0,r.isString)(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:Fe(t)?(t=et(e,Me(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):(0,r.isFunction)(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Me(t),n?t:[`${e}=`,t])}function tt(e,t,n,o){let r;try{r=o?e(...o):e()}catch(e){ot(e,t,n)}return r}function nt(e,t,n,o){if((0,r.isFunction)(e)){const i=tt(e,t,n,o);return i&&(0,r.isPromise)(i)&&i.catch((e=>{ot(e,t,n)})),i}const i=[];for(let r=0;r<e.length;r++)i.push(nt(e[r],t,n,o));return i}function ot(e,t,n,o=!0){t&&t.vnode;if(t){let o=t.parent;const r=t.proxy,i=n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return void tt(s,null,10,[e,r,i])}!function(e,t,n,o=!0){console.error(e)}(e,0,0,o)}let rt=!1,it=!1;const st=[];let at=0;const lt=[];let ct=null,ut=0;const dt=[];let pt=null,ft=0;const ht=Promise.resolve();let mt=null,vt=null;function yt(e){const t=mt||ht;return e?t.then(this?e.bind(this):e):t}function gt(e){st.length&&st.includes(e,rt&&e.allowRecurse?at+1:at)||e===vt||(null==e.id?st.push(e):st.splice(function(e){let t=at+1,n=st.length;for(;t<n;){const o=t+n>>>1;Et(st[o])<e?t=o+1:n=o}return t}(e.id),0,e),bt())}function bt(){rt||it||(it=!0,mt=ht.then(St))}function _t(e,t,n,o){(0,r.isArray)(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),bt()}function wt(e){_t(e,pt,dt,ft)}function xt(e,t=null){if(lt.length){for(vt=t,ct=[...new Set(lt)],lt.length=0,ut=0;ut<ct.length;ut++)ct[ut]();ct=null,ut=0,vt=null,xt(e,t)}}function kt(e){if(xt(),dt.length){const e=[...new Set(dt)];if(dt.length=0,pt)return void pt.push(...e);for(pt=e,pt.sort(((e,t)=>Et(e)-Et(t))),ft=0;ft<pt.length;ft++)pt[ft]();pt=null,ft=0}}const Et=e=>null==e.id?1/0:e.id;function St(e){it=!1,rt=!0,xt(e),st.sort(((e,t)=>Et(e)-Et(t)));r.NOOP;try{for(at=0;at<st.length;at++){const e=st[at];e&&!1!==e.active&&tt(e,null,14)}}finally{at=0,st.length=0,kt(),rt=!1,mt=null,(st.length||lt.length||dt.length)&&St(e)}}new Set;new Map;let Ct,Ot=[],Tt=!1;function Bt(e,t){var n,o;if(Ct=e,Ct)Ct.enabled=!0,Ot.forEach((({event:e,args:t})=>Ct.emit(e,...t))),Ot=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null===(o=null===(n=window.navigator)||void 0===n?void 0:n.userAgent)||void 0===o?void 0:o.includes("jsdom"))){(t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((e=>{Bt(e,t)})),setTimeout((()=>{Ct||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Tt=!0,Ot=[])}),3e3)}else Tt=!0,Ot=[]}function Mt(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||r.EMPTY_OBJ;let i=n;const s=t.startsWith("update:"),a=s&&t.slice(7);if(a&&a in o){const e=`${"modelValue"===a?"model":a}Modifiers`,{number:t,trim:s}=o[e]||r.EMPTY_OBJ;s&&(i=n.map((e=>e.trim()))),t&&(i=n.map(r.toNumber))}let l;let c=o[l=(0,r.toHandlerKey)(t)]||o[l=(0,r.toHandlerKey)((0,r.camelize)(t))];!c&&s&&(c=o[l=(0,r.toHandlerKey)((0,r.hyphenate)(t))]),c&&nt(c,e,6,i);const u=o[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,nt(u,e,6,i)}}function Vt(e,t,n=!1){const o=t.emitsCache,i=o.get(e);if(void 0!==i)return i;const s=e.emits;let a={},l=!1;if(!(0,r.isFunction)(e)){const o=e=>{const n=Vt(e,t,!0);n&&(l=!0,(0,r.extend)(a,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return s||l?((0,r.isArray)(s)?s.forEach((e=>a[e]=null)):(0,r.extend)(a,s),o.set(e,a),a):(o.set(e,null),null)}function Nt(e,t){return!(!e||!(0,r.isOn)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,r.hasOwn)(e,t[0].toLowerCase()+t.slice(1))||(0,r.hasOwn)(e,(0,r.hyphenate)(t))||(0,r.hasOwn)(e,t))}let Pt=null,At=null;function qt(e){const t=Pt;return Pt=e,At=e&&e.type.__scopeId||null,t}function Ft(e){At=e}function Lt(){At=null}const It=e=>Dt;function Dt(e,t=Pt,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&lr(-1);const r=qt(t),i=e(...n);return qt(r),o._d&&lr(1),i};return o._n=!0,o._c=!0,o._d=!0,o}function jt(e){const{type:t,vnode:n,proxy:o,withProxy:i,props:s,propsOptions:[a],slots:l,attrs:c,emit:u,render:d,renderCache:p,data:f,setupState:h,ctx:m,inheritAttrs:v}=e;let y,g;const b=qt(e);try{if(4&n.shapeFlag){const e=i||o;y=Cr(d.call(e,e,p,s,h,f,m)),g=c}else{const e=t;0,y=Cr(e.length>1?e(s,{attrs:c,slots:l,emit:u}):e(s,null)),g=t.props?c:$t(c)}}catch(t){nr.length=0,ot(t,e,1),y=br(er)}let _=y;if(g&&!1!==v){const e=Object.keys(g),{shapeFlag:t}=_;e.length&&7&t&&(a&&e.some(r.isModelListener)&&(g=zt(g,a)),_=xr(_,g))}return n.dirs&&(_=xr(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),y=_,qt(b),y}function Rt(e){let t;for(let n=0;n<e.length;n++){const o=e[n];if(!pr(o))return;if(o.type!==er||"v-if"===o.children){if(t)return;t=o}}return t}const $t=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,r.isOn)(n))&&((t||(t={}))[n]=e[n]);return t},zt=(e,t)=>{const n={};for(const o in e)(0,r.isModelListener)(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Ht(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!Nt(n,i))return!0}return!1}function Ut({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Kt=e=>e.__isSuspense,Wt={name:"Suspense",__isSuspense:!0,process(e,t,n,o,r,i,s,a,l,c){null==e?function(e,t,n,o,r,i,s,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),p=e.suspense=Yt(e,r,o,t,d,n,i,s,a,l);c(null,p.pendingBranch=e.ssContent,d,null,o,p,i,s),p.deps>0?(Qt(e,"onPending"),Qt(e,"onFallback"),c(null,e.ssFallback,t,n,o,null,i,s),Jt(p,e.ssFallback)):p.resolve()}(t,n,o,r,i,s,a,l,c):function(e,t,n,o,r,i,s,a,{p:l,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,f=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:v,isHydrating:y}=d;if(m)d.pendingBranch=p,fr(p,m)?(l(m,p,d.hiddenContainer,null,r,d,i,s,a),d.deps<=0?d.resolve():v&&(l(h,f,n,o,r,null,i,s,a),Jt(d,f))):(d.pendingId++,y?(d.isHydrating=!1,d.activeBranch=m):c(m,r,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),v?(l(null,p,d.hiddenContainer,null,r,d,i,s,a),d.deps<=0?d.resolve():(l(h,f,n,o,r,null,i,s,a),Jt(d,f))):h&&fr(p,h)?(l(h,p,n,o,r,d,i,s,a),d.resolve(!0)):(l(null,p,d.hiddenContainer,null,r,d,i,s,a),d.deps<=0&&d.resolve()));else if(h&&fr(p,h))l(h,p,n,o,r,d,i,s,a),Jt(d,p);else if(Qt(t,"onPending"),d.pendingBranch=p,d.pendingId++,l(null,p,d.hiddenContainer,null,r,d,i,s,a),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout((()=>{d.pendingId===t&&d.fallback(f)}),e):0===e&&d.fallback(f)}}(e,t,n,o,r,s,a,l,c)},hydrate:function(e,t,n,o,r,i,s,a,l){const c=t.suspense=Yt(t,o,n,e.parentNode,document.createElement("div"),null,r,i,s,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,i,s);0===c.deps&&c.resolve();return u},create:Yt,normalize:function(e){const{shapeFlag:t,children:n}=e,o=32&t;e.ssContent=Gt(o?n.default:n),e.ssFallback=o?Gt(n.fallback):br(er)}};function Qt(e,t){const n=e.props&&e.props[t];(0,r.isFunction)(n)&&n()}function Yt(e,t,n,o,i,s,a,l,c,u,d=!1){const{p,m:f,um:h,n:m,o:{parentNode:v,remove:y}}=u,g=(0,r.toNumber)(e.props&&e.props.timeout),b={vnode:e,parent:t,parentComponent:n,isSVG:a,container:o,hiddenContainer:i,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof g?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:r,effects:i,parentComponent:s,container:a}=b;if(b.isHydrating)b.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{r===b.pendingId&&f(o,a,t,0)});let{anchor:t}=b;n&&(t=m(n),h(n,s,b,!0)),e||f(o,a,t,0)}Jt(b,o),b.pendingBranch=null,b.isInFallback=!1;let l=b.parent,c=!1;for(;l;){if(l.pendingBranch){l.effects.push(...i),c=!0;break}l=l.parent}c||wt(i),b.effects=[],Qt(t,"onResolve")},fallback(e){if(!b.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,isSVG:i}=b;Qt(t,"onFallback");const s=m(n),a=()=>{b.isInFallback&&(p(null,e,r,s,o,null,i,l,c),Jt(b,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=a),b.isInFallback=!0,h(n,o,null,!0),u||a()},move(e,t,n){b.activeBranch&&f(b.activeBranch,e,t,n),b.container=e},next:()=>b.activeBranch&&m(b.activeBranch),registerDep(e,t){const n=!!b.pendingBranch;n&&b.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{ot(t,e,0)})).then((r=>{if(e.isUnmounted||b.isUnmounted||b.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:i}=e;zr(e,r,!1),o&&(i.el=o);const s=!o&&e.subTree.el;t(e,i,v(o||e.subTree.el),o?null:m(e.subTree),b,a,c),s&&y(s),Ut(e,i.el),n&&0==--b.deps&&b.resolve()}))},unmount(e,t){b.isUnmounted=!0,b.activeBranch&&h(b.activeBranch,n,e,t),b.pendingBranch&&h(b.pendingBranch,n,e,t)}};return b}function Gt(e){let t;if((0,r.isFunction)(e)){const n=ar&&e._c;n&&(e._d=!1,rr()),e=e(),n&&(e._d=!0,t=or,ir())}if((0,r.isArray)(e)){const t=Rt(e);0,e=t}return e=Cr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function Zt(e,t){t&&t.pendingBranch?(0,r.isArray)(e)?t.effects.push(...e):t.effects.push(e):wt(e)}function Jt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,Ut(o,r))}function Xt(e,t){if(Ar){let n=Ar.provides;const o=Ar.parent&&Ar.parent.provides;o===n&&(n=Ar.provides=Object.create(o)),n[e]=t}else 0}function en(e,t,n=!1){const o=Ar||Pt;if(o){const i=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&(0,r.isFunction)(t)?t.call(o.proxy):t}else 0}function tn(e,t){return an(e,null,t)}function nn(e,t){return an(e,null,{flush:"post"})}function on(e,t){return an(e,null,{flush:"sync"})}const rn={};function sn(e,t,n){return an(e,t,n)}function an(e,t,{immediate:n,deep:o,flush:i,onTrack:s,onTrigger:a}=r.EMPTY_OBJ){const l=Ar;let c,u,d=!1,p=!1;if(Fe(e)?(c=()=>e.value,d=Te(e)):Ce(e)?(c=()=>e,o=!0):(0,r.isArray)(e)?(p=!0,d=e.some((e=>Ce(e)||Te(e))),c=()=>e.map((e=>Fe(e)?e.value:Ce(e)?un(e):(0,r.isFunction)(e)?tt(e,l,2):void 0))):c=(0,r.isFunction)(e)?t?()=>tt(e,l,2):()=>{if(!l||!l.isUnmounted)return u&&u(),nt(e,l,3,[f])}:r.NOOP,t&&o){const e=c;c=()=>un(e())}let f=e=>{u=y.onStop=()=>{tt(e,l,4)}};if(Rr)return f=r.NOOP,t?n&&nt(t,l,3,[c(),p?[]:void 0,f]):c(),r.NOOP;let h=p?[]:rn;const m=()=>{if(y.active)if(t){const e=y.run();(o||d||(p?e.some(((e,t)=>(0,r.hasChanged)(e,h[t]))):(0,r.hasChanged)(e,h)))&&(u&&u(),nt(t,l,3,[e,h===rn?void 0:h,f]),h=e)}else y.run()};let v;m.allowRecurse=!!t,v="sync"===i?m:"post"===i?()=>Ro(m,l&&l.suspense):()=>function(e){_t(e,ct,lt,ut)}(m);const y=new _(c,v);return t?n?m():h=y.run():"post"===i?Ro(y.run.bind(y),l&&l.suspense):y.run(),()=>{y.stop(),l&&l.scope&&(0,r.remove)(l.scope.effects,y)}}function ln(e,t,n){const o=this.proxy,i=(0,r.isString)(e)?e.includes(".")?cn(o,e):()=>o[e]:e.bind(o,o);let s;(0,r.isFunction)(t)?s=t:(s=t.handler,n=t);const a=Ar;Fr(this);const l=an(i,s.bind(o),n);return a?Fr(a):Lr(),l}function cn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function un(e,t){if(!(0,r.isObject)(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),Fe(e))un(e.value,t);else if((0,r.isArray)(e))for(let n=0;n<e.length;n++)un(e[n],t);else if((0,r.isSet)(e)||(0,r.isMap)(e))e.forEach((e=>{un(e,t)}));else if((0,r.isPlainObject)(e))for(const n in e)un(e[n],t);return e}function dn(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Fn((()=>{e.isMounted=!0})),Dn((()=>{e.isUnmounting=!0})),e}const pn=[Function,Array],fn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:pn,onEnter:pn,onAfterEnter:pn,onEnterCancelled:pn,onBeforeLeave:pn,onLeave:pn,onAfterLeave:pn,onLeaveCancelled:pn,onBeforeAppear:pn,onAppear:pn,onAfterAppear:pn,onAppearCancelled:pn},setup(e,{slots:t}){const n=qr(),o=dn();let r;return()=>{const i=t.default&&bn(t.default(),!0);if(!i||!i.length)return;let s=i[0];if(i.length>1){let e=!1;for(const t of i)if(t.type!==er){0,s=t,e=!0;break}}const a=Me(e),{mode:l}=a;if(o.isLeaving)return vn(s);const c=yn(s);if(!c)return vn(s);const u=mn(c,a,o,n);gn(c,u);const d=n.subTree,p=d&&yn(d);let f=!1;const{getTransitionKey:h}=c.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,f=!0)}if(p&&p.type!==er&&(!fr(c,p)||f)){const e=mn(p,a,o,n);if(gn(p,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},vn(s);"in-out"===l&&c.type!==er&&(e.delayLeave=(e,t,n)=>{hn(o,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return s}}};function hn(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function mn(e,t,n,o){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:p,onLeave:f,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:v,onAppear:y,onAfterAppear:g,onAppearCancelled:b}=t,_=String(e.key),w=hn(n,e),x=(e,t)=>{e&&nt(e,o,9,t)},k=(e,t)=>{const n=t[1];x(e,t),(0,r.isArray)(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},E={mode:s,persisted:a,beforeEnter(t){let o=l;if(!n.isMounted){if(!i)return;o=v||l}t._leaveCb&&t._leaveCb(!0);const r=w[_];r&&fr(e,r)&&r.el._leaveCb&&r.el._leaveCb(),x(o,[t])},enter(e){let t=c,o=u,r=d;if(!n.isMounted){if(!i)return;t=y||c,o=g||u,r=b||d}let s=!1;const a=e._enterCb=t=>{s||(s=!0,x(t?r:o,[e]),E.delayedLeave&&E.delayedLeave(),e._enterCb=void 0)};t?k(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(p,[t]);let i=!1;const s=t._leaveCb=n=>{i||(i=!0,o(),x(n?m:h,[t]),t._leaveCb=void 0,w[r]===e&&delete w[r])};w[r]=e,f?k(f,[t,s]):s()},clone:e=>mn(e,t,n,o)};return E}function vn(e){if(En(e))return(e=xr(e)).children=null,e}function yn(e){return En(e)?e.children?e.children[0]:void 0:e}function gn(e,t){6&e.shapeFlag&&e.component?gn(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function bn(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let s=e[i];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:i);s.type===Jo?(128&s.patchFlag&&r++,o=o.concat(bn(s.children,t,a))):(t||s.type!==er)&&o.push(null!=a?xr(s,{key:a}):s)}if(r>1)for(let e=0;e<o.length;e++)o[e].patchFlag=-2;return o}function _n(e){return(0,r.isFunction)(e)?{setup:e,name:e.name}:e}const wn=e=>!!e.type.__asyncLoader;function xn(e){(0,r.isFunction)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:i=200,timeout:s,suspensible:a=!0,onError:l}=e;let c,u=null,d=0;const p=()=>{let e;return u||(e=u=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((d++,u=null,p()))),(()=>n(e)),d+1)}));throw e})).then((t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return _n({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const e=Ar;if(c)return()=>kn(c,e);const t=t=>{u=null,ot(t,e,13,!o)};if(a&&e.suspense||Rr)return p().then((t=>()=>kn(t,e))).catch((e=>(t(e),()=>o?br(o,{error:e}):null)));const r=Le(!1),l=Le(),d=Le(!!i);return i&&setTimeout((()=>{d.value=!1}),i),null!=s&&setTimeout((()=>{if(!r.value&&!l.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),l.value=e}}),s),p().then((()=>{r.value=!0,e.parent&&En(e.parent.vnode)&&gt(e.parent.update)})).catch((e=>{t(e),l.value=e})),()=>r.value&&c?kn(c,e):l.value&&o?br(o,{error:l.value}):n&&!d.value?br(n):void 0}})}function kn(e,{vnode:{ref:t,props:n,children:o,shapeFlag:r},parent:i}){const s=br(e,n,o);return s.ref=t,s}const En=e=>e.type.__isKeepAlive,Sn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=qr(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const i=new Map,s=new Set;let a=null;const l=n.suspense,{renderer:{p:c,m:u,um:d,o:{createElement:p}}}=o,f=p("div");function h(e){Vn(e),d(e,n,l,!0)}function m(e){i.forEach(((t,n)=>{const o=Gr(t.type);!o||e&&e(o)||v(n)}))}function v(e){const t=i.get(e);a&&t.type===a.type?a&&Vn(a):h(t),i.delete(e),s.delete(e)}o.activate=(e,t,n,o,i)=>{const s=e.component;u(e,t,n,0,l),c(s.vnode,e,t,n,s,l,o,e.slotScopeIds,i),Ro((()=>{s.isDeactivated=!1,s.a&&(0,r.invokeArrayFns)(s.a);const t=e.props&&e.props.onVnodeMounted;t&&Mr(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;u(e,f,null,1,l),Ro((()=>{t.da&&(0,r.invokeArrayFns)(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Mr(n,t.parent,e),t.isDeactivated=!0}),l)},sn((()=>[e.include,e.exclude]),(([e,t])=>{e&&m((t=>Cn(e,t))),t&&m((e=>!Cn(t,e)))}),{flush:"post",deep:!0});let y=null;const g=()=>{null!=y&&i.set(y,Nn(n.subTree))};return Fn(g),In(g),Dn((()=>{i.forEach((e=>{const{subTree:t,suspense:o}=n,r=Nn(t);if(e.type!==r.type)h(e);else{Vn(r);const e=r.component.da;e&&Ro(e,o)}}))})),()=>{if(y=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return a=null,n;if(!(pr(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return a=null,o;let r=Nn(o);const l=r.type,c=Gr(wn(r)?r.type.__asyncResolved||{}:l),{include:u,exclude:d,max:p}=e;if(u&&(!c||!Cn(u,c))||d&&c&&Cn(d,c))return a=r,o;const f=null==r.key?l:r.key,h=i.get(f);return r.el&&(r=xr(r),128&o.shapeFlag&&(o.ssContent=r)),y=f,h?(r.el=h.el,r.component=h.component,r.transition&&gn(r,r.transition),r.shapeFlag|=512,s.delete(f),s.add(f)):(s.add(f),p&&s.size>parseInt(p,10)&&v(s.values().next().value)),r.shapeFlag|=256,a=r,Kt(o.type)?o:r}}};function Cn(e,t){return(0,r.isArray)(e)?e.some((e=>Cn(e,t))):(0,r.isString)(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function On(e,t){Bn(e,"a",t)}function Tn(e,t){Bn(e,"da",t)}function Bn(e,t,n=Ar){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Pn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)En(e.parent.vnode)&&Mn(o,t,n,e),e=e.parent}}function Mn(e,t,n,o){const i=Pn(t,e,o,!0);jn((()=>{(0,r.remove)(o[t],i)}),n)}function Vn(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function Nn(e){return 128&e.shapeFlag?e.ssContent:e}function Pn(e,t,n=Ar,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;C(),Fr(n);const r=nt(t,n,e,o);return Lr(),O(),r});return o?r.unshift(i):r.push(i),i}}const An=e=>(t,n=Ar)=>(!Rr||"sp"===e)&&Pn(e,t,n),qn=An("bm"),Fn=An("m"),Ln=An("bu"),In=An("u"),Dn=An("bum"),jn=An("um"),Rn=An("sp"),$n=An("rtg"),zn=An("rtc");function Hn(e,t=Ar){Pn("ec",e,t)}function Un(e,t){const n=Pt;if(null===n)return e;const o=Qr(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[n,s,a,l=r.EMPTY_OBJ]=t[e];(0,r.isFunction)(n)&&(n={mounted:n,updated:n}),n.deep&&un(s),i.push({dir:n,instance:o,value:s,oldValue:void 0,arg:a,modifiers:l})}return e}function Kn(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){const a=r[s];i&&(a.oldValue=i[s].value);let l=a.dir[o];l&&(C(),nt(l,n,8,[e.el,a,e,t]),O())}}const Wn="components";function Qn(e,t){return Jn(Wn,e,!0,t)||e}const Yn=Symbol();function Gn(e){return(0,r.isString)(e)?Jn(Wn,e,!1)||e:e||Yn}function Zn(e){return Jn("directives",e)}function Jn(e,t,n=!0,o=!1){const i=Pt||Ar;if(i){const n=i.type;if(e===Wn){const e=Gr(n,!1);if(e&&(e===t||e===(0,r.camelize)(t)||e===(0,r.capitalize)((0,r.camelize)(t))))return n}const s=Xn(i[e]||n[e],t)||Xn(i.appContext[e],t);return!s&&o?n:s}}function Xn(e,t){return e&&(e[t]||e[(0,r.camelize)(t)]||e[(0,r.capitalize)((0,r.camelize)(t))])}function eo(e,t,n,o){let i;const s=n&&n[o];if((0,r.isArray)(e)||(0,r.isString)(e)){i=new Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(e[n],n,void 0,s&&s[n])}else if("number"==typeof e){0,i=new Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,s&&s[n])}else if((0,r.isObject)(e))if(e[Symbol.iterator])i=Array.from(e,((e,n)=>t(e,n,void 0,s&&s[n])));else{const n=Object.keys(e);i=new Array(n.length);for(let o=0,r=n.length;o<r;o++){const r=n[o];i[o]=t(e[r],r,o,s&&s[o])}}else i=[];return n&&(n[o]=i),i}function to(e,t){for(let n=0;n<t.length;n++){const o=t[n];if((0,r.isArray)(o))for(let t=0;t<o.length;t++)e[o[t].name]=o[t].fn;else o&&(e[o.name]=o.fn)}return e}function no(e,t,n={},o,r){if(Pt.isCE||Pt.parent&&wn(Pt.parent)&&Pt.parent.isCE)return br("slot","default"===t?null:{name:t},o&&o());let i=e[t];i&&i._c&&(i._d=!1),rr();const s=i&&oo(i(n)),a=dr(Jo,{key:n.key||`_${t}`},s||(o?o():[]),s&&1===e._?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function oo(e){return e.some((e=>!pr(e)||e.type!==er&&!(e.type===Jo&&!oo(e.children))))?e:null}function ro(e){const t={};for(const n in e)t[(0,r.toHandlerKey)(n)]=e[n];return t}const io=e=>e?Ir(e)?Qr(e)||e.proxy:io(e.parent):null,so=(0,r.extend)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>io(e.parent),$root:e=>io(e.root),$emit:e=>e.emit,$options:e=>ho(e),$forceUpdate:e=>e.f||(e.f=()=>gt(e.update)),$nextTick:e=>e.n||(e.n=yt.bind(e.proxy)),$watch:e=>ln.bind(e)}),ao={get({_:e},t){const{ctx:n,setupState:o,data:i,props:s,accessCache:a,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 1:return o[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(o!==r.EMPTY_OBJ&&(0,r.hasOwn)(o,t))return a[t]=1,o[t];if(i!==r.EMPTY_OBJ&&(0,r.hasOwn)(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&(0,r.hasOwn)(u,t))return a[t]=3,s[t];if(n!==r.EMPTY_OBJ&&(0,r.hasOwn)(n,t))return a[t]=4,n[t];co&&(a[t]=0)}}const d=so[t];let p,f;return d?("$attrs"===t&&T(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==r.EMPTY_OBJ&&(0,r.hasOwn)(n,t)?(a[t]=4,n[t]):(f=c.config.globalProperties,(0,r.hasOwn)(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:i,ctx:s}=e;return i!==r.EMPTY_OBJ&&(0,r.hasOwn)(i,t)?(i[t]=n,!0):o!==r.EMPTY_OBJ&&(0,r.hasOwn)(o,t)?(o[t]=n,!0):!(0,r.hasOwn)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:i,propsOptions:s}},a){let l;return!!n[a]||e!==r.EMPTY_OBJ&&(0,r.hasOwn)(e,a)||t!==r.EMPTY_OBJ&&(0,r.hasOwn)(t,a)||(l=s[0])&&(0,r.hasOwn)(l,a)||(0,r.hasOwn)(o,a)||(0,r.hasOwn)(so,a)||(0,r.hasOwn)(i.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:(0,r.hasOwn)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};const lo=(0,r.extend)({},ao,{get(e,t){if(t!==Symbol.unscopables)return ao.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!(0,r.isGloballyWhitelisted)(t)});let co=!0;function uo(e){const t=ho(e),n=e.proxy,o=e.ctx;co=!1,t.beforeCreate&&po(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:p,mounted:f,beforeUpdate:h,updated:m,activated:v,deactivated:y,beforeDestroy:g,beforeUnmount:b,destroyed:_,unmounted:w,render:x,renderTracked:k,renderTriggered:E,errorCaptured:S,serverPrefetch:C,expose:O,inheritAttrs:T,components:B,directives:M,filters:V}=t;if(u&&function(e,t,n=r.NOOP,o=!1){(0,r.isArray)(e)&&(e=go(e));for(const n in e){const i=e[n];let s;s=(0,r.isObject)(i)?"default"in i?en(i.from||n,i.default,!0):en(i.from||n):en(i),Fe(s)&&o?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[n]=s}}(u,o,null,e.appContext.config.unwrapInjectedRef),a)for(const e in a){const t=a[e];(0,r.isFunction)(t)&&(o[e]=t.bind(n))}if(i){0;const t=i.call(n,n);0,(0,r.isObject)(t)&&(e.data=we(t))}if(co=!0,s)for(const e in s){const t=s[e],i=(0,r.isFunction)(t)?t.bind(n,n):(0,r.isFunction)(t.get)?t.get.bind(n,n):r.NOOP;0;const a=!(0,r.isFunction)(t)&&(0,r.isFunction)(t.set)?t.set.bind(n):r.NOOP,l=Xr({get:i,set:a});Object.defineProperty(o,e,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(l)for(const e in l)fo(l[e],o,n,e);if(c){const e=(0,r.isFunction)(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{Xt(t,e[t])}))}function N(e,t){(0,r.isArray)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&po(d,e,"c"),N(qn,p),N(Fn,f),N(Ln,h),N(In,m),N(On,v),N(Tn,y),N(Hn,S),N(zn,k),N($n,E),N(Dn,b),N(jn,w),N(Rn,C),(0,r.isArray)(O))if(O.length){const t=e.exposed||(e.exposed={});O.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});x&&e.render===r.NOOP&&(e.render=x),null!=T&&(e.inheritAttrs=T),B&&(e.components=B),M&&(e.directives=M)}function po(e,t,n){nt((0,r.isArray)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function fo(e,t,n,o){const i=o.includes(".")?cn(n,o):()=>n[o];if((0,r.isString)(e)){const n=t[e];(0,r.isFunction)(n)&&sn(i,n)}else if((0,r.isFunction)(e))sn(i,e.bind(n));else if((0,r.isObject)(e))if((0,r.isArray)(e))e.forEach((e=>fo(e,t,n,o)));else{const o=(0,r.isFunction)(e.handler)?e.handler.bind(n):t[e.handler];(0,r.isFunction)(o)&&sn(i,o,e)}else 0}function ho(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:r.length||n||o?(l={},r.length&&r.forEach((e=>mo(l,e,s,!0))),mo(l,t,s)):l=t,i.set(t,l),l}function mo(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&mo(e,i,n,!0),r&&r.forEach((t=>mo(e,t,n,!0)));for(const r in t)if(o&&"expose"===r);else{const o=vo[r]||n&&n[r];e[r]=o?o(e[r],t[r]):t[r]}return e}const vo={data:yo,props:_o,emits:_o,methods:_o,computed:_o,beforeCreate:bo,created:bo,beforeMount:bo,mounted:bo,beforeUpdate:bo,updated:bo,beforeDestroy:bo,beforeUnmount:bo,destroyed:bo,unmounted:bo,activated:bo,deactivated:bo,errorCaptured:bo,serverPrefetch:bo,components:_o,directives:_o,watch:function(e,t){if(!e)return t;if(!t)return e;const n=(0,r.extend)(Object.create(null),e);for(const o in t)n[o]=bo(e[o],t[o]);return n},provide:yo,inject:function(e,t){return _o(go(e),go(t))}};function yo(e,t){return t?e?function(){return(0,r.extend)((0,r.isFunction)(e)?e.call(this,this):e,(0,r.isFunction)(t)?t.call(this,this):t)}:t:e}function go(e){if((0,r.isArray)(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function bo(e,t){return e?[...new Set([].concat(e,t))]:t}function _o(e,t){return e?(0,r.extend)((0,r.extend)(Object.create(null),e),t):t}function wo(e,t,n,o){const[i,s]=e.propsOptions;let a,l=!1;if(t)for(let c in t){if((0,r.isReservedProp)(c))continue;const u=t[c];let d;i&&(0,r.hasOwn)(i,d=(0,r.camelize)(c))?s&&s.includes(d)?(a||(a={}))[d]=u:n[d]=u:Nt(e.emitsOptions,c)||c in o&&u===o[c]||(o[c]=u,l=!0)}if(s){const t=Me(n),o=a||r.EMPTY_OBJ;for(let a=0;a<s.length;a++){const l=s[a];n[l]=xo(i,t,l,o[l],e,!(0,r.hasOwn)(o,l))}}return l}function xo(e,t,n,o,i,s){const a=e[n];if(null!=a){const e=(0,r.hasOwn)(a,"default");if(e&&void 0===o){const e=a.default;if(a.type!==Function&&(0,r.isFunction)(e)){const{propsDefaults:r}=i;n in r?o=r[n]:(Fr(i),o=r[n]=e.call(null,t),Lr())}else o=e}a[0]&&(s&&!e?o=!1:!a[1]||""!==o&&o!==(0,r.hyphenate)(n)||(o=!0))}return o}function ko(e,t,n=!1){const o=t.propsCache,i=o.get(e);if(i)return i;const s=e.props,a={},l=[];let c=!1;if(!(0,r.isFunction)(e)){const o=e=>{c=!0;const[n,o]=ko(e,t,!0);(0,r.extend)(a,n),o&&l.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!s&&!c)return o.set(e,r.EMPTY_ARR),r.EMPTY_ARR;if((0,r.isArray)(s))for(let e=0;e<s.length;e++){0;const t=(0,r.camelize)(s[e]);Eo(t)&&(a[t]=r.EMPTY_OBJ)}else if(s){0;for(const e in s){const t=(0,r.camelize)(e);if(Eo(t)){const n=s[e],o=a[t]=(0,r.isArray)(n)||(0,r.isFunction)(n)?{type:n}:n;if(o){const e=Oo(Boolean,o.type),n=Oo(String,o.type);o[0]=e>-1,o[1]=n<0||e<n,(e>-1||(0,r.hasOwn)(o,"default"))&&l.push(t)}}}}const u=[a,l];return o.set(e,u),u}function Eo(e){return"$"!==e[0]}function So(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function Co(e,t){return So(e)===So(t)}function Oo(e,t){return(0,r.isArray)(t)?t.findIndex((t=>Co(t,e))):(0,r.isFunction)(t)&&Co(t,e)?0:-1}const To=e=>"_"===e[0]||"$stable"===e,Bo=e=>(0,r.isArray)(e)?e.map(Cr):[Cr(e)],Mo=(e,t,n)=>{if(t._n)return t;const o=Dt(((...e)=>Bo(t(...e))),n);return o._c=!1,o},Vo=(e,t,n)=>{const o=e._ctx;for(const n in e){if(To(n))continue;const i=e[n];if((0,r.isFunction)(i))t[n]=Mo(0,i,o);else if(null!=i){0;const e=Bo(i);t[n]=()=>e}}},No=(e,t)=>{const n=Bo(t);e.slots.default=()=>n};function Po(){return{app:null,config:{isNativeTag:r.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ao=0;function qo(e,t){return function(n,o=null){(0,r.isFunction)(n)||(n=Object.assign({},n)),null==o||(0,r.isObject)(o)||(o=null);const i=Po(),s=new Set;let a=!1;const l=i.app={_uid:Ao++,_component:n,_props:o,_container:null,_context:i,_instance:null,version:vi,get config(){return i.config},set config(e){0},use:(e,...t)=>(s.has(e)||(e&&(0,r.isFunction)(e.install)?(s.add(e),e.install(l,...t)):(0,r.isFunction)(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),l),component:(e,t)=>t?(i.components[e]=t,l):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,l):i.directives[e],mount(r,s,c){if(!a){0;const u=br(n,o);return u.appContext=i,s&&t?t(u,r):e(u,r,c),a=!0,l._container=r,r.__vue_app__=l,Qr(u.component)||u.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,l)};return l}}function Fo(e,t,n,o,i=!1){if((0,r.isArray)(e))return void e.forEach(((e,s)=>Fo(e,t&&((0,r.isArray)(t)?t[s]:t),n,o,i)));if(wn(o)&&!i)return;const s=4&o.shapeFlag?Qr(o.component)||o.component.proxy:o.el,a=i?null:s,{i:l,r:c}=e;const u=t&&t.r,d=l.refs===r.EMPTY_OBJ?l.refs={}:l.refs,p=l.setupState;if(null!=u&&u!==c&&((0,r.isString)(u)?(d[u]=null,(0,r.hasOwn)(p,u)&&(p[u]=null)):Fe(u)&&(u.value=null)),(0,r.isFunction)(c))tt(c,l,12,[a,d]);else{const t=(0,r.isString)(c),o=Fe(c);if(t||o){const l=()=>{if(e.f){const n=t?d[c]:c.value;i?(0,r.isArray)(n)&&(0,r.remove)(n,s):(0,r.isArray)(n)?n.includes(s)||n.push(s):t?(d[c]=[s],(0,r.hasOwn)(p,c)&&(p[c]=d[c])):(c.value=[s],e.k&&(d[e.k]=c.value))}else t?(d[c]=a,(0,r.hasOwn)(p,c)&&(p[c]=a)):o&&(c.value=a,e.k&&(d[e.k]=a))};a?(l.id=-1,Ro(l,n)):l()}else 0}}let Lo=!1;const Io=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,Do=e=>8===e.nodeType;function jo(e){const{mt:t,p:n,o:{patchProp:o,createText:i,nextSibling:s,parentNode:a,remove:l,insert:c,createComment:u}}=e,d=(n,o,r,l,u,y=!1)=>{const g=Do(n)&&"["===n.data,b=()=>m(n,o,r,l,u,g),{type:_,ref:w,shapeFlag:x,patchFlag:k}=o,E=n.nodeType;o.el=n,-2===k&&(y=!1,o.dynamicChildren=null);let S=null;switch(_){case Xo:3!==E?""===o.children?(c(o.el=i(""),a(n),n),S=n):S=b():(n.data!==o.children&&(Lo=!0,n.data=o.children),S=s(n));break;case er:S=8!==E||g?b():s(n);break;case tr:if(1===E||3===E){S=n;const e=!o.children.length;for(let t=0;t<o.staticCount;t++)e&&(o.children+=1===S.nodeType?S.outerHTML:S.data),t===o.staticCount-1&&(o.anchor=S),S=s(S);return S}S=b();break;case Jo:S=g?h(n,o,r,l,u,y):b();break;default:if(1&x)S=1!==E||o.type.toLowerCase()!==n.tagName.toLowerCase()?b():p(n,o,r,l,u,y);else if(6&x){o.slotScopeIds=u;const e=a(n);if(t(o,e,null,r,l,Io(e),y),S=g?v(n):s(n),S&&Do(S)&&"teleport end"===S.data&&(S=s(S)),wn(o)){let t;g?(t=br(Jo),t.anchor=S?S.previousSibling:e.lastChild):t=3===n.nodeType?kr(""):br("div"),t.el=n,o.component.subTree=t}}else 64&x?S=8!==E?b():o.type.hydrate(n,o,r,l,u,y,e,f):128&x&&(S=o.type.hydrate(n,o,r,l,Io(a(n)),u,y,e,d))}return null!=w&&Fo(w,null,l,o),S},p=(e,t,n,i,s,a)=>{a=a||!!t.dynamicChildren;const{type:c,props:u,patchFlag:d,shapeFlag:p,dirs:h}=t,m="input"===c&&h||"option"===c;if(m||-1!==d){if(h&&Kn(t,null,n,"created"),u)if(m||!a||48&d)for(const t in u)(m&&t.endsWith("value")||(0,r.isOn)(t)&&!(0,r.isReservedProp)(t))&&o(e,t,null,u[t],!1,void 0,n);else u.onClick&&o(e,"onClick",null,u.onClick,!1,void 0,n);let c;if((c=u&&u.onVnodeBeforeMount)&&Mr(c,n,t),h&&Kn(t,null,n,"beforeMount"),((c=u&&u.onVnodeMounted)||h)&&Zt((()=>{c&&Mr(c,n,t),h&&Kn(t,null,n,"mounted")}),i),16&p&&(!u||!u.innerHTML&&!u.textContent)){let o=f(e.firstChild,t,e,n,i,s,a);for(;o;){Lo=!0;const e=o;o=o.nextSibling,l(e)}}else 8&p&&e.textContent!==t.children&&(Lo=!0,e.textContent=t.children)}return e.nextSibling},f=(e,t,o,r,i,s,a)=>{a=a||!!t.dynamicChildren;const l=t.children,c=l.length;for(let t=0;t<c;t++){const c=a?l[t]:l[t]=Cr(l[t]);if(e)e=d(e,c,r,i,s,a);else{if(c.type===Xo&&!c.children)continue;Lo=!0,n(null,c,o,null,r,i,Io(o),s)}}return e},h=(e,t,n,o,r,i)=>{const{slotScopeIds:l}=t;l&&(r=r?r.concat(l):l);const d=a(e),p=f(s(e),t,d,n,o,r,i);return p&&Do(p)&&"]"===p.data?s(t.anchor=p):(Lo=!0,c(t.anchor=u("]"),d,p),p)},m=(e,t,o,r,i,c)=>{if(Lo=!0,t.el=null,c){const t=v(e);for(;;){const n=s(e);if(!n||n===t)break;l(n)}}const u=s(e),d=a(e);return l(e),n(null,t,d,u,o,r,Io(d),i),u},v=e=>{let t=0;for(;e;)if((e=s(e))&&Do(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return s(e);t--}return e};return[(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),kt(),void(t._vnode=e);Lo=!1,d(t.firstChild,e,null,null,null),kt(),t._vnode=e,Lo&&console.error("Hydration completed but contains mismatches.")},d]}const Ro=Zt;function $o(e){return Ho(e)}function zo(e){return Ho(e,jo)}function Ho(e,t){(0,r.getGlobalThis)().__VUE__=!0;const{insert:n,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:f=r.NOOP,cloneNode:h,insertStaticContent:m}=e,v=(e,t,n,o=null,r=null,i=null,s=!1,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!fr(e,t)&&(o=W(e),$(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Xo:y(e,t,n,o);break;case er:g(e,t,n,o);break;case tr:null==e&&b(t,n,o,s);break;case Jo:N(e,t,n,o,r,i,s,a,l);break;default:1&d?x(e,t,n,o,r,i,s,a,l):6&d?P(e,t,n,o,r,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,s,a,l,Y)}null!=u&&r&&Fo(u,e&&e.ref,i,t||e,!t)},y=(e,t,o,r)=>{if(null==e)n(t.el=a(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},g=(e,t,o,r)=>{null==e?n(t.el=l(t.children||""),o,r):t.el=e.el},b=(e,t,n,o)=>{[e.el,e.anchor]=m(e.children,t,n,o,e.el,e.anchor)},w=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=p(e),o(e),e=n;o(t)},x=(e,t,n,o,r,i,s,a,l)=>{s=s||"svg"===t.type,null==e?k(t,n,o,r,i,s,a,l):T(e,t,r,i,s,a,l)},k=(e,t,o,a,l,c,d,p)=>{let f,m;const{type:v,props:y,shapeFlag:g,transition:b,patchFlag:_,dirs:w}=e;if(e.el&&void 0!==h&&-1===_)f=e.el=h(e.el);else{if(f=e.el=s(e.type,c,y&&y.is,y),8&g?u(f,e.children):16&g&&S(e.children,f,null,a,l,c&&"foreignObject"!==v,d,p),w&&Kn(e,null,a,"created"),y){for(const t in y)"value"===t||(0,r.isReservedProp)(t)||i(f,t,null,y[t],c,e.children,a,l,K);"value"in y&&i(f,"value",null,y.value),(m=y.onVnodeBeforeMount)&&Mr(m,a,e)}E(f,e,e.scopeId,d,a)}w&&Kn(e,null,a,"beforeMount");const x=(!l||l&&!l.pendingBranch)&&b&&!b.persisted;x&&b.beforeEnter(f),n(f,t,o),((m=y&&y.onVnodeMounted)||x||w)&&Ro((()=>{m&&Mr(m,a,e),x&&b.enter(f),w&&Kn(e,null,a,"mounted")}),l)},E=(e,t,n,o,r)=>{if(n&&f(e,n),o)for(let t=0;t<o.length;t++)f(e,o[t]);if(r){if(t===r.subTree){const t=r.vnode;E(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},S=(e,t,n,o,r,i,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?Or(e[c]):Cr(e[c]);v(null,l,t,n,o,r,i,s,a)}},T=(e,t,n,o,s,a,l)=>{const c=t.el=e.el;let{patchFlag:d,dynamicChildren:p,dirs:f}=t;d|=16&e.patchFlag;const h=e.props||r.EMPTY_OBJ,m=t.props||r.EMPTY_OBJ;let v;n&&Uo(n,!1),(v=m.onVnodeBeforeUpdate)&&Mr(v,n,t,e),f&&Kn(t,e,n,"beforeUpdate"),n&&Uo(n,!0);const y=s&&"foreignObject"!==t.type;if(p?B(e.dynamicChildren,p,c,n,o,y,a):l||I(e,t,c,null,n,o,y,a,!1),d>0){if(16&d)V(c,t,h,m,n,o,s);else if(2&d&&h.class!==m.class&&i(c,"class",null,m.class,s),4&d&&i(c,"style",h.style,m.style,s),8&d){const r=t.dynamicProps;for(let t=0;t<r.length;t++){const a=r[t],l=h[a],u=m[a];u===l&&"value"!==a||i(c,a,l,u,s,e.children,n,o,K)}}1&d&&e.children!==t.children&&u(c,t.children)}else l||null!=p||V(c,t,h,m,n,o,s);((v=m.onVnodeUpdated)||f)&&Ro((()=>{v&&Mr(v,n,t,e),f&&Kn(t,e,n,"updated")}),o)},B=(e,t,n,o,r,i,s)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],u=l.el&&(l.type===Jo||!fr(l,c)||70&l.shapeFlag)?d(l.el):n;v(l,c,u,null,o,r,i,s,!0)}},V=(e,t,n,o,s,a,l)=>{if(n!==o){for(const c in o){if((0,r.isReservedProp)(c))continue;const u=o[c],d=n[c];u!==d&&"value"!==c&&i(e,c,d,u,l,t.children,s,a,K)}if(n!==r.EMPTY_OBJ)for(const c in n)(0,r.isReservedProp)(c)||c in o||i(e,c,n[c],null,l,t.children,s,a,K);"value"in o&&i(e,"value",n.value,o.value)}},N=(e,t,o,r,i,s,l,c,u)=>{const d=t.el=e?e.el:a(""),p=t.anchor=e?e.anchor:a("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(n(d,o,r),n(p,o,r),S(t.children,o,p,i,s,l,c,u)):f>0&&64&f&&h&&e.dynamicChildren?(B(e.dynamicChildren,h,o,i,s,l,c),(null!=t.key||i&&t===i.subTree)&&Ko(e,t,!0)):I(e,t,o,p,i,s,l,c,u)},P=(e,t,n,o,r,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,l):A(t,n,o,r,i,s,l):q(e,t,l)},A=(e,t,n,o,r,i,s)=>{const a=e.component=Pr(e,o,r);if(En(e)&&(a.ctx.renderer=Y),$r(a),a.asyncDep){if(r&&r.registerDep(a,F),!e.el){const e=a.subTree=br(er);g(null,e,t,n)}}else F(a,e,t,n,r,i,s)},q=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||Ht(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Ht(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==o[n]&&!Nt(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void L(o,t,n);o.next=t,function(e){const t=st.indexOf(e);t>at&&st.splice(t,1)}(o.update),o.update()}else t.el=e.el,o.vnode=t},F=(e,t,n,o,i,s,a)=>{const l=e.effect=new _((()=>{if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:u}=e,p=n;0,Uo(e,!1),n?(n.el=u.el,L(e,n,a)):n=u,o&&(0,r.invokeArrayFns)(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Mr(t,c,n,u),Uo(e,!0);const f=jt(e);0;const h=e.subTree;e.subTree=f,v(h,f,d(h.el),W(h),e,i,s),n.el=f.el,null===p&&Ut(e,f.el),l&&Ro(l,i),(t=n.props&&n.props.onVnodeUpdated)&&Ro((()=>Mr(t,c,n,u)),i)}else{let a;const{el:l,props:c}=t,{bm:u,m:d,parent:p}=e,f=wn(t);if(Uo(e,!1),u&&(0,r.invokeArrayFns)(u),!f&&(a=c&&c.onVnodeBeforeMount)&&Mr(a,p,t),Uo(e,!0),l&&Z){const n=()=>{e.subTree=jt(e),Z(l,e.subTree,e,i,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const r=e.subTree=jt(e);0,v(null,r,n,o,e,i,s),t.el=r.el}if(d&&Ro(d,i),!f&&(a=c&&c.onVnodeMounted)){const e=t;Ro((()=>Mr(a,p,e)),i)}(256&t.shapeFlag||p&&wn(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&Ro(e.a,i),e.isMounted=!0,t=n=o=null}}),(()=>gt(c)),e.scope),c=e.update=()=>l.run();c.id=e.uid,Uo(e,!0),c()},L=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:i,attrs:s,vnode:{patchFlag:a}}=e,l=Me(i),[c]=e.propsOptions;let u=!1;if(!(o||a>0)||16&a){let o;wo(e,t,i,s)&&(u=!0);for(const s in l)t&&((0,r.hasOwn)(t,s)||(o=(0,r.hyphenate)(s))!==s&&(0,r.hasOwn)(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(i[s]=xo(c,l,s,void 0,e,!0)):delete i[s]);if(s!==l)for(const e in s)t&&(0,r.hasOwn)(t,e)||(delete s[e],u=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let a=n[o];if(Nt(e.emitsOptions,a))continue;const d=t[a];if(c)if((0,r.hasOwn)(s,a))d!==s[a]&&(s[a]=d,u=!0);else{const t=(0,r.camelize)(a);i[t]=xo(c,l,t,d,e,!1)}else d!==s[a]&&(s[a]=d,u=!0)}}u&&M(e,"set","$attrs")}(e,t.props,o,n),((e,t,n)=>{const{vnode:o,slots:i}=e;let s=!0,a=r.EMPTY_OBJ;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:((0,r.extend)(i,t),n||1!==e||delete i._):(s=!t.$stable,Vo(t,i)),a=t}else t&&(No(e,t),a={default:1});if(s)for(const e in i)To(e)||e in a||delete i[e]})(e,t.children,n),C(),xt(void 0,e.update),O()},I=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,d=e?e.shapeFlag:0,p=t.children,{patchFlag:f,shapeFlag:h}=t;if(f>0){if(128&f)return void j(c,p,n,o,r,i,s,a,l);if(256&f)return void D(c,p,n,o,r,i,s,a,l)}8&h?(16&d&&K(c,r,i),p!==c&&u(n,p)):16&d?16&h?j(c,p,n,o,r,i,s,a,l):K(c,r,i,!0):(8&d&&u(n,""),16&h&&S(p,n,o,r,i,s,a,l))},D=(e,t,n,o,i,s,a,l,c)=>{e=e||r.EMPTY_ARR,t=t||r.EMPTY_ARR;const u=e.length,d=t.length,p=Math.min(u,d);let f;for(f=0;f<p;f++){const o=t[f]=c?Or(t[f]):Cr(t[f]);v(e[f],o,n,null,i,s,a,l,c)}u>d?K(e,i,s,!0,!1,p):S(t,n,o,i,s,a,l,c,p)},j=(e,t,n,o,i,s,a,l,c)=>{let u=0;const d=t.length;let p=e.length-1,f=d-1;for(;u<=p&&u<=f;){const o=e[u],r=t[u]=c?Or(t[u]):Cr(t[u]);if(!fr(o,r))break;v(o,r,n,null,i,s,a,l,c),u++}for(;u<=p&&u<=f;){const o=e[p],r=t[f]=c?Or(t[f]):Cr(t[f]);if(!fr(o,r))break;v(o,r,n,null,i,s,a,l,c),p--,f--}if(u>p){if(u<=f){const e=f+1,r=e<d?t[e].el:o;for(;u<=f;)v(null,t[u]=c?Or(t[u]):Cr(t[u]),n,r,i,s,a,l,c),u++}}else if(u>f)for(;u<=p;)$(e[u],i,s,!0),u++;else{const h=u,m=u,y=new Map;for(u=m;u<=f;u++){const e=t[u]=c?Or(t[u]):Cr(t[u]);null!=e.key&&y.set(e.key,u)}let g,b=0;const _=f-m+1;let w=!1,x=0;const k=new Array(_);for(u=0;u<_;u++)k[u]=0;for(u=h;u<=p;u++){const o=e[u];if(b>=_){$(o,i,s,!0);continue}let r;if(null!=o.key)r=y.get(o.key);else for(g=m;g<=f;g++)if(0===k[g-m]&&fr(o,t[g])){r=g;break}void 0===r?$(o,i,s,!0):(k[r-m]=u+1,r>=x?x=r:w=!0,v(o,t[r],n,null,i,s,a,l,c),b++)}const E=w?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<l?i=a+1:s=a;l<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(k):r.EMPTY_ARR;for(g=E.length-1,u=_-1;u>=0;u--){const e=m+u,r=t[e],p=e+1<d?t[e+1].el:o;0===k[u]?v(null,r,n,p,i,s,a,l,c):w&&(g<0||u!==E[g]?R(r,n,p,2):g--)}}},R=(e,t,o,r,i=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void R(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void a.move(e,t,o,Y);if(a===Jo){n(s,t,o);for(let e=0;e<c.length;e++)R(c[e],t,o,r);return void n(e.anchor,t,o)}if(a===tr)return void(({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=p(e),n(e,o,r),e=i;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(s),n(s,t,o),Ro((()=>l.enter(s)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>n(s,t,o),c=()=>{e(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else n(s,t,o)},$=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=a&&Fo(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&p,h=!wn(e);let m;if(h&&(m=s&&s.onVnodeBeforeUnmount)&&Mr(m,t,e),6&u)U(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);f&&Kn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,Y,o):c&&(i!==Jo||d>0&&64&d)?K(c,t,n,!1,!0):(i===Jo&&384&d||!r&&16&u)&&K(l,t,n),o&&z(e)}(h&&(m=s&&s.onVnodeUnmounted)||f)&&Ro((()=>{m&&Mr(m,t,e),f&&Kn(e,null,t,"unmounted")}),n)},z=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===Jo)return void H(n,r);if(t===tr)return void w(e);const s=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,r=()=>t(n,s);o?o(e.el,s,r):r()}else s()},H=(e,t)=>{let n;for(;e!==t;)n=p(e),o(e),e=n;o(t)},U=(e,t,n)=>{const{bum:o,scope:i,update:s,subTree:a,um:l}=e;o&&(0,r.invokeArrayFns)(o),i.stop(),s&&(s.active=!1,$(a,e,t,n)),l&&Ro(l,t),Ro((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},K=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)$(e[s],t,n,o,r)},W=e=>6&e.shapeFlag?W(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),Q=(e,t,n)=>{null==e?t._vnode&&$(t._vnode,null,null,!0):v(t._vnode||null,e,t,null,null,null,n),kt(),t._vnode=e},Y={p:v,um:$,m:R,r:z,mt:A,mc:S,pc:I,pbc:B,n:W,o:e};let G,Z;return t&&([G,Z]=t(Y)),{render:Q,hydrate:G,createApp:qo(Q,G)}}function Uo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ko(e,t,n=!1){const o=e.children,i=t.children;if((0,r.isArray)(o)&&(0,r.isArray)(i))for(let e=0;e<o.length;e++){const t=o[e];let r=i[e];1&r.shapeFlag&&!r.dynamicChildren&&((r.patchFlag<=0||32===r.patchFlag)&&(r=i[e]=Or(i[e]),r.el=t.el),n||Ko(t,r))}}const Wo=e=>e&&(e.disabled||""===e.disabled),Qo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Yo=(e,t)=>{const n=e&&e.to;if((0,r.isString)(n)){if(t){const e=t(n);return e}return null}return n};function Go(e,t,n,{o:{insert:o},m:r},i=2){0===i&&o(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:l,children:c,props:u}=e,d=2===i;if(d&&o(s,t,n),(!d||Wo(u))&&16&l)for(let e=0;e<c.length;e++)r(c[e],t,n,2);d&&o(a,t,n)}const Zo={__isTeleport:!0,process(e,t,n,o,r,i,s,a,l,c){const{mc:u,pc:d,pbc:p,o:{insert:f,querySelector:h,createText:m,createComment:v}}=c,y=Wo(t.props);let{shapeFlag:g,children:b,dynamicChildren:_}=t;if(null==e){const e=t.el=m(""),c=t.anchor=m("");f(e,n,o),f(c,n,o);const d=t.target=Yo(t.props,h),p=t.targetAnchor=m("");d&&(f(p,d),s=s||Qo(d));const v=(e,t)=>{16&g&&u(b,e,t,r,i,s,a,l)};y?v(n,c):d&&v(d,p)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,f=t.targetAnchor=e.targetAnchor,m=Wo(e.props),v=m?n:u,g=m?o:f;if(s=s||Qo(u),_?(p(e.dynamicChildren,_,v,r,i,s,a),Ko(e,t,!0)):l||d(e,t,v,g,r,i,s,a,!1),y)m||Go(t,n,o,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Yo(t.props,h);e&&Go(t,e,null,c,0)}else m&&Go(t,u,f,c,1)}},remove(e,t,n,o,{um:r,o:{remove:i}},s){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:d,props:p}=e;if(d&&i(u),(s||!Wo(p))&&(i(c),16&a))for(let e=0;e<l.length;e++){const o=l[e];r(o,t,n,!0,!!o.dynamicChildren)}},move:Go,hydrate:function(e,t,n,o,r,i,{o:{nextSibling:s,parentNode:a,querySelector:l}},c){const u=t.target=Yo(t.props,l);if(u){const l=u._lpa||u.firstChild;if(16&t.shapeFlag)if(Wo(t.props))t.anchor=c(s(e),t,a(e),n,o,r,i),t.targetAnchor=l;else{t.anchor=s(e);let a=l;for(;a;)if(a=s(a),a&&8===a.nodeType&&"teleport anchor"===a.data){t.targetAnchor=a,u._lpa=t.targetAnchor&&s(t.targetAnchor);break}c(l,t,u,n,o,r,i)}}return t.anchor&&s(t.anchor)}},Jo=Symbol(void 0),Xo=Symbol(void 0),er=Symbol(void 0),tr=Symbol(void 0),nr=[];let or=null;function rr(e=!1){nr.push(or=e?null:[])}function ir(){nr.pop(),or=nr[nr.length-1]||null}let sr,ar=1;function lr(e){ar+=e}function cr(e){return e.dynamicChildren=ar>0?or||r.EMPTY_ARR:null,ir(),ar>0&&or&&or.push(e),e}function ur(e,t,n,o,r,i){return cr(gr(e,t,n,o,r,i,!0))}function dr(e,t,n,o,r){return cr(br(e,t,n,o,r,!0))}function pr(e){return!!e&&!0===e.__v_isVNode}function fr(e,t){return e.type===t.type&&e.key===t.key}function hr(e){sr=e}const mr="__vInternal",vr=({key:e})=>null!=e?e:null,yr=({ref:e,ref_key:t,ref_for:n})=>null!=e?(0,r.isString)(e)||Fe(e)||(0,r.isFunction)(e)?{i:Pt,r:e,k:t,f:!!n}:e:null;function gr(e,t=null,n=null,o=0,i=null,s=(e===Jo?0:1),a=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&vr(t),ref:t&&yr(t),scopeId:At,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null};return l?(Tr(c,n),128&s&&e.normalize(c)):n&&(c.shapeFlag|=(0,r.isString)(n)?8:16),ar>0&&!a&&or&&(c.patchFlag>0||6&s)&&32!==c.patchFlag&&or.push(c),c}const br=_r;function _r(e,t=null,n=null,o=0,i=null,s=!1){if(e&&e!==Yn||(e=er),pr(e)){const o=xr(e,t,!0);return n&&Tr(o,n),ar>0&&!s&&or&&(6&o.shapeFlag?or[or.indexOf(e)]=o:or.push(o)),o.patchFlag|=-2,o}if(Jr(e)&&(e=e.__vccOpts),t){t=wr(t);let{class:e,style:n}=t;e&&!(0,r.isString)(e)&&(t.class=(0,r.normalizeClass)(e)),(0,r.isObject)(n)&&(Be(n)&&!(0,r.isArray)(n)&&(n=(0,r.extend)({},n)),t.style=(0,r.normalizeStyle)(n))}return gr(e,t,n,o,i,(0,r.isString)(e)?1:Kt(e)?128:(e=>e.__isTeleport)(e)?64:(0,r.isObject)(e)?4:(0,r.isFunction)(e)?2:0,s,!0)}function wr(e){return e?Be(e)||mr in e?(0,r.extend)({},e):e:null}function xr(e,t,n=!1){const{props:o,ref:i,patchFlag:s,children:a}=e,l=t?Br(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&vr(l),ref:t&&t.ref?n&&i?(0,r.isArray)(i)?i.concat(yr(t)):[i,yr(t)]:yr(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Jo?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&xr(e.ssContent),ssFallback:e.ssFallback&&xr(e.ssFallback),el:e.el,anchor:e.anchor}}function kr(e=" ",t=0){return br(Xo,null,e,t)}function Er(e,t){const n=br(tr,null,e);return n.staticCount=t,n}function Sr(e="",t=!1){return t?(rr(),dr(er,null,e)):br(er,null,e)}function Cr(e){return null==e||"boolean"==typeof e?br(er):(0,r.isArray)(e)?br(Jo,null,e.slice()):"object"==typeof e?Or(e):br(Xo,null,String(e))}function Or(e){return null===e.el||e.memo?e:xr(e)}function Tr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if((0,r.isArray)(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Tr(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||mr in t?3===o&&Pt&&(1===Pt.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Pt}}else(0,r.isFunction)(t)?(t={default:t,_ctx:Pt},n=32):(t=String(t),64&o?(n=16,t=[kr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Br(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=(0,r.normalizeClass)([t.class,o.class]));else if("style"===e)t.style=(0,r.normalizeStyle)([t.style,o.style]);else if((0,r.isOn)(e)){const n=t[e],i=o[e];!i||n===i||(0,r.isArray)(n)&&n.includes(i)||(t[e]=n?[].concat(n,i):i)}else""!==e&&(t[e]=o[e])}return t}function Mr(e,t,n,o=null){nt(e,t,7,[n,o])}const Vr=Po();let Nr=0;function Pr(e,t,n){const o=e.type,i=(t?t.appContext:e.appContext)||Vr,a={uid:Nr++,vnode:e,type:o,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new s(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ko(o,i),emitsOptions:Vt(o,i),emit:null,emitted:null,propsDefaults:r.EMPTY_OBJ,inheritAttrs:o.inheritAttrs,ctx:r.EMPTY_OBJ,data:r.EMPTY_OBJ,props:r.EMPTY_OBJ,attrs:r.EMPTY_OBJ,slots:r.EMPTY_OBJ,refs:r.EMPTY_OBJ,setupState:r.EMPTY_OBJ,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=Mt.bind(null,a),e.ce&&e.ce(a),a}let Ar=null;const qr=()=>Ar||Pt,Fr=e=>{Ar=e,e.scope.on()},Lr=()=>{Ar&&Ar.scope.off(),Ar=null};function Ir(e){return 4&e.vnode.shapeFlag}let Dr,jr,Rr=!1;function $r(e,t=!1){Rr=t;const{props:n,children:o}=e.vnode,i=Ir(e);!function(e,t,n,o=!1){const i={},s={};(0,r.def)(s,mr,1),e.propsDefaults=Object.create(null),wo(e,t,i,s);for(const t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=o?i:xe(i):e.type.props?e.props=i:e.props=s,e.attrs=s}(e,n,i,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Me(t),(0,r.def)(t,"_",n)):Vo(t,e.slots={})}else e.slots={},t&&No(e,t);(0,r.def)(e.slots,mr,1)})(e,o);const s=i?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=Ve(new Proxy(e.ctx,ao)),!1;const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?Wr(e):null;Fr(e),C();const i=tt(o,e,0,[e.props,n]);if(O(),Lr(),(0,r.isPromise)(i)){if(i.then(Lr,Lr),t)return i.then((n=>{zr(e,n,t)})).catch((t=>{ot(t,e,0)}));e.asyncDep=i}else zr(e,i,t)}else Kr(e,t)}(e,t):void 0;return Rr=!1,s}function zr(e,t,n){(0,r.isFunction)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,r.isObject)(t)&&(e.setupState=He(t)),Kr(e,n)}function Hr(e){Dr=e,jr=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,lo))}}const Ur=()=>!Dr;function Kr(e,t,n){const o=e.type;if(!e.render){if(!t&&Dr&&!o.render){const t=o.template;if(t){0;const{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:a}=o,l=(0,r.extend)((0,r.extend)({isCustomElement:n,delimiters:s},i),a);o.render=Dr(t,l)}}e.render=o.render||r.NOOP,jr&&jr(e)}Fr(e),C(),uo(e),O(),Lr()}function Wr(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>(T(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}function Qr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(He(Ve(e.exposed)),{get:(t,n)=>n in t?t[n]:n in so?so[n](e):void 0}))}const Yr=/(?:^|[-_])(\w)/g;function Gr(e,t=!0){return(0,r.isFunction)(e)?e.displayName||e.name:e.name||t&&e.__name}function Zr(e,t,n=!1){let o=Gr(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(Yr,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function Jr(e){return(0,r.isFunction)(e)&&"__vccOpts"in e}const Xr=(e,t)=>function(e,t,n=!1){let o,i;const s=(0,r.isFunction)(e);return s?(o=e,i=r.NOOP):(o=e.get,i=e.set),new Ge(o,i,s||!i,n)}(e,0,Rr);function ei(){return null}function ti(){return null}function ni(e){0}function oi(e,t){return null}function ri(){return si().slots}function ii(){return si().attrs}function si(){const e=qr();return e.setupContext||(e.setupContext=Wr(e))}function ai(e,t){const n=(0,r.isArray)(e)?e.reduce(((e,t)=>(e[t]={},e)),{}):e;for(const e in t){const o=n[e];o?(0,r.isArray)(o)||(0,r.isFunction)(o)?n[e]={type:o,default:t[e]}:o.default=t[e]:null===o&&(n[e]={default:t[e]})}return n}function li(e,t){const n={};for(const o in e)t.includes(o)||Object.defineProperty(n,o,{enumerable:!0,get:()=>e[o]});return n}function ci(e){const t=qr();let n=e();return Lr(),(0,r.isPromise)(n)&&(n=n.catch((e=>{throw Fr(t),e}))),[n,()=>Fr(t)]}function ui(e,t,n){const o=arguments.length;return 2===o?(0,r.isObject)(t)&&!(0,r.isArray)(t)?pr(t)?br(e,null,[t]):br(e,t):br(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&pr(n)&&(n=[n]),br(e,t,n))}const di=Symbol(""),pi=()=>{{const e=en(di);return e||Je("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function fi(){return void 0}function hi(e,t,n,o){const r=n[o];if(r&&mi(r,e))return r;const i=t();return i.memo=e.slice(),n[o]=i}function mi(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if((0,r.hasChanged)(n[e],t[e]))return!1;return ar>0&&or&&or.push(e),!0}const vi="3.2.37",yi={createComponentInstance:Pr,setupComponent:$r,renderComponentRoot:jt,setCurrentRenderingInstance:qt,isVNode:pr,normalizeVNode:Cr},gi=null,bi=null,_i="undefined"!=typeof document?document:null,wi=_i&&_i.createElement("template"),xi={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t?_i.createElementNS("http://www.w3.org/2000/svg",e):_i.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>_i.createTextNode(e),createComment:e=>_i.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_i.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{wi.innerHTML=o?`<svg>${e}</svg>`:e;const r=wi.content;if(o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};const ki=/\s*!important$/;function Ei(e,t,n){if((0,r.isArray)(n))n.forEach((n=>Ei(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Ci[t];if(n)return n;let o=(0,r.camelize)(t);if("filter"!==o&&o in e)return Ci[t]=o;o=(0,r.capitalize)(o);for(let n=0;n<Si.length;n++){const r=Si[n]+o;if(r in e)return Ci[t]=r}return t}(e,t);ki.test(n)?e.setProperty((0,r.hyphenate)(o),n.replace(ki,""),"important"):e[o]=n}}const Si=["Webkit","Moz","ms"],Ci={};const Oi="http://www.w3.org/1999/xlink";const[Ti,Bi]=(()=>{let e=Date.now,t=!1;if("undefined"!=typeof window){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Mi=0;const Vi=Promise.resolve(),Ni=()=>{Mi=0};function Pi(e,t,n,o){e.addEventListener(t,n,o)}function Ai(e,t,n,o,i=null){const s=e._vei||(e._vei={}),a=s[t];if(o&&a)a.value=o;else{const[n,l]=function(e){let t;if(qi.test(e)){let n;for(t={};n=e.match(qi);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[(0,r.hyphenate)(e.slice(2)),t]}(t);if(o){const a=s[t]=function(e,t){const n=e=>{const o=e.timeStamp||Ti();(Bi||o>=n.attached-1)&&nt(function(e,t){if((0,r.isArray)(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Mi||(Vi.then(Ni),Mi=Ti()))(),n}(o,i);Pi(e,n,a,l)}else a&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,a,l),s[t]=void 0)}}const qi=/(?:Once|Passive|Capture)$/;const Fi=/^on[a-z]/;function Li(e,t){const n=_n(e);class o extends ji{constructor(e){super(n,e,t)}}return o.def=n,o}const Ii=e=>Li(e,$s),Di="undefined"!=typeof HTMLElement?HTMLElement:class{};class ji extends Di{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,yt((()=>{this._connected||(Rs(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);new MutationObserver((e=>{for(const t of e)this._setAttr(t.attributeName)})).observe(this,{attributes:!0});const e=e=>{const{props:t,styles:n}=e,o=!(0,r.isArray)(t),i=t?o?Object.keys(t):t:[];let s;if(o)for(const e in this._props){const n=t[e];(n===Number||n&&n.type===Number)&&(this._props[e]=(0,r.toNumber)(this._props[e]),(s||(s=Object.create(null)))[e]=!0)}this._numberProps=s;for(const e of Object.keys(this))"_"!==e[0]&&this._setProp(e,this[e],!0,!1);for(const e of i.map(r.camelize))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t)}});this._applyStyles(n),this._update()},t=this._def.__asyncLoader;t?t().then(e):e(this._def)}_setAttr(e){let t=this.getAttribute(e);this._numberProps&&this._numberProps[e]&&(t=(0,r.toNumber)(t)),this._setProp((0,r.camelize)(e),t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,o=!0){t!==this._props[e]&&(this._props[e]=t,o&&this._instance&&this._update(),n&&(!0===t?this.setAttribute((0,r.hyphenate)(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute((0,r.hyphenate)(e),t+""):t||this.removeAttribute((0,r.hyphenate)(e))))}_update(){Rs(this._createVNode(),this.shadowRoot)}_createVNode(){const e=br(this._def,(0,r.extend)({},this._props));return this._instance||(e.ce=e=>{this._instance=e,e.isCE=!0,e.emit=(e,...t)=>{this.dispatchEvent(new CustomEvent(e,{detail:t}))};let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof ji){e.parent=t._instance;break}}),e}_applyStyles(e){e&&e.forEach((e=>{const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)}))}}function Ri(e="$style"){{const t=qr();if(!t)return r.EMPTY_OBJ;const n=t.type.__cssModules;if(!n)return r.EMPTY_OBJ;const o=n[e];return o||r.EMPTY_OBJ}}function $i(e){const t=qr();if(!t)return;const n=()=>zi(t.subTree,e(t.proxy));nn(n),Fn((()=>{const e=new MutationObserver(n);e.observe(t.subTree.el.parentNode,{childList:!0}),jn((()=>e.disconnect()))}))}function zi(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{zi(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)Hi(e.el,t);else if(e.type===Jo)e.children.forEach((e=>zi(e,t)));else if(e.type===tr){let{el:n,anchor:o}=e;for(;n&&(Hi(n,t),n!==o);)n=n.nextSibling}}function Hi(e,t){if(1===e.nodeType){const n=e.style;for(const e in t)n.setProperty(`--${e}`,t[e])}}const Ui="transition",Ki="animation",Wi=(e,{slots:t})=>ui(fn,Ji(e),t);Wi.displayName="Transition";const Qi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Yi=Wi.props=(0,r.extend)({},fn.props,Qi),Gi=(e,t=[])=>{(0,r.isArray)(e)?e.forEach((e=>e(...t))):e&&e(...t)},Zi=e=>!!e&&((0,r.isArray)(e)?e.some((e=>e.length>1)):e.length>1);function Ji(e){const t={};for(const n in e)n in Qi||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:o,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=s,appearActiveClass:u=a,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if((0,r.isObject)(e))return[Xi(e.enter),Xi(e.leave)];{const t=Xi(e);return[t,t]}}(i),v=m&&m[0],y=m&&m[1],{onBeforeEnter:g,onEnter:b,onEnterCancelled:_,onLeave:w,onLeaveCancelled:x,onBeforeAppear:k=g,onAppear:E=b,onAppearCancelled:S=_}=t,C=(e,t,n)=>{ts(e,t?d:l),ts(e,t?u:a),n&&n()},O=(e,t)=>{e._isLeaving=!1,ts(e,p),ts(e,h),ts(e,f),t&&t()},T=e=>(t,n)=>{const r=e?E:b,i=()=>C(t,e,n);Gi(r,[t,i]),ns((()=>{ts(t,e?c:s),es(t,e?d:l),Zi(r)||rs(t,o,v,i)}))};return(0,r.extend)(t,{onBeforeEnter(e){Gi(g,[e]),es(e,s),es(e,a)},onBeforeAppear(e){Gi(k,[e]),es(e,c),es(e,u)},onEnter:T(!1),onAppear:T(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>O(e,t);es(e,p),ls(),es(e,f),ns((()=>{e._isLeaving&&(ts(e,p),es(e,h),Zi(w)||rs(e,o,y,n))})),Gi(w,[e,n])},onEnterCancelled(e){C(e,!1),Gi(_,[e])},onAppearCancelled(e){C(e,!0),Gi(S,[e])},onLeaveCancelled(e){O(e),Gi(x,[e])}})}function Xi(e){return(0,r.toNumber)(e)}function es(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function ts(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ns(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let os=0;function rs(e,t,n,o){const r=e._endId=++os,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=is(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,p),i()},p=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),a+1),e.addEventListener(c,p)}function is(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),s=ss(r,i),a=o("animationDelay"),l=o("animationDuration"),c=ss(a,l);let u=null,d=0,p=0;t===Ui?s>0&&(u=Ui,d=s,p=i.length):t===Ki?c>0&&(u=Ki,d=c,p=l.length):(d=Math.max(s,c),u=d>0?s>c?Ui:Ki:null,p=u?u===Ui?i.length:l.length:0);return{type:u,timeout:d,propCount:p,hasTransform:u===Ui&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function ss(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>as(t)+as(e[n]))))}function as(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ls(){return document.body.offsetHeight}const cs=new WeakMap,us=new WeakMap,ds={name:"TransitionGroup",props:(0,r.extend)({},Yi,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=qr(),o=dn();let r,i;return In((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:i}=is(o);return r.removeChild(o),i}(r[0].el,n.vnode.el,t))return;r.forEach(ps),r.forEach(fs);const o=r.filter(hs);ls(),o.forEach((e=>{const n=e.el,o=n.style;es(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,ts(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const s=Me(e),a=Ji(s);let l=s.tag||Jo;r=i,i=t.default?bn(t.default()):[];for(let e=0;e<i.length;e++){const t=i[e];null!=t.key&&gn(t,mn(t,a,o,n))}if(r)for(let e=0;e<r.length;e++){const t=r[e];gn(t,mn(t,a,o,n)),cs.set(t,t.el.getBoundingClientRect())}return br(l,null,i)}}};function ps(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function fs(e){us.set(e,e.el.getBoundingClientRect())}function hs(e){const t=cs.get(e),n=us.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${o}px,${r}px)`,t.transitionDuration="0s",e}}const ms=e=>{const t=e.props["onUpdate:modelValue"]||!1;return(0,r.isArray)(t)?e=>(0,r.invokeArrayFns)(t,e):t};function vs(e){e.target.composing=!0}function ys(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const gs={created(e,{modifiers:{lazy:t,trim:n,number:o}},i){e._assign=ms(i);const s=o||i.props&&"number"===i.props.type;Pi(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n&&(o=o.trim()),s&&(o=(0,r.toNumber)(o)),e._assign(o)})),n&&Pi(e,"change",(()=>{e.value=e.value.trim()})),t||(Pi(e,"compositionstart",vs),Pi(e,"compositionend",ys),Pi(e,"change",ys))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:i}},s){if(e._assign=ms(s),e.composing)return;if(document.activeElement===e&&"range"!==e.type){if(n)return;if(o&&e.value.trim()===t)return;if((i||"number"===e.type)&&(0,r.toNumber)(e.value)===t)return}const a=null==t?"":t;e.value!==a&&(e.value=a)}},bs={deep:!0,created(e,t,n){e._assign=ms(n),Pi(e,"change",(()=>{const t=e._modelValue,n=Es(e),o=e.checked,i=e._assign;if((0,r.isArray)(t)){const e=(0,r.looseIndexOf)(t,n),s=-1!==e;if(o&&!s)i(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),i(n)}}else if((0,r.isSet)(t)){const e=new Set(t);o?e.add(n):e.delete(n),i(e)}else i(Ss(e,o))}))},mounted:_s,beforeUpdate(e,t,n){e._assign=ms(n),_s(e,t,n)}};function _s(e,{value:t,oldValue:n},o){e._modelValue=t,(0,r.isArray)(t)?e.checked=(0,r.looseIndexOf)(t,o.props.value)>-1:(0,r.isSet)(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=(0,r.looseEqual)(t,Ss(e,!0)))}const ws={created(e,{value:t},n){e.checked=(0,r.looseEqual)(t,n.props.value),e._assign=ms(n),Pi(e,"change",(()=>{e._assign(Es(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=ms(o),t!==n&&(e.checked=(0,r.looseEqual)(t,o.props.value))}},xs={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const i=(0,r.isSet)(t);Pi(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?(0,r.toNumber)(Es(e)):Es(e)));e._assign(e.multiple?i?new Set(t):t:t[0])})),e._assign=ms(o)},mounted(e,{value:t}){ks(e,t)},beforeUpdate(e,t,n){e._assign=ms(n)},updated(e,{value:t}){ks(e,t)}};function ks(e,t){const n=e.multiple;if(!n||(0,r.isArray)(t)||(0,r.isSet)(t)){for(let o=0,i=e.options.length;o<i;o++){const i=e.options[o],s=Es(i);if(n)(0,r.isArray)(t)?i.selected=(0,r.looseIndexOf)(t,s)>-1:i.selected=t.has(s);else if((0,r.looseEqual)(Es(i),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Es(e){return"_value"in e?e._value:e.value}function Ss(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Cs={created(e,t,n){Ts(e,t,n,null,"created")},mounted(e,t,n){Ts(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Ts(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Ts(e,t,n,o,"updated")}};function Os(e,t){switch(e){case"SELECT":return xs;case"TEXTAREA":return gs;default:switch(t){case"checkbox":return bs;case"radio":return ws;default:return gs}}}function Ts(e,t,n,o,r){const i=Os(e.tagName,n.props&&n.props.type)[r];i&&i(e,t,n,o)}const Bs=["ctrl","shift","alt","meta"],Ms={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Bs.some((n=>e[`${n}Key`]&&!t.includes(n)))},Vs=(e,t)=>(n,...o)=>{for(let e=0;e<t.length;e++){const o=Ms[t[e]];if(o&&o(n,t))return}return e(n,...o)},Ns={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ps=(e,t)=>n=>{if(!("key"in n))return;const o=(0,r.hyphenate)(n.key);return t.some((e=>e===o||Ns[e]===o))?e(n):void 0},As={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):qs(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),qs(e,!0),o.enter(e)):o.leave(e,(()=>{qs(e,!1)})):qs(e,t))},beforeUnmount(e,{value:t}){qs(e,t)}};function qs(e,t){e.style.display=t?e._vod:"none"}const Fs=(0,r.extend)({patchProp:(e,t,n,o,i=!1,s,a,l,c)=>{"class"===t?function(e,t,n){const o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,i):"style"===t?function(e,t,n){const o=e.style,i=(0,r.isString)(n);if(n&&!i){for(const e in n)Ei(o,e,n[e]);if(t&&!(0,r.isString)(t))for(const e in t)null==n[e]&&Ei(o,e,"")}else{const r=o.display;i?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=r)}}(e,n,o):(0,r.isOn)(t)?(0,r.isModelListener)(t)||Ai(e,t,0,o,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&Fi.test(t)&&(0,r.isFunction)(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(Fi.test(t)&&(0,r.isString)(n))return!1;return t in e}(e,t,o,i))?function(e,t,n,o,i,s,a){if("innerHTML"===t||"textContent"===t)return o&&a(o,i,s),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const o=null==n?"":n;return e.value===o&&"OPTION"!==e.tagName||(e.value=o),void(null==n&&e.removeAttribute(t))}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=(0,r.includeBooleanAttr)(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(e){}l&&e.removeAttribute(t)}(e,t,o,s,a,l,c):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,i){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Oi,t.slice(6,t.length)):e.setAttributeNS(Oi,t,n);else{const o=(0,r.isSpecialBooleanAttr)(t);null==n||o&&!(0,r.includeBooleanAttr)(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,i))}},xi);let Ls,Is=!1;function Ds(){return Ls||(Ls=$o(Fs))}function js(){return Ls=Is?Ls:zo(Fs),Is=!0,Ls}const Rs=(...e)=>{Ds().render(...e)},$s=(...e)=>{js().hydrate(...e)},zs=(...e)=>{const t=Ds().createApp(...e);const{mount:n}=t;return t.mount=e=>{const o=Us(e);if(!o)return;const i=t._component;(0,r.isFunction)(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},Hs=(...e)=>{const t=js().createApp(...e);const{mount:n}=t;return t.mount=e=>{const t=Us(e);if(t)return n(t,!0,t instanceof SVGElement)},t};function Us(e){if((0,r.isString)(e)){return document.querySelector(e)}return e}let Ks=!1;const Ws=()=>{Ks||(Ks=!0,gs.getSSRProps=({value:e})=>({value:e}),ws.getSSRProps=({value:e},t)=>{if(t.props&&(0,r.looseEqual)(t.props.value,e))return{checked:!0}},bs.getSSRProps=({value:e},t)=>{if((0,r.isArray)(e)){if(t.props&&(0,r.looseIndexOf)(e,t.props.value)>-1)return{checked:!0}}else if((0,r.isSet)(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Cs.getSSRProps=(e,t)=>{if("string"!=typeof t.type)return;const n=Os(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0},As.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}})};function Qs(e){throw e}function Ys(e){}function Gs(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const Zs=Symbol(""),Js=Symbol(""),Xs=Symbol(""),ea=Symbol(""),ta=Symbol(""),na=Symbol(""),oa=Symbol(""),ra=Symbol(""),ia=Symbol(""),sa=Symbol(""),aa=Symbol(""),la=Symbol(""),ca=Symbol(""),ua=Symbol(""),da=Symbol(""),pa=Symbol(""),fa=Symbol(""),ha=Symbol(""),ma=Symbol(""),va=Symbol(""),ya=Symbol(""),ga=Symbol(""),ba=Symbol(""),_a=Symbol(""),wa=Symbol(""),xa=Symbol(""),ka=Symbol(""),Ea=Symbol(""),Sa=Symbol(""),Ca=Symbol(""),Oa=Symbol(""),Ta=Symbol(""),Ba=Symbol(""),Ma=Symbol(""),Va=Symbol(""),Na=Symbol(""),Pa=Symbol(""),Aa=Symbol(""),qa=Symbol(""),Fa={[Zs]:"Fragment",[Js]:"Teleport",[Xs]:"Suspense",[ea]:"KeepAlive",[ta]:"BaseTransition",[na]:"openBlock",[oa]:"createBlock",[ra]:"createElementBlock",[ia]:"createVNode",[sa]:"createElementVNode",[aa]:"createCommentVNode",[la]:"createTextVNode",[ca]:"createStaticVNode",[ua]:"resolveComponent",[da]:"resolveDynamicComponent",[pa]:"resolveDirective",[fa]:"resolveFilter",[ha]:"withDirectives",[ma]:"renderList",[va]:"renderSlot",[ya]:"createSlots",[ga]:"toDisplayString",[ba]:"mergeProps",[_a]:"normalizeClass",[wa]:"normalizeStyle",[xa]:"normalizeProps",[ka]:"guardReactiveProps",[Ea]:"toHandlers",[Sa]:"camelize",[Ca]:"capitalize",[Oa]:"toHandlerKey",[Ta]:"setBlockTracking",[Ba]:"pushScopeId",[Ma]:"popScopeId",[Va]:"withCtx",[Na]:"unref",[Pa]:"isRef",[Aa]:"withMemo",[qa]:"isMemoSame"};const La={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ia(e,t,n,o,r,i,s,a=!1,l=!1,c=!1,u=La){return e&&(a?(e.helper(na),e.helper(fl(e.inSSR,c))):e.helper(pl(e.inSSR,c)),s&&e.helper(ha)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:i,directives:s,isBlock:a,disableTracking:l,isComponent:c,loc:u}}function Da(e,t=La){return{type:17,loc:t,elements:e}}function ja(e,t=La){return{type:15,loc:t,properties:e}}function Ra(e,t){return{type:16,loc:La,key:(0,r.isString)(e)?$a(e,!0):e,value:t}}function $a(e,t=!1,n=La,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function za(e,t=La){return{type:8,loc:t,children:e}}function Ha(e,t=[],n=La){return{type:14,loc:n,callee:e,arguments:t}}function Ua(e,t,n=!1,o=!1,r=La){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Ka(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:La}}const Wa=e=>4===e.type&&e.isStatic,Qa=(e,t)=>e===t||e===(0,r.hyphenate)(t);function Ya(e){return Qa(e,"Teleport")?Js:Qa(e,"Suspense")?Xs:Qa(e,"KeepAlive")?ea:Qa(e,"BaseTransition")?ta:void 0}const Ga=/^\d|[^\$\w]/,Za=e=>!Ga.test(e),Ja=/[A-Za-z_$\xA0-\uFFFF]/,Xa=/[\.\?\w$\xA0-\uFFFF]/,el=/\s+[.[]\s*|\s*[.[]\s+/g,tl=e=>{e=e.trim().replace(el,(e=>e.trim()));let t=0,n=[],o=0,r=0,i=null;for(let s=0;s<e.length;s++){const a=e.charAt(s);switch(t){case 0:if("["===a)n.push(t),t=1,o++;else if("("===a)n.push(t),t=2,r++;else if(!(0===s?Ja:Xa).test(a))return!1;break;case 1:"'"===a||'"'===a||"`"===a?(n.push(t),t=3,i=a):"["===a?o++:"]"===a&&(--o||(t=n.pop()));break;case 2:if("'"===a||'"'===a||"`"===a)n.push(t),t=3,i=a;else if("("===a)r++;else if(")"===a){if(s===e.length-1)return!1;--r||(t=n.pop())}break;case 3:a===i&&(t=n.pop(),i=null)}}return!o&&!r};function nl(e,t,n){const o={source:e.source.slice(t,t+n),start:ol(e.start,e.source,t),end:e.end};return null!=n&&(o.end=ol(e.start,e.source,t+n)),o}function ol(e,t,n=t.length){return rl((0,r.extend)({},e),t,n)}function rl(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function il(e,t,n=!1){for(let o=0;o<e.props.length;o++){const i=e.props[o];if(7===i.type&&(n||i.exp)&&((0,r.isString)(t)?i.name===t:t.test(i.name)))return i}}function sl(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const i=e.props[r];if(6===i.type){if(n)continue;if(i.name===t&&(i.value||o))return i}else if("bind"===i.name&&(i.exp||o)&&al(i.arg,t))return i}}function al(e,t){return!(!e||!Wa(e)||e.content!==t)}function ll(e){return 5===e.type||2===e.type}function cl(e){return 7===e.type&&"slot"===e.name}function ul(e){return 1===e.type&&3===e.tagType}function dl(e){return 1===e.type&&2===e.tagType}function pl(e,t){return e||t?ia:sa}function fl(e,t){return e||t?oa:ra}const hl=new Set([xa,ka]);function ml(e,t=[]){if(e&&!(0,r.isString)(e)&&14===e.type){const n=e.callee;if(!(0,r.isString)(n)&&hl.has(n))return ml(e.arguments[0],t.concat(e))}return[e,t]}function vl(e,t,n){let o,i,s=13===e.type?e.props:e.arguments[2],a=[];if(s&&!(0,r.isString)(s)&&14===s.type){const e=ml(s);s=e[0],a=e[1],i=a[a.length-1]}if(null==s||(0,r.isString)(s))o=ja([t]);else if(14===s.type){const e=s.arguments[0];(0,r.isString)(e)||15!==e.type?s.callee===Ea?o=Ha(n.helper(ba),[ja([t]),s]):s.arguments.unshift(ja([t])):e.properties.unshift(t),!o&&(o=s)}else if(15===s.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=s.properties.some((e=>4===e.key.type&&e.key.content===n))}e||s.properties.unshift(t),o=s}else o=Ha(n.helper(ba),[ja([t]),s]),i&&i.callee===ka&&(i=a[a.length-2]);13===e.type?i?i.arguments[0]=o:e.props=o:i?i.arguments[0]=o:e.arguments[2]=o}function yl(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function gl(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(pl(o,e.isComponent)),t(na),t(fl(o,e.isComponent)))}function bl(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function _l(e,t){const n=bl("MODE",t),o=bl(e,t);return 3===n?!0===o:!1!==o}function wl(e,t,n,...o){return _l(e,t)}const xl=/&(gt|lt|amp|apos|quot);/g,kl={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},El={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:r.NO,isPreTag:r.NO,isCustomElement:r.NO,decodeEntities:e=>e.replace(xl,((e,t)=>kl[t])),onError:Qs,onWarn:Ys,comments:!1};function Sl(e,t={}){const n=function(e,t){const n=(0,r.extend)({},El);let o;for(o in t)n[o]=void 0===t[o]?El[o]:t[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=Dl(n);return function(e,t=La){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(Cl(n,0,[]),jl(n,o))}function Cl(e,t,n){const o=Rl(n),i=o?o.ns:0,s=[];for(;!Wl(e,t,n);){const a=e.source;let l;if(0===t||1===t)if(!e.inVPre&&$l(a,e.options.delimiters[0]))l=Fl(e,t);else if(0===t&&"<"===a[0])if(1===a.length)Kl(e,5,1);else if("!"===a[1])$l(a,"\x3c!--")?l=Bl(e):$l(a,"<!DOCTYPE")?l=Ml(e):$l(a,"<![CDATA[")?0!==i?l=Tl(e,n):(Kl(e,1),l=Ml(e)):(Kl(e,11),l=Ml(e));else if("/"===a[1])if(2===a.length)Kl(e,5,2);else{if(">"===a[2]){Kl(e,14,2),zl(e,3);continue}if(/[a-z]/i.test(a[2])){Kl(e,23),Pl(e,1,o);continue}Kl(e,12,2),l=Ml(e)}else/[a-z]/i.test(a[1])?(l=Vl(e,n),_l("COMPILER_NATIVE_TEMPLATE",e)&&l&&"template"===l.tag&&!l.props.some((e=>7===e.type&&Nl(e.name)))&&(l=l.children)):"?"===a[1]?(Kl(e,21,1),l=Ml(e)):Kl(e,12,1);if(l||(l=Ll(e,t)),(0,r.isArray)(l))for(let e=0;e<l.length;e++)Ol(s,l[e]);else Ol(s,l)}let a=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(e.inPre||2!==o.type)3!==o.type||e.options.comments||(a=!0,s[n]=null);else if(/[^\t\r\n\f ]/.test(o.content))t&&(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||t&&(3===e.type||3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(a=!0,s[n]=null):o.content=" "}}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return a?s.filter(Boolean):s}function Ol(e,t){if(2===t.type){const n=Rl(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function Tl(e,t){zl(e,9);const n=Cl(e,3,t);return 0===e.source.length?Kl(e,6):zl(e,3),n}function Bl(e){const t=Dl(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){o.index<=3&&Kl(e,0),o[1]&&Kl(e,10),n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,i=0;for(;-1!==(i=t.indexOf("\x3c!--",r));)zl(e,i-r+1),i+4<t.length&&Kl(e,16),r=i+1;zl(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),zl(e,e.source.length),Kl(e,7);return{type:3,content:n,loc:jl(e,t)}}function Ml(e){const t=Dl(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),zl(e,e.source.length)):(o=e.source.slice(n,r),zl(e,r+1)),{type:3,content:o,loc:jl(e,t)}}function Vl(e,t){const n=e.inPre,o=e.inVPre,r=Rl(t),i=Pl(e,0,r),s=e.inPre&&!n,a=e.inVPre&&!o;if(i.isSelfClosing||e.options.isVoidTag(i.tag))return s&&(e.inPre=!1),a&&(e.inVPre=!1),i;t.push(i);const l=e.options.getTextMode(i,r),c=Cl(e,l,t);t.pop();{const t=i.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&wl("COMPILER_INLINE_TEMPLATE",e,t.loc)){const n=jl(e,i.loc.end);t.value={type:2,content:n.source,loc:n}}}if(i.children=c,Ql(e.source,i.tag))Pl(e,1,r);else if(Kl(e,24,0,i.loc.start),0===e.source.length&&"script"===i.tag.toLowerCase()){const t=c[0];t&&$l(t.loc.source,"\x3c!--")&&Kl(e,8)}return i.loc=jl(e,i.loc.start),s&&(e.inPre=!1),a&&(e.inVPre=!1),i}const Nl=(0,r.makeMap)("if,else,else-if,for,slot");function Pl(e,t,n){const o=Dl(e),i=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=i[1],a=e.options.getNamespace(s,n);zl(e,i[0].length),Hl(e);const l=Dl(e),c=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let u=Al(e,t);0===t&&!e.inVPre&&u.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,(0,r.extend)(e,l),e.source=c,u=Al(e,t).filter((e=>"v-pre"!==e.name)));let d=!1;if(0===e.source.length?Kl(e,9):(d=$l(e.source,"/>"),1===t&&d&&Kl(e,4),zl(e,d?2:1)),1===t)return;let p=0;return e.inVPre||("slot"===s?p=2:"template"===s?u.some((e=>7===e.type&&Nl(e.name)))&&(p=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Ya(e)||o.isBuiltInComponent&&o.isBuiltInComponent(e)||o.isNativeTag&&!o.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){const o=t[e];if(6===o.type){if("is"===o.name&&o.value){if(o.value.content.startsWith("vue:"))return!0;if(wl("COMPILER_IS_ON_ELEMENT",n,o.loc))return!0}}else{if("is"===o.name)return!0;if("bind"===o.name&&al(o.arg,"is")&&wl("COMPILER_IS_ON_ELEMENT",n,o.loc))return!0}}}(s,u,e)&&(p=1)),{type:1,ns:a,tag:s,tagType:p,props:u,isSelfClosing:d,children:[],loc:jl(e,o),codegenNode:void 0}}function Al(e,t){const n=[],o=new Set;for(;e.source.length>0&&!$l(e.source,">")&&!$l(e.source,"/>");){if($l(e.source,"/")){Kl(e,22),zl(e,1),Hl(e);continue}1===t&&Kl(e,3);const r=ql(e,o);6===r.type&&r.value&&"class"===r.name&&(r.value.content=r.value.content.replace(/\s+/g," ").trim()),0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source)&&Kl(e,15),Hl(e)}return n}function ql(e,t){const n=Dl(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o)&&Kl(e,2),t.add(o),"="===o[0]&&Kl(e,19);{const t=/["'<]/g;let n;for(;n=t.exec(o);)Kl(e,17,n.index)}let r;zl(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Hl(e),zl(e,1),Hl(e),r=function(e){const t=Dl(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){zl(e,1);const t=e.source.indexOf(o);-1===t?n=Il(e,e.source.length,4):(n=Il(e,t,4),zl(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]);)Kl(e,18,r.index);n=Il(e,t[0].length,4)}return{content:n,isQuoted:r,loc:jl(e,t)}}(e),r||Kl(e,13));const i=jl(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let s,a=$l(o,"."),l=t[1]||(a||$l(o,":")?"bind":$l(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,i=o.lastIndexOf(t[2]),a=jl(e,Ul(e,n,i),Ul(e,n,i+t[2].length+(r&&t[3]||"").length));let c=t[2],u=!0;c.startsWith("[")?(u=!1,c.endsWith("]")?c=c.slice(1,c.length-1):(Kl(e,27),c=c.slice(1))):r&&(c+=t[3]||""),s={type:4,content:c,isStatic:u,constType:u?3:0,loc:a}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=ol(e.start,r.content),e.source=e.source.slice(1,-1)}const c=t[3]?t[3].slice(1).split("."):[];return a&&c.push("prop"),"bind"===l&&s&&c.includes("sync")&&wl("COMPILER_V_BIND_SYNC",e,0,s.loc.source)&&(l="model",c.splice(c.indexOf("sync"),1)),{type:7,name:l,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:s,modifiers:c,loc:i}}return!e.inVPre&&$l(o,"v-")&&Kl(e,26),{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:i}}function Fl(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return void Kl(e,25);const i=Dl(e);zl(e,n.length);const s=Dl(e),a=Dl(e),l=r-n.length,c=e.source.slice(0,l),u=Il(e,l,t),d=u.trim(),p=u.indexOf(d);p>0&&rl(s,c,p);return rl(a,c,l-(u.length-d.length-p)),zl(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:d,loc:jl(e,s,a)},loc:jl(e,i)}}function Ll(e,t){const n=3===t?["]]>"]:["<",e.options.delimiters[0]];let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=Dl(e);return{type:2,content:Il(e,o,t),loc:jl(e,r)}}function Il(e,t,n){const o=e.source.slice(0,t);return zl(e,t),2!==n&&3!==n&&o.includes("&")?e.options.decodeEntities(o,4===n):o}function Dl(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function jl(e,t,n){return{start:t,end:n=n||Dl(e),source:e.originalSource.slice(t.offset,n.offset)}}function Rl(e){return e[e.length-1]}function $l(e,t){return e.startsWith(t)}function zl(e,t){const{source:n}=e;rl(e,n,t),e.source=n.slice(t)}function Hl(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&zl(e,t[0].length)}function Ul(e,t,n){return ol(t,e.originalSource.slice(t.offset,n),n)}function Kl(e,t,n,o=Dl(e)){n&&(o.offset+=n,o.column+=n),e.options.onError(Gs(t,{start:o,end:o,source:""}))}function Wl(e,t,n){const o=e.source;switch(t){case 0:if($l(o,"</"))for(let e=n.length-1;e>=0;--e)if(Ql(o,n[e].tag))return!0;break;case 1:case 2:{const e=Rl(n);if(e&&Ql(o,e.tag))return!0;break}case 3:if($l(o,"]]>"))return!0}return!o}function Ql(e,t){return $l(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Yl(e,t){Zl(e,t,Gl(e,e.children[0]))}function Gl(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!dl(t)}function Zl(e,t,n=!1){const{children:o}=e,i=o.length;let s=0;for(let e=0;e<o.length;e++){const r=o[e];if(1===r.type&&0===r.tagType){const e=n?0:Jl(r,t);if(e>0){if(e>=2){r.codegenNode.patchFlag="-1",r.codegenNode=t.hoist(r.codegenNode),s++;continue}}else{const e=r.codegenNode;if(13===e.type){const n=oc(e);if((!n||512===n||1===n)&&tc(r,t)>=2){const n=nc(r);n&&(e.props=t.hoist(n))}e.dynamicProps&&(e.dynamicProps=t.hoist(e.dynamicProps))}}}else 12===r.type&&Jl(r.content,t)>=2&&(r.codegenNode=t.hoist(r.codegenNode),s++);if(1===r.type){const e=1===r.tagType;e&&t.scopes.vSlot++,Zl(r,t),e&&t.scopes.vSlot--}else if(11===r.type)Zl(r,t,1===r.children.length);else if(9===r.type)for(let e=0;e<r.branches.length;e++)Zl(r.branches[e],t,1===r.branches[e].children.length)}s&&t.transformHoist&&t.transformHoist(o,t,e),s&&s===i&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&(0,r.isArray)(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(Da(e.codegenNode.children)))}function Jl(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const i=e.codegenNode;if(13!==i.type)return 0;if(i.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(oc(i))return n.set(e,0),0;{let o=3;const r=tc(e,t);if(0===r)return n.set(e,0),0;r<o&&(o=r);for(let r=0;r<e.children.length;r++){const i=Jl(e.children[r],t);if(0===i)return n.set(e,0),0;i<o&&(o=i)}if(o>1)for(let r=0;r<e.props.length;r++){const i=e.props[r];if(7===i.type&&"bind"===i.name&&i.exp){const r=Jl(i.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}if(i.isBlock){for(let t=0;t<e.props.length;t++){if(7===e.props[t].type)return n.set(e,0),0}t.removeHelper(na),t.removeHelper(fl(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(pl(t.inSSR,i.isComponent))}return n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return Jl(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if((0,r.isString)(o)||(0,r.isSymbol)(o))continue;const i=Jl(o,t);if(0===i)return 0;i<s&&(s=i)}return s}}const Xl=new Set([_a,wa,xa,ka]);function ec(e,t){if(14===e.type&&!(0,r.isString)(e.callee)&&Xl.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Jl(n,t);if(14===n.type)return ec(n,t)}return 0}function tc(e,t){let n=3;const o=nc(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:i}=e[o],s=Jl(r,t);if(0===s)return s;let a;if(s<n&&(n=s),a=4===i.type?Jl(i,t):14===i.type?ec(i,t):0,0===a)return a;a<n&&(n=a)}}return n}function nc(e){const t=e.codegenNode;if(13===t.type)return t.props}function oc(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function rc(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:i=!1,nodeTransforms:s=[],directiveTransforms:a={},transformHoist:l=null,isBuiltInComponent:c=r.NOOP,isCustomElement:u=r.NOOP,expressionPlugins:d=[],scopeId:p=null,slotted:f=!0,ssr:h=!1,inSSR:m=!1,ssrCssVars:v="",bindingMetadata:y=r.EMPTY_OBJ,inline:g=!1,isTS:b=!1,onError:_=Qs,onWarn:w=Ys,compatConfig:x}){const k=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),E={selfName:k&&(0,r.capitalize)((0,r.camelize)(k[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:i,nodeTransforms:s,directiveTransforms:a,transformHoist:l,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:d,scopeId:p,slotted:f,ssr:h,inSSR:m,ssrCssVars:v,bindingMetadata:y,inline:g,isTS:b,onError:_,onWarn:w,compatConfig:x,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=E.helpers.get(e)||0;return E.helpers.set(e,t+1),e},removeHelper(e){const t=E.helpers.get(e);if(t){const n=t-1;n?E.helpers.set(e,n):E.helpers.delete(e)}},helperString:e=>`_${Fa[E.helper(e)]}`,replaceNode(e){E.parent.children[E.childIndex]=E.currentNode=e},removeNode(e){const t=E.parent.children,n=e?t.indexOf(e):E.currentNode?E.childIndex:-1;e&&e!==E.currentNode?E.childIndex>n&&(E.childIndex--,E.onNodeRemoved()):(E.currentNode=null,E.onNodeRemoved()),E.parent.children.splice(n,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){(0,r.isString)(e)&&(e=$a(e)),E.hoists.push(e);const t=$a(`_hoisted_${E.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:La}}(E.cached++,e,t)};return E.filters=new Set,E}function ic(e,t){const n=rc(e,t);sc(e,n),t.hoistStatic&&Yl(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Gl(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&gl(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;r.PatchFlagNames[64];0,e.codegenNode=Ia(t,n(Zs),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function sc(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let i=0;i<n.length;i++){const s=n[i](e,t);if(s&&((0,r.isArray)(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(aa);break;case 5:t.ssr||t.helper(ga);break;case 9:for(let n=0;n<e.branches.length;n++)sc(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const i=e.children[n];(0,r.isString)(i)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,sc(i,t))}}(e,t)}t.currentNode=e;let i=o.length;for(;i--;)o[i]()}function ac(e,t){const n=(0,r.isString)(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(cl))return;const i=[];for(let s=0;s<r.length;s++){const a=r[s];if(7===a.type&&n(a.name)){r.splice(s,1),s--;const n=t(e,a,o);n&&i.push(n)}}return i}}}const lc="/*#__PURE__*/",cc=e=>`${Fa[e]}: _${Fa[e]}`;function uc(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:i=null,optimizeImports:s=!1,runtimeGlobalName:a="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:d=!1,inSSR:p=!1}){const f={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:i,optimizeImports:s,runtimeGlobalName:a,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:u,isTS:d,inSSR:p,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${Fa[e]}`,push(e,t){f.code+=e},indent(){h(++f.indentLevel)},deindent(e=!1){e?--f.indentLevel:h(--f.indentLevel)},newline(){h(f.indentLevel)}};function h(e){f.push("\n"+" ".repeat(e))}return f}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:i,indent:s,deindent:a,newline:l,scopeId:c,ssr:u}=n,d=e.helpers.length>0,p=!i&&"module"!==o;!function(e,t){const{ssr:n,prefixIdentifiers:o,push:r,newline:i,runtimeModuleName:s,runtimeGlobalName:a,ssrRuntimeModuleName:l}=t,c=a;if(e.helpers.length>0&&(r(`const _Vue = ${c}\n`),e.hoists.length)){r(`const { ${[ia,sa,aa,la,ca].filter((t=>e.helpers.includes(t))).map(cc).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o,helper:r,scopeId:i,mode:s}=t;o();for(let r=0;r<e.length;r++){const i=e[r];i&&(n(`const _hoisted_${r+1} = `),hc(i,t),o())}t.pure=!1})(e.hoists,t),i(),r("return ")}(e,n);if(r(`function ${u?"ssrRender":"render"}(${(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),s(),p&&(r("with (_ctx) {"),s(),d&&(r(`const { ${e.helpers.map(cc).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(dc(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(dc(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),dc(e.filters,"filter",n),l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),u||r("return "),e.codegenNode?hc(e.codegenNode,n):r("null"),p&&(a(),r("}")),a(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function dc(e,t,{helper:n,push:o,newline:r,isTS:i}){const s=n("filter"===t?fa:"component"===t?ua:pa);for(let n=0;n<e.length;n++){let a=e[n];const l=a.endsWith("__self");l&&(a=a.slice(0,-6)),o(`const ${yl(a,t)} = ${s}(${JSON.stringify(a)}${l?", true":""})${i?"!":""}`),n<e.length-1&&r()}}function pc(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),fc(e,t,n),n&&t.deindent(),t.push("]")}function fc(e,t,n=!1,o=!0){const{push:i,newline:s}=t;for(let a=0;a<e.length;a++){const l=e[a];(0,r.isString)(l)?i(l):(0,r.isArray)(l)?pc(l,t):hc(l,t),a<e.length-1&&(n?(o&&i(","),s()):o&&i(", "))}}function hc(e,t){if((0,r.isString)(e))t.push(e);else if((0,r.isSymbol)(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:hc(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:mc(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(lc);n(`${o(ga)}(`),hc(e.content,t),n(")")}(e,t);break;case 8:vc(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(lc);n(`${o(aa)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:i,props:s,children:a,patchFlag:l,dynamicProps:c,directives:u,isBlock:d,disableTracking:p,isComponent:f}=e;u&&n(o(ha)+"(");d&&n(`(${o(na)}(${p?"true":""}), `);r&&n(lc);const h=d?fl(t.inSSR,f):pl(t.inSSR,f);n(o(h)+"(",e),fc(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([i,s,a,l,c]),t),n(")"),d&&n(")");u&&(n(", "),hc(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:i}=t,s=(0,r.isString)(e.callee)?e.callee:o(e.callee);i&&n(lc);n(s+"(",e),fc(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:i}=t,{properties:s}=e;if(!s.length)return void n("{}",e);const a=s.length>1||!1;n(a?"{":"{ "),a&&o();for(let e=0;e<s.length;e++){const{key:o,value:r}=s[e];yc(o,t),n(": "),hc(r,t),e<s.length-1&&(n(","),i())}a&&r(),n(a?"}":" }")}(e,t);break;case 17:!function(e,t){pc(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:i}=t,{params:s,returns:a,body:l,newline:c,isSlot:u}=e;u&&n(`_${Fa[Va]}(`);n("(",e),(0,r.isArray)(s)?fc(s,t):s&&hc(s,t);n(") => "),(c||l)&&(n("{"),o());a?(c&&n("return "),(0,r.isArray)(a)?pc(a,t):hc(a,t)):l&&hc(l,t);(c||l)&&(i(),n("}"));u&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:i}=e,{push:s,indent:a,deindent:l,newline:c}=t;if(4===n.type){const e=!Za(n.content);e&&s("("),mc(n,t),e&&s(")")}else s("("),hc(n,t),s(")");i&&a(),t.indentLevel++,i||s(" "),s("? "),hc(o,t),t.indentLevel--,i&&c(),i||s(" "),s(": ");const u=19===r.type;u||t.indentLevel++;hc(r,t),u||t.indentLevel--;i&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:i,newline:s}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(Ta)}(-1),`),s());n(`_cache[${e.index}] = `),hc(e.value,t),e.isVNode&&(n(","),s(),n(`${o(Ta)}(1),`),s(),n(`_cache[${e.index}]`),i());n(")")}(e,t);break;case 21:fc(e.body,t,!0,!1)}}function mc(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function vc(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];(0,r.isString)(o)?t.push(o):hc(o,t)}}function yc(e,t){const{push:n}=t;if(8===e.type)n("["),vc(e,t),n("]");else if(e.isStatic){n(Za(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments,typeof,void".split(",").join("\\b|\\b")+"\\b");const gc=ac(/^(if|else|else-if)$/,((e,t,n)=>function(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const o=t.exp?t.exp.loc:e.loc;n.onError(Gs(28,t.loc)),t.exp=$a("true",!1,o)}0;if("if"===t.name){const r=bc(e,t),i={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(i),o)return o(i,r,!0)}else{const r=n.parent.children;let i=r.indexOf(e);for(;i-- >=-1;){const s=r[i];if(!s||2!==s.type||s.content.trim().length){if(s&&9===s.type){"else-if"===t.name&&void 0===s.branches[s.branches.length-1].condition&&n.onError(Gs(30,e.loc)),n.removeNode();const r=bc(e,t);0,s.branches.push(r);const i=o&&o(s,r,!1);sc(r,n),i&&i(),n.currentNode=null}else n.onError(Gs(30,e.loc));break}n.removeNode(s)}}}(e,t,n,((e,t,o)=>{const r=n.parent.children;let i=r.indexOf(e),s=0;for(;i-- >=0;){const e=r[i];e&&9===e.type&&(s+=e.branches.length)}return()=>{if(o)e.codegenNode=_c(t,s,n);else{const o=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);o.alternate=_c(t,s+e.branches.length-1,n)}}}))));function bc(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!il(e,"for")?e.children:[e],userKey:sl(e,"key"),isTemplateIf:n}}function _c(e,t,n){return e.condition?Ka(e.condition,wc(e,t,n),Ha(n.helper(aa),['""',"true"])):wc(e,t,n)}function wc(e,t,n){const{helper:o}=n,i=Ra("key",$a(`${t}`,!1,La,2)),{children:s}=e,a=s[0];if(1!==s.length||1!==a.type){if(1===s.length&&11===a.type){const e=a.codegenNode;return vl(e,i,n),e}{let t=64;r.PatchFlagNames[64];return Ia(n,o(Zs),ja([i]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=a.codegenNode,t=14===(l=e).type&&l.callee===Aa?l.arguments[1].returns:l;return 13===t.type&&gl(t,n),vl(t,i,n),e}var l}const xc=ac("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return function(e,t,n,o){if(!t.exp)return void n.onError(Gs(31,t.loc));const r=Cc(t.exp,n);if(!r)return void n.onError(Gs(32,t.loc));const{addIdentifiers:i,removeIdentifiers:s,scopes:a}=n,{source:l,value:c,key:u,index:d}=r,p={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:d,parseResult:r,children:ul(e)?e.children:[e]};n.replaceNode(p),a.vFor++;const f=o&&o(p);return()=>{a.vFor--,f&&f()}}(e,t,n,(t=>{const i=Ha(o(ma),[t.source]),s=ul(e),a=il(e,"memo"),l=sl(e,"key"),c=l&&(6===l.type?$a(l.value.content,!0):l.exp),u=l?Ra("key",c):null,d=4===t.source.type&&t.source.constType>0,p=d?64:l?128:256;return t.codegenNode=Ia(n,o(Zs),void 0,i,p+"",void 0,void 0,!0,!d,!1,e.loc),()=>{let l;const{children:p}=t;const f=1!==p.length||1!==p[0].type,h=dl(e)?e:s&&1===e.children.length&&dl(e.children[0])?e.children[0]:null;if(h?(l=h.codegenNode,s&&u&&vl(l,u,n)):f?l=Ia(n,o(Zs),u?ja([u]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(l=p[0].codegenNode,s&&u&&vl(l,u,n),l.isBlock!==!d&&(l.isBlock?(r(na),r(fl(n.inSSR,l.isComponent))):r(pl(n.inSSR,l.isComponent))),l.isBlock=!d,l.isBlock?(o(na),o(fl(n.inSSR,l.isComponent))):o(pl(n.inSSR,l.isComponent))),a){const e=Ua(Tc(t.parseResult,[$a("_cached")]));e.body={type:21,body:[za(["const _memo = (",a.exp,")"]),za(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${n.helperString(qa)}(_cached, _memo)) return _cached`]),za(["const _item = ",l]),$a("_item.memo = _memo"),$a("return _item")],loc:La},i.arguments.push(e,$a("_cache"),$a(String(n.cached++)))}else i.arguments.push(Ua(Tc(t.parseResult),l,!0))}}))}));const kc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ec=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Sc=/^\(|\)$/g;function Cc(e,t){const n=e.loc,o=e.content,r=o.match(kc);if(!r)return;const[,i,s]=r,a={source:Oc(n,s.trim(),o.indexOf(s,i.length)),value:void 0,key:void 0,index:void 0};let l=i.trim().replace(Sc,"").trim();const c=i.indexOf(l),u=l.match(Ec);if(u){l=l.replace(Ec,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,c+l.length),a.key=Oc(n,e,t)),u[2]){const r=u[2].trim();r&&(a.index=Oc(n,r,o.indexOf(r,a.key?t+e.length:c+l.length)))}}return l&&(a.value=Oc(n,l,c)),a}function Oc(e,t,n){return $a(t,!1,nl(e,n,t.length))}function Tc({value:e,key:t,index:n},o=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||$a("_".repeat(t+1),!1)))}([e,t,n,...o])}const Bc=$a("undefined",!1),Mc=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=il(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Vc=(e,t,n)=>Ua(e,t,!1,!0,t.length?t[0].loc:n);function Nc(e,t,n=Vc){t.helper(Va);const{children:o,loc:r}=e,i=[],s=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const l=il(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Wa(e)&&(a=!0),i.push(Ra(e||$a("default",!0),n(t,o,r)))}let c=!1,u=!1;const d=[],p=new Set;for(let e=0;e<o.length;e++){const r=o[e];let f;if(!ul(r)||!(f=il(r,"slot",!0))){3!==r.type&&d.push(r);continue}if(l){t.onError(Gs(37,f.loc));break}c=!0;const{children:h,loc:m}=r,{arg:v=$a("default",!0),exp:y,loc:g}=f;let b;Wa(v)?b=v?v.content:"default":a=!0;const _=n(y,h,m);let w,x,k;if(w=il(r,"if"))a=!0,s.push(Ka(w.exp,Pc(v,_),Bc));else if(x=il(r,/^else(-if)?$/,!0)){let n,r=e;for(;r--&&(n=o[r],3===n.type););if(n&&ul(n)&&il(n,"if")){o.splice(e,1),e--;let t=s[s.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=x.exp?Ka(x.exp,Pc(v,_),Bc):Pc(v,_)}else t.onError(Gs(30,x.loc))}else if(k=il(r,"for")){a=!0;const e=k.parseResult||Cc(k.exp);e?s.push(Ha(t.helper(ma),[e.source,Ua(Tc(e),Pc(v,_),!0)])):t.onError(Gs(32,k.loc))}else{if(b){if(p.has(b)){t.onError(Gs(38,g));continue}p.add(b),"default"===b&&(u=!0)}i.push(Ra(v,_))}}if(!l){const e=(e,o)=>{const i=n(e,o,r);return t.compatConfig&&(i.isNonScopedSlot=!0),Ra("default",i)};c?d.length&&d.some((e=>qc(e)))&&(u?t.onError(Gs(39,d[0].loc)):i.push(e(void 0,d))):i.push(e(void 0,o))}const f=a?2:Ac(e.children)?3:1;let h=ja(i.concat(Ra("_",$a(f+"",!1))),r);return s.length&&(h=Ha(t.helper(ya),[h,Da(s)])),{slots:h,hasDynamicSlots:a}}function Pc(e,t){return ja([Ra("name",e),Ra("fn",t)])}function Ac(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Ac(n.children))return!0;break;case 9:if(Ac(n.branches))return!0;break;case 10:case 11:if(Ac(n.children))return!0}}return!1}function qc(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():qc(e.content))}const Fc=new WeakMap,Lc=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,i=1===e.tagType;let s=i?function(e,t,n=!1){let{tag:o}=e;const r=Rc(o),i=sl(e,"is");if(i)if(r||_l("COMPILER_IS_ON_ELEMENT",t)){const e=6===i.type?i.value&&$a(i.value.content,!0):i.exp;if(e)return Ha(t.helper(da),[e])}else 6===i.type&&i.value.content.startsWith("vue:")&&(o=i.value.content.slice(4));const s=!r&&il(e,"is");if(s&&s.exp)return Ha(t.helper(da),[s.exp]);const a=Ya(o)||t.isBuiltInComponent(o);if(a)return n||t.helper(a),a;return t.helper(ua),t.components.add(o),yl(o,"component")}(e,t):`"${n}"`;const a=(0,r.isObject)(s)&&s.callee===da;let l,c,u,d,p,f,h=0,m=a||s===Js||s===Xs||!i&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=Ic(e,t,void 0,i,a);l=n.props,h=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;f=o&&o.length?Da(o.map((e=>function(e,t){const n=[],o=Fc.get(e);o?n.push(t.helperString(o)):(t.helper(pa),t.directives.add(e.name),n.push(yl(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=$a("true",!1,r);n.push(ja(e.modifiers.map((e=>Ra(e,t))),r))}return Da(n,e.loc)}(e,t)))):void 0,n.shouldUseBlock&&(m=!0)}if(e.children.length>0){s===ea&&(m=!0,h|=1024);if(i&&s!==Js&&s!==ea){const{slots:n,hasDynamicSlots:o}=Nc(e,t);c=n,o&&(h|=1024)}else if(1===e.children.length&&s!==Js){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Jl(n,t)&&(h|=1),c=r||2===o?n:e.children}else c=e.children}0!==h&&(u=String(h),p&&p.length&&(d=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(p))),e.codegenNode=Ia(t,s,l,c,u,d,f,!!m,!1,i,e.loc)};function Ic(e,t,n=e.props,o,i,s=!1){const{tag:a,loc:l,children:c}=e;let u=[];const d=[],p=[],f=c.length>0;let h=!1,m=0,v=!1,y=!1,g=!1,b=!1,_=!1,w=!1;const x=[],k=({key:e,value:n})=>{if(Wa(e)){const s=e.content,a=(0,r.isOn)(s);if(!a||o&&!i||"onclick"===s.toLowerCase()||"onUpdate:modelValue"===s||(0,r.isReservedProp)(s)||(b=!0),a&&(0,r.isReservedProp)(s)&&(w=!0),20===n.type||(4===n.type||8===n.type)&&Jl(n,t)>0)return;"ref"===s?v=!0:"class"===s?y=!0:"style"===s?g=!0:"key"===s||x.includes(s)||x.push(s),!o||"class"!==s&&"style"!==s||x.includes(s)||x.push(s)}else _=!0};for(let i=0;i<n.length;i++){const c=n[i];if(6===c.type){const{loc:e,name:n,value:o}=c;let r=!0;if("ref"===n&&(v=!0,t.scopes.vFor>0&&u.push(Ra($a("ref_for",!0),$a("true")))),"is"===n&&(Rc(a)||o&&o.content.startsWith("vue:")||_l("COMPILER_IS_ON_ELEMENT",t)))continue;u.push(Ra($a(n,!0,nl(e,0,n.length)),$a(o?o.content:"",r,o?o.loc:e)))}else{const{name:n,arg:i,exp:m,loc:v}=c,y="bind"===n,g="on"===n;if("slot"===n){o||t.onError(Gs(40,v));continue}if("once"===n||"memo"===n)continue;if("is"===n||y&&al(i,"is")&&(Rc(a)||_l("COMPILER_IS_ON_ELEMENT",t)))continue;if(g&&s)continue;if((y&&al(i,"key")||g&&f&&al(i,"vue:before-update"))&&(h=!0),y&&al(i,"ref")&&t.scopes.vFor>0&&u.push(Ra($a("ref_for",!0),$a("true"))),!i&&(y||g)){if(_=!0,m)if(u.length&&(d.push(ja(Dc(u),l)),u=[]),y){if(_l("COMPILER_V_BIND_OBJECT_ORDER",t)){d.unshift(m);continue}d.push(m)}else d.push({type:14,loc:v,callee:t.helper(Ea),arguments:[m]});else t.onError(Gs(y?34:35,v));continue}const b=t.directiveTransforms[n];if(b){const{props:n,needRuntime:o}=b(c,e,t);!s&&n.forEach(k),u.push(...n),o&&(p.push(c),(0,r.isSymbol)(o)&&Fc.set(c,o))}else(0,r.isBuiltInDirective)(n)||(p.push(c),f&&(h=!0))}}let E;if(d.length?(u.length&&d.push(ja(Dc(u),l)),E=d.length>1?Ha(t.helper(ba),d,l):d[0]):u.length&&(E=ja(Dc(u),l)),_?m|=16:(y&&!o&&(m|=2),g&&!o&&(m|=4),x.length&&(m|=8),b&&(m|=32)),h||0!==m&&32!==m||!(v||w||p.length>0)||(m|=512),!t.inSSR&&E)switch(E.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<E.properties.length;t++){const r=E.properties[t].key;Wa(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=E.properties[e],i=E.properties[n];o?E=Ha(t.helper(xa),[E]):(r&&!Wa(r.value)&&(r.value=Ha(t.helper(_a),[r.value])),i&&(g||4===i.value.type&&"["===i.value.content.trim()[0]||17===i.value.type)&&(i.value=Ha(t.helper(wa),[i.value])));break;case 14:break;default:E=Ha(t.helper(xa),[Ha(t.helper(ka),[E])])}return{props:E,directives:p,patchFlag:m,dynamicPropNames:x,shouldUseBlock:h}}function Dc(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const i=e[o];if(8===i.key.type||!i.key.isStatic){n.push(i);continue}const s=i.key.content,a=t.get(s);a?("style"===s||"class"===s||(0,r.isOn)(s))&&jc(a,i):(t.set(s,i),n.push(i))}return n}function jc(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Da([e.value,t.value],e.loc)}function Rc(e){return"component"===e||"Component"===e}const $c=/-(\w)/g,zc=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.replace($c,((e,t)=>t?t.toUpperCase():"")))),Hc=(e,t)=>{if(dl(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:i}=function(e,t){let n,o='"default"';const r=[];for(let t=0;t<e.props.length;t++){const n=e.props[t];6===n.type?n.value&&("name"===n.name?o=JSON.stringify(n.value.content):(n.name=zc(n.name),r.push(n))):"bind"===n.name&&al(n.arg,"name")?n.exp&&(o=n.exp):("bind"===n.name&&n.arg&&Wa(n.arg)&&(n.arg.content=zc(n.arg.content)),r.push(n))}if(r.length>0){const{props:o,directives:i}=Ic(e,t,r,!1,!1);n=o,i.length&&t.onError(Gs(36,i[0].loc))}return{slotName:o,slotProps:n}}(e,t),s=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let a=2;i&&(s[2]=i,a=3),n.length&&(s[3]=Ua([],n,!1,!1,o),a=4),t.scopeId&&!t.slotted&&(a=5),s.splice(a),e.codegenNode=Ha(t.helper(va),s,o)}};const Uc=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Kc=(e,t,n,o)=>{const{loc:i,modifiers:s,arg:a}=e;let l;if(e.exp||s.length||n.onError(Gs(35,i)),4===a.type)if(a.isStatic){let e=a.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),l=$a((0,r.toHandlerKey)((0,r.camelize)(e)),!0,a.loc)}else l=za([`${n.helperString(Oa)}(`,a,")"]);else l=a,l.children.unshift(`${n.helperString(Oa)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let u=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const e=tl(c.content),t=!(e||Uc.test(c.content)),n=c.content.includes(";");0,(t||u&&e)&&(c=za([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let d={props:[Ra(l,c||$a("() => {}",!1,i))]};return o&&(d=o(d)),u&&(d.props[0].value=n.cache(d.props[0].value)),d.props.forEach((e=>e.key.isHandlerKey=!0)),d},Wc=(e,t,n)=>{const{exp:o,modifiers:i,loc:s}=e,a=e.arg;return 4!==a.type?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),i.includes("camel")&&(4===a.type?a.isStatic?a.content=(0,r.camelize)(a.content):a.content=`${n.helperString(Sa)}(${a.content})`:(a.children.unshift(`${n.helperString(Sa)}(`),a.children.push(")"))),n.inSSR||(i.includes("prop")&&Qc(a,"."),i.includes("attr")&&Qc(a,"^")),!o||4===o.type&&!o.content.trim()?(n.onError(Gs(34,s)),{props:[Ra(a,$a("",!0,s))]}):{props:[Ra(a,o)]}},Qc=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Yc=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(ll(t)){r=!0;for(let r=e+1;r<n.length;r++){const i=n[r];if(!ll(i)){o=void 0;break}o||(o=n[e]=za([t],t.loc)),o.children.push(" + ",i),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const o=n[e];if(ll(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Jl(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:Ha(t.helper(la),r)}}}}},Gc=new WeakSet,Zc=(e,t)=>{if(1===e.type&&il(e,"once",!0)){if(Gc.has(e)||t.inVOnce)return;return Gc.add(e),t.inVOnce=!0,t.helper(Ta),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Jc=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return n.onError(Gs(41,e.loc)),Xc();const i=o.loc.source,s=4===o.type?o.content:i;n.bindingMetadata[i];if(!s.trim()||!tl(s))return n.onError(Gs(42,o.loc)),Xc();const a=r||$a("modelValue",!0),l=r?Wa(r)?`onUpdate:${r.content}`:za(['"onUpdate:" + ',r]):"onUpdate:modelValue";let c;c=za([`${n.isTS?"($event: any)":"$event"} => ((`,o,") = $event)"]);const u=[Ra(a,e.exp),Ra(l,c)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Za(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Wa(r)?`${r.content}Modifiers`:za([r,' + "Modifiers"']):"modelModifiers";u.push(Ra(n,$a(`{ ${t} }`,!1,e.loc,2)))}return Xc(u)};function Xc(e=[]){return{props:e}}const eu=/[\w).+\-_$\]]/,tu=(e,t)=>{_l("COMPILER_FILTER",t)&&(5===e.type&&nu(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&nu(e.exp,t)})))};function nu(e,t){if(4===e.type)ou(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?ou(o,t):8===o.type?nu(e,t):5===o.type&&nu(o.content,t))}}function ou(e,t){const n=e.content;let o,r,i,s,a=!1,l=!1,c=!1,u=!1,d=0,p=0,f=0,h=0,m=[];for(i=0;i<n.length;i++)if(r=o,o=n.charCodeAt(i),a)39===o&&92!==r&&(a=!1);else if(l)34===o&&92!==r&&(l=!1);else if(c)96===o&&92!==r&&(c=!1);else if(u)47===o&&92!==r&&(u=!1);else if(124!==o||124===n.charCodeAt(i+1)||124===n.charCodeAt(i-1)||d||p||f){switch(o){case 34:l=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:f++;break;case 41:f--;break;case 91:p++;break;case 93:p--;break;case 123:d++;break;case 125:d--}if(47===o){let e,t=i-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&eu.test(e)||(u=!0)}}else void 0===s?(h=i+1,s=n.slice(0,i).trim()):v();function v(){m.push(n.slice(h,i).trim()),h=i+1}if(void 0===s?s=n.slice(0,i).trim():0!==h&&v(),m.length){for(i=0;i<m.length;i++)s=ru(s,m[i],t);e.content=s}}function ru(e,t,n){n.helper(fa);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${yl(t,"filter")}(${e})`;{const r=t.slice(0,o),i=t.slice(o+1);return n.filters.add(r),`${yl(r,"filter")}(${e}${")"!==i?","+i:i}`}}const iu=new WeakSet,su=(e,t)=>{if(1===e.type){const n=il(e,"memo");if(!n||iu.has(e))return;return iu.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&gl(o,t),e.codegenNode=Ha(t.helper(Aa),[n.exp,Ua(void 0,o),"_cache",String(t.cached++)]))}}};function au(e,t={}){const n=t.onError||Qs,o="module"===t.mode;!0===t.prefixIdentifiers?n(Gs(46)):o&&n(Gs(47));t.cacheHandlers&&n(Gs(48)),t.scopeId&&!o&&n(Gs(49));const i=(0,r.isString)(e)?Sl(e,t):e,[s,a]=[[Zc,gc,su,xc,tu,Hc,Lc,Mc,Yc],{on:Kc,bind:Wc,model:Jc}];return ic(i,(0,r.extend)({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:(0,r.extend)({},a,t.directiveTransforms||{})})),uc(i,(0,r.extend)({},t,{prefixIdentifiers:false}))}const lu=Symbol(""),cu=Symbol(""),uu=Symbol(""),du=Symbol(""),pu=Symbol(""),fu=Symbol(""),hu=Symbol(""),mu=Symbol(""),vu=Symbol(""),yu=Symbol("");var gu;let bu;gu={[lu]:"vModelRadio",[cu]:"vModelCheckbox",[uu]:"vModelText",[du]:"vModelSelect",[pu]:"vModelDynamic",[fu]:"withModifiers",[hu]:"withKeys",[mu]:"vShow",[vu]:"Transition",[yu]:"TransitionGroup"},Object.getOwnPropertySymbols(gu).forEach((e=>{Fa[e]=gu[e]}));const _u=(0,r.makeMap)("style,iframe,script,noscript",!0),wu={isVoidTag:r.isVoidTag,isNativeTag:e=>(0,r.isHTMLTag)(e)||(0,r.isSVGTag)(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return bu||(bu=document.createElement("div")),t?(bu.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,bu.children[0].getAttribute("foo")):(bu.innerHTML=e,bu.textContent)},isBuiltInComponent:e=>Qa(e,"Transition")?vu:Qa(e,"TransitionGroup")?yu:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(_u(e))return 2}return 0}},xu=(e,t)=>{const n=(0,r.parseStringStyle)(e);return $a(JSON.stringify(n),!1,t,3)};function ku(e,t){return Gs(e,t)}const Eu=(0,r.makeMap)("passive,once,capture"),Su=(0,r.makeMap)("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Cu=(0,r.makeMap)("left,right"),Ou=(0,r.makeMap)("onkeyup,onkeydown,onkeypress",!0),Tu=(e,t)=>Wa(e)&&"onclick"===e.content.toLowerCase()?$a(t,!0):4!==e.type?za(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e;const Bu=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(ku(60,e.loc)),t.removeNode())},Mu=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:$a("style",!0,t.loc),exp:xu(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Vu={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(ku(50,r)),t.children.length&&(n.onError(ku(51,r)),t.children.length=0),{props:[Ra($a("innerHTML",!0,r),o||$a("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(ku(52,r)),t.children.length&&(n.onError(ku(53,r)),t.children.length=0),{props:[Ra($a("textContent",!0),o?Jl(o,n)>0?o:Ha(n.helperString(ga),[o],r):$a("",!0))]}},model:(e,t,n)=>{const o=Jc(e,t,n);if(!o.props.length||1===t.tagType)return o;e.arg&&n.onError(ku(55,e.arg.loc));const{tag:r}=t,i=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||i){let s=uu,a=!1;if("input"===r||i){const o=sl(t,"type");if(o){if(7===o.type)s=pu;else if(o.value)switch(o.value.content){case"radio":s=lu;break;case"checkbox":s=cu;break;case"file":a=!0,n.onError(ku(56,e.loc))}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(s=pu)}else"select"===r&&(s=du);a||(o.needRuntime=n.helper(s))}else n.onError(ku(54,e.loc));return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Kc(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:i,value:s}=t.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t,n,o)=>{const r=[],i=[],s=[];for(let o=0;o<t.length;o++){const a=t[o];"native"===a&&wl("COMPILER_V_ON_NATIVE",n)||Eu(a)?s.push(a):Cu(a)?Wa(e)?Ou(e.content)?r.push(a):i.push(a):(r.push(a),i.push(a)):Su(a)?i.push(a):r.push(a)}return{keyModifiers:r,nonKeyModifiers:i,eventOptionModifiers:s}})(i,o,n,e.loc);if(l.includes("right")&&(i=Tu(i,"onContextmenu")),l.includes("middle")&&(i=Tu(i,"onMouseup")),l.length&&(s=Ha(n.helper(fu),[s,JSON.stringify(l)])),!a.length||Wa(i)&&!Ou(i.content)||(s=Ha(n.helper(hu),[s,JSON.stringify(a)])),c.length){const e=c.map(r.capitalize).join("");i=Wa(i)?$a(`${i.content}${e}`,!0):za(["(",i,`) + "${e}"`])}return{props:[Ra(i,s)]}})),show:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(ku(58,r)),{props:[],needRuntime:n.helper(mu)}}};const Nu=Object.create(null);function Pu(e,t){if(!(0,r.isString)(e)){if(!e.nodeType)return r.NOOP;e=e.innerHTML}const n=e,i=Nu[n];if(i)return i;if("#"===e[0]){const t=document.querySelector(e);0,e=t?t.innerHTML:""}const{code:s}=function(e,t={}){return au(e,(0,r.extend)({},wu,t,{nodeTransforms:[Bu,...Mu,...t.nodeTransforms||[]],directiveTransforms:(0,r.extend)({},Vu,t.directiveTransforms||{}),transformHoist:null}))}(e,(0,r.extend)({hoistStatic:!0,onError:void 0,onWarn:r.NOOP},t));const a=new Function("Vue",s)(o);return a._rc=!0,Nu[n]=a}Hr(Pu)},7147:(e,t,n)=>{"use strict";var o="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==o&&o,r="URLSearchParams"in o,i="Symbol"in o&&"iterator"in Symbol,s="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(e){return!1}}(),a="FormData"in o,l="ArrayBuffer"in o;if(l)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&c.indexOf(Object.prototype.toString.call(e))>-1};function d(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function p(e){return"string"!=typeof e&&(e=String(e)),e}function f(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function h(e){this.map={},e instanceof h?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function m(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function v(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function y(e){var t=new FileReader,n=v(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:s&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:a&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():l&&s&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):l&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},s&&(this.blob=function(){var e=m(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=m(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(y)}),this.text=function(){var e,t,n,o=m(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=v(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),o=0;o<t.length;o++)n[o]=String.fromCharCode(t[o]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(x)}),this.json=function(){return this.text().then(JSON.parse)},this}h.prototype.append=function(e,t){e=d(e),t=p(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},h.prototype.delete=function(e){delete this.map[d(e)]},h.prototype.get=function(e){return e=d(e),this.has(e)?this.map[e]:null},h.prototype.has=function(e){return this.map.hasOwnProperty(d(e))},h.prototype.set=function(e,t){this.map[d(e)]=p(t)},h.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},h.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),f(e)},h.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),f(e)},h.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),f(e)},i&&(h.prototype[Symbol.iterator]=h.prototype.entries);var _=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(e,t){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,o,r=(t=t||{}).body;if(e instanceof w){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new h(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new h(t.headers)),this.method=(n=t.method||this.method||"GET",o=n.toUpperCase(),_.indexOf(o)>-1?o:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function x(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),o=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(o),decodeURIComponent(r))}})),t}function k(e,t){if(!(this instanceof k))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new h(t.headers),this.url=t.url||"",this._initBody(e)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},b.call(w.prototype),b.call(k.prototype),k.prototype.clone=function(){return new k(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},k.error=function(){var e=new k(null,{status:0,statusText:""});return e.type="error",e};var E=[301,302,303,307,308];k.redirect=function(e,t){if(-1===E.indexOf(t))throw new RangeError("Invalid status code");return new k(null,{status:t,headers:{location:e}})};var S=o.DOMException;try{new S}catch(e){(S=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),S.prototype.constructor=S}function C(e,t){return new Promise((function(n,r){var i=new w(e,t);if(i.signal&&i.signal.aborted)return r(new S("Aborted","AbortError"));var a=new XMLHttpRequest;function c(){a.abort()}a.onload=function(){var e,t,o={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new h,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),o=n.shift().trim();if(o){var r=n.join(":").trim();t.append(o,r)}})),t)};o.url="responseURL"in a?a.responseURL:o.headers.get("X-Request-URL");var r="response"in a?a.response:a.responseText;setTimeout((function(){n(new k(r,o))}),0)},a.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},a.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},a.onabort=function(){setTimeout((function(){r(new S("Aborted","AbortError"))}),0)},a.open(i.method,function(e){try{return""===e&&o.location.href?o.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&(s?a.responseType="blob":l&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof h?i.headers.forEach((function(e,t){a.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){a.setRequestHeader(e,p(t.headers[e]))})),i.signal&&(i.signal.addEventListener("abort",c),a.onreadystatechange=function(){4===a.readyState&&i.signal.removeEventListener("abort",c)}),a.send(void 0===i._bodyInit?null:i._bodyInit)}))}C.polyfill=!0,o.fetch||(o.fetch=C,o.Headers=h,o.Request=w,o.Response=k)}},__webpack_module_cache__={},deferred;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.m=__webpack_modules__,deferred=[],__webpack_require__.O=(e,t,n,o)=>{if(!t){var r=1/0;for(l=0;l<deferred.length;l++){for(var[t,n,o]=deferred[l],i=!0,s=0;s<t.length;s++)(!1&o||r>=o)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](t[s])))?t.splice(s--,1):(i=!1,o<r&&(r=o));if(i){deferred.splice(l--,1);var a=n();void 0!==a&&(e=a)}}return e}o=o||0;for(var l=deferred.length;l>0&&deferred[l-1][2]>o;l--)deferred[l]=deferred[l-1];deferred[l]=[t,n,o]},__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={926:0,627:0};__webpack_require__.O.j=t=>0===e[t];var t=(t,n)=>{var o,r,[i,s,a]=n,l=0;if(i.some((t=>0!==e[t]))){for(o in s)__webpack_require__.o(s,o)&&(__webpack_require__.m[o]=s[o]);if(a)var c=a(__webpack_require__)}for(t&&t(n);l<i.length;l++)r=i[l],__webpack_require__.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return __webpack_require__.O(c)},n=self.webpackChunk=self.webpackChunk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),__webpack_require__.O(void 0,[627],(()=>__webpack_require__(5299)));var __webpack_exports__=__webpack_require__.O(void 0,[627],(()=>__webpack_require__(7230)));__webpack_exports__=__webpack_require__.O(__webpack_exports__)})();
1
  /*! For license information please see conversationalForm.js.LICENSE.txt */
2
+ (()=>{var __webpack_modules__={6980:(e,t,n)=>{"use strict";n.r(t),n.d(t,{afterMain:()=>x,afterRead:()=>b,afterWrite:()=>C,applyStyles:()=>N,arrow:()=>J,auto:()=>a,basePlacements:()=>l,beforeMain:()=>_,beforeRead:()=>y,beforeWrite:()=>k,bottom:()=>r,clippingParents:()=>d,computeStyles:()=>ne,createPopper:()=>Ne,createPopperBase:()=>Ve,createPopperLite:()=>Pe,detectOverflow:()=>ge,end:()=>u,eventListeners:()=>re,flip:()=>be,hide:()=>xe,left:()=>s,main:()=>w,modifierPhases:()=>S,offset:()=>ke,placements:()=>v,popper:()=>f,popperGenerator:()=>Me,popperOffsets:()=>Ee,preventOverflow:()=>Ce,read:()=>g,reference:()=>h,right:()=>i,start:()=>c,top:()=>o,variationPlacements:()=>m,viewport:()=>p,write:()=>E});var o="top",r="bottom",i="right",s="left",a="auto",l=[o,r,i,s],c="start",u="end",d="clippingParents",p="viewport",f="popper",h="reference",m=l.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+u])}),[]),v=[].concat(l,[a]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])}),[]),y="beforeRead",g="read",b="afterRead",_="beforeMain",w="main",x="afterMain",k="beforeWrite",E="write",C="afterWrite",S=[y,g,b,_,w,x,k,E,C];function O(e){return e?(e.nodeName||"").toLowerCase():null}function T(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function B(e){return e instanceof T(e).Element||e instanceof Element}function M(e){return e instanceof T(e).HTMLElement||e instanceof HTMLElement}function V(e){return"undefined"!=typeof ShadowRoot&&(e instanceof T(e).ShadowRoot||e instanceof ShadowRoot)}const N={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];M(r)&&O(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});M(o)&&O(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function P(e){return e.split("-")[0]}var A=Math.max,q=Math.min,F=Math.round;function L(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function I(){return!/^((?!chrome|android).)*safari/i.test(L())}function D(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),r=1,i=1;t&&M(e)&&(r=e.offsetWidth>0&&F(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&F(o.height)/e.offsetHeight||1);var s=(B(e)?T(e):window).visualViewport,a=!I()&&n,l=(o.left+(a&&s?s.offsetLeft:0))/r,c=(o.top+(a&&s?s.offsetTop:0))/i,u=o.width/r,d=o.height/i;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function j(e){var t=D(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function R(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&V(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function $(e){return T(e).getComputedStyle(e)}function z(e){return["table","td","th"].indexOf(O(e))>=0}function H(e){return((B(e)?e.ownerDocument:e.document)||window.document).documentElement}function U(e){return"html"===O(e)?e:e.assignedSlot||e.parentNode||(V(e)?e.host:null)||H(e)}function K(e){return M(e)&&"fixed"!==$(e).position?e.offsetParent:null}function W(e){for(var t=T(e),n=K(e);n&&z(n)&&"static"===$(n).position;)n=K(n);return n&&("html"===O(n)||"body"===O(n)&&"static"===$(n).position)?t:n||function(e){var t=/firefox/i.test(L());if(/Trident/i.test(L())&&M(e)&&"fixed"===$(e).position)return null;var n=U(e);for(V(n)&&(n=n.host);M(n)&&["html","body"].indexOf(O(n))<0;){var o=$(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function Q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Y(e,t,n){return A(e,q(t,n))}function G(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Z(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const J={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,a=e.name,c=e.options,u=n.elements.arrow,d=n.modifiersData.popperOffsets,p=P(n.placement),f=Q(p),h=[s,i].indexOf(p)>=0?"height":"width";if(u&&d){var m=function(e,t){return G("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Z(e,l))}(c.padding,n),v=j(u),y="y"===f?o:s,g="y"===f?r:i,b=n.rects.reference[h]+n.rects.reference[f]-d[f]-n.rects.popper[h],_=d[f]-n.rects.reference[f],w=W(u),x=w?"y"===f?w.clientHeight||0:w.clientWidth||0:0,k=b/2-_/2,E=m[y],C=x-v[h]-m[g],S=x/2-v[h]/2+k,O=Y(E,S,C),T=f;n.modifiersData[a]=((t={})[T]=O,t.centerOffset=O-S,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&R(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function X(e){return e.split("-")[1]}var ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(e){var t,n=e.popper,a=e.popperRect,l=e.placement,c=e.variation,d=e.offsets,p=e.position,f=e.gpuAcceleration,h=e.adaptive,m=e.roundOffsets,v=e.isFixed,y=d.x,g=void 0===y?0:y,b=d.y,_=void 0===b?0:b,w="function"==typeof m?m({x:g,y:_}):{x:g,y:_};g=w.x,_=w.y;var x=d.hasOwnProperty("x"),k=d.hasOwnProperty("y"),E=s,C=o,S=window;if(h){var O=W(n),B="clientHeight",M="clientWidth";if(O===T(n)&&"static"!==$(O=H(n)).position&&"absolute"===p&&(B="scrollHeight",M="scrollWidth"),l===o||(l===s||l===i)&&c===u)C=r,_-=(v&&O===S&&S.visualViewport?S.visualViewport.height:O[B])-a.height,_*=f?1:-1;if(l===s||(l===o||l===r)&&c===u)E=i,g-=(v&&O===S&&S.visualViewport?S.visualViewport.width:O[M])-a.width,g*=f?1:-1}var V,N=Object.assign({position:p},h&&ee),P=!0===m?function(e){var t=e.x,n=e.y,o=window.devicePixelRatio||1;return{x:F(t*o)/o||0,y:F(n*o)/o||0}}({x:g,y:_}):{x:g,y:_};return g=P.x,_=P.y,f?Object.assign({},N,((V={})[C]=k?"0":"",V[E]=x?"0":"",V.transform=(S.devicePixelRatio||1)<=1?"translate("+g+"px, "+_+"px)":"translate3d("+g+"px, "+_+"px, 0)",V)):Object.assign({},N,((t={})[C]=k?_+"px":"",t[E]=x?g+"px":"",t.transform="",t))}const ne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,s=void 0===i||i,a=n.roundOffsets,l=void 0===a||a,c={placement:P(t.placement),variation:X(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,te(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,te(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var oe={passive:!0};const re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=void 0===r||r,s=o.resize,a=void 0===s||s,l=T(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,oe)})),a&&l.addEventListener("resize",n.update,oe),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,oe)})),a&&l.removeEventListener("resize",n.update,oe)}},data:{}};var ie={left:"right",right:"left",bottom:"top",top:"bottom"};function se(e){return e.replace(/left|right|bottom|top/g,(function(e){return ie[e]}))}var ae={start:"end",end:"start"};function le(e){return e.replace(/start|end/g,(function(e){return ae[e]}))}function ce(e){var t=T(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ue(e){return D(H(e)).left+ce(e).scrollLeft}function de(e){var t=$(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function pe(e){return["html","body","#document"].indexOf(O(e))>=0?e.ownerDocument.body:M(e)&&de(e)?e:pe(U(e))}function fe(e,t){var n;void 0===t&&(t=[]);var o=pe(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=T(o),s=r?[i].concat(i.visualViewport||[],de(o)?o:[]):o,a=t.concat(s);return r?a:a.concat(fe(U(s)))}function he(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function me(e,t,n){return t===p?he(function(e,t){var n=T(e),o=H(e),r=n.visualViewport,i=o.clientWidth,s=o.clientHeight,a=0,l=0;if(r){i=r.width,s=r.height;var c=I();(c||!c&&"fixed"===t)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:i,height:s,x:a+ue(e),y:l}}(e,n)):B(t)?function(e,t){var n=D(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):he(function(e){var t,n=H(e),o=ce(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=A(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=A(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-o.scrollLeft+ue(e),l=-o.scrollTop;return"rtl"===$(r||n).direction&&(a+=A(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}(H(e)))}function ve(e,t,n,o){var r="clippingParents"===t?function(e){var t=fe(U(e)),n=["absolute","fixed"].indexOf($(e).position)>=0&&M(e)?W(e):e;return B(n)?t.filter((function(e){return B(e)&&R(e,n)&&"body"!==O(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),s=i[0],a=i.reduce((function(t,n){var r=me(e,n,o);return t.top=A(r.top,t.top),t.right=q(r.right,t.right),t.bottom=q(r.bottom,t.bottom),t.left=A(r.left,t.left),t}),me(e,s,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ye(e){var t,n=e.reference,a=e.element,l=e.placement,d=l?P(l):null,p=l?X(l):null,f=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2;switch(d){case o:t={x:f,y:n.y-a.height};break;case r:t={x:f,y:n.y+n.height};break;case i:t={x:n.x+n.width,y:h};break;case s:t={x:n.x-a.width,y:h};break;default:t={x:n.x,y:n.y}}var m=d?Q(d):null;if(null!=m){var v="y"===m?"height":"width";switch(p){case c:t[m]=t[m]-(n[v]/2-a[v]/2);break;case u:t[m]=t[m]+(n[v]/2-a[v]/2)}}return t}function ge(e,t){void 0===t&&(t={});var n=t,s=n.placement,a=void 0===s?e.placement:s,c=n.strategy,u=void 0===c?e.strategy:c,m=n.boundary,v=void 0===m?d:m,y=n.rootBoundary,g=void 0===y?p:y,b=n.elementContext,_=void 0===b?f:b,w=n.altBoundary,x=void 0!==w&&w,k=n.padding,E=void 0===k?0:k,C=G("number"!=typeof E?E:Z(E,l)),S=_===f?h:f,O=e.rects.popper,T=e.elements[x?S:_],M=ve(B(T)?T:T.contextElement||H(e.elements.popper),v,g,u),V=D(e.elements.reference),N=ye({reference:V,element:O,strategy:"absolute",placement:a}),P=he(Object.assign({},O,N)),A=_===f?P:V,q={top:M.top-A.top+C.top,bottom:A.bottom-M.bottom+C.bottom,left:M.left-A.left+C.left,right:A.right-M.right+C.right},F=e.modifiersData.offset;if(_===f&&F){var L=F[a];Object.keys(q).forEach((function(e){var t=[i,r].indexOf(e)>=0?1:-1,n=[o,r].indexOf(e)>=0?"y":"x";q[e]+=L[n]*t}))}return q}const be={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var d=n.mainAxis,p=void 0===d||d,f=n.altAxis,h=void 0===f||f,y=n.fallbackPlacements,g=n.padding,b=n.boundary,_=n.rootBoundary,w=n.altBoundary,x=n.flipVariations,k=void 0===x||x,E=n.allowedAutoPlacements,C=t.options.placement,S=P(C),O=y||(S===C||!k?[se(C)]:function(e){if(P(e)===a)return[];var t=se(e);return[le(e),t,le(t)]}(C)),T=[C].concat(O).reduce((function(e,n){return e.concat(P(n)===a?function(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?v:c,d=X(o),p=d?a?m:m.filter((function(e){return X(e)===d})):l,f=p.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=p);var h=f.reduce((function(t,n){return t[n]=ge(e,{placement:n,boundary:r,rootBoundary:i,padding:s})[P(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:b,rootBoundary:_,padding:g,flipVariations:k,allowedAutoPlacements:E}):n)}),[]),B=t.rects.reference,M=t.rects.popper,V=new Map,N=!0,A=T[0],q=0;q<T.length;q++){var F=T[q],L=P(F),I=X(F)===c,D=[o,r].indexOf(L)>=0,j=D?"width":"height",R=ge(t,{placement:F,boundary:b,rootBoundary:_,altBoundary:w,padding:g}),$=D?I?i:s:I?r:o;B[j]>M[j]&&($=se($));var z=se($),H=[];if(p&&H.push(R[L]<=0),h&&H.push(R[$]<=0,R[z]<=0),H.every((function(e){return e}))){A=F,N=!1;break}V.set(F,H)}if(N)for(var U=function(e){var t=T.find((function(t){var n=V.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return A=t,"break"},K=k?3:1;K>0;K--){if("break"===U(K))break}t.placement!==A&&(t.modifiersData[u]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function _e(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function we(e){return[o,i,r,s].some((function(t){return e[t]>=0}))}const xe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,s=ge(t,{elementContext:"reference"}),a=ge(t,{altBoundary:!0}),l=_e(s,o),c=_e(a,r,i),u=we(l),d=we(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};const ke={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.offset,l=void 0===a?[0,0]:a,c=v.reduce((function(e,n){return e[n]=function(e,t,n){var r=P(e),a=[s,o].indexOf(r)>=0?-1:1,l="function"==typeof n?n(Object.assign({},t,{placement:e})):n,c=l[0],u=l[1];return c=c||0,u=(u||0)*a,[s,i].indexOf(r)>=0?{x:u,y:c}:{x:c,y:u}}(n,t.rects,l),e}),{}),u=c[t.placement],d=u.x,p=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=p),t.modifiersData[r]=c}};const Ee={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ye({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};const Ce={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,a=e.name,l=n.mainAxis,u=void 0===l||l,d=n.altAxis,p=void 0!==d&&d,f=n.boundary,h=n.rootBoundary,m=n.altBoundary,v=n.padding,y=n.tether,g=void 0===y||y,b=n.tetherOffset,_=void 0===b?0:b,w=ge(t,{boundary:f,rootBoundary:h,padding:v,altBoundary:m}),x=P(t.placement),k=X(t.placement),E=!k,C=Q(x),S="x"===C?"y":"x",O=t.modifiersData.popperOffsets,T=t.rects.reference,B=t.rects.popper,M="function"==typeof _?_(Object.assign({},t.rects,{placement:t.placement})):_,V="number"==typeof M?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(O){if(u){var L,I="y"===C?o:s,D="y"===C?r:i,R="y"===C?"height":"width",$=O[C],z=$+w[I],H=$-w[D],U=g?-B[R]/2:0,K=k===c?T[R]:B[R],G=k===c?-B[R]:-T[R],Z=t.elements.arrow,J=g&&Z?j(Z):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[I],ne=ee[D],oe=Y(0,T[R],J[R]),re=E?T[R]/2-U-oe-te-V.mainAxis:K-oe-te-V.mainAxis,ie=E?-T[R]/2+U+oe+ne+V.mainAxis:G+oe+ne+V.mainAxis,se=t.elements.arrow&&W(t.elements.arrow),ae=se?"y"===C?se.clientTop||0:se.clientLeft||0:0,le=null!=(L=null==N?void 0:N[C])?L:0,ce=$+ie-le,ue=Y(g?q(z,$+re-le-ae):z,$,g?A(H,ce):H);O[C]=ue,F[C]=ue-$}if(p){var de,pe="x"===C?o:s,fe="x"===C?r:i,he=O[S],me="y"===S?"height":"width",ve=he+w[pe],ye=he-w[fe],be=-1!==[o,s].indexOf(x),_e=null!=(de=null==N?void 0:N[S])?de:0,we=be?ve:he-T[me]-B[me]-_e+V.altAxis,xe=be?he+T[me]+B[me]-_e-V.altAxis:ye,ke=g&&be?function(e,t,n){var o=Y(e,t,n);return o>n?n:o}(we,he,xe):Y(g?we:ve,he,g?xe:ye);O[S]=ke,F[S]=ke-he}t.modifiersData[a]=F}},requiresIfExists:["offset"]};function Se(e,t,n){void 0===n&&(n=!1);var o,r,i=M(t),s=M(t)&&function(e){var t=e.getBoundingClientRect(),n=F(t.width)/e.offsetWidth||1,o=F(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),a=H(t),l=D(e,s,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==O(t)||de(a))&&(c=(o=t)!==T(o)&&M(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:ce(o)),M(t)?((u=D(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=ue(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Oe(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}var Te={placement:"bottom",modifiers:[],strategy:"absolute"};function Be(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Me(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?Te:r;return function(e,t,n){void 0===n&&(n=i);var r,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Te,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){var r="function"==typeof n?n(a.options):n;d(),a.options=Object.assign({},i,a.options,r),a.scrollParents={reference:B(e)?fe(e):e.contextElement?fe(e.contextElement):[],popper:fe(t)};var s=function(e){var t=Oe(e);return S.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(o,a.options.modifiers)));return a.orderedModifiers=s.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var i=r({state:a,name:t,instance:u,options:o}),s=function(){};l.push(i||s)}})),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(Be(t,n)){a.rects={reference:Se(t,W(n),"fixed"===a.options.strategy),popper:j(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<a.orderedModifiers.length;o++)if(!0!==a.reset){var r=a.orderedModifiers[o],i=r.fn,s=r.options,l=void 0===s?{}:s,d=r.name;"function"==typeof i&&(a=i({state:a,options:l,name:d,instance:u})||a)}else a.reset=!1,o=-1}}},update:(r=function(){return new Promise((function(e){u.forceUpdate(),e(a)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(r())}))}))),s}),destroy:function(){d(),c=!0}};if(!Be(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var Ve=Me(),Ne=Me({defaultModifiers:[re,Ee,ne,N,ke,be,Ce,J,xe]}),Pe=Me({defaultModifiers:[re,Ee,ne,N]})},3577:(e,t,n)=>{"use strict";function o(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}n.r(t),n.d(t,{EMPTY_ARR:()=>I,EMPTY_OBJ:()=>L,NO:()=>j,NOOP:()=>D,PatchFlagNames:()=>r,camelize:()=>pe,capitalize:()=>me,def:()=>be,escapeHtml:()=>M,escapeHtmlComment:()=>N,extend:()=>H,genPropsAccessExp:()=>Ee,generateCodeFrame:()=>a,getGlobalThis:()=>xe,hasChanged:()=>ye,hasOwn:()=>W,hyphenate:()=>he,includeBooleanAttr:()=>d,invokeArrayFns:()=>ge,isArray:()=>Q,isBooleanAttr:()=>u,isBuiltInDirective:()=>ce,isDate:()=>Z,isFunction:()=>J,isGloballyWhitelisted:()=>s,isHTMLTag:()=>S,isIntegerKey:()=>ae,isKnownHtmlAttr:()=>y,isKnownSvgAttr:()=>g,isMap:()=>Y,isModelListener:()=>z,isNoUnitNumericStyleProp:()=>v,isObject:()=>te,isOn:()=>$,isPlainObject:()=>se,isPromise:()=>ne,isReservedProp:()=>le,isSSRSafeAttrName:()=>h,isSVGTag:()=>O,isSet:()=>G,isSpecialBooleanAttr:()=>c,isString:()=>X,isSymbol:()=>ee,isVoidTag:()=>T,looseEqual:()=>P,looseIndexOf:()=>A,makeMap:()=>o,normalizeClass:()=>E,normalizeProps:()=>C,normalizeStyle:()=>b,objectToString:()=>oe,parseStringStyle:()=>x,propsToAttrMap:()=>m,remove:()=>U,slotFlagsText:()=>i,stringifyStyle:()=>k,toDisplayString:()=>q,toHandlerKey:()=>ve,toNumber:()=>_e,toRawType:()=>ie,toTypeString:()=>re});const r={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},i={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},s=o("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function a(e,t=0,n=e.length){let o=e.split(/(\r?\n)/);const r=o.filter(((e,t)=>t%2==1));o=o.filter(((e,t)=>t%2==0));let i=0;const s=[];for(let e=0;e<o.length;e++)if(i+=o[e].length+(r[e]&&r[e].length||0),i>=t){for(let a=e-2;a<=e+2||n>i;a++){if(a<0||a>=o.length)continue;const l=a+1;s.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${o[a]}`);const c=o[a].length,u=r[a]&&r[a].length||0;if(a===e){const e=t-(i-(c+u)),o=Math.max(1,n>i?c-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(a>e){if(n>i){const e=Math.max(Math.min(n-i,c),1);s.push(" | "+"^".repeat(e))}i+=c+u}}break}return s.join("\n")}const l="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",c=o(l),u=o(l+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function d(e){return!!e||""===e}const p=/[>/="'\u0009\u000a\u000c\u0020]/,f={};function h(e){if(f.hasOwnProperty(e))return f[e];const t=p.test(e);return t&&console.error(`unsafe attribute name: ${e}`),f[e]=!t}const m={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},v=o("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width"),y=o("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),g=o("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function b(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=X(o)?x(o):b(o);if(r)for(const e in r)t[e]=r[e]}return t}return X(e)||te(e)?e:void 0}const _=/;(?![^(]*\))/g,w=/:(.+)/;function x(e){const t={};return e.split(_).forEach((e=>{if(e){const n=e.split(w);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function k(e){let t="";if(!e||X(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:he(n);(X(o)||"number"==typeof o&&v(r))&&(t+=`${r}:${o};`)}return t}function E(e){let t="";if(X(e))t=e;else if(Q(e))for(let n=0;n<e.length;n++){const o=E(e[n]);o&&(t+=o+" ")}else if(te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function C(e){if(!e)return null;let{class:t,style:n}=e;return t&&!X(t)&&(e.class=E(t)),n&&(e.style=b(n)),e}const S=o("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),O=o("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),T=o("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),B=/["'&<>]/;function M(e){const t=""+e,n=B.exec(t);if(!n)return t;let o,r,i="",s=0;for(r=n.index;r<t.length;r++){switch(t.charCodeAt(r)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 39:o="&#39;";break;case 60:o="&lt;";break;case 62:o="&gt;";break;default:continue}s!==r&&(i+=t.slice(s,r)),s=r+1,i+=o}return s!==r?i+t.slice(s,r):i}const V=/^-?>|<!--|-->|--!>|<!-$/g;function N(e){return e.replace(V,"")}function P(e,t){if(e===t)return!0;let n=Z(e),o=Z(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=ee(e),o=ee(t),n||o)return e===t;if(n=Q(e),o=Q(t),n||o)return!(!n||!o)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=P(e[o],t[o]);return n}(e,t);if(n=te(e),o=te(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(o&&!r||!o&&r||!P(e[n],t[n]))return!1}}return String(e)===String(t)}function A(e,t){return e.findIndex((e=>P(e,t)))}const q=e=>X(e)?e:null==e?"":Q(e)||te(e)&&(e.toString===oe||!J(e.toString))?JSON.stringify(e,F,2):String(e),F=(e,t)=>t&&t.__v_isRef?F(e,t.value):Y(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:G(t)?{[`Set(${t.size})`]:[...t.values()]}:!te(t)||Q(t)||se(t)?t:String(t),L={},I=[],D=()=>{},j=()=>!1,R=/^on[^a-z]/,$=e=>R.test(e),z=e=>e.startsWith("onUpdate:"),H=Object.assign,U=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},K=Object.prototype.hasOwnProperty,W=(e,t)=>K.call(e,t),Q=Array.isArray,Y=e=>"[object Map]"===re(e),G=e=>"[object Set]"===re(e),Z=e=>"[object Date]"===re(e),J=e=>"function"==typeof e,X=e=>"string"==typeof e,ee=e=>"symbol"==typeof e,te=e=>null!==e&&"object"==typeof e,ne=e=>te(e)&&J(e.then)&&J(e.catch),oe=Object.prototype.toString,re=e=>oe.call(e),ie=e=>re(e).slice(8,-1),se=e=>"[object Object]"===re(e),ae=e=>X(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,le=o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ce=o("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),ue=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},de=/-(\w)/g,pe=ue((e=>e.replace(de,((e,t)=>t?t.toUpperCase():"")))),fe=/\B([A-Z])/g,he=ue((e=>e.replace(fe,"-$1").toLowerCase())),me=ue((e=>e.charAt(0).toUpperCase()+e.slice(1))),ve=ue((e=>e?`on${me(e)}`:"")),ye=(e,t)=>!Object.is(e,t),ge=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},be=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},_e=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let we;const xe=()=>we||(we="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{}),ke=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function Ee(e){return ke.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}},7478:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var whatwg_fetch__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7147),_components_Form__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(9140),_models_LanguageModel__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(6484),_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(3012),_models_Helper__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3356);function _typeof(e){return _typeof="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},_typeof(e)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){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 _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(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)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i=[],s=!0,a=!1;try{for(n=n.call(e);!(s=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);s=!0);}catch(e){a=!0,r=e}finally{try{s||null==n.return||n.return()}finally{if(a)throw r}}return i}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach((function(t){_defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _regeneratorRuntime(){_regeneratorRuntime=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function a(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(e){a=function(e,t,n){return e[t]=n}}function l(e,t,n,o){var r=t&&t.prototype instanceof d?t:d,i=Object.create(r.prototype),s=new k(o||[]);return i._invoke=function(e,t,n){var o="suspendedStart";return function(r,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===r)throw i;return C()}for(n.method=r,n.arg=i;;){var s=n.delegate;if(s){var a=_(s,n);if(a){if(a===u)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o="executing";var l=c(e,t,n);if("normal"===l.type){if(o=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o="completed",n.method="throw",n.arg=l.arg)}}}(e,n,s),i}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function p(){}function f(){}var h={};a(h,r,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(E([])));v&&v!==t&&n.call(v,r)&&(h=v);var y=f.prototype=d.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){a(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function o(r,i,s,a){var l=c(e[r],e,i);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==_typeof(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,s,a)}),(function(e){o("throw",e,s,a)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return o("throw",e,s,a)}))}a(l.arg)}var r;this._invoke=function(e,n){function i(){return new t((function(t,r){o(e,n,t,r)}))}return r=r?r.then(i,i):i()}}function _(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var o=c(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,u;var r=o.arg;return r?r.done?(t[e.resultName]=r.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function E(e){if(e){var t=e[r];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function t(){for(;++o<e.length;)if(n.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:C}}function C(){return{value:void 0,done:!0}}return p.prototype=f,a(y,"constructor",f),a(f,"constructor",p),p.displayName=a(f,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a(e,s,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},g(b.prototype),a(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,n,o,r,i){void 0===i&&(i=Promise);var s=new b(l(t,n,o,r),i);return e.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},g(y),a(y,s,"Generator"),a(y,r,(function(){return this})),a(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var o=t.pop();if(o in e)return n.value=o,n.done=!1,n}return n.done=!0,n}},e.values=E,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(n,o){return s.type="throw",s.arg=e,t.next=n,o&&(t.method="next",t.arg=void 0),!!o}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var a=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(a&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;x(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function asyncGeneratorStep(e,t,n,o,r,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(o,r)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var i=e.apply(t,n);function s(e){asyncGeneratorStep(i,o,r,s,a,"next",e)}function a(e){asyncGeneratorStep(i,o,r,s,a,"throw",e)}s(void 0)}))}}const __WEBPACK_DEFAULT_EXPORT__={name:"app",components:{FlowForm:_components_Form__WEBPACK_IMPORTED_MODULE_1__.Z},data:function(){return{submitted:!1,completed:!1,language:new _models_LanguageModel__WEBPACK_IMPORTED_MODULE_3__.Z,submissionMessage:"",responseMessage:"",hasError:!1,hasjQuery:"function"==typeof window.jQuery,isActiveForm:!1,submitting:!1,handlingScroll:!1,isScrollInit:!1,scrollDom:null}},computed:{questions:function questions(){var questions=[],fieldsWithOptions=[_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ce.Dropdown,_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ce.MultipleChoice,_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ce.MultiplePictureChoice,_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ce.TermsAndCondition,"FlowFormDropdownMultipleType"];return this.globalVars.form.questions.forEach((function(q){if(fieldsWithOptions.includes(q.type))q.options=q.options.map((function(e){return q.type===_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ce.MultiplePictureChoice&&(e.imageSrc=e.image),new _models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.L1(e)}));else if(q.type===_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ce.Date)try{eval("q.dateCustomConfig="+q.dateCustomConfig)}catch(e){q.dateCustomConfig={}}else if("FlowFormMatrixType"===q.type){for(var rowIndex in q.rows=[],q.columns=[],q.grid_rows)q.rows.push(new _models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.Ux({id:rowIndex,label:q.grid_rows[rowIndex]}));for(var colIndex in q.grid_columns)q.columns.push(new _models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.vF({value:colIndex,label:q.grid_columns[colIndex]}))}else"FlowFormPaymentMethodType"===q.type?q.options=q.options.map((function(e){return q.type===_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ce.MultiplePictureChoice&&(e.imageSrc=e.image),new _models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.L1(e)})):"FlowFormSubscriptionType"===q.type&&q.options&&(q.options=q.options.map((function(e){return new _models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.L1(e)})));questions.push(new _models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ZP(q))})),questions}},watch:{isActiveForm:function(e){e&&!this.isScrollInit?(this.initScrollHandler(),this.isScrollInit=!0):(this.isScrollInit=!1,this.removeScrollHandler())}},mounted:function(){if(this.initActiveFormFocus(),"yes"!=this.globalVars.design.disable_scroll_to_next){var e=document.getElementsByClassName("ff_conv_app_"+this.globalVars.form.id);e.length&&(this.scrollDom=e[0])}},beforeDestroy:function(){},methods:{onAnswer:function(){this.isActiveForm=!0},initScrollHandler:function(){this.scrollDom&&(this.scrollDom.addEventListener("wheel",this.onMouseScroll),this.scrollDom.addEventListener("swiped",this.onSwipe))},onMouseScroll:function(e){if(this.handlingScroll)return!1;e.deltaY>50?this.handleAutoQChange("next"):e.deltaY<-50&&this.handleAutoQChange("prev")},onSwipe:function(e){var t=e.detail.dir;"up"===t?this.handleAutoQChange("next"):"down"===t&&this.handleAutoQChange("prev")},removeScrollHandler:function(){this.scrollDom&&(this.scrollDom.removeEventListener("wheel",this.onMouseScroll),this.scrollDom.removeEventListener("swiped",this.onSwipe))},handleAutoQChange:function(e){var t,n=document.querySelector(".ff_conv_app_"+this.globalVars.form.id+" .f-"+e);!n||(t="f-disabled",(" "+n.className+" ").indexOf(" "+t+" ")>-1)||(this.handlingScroll=!0,n.click())},activeQuestionIndexChanged:function(){var e=this;setTimeout((function(){e.handlingScroll=!1}),1500)},initActiveFormFocus:function(){var e=this;if(this.globalVars.is_inline_form){this.isActiveForm=!1;var t=document.querySelector(".ff_conv_app_frame");document.addEventListener("click",(function(n){e.isActiveForm=t.contains(n.target)}))}else this.isActiveForm=!0},onKeyListener:function(e){"Enter"===e.key&&this.completed&&!this.submitted&&this.submitting},onComplete:function(e,t){this.completed=e},onSubmit:function(e){this.submitting||this.onSendData()},onSendData:function(e,t){var n=this;return _asyncToGenerator(_regeneratorRuntime().mark((function o(){var r,i,s,a,l;return _regeneratorRuntime().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(a=function(e){var t=s;return t+=(t.split("?")[1]?"&":"?")+e},n.submitting=!0,!t&&n.globalVars.form.hasPayment&&(t=n.globalVars.paymentConfig.i18n.confirming_text),n.responseMessage=t||"",n.hasError=!1,e){o.next=13;break}return o.next=8,n.getData();case 8:for(i in r=o.sent,n.globalVars.extra_inputs)r+="&"+encodeURIComponent(i)+"="+encodeURIComponent(n.globalVars.extra_inputs[i]);(e=new FormData).append("action","fluentform_submit"),e.append("data",r);case 13:e.append("form_id",n.globalVars.form.id),s=n.globalVars.ajaxurl,l=a("t="+Date.now()),fetch(l,{method:"POST",body:e}).then((function(e){return e.json()})).then((function(e){e&&e.data&&e.data.result?e.data.nextAction?n.handleNextAction(e.data):(n.$refs.flowform.submitted=n.submitted=!0,e.data.result.message&&(n.submissionMessage=e.data.result.message),"redirectUrl"in e.data.result&&e.data.result.redirectUrl&&(location.href=e.data.result.redirectUrl)):e.errors?(n.showErrorMessages(e.errors),n.showErrorMessages(e.message)):e.success?(n.showErrorMessages(e),n.showErrorMessages(e.message)):n.showErrorMessages(e.data.message)})).catch((function(e){e.errors?n.showErrorMessages(e.errors):n.showErrorMessages(e)})).finally((function(e){n.submitting=!1}));case 17:case"end":return o.stop()}}),o)})))()},getData:function(){var e=this;return _asyncToGenerator(_regeneratorRuntime().mark((function t(){var n;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=[],e.$refs.flowform.questionList.forEach((function(t){null!==t.answer&&e.serializeAnswer(t,n)})),e.questions.forEach((function(t){t.type===_models_QuestionModel__WEBPACK_IMPORTED_MODULE_2__.ce.Hidden&&null!==t.answer&&e.serializeAnswer(t,n)})),t.next=5,e.setCaptchaResponse(n);case 5:return t.abrupt("return",n.join("&"));case 6:case"end":return t.stop()}}),t)})))()},serializeAnswer:function(e,t){if("FlowFormMatrixType"===e.type){var n=function(n){e.multiple?e.answer[n].forEach((function(o){t.push(encodeURIComponent(e.name+"["+n+"][]")+"="+encodeURIComponent(o))})):t.push(encodeURIComponent(e.name+"["+n+"]")+"="+encodeURIComponent(e.answer[n]))};for(var o in e.answer)n(o)}else if(e.is_subscription_field){if(t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.answer)),e.customPayment){var r=e.name+"_custom_"+e.answer;t.push(encodeURIComponent(r)+"="+encodeURIComponent(e.customPayment))}}else if(e.multiple)e.answer.forEach((function(n){n=(0,_models_Helper__WEBPACK_IMPORTED_MODULE_4__.h)(n,e),t.push(encodeURIComponent(e.name+"[]")+"="+encodeURIComponent(n))}));else{var i=(0,_models_Helper__WEBPACK_IMPORTED_MODULE_4__.h)(e.answer,e);t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(i))}return t},getSubmitText:function(){return this.globalVars.form.submit_button.settings.button_ui.text||"Submit"},showErrorMessages:function(e){var t=this;if(e){if(this.hasError=!0,"string"==typeof e)this.responseMessage=e;else{var n=function(n){if("string"==typeof e[n])t.responseMessage=e[n];else for(var o in e[n]){var r=t.questions.filter((function(e){return e.name===n}));r&&r.length?((r=r[0]).error=e[n][o],t.$refs.flowform.activeQuestionIndex=r.index,t.$refs.flowform.questionRefs[r.index].focusField()):t.responseMessage=e[n][o];break}return"break"};for(var o in e){if("break"===n(o))break}}this.replayForm()}},handleNextAction:function(e){this[e.actionName]?(this.responseMessage=e.message,this.hasError=!1,this[e.actionName](e)):alert("No method found")},normalRedirect:function(e){window.location.href=e.redirect_url},stripeRedirectToCheckout:function(e){var t=new Stripe(this.globalVars.paymentConfig.stripe.publishable_key);t.registerAppInfo(this.globalVars.paymentConfig.stripe_app_info),t.redirectToCheckout({sessionId:e.sessionId}).then((function(e){console.log(e)}))},initRazorPayModal:function(e){var t=this,n=e.modal_data;n.handler=function(n){t.handlePaymentConfirm({action:"fluentform_razorpay_confirm_payment",transaction_hash:e.transaction_hash,razorpay_order_id:n.razorpay_order_id,razorpay_payment_id:n.razorpay_payment_id,razorpay_signature:n.razorpay_signature},e.confirming_text)},n.modal={escape:!1,ondismiss:function(){t.responseMessage="",t.replayForm(!0)}};var o=new Razorpay(n);o.on("payment.failed",(function(e){this.replayForm(!0)})),o.open()},initPaystackModal:function(e){var t=this,n=e.modal_data;n.callback=function(n){t.handlePaymentConfirm(_objectSpread({action:"fluentform_paystack_confirm_payment"},n),e.confirming_text)},n.onClose=function(e){t.responseMessage=""},PaystackPop.setup(n).openIframe()},initStripeSCAModal:function(e){var t=this;console.log("calledinitStripeSCAModal",e,this.stripe),this.stripe.handleCardAction(e.client_secret).then((function(n){n.error?t.showErrorMessages(n.error.message):t.handlePaymentConfirm({action:"fluentform_sca_inline_confirm_payment",payment_method:n.paymentIntent.payment_method,payment_intent_id:n.paymentIntent.id,submission_id:e.submission_id,type:"handleCardAction"})}))},stripeSetupIntent:function(e){var t=this;this.stripe.confirmCardPayment(e.client_secret,{payment_method:e.payment_method_id}).then((function(n){n.error?t.showErrorMessages(n.error.message):t.handlePaymentConfirm({action:"fluentform_sca_inline_confirm_payment_setup_intents",payment_method:n.paymentIntent.payment_method,payemnt_method_id:e.payemnt_method_id,payment_intent_id:n.paymentIntent.id,submission_id:e.submission_id,stripe_subscription_id:e.stripe_subscription_id,type:"handleCardSetup"})}))},handlePaymentConfirm:function(e,t){t=t||this.globalVars.paymentConfig.i18n.confirming_text;for(var n=Object.entries(e),o=new FormData,r=0,i=n;r<i.length;r++){var s=_slicedToArray(i[r],2),a=s[0],l=s[1];o.append(a,l)}this.onSendData(o,t)},replayForm:function(){this.$refs.flowform.submitted=this.submitted=!1,this.$refs.flowform.submitClicked=!1},setCaptchaResponse:function(e){var t=this;return _asyncToGenerator(_regeneratorRuntime().mark((function n(){var o,r;return _regeneratorRuntime().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!t.globalVars.form.reCaptcha){n.next=9;break}if(2!=t.globalVars.form.reCaptcha.version){n.next=5;break}o=grecaptcha.getResponse(),n.next=8;break;case 5:return n.next=7,grecaptcha.execute(t.globalVars.form.reCaptcha.siteKey,{action:"submit"});case 7:o=n.sent;case 8:o&&e.push("g-recaptcha-response="+o);case 9:t.globalVars.form.hCaptcha&&(r=hcaptcha.getResponse())&&e.push("h-captcha-response="+r);case 10:case"end":return n.stop()}}),n)})))()}}}},8289:(e,t,n)=>{"use strict";function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}n.d(t,{Z:()=>r});var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.enterKey="Enter",this.shiftKey="Shift",this.ok="OK",this.continue="Continue",this.skip="Skip",this.pressEnter="Press :enterKey",this.multipleChoiceHelpText="Choose as many as you like",this.multipleChoiceHelpTextSingle="Choose only one answer",this.otherPrompt="Other",this.placeholder="Type your answer here...",this.submitText="Submit",this.longTextHelpText=":shiftKey + :enterKey to make a line break.",this.prev="Prev",this.next="Next",this.percentCompleted=":percent% completed",this.invalidPrompt="Please fill out the field correctly",this.thankYouText="Thank you!",this.successText="Your submission has been sent.",this.ariaOk="Press to continue",this.ariaRequired="This step is required",this.ariaPrev="Previous step",this.ariaNext="Next step",this.ariaSubmitText="Press to submit",this.ariaMultipleChoice="Press :letter to select",this.ariaTypeAnswer="Type your answer here",this.errorAllowedFileTypes="Invalid file type. Allowed file types: :fileTypes.",this.errorMaxFileSize="File(s) too large. Maximum allowed file size: :size.",this.errorMinFiles="Too few files added. Minimum allowed files: :min.",this.errorMaxFiles="Too many files added. Maximum allowed files: :max.",Object.assign(this,t||{})}var t,n,r;return t=e,(n=[{key:"formatString",value:function(e,t){var n=this;return e.replace(/:(\w+)/g,(function(e,o){return n[o]?'<span class="f-string-em">'+n[o]+"</span>":t&&t[o]?t[o]:e}))}},{key:"formatFileSize",value:function(e){var t=e>0?Math.floor(Math.log(e)/Math.log(1024)):0;return 1*(e/Math.pow(1024,t)).toFixed(2)+" "+["B","kB","MB","GB","TB"][t]}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()},5291:(e,t,n)=>{"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{L1:()=>l,Ux:()=>d,ZP:()=>p,ce:()=>s,fB:()=>c,vF:()=>u});var s=Object.freeze({Date:"FlowFormDateType",Dropdown:"FlowFormDropdownType",Email:"FlowFormEmailType",File:"FlowFormFileType",LongText:"FlowFormLongTextType",MultipleChoice:"FlowFormMultipleChoiceType",MultiplePictureChoice:"FlowFormMultiplePictureChoiceType",Number:"FlowFormNumberType",Password:"FlowFormPasswordType",Phone:"FlowFormPhoneType",SectionBreak:"FlowFormSectionBreakType",Text:"FlowFormTextType",Url:"FlowFormUrlType",Matrix:"FlowFormMatrixType"}),a=(Object.freeze({label:"",value:"",disabled:!0}),Object.freeze({Date:"##/##/####",DateIso:"####-##-##",PhoneUs:"(###) ###-####"})),l=function(){function e(t){o(this,e),this.label="",this.value=null,this.selected=!1,this.imageSrc=null,this.imageAlt=null,Object.assign(this,t)}return i(e,[{key:"choiceLabel",value:function(){return this.label||this.value}},{key:"choiceValue",value:function(){return null!==this.value?this.value:this.label||this.imageAlt||this.imageSrc}},{key:"toggle",value:function(){this.selected=!this.selected}}]),e}(),c=i((function e(t){o(this,e),this.url="",this.text="",this.target="_blank",Object.assign(this,t)})),u=i((function e(t){o(this,e),this.value="",this.label="",Object.assign(this,t)})),d=i((function e(t){o(this,e),this.id="",this.label="",Object.assign(this,t)})),p=function(){function e(t){o(this,e),t=t||{},this.id=null,this.answer=null,this.answered=!1,this.index=0,this.options=[],this.description="",this.className="",this.type=null,this.html=null,this.required=!1,this.jump=null,this.placeholder=null,this.mask="",this.multiple=!1,this.allowOther=!1,this.other=null,this.language=null,this.tagline=null,this.title=null,this.subtitle=null,this.content=null,this.inline=!1,this.helpText=null,this.helpTextShow=!0,this.descriptionLink=[],this.min=null,this.max=null,this.maxLength=null,this.nextStepOnAnswer=!1,this.accept=null,this.maxSize=null,this.rows=[],this.columns=[],Object.assign(this,t),this.type===s.Phone&&(this.mask||(this.mask=a.Phone),this.placeholder||(this.placeholder=this.mask)),this.type===s.Url&&(this.mask=null),this.type!==s.Date||this.placeholder||(this.placeholder="yyyy-mm-dd"),this.type!==s.Matrix&&this.multiple&&!Array.isArray(this.answer)&&(this.answer=this.answer?[this.answer]:[]),(this.required||void 0===t.answer)&&(!this.answer||this.multiple&&!this.answer.length)||(this.answered=!0),this.resetOptions()}return i(e,[{key:"getJumpId",value:function(){var e=null;return"function"==typeof this.jump?e=this.jump.call(this):this.jump[this.answer]?e=this.jump[this.answer]:this.jump._other&&(e=this.jump._other),e}},{key:"setAnswer",value:function(e){this.type!==s.Number||""===e||isNaN(+e)||(e=+e),this.answer=e}},{key:"setIndex",value:function(e){this.id||(this.id="q_"+e),this.index=e}},{key:"resetOptions",value:function(){var e=this;if(this.options){var t=Array.isArray(this.answer),n=0;if(this.options.forEach((function(o){var r=o.choiceValue();e.answer===r||t&&-1!==e.answer.indexOf(r)?(o.selected=!0,++n):o.selected=!1})),this.allowOther){var o=null;t?this.answer.length&&this.answer.length!==n&&(o=this.answer[this.answer.length-1]):-1===this.options.map((function(e){return e.choiceValue()})).indexOf(this.answer)&&(o=this.answer),null!==o&&(this.other=o)}}}},{key:"resetAnswer",value:function(){this.answered=!1,this.answer=this.multiple?[]:null,this.other=null,this.resetOptions()}},{key:"isMultipleChoiceType",value:function(){return[s.MultipleChoice,s.MultiplePictureChoice].includes(this.type)}}]),e}()},9672:(e,t,n)=>{"use strict";var o=n(4865),r=(0,o.createElementVNode)("div",null,null,-1),i={key:0,class:"ff-response-msg"},s={key:1,class:"text-success ff_completed ff-response ff-section-text"},a={class:"vff vff_layout_default"},l={class:"f-container"},c={class:"f-form-wrap"},u={class:"vff-animate q-form f-fade-in-up field-welcomescreen"},d=["innerHTML"];var p=n(7478);const f=(0,n(3744).Z)(p.Z,[["render",function(e,t,n,p,f,h){var m=(0,o.resolveComponent)("flow-form");return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[f.submissionMessage?((0,o.openBlock)(),(0,o.createElementBlock)("div",s,[(0,o.createElementVNode)("div",a,[(0,o.createElementVNode)("div",l,[(0,o.createElementVNode)("div",c,[(0,o.createElementVNode)("div",u,[(0,o.createElementVNode)("div",{class:"ff_conv_input q-inner",innerHTML:f.submissionMessage},null,8,d)])])])])])):((0,o.openBlock)(),(0,o.createBlock)(m,{key:0,ref:"flowform",onComplete:h.onComplete,onSubmit:h.onSubmit,onActiveQuestionIndexChanged:h.activeQuestionIndexChanged,onAnswer:h.onAnswer,questions:h.questions,isActiveForm:f.isActiveForm,language:f.language,globalVars:e.globalVars,standalone:!0,submitting:f.submitting,navigation:1!=e.globalVars.disable_step_naviagtion},{complete:(0,o.withCtx)((function(){return[r]})),completeButton:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",null,[f.responseMessage?((0,o.openBlock)(),(0,o.createElementBlock)("div",i,[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(f.hasError?"f-invalid":"f-info"),role:"alert","aria-live":"assertive"},(0,o.toDisplayString)(f.responseMessage),3)])):(0,o.createCommentVNode)("",!0)])]})),_:1},8,["onComplete","onSubmit","onActiveQuestionIndexChanged","onAnswer","questions","isActiveForm","language","globalVars","submitting","navigation"]))])}]]);function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return m(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 m(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}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 i,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function v(e){window.fluent_forms_global_var=window[e.getAttribute("data-var_name")];var t=(0,o.createApp)(f);t.config.globalProperties.globalVars=window.fluent_forms_global_var,t.unmount(),t.mount("#"+e.id)}function y(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=h(t);try{for(n.s();!(e=n.n()).done;){var o=e.value;v(o)}}catch(e){n.e(e)}finally{n.f()}}n(6770),y(document.getElementsByClassName("ffc_conv_form")),document.addEventListener("ff-elm-conv-form-event",(function(e){y(e.detail)}))},3356:(e,t,n)=>{"use strict";function o(e,t){if(t.is_payment_field&&t.options&&t.options.length){var n=t.options.find((function(t){return t.value==e}));n&&(e=n.label)}return e}n.d(t,{h:()=>o})},6484:(e,t,n)=>{"use strict";function o(e){return o="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},o(e)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function s(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,o=l(e);if(t){var r=l(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return a(this,n)}}function a(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}n.d(t,{Z:()=>c});var c=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&&i(e,t)}(l,e);var t,n,o,a=s(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).ok=window.fluent_forms_global_var.i18n.confirm_btn,t.continue=window.fluent_forms_global_var.i18n.continue,t.skip=window.fluent_forms_global_var.i18n.skip_btn,t.pressEnter=window.fluent_forms_global_var.i18n.keyboard_instruction,t.multipleChoiceHelpText=window.fluent_forms_global_var.i18n.multi_select_hint,t.multipleChoiceHelpTextSingle=window.fluent_forms_global_var.i18n.single_select_hint,t.longTextHelpText=window.fluent_forms_global_var.i18n.long_text_help,t.percentCompleted=window.fluent_forms_global_var.i18n.progress_text,t.invalidPrompt=window.fluent_forms_global_var.i18n.invalid_prompt,t.placeholder=window.fluent_forms_global_var.i18n.default_placeholder,t}return t=l,n&&r(t.prototype,n),o&&r(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(n(8289).Z)},3012:(e,t,n)=>{"use strict";n.d(t,{L1:()=>o.L1,Ux:()=>o.Ux,ZP:()=>d,ce:()=>u,vF:()=>o.vF});var o=n(5291);function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function a(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,o=c(e);if(t){var r=c(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return l(this,n)}}function l(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}var u=Object.assign({Rate:"FlowFormRateType",Text:"FlowFormTextType",Email:"FlowFormEmailType",Phone:"FlowFormPhoneType",Hidden:"FlowFormHiddenType",SectionBreak:"FlowFormSectionBreakType",WelcomeScreen:"FlowFormWelcomeScreenType",MultipleChoice:"FlowFormMultipleChoiceType",DropdownMultiple:"FlowFormDropdownMultipleType",TermsAndCondition:"FlowFormTermsAndConditionType",MultiplePictureChoice:"FlowFormMultiplePictureChoiceType"},o.ce),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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(c,e);var t,n,o,l=a(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=l.call(this,e)).counter=0,t}return t=c,(n=[{key:"setCounter",value:function(e){this.counter=e}},{key:"showQuestion",value:function(e){if(this.type===u.Hidden)return!1;var t=!1;if(this.conditional_logics.status){for(var n=0;n<this.conditional_logics.conditions.length;n++){var o=this.evaluateCondition(this.conditional_logics.conditions[n],e[this.conditional_logics.conditions[n].field]);if("any"===this.conditional_logics.type){if(o){t=!0;break}}else{if(!o){t=!1;break}t=!0}}return t}return!0}},{key:"evaluateCondition",value:function(e,t){return"="==e.operator?"object"==r(t)?null!==t&&-1!=t.indexOf(e.value):t==e.value:"!="==e.operator?"object"==r(t)?null!==t&&-1==t.indexOf(e.value):t!=e.value:">"==e.operator?t&&t>Number(e.value):"<"==e.operator?t&&t<Number(e.value):">="==e.operator?t&&t>=Number(e.value):"<="==e.operator?t&&t<=Number(e.value):"startsWith"==e.operator?t.startsWith(e.value):"endsWith"==e.operator?t.endsWith(e.value):"contains"==e.operator?null!==t&&-1!=t.indexOf(e.value):"doNotContains"==e.operator&&null!==t&&-1==t.indexOf(e.value)}},{key:"isMultipleChoiceType",value:function(){return[u.MultipleChoice,u.MultiplePictureChoice,u.DropdownMultiple].includes(this.type)}}])&&i(t.prototype,n),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.ZP)},7484:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,o="millisecond",r="second",i="minute",s="hour",a="day",l="week",c="month",u="quarter",d="year",p="date",f="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},y=function(e,t,n){var o=String(e);return!o||o.length>=t?e:""+Array(t+1-o.length).join(n)+e},g={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),o=Math.floor(n/60),r=n%60;return(t<=0?"+":"-")+y(o,2,"0")+":"+y(r,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var o=12*(n.year()-t.year())+(n.month()-t.month()),r=t.clone().add(o,c),i=n-r<0,s=t.clone().add(o+(i?-1:1),c);return+(-(o+(n-r)/(i?r-s:s-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:l,d:a,D:p,h:s,m:i,s:r,ms:o,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",_={};_[b]=v;var w=function(e){return e instanceof C},x=function e(t,n,o){var r;if(!t)return b;if("string"==typeof t){var i=t.toLowerCase();_[i]&&(r=i),n&&(_[i]=n,r=i);var s=t.split("-");if(!r&&s.length>1)return e(s[0])}else{var a=t.name;_[a]=t,r=a}return!o&&r&&(b=r),r||!o&&b},k=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new C(n)},E=g;E.l=x,E.i=w,E.w=function(e,t){return k(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var C=function(){function v(e){this.$L=x(e.locale,null,!0),this.parse(e)}var y=v.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(E.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var o=t.match(h);if(o){var r=o[2]-1||0,i=(o[7]||"0").substring(0,3);return n?new Date(Date.UTC(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,i)):new Date(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return E},y.isValid=function(){return!(this.$d.toString()===f)},y.isSame=function(e,t){var n=k(e);return this.startOf(t)<=n&&n<=this.endOf(t)},y.isAfter=function(e,t){return k(e)<this.startOf(t)},y.isBefore=function(e,t){return this.endOf(t)<k(e)},y.$g=function(e,t,n){return E.u(e)?this[t]:this.set(n,e)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(e,t){var n=this,o=!!E.u(t)||t,u=E.p(e),f=function(e,t){var r=E.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return o?r:r.endOf(a)},h=function(e,t){return E.w(n.toDate()[e].apply(n.toDate("s"),(o?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,v=this.$M,y=this.$D,g="set"+(this.$u?"UTC":"");switch(u){case d:return o?f(1,0):f(31,11);case c:return o?f(1,v):f(0,v+1);case l:var b=this.$locale().weekStart||0,_=(m<b?m+7:m)-b;return f(o?y-_:y+(6-_),v);case a:case p:return h(g+"Hours",0);case s:return h(g+"Minutes",1);case i:return h(g+"Seconds",2);case r:return h(g+"Milliseconds",3);default:return this.clone()}},y.endOf=function(e){return this.startOf(e,!1)},y.$set=function(e,t){var n,l=E.p(e),u="set"+(this.$u?"UTC":""),f=(n={},n[a]=u+"Date",n[p]=u+"Date",n[c]=u+"Month",n[d]=u+"FullYear",n[s]=u+"Hours",n[i]=u+"Minutes",n[r]=u+"Seconds",n[o]=u+"Milliseconds",n)[l],h=l===a?this.$D+(t-this.$W):t;if(l===c||l===d){var m=this.clone().set(p,1);m.$d[f](h),m.init(),this.$d=m.set(p,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},y.set=function(e,t){return this.clone().$set(e,t)},y.get=function(e){return this[E.p(e)]()},y.add=function(o,u){var p,f=this;o=Number(o);var h=E.p(u),m=function(e){var t=k(f);return E.w(t.date(t.date()+Math.round(e*o)),f)};if(h===c)return this.set(c,this.$M+o);if(h===d)return this.set(d,this.$y+o);if(h===a)return m(1);if(h===l)return m(7);var v=(p={},p[i]=t,p[s]=n,p[r]=e,p)[h]||1,y=this.$d.getTime()+o*v;return E.w(y,this)},y.subtract=function(e,t){return this.add(-1*e,t)},y.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||f;var o=e||"YYYY-MM-DDTHH:mm:ssZ",r=E.z(this),i=this.$H,s=this.$m,a=this.$M,l=n.weekdays,c=n.months,u=function(e,n,r,i){return e&&(e[n]||e(t,o))||r[n].slice(0,i)},d=function(e){return E.s(i%12||12,e,"0")},p=n.meridiem||function(e,t,n){var o=e<12?"AM":"PM";return n?o.toLowerCase():o},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:E.s(a+1,2,"0"),MMM:u(n.monthsShort,a,c,3),MMMM:u(c,a),D:this.$D,DD:E.s(this.$D,2,"0"),d:String(this.$W),dd:u(n.weekdaysMin,this.$W,l,2),ddd:u(n.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(i),HH:E.s(i,2,"0"),h:d(1),hh:d(2),a:p(i,s,!0),A:p(i,s,!1),m:String(s),mm:E.s(s,2,"0"),s:String(this.$s),ss:E.s(this.$s,2,"0"),SSS:E.s(this.$ms,3,"0"),Z:r};return o.replace(m,(function(e,t){return t||h[e]||r.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(o,p,f){var h,m=E.p(p),v=k(o),y=(v.utcOffset()-this.utcOffset())*t,g=this-v,b=E.m(this,v);return b=(h={},h[d]=b/12,h[c]=b,h[u]=b/3,h[l]=(g-y)/6048e5,h[a]=(g-y)/864e5,h[s]=g/n,h[i]=g/t,h[r]=g/e,h)[m]||g,f?b:E.a(b)},y.daysInMonth=function(){return this.endOf(c).$D},y.$locale=function(){return _[this.$L]},y.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),o=x(e,t,!0);return o&&(n.$L=o),n},y.clone=function(){return E.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},v}(),S=C.prototype;return k.prototype=S,[["$ms",o],["$s",r],["$m",i],["$H",s],["$W",a],["$M",c],["$y",d],["$D",p]].forEach((function(e){S[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),k.extend=function(e,t){return e.$i||(e(t,C,k),e.$i=!0),k},k.locale=x,k.isDayjs=w,k.unix=function(e){return k(1e3*e)},k.en=_[b],k.Ls=_,k.p={},k}()},1247:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(6722),r=n(3566),i=n(4865),s=n(9272),a=n(2796);function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=l(r),u=l(a);const d=new Map;let p;function f(e,t){let n=[];return Array.isArray(t.arg)?n=t.arg:n.push(t.arg),function(o,r){const i=t.instance.popperRef,s=o.target,a=null==r?void 0:r.target,l=!t||!t.instance,c=!s||!a,u=e.contains(s)||e.contains(a),d=e===s,p=n.length&&n.some((e=>null==e?void 0:e.contains(s)))||n.length&&n.includes(a),f=i&&(i.contains(s)||i.contains(a));l||c||u||d||p||f||t.value(o,r)}}c.default||(o.on(document,"mousedown",(e=>p=e)),o.on(document,"mouseup",(e=>{for(const{documentHandler:t}of d.values())t(e,p)})));const h={beforeMount(e,t){d.set(e,{documentHandler:f(e,t),bindingFn:t.value})},updated(e,t){d.set(e,{documentHandler:f(e,t),bindingFn:t.value})},unmounted(e){d.delete(e)}};var m={beforeMount(e,t){let n,r=null;const i=()=>t.value&&t.value(),s=()=>{Date.now()-n<100&&i(),clearInterval(r),r=null};o.on(e,"mousedown",(e=>{0===e.button&&(n=Date.now(),o.once(document,"mouseup",s),clearInterval(r),r=setInterval(i,100))}))}};const v="_trap-focus-children",y=[],g=e=>{if(0===y.length)return;const t=y[y.length-1][v];if(t.length>0&&e.code===s.EVENT_CODE.tab){if(1===t.length)return e.preventDefault(),void(document.activeElement!==t[0]&&t[0].focus());const n=e.shiftKey,o=e.target===t[0],r=e.target===t[t.length-1];o&&n&&(e.preventDefault(),t[t.length-1].focus()),r&&!n&&(e.preventDefault(),t[0].focus())}},b={beforeMount(e){e[v]=s.obtainAllFocusableElements(e),y.push(e),y.length<=1&&o.on(document,"keydown",g)},updated(e){i.nextTick((()=>{e[v]=s.obtainAllFocusableElements(e)}))},unmounted(){y.shift(),0===y.length&&o.off(document,"keydown",g)}},_="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,w={beforeMount(e,t){!function(e,t){if(e&&e.addEventListener){const n=function(e){const n=u.default(e);t&&t.apply(this,[e,n])};_?e.addEventListener("DOMMouseScroll",n):e.onmousewheel=n}}(e,t.value)}};t.ClickOutside=h,t.Mousewheel=w,t.RepeatClick=m,t.TrapFocus=b},7800:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4865);function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(n(9652));const s="elForm",a={addField:"el.form.addField",removeField:"el.form.removeField"};var l=Object.defineProperty,c=Object.defineProperties,u=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t)=>{for(var n in t||(t={}))p.call(t,n)&&h(e,n,t[n]);if(d)for(var n of d(t))f.call(t,n)&&h(e,n,t[n]);return e};var v=o.defineComponent({name:"ElForm",props:{model:Object,rules:Object,labelPosition:String,labelWidth:String,labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:String,disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1}},emits:["validate"],setup(e,{emit:t}){const n=i.default(),r=[];o.watch((()=>e.rules),(()=>{r.forEach((e=>{e.removeValidateEvents(),e.addValidateEvents()})),e.validateOnRuleChange&&p((()=>({})))})),n.on(a.addField,(e=>{e&&r.push(e)})),n.on(a.removeField,(e=>{e.prop&&r.splice(r.indexOf(e),1)}));const l=()=>{e.model?r.forEach((e=>{e.resetField()})):console.warn("[Element Warn][Form]model is required for resetFields to work.")},d=(e=[])=>{(e.length?"string"==typeof e?r.filter((t=>e===t.prop)):r.filter((t=>e.indexOf(t.prop)>-1)):r).forEach((e=>{e.clearValidate()}))},p=t=>{if(!e.model)return void console.warn("[Element Warn][Form]model is required for validate to work!");let n;"function"!=typeof t&&(n=new Promise(((e,n)=>{t=function(t,o){t?e(!0):n(o)}}))),0===r.length&&t(!0);let o=!0,i=0,s={};for(const e of r)e.validate("",((e,n)=>{e&&(o=!1),s=m(m({},s),n),++i===r.length&&t(o,s)}));return n},f=(e,t)=>{e=[].concat(e);const n=r.filter((t=>-1!==e.indexOf(t.prop)));r.length?n.forEach((e=>{e.validate("",t)})):console.warn("[Element Warn]please pass correct props!")},h=o.reactive(m((v=m({formMitt:n},o.toRefs(e)),c(v,u({resetFields:l,clearValidate:d,validateField:f,emit:t}))),function(){const e=o.ref([]);function t(t){const n=e.value.indexOf(t);return-1===n&&console.warn("[Element Warn][ElementForm]unexpected width "+t),n}return{autoLabelWidth:o.computed((()=>{if(!e.value.length)return"0";const t=Math.max(...e.value);return t?`${t}px`:""})),registerLabelWidth:function(n,o){if(n&&o){const r=t(o);e.value.splice(r,1,n)}else n&&e.value.push(n)},deregisterLabelWidth:function(n){const o=t(n);o>-1&&e.value.splice(o,1)}}}()));var v;return o.provide(s,h),{validate:p,resetFields:l,clearValidate:d,validateField:f}}});v.render=function(e,t,n,r,i,s){return o.openBlock(),o.createBlock("form",{class:["el-form",[e.labelPosition?"el-form--label-"+e.labelPosition:"",{"el-form--inline":e.inline}]]},[o.renderSlot(e.$slots,"default")],2)},v.__file="packages/form/src/form.vue",v.install=e=>{e.component(v.name,v)};const y=v;t.default=y,t.elFormEvents=a,t.elFormItemKey="elFormItem",t.elFormKey=s},1002:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4865),r=n(3676),i=n(2532),s=n(5450),a=n(3566),l=n(6645),c=n(6801),u=n(7800);function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=d(a);let f;const h=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function m(e,t=1,n=null){var o;f||(f=document.createElement("textarea"),document.body.appendChild(f));const{paddingSize:r,borderSize:i,boxSizing:s,contextStyle:a}=function(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),o=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),r=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:h.map((e=>`${e}:${t.getPropertyValue(e)}`)).join(";"),paddingSize:o,borderSize:r,boxSizing:n}}(e);f.setAttribute("style",`${a};\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n`),f.value=e.value||e.placeholder||"";let l=f.scrollHeight;const c={};"border-box"===s?l+=i:"content-box"===s&&(l-=r),f.value="";const u=f.scrollHeight-r;if(null!==t){let e=u*t;"border-box"===s&&(e=e+r+i),l=Math.max(e,l),c.minHeight=`${e}px`}if(null!==n){let e=u*n;"border-box"===s&&(e=e+r+i),l=Math.min(e,l)}return c.height=`${l}px`,null==(o=f.parentNode)||o.removeChild(f),f=null,c}var v=Object.defineProperty,y=Object.defineProperties,g=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,k=(e,t)=>{for(var n in t||(t={}))_.call(t,n)&&x(e,n,t[n]);if(b)for(var n of b(t))w.call(t,n)&&x(e,n,t[n]);return e},E=(e,t)=>y(e,g(t));const C={suffix:"append",prefix:"prepend"};var S=o.defineComponent({name:"ElInput",inheritAttrs:!1,props:{modelValue:{type:[String,Number],default:""},type:{type:String,default:"text"},size:{type:String,validator:c.isValidComponentSize},resize:{type:String,validator:e=>["none","both","horizontal","vertical"].includes(e)},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off",validator:e=>["on","off"].includes(e)},placeholder:{type:String},form:{type:String,default:""},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:String,default:""},prefixIcon:{type:String,default:""},label:{type:String},tabindex:{type:[Number,String]},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Object,default:()=>({})}},emits:[i.UPDATE_MODEL_EVENT,"input","change","focus","blur","clear","mouseleave","mouseenter","keydown"],setup(e,t){const n=o.getCurrentInstance(),a=r.useAttrs(),c=s.useGlobalConfig(),d=o.inject(u.elFormKey,{}),f=o.inject(u.elFormItemKey,{}),h=o.ref(null),v=o.ref(null),y=o.ref(!1),g=o.ref(!1),b=o.ref(!1),_=o.ref(!1),w=o.shallowRef(e.inputStyle),x=o.computed((()=>h.value||v.value)),S=o.computed((()=>e.size||f.size||c.size)),O=o.computed((()=>d.statusIcon)),T=o.computed((()=>f.validateState||"")),B=o.computed((()=>i.VALIDATE_STATE_MAP[T.value])),M=o.computed((()=>E(k({},w.value),{resize:e.resize}))),V=o.computed((()=>e.disabled||d.disabled)),N=o.computed((()=>null===e.modelValue||void 0===e.modelValue?"":String(e.modelValue))),P=o.computed((()=>t.attrs.maxlength)),A=o.computed((()=>e.clearable&&!V.value&&!e.readonly&&N.value&&(y.value||g.value))),q=o.computed((()=>e.showPassword&&!V.value&&!e.readonly&&(!!N.value||y.value))),F=o.computed((()=>e.showWordLimit&&t.attrs.maxlength&&("text"===e.type||"textarea"===e.type)&&!V.value&&!e.readonly&&!e.showPassword)),L=o.computed((()=>"number"==typeof e.modelValue?String(e.modelValue).length:(e.modelValue||"").length)),I=o.computed((()=>F.value&&L.value>P.value)),D=()=>{const{type:t,autosize:n}=e;if(!p.default&&"textarea"===t)if(n){const t=s.isObject(n)?n.minRows:void 0,o=s.isObject(n)?n.maxRows:void 0;w.value=k(k({},e.inputStyle),m(v.value,t,o))}else w.value=E(k({},e.inputStyle),{minHeight:m(v.value).minHeight})},j=()=>{const e=x.value;e&&e.value!==N.value&&(e.value=N.value)},R=e=>{const{el:o}=n.vnode,r=Array.from(o.querySelectorAll(`.el-input__${e}`)).find((e=>e.parentNode===o));if(!r)return;const i=C[e];t.slots[i]?r.style.transform=`translateX(${"suffix"===e?"-":""}${o.querySelector(`.el-input-group__${i}`).offsetWidth}px)`:r.removeAttribute("style")},$=()=>{R("prefix"),R("suffix")},z=e=>{const{value:n}=e.target;b.value||n!==N.value&&(t.emit(i.UPDATE_MODEL_EVENT,n),t.emit("input",n),o.nextTick(j))},H=()=>{o.nextTick((()=>{x.value.focus()}))};o.watch((()=>e.modelValue),(t=>{var n;o.nextTick(D),e.validateEvent&&(null==(n=f.formItemMitt)||n.emit("el.form.change",[t]))})),o.watch(N,(()=>{j()})),o.watch((()=>e.type),(()=>{o.nextTick((()=>{j(),D(),$()}))})),o.onMounted((()=>{j(),$(),o.nextTick(D)})),o.onUpdated((()=>{o.nextTick($)}));return{input:h,textarea:v,attrs:a,inputSize:S,validateState:T,validateIcon:B,computedTextareaStyle:M,resizeTextarea:D,inputDisabled:V,showClear:A,showPwdVisible:q,isWordLimitVisible:F,upperLimit:P,textLength:L,hovering:g,inputExceed:I,passwordVisible:_,inputOrTextarea:x,handleInput:z,handleChange:e=>{t.emit("change",e.target.value)},handleFocus:e=>{y.value=!0,t.emit("focus",e)},handleBlur:n=>{var o;y.value=!1,t.emit("blur",n),e.validateEvent&&(null==(o=f.formItemMitt)||o.emit("el.form.blur",[e.modelValue]))},handleCompositionStart:()=>{b.value=!0},handleCompositionUpdate:e=>{const t=e.target.value,n=t[t.length-1]||"";b.value=!l.isKorean(n)},handleCompositionEnd:e=>{b.value&&(b.value=!1,z(e))},handlePasswordVisible:()=>{_.value=!_.value,H()},clear:()=>{t.emit(i.UPDATE_MODEL_EVENT,""),t.emit("change",""),t.emit("clear")},select:()=>{x.value.select()},focus:H,blur:()=>{x.value.blur()},getSuffixVisible:()=>t.slots.suffix||e.suffixIcon||A.value||e.showPassword||F.value||T.value&&O.value,onMouseLeave:e=>{g.value=!1,t.emit("mouseleave",e)},onMouseEnter:e=>{g.value=!0,t.emit("mouseenter",e)},handleKeydown:e=>{t.emit("keydown",e)}}}});const O={key:0,class:"el-input-group__prepend"},T={key:2,class:"el-input__prefix"},B={key:3,class:"el-input__suffix"},M={class:"el-input__suffix-inner"},V={key:3,class:"el-input__count"},N={class:"el-input__count-inner"},P={key:4,class:"el-input-group__append"},A={key:2,class:"el-input__count"};S.render=function(e,t,n,r,i,s){return o.openBlock(),o.createBlock("div",{class:["textarea"===e.type?"el-textarea":"el-input",e.inputSize?"el-input--"+e.inputSize:"",{"is-disabled":e.inputDisabled,"is-exceed":e.inputExceed,"el-input-group":e.$slots.prepend||e.$slots.append,"el-input-group--append":e.$slots.append,"el-input-group--prepend":e.$slots.prepend,"el-input--prefix":e.$slots.prefix||e.prefixIcon,"el-input--suffix":e.$slots.suffix||e.suffixIcon||e.clearable||e.showPassword,"el-input--suffix--password-clear":e.clearable&&e.showPassword},e.$attrs.class],style:e.$attrs.style,onMouseenter:t[20]||(t[20]=(...t)=>e.onMouseEnter&&e.onMouseEnter(...t)),onMouseleave:t[21]||(t[21]=(...t)=>e.onMouseLeave&&e.onMouseLeave(...t))},["textarea"!==e.type?(o.openBlock(),o.createBlock(o.Fragment,{key:0},[o.createCommentVNode(" 前置元素 "),e.$slots.prepend?(o.openBlock(),o.createBlock("div",O,[o.renderSlot(e.$slots,"prepend")])):o.createCommentVNode("v-if",!0),"textarea"!==e.type?(o.openBlock(),o.createBlock("input",o.mergeProps({key:1,ref:"input",class:"el-input__inner"},e.attrs,{type:e.showPassword?e.passwordVisible?"text":"password":e.type,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.label,placeholder:e.placeholder,style:e.inputStyle,onCompositionstart:t[1]||(t[1]=(...t)=>e.handleCompositionStart&&e.handleCompositionStart(...t)),onCompositionupdate:t[2]||(t[2]=(...t)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...t)),onCompositionend:t[3]||(t[3]=(...t)=>e.handleCompositionEnd&&e.handleCompositionEnd(...t)),onInput:t[4]||(t[4]=(...t)=>e.handleInput&&e.handleInput(...t)),onFocus:t[5]||(t[5]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onBlur:t[6]||(t[6]=(...t)=>e.handleBlur&&e.handleBlur(...t)),onChange:t[7]||(t[7]=(...t)=>e.handleChange&&e.handleChange(...t)),onKeydown:t[8]||(t[8]=(...t)=>e.handleKeydown&&e.handleKeydown(...t))}),null,16,["type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder"])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 前置内容 "),e.$slots.prefix||e.prefixIcon?(o.openBlock(),o.createBlock("span",T,[o.renderSlot(e.$slots,"prefix"),e.prefixIcon?(o.openBlock(),o.createBlock("i",{key:0,class:["el-input__icon",e.prefixIcon]},null,2)):o.createCommentVNode("v-if",!0)])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 后置内容 "),e.getSuffixVisible()?(o.openBlock(),o.createBlock("span",B,[o.createVNode("span",M,[e.showClear&&e.showPwdVisible&&e.isWordLimitVisible?o.createCommentVNode("v-if",!0):(o.openBlock(),o.createBlock(o.Fragment,{key:0},[o.renderSlot(e.$slots,"suffix"),e.suffixIcon?(o.openBlock(),o.createBlock("i",{key:0,class:["el-input__icon",e.suffixIcon]},null,2)):o.createCommentVNode("v-if",!0)],64)),e.showClear?(o.openBlock(),o.createBlock("i",{key:1,class:"el-input__icon el-icon-circle-close el-input__clear",onMousedown:t[9]||(t[9]=o.withModifiers((()=>{}),["prevent"])),onClick:t[10]||(t[10]=(...t)=>e.clear&&e.clear(...t))},null,32)):o.createCommentVNode("v-if",!0),e.showPwdVisible?(o.openBlock(),o.createBlock("i",{key:2,class:"el-input__icon el-icon-view el-input__clear",onClick:t[11]||(t[11]=(...t)=>e.handlePasswordVisible&&e.handlePasswordVisible(...t))})):o.createCommentVNode("v-if",!0),e.isWordLimitVisible?(o.openBlock(),o.createBlock("span",V,[o.createVNode("span",N,o.toDisplayString(e.textLength)+"/"+o.toDisplayString(e.upperLimit),1)])):o.createCommentVNode("v-if",!0)]),e.validateState?(o.openBlock(),o.createBlock("i",{key:0,class:["el-input__icon","el-input__validateIcon",e.validateIcon]},null,2)):o.createCommentVNode("v-if",!0)])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 后置元素 "),e.$slots.append?(o.openBlock(),o.createBlock("div",P,[o.renderSlot(e.$slots,"append")])):o.createCommentVNode("v-if",!0)],64)):(o.openBlock(),o.createBlock("textarea",o.mergeProps({key:1,ref:"textarea",class:"el-textarea__inner"},e.attrs,{tabindex:e.tabindex,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autocomplete,style:e.computedTextareaStyle,"aria-label":e.label,placeholder:e.placeholder,onCompositionstart:t[12]||(t[12]=(...t)=>e.handleCompositionStart&&e.handleCompositionStart(...t)),onCompositionupdate:t[13]||(t[13]=(...t)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...t)),onCompositionend:t[14]||(t[14]=(...t)=>e.handleCompositionEnd&&e.handleCompositionEnd(...t)),onInput:t[15]||(t[15]=(...t)=>e.handleInput&&e.handleInput(...t)),onFocus:t[16]||(t[16]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onBlur:t[17]||(t[17]=(...t)=>e.handleBlur&&e.handleBlur(...t)),onChange:t[18]||(t[18]=(...t)=>e.handleChange&&e.handleChange(...t)),onKeydown:t[19]||(t[19]=(...t)=>e.handleKeydown&&e.handleKeydown(...t))}),"\n ",16,["tabindex","disabled","readonly","autocomplete","aria-label","placeholder"])),e.isWordLimitVisible&&"textarea"===e.type?(o.openBlock(),o.createBlock("span",A,o.toDisplayString(e.textLength)+"/"+o.toDisplayString(e.upperLimit),1)):o.createCommentVNode("v-if",!0)],38)},S.__file="packages/input/src/index.vue",S.install=e=>{e.component(S.name,S)};const q=S;t.default=q},3377:(e,t,n)=>{"use strict";const o=n(5853).Option;o.install=e=>{e.component(o.name,o)},t.Z=o},2815:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4865),r=n(1617),i=n(6980),s=n(5450),a=n(9169),l=n(6722),c=n(7050),u=n(1247);function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=d(r),f=d(a);function h(e,t=[]){const{arrow:n,arrowOffset:o,offset:r,gpuAcceleration:i,fallbackPlacements:s}=e,a=[{name:"offset",options:{offset:[0,null!=r?r:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:null!=s?s:[]}},{name:"computeStyles",options:{gpuAcceleration:i,adaptive:i}}];return n&&a.push({name:"arrow",options:{element:n,padding:null!=o?o:5}}),a.push(...t),a}var m,v=Object.defineProperty,y=Object.defineProperties,g=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function k(e,t){return o.computed((()=>{var n,o,r;return o=((e,t)=>{for(var n in t||(t={}))_.call(t,n)&&x(e,n,t[n]);if(b)for(var n of b(t))w.call(t,n)&&x(e,n,t[n]);return e})({placement:e.placement},e.popperOptions),r={modifiers:h({arrow:t.arrow.value,arrowOffset:e.arrowOffset,offset:e.offset,gpuAcceleration:e.gpuAcceleration,fallbackPlacements:e.fallbackPlacements},null==(n=e.popperOptions)?void 0:n.modifiers)},y(o,g(r))}))}(m=t.Effect||(t.Effect={})).DARK="dark",m.LIGHT="light";var E={arrowOffset:{type:Number,default:5},appendToBody:{type:Boolean,default:!0},autoClose:{type:Number,default:0},boundariesPadding:{type:Number,default:0},content:{type:String,default:""},class:{type:String,default:""},style:Object,hideAfter:{type:Number,default:200},cutoff:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},effect:{type:String,default:t.Effect.DARK},enterable:{type:Boolean,default:!0},manualMode:{type:Boolean,default:!1},showAfter:{type:Number,default:0},offset:{type:Number,default:12},placement:{type:String,default:"bottom"},popperClass:{type:String,default:""},pure:{type:Boolean,default:!1},popperOptions:{type:Object,default:()=>null},showArrow:{type:Boolean,default:!0},strategy:{type:String,default:"fixed"},transition:{type:String,default:"el-fade-in-linear"},trigger:{type:[String,Array],default:"hover"},visible:{type:Boolean,default:void 0},stopPopperMouseEvent:{type:Boolean,default:!0},gpuAcceleration:{type:Boolean,default:!0},fallbackPlacements:{type:Array,default:[]}};function C(e,{emit:t}){const n=o.ref(null),r=o.ref(null),a=o.ref(null),l=`el-popper-${s.generateId()}`;let c=null,u=null,d=null,p=!1;const h=()=>e.manualMode||"manual"===e.trigger,m=o.ref({zIndex:f.default.nextZIndex()}),v=k(e,{arrow:n}),y=o.reactive({visible:!!e.visible}),g=o.computed({get:()=>!e.disabled&&(s.isBool(e.visible)?e.visible:y.visible),set(n){h()||(s.isBool(e.visible)?t("update:visible",n):y.visible=n)}});function b(){e.autoClose>0&&(d=window.setTimeout((()=>{_()}),e.autoClose)),g.value=!0}function _(){g.value=!1}function w(){clearTimeout(u),clearTimeout(d)}const x=()=>{h()||e.disabled||(w(),0===e.showAfter?b():u=window.setTimeout((()=>{b()}),e.showAfter))},E=()=>{h()||(w(),e.hideAfter>0?d=window.setTimeout((()=>{C()}),e.hideAfter):C())},C=()=>{_(),e.disabled&&O(!0)};function S(){if(!s.$(g))return;const e=s.$(r),t=s.isHTMLElement(e)?e:e.$el;c=i.createPopper(t,s.$(a),s.$(v)),c.update()}function O(e){!c||s.$(g)&&!e||T()}function T(){var e;null==(e=null==c?void 0:c.destroy)||e.call(c),c=null}const B={};if(!h()){const t=()=>{s.$(g)?E():x()},n=e=>{switch(e.stopPropagation(),e.type){case"click":p?p=!1:t();break;case"mouseenter":x();break;case"mouseleave":E();break;case"focus":p=!0,x();break;case"blur":p=!1,E()}},o={click:["onClick"],hover:["onMouseenter","onMouseleave"],focus:["onFocus","onBlur"]},r=e=>{o[e].forEach((e=>{B[e]=n}))};s.isArray(e.trigger)?Object.values(e.trigger).forEach(r):r(e.trigger)}return o.watch(v,(e=>{c&&(c.setOptions(e),c.update())})),o.watch(g,(function(e){e&&(m.value.zIndex=f.default.nextZIndex(),S())})),{update:function(){s.$(g)&&(c?c.update():S())},doDestroy:O,show:x,hide:E,onPopperMouseEnter:function(){e.enterable&&"click"!==e.trigger&&clearTimeout(d)},onPopperMouseLeave:function(){const{trigger:t}=e;s.isString(t)&&("click"===t||"focus"===t)||1===t.length&&("click"===t[0]||"focus"===t[0])||E()},onAfterEnter:()=>{t("after-enter")},onAfterLeave:()=>{T(),t("after-leave")},onBeforeEnter:()=>{t("before-enter")},onBeforeLeave:()=>{t("before-leave")},initializePopper:S,isManualMode:h,arrowRef:n,events:B,popperId:l,popperInstance:c,popperRef:a,popperStyle:m,triggerRef:r,visibility:g}}const S=()=>{};function O(e,t){const{effect:n,name:r,stopPopperMouseEvent:i,popperClass:s,popperStyle:a,popperRef:c,pure:u,popperId:d,visibility:p,onMouseenter:f,onMouseleave:h,onAfterEnter:m,onAfterLeave:v,onBeforeEnter:y,onBeforeLeave:g}=e,b=[s,"el-popper","is-"+n,u?"is-pure":""],_=i?l.stop:S;return o.h(o.Transition,{name:r,onAfterEnter:m,onAfterLeave:v,onBeforeEnter:y,onBeforeLeave:g},{default:o.withCtx((()=>[o.withDirectives(o.h("div",{"aria-hidden":String(!p),class:b,style:null!=a?a:{},id:d,ref:null!=c?c:"popperRef",role:"tooltip",onMouseenter:f,onMouseleave:h,onClick:l.stop,onMousedown:_,onMouseup:_},t),[[o.vShow,p]])]))})}function T(e,t){const n=c.getFirstValidNode(e,1);return n||p.default("renderTrigger","trigger expects single rooted node"),o.cloneVNode(n,t,!0)}function B(e){return e?o.h("div",{ref:"arrowRef",class:"el-popper__arrow","data-popper-arrow":""},null):o.h(o.Comment,null,"")}var M=Object.defineProperty,V=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,A=(e,t,n)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const q="ElPopper";var F=o.defineComponent({name:q,props:E,emits:["update:visible","after-enter","after-leave","before-enter","before-leave"],setup(e,t){t.slots.trigger||p.default(q,"Trigger must be provided");const n=C(e,t),r=()=>n.doDestroy(!0);return o.onMounted(n.initializePopper),o.onBeforeUnmount(r),o.onActivated(n.initializePopper),o.onDeactivated(r),n},render(){var e;const{$slots:t,appendToBody:n,class:r,style:i,effect:s,hide:a,onPopperMouseEnter:l,onPopperMouseLeave:c,onAfterEnter:d,onAfterLeave:p,onBeforeEnter:f,onBeforeLeave:h,popperClass:m,popperId:v,popperStyle:y,pure:g,showArrow:b,transition:_,visibility:w,stopPopperMouseEvent:x}=this,k=this.isManualMode(),E=B(b),C=O({effect:s,name:_,popperClass:m,popperId:v,popperStyle:y,pure:g,stopPopperMouseEvent:x,onMouseenter:l,onMouseleave:c,onAfterEnter:d,onAfterLeave:p,onBeforeEnter:f,onBeforeLeave:h,visibility:w},[o.renderSlot(t,"default",{},(()=>[o.toDisplayString(this.content)])),E]),S=null==(e=t.trigger)?void 0:e.call(t),M=((e,t)=>{for(var n in t||(t={}))N.call(t,n)&&A(e,n,t[n]);if(V)for(var n of V(t))P.call(t,n)&&A(e,n,t[n]);return e})({"aria-describedby":v,class:r,style:i,ref:"triggerRef"},this.events),q=k?T(S,M):o.withDirectives(T(S,M),[[u.ClickOutside,a]]);return o.h(o.Fragment,null,[q,o.h(o.Teleport,{to:"body",disabled:!n},[C])])}});F.__file="packages/popper/src/index.vue",F.install=e=>{e.component(F.name,F)};const L=F;t.default=L,t.defaultProps=E,t.renderArrow=B,t.renderPopper=O,t.renderTrigger=T,t.usePopper=C},4153:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2406),r=n(5450),i=n(4865),s=n(6722);const a={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};var l=i.defineComponent({name:"Bar",props:{vertical:Boolean,size:String,move:Number},setup(e){const t=i.ref(null),n=i.ref(null),o=i.inject("scrollbar",{}),r=i.inject("scrollbar-wrap",{}),l=i.computed((()=>a[e.vertical?"vertical":"horizontal"])),c=i.ref({}),u=i.ref(null),d=i.ref(null),p=i.ref(!1);let f=null;const h=e=>{e.stopImmediatePropagation(),u.value=!0,s.on(document,"mousemove",m),s.on(document,"mouseup",v),f=document.onselectstart,document.onselectstart=()=>!1},m=e=>{if(!1===u.value)return;const o=c.value[l.value.axis];if(!o)return;const i=100*(-1*(t.value.getBoundingClientRect()[l.value.direction]-e[l.value.client])-(n.value[l.value.offset]-o))/t.value[l.value.offset];r.value[l.value.scroll]=i*r.value[l.value.scrollSize]/100},v=()=>{u.value=!1,c.value[l.value.axis]=0,s.off(document,"mousemove",m),document.onselectstart=f,d.value&&(p.value=!1)},y=i.computed((()=>function({move:e,size:t,bar:n}){const o={},r=`translate${n.axis}(${e}%)`;return o[n.size]=t,o.transform=r,o.msTransform=r,o.webkitTransform=r,o}({size:e.size,move:e.move,bar:l.value}))),g=()=>{d.value=!1,p.value=!!e.size},b=()=>{d.value=!0,p.value=u.value};return i.onMounted((()=>{s.on(o.value,"mousemove",g),s.on(o.value,"mouseleave",b)})),i.onBeforeUnmount((()=>{s.off(document,"mouseup",v),s.off(o.value,"mousemove",g),s.off(o.value,"mouseleave",b)})),{instance:t,thumb:n,bar:l,clickTrackHandler:e=>{const o=100*(Math.abs(e.target.getBoundingClientRect()[l.value.direction]-e[l.value.client])-n.value[l.value.offset]/2)/t.value[l.value.offset];r.value[l.value.scroll]=o*r.value[l.value.scrollSize]/100},clickThumbHandler:e=>{e.stopPropagation(),e.ctrlKey||[1,2].includes(e.button)||(window.getSelection().removeAllRanges(),h(e),c.value[l.value.axis]=e.currentTarget[l.value.offset]-(e[l.value.client]-e.currentTarget.getBoundingClientRect()[l.value.direction]))},thumbStyle:y,visible:p}}});l.render=function(e,t,n,o,r,s){return i.openBlock(),i.createBlock(i.Transition,{name:"el-scrollbar-fade"},{default:i.withCtx((()=>[i.withDirectives(i.createVNode("div",{ref:"instance",class:["el-scrollbar__bar","is-"+e.bar.key],onMousedown:t[2]||(t[2]=(...t)=>e.clickTrackHandler&&e.clickTrackHandler(...t))},[i.createVNode("div",{ref:"thumb",class:"el-scrollbar__thumb",style:e.thumbStyle,onMousedown:t[1]||(t[1]=(...t)=>e.clickThumbHandler&&e.clickThumbHandler(...t))},null,36)],34),[[i.vShow,e.visible]])])),_:1})},l.__file="packages/scrollbar/src/bar.vue";var c=i.defineComponent({name:"ElScrollbar",components:{Bar:l},props:{height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:[String,Array],default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array],default:""},noresize:Boolean,tag:{type:String,default:"div"}},emits:["scroll"],setup(e,{emit:t}){const n=i.ref("0"),s=i.ref("0"),a=i.ref(0),l=i.ref(0),c=i.ref(null),u=i.ref(null),d=i.ref(null);i.provide("scrollbar",c),i.provide("scrollbar-wrap",u);const p=()=>{if(!u.value)return;const e=100*u.value.clientHeight/u.value.scrollHeight,t=100*u.value.clientWidth/u.value.scrollWidth;s.value=e<100?e+"%":"",n.value=t<100?t+"%":""},f=i.computed((()=>{let t=e.wrapStyle;return r.isArray(t)?(t=r.toObject(t),t.height=r.addUnit(e.height),t.maxHeight=r.addUnit(e.maxHeight)):r.isString(t)&&(t+=r.addUnit(e.height)?`height: ${r.addUnit(e.height)};`:"",t+=r.addUnit(e.maxHeight)?`max-height: ${r.addUnit(e.maxHeight)};`:""),t}));return i.onMounted((()=>{e.native||i.nextTick(p),e.noresize||(o.addResizeListener(d.value,p),addEventListener("resize",p))})),i.onBeforeUnmount((()=>{e.noresize||(o.removeResizeListener(d.value,p),removeEventListener("resize",p))})),{moveX:a,moveY:l,sizeWidth:n,sizeHeight:s,style:f,scrollbar:c,wrap:u,resize:d,update:p,handleScroll:()=>{u.value&&(l.value=100*u.value.scrollTop/u.value.clientHeight,a.value=100*u.value.scrollLeft/u.value.clientWidth,t("scroll",{scrollLeft:a.value,scrollTop:l.value}))}}}});const u={ref:"scrollbar",class:"el-scrollbar"};c.render=function(e,t,n,o,r,s){const a=i.resolveComponent("bar");return i.openBlock(),i.createBlock("div",u,[i.createVNode("div",{ref:"wrap",class:[e.wrapClass,"el-scrollbar__wrap",e.native?"":"el-scrollbar__wrap--hidden-default"],style:e.style,onScroll:t[1]||(t[1]=(...t)=>e.handleScroll&&e.handleScroll(...t))},[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.tag),{ref:"resize",class:["el-scrollbar__view",e.viewClass],style:e.viewStyle},{default:i.withCtx((()=>[i.renderSlot(e.$slots,"default")])),_:3},8,["class","style"]))],38),e.native?i.createCommentVNode("v-if",!0):(i.openBlock(),i.createBlock(i.Fragment,{key:0},[i.createVNode(a,{move:e.moveX,size:e.sizeWidth},null,8,["move","size"]),i.createVNode(a,{vertical:"",move:e.moveY,size:e.sizeHeight},null,8,["move","size"])],64))],512)},c.__file="packages/scrollbar/src/index.vue",c.install=e=>{e.component(c.name,c)};const d=c;t.default=d},5853:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4865),r=n(1002),i=n(5450),s=n(2406),a=n(4912),l=n(2815),c=n(4153),u=n(1247),d=n(7993),p=n(2532),f=n(6801),h=n(9652),m=n(9272),v=n(3566),y=n(4593),g=n(3279),b=n(6645),_=n(7800),w=n(8446),x=n(3676);function k(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var E=k(r),C=k(a),S=k(l),O=k(c),T=k(h),B=k(v),M=k(y),V=k(g),N=k(w);const P="ElSelect",A="elOptionQueryChange";var q=o.defineComponent({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},setup(e){const t=o.reactive({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:n,itemSelected:r,isDisabled:s,select:a,hoverItem:l}=function(e,t){const n=o.inject(P),r=o.inject("ElSelectGroup",{disabled:!1}),s=o.computed((()=>"[object object]"===Object.prototype.toString.call(e.value).toLowerCase())),a=o.computed((()=>n.props.multiple?f(n.props.modelValue,e.value):h(e.value,n.props.modelValue))),l=o.computed((()=>{if(n.props.multiple){const e=n.props.modelValue||[];return!a.value&&e.length>=n.props.multipleLimit&&n.props.multipleLimit>0}return!1})),c=o.computed((()=>e.label||(s.value?"":e.value))),u=o.computed((()=>e.value||e.label||"")),d=o.computed((()=>e.disabled||t.groupDisabled||l.value)),p=o.getCurrentInstance(),f=(e=[],t)=>{if(s.value){const o=n.props.valueKey;return e&&e.some((e=>i.getValueByPath(e,o)===i.getValueByPath(t,o)))}return e&&e.indexOf(t)>-1},h=(e,t)=>{if(s.value){const{valueKey:o}=n.props;return i.getValueByPath(e,o)===i.getValueByPath(t,o)}return e===t};return o.watch((()=>c.value),(()=>{e.created||n.props.remote||n.setSelected()})),o.watch((()=>e.value),((t,o)=>{const{remote:r,valueKey:i}=n.props;if(!e.created&&!r){if(i&&"object"==typeof t&&"object"==typeof o&&t[i]===o[i])return;n.setSelected()}})),o.watch((()=>r.disabled),(()=>{t.groupDisabled=r.disabled}),{immediate:!0}),n.selectEmitter.on(A,(o=>{const r=new RegExp(i.escapeRegexpString(o),"i");t.visible=r.test(c.value)||e.created,t.visible||n.filteredOptionsCount--})),{select:n,currentLabel:c,currentValue:u,itemSelected:a,isDisabled:d,hoverItem:()=>{e.disabled||r.disabled||(n.hoverIndex=n.optionsArray.indexOf(p))}}}(e,t),{visible:c,hover:u}=o.toRefs(t),d=o.getCurrentInstance().proxy;return a.onOptionCreate(d),o.onBeforeUnmount((()=>{const{selected:t}=a;let n=a.props.multiple?t:[t];const o=a.cachedOptions.has(e.value),r=n.some((e=>e.value===d.value));o&&!r&&a.cachedOptions.delete(e.value),a.onOptionDestroy(e.value)})),{currentLabel:n,itemSelected:r,isDisabled:s,select:a,hoverItem:l,visible:c,hover:u,selectOptionClick:function(){!0!==e.disabled&&!0!==t.groupDisabled&&a.handleOptionSelect(d,!0)}}}});q.render=function(e,t,n,r,i,s){return o.withDirectives((o.openBlock(),o.createBlock("li",{class:["el-select-dropdown__item",{selected:e.itemSelected,"is-disabled":e.isDisabled,hover:e.hover}],onMouseenter:t[1]||(t[1]=(...t)=>e.hoverItem&&e.hoverItem(...t)),onClick:t[2]||(t[2]=o.withModifiers(((...t)=>e.selectOptionClick&&e.selectOptionClick(...t)),["stop"]))},[o.renderSlot(e.$slots,"default",{},(()=>[o.createVNode("span",null,o.toDisplayString(e.currentLabel),1)]))],34)),[[o.vShow,e.visible]])},q.__file="packages/select/src/option.vue";var F=o.defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=o.inject(P),t=o.computed((()=>e.props.popperClass)),n=o.computed((()=>e.props.multiple)),r=o.ref("");function i(){var t;r.value=(null==(t=e.selectWrapper)?void 0:t.getBoundingClientRect().width)+"px"}return o.onMounted((()=>{s.addResizeListener(e.selectWrapper,i)})),o.onBeforeUnmount((()=>{s.removeResizeListener(e.selectWrapper,i)})),{minWidth:r,popperClass:t,isMultiple:n}}});F.render=function(e,t,n,r,i,s){return o.openBlock(),o.createBlock("div",{class:["el-select-dropdown",[{"is-multiple":e.isMultiple},e.popperClass]],style:{minWidth:e.minWidth}},[o.renderSlot(e.$slots,"default")],6)},F.__file="packages/select/src/select-dropdown.vue";const L=e=>null!==e&&"object"==typeof e,I=Object.prototype.toString,D=e=>(e=>I.call(e))(e).slice(8,-1);const j=(e,t,n)=>{const r=i.useGlobalConfig(),s=o.ref(null),a=o.ref(null),l=o.ref(null),c=o.ref(null),u=o.ref(null),f=o.ref(null),h=o.ref(-1),v=o.inject(_.elFormKey,{}),y=o.inject(_.elFormItemKey,{}),g=o.computed((()=>!e.filterable||e.multiple||!i.isIE()&&!i.isEdge()&&!t.visible)),w=o.computed((()=>e.disabled||v.disabled)),x=o.computed((()=>{const n=e.multiple?Array.isArray(e.modelValue)&&e.modelValue.length>0:void 0!==e.modelValue&&null!==e.modelValue&&""!==e.modelValue;return e.clearable&&!w.value&&t.inputHovering&&n})),k=o.computed((()=>e.remote&&e.filterable?"":t.visible?"arrow-up is-reverse":"arrow-up")),E=o.computed((()=>e.remote?300:0)),C=o.computed((()=>e.loading?e.loadingText||d.t("el.select.loading"):(!e.remote||""!==t.query||0!==t.options.size)&&(e.filterable&&t.query&&t.options.size>0&&0===t.filteredOptionsCount?e.noMatchText||d.t("el.select.noMatch"):0===t.options.size?e.noDataText||d.t("el.select.noData"):null))),S=o.computed((()=>Array.from(t.options.values()))),O=o.computed((()=>Array.from(t.cachedOptions.values()))),T=o.computed((()=>{const n=S.value.filter((e=>!e.created)).some((e=>e.currentLabel===t.query));return e.filterable&&e.allowCreate&&""!==t.query&&!n})),P=o.computed((()=>e.size||y.size||r.size)),A=o.computed((()=>["small","mini"].indexOf(P.value)>-1?"mini":"small")),q=o.computed((()=>t.visible&&!1!==C.value));o.watch((()=>w.value),(()=>{o.nextTick((()=>{F()}))})),o.watch((()=>e.placeholder),(e=>{t.cachedPlaceHolder=t.currentPlaceholder=e})),o.watch((()=>e.modelValue),((n,o)=>{var r;e.multiple&&(F(),n&&n.length>0||a.value&&""!==t.query?t.currentPlaceholder="":t.currentPlaceholder=t.cachedPlaceHolder,e.filterable&&!e.reserveKeyword&&(t.query="",I(t.query))),$(),e.filterable&&!e.multiple&&(t.inputLength=20),N.default(n,o)||null==(r=y.formItemMitt)||r.emit("el.form.change",n)}),{flush:"post",deep:!0}),o.watch((()=>t.visible),(r=>{var i,s;r?(null==(s=null==(i=l.value)?void 0:i.update)||s.call(i),e.filterable&&(t.filteredOptionsCount=t.optionsCount,t.query=e.remote?"":t.selectedLabel,e.multiple?a.value.focus():t.selectedLabel&&(t.currentPlaceholder=t.selectedLabel,t.selectedLabel=""),I(t.query),e.multiple||e.remote||(t.selectEmitter.emit("elOptionQueryChange",""),t.selectEmitter.emit("elOptionGroupQueryChange")))):(a.value&&a.value.blur(),t.query="",t.previousQuery=null,t.selectedLabel="",t.inputLength=20,t.menuVisibleOnFocus=!1,H(),o.nextTick((()=>{a.value&&""===a.value.value&&0===t.selected.length&&(t.currentPlaceholder=t.cachedPlaceHolder)})),e.multiple||(t.selected&&(e.filterable&&e.allowCreate&&t.createdSelected&&t.createdLabel?t.selectedLabel=t.createdLabel:t.selectedLabel=t.selected.currentLabel,e.filterable&&(t.query=t.selectedLabel)),e.filterable&&(t.currentPlaceholder=t.cachedPlaceHolder))),n.emit("visible-change",r)})),o.watch((()=>t.options.entries()),(()=>{var n,o,r;if(B.default)return;null==(o=null==(n=l.value)?void 0:n.update)||o.call(n),e.multiple&&F();const i=(null==(r=u.value)?void 0:r.querySelectorAll("input"))||[];-1===[].indexOf.call(i,document.activeElement)&&$(),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&R()}),{flush:"post"}),o.watch((()=>t.hoverIndex),(e=>{"number"==typeof e&&e>-1&&(h.value=S.value[e]||{}),S.value.forEach((e=>{e.hover=h.value===e}))}));const F=()=>{e.collapseTags&&!e.filterable||o.nextTick((()=>{var e,n;if(!s.value)return;const o=s.value.$el.childNodes,r=[].filter.call(o,(e=>"INPUT"===e.tagName))[0],i=c.value,a=t.initialInputHeight||40;r.style.height=0===t.selected.length?a+"px":Math.max(i?i.clientHeight+(i.clientHeight>a?6:0):0,a)+"px",t.tagInMultiLine=parseFloat(r.style.height)>a,t.visible&&!1!==C.value&&(null==(n=null==(e=l.value)?void 0:e.update)||n.call(e))}))},I=n=>{t.previousQuery===n||t.isOnComposition||(null!==t.previousQuery||"function"!=typeof e.filterMethod&&"function"!=typeof e.remoteMethod?(t.previousQuery=n,o.nextTick((()=>{var e,n;t.visible&&(null==(n=null==(e=l.value)?void 0:e.update)||n.call(e))})),t.hoverIndex=-1,e.multiple&&e.filterable&&o.nextTick((()=>{const n=15*a.value.length+20;t.inputLength=e.collapseTags?Math.min(50,n):n,j(),F()})),e.remote&&"function"==typeof e.remoteMethod?(t.hoverIndex=-1,e.remoteMethod(n)):"function"==typeof e.filterMethod?(e.filterMethod(n),t.selectEmitter.emit("elOptionGroupQueryChange")):(t.filteredOptionsCount=t.optionsCount,t.selectEmitter.emit("elOptionQueryChange",n),t.selectEmitter.emit("elOptionGroupQueryChange")),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&R()):t.previousQuery=n)},j=()=>{""!==t.currentPlaceholder&&(t.currentPlaceholder=a.value.value?"":t.cachedPlaceHolder)},R=()=>{t.hoverIndex=-1;let e=!1;for(let n=t.options.size-1;n>=0;n--)if(S.value[n].created){e=!0,t.hoverIndex=n;break}if(!e)for(let e=0;e!==t.options.size;++e){const n=S.value[e];if(t.query){if(!n.disabled&&!n.groupDisabled&&n.visible){t.hoverIndex=e;break}}else if(n.itemSelected){t.hoverIndex=e;break}}},$=()=>{var n;if(!e.multiple){const o=z(e.modelValue);return(null==(n=o.props)?void 0:n.created)?(t.createdLabel=o.props.value,t.createdSelected=!0):t.createdSelected=!1,t.selectedLabel=o.currentLabel,t.selected=o,void(e.filterable&&(t.query=t.selectedLabel))}const r=[];Array.isArray(e.modelValue)&&e.modelValue.forEach((e=>{r.push(z(e))})),t.selected=r,o.nextTick((()=>{F()}))},z=n=>{let o;const r="object"===D(n).toLowerCase(),s="null"===D(n).toLowerCase(),a="undefined"===D(n).toLowerCase();for(let s=t.cachedOptions.size-1;s>=0;s--){const t=O.value[s];if(r?i.getValueByPath(t.value,e.valueKey)===i.getValueByPath(n,e.valueKey):t.value===n){o={value:n,currentLabel:t.currentLabel,isDisabled:t.isDisabled};break}}if(o)return o;const l={value:n,currentLabel:r||s||a?"":n};return e.multiple&&(l.hitState=!1),l},H=()=>{setTimeout((()=>{e.multiple?t.selected.length>0?t.hoverIndex=Math.min.apply(null,t.selected.map((e=>S.value.indexOf(e)))):t.hoverIndex=-1:t.hoverIndex=S.value.indexOf(t.selected)}),300)},U=()=>{var e;t.inputWidth=null==(e=s.value)?void 0:e.$el.getBoundingClientRect().width},K=V.default((()=>{e.filterable&&t.query!==t.selectedLabel&&(t.query=t.selectedLabel,I(t.query))}),E.value),W=V.default((e=>{I(e.target.value)}),E.value),Q=t=>{N.default(e.modelValue,t)||n.emit(p.CHANGE_EVENT,t)},Y=o=>{o.stopPropagation();const r=e.multiple?[]:"";if("string"!=typeof r)for(const e of t.selected)e.isDisabled&&r.push(e.value);n.emit(p.UPDATE_MODEL_EVENT,r),Q(r),t.visible=!1,n.emit("clear")},G=(r,i)=>{if(e.multiple){const o=(e.modelValue||[]).slice(),i=Z(o,r.value);i>-1?o.splice(i,1):(e.multipleLimit<=0||o.length<e.multipleLimit)&&o.push(r.value),n.emit(p.UPDATE_MODEL_EVENT,o),Q(o),r.created&&(t.query="",I(""),t.inputLength=20),e.filterable&&a.value.focus()}else n.emit(p.UPDATE_MODEL_EVENT,r.value),Q(r.value),t.visible=!1;t.isSilentBlur=i,J(),t.visible||o.nextTick((()=>{X(r)}))},Z=(t=[],n)=>{if(!L(n))return t.indexOf(n);const o=e.valueKey;let r=-1;return t.some(((e,t)=>i.getValueByPath(e,o)===i.getValueByPath(n,o)&&(r=t,!0))),r},J=()=>{t.softFocus=!0;const e=a.value||s.value;e&&e.focus()},X=e=>{var t,n,o,r;const i=Array.isArray(e)?e[0]:e;let s=null;if(null==i?void 0:i.value){const e=S.value.filter((e=>e.value===i.value));e.length>0&&(s=e[0].$el)}if(l.value&&s){const e=null==(o=null==(n=null==(t=l.value)?void 0:t.popperRef)?void 0:n.querySelector)?void 0:o.call(n,".el-select-dropdown__wrap");e&&M.default(e,s)}null==(r=f.value)||r.handleScroll()},ee=e=>{if(!Array.isArray(t.selected))return;const n=t.selected[t.selected.length-1];return n?!0===e||!1===e?(n.hitState=e,e):(n.hitState=!n.hitState,n.hitState):void 0},te=()=>{e.automaticDropdown||w.value||(t.menuVisibleOnFocus?t.menuVisibleOnFocus=!1:t.visible=!t.visible,t.visible&&(a.value||s.value).focus())},ne=o.computed((()=>S.value.filter((e=>e.visible)).every((e=>e.disabled)))),oe=e=>{if(t.visible){if(0!==t.options.size&&0!==t.filteredOptionsCount&&!ne.value){"next"===e?(t.hoverIndex++,t.hoverIndex===t.options.size&&(t.hoverIndex=0)):"prev"===e&&(t.hoverIndex--,t.hoverIndex<0&&(t.hoverIndex=t.options.size-1));const n=S.value[t.hoverIndex];!0!==n.disabled&&!0!==n.groupDisabled&&n.visible||oe(e),o.nextTick((()=>X(h.value)))}}else t.visible=!0};return{optionsArray:S,selectSize:P,handleResize:()=>{var t,n;U(),null==(n=null==(t=l.value)?void 0:t.update)||n.call(t),e.multiple&&F()},debouncedOnInputChange:K,debouncedQueryChange:W,deletePrevTag:o=>{if(o.target.value.length<=0&&!ee()){const t=e.modelValue.slice();t.pop(),n.emit(p.UPDATE_MODEL_EVENT,t),Q(t)}1===o.target.value.length&&0===e.modelValue.length&&(t.currentPlaceholder=t.cachedPlaceHolder)},deleteTag:(o,r)=>{const i=t.selected.indexOf(r);if(i>-1&&!w.value){const t=e.modelValue.slice();t.splice(i,1),n.emit(p.UPDATE_MODEL_EVENT,t),Q(t),n.emit("remove-tag",r.value)}o.stopPropagation()},deleteSelected:Y,handleOptionSelect:G,scrollToOption:X,readonly:g,resetInputHeight:F,showClose:x,iconClass:k,showNewOption:T,collapseTagSize:A,setSelected:$,managePlaceholder:j,selectDisabled:w,emptyText:C,toggleLastOptionHitState:ee,resetInputState:e=>{e.code!==m.EVENT_CODE.backspace&&ee(!1),t.inputLength=15*a.value.length+20,F()},handleComposition:e=>{const n=e.target.value;if("compositionend"===e.type)t.isOnComposition=!1,o.nextTick((()=>I(n)));else{const e=n[n.length-1]||"";t.isOnComposition=!b.isKorean(e)}},onOptionCreate:e=>{t.optionsCount++,t.filteredOptionsCount++,t.options.set(e.value,e),t.cachedOptions.set(e.value,e)},onOptionDestroy:e=>{t.optionsCount--,t.filteredOptionsCount--,t.options.delete(e)},handleMenuEnter:()=>{o.nextTick((()=>X(t.selected)))},handleFocus:o=>{t.softFocus?t.softFocus=!1:((e.automaticDropdown||e.filterable)&&(t.visible=!0,e.filterable&&(t.menuVisibleOnFocus=!0)),n.emit("focus",o))},blur:()=>{t.visible=!1,s.value.blur()},handleBlur:e=>{o.nextTick((()=>{t.isSilentBlur?t.isSilentBlur=!1:n.emit("blur",e)})),t.softFocus=!1},handleClearClick:e=>{Y(e)},handleClose:()=>{t.visible=!1},toggleMenu:te,selectOption:()=>{t.visible?S.value[t.hoverIndex]&&G(S.value[t.hoverIndex],void 0):te()},getValueKey:t=>L(t.value)?i.getValueByPath(t.value,e.valueKey):t.value,navigateOptions:oe,dropMenuVisible:q,reference:s,input:a,popper:l,tags:c,selectWrapper:u,scrollbar:f}};var R=o.defineComponent({name:"ElSelect",componentName:"ElSelect",components:{ElInput:E.default,ElSelectMenu:F,ElOption:q,ElTag:C.default,ElScrollbar:O.default,ElPopper:S.default},directives:{ClickOutside:u.ClickOutside},props:{name:String,id:String,modelValue:[Array,String,Number,Boolean,Object],autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:f.isValidComponentSize},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0},clearIcon:{type:String,default:"el-icon-circle-close"}},emits:[p.UPDATE_MODEL_EVENT,p.CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(e,t){const n=function(e){const t=T.default();return o.reactive({options:new Map,cachedOptions:new Map,createdLabel:null,createdSelected:!1,selected:e.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:d.t("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1,selectEmitter:t,prefixWidth:null,tagInMultiLine:!1})}(e),{optionsArray:r,selectSize:i,readonly:a,handleResize:l,collapseTagSize:c,debouncedOnInputChange:u,debouncedQueryChange:f,deletePrevTag:h,deleteTag:m,deleteSelected:v,handleOptionSelect:y,scrollToOption:g,setSelected:b,resetInputHeight:_,managePlaceholder:w,showClose:k,selectDisabled:E,iconClass:C,showNewOption:S,emptyText:O,toggleLastOptionHitState:B,resetInputState:M,handleComposition:V,onOptionCreate:N,onOptionDestroy:A,handleMenuEnter:q,handleFocus:F,blur:L,handleBlur:I,handleClearClick:D,handleClose:R,toggleMenu:$,selectOption:z,getValueKey:H,navigateOptions:U,dropMenuVisible:K,reference:W,input:Q,popper:Y,tags:G,selectWrapper:Z,scrollbar:J}=j(e,n,t),{focus:X}=x.useFocus(W),{inputWidth:ee,selected:te,inputLength:ne,filteredOptionsCount:oe,visible:re,softFocus:ie,selectedLabel:se,hoverIndex:ae,query:le,inputHovering:ce,currentPlaceholder:ue,menuVisibleOnFocus:de,isOnComposition:pe,isSilentBlur:fe,options:he,cachedOptions:me,optionsCount:ve,prefixWidth:ye,tagInMultiLine:ge}=o.toRefs(n);o.provide(P,o.reactive({props:e,options:he,optionsArray:r,cachedOptions:me,optionsCount:ve,filteredOptionsCount:oe,hoverIndex:ae,handleOptionSelect:y,selectEmitter:n.selectEmitter,onOptionCreate:N,onOptionDestroy:A,selectWrapper:Z,selected:te,setSelected:b})),o.onMounted((()=>{if(n.cachedPlaceHolder=ue.value=e.placeholder||d.t("el.select.placeholder"),e.multiple&&Array.isArray(e.modelValue)&&e.modelValue.length>0&&(ue.value=""),s.addResizeListener(Z.value,l),W.value&&W.value.$el){const e={medium:36,small:32,mini:28},t=W.value.input;n.initialInputHeight=t.getBoundingClientRect().height||e[i.value]}e.remote&&e.multiple&&_(),o.nextTick((()=>{if(W.value.$el&&(ee.value=W.value.$el.getBoundingClientRect().width),t.slots.prefix){const e=W.value.$el.childNodes,t=[].filter.call(e,(e=>"INPUT"===e.tagName))[0],o=W.value.$el.querySelector(".el-input__prefix");ye.value=Math.max(o.getBoundingClientRect().width+5,30),n.prefixWidth&&(t.style.paddingLeft=`${Math.max(n.prefixWidth,30)}px`)}})),b()})),o.onBeforeUnmount((()=>{s.removeResizeListener(Z.value,l)})),e.multiple&&!Array.isArray(e.modelValue)&&t.emit(p.UPDATE_MODEL_EVENT,[]),!e.multiple&&Array.isArray(e.modelValue)&&t.emit(p.UPDATE_MODEL_EVENT,"");const be=o.computed((()=>{var e;return null==(e=Y.value)?void 0:e.popperRef}));return{tagInMultiLine:ge,prefixWidth:ye,selectSize:i,readonly:a,handleResize:l,collapseTagSize:c,debouncedOnInputChange:u,debouncedQueryChange:f,deletePrevTag:h,deleteTag:m,deleteSelected:v,handleOptionSelect:y,scrollToOption:g,inputWidth:ee,selected:te,inputLength:ne,filteredOptionsCount:oe,visible:re,softFocus:ie,selectedLabel:se,hoverIndex:ae,query:le,inputHovering:ce,currentPlaceholder:ue,menuVisibleOnFocus:de,isOnComposition:pe,isSilentBlur:fe,options:he,resetInputHeight:_,managePlaceholder:w,showClose:k,selectDisabled:E,iconClass:C,showNewOption:S,emptyText:O,toggleLastOptionHitState:B,resetInputState:M,handleComposition:V,handleMenuEnter:q,handleFocus:F,blur:L,handleBlur:I,handleClearClick:D,handleClose:R,toggleMenu:$,selectOption:z,getValueKey:H,navigateOptions:U,dropMenuVisible:K,focus:X,reference:W,input:Q,popper:Y,popperPaneRef:be,tags:G,selectWrapper:Z,scrollbar:J}}});const $={class:"select-trigger"},z={key:0},H={class:"el-select__tags-text"},U={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}},K={key:1,class:"el-select-dropdown__empty"};R.render=function(e,t,n,r,i,s){const a=o.resolveComponent("el-tag"),l=o.resolveComponent("el-input"),c=o.resolveComponent("el-option"),u=o.resolveComponent("el-scrollbar"),d=o.resolveComponent("el-select-menu"),p=o.resolveComponent("el-popper"),f=o.resolveDirective("click-outside");return o.withDirectives((o.openBlock(),o.createBlock("div",{ref:"selectWrapper",class:["el-select",[e.selectSize?"el-select--"+e.selectSize:""]],onClick:t[26]||(t[26]=o.withModifiers(((...t)=>e.toggleMenu&&e.toggleMenu(...t)),["stop"]))},[o.createVNode(p,{ref:"popper",visible:e.dropMenuVisible,"onUpdate:visible":t[25]||(t[25]=t=>e.dropMenuVisible=t),placement:"bottom-start","append-to-body":e.popperAppendToBody,"popper-class":`el-select__popper ${e.popperClass}`,"fallback-placements":["auto"],"manual-mode":"",effect:"light",pure:"",trigger:"click",transition:"el-zoom-in-top","stop-popper-mouse-event":!1,"gpu-acceleration":!1,onBeforeEnter:e.handleMenuEnter},{trigger:o.withCtx((()=>[o.createVNode("div",$,[e.multiple?(o.openBlock(),o.createBlock("div",{key:0,ref:"tags",class:"el-select__tags",style:{"max-width":e.inputWidth-32+"px",width:"100%"}},[e.collapseTags&&e.selected.length?(o.openBlock(),o.createBlock("span",z,[o.createVNode(a,{closable:!e.selectDisabled&&!e.selected[0].isDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:"info","disable-transitions":"",onClose:t[1]||(t[1]=t=>e.deleteTag(t,e.selected[0]))},{default:o.withCtx((()=>[o.createVNode("span",{class:"el-select__tags-text",style:{"max-width":e.inputWidth-123+"px"}},o.toDisplayString(e.selected[0].currentLabel),5)])),_:1},8,["closable","size","hit"]),e.selected.length>1?(o.openBlock(),o.createBlock(a,{key:0,closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""},{default:o.withCtx((()=>[o.createVNode("span",H,"+ "+o.toDisplayString(e.selected.length-1),1)])),_:1},8,["size"])):o.createCommentVNode("v-if",!0)])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" <div> "),e.collapseTags?o.createCommentVNode("v-if",!0):(o.openBlock(),o.createBlock(o.Transition,{key:1,onAfterLeave:e.resetInputHeight},{default:o.withCtx((()=>[o.createVNode("span",{style:{marginLeft:e.prefixWidth&&e.selected.length?`${e.prefixWidth}px`:null}},[(o.openBlock(!0),o.createBlock(o.Fragment,null,o.renderList(e.selected,(t=>(o.openBlock(),o.createBlock(a,{key:e.getValueKey(t),closable:!e.selectDisabled&&!t.isDisabled,size:e.collapseTagSize,hit:t.hitState,type:"info","disable-transitions":"",onClose:n=>e.deleteTag(n,t)},{default:o.withCtx((()=>[o.createVNode("span",{class:"el-select__tags-text",style:{"max-width":e.inputWidth-75+"px"}},o.toDisplayString(t.currentLabel),5)])),_:2},1032,["closable","size","hit","onClose"])))),128))],4)])),_:1},8,["onAfterLeave"])),o.createCommentVNode(" </div> "),e.filterable?o.withDirectives((o.openBlock(),o.createBlock("input",{key:2,ref:"input","onUpdate:modelValue":t[2]||(t[2]=t=>e.query=t),type:"text",class:["el-select__input",[e.selectSize?`is-${e.selectSize}`:""]],disabled:e.selectDisabled,autocomplete:e.autocomplete,style:{marginLeft:e.prefixWidth&&!e.selected.length||e.tagInMultiLine?`${e.prefixWidth}px`:null,flexGrow:"1",width:e.inputLength/(e.inputWidth-32)+"%",maxWidth:e.inputWidth-42+"px"},onFocus:t[3]||(t[3]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onBlur:t[4]||(t[4]=(...t)=>e.handleBlur&&e.handleBlur(...t)),onKeyup:t[5]||(t[5]=(...t)=>e.managePlaceholder&&e.managePlaceholder(...t)),onKeydown:[t[6]||(t[6]=(...t)=>e.resetInputState&&e.resetInputState(...t)),t[7]||(t[7]=o.withKeys(o.withModifiers((t=>e.navigateOptions("next")),["prevent"]),["down"])),t[8]||(t[8]=o.withKeys(o.withModifiers((t=>e.navigateOptions("prev")),["prevent"]),["up"])),t[9]||(t[9]=o.withKeys(o.withModifiers((t=>e.visible=!1),["stop","prevent"]),["esc"])),t[10]||(t[10]=o.withKeys(o.withModifiers(((...t)=>e.selectOption&&e.selectOption(...t)),["stop","prevent"]),["enter"])),t[11]||(t[11]=o.withKeys(((...t)=>e.deletePrevTag&&e.deletePrevTag(...t)),["delete"])),t[12]||(t[12]=o.withKeys((t=>e.visible=!1),["tab"]))],onCompositionstart:t[13]||(t[13]=(...t)=>e.handleComposition&&e.handleComposition(...t)),onCompositionupdate:t[14]||(t[14]=(...t)=>e.handleComposition&&e.handleComposition(...t)),onCompositionend:t[15]||(t[15]=(...t)=>e.handleComposition&&e.handleComposition(...t)),onInput:t[16]||(t[16]=(...t)=>e.debouncedQueryChange&&e.debouncedQueryChange(...t))},null,46,["disabled","autocomplete"])),[[o.vModelText,e.query]]):o.createCommentVNode("v-if",!0)],4)):o.createCommentVNode("v-if",!0),o.createVNode(l,{id:e.id,ref:"reference",modelValue:e.selectedLabel,"onUpdate:modelValue":t[18]||(t[18]=t=>e.selectedLabel=t),type:"text",placeholder:e.currentPlaceholder,name:e.name,autocomplete:e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,class:{"is-focus":e.visible},tabindex:e.multiple&&e.filterable?"-1":null,onFocus:e.handleFocus,onBlur:e.handleBlur,onInput:e.debouncedOnInputChange,onPaste:e.debouncedOnInputChange,onKeydown:[t[19]||(t[19]=o.withKeys(o.withModifiers((t=>e.navigateOptions("next")),["stop","prevent"]),["down"])),t[20]||(t[20]=o.withKeys(o.withModifiers((t=>e.navigateOptions("prev")),["stop","prevent"]),["up"])),o.withKeys(o.withModifiers(e.selectOption,["stop","prevent"]),["enter"]),t[21]||(t[21]=o.withKeys(o.withModifiers((t=>e.visible=!1),["stop","prevent"]),["esc"])),t[22]||(t[22]=o.withKeys((t=>e.visible=!1),["tab"]))],onMouseenter:t[23]||(t[23]=t=>e.inputHovering=!0),onMouseleave:t[24]||(t[24]=t=>e.inputHovering=!1)},o.createSlots({suffix:o.withCtx((()=>[o.withDirectives(o.createVNode("i",{class:["el-select__caret","el-input__icon","el-icon-"+e.iconClass]},null,2),[[o.vShow,!e.showClose]]),e.showClose?(o.openBlock(),o.createBlock("i",{key:0,class:`el-select__caret el-input__icon ${e.clearIcon}`,onClick:t[17]||(t[17]=(...t)=>e.handleClearClick&&e.handleClearClick(...t))},null,2)):o.createCommentVNode("v-if",!0)])),_:2},[e.$slots.prefix?{name:"prefix",fn:o.withCtx((()=>[o.createVNode("div",U,[o.renderSlot(e.$slots,"prefix")])]))}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","onFocus","onBlur","onInput","onPaste","onKeydown"])])])),default:o.withCtx((()=>[o.createVNode(d,null,{default:o.withCtx((()=>[o.withDirectives(o.createVNode(u,{ref:"scrollbar",tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list",class:{"is-empty":!e.allowCreate&&e.query&&0===e.filteredOptionsCount}},{default:o.withCtx((()=>[e.showNewOption?(o.openBlock(),o.createBlock(c,{key:0,value:e.query,created:!0},null,8,["value"])):o.createCommentVNode("v-if",!0),o.renderSlot(e.$slots,"default")])),_:3},8,["class"]),[[o.vShow,e.options.size>0&&!e.loading]]),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&0===e.options.size)?(o.openBlock(),o.createBlock(o.Fragment,{key:0},[e.$slots.empty?o.renderSlot(e.$slots,"empty",{key:0}):(o.openBlock(),o.createBlock("p",K,o.toDisplayString(e.emptyText),1))],2112)):o.createCommentVNode("v-if",!0)])),_:3})])),_:1},8,["visible","append-to-body","popper-class","onBeforeEnter"])],2)),[[f,e.handleClose,e.popperPaneRef]])},R.__file="packages/select/src/select.vue",R.install=e=>{e.component(R.name,R)};const W=R;t.Option=q,t.default=W},4912:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4865),r=n(5450),i=n(6801),s=o.defineComponent({name:"ElTag",props:{closable:Boolean,type:{type:String,default:""},hit:Boolean,disableTransitions:Boolean,color:{type:String,default:""},size:{type:String,validator:i.isValidComponentSize},effect:{type:String,default:"light",validator:e=>-1!==["dark","light","plain"].indexOf(e)}},emits:["close","click"],setup(e,t){const n=r.useGlobalConfig(),i=o.computed((()=>e.size||n.size)),s=o.computed((()=>{const{type:t,hit:n,effect:o}=e;return["el-tag",t?`el-tag--${t}`:"",i.value?`el-tag--${i.value}`:"",o?`el-tag--${o}`:"",n&&"is-hit"]}));return{tagSize:i,classes:s,handleClose:e=>{e.stopPropagation(),t.emit("close",e)},handleClick:e=>{t.emit("click",e)}}}});s.render=function(e,t,n,r,i,s){return e.disableTransitions?(o.openBlock(),o.createBlock(o.Transition,{key:1,name:"el-zoom-in-center"},{default:o.withCtx((()=>[o.createVNode("span",{class:e.classes,style:{backgroundColor:e.color},onClick:t[4]||(t[4]=(...t)=>e.handleClick&&e.handleClick(...t))},[o.renderSlot(e.$slots,"default"),e.closable?(o.openBlock(),o.createBlock("i",{key:0,class:"el-tag__close el-icon-close",onClick:t[3]||(t[3]=(...t)=>e.handleClose&&e.handleClose(...t))})):o.createCommentVNode("v-if",!0)],6)])),_:3})):(o.openBlock(),o.createBlock("span",{key:0,class:e.classes,style:{backgroundColor:e.color},onClick:t[2]||(t[2]=(...t)=>e.handleClick&&e.handleClick(...t))},[o.renderSlot(e.$slots,"default"),e.closable?(o.openBlock(),o.createBlock("i",{key:0,class:"el-tag__close el-icon-close",onClick:t[1]||(t[1]=(...t)=>e.handleClose&&e.handleClose(...t))})):o.createCommentVNode("v-if",!0)],6))},s.__file="packages/tag/src/index.vue",s.install=e=>{e.component(s.name,s)};const a=s;t.default=a},3676:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4865),r=n(5450),i=n(6722),s=n(6311),a=n(1617),l=n(9272),c=n(3566);function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=u(s),p=u(a);const f=["class","style"],h=/^on[A-Z]/;const m=[],v=e=>{if(0!==m.length&&e.code===l.EVENT_CODE.esc){e.stopPropagation();m[m.length-1].handleClose()}};u(c).default||i.on(document,"keydown",v);t.useAttrs=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,i=o.getCurrentInstance(),s=o.shallowRef({}),a=n.concat(f);return i.attrs=o.reactive(i.attrs),o.watchEffect((()=>{const e=r.entries(i.attrs).reduce(((e,[n,o])=>(a.includes(n)||t&&h.test(n)||(e[n]=o),e)),{});s.value=e})),s},t.useEvents=(e,t)=>{o.watch(e,(n=>{n?t.forEach((({name:t,handler:n})=>{i.on(e.value,t,n)})):t.forEach((({name:t,handler:n})=>{i.off(e.value,t,n)}))}))},t.useFocus=e=>({focus:()=>{var t,n;null==(n=null==(t=e.value)?void 0:t.focus)||n.call(t)}}),t.useLockScreen=e=>{o.isRef(e)||p.default("[useLockScreen]","You need to pass a ref param to this function");let t=0,n=!1,r="0",s=0;o.onUnmounted((()=>{a()}));const a=()=>{i.removeClass(document.body,"el-popup-parent--hidden"),n&&(document.body.style.paddingRight=r)};o.watch(e,(e=>{if(e){n=!i.hasClass(document.body,"el-popup-parent--hidden"),n&&(r=document.body.style.paddingRight,s=parseInt(i.getStyle(document.body,"paddingRight"),10)),t=d.default();const e=document.documentElement.clientHeight<document.body.scrollHeight,o=i.getStyle(document.body,"overflowY");t>0&&(e||"scroll"===o)&&n&&(document.body.style.paddingRight=s+t+"px"),i.addClass(document.body,"el-popup-parent--hidden")}else a()}))},t.useMigrating=function(){o.onMounted((()=>{o.getCurrentInstance()}));const e=function(){return{props:{},events:{}}};return{getMigratingConfig:e}},t.useModal=(e,t)=>{o.watch((()=>t.value),(t=>{t?m.push(e):m.splice(m.findIndex((t=>t===e)),1)}))},t.usePreventGlobal=(e,t,n)=>{const r=e=>{n(e)&&e.stopImmediatePropagation()};o.watch((()=>e.value),(e=>{e?i.on(document,t,r,!0):i.off(document,t,r,!0)}),{immediate:!0})},t.useRestoreActive=(e,t)=>{let n;o.watch((()=>e.value),(e=>{var r,i;e?(n=document.activeElement,o.isRef(t)&&(null==(i=(r=t.value).focus)||i.call(r))):n.focus()}))},t.useThrottleRender=function(e,t=0){if(0===t)return e;const n=o.ref(!1);let r=0;const i=()=>{r&&clearTimeout(r),r=window.setTimeout((()=>{n.value=e.value}),t)};return o.onMounted(i),o.watch((()=>e.value),(e=>{e?i():n.value=e})),n}},7993:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2372),r=n(7484);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(o),a=i(r);let l=s.default,c=null;const u=e=>{c=e};function d(e,t){return e&&t?e.replace(/\{(\w+)\}/g,((e,n)=>t[n])):e}const p=(...e)=>{if(c)return c(...e);const[t,n]=e;let o;const r=t.split(".");let i=l;for(let e=0,t=r.length;e<t;e++){if(o=i[r[e]],e===t-1)return d(o,n);if(!o)return"";i=o}return""},f=e=>{l=e||l,l.name&&a.default.locale(l.name)};var h={use:f,t:p,i18n:u};t.default=h,t.i18n=u,t.t=p,t.use=f},2372:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:""},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}}},9272:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e=>{return"fixed"!==getComputedStyle(e).position&&null!==e.offsetParent},o=e=>{if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return!("hidden"===e.type||"file"===e.type);case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},r=e=>{var t;return!!o(e)&&(i.IgnoreUtilFocusChanges=!0,null===(t=e.focus)||void 0===t||t.call(e),i.IgnoreUtilFocusChanges=!1,document.activeElement===e)},i={IgnoreUtilFocusChanges:!1,focusFirstDescendant:function(e){for(let t=0;t<e.childNodes.length;t++){const n=e.childNodes[t];if(r(n)||this.focusFirstDescendant(n))return!0}return!1},focusLastDescendant:function(e){for(let t=e.childNodes.length-1;t>=0;t--){const n=e.childNodes[t];if(r(n)||this.focusLastDescendant(n))return!0}return!1}};t.EVENT_CODE={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace"},t.attemptFocus=r,t.default=i,t.isFocusable=o,t.isVisible=n,t.obtainAllFocusableElements=e=>Array.from(e.querySelectorAll('a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])')).filter(o).filter(n),t.triggerEvent=function(e,t,...n){let o;o=t.includes("mouse")||t.includes("click")?"MouseEvents":t.includes("key")?"KeyboardEvent":"HTMLEvents";const r=document.createEvent(o);return r.initEvent(t,...n),e.dispatchEvent(r),e}},544:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n={};t.getConfig=e=>n[e],t.setConfig=e=>{n=e}},2532:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.CHANGE_EVENT="change",t.INPUT_EVENT="input",t.UPDATE_MODEL_EVENT="update:modelValue",t.VALIDATE_STATE_MAP={validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}},6722:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3566),r=n(5450);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(o);const a=function(e,t,n,o=!1){e&&t&&n&&e.addEventListener(t,n,o)},l=function(e,t,n,o=!1){e&&t&&n&&e.removeEventListener(t,n,o)};function c(e,t){if(!e||!t)return!1;if(-1!==t.indexOf(" "))throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}const u=function(e,t){if(!s.default){if(!e||!t)return null;"float"===(t=r.camelize(t))&&(t="cssFloat");try{const n=e.style[t];if(n)return n;const o=document.defaultView.getComputedStyle(e,"");return o?o[t]:""}catch(n){return e.style[t]}}};function d(e,t,n){e&&t&&(r.isObject(t)?Object.keys(t).forEach((n=>{d(e,n,t[n])})):(t=r.camelize(t),e.style[t]=n))}const p=(e,t)=>{if(s.default)return;return u(e,null==t?"overflow":t?"overflow-y":"overflow-x").match(/(scroll|auto)/)},f=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t};t.addClass=function(e,t){if(!e)return;let n=e.className;const o=(t||"").split(" ");for(let t=0,r=o.length;t<r;t++){const r=o[t];r&&(e.classList?e.classList.add(r):c(e,r)||(n+=" "+r))}e.classList||(e.className=n)},t.getOffsetTop=f,t.getOffsetTopDistance=(e,t)=>Math.abs(f(e)-f(t)),t.getScrollContainer=(e,t)=>{if(s.default)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(p(n,t))return n;n=n.parentNode}return n},t.getStyle=u,t.hasClass=c,t.isInContainer=(e,t)=>{if(s.default||!e||!t)return!1;const n=e.getBoundingClientRect();let o;return o=[window,document,document.documentElement,null,void 0].includes(t)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:t.getBoundingClientRect(),n.top<o.bottom&&n.bottom>o.top&&n.right>o.left&&n.left<o.right},t.isScroll=p,t.off=l,t.on=a,t.once=function(e,t,n){const o=function(...r){n&&n.apply(this,r),l(e,t,o)};a(e,t,o)},t.removeClass=function(e,t){if(!e||!t)return;const n=t.split(" ");let o=" "+e.className+" ";for(let t=0,r=n.length;t<r;t++){const r=n[t];r&&(e.classList?e.classList.remove(r):c(e,r)&&(o=o.replace(" "+r+" "," ")))}e.classList||(e.className=(o||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,""))},t.removeStyle=function(e,t){e&&t&&(r.isObject(t)?Object.keys(t).forEach((t=>{d(e,t,"")})):d(e,t,""))},t.setStyle=d,t.stop=e=>e.stopPropagation()},1617:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super(e),this.name="ElementPlusError"}}t.default=(e,t)=>{throw new n(`[${e}] ${t}`)},t.warn=function(e,t){console.warn(new n(`[${e}] ${t}`))}},6645:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isKorean=function(e){return/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(e)}},3566:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="undefined"==typeof window;t.default=n},9169:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3566),r=n(544),i=n(6722),s=n(9272);function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=a(o);const c=e=>{e.preventDefault(),e.stopPropagation()},u=()=>{null==m||m.doOnModalClick()};let d,p=!1;const f=function(){if(l.default)return;let e=m.modalDom;return e?p=!0:(p=!1,e=document.createElement("div"),m.modalDom=e,i.on(e,"touchmove",c),i.on(e,"click",u)),e},h={},m={modalFade:!0,modalDom:void 0,zIndex:d,getInstance:function(e){return h[e]},register:function(e,t){e&&t&&(h[e]=t)},deregister:function(e){e&&(h[e]=null,delete h[e])},nextZIndex:function(){return++m.zIndex},modalStack:[],doOnModalClick:function(){const e=m.modalStack[m.modalStack.length-1];if(!e)return;const t=m.getInstance(e.id);t&&t.closeOnClickModal.value&&t.close()},openModal:function(e,t,n,o,r){if(l.default)return;if(!e||void 0===t)return;this.modalFade=r;const s=this.modalStack;for(let t=0,n=s.length;t<n;t++){if(s[t].id===e)return}const a=f();if(i.addClass(a,"v-modal"),this.modalFade&&!p&&i.addClass(a,"v-modal-enter"),o){o.trim().split(/\s+/).forEach((e=>i.addClass(a,e)))}setTimeout((()=>{i.removeClass(a,"v-modal-enter")}),200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(a):document.body.appendChild(a),t&&(a.style.zIndex=String(t)),a.tabIndex=0,a.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:o})},closeModal:function(e){const t=this.modalStack,n=f();if(t.length>0){const o=t[t.length-1];if(o.id===e){if(o.modalClass){o.modalClass.trim().split(/\s+/).forEach((e=>i.removeClass(n,e)))}t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex)}else for(let n=t.length-1;n>=0;n--)if(t[n].id===e){t.splice(n,1);break}}0===t.length&&(this.modalFade&&i.addClass(n,"v-modal-leave"),setTimeout((()=>{0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",m.modalDom=void 0),i.removeClass(n,"v-modal-leave")}),200))}};Object.defineProperty(m,"zIndex",{configurable:!0,get:()=>(void 0===d&&(d=r.getConfig("zIndex")||2e3),d),set(e){d=e}});l.default||i.on(window,"keydown",(function(e){if(e.code===s.EVENT_CODE.esc){const e=function(){if(!l.default&&m.modalStack.length>0){const e=m.modalStack[m.modalStack.length-1];if(!e)return;return m.getInstance(e.id)}}();e&&e.closeOnPressEscape.value&&(e.handleClose?e.handleClose():e.handleAction?e.handleAction("cancel"):e.close())}})),t.default=m},2406:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1033),r=n(3566);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(o),a=i(r);const l=function(e){for(const t of e){const e=t.target.__resizeListeners__||[];e.length&&e.forEach((e=>{e()}))}};t.addResizeListener=function(e,t){!a.default&&e&&(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new s.default(l),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},4593:(e,t,n)=>{"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(3566));t.default=function(e,t){if(r.default)return;if(!t)return void(e.scrollTop=0);const n=[];let o=t.offsetParent;for(;null!==o&&e!==o&&e.contains(o);)n.push(o),o=o.offsetParent;const i=t.offsetTop+n.reduce(((e,t)=>e+t.offsetTop),0),s=i+t.offsetHeight,a=e.scrollTop,l=a+e.clientHeight;i<a?e.scrollTop=i:s>l&&(e.scrollTop=s-e.clientHeight)}},6311:(e,t,n)=>{"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(3566));let i;t.default=function(){if(r.default)return 0;if(void 0!==i)return i;const e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const t=e.offsetWidth;e.style.overflow="scroll";const n=document.createElement("div");n.style.width="100%",e.appendChild(n);const o=n.offsetWidth;return e.parentNode.removeChild(e),i=t-o,i}},5450:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4865),r=n(3577),i=n(3566);n(1617);function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=s(i);const l=r.hyphenate,c=e=>"number"==typeof e;Object.defineProperty(t,"isVNode",{enumerable:!0,get:function(){return o.isVNode}}),Object.defineProperty(t,"camelize",{enumerable:!0,get:function(){return r.camelize}}),Object.defineProperty(t,"capitalize",{enumerable:!0,get:function(){return r.capitalize}}),Object.defineProperty(t,"extend",{enumerable:!0,get:function(){return r.extend}}),Object.defineProperty(t,"hasOwn",{enumerable:!0,get:function(){return r.hasOwn}}),Object.defineProperty(t,"isArray",{enumerable:!0,get:function(){return r.isArray}}),Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return r.isObject}}),Object.defineProperty(t,"isString",{enumerable:!0,get:function(){return r.isString}}),Object.defineProperty(t,"looseEqual",{enumerable:!0,get:function(){return r.looseEqual}}),t.$=function(e){return e.value},t.SCOPE="Util",t.addUnit=function(e){return r.isString(e)?e:c(e)?e+"px":""},t.arrayFind=function(e,t){return e.find(t)},t.arrayFindIndex=function(e,t){return e.findIndex(t)},t.arrayFlat=function e(t){return t.reduce(((t,n)=>{const o=Array.isArray(n)?e(n):n;return t.concat(o)}),[])},t.autoprefixer=function(e){const t=["ms-","webkit-"];return["transform","transition","animation"].forEach((n=>{const o=e[n];n&&o&&t.forEach((t=>{e[t+n]=o}))})),e},t.clearTimer=e=>{clearTimeout(e.value),e.value=null},t.coerceTruthyValueToArray=e=>e||0===e?Array.isArray(e)?e:[e]:[],t.deduplicate=function(e){return Array.from(new Set(e))},t.entries=function(e){return Object.keys(e).map((t=>[t,e[t]]))},t.escapeRegexpString=(e="")=>String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"),t.generateId=()=>Math.floor(1e4*Math.random()),t.getPropByPath=function(e,t,n){let o=e;const r=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split(".");let i=0;for(;i<r.length-1&&(o||n);i++){const e=r[i];if(!(e in o)){if(n)throw new Error("please transfer a valid prop path to form item!");break}o=o[e]}return{o,k:r[i],v:null==o?void 0:o[r[i]]}},t.getRandomInt=function(e){return Math.floor(Math.random()*Math.floor(e))},t.getValueByPath=(e,t="")=>{let n=e;return t.split(".").map((e=>{n=null==n?void 0:n[e]})),n},t.isBool=e=>"boolean"==typeof e,t.isEdge=function(){return!a.default&&navigator.userAgent.indexOf("Edge")>-1},t.isEmpty=function(e){return!!(!e&&0!==e||r.isArray(e)&&!e.length||r.isObject(e)&&!Object.keys(e).length)},t.isFirefox=function(){return!a.default&&!!window.navigator.userAgent.match(/firefox/i)},t.isHTMLElement=e=>r.toRawType(e).startsWith("HTML"),t.isIE=function(){return!a.default&&!isNaN(Number(document.documentMode))},t.isNumber=c,t.isUndefined=function(e){return void 0===e},t.kebabCase=l,t.rafThrottle=function(e){let t=!1;return function(...n){t||(t=!0,window.requestAnimationFrame((()=>{e.apply(this,n),t=!1})))}},t.toObject=function(e){const t={};for(let n=0;n<e.length;n++)e[n]&&r.extend(t,e[n]);return t},t.useGlobalConfig=function(){const e=o.getCurrentInstance();return"$ELEMENT"in e.proxy?e.proxy.$ELEMENT:{}}},6801:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5450);t.isValidComponentSize=e=>["","large","medium","small","mini"].includes(e),t.isValidDatePickType=e=>["year","month","date","dates","week","datetime","datetimerange","daterange","monthrange"].includes(e),t.isValidWidthUnit=e=>!!o.isNumber(e)||["px","rem","em","vw","%","vmin","vmax"].some((t=>e.endsWith(t)))},7050:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4865);var r;(r=t.PatchFlags||(t.PatchFlags={}))[r.TEXT=1]="TEXT",r[r.CLASS=2]="CLASS",r[r.STYLE=4]="STYLE",r[r.PROPS=8]="PROPS",r[r.FULL_PROPS=16]="FULL_PROPS",r[r.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",r[r.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",r[r.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",r[r.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",r[r.NEED_PATCH=512]="NEED_PATCH",r[r.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",r[r.HOISTED=-1]="HOISTED",r[r.BAIL=-2]="BAIL";const i=e=>e.type===o.Fragment,s=e=>e.type===o.Comment,a=e=>"template"===e.type;function l(e,t){if(!s(e))return i(e)||a(e)?t>0?c(e.children,t-1):void 0:e}const c=(e,t=3)=>Array.isArray(e)?l(e[0],t):l(e,t);function u(e,t,n,r,i){return o.openBlock(),o.createBlock(e,t,n,r,i)}t.getFirstValidNode=c,t.isComment=s,t.isFragment=i,t.isTemplate=a,t.isText=e=>e.type===o.Text,t.isValidElementNode=e=>!(i(e)||s(e)),t.renderBlock=u,t.renderIf=function(e,t,n,r,i,s){return e?u(t,n,r,i,s):o.createCommentVNode("v-if",!0)}},8552:(e,t,n)=>{var o=n(852)(n(5639),"DataView");e.exports=o},1989:(e,t,n)=>{var o=n(1789),r=n(401),i=n(7667),s=n(1327),a=n(1866);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,e.exports=l},8407:(e,t,n)=>{var o=n(7040),r=n(4125),i=n(2117),s=n(7518),a=n(4705);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,e.exports=l},7071:(e,t,n)=>{var o=n(852)(n(5639),"Map");e.exports=o},3369:(e,t,n)=>{var o=n(4785),r=n(1285),i=n(6e3),s=n(9916),a=n(5265);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,e.exports=l},3818:(e,t,n)=>{var o=n(852)(n(5639),"Promise");e.exports=o},8525:(e,t,n)=>{var o=n(852)(n(5639),"Set");e.exports=o},8668:(e,t,n)=>{var o=n(3369),r=n(619),i=n(2385);function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=r,s.prototype.has=i,e.exports=s},6384:(e,t,n)=>{var o=n(8407),r=n(7465),i=n(3779),s=n(7599),a=n(4758),l=n(4309);function c(e){var t=this.__data__=new o(e);this.size=t.size}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=s,c.prototype.has=a,c.prototype.set=l,e.exports=c},2705:(e,t,n)=>{var o=n(5639).Symbol;e.exports=o},1149:(e,t,n)=>{var o=n(5639).Uint8Array;e.exports=o},577:(e,t,n)=>{var o=n(852)(n(5639),"WeakMap");e.exports=o},4963:e=>{e.exports=function(e,t){for(var n=-1,o=null==e?0:e.length,r=0,i=[];++n<o;){var s=e[n];t(s,n,e)&&(i[r++]=s)}return i}},4636:(e,t,n)=>{var o=n(2545),r=n(5694),i=n(1469),s=n(4144),a=n(5776),l=n(6719),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&r(e),d=!n&&!u&&s(e),p=!n&&!u&&!d&&l(e),f=n||u||d||p,h=f?o(e.length,String):[],m=h.length;for(var v in e)!t&&!c.call(e,v)||f&&("length"==v||d&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||a(v,m))||h.push(v);return h}},2488:e=>{e.exports=function(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}},2908:e=>{e.exports=function(e,t){for(var n=-1,o=null==e?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}},8470:(e,t,n)=>{var o=n(7813);e.exports=function(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}},8866:(e,t,n)=>{var o=n(2488),r=n(1469);e.exports=function(e,t,n){var i=t(e);return r(e)?i:o(i,n(e))}},4239:(e,t,n)=>{var o=n(2705),r=n(9607),i=n(2333),s=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?r(e):i(e)}},9454:(e,t,n)=>{var o=n(4239),r=n(7005);e.exports=function(e){return r(e)&&"[object Arguments]"==o(e)}},939:(e,t,n)=>{var o=n(2492),r=n(7005);e.exports=function e(t,n,i,s,a){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:o(t,n,i,s,e,a))}},2492:(e,t,n)=>{var o=n(6384),r=n(7114),i=n(8351),s=n(6096),a=n(4160),l=n(1469),c=n(4144),u=n(6719),d="[object Arguments]",p="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,v,y){var g=l(e),b=l(t),_=g?p:a(e),w=b?p:a(t),x=(_=_==d?f:_)==f,k=(w=w==d?f:w)==f,E=_==w;if(E&&c(e)){if(!c(t))return!1;g=!0,x=!1}if(E&&!x)return y||(y=new o),g||u(e)?r(e,t,n,m,v,y):i(e,t,_,n,m,v,y);if(!(1&n)){var C=x&&h.call(e,"__wrapped__"),S=k&&h.call(t,"__wrapped__");if(C||S){var O=C?e.value():e,T=S?t.value():t;return y||(y=new o),v(O,T,n,m,y)}}return!!E&&(y||(y=new o),s(e,t,n,m,v,y))}},8458:(e,t,n)=>{var o=n(3560),r=n(5346),i=n(3218),s=n(346),a=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(o(e)?p:a).test(s(e))}},8749:(e,t,n)=>{var o=n(4239),r=n(1780),i=n(7005),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&r(e.length)&&!!s[o(e)]}},280:(e,t,n)=>{var o=n(5726),r=n(6916),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!o(e))return r(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},2545:e=>{e.exports=function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}},7561:(e,t,n)=>{var o=n(7990),r=/^\s+/;e.exports=function(e){return e?e.slice(0,o(e)+1).replace(r,""):e}},1717:e=>{e.exports=function(e){return function(t){return e(t)}}},4757:e=>{e.exports=function(e,t){return e.has(t)}},4429:(e,t,n)=>{var o=n(5639)["__core-js_shared__"];e.exports=o},7114:(e,t,n)=>{var o=n(8668),r=n(2908),i=n(4757);e.exports=function(e,t,n,s,a,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var p=l.get(e),f=l.get(t);if(p&&f)return p==t&&f==e;var h=-1,m=!0,v=2&n?new o:void 0;for(l.set(e,t),l.set(t,e);++h<u;){var y=e[h],g=t[h];if(s)var b=c?s(g,y,h,t,e,l):s(y,g,h,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(v){if(!r(t,(function(e,t){if(!i(v,t)&&(y===e||a(y,e,n,s,l)))return v.push(t)}))){m=!1;break}}else if(y!==g&&!a(y,g,n,s,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},8351:(e,t,n)=>{var o=n(2705),r=n(1149),i=n(7813),s=n(7114),a=n(8776),l=n(1814),c=o?o.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,o,c,d,p){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||!d(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=a;case"[object Set]":var h=1&o;if(f||(f=l),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;o|=2,p.set(e,t);var v=s(f(e),f(t),o,c,d,p);return p.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},6096:(e,t,n)=>{var o=n(8234),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,s,a){var l=1&n,c=o(e),u=c.length;if(u!=o(t).length&&!l)return!1;for(var d=u;d--;){var p=c[d];if(!(l?p in t:r.call(t,p)))return!1}var f=a.get(e),h=a.get(t);if(f&&h)return f==t&&h==e;var m=!0;a.set(e,t),a.set(t,e);for(var v=l;++d<u;){var y=e[p=c[d]],g=t[p];if(i)var b=l?i(g,y,p,t,e,a):i(y,g,p,e,t,a);if(!(void 0===b?y===g||s(y,g,n,i,a):b)){m=!1;break}v||(v="constructor"==p)}if(m&&!v){var _=e.constructor,w=t.constructor;_==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(m=!1)}return a.delete(e),a.delete(t),m}},1957:(e,t,n)=>{var o="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=o},8234:(e,t,n)=>{var o=n(8866),r=n(9551),i=n(3674);e.exports=function(e){return o(e,i,r)}},5050:(e,t,n)=>{var o=n(7019);e.exports=function(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}},852:(e,t,n)=>{var o=n(8458),r=n(7801);e.exports=function(e,t){var n=r(e,t);return o(n)?n:void 0}},9607:(e,t,n)=>{var o=n(2705),r=Object.prototype,i=r.hasOwnProperty,s=r.toString,a=o?o.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var o=!0}catch(e){}var r=s.call(e);return o&&(t?e[a]=n:delete e[a]),r}},9551:(e,t,n)=>{var o=n(4963),r=n(479),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),o(s(e),(function(t){return i.call(e,t)})))}:r;e.exports=a},4160:(e,t,n)=>{var o=n(8552),r=n(7071),i=n(3818),s=n(8525),a=n(577),l=n(4239),c=n(346),u="[object Map]",d="[object Promise]",p="[object Set]",f="[object WeakMap]",h="[object DataView]",m=c(o),v=c(r),y=c(i),g=c(s),b=c(a),_=l;(o&&_(new o(new ArrayBuffer(1)))!=h||r&&_(new r)!=u||i&&_(i.resolve())!=d||s&&_(new s)!=p||a&&_(new a)!=f)&&(_=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,o=n?c(n):"";if(o)switch(o){case m:return h;case v:return u;case y:return d;case g:return p;case b:return f}return t}),e.exports=_},7801:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},1789:(e,t,n)=>{var o=n(4536);e.exports=function(){this.__data__=o?o(null):{},this.size=0}},401:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:(e,t,n)=>{var o=n(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(o){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},1327:(e,t,n)=>{var o=n(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return o?void 0!==t[e]:r.call(t,e)}},1866:(e,t,n)=>{var o=n(4536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this}},5776:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var o=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&t.test(e))&&e>-1&&e%1==0&&e<n}},7019:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:(e,t,n)=>{var o,r=n(4429),i=(o=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";e.exports=function(e){return!!i&&i in e}},5726:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},7040:e=>{e.exports=function(){this.__data__=[],this.size=0}},4125:(e,t,n)=>{var o=n(8470),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():r.call(t,n,1),--this.size,!0)}},2117:(e,t,n)=>{var o=n(8470);e.exports=function(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}},7518:(e,t,n)=>{var o=n(8470);e.exports=function(e){return o(this.__data__,e)>-1}},4705:(e,t,n)=>{var o=n(8470);e.exports=function(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},4785:(e,t,n)=>{var o=n(1989),r=n(8407),i=n(7071);e.exports=function(){this.size=0,this.__data__={hash:new o,map:new(i||r),string:new o}}},1285:(e,t,n)=>{var o=n(5050);e.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}},6e3:(e,t,n)=>{var o=n(5050);e.exports=function(e){return o(this,e).get(e)}},9916:(e,t,n)=>{var o=n(5050);e.exports=function(e){return o(this,e).has(e)}},5265:(e,t,n)=>{var o=n(5050);e.exports=function(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},8776:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,o){n[++t]=[o,e]})),n}},4536:(e,t,n)=>{var o=n(852)(Object,"create");e.exports=o},6916:(e,t,n)=>{var o=n(5569)(Object.keys,Object);e.exports=o},1167:(e,t,n)=>{e=n.nmd(e);var o=n(1957),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,s=i&&i.exports===r&&o.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},5639:(e,t,n)=>{var o=n(1957),r="object"==typeof self&&self&&self.Object===Object&&self,i=o||r||Function("return this")();e.exports=i},619:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2385:e=>{e.exports=function(e){return this.__data__.has(e)}},1814:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},7465:(e,t,n)=>{var o=n(8407);e.exports=function(){this.__data__=new o,this.size=0}},3779:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},7599:e=>{e.exports=function(e){return this.__data__.get(e)}},4758:e=>{e.exports=function(e){return this.__data__.has(e)}},4309:(e,t,n)=>{var o=n(8407),r=n(7071),i=n(3369);e.exports=function(e,t){var n=this.__data__;if(n instanceof o){var s=n.__data__;if(!r||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(s)}return n.set(e,t),this.size=n.size,this}},346:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7990:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},3279:(e,t,n)=>{var o=n(3218),r=n(7771),i=n(4841),s=Math.max,a=Math.min;e.exports=function(e,t,n){var l,c,u,d,p,f,h=0,m=!1,v=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=l,o=c;return l=c=void 0,h=t,d=e.apply(o,n)}function b(e){return h=e,p=setTimeout(w,t),m?g(e):d}function _(e){var n=e-f;return void 0===f||n>=t||n<0||v&&e-h>=u}function w(){var e=r();if(_(e))return x(e);p=setTimeout(w,function(e){var n=t-(e-f);return v?a(n,u-(e-h)):n}(e))}function x(e){return p=void 0,y&&l?g(e):(l=c=void 0,d)}function k(){var e=r(),n=_(e);if(l=arguments,c=this,f=e,n){if(void 0===p)return b(f);if(v)return clearTimeout(p),p=setTimeout(w,t),g(f)}return void 0===p&&(p=setTimeout(w,t)),d}return t=i(t)||0,o(n)&&(m=!!n.leading,u=(v="maxWait"in n)?s(i(n.maxWait)||0,t):u,y="trailing"in n?!!n.trailing:y),k.cancel=function(){void 0!==p&&clearTimeout(p),h=0,l=f=c=p=void 0},k.flush=function(){return void 0===p?d:x(r())},k}},7813:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},5694:(e,t,n)=>{var o=n(9454),r=n(7005),i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable,l=o(function(){return arguments}())?o:function(e){return r(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=l},1469:e=>{var t=Array.isArray;e.exports=t},8612:(e,t,n)=>{var o=n(3560),r=n(1780);e.exports=function(e){return null!=e&&r(e.length)&&!o(e)}},4144:(e,t,n)=>{e=n.nmd(e);var o=n(5639),r=n(5062),i=t&&!t.nodeType&&t,s=i&&e&&!e.nodeType&&e,a=s&&s.exports===i?o.Buffer:void 0,l=(a?a.isBuffer:void 0)||r;e.exports=l},8446:(e,t,n)=>{var o=n(939);e.exports=function(e,t){return o(e,t)}},3560:(e,t,n)=>{var o=n(4239),r=n(3218);e.exports=function(e){if(!r(e))return!1;var t=o(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},3448:(e,t,n)=>{var o=n(4239),r=n(7005);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==o(e)}},6719:(e,t,n)=>{var o=n(8749),r=n(1717),i=n(1167),s=i&&i.isTypedArray,a=s?r(s):o;e.exports=a},3674:(e,t,n)=>{var o=n(4636),r=n(280),i=n(8612);e.exports=function(e){return i(e)?o(e):r(e)}},7771:(e,t,n)=>{var o=n(5639);e.exports=function(){return o.Date.now()}},479:e=>{e.exports=function(){return[]}},5062:e=>{e.exports=function(){return!1}},4841:(e,t,n)=>{var o=n(7561),r=n(3218),i=n(3448),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var n=a.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):s.test(e)?NaN:+e}},7230:()=>{},9652:(e,t,n)=>{"use strict";function o(e){return{all:e=e||new Map,on:function(t,n){var o=e.get(t);o&&o.push(n)||e.set(t,[n])},off:function(t,n){var o=e.get(t);o&&o.splice(o.indexOf(n)>>>0,1)},emit:function(t,n){(e.get(t)||[]).slice().map((function(e){e(n)})),(e.get("*")||[]).slice().map((function(e){e(t,n)}))}}}n.r(t),n.d(t,{default:()=>o})},2796:(e,t,n)=>{e.exports=n(643)},3264:e=>{"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},4518:e=>{var t,n,o,r,i,s,a,l,c,u,d,p,f,h,m,v=!1;function y(){if(!v){v=!0;var e=navigator.userAgent,y=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),g=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(p=/\b(iPhone|iP[ao]d)/.exec(e),f=/\b(iP[ao]d)/.exec(e),u=/Android/i.exec(e),h=/FBAN\/\w+;/i.exec(e),m=/Mobile/i.exec(e),d=!!/Win64/.exec(e),y){(t=y[1]?parseFloat(y[1]):y[5]?parseFloat(y[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(e);s=b?parseFloat(b[1])+4:t,n=y[2]?parseFloat(y[2]):NaN,o=y[3]?parseFloat(y[3]):NaN,(r=y[4]?parseFloat(y[4]):NaN)?(y=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=y&&y[1]?parseFloat(y[1]):NaN):i=NaN}else t=n=o=i=r=NaN;if(g){if(g[1]){var _=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);a=!_||parseFloat(_[1].replace("_","."))}else a=!1;l=!!g[2],c=!!g[3]}else a=l=c=!1}}var g={ie:function(){return y()||t},ieCompatibilityMode:function(){return y()||s>t},ie64:function(){return g.ie()&&d},firefox:function(){return y()||n},opera:function(){return y()||o},webkit:function(){return y()||r},safari:function(){return g.webkit()},chrome:function(){return y()||i},windows:function(){return y()||l},osx:function(){return y()||a},linux:function(){return y()||c},iphone:function(){return y()||p},mobile:function(){return y()||p||f||u||m},nativeApp:function(){return y()||h},android:function(){return y()||u},ipad:function(){return y()||f}};e.exports=g},6534:(e,t,n)=>{"use strict";var o,r=n(3264);r.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var s=document.createElement("div");s.setAttribute(n,"return;"),i="function"==typeof s[n]}return!i&&o&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},643:(e,t,n)=>{"use strict";var o=n(4518),r=n(6534);function i(e){var t=0,n=0,o=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),o=10*t,r=10*n,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(o=e.deltaX),(o||r)&&e.deltaMode&&(1==e.deltaMode?(o*=40,r*=40):(o*=800,r*=800)),o&&!t&&(t=o<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:o,pixelY:r}}i.getEventType=function(){return o.firefox()?"DOMMouseScroll":r("wheel")?"wheel":"mousewheel"},e.exports=i},1033:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var o=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,o=!1,r=0;function i(){n&&(n=!1,e()),o&&l()}function a(){s(i)}function l(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(a,t);r=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;a.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},p=g(0,0,0,0);function f(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+f(e["border-"+n+"-width"])}),0)}function m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var o=d(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],i=e["padding-"+r];t[r]=f(i)}return t}(o),i=r.left+r.right,s=r.top+r.bottom,a=f(o.width),l=f(o.height);if("border-box"===o.boxSizing&&(Math.round(a+i)!==t&&(a-=h(o,"left","right")+i),Math.round(l+s)!==n&&(l-=h(o,"top","bottom")+s)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(a+i)-t,u=Math.round(l+s)-n;1!==Math.abs(c)&&(a-=c),1!==Math.abs(u)&&(l-=u)}return g(r.left,r.top,a,l)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return r?v(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):m(e):p}function g(e,t,n,o){return{x:e,y:t,width:n,height:o}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),_=function(e,t){var n,o,r,i,s,a,l,c=(o=(n=t).x,r=n.y,i=n.width,s=n.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(a.prototype),u(l,{x:o,y:r,width:i,height:s,top:r,right:o+i,bottom:s+r,left:o}),l);u(this,{target:e,contentRect:c})},w=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new o,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new _(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),x="undefined"!=typeof WeakMap?new WeakMap:new o,k=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),o=new w(t,n,this);x.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){k.prototype[e]=function(){var t;return(t=x.get(this))[e].apply(t,arguments)}}));const E=void 0!==i.ResizeObserver?i.ResizeObserver:k},6770:()=>{!function(e,t){"use strict";"function"!=typeof e.CustomEvent&&(e.CustomEvent=function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var o=t.createEvent("CustomEvent");return o.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),o},e.CustomEvent.prototype=e.Event.prototype),t.addEventListener("touchstart",(function(e){if("true"===e.target.getAttribute("data-swipe-ignore"))return;a=e.target,s=Date.now(),n=e.touches[0].clientX,o=e.touches[0].clientY,r=0,i=0}),!1),t.addEventListener("touchmove",(function(e){if(!n||!o)return;var t=e.touches[0].clientX,s=e.touches[0].clientY;r=n-t,i=o-s}),!1),t.addEventListener("touchend",(function(e){if(a!==e.target)return;var t=parseInt(l(a,"data-swipe-threshold","20"),10),c=parseInt(l(a,"data-swipe-timeout","500"),10),u=Date.now()-s,d="",p=e.changedTouches||e.touches||[];Math.abs(r)>Math.abs(i)?Math.abs(r)>t&&u<c&&(d=r>0?"swiped-left":"swiped-right"):Math.abs(i)>t&&u<c&&(d=i>0?"swiped-up":"swiped-down");if(""!==d){var f={dir:d.replace(/swiped-/,""),touchType:(p[0]||{}).touchType||"direct",xStart:parseInt(n,10),xEnd:parseInt((p[0]||{}).clientX||-1,10),yStart:parseInt(o,10),yEnd:parseInt((p[0]||{}).clientY||-1,10)};a.dispatchEvent(new CustomEvent("swiped",{bubbles:!0,cancelable:!0,detail:f})),a.dispatchEvent(new CustomEvent(d,{bubbles:!0,cancelable:!0,detail:f}))}n=null,o=null,s=null}),!1);var n=null,o=null,r=null,i=null,s=null,a=null;function l(e,n,o){for(;e&&e!==t.documentElement;){var r=e.getAttribute(n);if(r)return r;e=e.parentNode}return o}}(window,document)},3744:(e,t)=>{"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[e,o]of t)n[e]=o;return n}},9140:(e,t,n)=>{"use strict";n.d(t,{Z:()=>is});var o=n(4865),r={class:"f-container"},i={class:"f-form-wrap"},s={key:0,class:"vff-animate f-fade-in-up field-submittype"},a={class:"f-section-wrap"},l={class:"fh2"},c=["disabled","aria-label"],u=["innerHTML"],d={key:2,class:"text-success"},p={class:"vff-footer"},f={class:"footer-inner-wrap"},h={key:0,class:"ffc_progress_label"},m={class:"f-progress-bar"},v={key:1,class:"f-nav"},y={key:0,href:"https://fluentforms.com/",target:"_blank",rel:"noopener",class:"ffc_power"},g=[(0,o.createTextVNode)(" Powered by "),(0,o.createElementVNode)("b",null,"FluentForms",-1)],b=["aria-label"],_=(0,o.createElementVNode)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"42.333px",height:"28.334px",viewBox:"78.833 5.5 42.333 28.334","aria-hidden":"true"},[(0,o.createElementVNode)("path",{d:"M82.039,31.971L100,11.442l17.959,20.529L120,30.187L101.02,8.492c-0.258-0.295-0.629-0.463-1.02-0.463c-0.39,0-0.764,0.168-1.02,0.463L80,30.187L82.039,31.971z"})],-1),w={class:"f-nav-text","aria-hidden":"true"},x=["aria-label"],k=(0,o.createElementVNode)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"42.333px",height:"28.334px",viewBox:"78.833 5.5 42.333 28.334","aria-hidden":"true"},[(0,o.createElementVNode)("path",{d:"M117.963,8.031l-17.961,20.529L82.042,8.031l-2.041,1.784l18.98,21.695c0.258,0.295,0.629,0.463,1.02,0.463c0.39,0,0.764-0.168,1.02-0.463l18.98-21.695L117.963,8.031z"})],-1),E={class:"f-nav-text","aria-hidden":"true"},C={key:2,class:"f-timer"};var S={class:"ffc_q_header"},O=["innerHTML"],T={key:1,class:"f-text"},B=["innerHTML"],M=["aria-label"],V=[(0,o.createElementVNode)("span",{"aria-hidden":"true"},"*",-1)],N={key:1,class:"f-answer"},P=["innerHTML"],A={key:0,class:"f-answer f-full-width"},q={key:1,class:"f-sub"},F=["innerHTML"],L=["innerHTML"],I={key:2,class:"f-help"},D={key:3,class:"f-help"},j={key:0,class:"f-description"},R={key:0},$=["href","target"],z={key:0,class:"vff-animate f-fade-in f-enter"},H=["disabled","aria-label"],U={key:0},K=["innerHTML"],W=["innerHTML"],Q=["innerHTML"],Y=["innerHTML"],G={key:1,class:"f-invalid",role:"alert","aria-live":"assertive"},Z={key:0,class:"ff_conv_media_holder"},J={key:0,class:"fc_image_holder"},X=["alt","src"];var ee={class:"ffc-counter"},te={class:"ffc-counter-in"},ne={class:"ffc-counter-div"},oe={class:"counter-value"},re={class:"counter-icon-container"},ie={class:"counter-icon-span"},se={key:0,height:"8",width:"7"},ae=[(0,o.createElementVNode)("path",{d:"M5 3.5v1.001H-.002v-1z"},null,-1),(0,o.createElementVNode)("path",{d:"M4.998 4L2.495 1.477 3.2.782 6.416 4 3.199 7.252l-.704-.709z"},null,-1)],le={key:1,height:"10",width:"11"},ce=[(0,o.createElementVNode)("path",{d:"M7.586 5L4.293 1.707 5.707.293 10.414 5 5.707 9.707 4.293 8.293z"},null,-1),(0,o.createElementVNode)("path",{d:"M8 4v2H0V4z"},null,-1)];const ue={name:"Counter",props:["serial","isMobile"]};var de=n(3744);const pe=(0,de.Z)(ue,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",ee,[(0,o.createElementVNode)("div",te,[(0,o.createElementVNode)("div",ne,[(0,o.createElementVNode)("span",oe,[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(n.serial),1)]),(0,o.createElementVNode)("div",re,[(0,o.createElementVNode)("span",ie,[n.isMobile?((0,o.openBlock)(),(0,o.createElementBlock)("svg",se,ae)):((0,o.openBlock)(),(0,o.createElementBlock)("svg",le,ce))])])])])])}]]);var fe=["aria-label","disabled"],he=["innerHTML"],me=["disabled","src","aria-label"],ve=["innerHTML"];const ye=function(e,t){e||(e=0);var n=parseInt(e)/100,o=2;e%100==0&&0==t.decimal_points&&(o=0);var r=",",i=".";"dot_comma"!=t.currency_separator&&(r=".",i=",");var s,a,l,c,u,d,p,f,h,m,v=t.currency_sign||"",y=(s=n,a=o,l=i,c=r,u=isNaN(a)?2:Math.abs(a),d=l||".",p=void 0===c?",":c,f=s<0?"-":"",h=parseInt(s=Math.abs(s).toFixed(u))+"",m=(m=h.length)>3?m%3:0,f+(m?h.substr(0,m)+p:"")+h.substr(m).replace(/(\d{3})(?=\d)/g,"$1"+p)+(u?d+Math.abs(s-h).toFixed(u).slice(2):""));return"right"==t.currency_sign_position?y+""+v:"left_space"==t.currency_sign_position?v+" "+y:"right_space"==t.currency_sign_position?y+" "+v:v+""+y};function ge(e,t,n){e.signup_fee&&n.push({label:this.$t("Signup Fee for")+" "+t.title+" - "+e.name,price:e.signup_fee,quantity:1,lineTotal:1*e.signup_fee});var o=e.subscription_amount;return"yes"==e.user_input&&(o=t.customPayment),e.trial_days&&(o=0),o}function be(e){for(var t=[],n=function(n){var o=e[n],r=!o.multiple&&null!=o.answer||o.multiple&&o.answer&&o.answer.length,i=o.paymentItemQty||1;if(o.is_payment_field&&r){var s=Array.isArray(o.answer)?o.answer:[o.answer];if(o.options.length){var a=[];if(o.options.forEach((function(e){if(s.includes(e.value)){var n=e.value;if(o.is_subscription_field){var r=o.plans[e.value],l=!("yes"===r.has_trial_days&&r.trial_days);if(!(n=ge(r,o,t))&&l)return}a.push({label:e.label,price:n,quantity:i,lineTotal:n*i})}})),a.length){var l=0,c=0;a.forEach((function(e){l+=parseFloat(e.price),c+=e.lineTotal})),t.push({label:o.title,price:l,quantity:i,lineTotal:c,childItems:a})}}else{var u=o.answer;o.is_subscription_field&&(u=ge(o.plans[o.answer],o,t)),t.push({label:o.title,price:u,quantity:i,lineTotal:u*i})}}},o=0;o<e.length;o++)n(o);return t}function _e(e){var t=0;return e.forEach((function(e){return t+=e.lineTotal})),t}function we(e,t){if(t)for(var n in t){var o=t[n],r=o.amount;"percent"===o.coupon_type&&(r=o.amount/100*this.subTotal),e-=r}return e}function xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){Ee(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ce={name:"SubmitButton",props:["language","disabled"],data:function(){return{hover:!1}},computed:{button:function(){return this.globalVars.form.submit_button},btnStyles:function(){if(""!=this.button.settings.button_style)return"default"===this.button.settings.button_style?{}:{backgroundColor:this.button.settings.background_color,color:this.button.settings.color};var e=this.button.settings.normal_styles,t="normal_styles";this.hover&&(t="hover_styles");var n=JSON.parse(JSON.stringify(this.button.settings[t]));return n.borderRadius?n.borderRadius=n.borderRadius+"px":delete n.borderRadius,n.minWidth||delete n.minWidth,ke(ke({},e),n)},btnStyleClass:function(){return this.button.settings.button_style},btnSize:function(){return"ff-btn-"+this.button.settings.button_size},btnText:function(){if(this.button.settings.button_ui.text.includes("{payment_total}")&&this.globalVars.paymentConfig){var e=_e(be(this.$parent.$parent.questionList)),t=ye(parseFloat(100*we(e,this.globalVars.appliedCoupons)).toFixed(2),this.globalVars.paymentConfig.currency_settings);return this.button.settings.button_ui.text.replace("{payment_total}",t)}return this.button.settings.button_ui.text}},methods:{submit:function(){this.$emit("submit")},toggleHover:function(e){this.hover=e},onBtnFocus:function(){this.$emit("focus-in")}}},Se=(0,de.Z)(Ce,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)("ff-btn-submit-"+s.button.settings.align)},["default"==s.button.settings.button_ui.type?((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:0,type:"button",class:(0,o.normalizeClass)(["ff-btn o-btn-action",[s.btnSize,s.btnStyleClass]]),style:(0,o.normalizeStyle)(s.btnStyles),"aria-label":n.language.ariaSubmitText,disabled:n.disabled,onClick:t[0]||(t[0]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"])),onMouseenter:t[1]||(t[1]=function(e){return s.toggleHover(!0)}),onMouseleave:t[2]||(t[2]=function(e){return s.toggleHover(!1)}),onFocusin:t[3]||(t[3]=function(){return s.onBtnFocus&&s.onBtnFocus.apply(s,arguments)}),onFocusout:t[4]||(t[4]=function(){return s.onBtnFocus&&s.onBtnFocus.apply(s,arguments)})},[(0,o.createElementVNode)("span",{innerHTML:s.btnText},null,8,he)],46,fe)):((0,o.openBlock)(),(0,o.createElementBlock)("img",{key:1,disabled:n.disabled,src:s.button.settings.button_ui.img_url,"aria-label":n.language.ariaSubmitText,style:{"max-width":"200px"},onClick:t[5]||(t[5]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"]))},null,8,me)),(0,o.createElementVNode)("a",{class:"f-enter-desc",href:"#",onClick:t[6]||(t[6]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"])),innerHTML:n.language.formatString(n.language.pressEnter)},null,8,ve)],2)}]]);var Oe=["data-placeholder"],Te=["name","type","value","required","disabled","min","max","placeholder","maxlength"];var Be=n(5291),Me=n(8289),Ve=!1,Ne=!1;"undefined"!=typeof navigator&&"undefined"!=typeof document&&(Ve=navigator.userAgent.match(/iphone|ipad|ipod/i)||-1!==navigator.userAgent.indexOf("Mac")&&"ontouchend"in document,Ne=Ve||navigator.userAgent.match(/android/i));var Pe={data:function(){return{isIos:Ve,isMobile:Ne}}};const Ae={name:"FlowFormBaseType",props:{language:Me.Z,question:Be.ZP,active:Boolean,disabled:Boolean,modelValue:[String,Array,Boolean,Number,Object]},mixins:[Pe],data:function(){return{dirty:!1,dataValue:null,answer:null,enterPressed:!1,allowedChars:null,alwaysAllowedKeys:["ArrowLeft","ArrowRight","Delete","Backspace"],focused:!1,canReceiveFocus:!1,errorMessage:null}},mounted:function(){this.question.answer?this.dataValue=this.answer=this.question.answer:this.question.multiple&&(this.dataValue=[])},methods:{fixAnswer:function(e){return e},getElement:function(){for(var e=this.$refs.input;e&&e.$el;)e=e.$el;return e},setFocus:function(){this.focused=!0},unsetFocus:function(e){this.focused=!1},focus:function(){if(!this.focused){var e=this.getElement();e&&e.focus()}},blur:function(){var e=this.getElement();e&&e.blur()},onKeyDown:function(e){this.enterPressed=!1,clearTimeout(this.timeoutId),e&&("Enter"!==e.key||e.shiftKey||this.unsetFocus(),null!==this.allowedChars&&-1===this.alwaysAllowedKeys.indexOf(e.key)&&-1===this.allowedChars.indexOf(e.key)&&e.preventDefault())},onChange:function(e){"Enter"!==e.key&&(this.dirty=!0,this.dataValue=e.target.value,this.onKeyDown(),this.setAnswer(this.dataValue))},onEnter:function(){this._onEnter()},_onEnter:function(){this.enterPressed=!0,this.dataValue=this.fixAnswer(this.dataValue),this.setAnswer(this.dataValue),this.isValid()?this.blur():this.focus()},setAnswer:function(e){this.question.setAnswer(e),this.answer=this.question.answer,this.question.answered=this.isValid(),this.$emit("update:modelValue",this.answer)},showInvalid:function(){return this.dirty&&this.enterPressed&&!this.isValid()},isValid:function(){return!(this.question.required||this.hasValue||!this.dirty)||!!this.validate()},validate:function(){return!this.question.required||this.hasValue}},computed:{placeholder:function(){return this.question.placeholder||this.language.placeholder},hasValue:function(){if(null!==this.dataValue){var e=this.dataValue;return e.trim?e.trim().length>0:!Array.isArray(e)||e.length>0}return!1},hasCalculation:function(){var e,t,n;return!(null===(e=this.globalVars)||void 0===e||!e.hasPro||null===(t=this.question)||void 0===t||null===(n=t.calculation_settings)||void 0===n||!n.status)}}},qe=["value"];function Fe(e,t,n=!0,o){e=e||"",t=t||"";for(var r=0,i=0,s="";r<t.length&&i<e.length;){var a=o[u=t[r]],l=e[i];a&&!a.escape?(a.pattern.test(l)&&(s+=a.transform?a.transform(l):l,r++),i++):(a&&a.escape&&(u=t[++r]),n&&(s+=u),l===u&&i++,r++)}for(var c="";r<t.length&&n;){var u;if(o[u=t[r]]){c="";break}c+=u,r++}return s+c}function Le(e,t,n=!0,o){return Array.isArray(t)?function(e,t,n){return t=t.sort(((e,t)=>e.length-t.length)),function(o,r,i=!0){for(var s=0;s<t.length;){var a=t[s];s++;var l=t[s];if(!(l&&e(o,l,!0,n).length>a.length))return e(o,a,i,n)}return""}}(Fe,t,o)(e,t,n,o):Fe(e,t,n,o)}var Ie=n(5460),De=n.n(Ie);function je(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}const Re={name:"TheMask",props:{value:[String,Number],mask:{type:[String,Array],required:!0},masked:{type:Boolean,default:!1},tokens:{type:Object,default:()=>De()}},directives:{mask:function(e,t){var n=t.value;if((Array.isArray(n)||"string"==typeof n)&&(n={mask:n,tokens:De()}),"INPUT"!==e.tagName.toLocaleUpperCase()){var o=e.getElementsByTagName("input");if(1!==o.length)throw new Error("v-mask directive requires 1 input, found "+o.length);e=o[0]}e.oninput=function(t){if(t.isTrusted){var o=e.selectionEnd,r=e.value[o-1];for(e.value=Le(e.value,n.mask,!0,n.tokens);o<e.value.length&&e.value.charAt(o-1)!==r;)o++;e===document.activeElement&&(e.setSelectionRange(o,o),setTimeout((function(){e.setSelectionRange(o,o)}),0)),e.dispatchEvent(je("input"))}};var r=Le(e.value,n.mask,!0,n.tokens);r!==e.value&&(e.value=r,e.dispatchEvent(je("input")))}},data(){return{lastValue:null,display:this.value}},watch:{value(e){e!==this.lastValue&&(this.display=e)},masked(){this.refresh(this.display)}},computed:{config(){return{mask:this.mask,tokens:this.tokens,masked:this.masked}}},methods:{onInput(e){e.isTrusted||this.refresh(e.target.value)},refresh(e){this.display=e,(e=Le(e,this.mask,this.masked,this.tokens))!==this.lastValue&&(this.lastValue=e,this.$emit("input",e))}}},$e=(0,de.Z)(Re,[["render",function(e,t,n,r,i,s){const a=(0,o.resolveDirective)("mask");return(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("input",{type:"text",value:i.display,onInput:t[0]||(t[0]=(...e)=>s.onInput&&s.onInput(...e))},null,40,qe)),[[a,s.config]])}]]),ze={extends:Ae,name:Be.ce.Text,components:{TheMask:$e},data:function(){return{inputType:"text",canReceiveFocus:!0}},methods:{validate:function(){return this.question.mask&&this.hasValue?this.validateMask():!this.question.required||this.hasValue},validateMask:function(){var e=this;return Array.isArray(this.question.mask)?this.question.mask.some((function(t){return t.length===e.dataValue.length})):this.dataValue.length===this.question.mask.length}}},He=(0,de.Z)(ze,[["render",function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("the-mask");return(0,o.openBlock)(),(0,o.createElementBlock)("span",{"data-placeholder":"date"===i.inputType?e.placeholder:null},[e.question.mask?((0,o.openBlock)(),(0,o.createBlock)(a,{key:0,ref:"input",name:e.question.name,mask:e.question.mask,masked:!1,type:i.inputType,value:e.modelValue,required:e.question.required,disabled:e.hasCalculation,onKeydown:e.onKeyDown,onKeyup:[e.onChange,(0,o.withKeys)((0,o.withModifiers)(e.onEnter,["prevent"]),["enter"]),(0,o.withKeys)((0,o.withModifiers)(e.onEnter,["prevent"]),["tab"])],onFocus:e.setFocus,onBlur:e.unsetFocus,placeholder:e.placeholder,min:e.question.min,max:e.question.max,onChange:e.onChange},null,8,["name","mask","type","value","required","disabled","onKeydown","onKeyup","onFocus","onBlur","placeholder","min","max","onChange"])):((0,o.openBlock)(),(0,o.createElementBlock)("input",{key:1,ref:"input",name:e.question.name,type:i.inputType,value:e.modelValue,required:e.question.required,onKeydown:t[0]||(t[0]=function(){return e.onKeyDown&&e.onKeyDown.apply(e,arguments)}),onKeyup:t[1]||(t[1]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),disabled:e.hasCalculation,onFocus:t[2]||(t[2]=function(){return e.setFocus&&e.setFocus.apply(e,arguments)}),onBlur:t[3]||(t[3]=function(){return e.unsetFocus&&e.unsetFocus.apply(e,arguments)}),min:e.question.min,max:e.question.max,onChange:t[4]||(t[4]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),placeholder:e.placeholder,maxlength:e.question.maxLength},null,40,Te))],8,Oe)}]]),Ue={extends:He,name:Be.ce.Url,data:function(){return{inputType:"url"}},methods:{fixAnswer:function(e){return e&&-1===e.indexOf("://")&&(e="https://"+e),e},validate:function(){if(this.hasValue)try{return new URL(this.fixAnswer(this.dataValue)),!0}catch(e){return!1}return!this.question.required}}},Ke={extends:Ue,methods:{validate:function(){if(this.hasValue){if(!/^(ftp|http|https):\/\/[^ "]+$/.test(this.fixAnswer(this.dataValue)))return this.errorMessage=this.question.validationRules.url.message,!1}return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},shouldPrev:function(){return!0}}};var We=["data-placeholder"],Qe=["name","type","value","required","disabled","min","max","placeholder"];const Ye={extends:He,data:function(){return{tokens:{"*":{pattern:/[0-9a-zA-Z]/},0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}}}},methods:{validate:function(){if(this.question.mask&&this.hasValue){var e=this.validateMask();return e||(this.errorMessage=this.language.invalidPrompt),e}return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},shouldPrev:function(){return!0}}},Ge=(0,de.Z)(Ye,[["render",function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("the-mask");return(0,o.openBlock)(),(0,o.createElementBlock)("span",{"data-placeholder":"date"===e.inputType?e.placeholder:null},[e.question.mask?((0,o.openBlock)(),(0,o.createBlock)(a,{key:0,ref:"input",name:e.question.name,mask:e.question.mask,masked:!1,tokens:i.tokens,type:e.inputType,value:e.modelValue,required:e.question.required,disabled:e.hasCalculation,onKeydown:e.onKeyDown,onKeyup:e.onChange,onFocus:e.setFocus,onBlur:e.unsetFocus,placeholder:e.placeholder,min:e.question.min,max:e.question.max,onChange:e.onChange},null,8,["name","mask","tokens","type","value","required","disabled","onKeydown","onKeyup","onFocus","onBlur","placeholder","min","max","onChange"])):((0,o.openBlock)(),(0,o.createElementBlock)("input",{key:1,ref:"input",name:e.question.name,type:e.inputType,value:e.modelValue,required:e.question.required,disabled:e.hasCalculation,onKeydown:t[0]||(t[0]=function(){return e.onKeyDown&&e.onKeyDown.apply(e,arguments)}),onKeyup:t[1]||(t[1]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),onFocus:t[2]||(t[2]=function(){return e.setFocus&&e.setFocus.apply(e,arguments)}),onBlur:t[3]||(t[3]=function(){return e.unsetFocus&&e.unsetFocus.apply(e,arguments)}),min:e.question.min,max:e.question.max,onChange:t[4]||(t[4]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),placeholder:e.placeholder},null,40,Qe))],8,We)}]]);var Ze={class:"ff_file_upload"},Je={class:"ff_file_upload_wrapper"},Xe={class:"ff_file_upload_field_wrap"},et=["accept","multiple","value","required"],tt={"aria-hidden":"true",class:"help_text"},nt=(0,o.createElementVNode)("span",null,[(0,o.createElementVNode)("strong",null,"Choose file")],-1),ot=(0,o.createElementVNode)("span",null,[(0,o.createTextVNode)(" or "),(0,o.createElementVNode)("strong",null,"drag here")],-1),rt={class:"ff_file_upload_field"},it={class:"icon_wrap"},st={height:"68px",viewBox:"0 0 92 68",width:"92px",style:{display:"block"}},at=["fill"],lt={class:"file_upload_arrow_wrap"},ct={class:"file_upload_arrow"},ut={height:"60px",viewBox:"0 0 26 31",width:"26px"},dt=["fill"],pt={class:"upload_text_wrap"},ft=(0,o.createElementVNode)("div",{class:"upload_text choose_file"},[(0,o.createElementVNode)("strong",null,"Choose file")],-1),ht=(0,o.createElementVNode)("div",{class:"upload_text drag"},[(0,o.createTextVNode)(" or "),(0,o.createElementVNode)("strong",null,"drag here")],-1),mt={class:"upload_text size"},vt={key:0,class:"ff-uploaded-list"},yt={class:"ff-upload-preview"},gt={class:"ff-upload-thumb"},bt={class:"ff-upload-filename"},_t={class:"ff-upload-progress-inline ff-el-progress"},wt={class:"ff-upload-progress-inline-text ff-inline-block"},xt={class:"ff-upload-filesize ff-inline-block"},kt={class:"ff-upload-error"},Et=["onClick"];var Ct=n(3012);const St={extends:Ge,name:Ct.ce.File,data:function(){return{files:[],uploadsInfo:{}}},mounted:function(){this.question.accept&&(this.mimeTypeRegex=new RegExp(this.question.accept.replace("*","[^\\/,]+")))},methods:{setAnswer:function(e){this.question.setAnswer(this.files.map((function(e){return e.url}))),this.answer.push=e,this.question.answered=!0},showInvalid:function(){return null!==this.errorMessage},validate:function(){return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},validateFiles:function(e){var t=this;if(this.errorMessage=null,this.question.multiple){var n=e.length;if(null!==this.question.min&&n<+this.question.min)return this.errorMessage=this.language.formatString(this.language.errorMinFiles,{min:this.question.min}),!1;if(null!==this.question.max&&n>+this.question.max)return this.errorMessage=this.question.validationRules.max_file_count.message,!1}return!(null!==this.question.maxSize&&!e.every((function(e){return e.size<+t.question.maxSize})))||(this.errorMessage=this.question.validationRules.max_file_size.message,!1)},onFileChange:function(e){var t=this;if(!e.target.files.length)return!1;var n=this.files.concat(Array.from(e.target.files));if(this.validateFiles(n))for(var o=function(n){var o=e.target.files.item(n),r=(new Date).getTime();t.uploadsInfo[r]={progress:0,uploading:!0,uploadingClass:"ff_uploading",uploadingTxt:t.globalVars.uploading_txt},o.id=r,t.files.push(o);var i=new FormData;for(var s in t.globalVars.extra_inputs)i.append(s,t.globalVars.extra_inputs[s]);i.append(t.question.name,o);var a=new XMLHttpRequest,l=t.globalVars.ajaxurl+"?action=fluentform_file_upload&formId="+t.globalVars.form_id;a.open("POST",l),a.responseType="json",a.upload.addEventListener("progress",(function(e){t.uploadsInfo[r].progress=parseInt(e.loaded/e.total*100,10)}),!1),a.onload=function(){if(200!==a.status)t.processAPIError(a,r);else{if(a.response.data.files[0].error)return void t.processAPIError({responseText:a.response.data.files[0].error},r);o.path=a.response.data.files[0].file,o.url=a.response.data.files[0].url,t.uploadsInfo[r].uploading=!1,t.uploadsInfo[r].uploadingTxt=t.globalVars.upload_completed_txt,t.uploadsInfo[r].uploadingClass="",t.dirty=!0,t.dataValue=o.path,t.onKeyDown(),t.setAnswer(o.path)}},a.send(i)},r=0;r<e.target.files.length;r++)o(r)},getThumbnail:function(e){var t="";if(e.type.match("image"))t=URL.createObjectURL(e);else{var n=document.createElement("canvas");n.width=60,n.height=60,n.style.zIndex=8,n.style.position="absolute",n.style.border="1px solid";var o=n.getContext("2d");o.fillStyle="rgba(0, 0, 0, 0.2)",o.fillRect(0,0,60,60),o.font="13px Arial",o.fillStyle="white",o.textAlign="center",o.fillText(e.type.substr(e.type.indexOf("/")+1),30,30,60),t=n.toDataURL()}return{backgroundImage:"url('"+t+"')"}},removeFile:function(e){var t=this;if(this.errorMessage=null,this.files[e])if(this.files[e].path){var n=this.files[e].id,o=new XMLHttpRequest;o.open("POST",this.globalVars.ajaxurl),o.responseType="json",o.onload=function(){200!==o.status?t.processAPIError(o,n):t.resetAnswer(e)};var r=new FormData;r.append("path",this.files[e].path),r.append("action","fluentform_delete_uploaded_file"),o.send(r)}else this.resetAnswer(e)},resetAnswer:function(e){this.files=this.files.filter((function(t,n){return n!==e})),this.question.answer.splice(e,1),this.files.length||(this.answered=!1,this.dataValue="",this.question.answered=!1,this.dirty=!1)},processAPIError:function(e,t){var n="";if(e.response&&e.response.errors)for(var o in e.response.errors)n=Array.isArray(e.response.errors[o])?e.response.errors[o].shift():e.response.errors[o];else n=e.responseText?e.responseText:"Something is wrong when uploading the file! Please try again.";this.uploadsInfo[t].error=n},shouldPrev:function(){return!0}},computed:{sizeLimit:function(){return this.language.formatFileSize(this.question.maxSize)},acceptable:function(){return this.question.accept?this.question.accept.split("|").map((function(e){return"."+e})).join(","):""}}},Ot=(0,de.Z)(St,[["render",function(e,t,n,r,i,s){var a=this;return(0,o.openBlock)(),(0,o.createElementBlock)("div",Ze,[(0,o.createElementVNode)("div",Je,[(0,o.createElementVNode)("div",Xe,[(0,o.createElementVNode)("label",null,[(0,o.createElementVNode)("input",{ref:"input",type:"file",accept:s.acceptable,multiple:e.question.multiple,value:e.modelValue,required:e.question.required,onFocus:t[0]||(t[0]=function(){return e.setFocus&&e.setFocus.apply(e,arguments)}),onBlur:t[1]||(t[1]=function(){return e.unsetFocus&&e.unsetFocus.apply(e,arguments)}),onChange:t[2]||(t[2]=function(){return s.onFileChange&&s.onFileChange.apply(s,arguments)})},null,40,et),(0,o.createElementVNode)("span",tt,[nt,ot,(0,o.createElementVNode)("span",null,"Size limit: "+(0,o.toDisplayString)(s.sizeLimit),1)])])]),(0,o.createElementVNode)("div",rt,[(0,o.createElementVNode)("div",it,[((0,o.openBlock)(),(0,o.createElementBlock)("svg",st,[(0,o.createElementVNode)("path",{d:"M46 .64a27.9 27.9 0 0 1 19.78 8.19 27.78 27.78 0 0 1 8.03 20A19.95 19.95 0 0 1 92 48.63c0 11.04-8.97 20-20 20H23c-12.67 0-23-10.33-23-23a22.94 22.94 0 0 1 18.63-22.46 27.79 27.79 0 0 1 7.56-14.34A27.97 27.97 0 0 1 46 .63zm0 6c-5.64 0-11.26 2.1-15.56 6.4-3.66 3.66-5.96 10.59-6.51 15.34 0 .06.2.06-2.5.32A17.02 17.02 0 0 0 6 45.64c0 9.42 7.58 17 17 17h49c7.8 0 14-6.2 14-14 0-7.81-6.2-14-14-14H67.12v-3.36c0-10.7-1.43-14.1-5.59-18.24-4.32-4.3-9.9-6.4-15.53-6.4z",fill:e.globalVars.design.answer_color+"4d","fill-rule":"nonzero"},null,8,at)])),(0,o.createElementVNode)("div",lt,[(0,o.createElementVNode)("div",ct,[((0,o.openBlock)(),(0,o.createElementBlock)("svg",ut,[(0,o.createElementVNode)("path",{d:"M13 .53l-2.03 1.89-11 10 4.06 4.44L10 11.42v19.22h6V11.42l5.97 5.44c.03.02 4.06-4.44 4.06-4.44l-11-10c-.4-.36-1.07-1-2.03-1.9z",fill:e.globalVars.design.answer_color+"4d","fill-rule":"nonzero"},null,8,dt)]))])])]),(0,o.createElementVNode)("div",pt,[ft,ht,(0,o.createElementVNode)("div",mt,[(0,o.createElementVNode)("p",null," Size limit: "+(0,o.toDisplayString)(s.sizeLimit),1)])])])]),i.files.length?((0,o.openBlock)(),(0,o.createElementBlock)("div",vt,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(i.files,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("div",yt,[(0,o.createElementVNode)("div",gt,[(0,o.createElementVNode)("div",{class:"ff-upload-preview-img",style:(0,o.normalizeStyle)(s.getThumbnail(e))},null,4)]),(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["ff-upload-details",i.uploadsInfo[e.id].uploadingClass])},[(0,o.createElementVNode)("div",bt,(0,o.toDisplayString)(e.name),1),(0,o.createElementVNode)("div",_t,[(0,o.createElementVNode)("div",{class:"ff-el-progress-bar",style:(0,o.normalizeStyle)({width:i.uploadsInfo[e.id].progress+"%"})},null,4)]),(0,o.createElementVNode)("span",wt,(0,o.toDisplayString)(i.uploadsInfo[e.id].uploadingTxt),1),(0,o.createElementVNode)("div",xt,(0,o.toDisplayString)(a.language.formatFileSize(e.size)),1),(0,o.createElementVNode)("div",kt,(0,o.toDisplayString)(i.uploadsInfo[e.id].error),1),(0,o.createElementVNode)("span",{class:"ff-upload-remove",onClick:function(e){return s.removeFile(t)}},"×",8,Et)],2)])})),256))])):(0,o.createCommentVNode)("",!0)])}]]);var Tt={class:"f-star-wrap"},Bt=["aria-checked","tabindex","data-focus","onClick","onMouseover"],Mt={class:"f-star-field"},Vt={class:"f-star-field-star"},Nt={viewBox:"0 0 62 58",style:{"max-height":"64px","max-width":"64px"}},Pt=[(0,o.createElementVNode)("path",{class:"symbolFill",d:"M31 44.237L12.19 57.889l7.172-22.108L.566 22.111l23.241-.01L31 0l7.193 22.1 23.24.011-18.795 13.67 7.171 22.108z","fill-rule":"evenodd"},null,-1),(0,o.createElementVNode)("path",{class:"symbolOutline",d:"M31 41.148l14.06 10.205-5.36-16.526 14.051-10.22-17.374-.008L31 8.08l-5.377 16.52-17.374.009L22.3 34.827l-5.36 16.526L31 41.148zm0 3.089L12.19 57.889l7.172-22.108L.566 22.111l23.241-.01L31 0l7.193 22.1 23.24.011-18.795 13.67 7.171 22.108L31 44.237z","fill-rule":"nonzero"},null,-1)],At={class:"f-star-field-rating"};const qt={name:"FormBaseType",extends:Ae,methods:{shouldPrev:function(){return!0}}},Ft={extends:qt,name:Ct.ce.Rate,data:function(){return{temp_value:null,hover_value:null,rateText:null,keyPressed:[],canReceiveFocus:!0}},watch:{active:function(e){e?(this.addKeyListener(),this.focus()):this.removeKeyListener()}},computed:{ratings:function(){return this.question.rateOptions}},methods:{starOver:function(e,t){this.temp_value=parseInt(e),this.hover_value=this.temp_value,this.rateText=t},starOut:function(){this.temp_value=null,this.hover_value=this.dataValue,this.dataValue?this.rateText=this.ratings[this.dataValue]:this.rateText=null,this.toggleDataFocus()},set:function(e,t){e=parseInt(e),this.temp_value=e,this.hover_value=e,this.dataValue===e&&(e=null,t=""),this.dataValue=e,this.rateText=t,this.setAnswer(this.dataValue),this.dataValue&&(this.disabled||this.$parent.lastStep||this.$emit("next"))},getClassObject:function(e){return e=parseInt(e),{"is-selected":this.dataValue>=e&&null!=this.dataValue,"is-hovered":this.temp_value>=e&&null!=this.temp_value,"is-disabled":this.disabled,blink:this.dataValue===e}},addKeyListener:function(){this.removeKeyListener(),document.addEventListener("keyup",this.onKeyListener)},removeKeyListener:function(){document.removeEventListener("keyup",this.onKeyListener)},onKeyListener:function(e){if(this.active&&!this.editingOther&&e.key)if(-1!==["ArrowRight","ArrowLeft"].indexOf(e.key))"ArrowRight"===e.key?this.hover_value=Math.min(this.hover_value+1,Object.keys(this.ratings).length):this.hover_value=Math.max(this.hover_value-1,1),this.hover_value>0&&this.focus(this.hover_value);else if(1===e.key.length){var t=parseInt(e.key);32==e.keyCode&&this.temp_value&&(t=this.temp_value);var n=this.question.rateOptions[t];n&&this.set(t,n)}},getTabIndex:function(e){var t=-1;return(this.dataValue&&this.dataValue==e||Object.keys(this.ratings)[0]==e)&&(t=0),t},focus:function(e){var t=0;(e=e||this.dataValue||this.hover_value)?(t=Object.keys(this.ratings).findIndex((function(t){return t==e})),this.toggleDataFocus(t)):e=Object.keys(this.ratings)[0],this.temp_value=parseInt(e),this.hover_value=this.temp_value},toggleDataFocus:function(e){for(var t=this.$el.getElementsByClassName("f-star-field-wrap"),n=0;n<t.length;n++)e!==n&&t[n].removeAttribute("data-focus");(0===e||e)&&(t[e].focus(),t[e].setAttribute("data-focus",!0))}},mounted:function(){this.addKeyListener()},beforeUnmount:function(){this.removeKeyListener()}},Lt=(0,de.Z)(Ft,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",Tt,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(s.ratings,(function(n,r){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{key:r,"aria-checked":e.dataValue==r,role:"radio",tabindex:s.getTabIndex(r),"data-focus":e.dataValue==r,class:(0,o.normalizeClass)(["f-star-field-wrap",s.getClassObject(r)]),onClick:function(e){return s.set(r,n)},onMouseover:function(e){return s.starOver(r,n)},onMouseout:t[0]||(t[0]=function(){return s.starOut&&s.starOut.apply(s,arguments)})},[(0,o.createElementVNode)("div",Mt,[(0,o.createElementVNode)("div",Vt,[(0,o.createElementVNode)("div",null,[((0,o.openBlock)(),(0,o.createElementBlock)("svg",Nt,Pt))])]),(0,o.createElementVNode)("div",At,(0,o.toDisplayString)(r),1)])],42,Bt)})),128)),(0,o.withDirectives)((0,o.createElementVNode)("span",{class:"rating-text-wrap"},(0,o.toDisplayString)(i.rateText),513),[[o.vShow,"yes"===e.question.show_text]])])}]]);var It=["required","placeholder","value"];const Dt={extends:Ge,name:Ct.ce.Date,data:function(){return{inputType:"date",canReceiveFocus:!1}},methods:{init:function(){var e=this;if("undefined"!=typeof flatpickr){flatpickr.localize(this.globalVars.date_i18n);var t=Object.assign({},this.question.dateConfig,this.question.dateCustomConfig);t.locale||(t.locale="default"),t.defaultDate=this.question.answer;var n=flatpickr(this.getElement(),t);this.fp=n,n.config.onChange.push((function(t,n,o){e.dataValue=n,e.setAnswer(e.dataValue)}))}},validate:function(){return this.question.min&&this.dataValue<this.question.min?(this.errorMessage=this.question.validationRules.min.message,!1):this.question.max&&this.dataValue>this.question.max?(this.errorMessage=this.question.validationRules.max.message,!1):!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},shouldPrev:function(){return!0},focus:function(){var e=this;setTimeout((function(){e.$refs.input.focus(),e.canReceiveFocus=!0}),500)}},mounted:function(){this.init(),1===this.question.counter&&this.focus()},watch:{active:function(e){e?this.focus():(this.fp.close(),this.canReceiveFocus=!1)}}},jt=(0,de.Z)(Dt,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("input",{ref:"input",required:e.question.required,placeholder:e.placeholder,value:e.modelValue},null,8,It)}]]);var Rt=["value"];const $t={name:"HiddenType",extends:qt},zt=(0,de.Z)($t,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("input",{type:"hidden",value:e.modelValue},null,8,Rt)}]]),Ht={extends:He,name:Be.ce.Email,data:function(){return{inputType:"email"}},methods:{validate:function(){return this.hasValue?/^[^@]+@.+[^.]$/.test(this.dataValue):!this.question.required}}},Ut={extends:Ht,name:Ct.ce.Email,methods:{validate:function(){if(this.hasValue){return!!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(this.dataValue)||(this.errorMessage=this.language.invalidPrompt,!1)}return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},shouldPrev:function(){return!0}}},Kt={extends:Ge,name:Ct.ce.Phone,data:function(){return{inputType:"tel",canReceiveFocus:!0}},methods:{validate:function(){if(this.hasValue&&this.question.phone_settings.enabled&&this.iti){var e=this.iti.isValidNumber();return e||(this.errorMessage=this.question.validationRules.valid_phone_number.message),e}return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},init:function(){var e=this;if("undefined"!=typeof intlTelInput&&0!=this.question.phone_settings.enabled){var t=this.getElement(),n=JSON.parse(this.question.phone_settings.itlOptions);this.question.phone_settings.ipLookupUrl&&(n.geoIpLookup=function(t,n){fetch(e.question.phone_settings.ipLookupUrl,{headers:{Accept:"application/json"}}).then((function(e){return e.json()})).then((function(e){var n=e&&e.country?e.country:"";t(n)}))}),this.iti=intlTelInput(t,n),t.addEventListener("change",(function(){e.itiFormat()})),t.addEventListener("keyup",(function(){e.itiFormat()}))}},itiFormat:function(){if("undefined"!=typeof intlTelInputUtils){var e=this.iti.getNumber(intlTelInputUtils.numberFormat.E164);this.iti.isValidNumber()&&"string"==typeof e&&(this.iti.setNumber(e),this.dataValue=e,this.dirty=!0,this.onKeyDown(),this.setAnswer(this.dataValue))}}},mounted:function(){this.init()},watch:{active:function(e){var t=this;e&&setTimeout((function(){t.itiFormat()}),1)}}},Wt={extends:Ge,name:Ct.ce.Number,data:function(){return{inputType:"number",allowedChars:"-0123456789.TabArrowDownArrowUp"}},computed:{hasValue:function(){return null!==this.dataValue}},methods:{fixAnswer:function(e){return e=null===e?"":e,this.maybeHandleTargetProduct(e),e},showInvalid:function(){return this.dirty&&!this.isValid()},validate:function(){if(null!==this.question.min&&!isNaN(this.question.min)&&+this.dataValue<+this.question.min)return this.errorMessage=this.question.validationRules.min.message,!1;if(null!==this.question.max&&!isNaN(this.question.max)&&+this.dataValue>+this.question.max)return this.errorMessage=this.question.validationRules.max.message,!1;if(this.hasValue){if(this.question.mask)return this.errorMessage=this.language.invalidPrompt,this.validateMask();var e=+this.dataValue;return this.question.targetProduct&&e%1!=0?(this.errorMessage=this.question.stepErrorMsg.replace("{lower_value}",Math.floor(e)).replace("{upper_value}",Math.ceil(e)),!1):!isNaN(e)}return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},maybeHandleTargetProduct:function(e){var t=this;this.question.targetProduct&&(e=e||this.question.min||1,this.$parent.$parent.questionList.forEach((function(n){n.is_payment_field&&n.name==t.question.targetProduct&&(n.paymentItemQty=e)})))},onChange:function(e){e.target.value&&(this.dirty=!0,this.dataValue=+e.target.value,this.onKeyDown(),this.setAnswer(this.dataValue))}}};var Qt={class:"f-coupon-field-wrap"},Yt={class:"f-coupon-field"},Gt={key:0,class:"f-coupon-applied-list f-radios-wrap"},Zt={class:"f-radios",role:"listbox"},Jt=["onClick","onKeyup","onFocusin"],Xt=["innerHTML"],en=(0,o.createElementVNode)("span",{class:"error-clear"},"×",-1),tn={class:"f-coupon-field-btn-wrap f-enter"},nn=["innerHTML"];const on={extends:qt,name:"CouponType",data:function(){return{appliedCoupons:{},canReceiveFocus:!0}},watch:{dataValue:function(e){this.question.error=""}},computed:{couponMode:function(){return!!this.dataValue},btnText:function(){var e="SKIP";return e=this.couponMode?"APPLY COUPON":Object.keys(this.appliedCoupons).length?"OK":e},paymentConfig:function(){return this.globalVars.paymentConfig}},methods:{applyCoupon:function(){var e=this;this.$emit("update:modelValue",""),this.question.error="";var t=new XMLHttpRequest,n=this.globalVars.ajaxurl+"?action=fluentform_apply_coupon",o=new FormData;o.append("form_id",this.globalVars.form_id),o.append("coupon",this.dataValue),o.append("other_coupons",JSON.stringify(Object.keys(this.appliedCoupons))),t.open("POST",n),t.responseType="json",t.onload=function(){if(200!==t.status)e.question.error=t.response.message;else{var n=t.response.coupon,o=n.amount+"%";"fixed"==n.coupon_type&&(o=e.formatMoney(n.amount)),n.message="".concat(n.code," - ").concat(o),e.appliedCoupons[n.code]=n,e.globalVars.appliedCoupons=e.appliedCoupons,e.dataValue="",e.globalVars.extra_inputs.__ff_all_applied_coupons=JSON.stringify(Object.keys(e.appliedCoupons)),e.focus()}},t.send(o)},handleKeyDown:function(e){this.couponMode&&"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),this.applyCoupon())},discard:function(e){delete this.appliedCoupons[e.code],this.focus()},formatMoney:function(e){return ye(parseFloat(100*e).toFixed(2),this.paymentConfig.currency_settings)},handleBtnClick:function(){this.couponMode?this.applyCoupon():this.$emit("next")},onBtnFocus:function(){this.$parent.btnFocusIn=!this.$parent.btnFocusIn},onFocus:function(e){this.focusIndex=e},onInputFocus:function(){this.focusIndex=null},shouldPrev:function(){return!this.focusIndex}}},rn=(0,de.Z)(on,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",Qt,[(0,o.createElementVNode)("div",Yt,[(0,o.withDirectives)((0,o.createElementVNode)("input",{ref:"input",type:"text","onUpdate:modelValue":t[0]||(t[0]=function(t){return e.dataValue=t}),onKeydown:t[1]||(t[1]=function(){return s.handleKeyDown&&s.handleKeyDown.apply(s,arguments)}),onFocusin:t[2]||(t[2]=function(){return s.onInputFocus&&s.onInputFocus.apply(s,arguments)})},null,544),[[o.vModelText,e.dataValue]])]),i.appliedCoupons?((0,o.openBlock)(),(0,o.createElementBlock)("div",Gt,[(0,o.createElementVNode)("ul",Zt,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(i.appliedCoupons,(function(e){return(0,o.openBlock)(),(0,o.createElementBlock)("li",{class:"f-coupon-applied-item",role:"option",tabindex:"0",key:e.code,onClick:(0,o.withModifiers)((function(t){return s.discard(e)}),["prevent"]),onKeyup:(0,o.withKeys)((function(t){return s.discard(e)}),["space"]),onFocusin:function(t){return s.onFocus(e.code)}},[(0,o.createElementVNode)("span",{class:"f-label",innerHTML:e.message},null,8,Xt),en],40,Jt)})),128))])])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",tn,[(0,o.createElementVNode)("button",{class:"o-btn-action f-coupon-field-btn",type:"button",href:"#","aria-label":"Press to continue",onClick:t[3]||(t[3]=function(){return s.handleBtnClick&&s.handleBtnClick.apply(s,arguments)}),onFocusin:t[4]||(t[4]=function(){return s.onBtnFocus&&s.onBtnFocus.apply(s,arguments)}),onFocusout:t[5]||(t[5]=function(){return s.onBtnFocus&&s.onBtnFocus.apply(s,arguments)})},[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(s.btnText),1)],32),e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("a",{key:0,class:"f-enter-desc",href:"#",innerHTML:e.language.formatString(e.language.pressEnter),onClick:t[6]||(t[6]=function(){return s.handleBtnClick&&s.handleBtnClick.apply(s,arguments)})},null,8,nn))])])}]]);var sn=(0,o.createElementVNode)("td",null,null,-1),an={class:"f-table-string"},ln={class:"f-table-cell f-row-cell"},cn={class:"f-table-string"},un=["title"],dn={key:0,class:"f-field-wrap"},pn={class:"f-matrix-field f-matrix-radio"},fn=["name","id","aria-label","data-id","value","onUpdate:modelValue","onFocusin"],hn={key:1,class:"f-field-wrap"},mn={class:"f-matrix-field f-matrix-checkbox"},vn=["id","aria-label","data-id","value","onUpdate:modelValue","onFocusin"];var yn={class:"f-matrix-wrap"},gn=(0,o.createElementVNode)("td",null,null,-1),bn={class:"f-table-string"},_n={class:"f-table-cell f-row-cell"},wn={class:"f-table-string"},xn=["title"],kn={key:0,class:"f-field-wrap"},En={class:"f-matrix-field f-matrix-radio"},Cn=["name","id","aria-label","data-id","value","onUpdate:modelValue"],Sn=(0,o.createElementVNode)("span",{class:"f-field-mask f-radio-mask"},[(0,o.createElementVNode)("svg",{viewBox:"0 0 24 24",class:"f-field-svg f-radio-svg"},[(0,o.createElementVNode)("circle",{r:"6",cx:"12",cy:"12"})])],-1),On={key:1,class:"f-field-wrap"},Tn={class:"f-matrix-field f-matrix-checkbox"},Bn=["id","aria-label","data-id","value","onUpdate:modelValue"],Mn=(0,o.createElementVNode)("span",{class:"f-field-mask f-checkbox-mask"},[(0,o.createElementVNode)("svg",{viewBox:"0 0 24 24",class:"f-field-svg f-checkbox-svg"},[(0,o.createElementVNode)("rect",{width:"12",height:"12",x:"6",y:"6"})])],-1);function Vn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Nn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pn(e){return function(e){if(Array.isArray(e))return Fn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||qn(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 An(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=qn(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}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 i,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}}function qn(e,t){if(e){if("string"==typeof e)return Fn(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)?Fn(e,t):void 0}}function Fn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Ln={extends:Ae,name:Be.ce.Matrix,data:function(){return{selected:{},inputList:[]}},beforeMount:function(){if(this.question.multiple){var e,t=An(this.question.rows);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.selected[n.id]=this.question.answer&&this.question.answer[n.id]?Pn(this.question.answer[n.id]):[]}}catch(e){t.e(e)}finally{t.f()}}else this.question.answer&&(this.selected=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vn(Object(n),!0).forEach((function(t){Nn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.question.answer))},beforeUpdate:function(){this.inputList=[]},methods:{onChange:function(e){this.dirty=!0,this.dataValue=this.selected,this.onKeyDown(),this.setAnswer(this.dataValue)},validate:function(){if(!this.question.required)return!0;return!!Object.values(this.inputGroups).every((function(e){return e.some((function(e){return e.checked}))}))},getElement:function(){return this.inputList[0]}},computed:{inputGroups:function(){var e,t={},n=An(this.question.rows);try{for(n.s();!(e=n.n()).done;){var o=e.value;t[o.id]=[]}}catch(e){n.e(e)}finally{n.f()}return this.inputList.forEach((function(e){t[e.dataset.id].push(e)})),t}}},In=(0,de.Z)(Ln,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",yn,[(0,o.createElementVNode)("table",{class:(0,o.normalizeClass)(["f-matrix-table",{"f-matrix-multiple":e.question.multiple}])},[(0,o.createElementVNode)("thead",null,[(0,o.createElementVNode)("tr",null,[gn,((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.columns,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("th",{key:"c"+t,class:"f-table-cell f-column-cell"},[(0,o.createElementVNode)("span",bn,(0,o.toDisplayString)(e.label),1)])})),128))])]),(0,o.createElementVNode)("tbody",null,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.rows,(function(n,r){return(0,o.openBlock)(),(0,o.createElementBlock)("tr",{key:"r"+r,class:"f-table-row"},[(0,o.createElementVNode)("td",_n,[(0,o.createElementVNode)("span",wn,(0,o.toDisplayString)(n.label),1)]),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.columns,(function(r,a){return(0,o.openBlock)(),(0,o.createElementBlock)("td",{key:"l"+a,title:r.label,class:"f-table-cell f-matrix-cell"},[e.question.multiple?((0,o.openBlock)(),(0,o.createElementBlock)("div",On,[(0,o.createElementVNode)("label",Tn,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"checkbox",ref_for:!0,ref:function(e){return i.inputList.push(e)},id:"c"+a+"-"+n.id,"aria-label":n.label,"data-id":n.id,value:r.value,class:"f-field-control f-checkbox-control","onUpdate:modelValue":function(e){return i.selected[n.id]=e},onChange:t[1]||(t[1]=function(){return s.onChange&&s.onChange.apply(s,arguments)})},null,40,Bn),[[o.vModelCheckbox,i.selected[n.id]]]),Mn])])):((0,o.openBlock)(),(0,o.createElementBlock)("div",kn,[(0,o.createElementVNode)("label",En,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"radio",ref_for:!0,ref:function(e){return i.inputList.push(e)},name:n.id,id:"c"+a+"-"+n.id,"aria-label":n.label,"data-id":n.id,value:r.value,"onUpdate:modelValue":function(e){return i.selected[n.id]=e},class:"f-field-control f-radio-control",onChange:t[0]||(t[0]=function(){return s.onChange&&s.onChange.apply(s,arguments)})},null,40,Cn),[[o.vModelRadio,i.selected[n.id]]]),Sn])]))],8,xn)})),128))])})),128))])],2)])}]]),Dn={extends:In,data:function(){return{hasMoreColumns:null,canReceiveFocus:!0}},methods:{validate:function(){if(!this.question.required)return!0;var e=this.question.requiredPerRow?"every":"some";return!!Object.values(this.inputGroups)[e]((function(e){return e.some((function(e){return e.checked}))}))||(this.errorMessage=this.question.requiredMsg,!1)},onFocus:function(e,t){this.question.multiple?(0!==e&&(e=this.question.columns.length),this.focusIndex=e+t):this.focusIndex=e},shouldPrev:function(){return 0===this.focusIndex},detectMoreColumns:function(){this.fieldWidth=this.$el.clientWidth,this.tableWidth=this.$el.getElementsByClassName("f-matrix-table")[0].clientWidth,this.hasMoreColumns=this.tableWidth>this.fieldWidth},getFieldWrapperClass:function(){return this.hasMoreColumns?"f-matrix-has-more-columns":""},handleScroll:function(e){this.hasMoreColumns=!(this.tableWidth-e.target.scrollLeft<=this.fieldWidth)},focus:function(){var e=this,t=this.question.counter+"-c0-"+this.question.rows[0].id;if(!this.question.multiple&&this.question.answer){var n=Object.keys(this.question.answer)[0];if(n===this.question.rows[0].id){var o=this.question.columns.findIndex((function(t){return t.value===e.question.answer[n]}));o&&(t=this.question.counter+"-c"+o+"-"+n)}}document.getElementById(t).focus()}},watch:{active:function(e){e&&(this.focus(),null===this.hasMoreColumns&&this.detectMoreColumns())}},mounted:function(){1===this.question.counter&&this.detectMoreColumns()}},jn=(0,de.Z)(Dn,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["f-matrix-wrap",s.getFieldWrapperClass()]),onScroll:t[2]||(t[2]=function(){return s.handleScroll&&s.handleScroll.apply(s,arguments)}),id:"adre"},[(0,o.createElementVNode)("table",{class:(0,o.normalizeClass)(["f-matrix-table",{"f-matrix-multiple":e.question.multiple}])},[(0,o.createElementVNode)("thead",null,[(0,o.createElementVNode)("tr",null,[sn,((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.columns,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("th",{key:"c"+t,class:"f-table-cell f-column-cell"},[(0,o.createElementVNode)("span",an,(0,o.toDisplayString)(e.label),1)])})),128))])]),(0,o.createElementVNode)("tbody",null,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.rows,(function(n,r){return(0,o.openBlock)(),(0,o.createElementBlock)("tr",{key:"r"+r,class:"f-table-row"},[(0,o.createElementVNode)("td",ln,[(0,o.createElementVNode)("span",cn,(0,o.toDisplayString)(n.label),1)]),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.columns,(function(i,a){return(0,o.openBlock)(),(0,o.createElementBlock)("td",{key:"l"+a,title:i.label,class:"f-table-cell f-matrix-cell"},[e.question.multiple?((0,o.openBlock)(),(0,o.createElementBlock)("div",hn,[(0,o.createElementVNode)("label",mn,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"checkbox",ref_for:!0,ref:function(t){return e.inputList.push(t)},id:e.question.counter+"-c"+a+"-"+n.id,"aria-label":n.label,"data-id":n.id,value:i.value,class:"f-field-control f-checkbox-control","onUpdate:modelValue":function(t){return e.selected[n.id]=t},onChange:t[1]||(t[1]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),onFocusin:function(e){return s.onFocus(r,a)}},null,40,vn),[[o.vModelCheckbox,e.selected[n.id]]]),(0,o.createCommentVNode)("",!0)])])):((0,o.openBlock)(),(0,o.createElementBlock)("div",dn,[(0,o.createElementVNode)("label",pn,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"radio",ref_for:!0,ref:function(t){return e.inputList.push(t)},name:n.id,id:e.question.counter+"-c"+a+"-"+n.id,"aria-label":n.label,"data-id":n.id,value:i.value,"onUpdate:modelValue":function(t){return e.selected[n.id]=t},class:"f-field-control f-radio-control",onChange:t[0]||(t[0]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),onFocusin:function(e){return s.onFocus(r,a)}},null,40,fn),[[o.vModelRadio,e.selected[n.id]]]),(0,o.createCommentVNode)("",!0)])]))],8,un)})),128))])})),128))])],2)],34)}]]);var Rn=["innerHTML"];const $n={extends:qt,name:"PaymentType",data:function(){return{canReceiveFocus:!0}},computed:{paymentConfig:function(){return this.globalVars.paymentConfig}},watch:{active:function(e){var t=this;e?setTimeout((function(){t.focus()}),100):this.canReceiveFocus=!0}},methods:{focus:function(){this.$el.parentElement.parentElement.parentElement.parentElement.getElementsByClassName("o-btn-action")[0].focus(),0!==this.question.index&&(this.canReceiveFocus=!1)},formatMoney:function(e){return ye(parseFloat(100*e).toFixed(2),this.paymentConfig.currency_settings)}}},zn=(0,de.Z)($n,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[(0,o.createTextVNode)((0,o.toDisplayString)(e.question.priceLabel)+" ",1),(0,o.createElementVNode)("span",{innerHTML:s.formatMoney(e.question.answer)},null,8,Rn)])}]]);var Hn=n(3377),Un=n(5853);const Kn={extends:qt,name:Ct.ce.Dropdown,components:{ElSelect:Un.default,ElOption:Hn.Z},data:function(){return{canReceiveFocus:!0}},methods:{shouldPrev:function(){return!0},focus:function(){var e=this;this.$refs.input.blur(),setTimeout((function(){e.$refs.input.focus()}),1e3)}}},Wn=(0,de.Z)(Kn,[["render",function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("el-option"),l=(0,o.resolveComponent)("el-select");return(0,o.openBlock)(),(0,o.createBlock)(l,{ref:"input",multiple:e.question.multiple,modelValue:e.dataValue,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.dataValue=t}),placeholder:e.question.placeholder,"multiple-limit":e.question.max_selection,clearable:!0,filterable:"yes"===e.question.searchable,class:"f-full-width",onChange:e.setAnswer},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.options,(function(e){return(0,o.openBlock)(),(0,o.createBlock)(a,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])})),128))]})),_:1},8,["multiple","modelValue","placeholder","multiple-limit","filterable","onChange"])}]]);const Qn={name:"TextareaAutosize",props:{value:{type:[String,Number],default:""},autosize:{type:Boolean,default:!0},minHeight:{type:[Number],default:null},maxHeight:{type:[Number],default:null},important:{type:[Boolean,Array],default:!1}},data:()=>({val:null,maxHeightScroll:!1,height:"auto"}),computed:{computedStyles(){return this.autosize?{resize:this.isResizeImportant?"none !important":"none",height:this.height,overflow:this.maxHeightScroll?"auto":this.isOverflowImportant?"hidden !important":"hidden"}:{}},isResizeImportant(){const e=this.important;return!0===e||Array.isArray(e)&&e.includes("resize")},isOverflowImportant(){const e=this.important;return!0===e||Array.isArray(e)&&e.includes("overflow")},isHeightImportant(){const e=this.important;return!0===e||Array.isArray(e)&&e.includes("height")}},watch:{value(e){this.val=e},val(e){this.$nextTick(this.resize),this.$emit("input",e)},minHeight(){this.$nextTick(this.resize)},maxHeight(){this.$nextTick(this.resize)},autosize(e){e&&this.resize()}},methods:{resize(){const e=this.isHeightImportant?"important":"";return this.height="auto"+(e?" !important":""),this.$nextTick((()=>{let t=this.$el.scrollHeight+1;this.minHeight&&(t=t<this.minHeight?this.minHeight:t),this.maxHeight&&(t>this.maxHeight?(t=this.maxHeight,this.maxHeightScroll=!0):this.maxHeightScroll=!1);const n=t+"px";this.height=`${n}${e?" !important":""}`})),this}},created(){this.val=this.value},mounted(){this.resize()}},Yn=(0,de.Z)(Qn,[["render",function(e,t,n,r,i,s){return(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("textarea",{style:(0,o.normalizeStyle)(s.computedStyles),"onUpdate:modelValue":t[0]||(t[0]=e=>i.val=e),onFocus:t[1]||(t[1]=(...e)=>s.resize&&s.resize(...e))},null,36)),[[o.vModelText,i.val]])}]]),Gn={extends:Ae,name:Be.ce.LongText,components:{TextareaAutosize:Yn},data:function(){return{canReceiveFocus:!0}},mounted:function(){window.addEventListener("resize",this.onResizeListener)},beforeUnmount:function(){window.removeEventListener("resize",this.onResizeListener)},methods:{onResizeListener:function(){this.$refs.input.resize()},unsetFocus:function(e){!e&&this.isMobile||(this.focused=!1)},onEnterDown:function(e){this.isMobile||e.preventDefault()},onEnter:function(){this._onEnter(),this.isMobile&&this.focus()}}},Zn=(0,de.Z)(Gn,[["render",function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("textarea-autosize");return(0,o.openBlock)(),(0,o.createElementBlock)("span",null,[(0,o.createVNode)(a,{ref:"input",rows:"1",value:e.modelValue,required:e.question.required,onKeydown:[e.onKeyDown,(0,o.withKeys)((0,o.withModifiers)(s.onEnterDown,["exact"]),["enter"])],onKeyup:[e.onChange,(0,o.withKeys)((0,o.withModifiers)(s.onEnter,["exact","prevent"]),["enter"]),(0,o.withKeys)((0,o.withModifiers)(s.onEnter,["prevent"]),["tab"])],onFocus:e.setFocus,onBlur:s.unsetFocus,placeholder:e.placeholder,maxlength:e.question.maxLength},null,8,["value","required","onKeydown","onKeyup","onFocus","onBlur","placeholder","maxlength"])])}]]),Jn={extends:Zn,methods:{validate:function(){return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},shouldPrev:function(){return!0}}},Xn={extends:Ge,name:Ct.ce.Password,data:function(){return{inputType:"password"}}};var eo=["data-sitekey"];const to={extends:qt,name:"FlowFormReCaptchaType",methods:{callback:function(e){this.dataValue=e,this.setAnswer(e)}},computed:{siteKey:function(){return this.question.siteKey}},mounted:function(){window.ff_conv_recaptcha_callback=this.callback,this.dataValue=!1}},no=(0,de.Z)(to,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[(0,o.createElementVNode)("div",{class:"g-recaptcha","data-sitekey":s.siteKey,"data-callback":"ff_conv_recaptcha_callback"},null,8,eo)])}]]);var oo=["data-sitekey"];const ro={extends:qt,name:"FlowFormHCaptchaType",methods:{callback:function(e){this.dataValue=e,this.setAnswer(e)}},computed:{siteKey:function(){return this.question.siteKey}},mounted:function(){window.ff_conv_hcaptcha_callback=this.callback,this.dataValue=!1}},io=(0,de.Z)(ro,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[(0,o.createElementVNode)("div",{class:"h-captcha","data-sitekey":s.siteKey,"data-callback":"ff_conv_hcaptcha_callback"},null,8,oo)])}]]);var so={class:"f-subscription-wrap"},ao={key:1,class:"f-subscription-custom-payment-wrap"},lo=["for"],co=["id"];var uo={class:"f-radios-wrap"},po=["onClick","aria-label","onFocusin","onKeyup"],fo={key:0,class:"f-image"},ho=["src","alt"],mo={class:"f-label-wrap"},vo=["title"],yo=["title"],go={key:0,class:"f-label"},bo=(0,o.createElementVNode)("span",{class:"ffc_check_svg"},[(0,o.createElementVNode)("svg",{height:"13",width:"16"},[(0,o.createElementVNode)("path",{d:"M14.293.293l1.414 1.414L5 12.414.293 7.707l1.414-1.414L5 9.586z"})])],-1),_o=["aria-label"],wo={class:"f-label-wrap"},xo={key:0,class:"f-key"},ko={key:2,class:"f-selected"},Eo={class:"f-label"},Co={key:3,class:"f-label"};var So={class:"f-radios-wrap"},Oo=["onClick","aria-label"],To={key:0,class:"f-image"},Bo=["src","alt"],Mo={class:"f-label-wrap"},Vo={class:"f-key"},No={key:0,class:"f-label"},Po=["aria-label"],Ao={class:"f-label-wrap"},qo={key:0,class:"f-key"},Fo={key:2,class:"f-selected"},Lo={class:"f-label"},Io={key:3,class:"f-label"};const Do={extends:Ae,name:Be.ce.MultipleChoice,data:function(){return{editingOther:!1,hasImages:!1}},mounted:function(){this.addKeyListener()},beforeUnmount:function(){this.removeKeyListener()},watch:{active:function(e){e?(this.addKeyListener(),this.question.multiple&&this.question.answered&&(this.enterPressed=!1)):this.removeKeyListener()}},methods:{addKeyListener:function(){this.removeKeyListener(),document.addEventListener("keyup",this.onKeyListener)},removeKeyListener:function(){document.removeEventListener("keyup",this.onKeyListener)},onKeyListener:function(e){if(this.active&&!this.editingOther&&e.key&&1===e.key.length){var t=e.key.toUpperCase().charCodeAt(0);if(t>=65&&t<=90){var n=t-65;if(n>-1){var o=this.question.options[n];o?this.toggleAnswer(o):this.question.allowOther&&n===this.question.options.length&&this.startEditOther()}}}},getLabel:function(e){return this.language.ariaMultipleChoice.replace(":letter",this.getToggleKey(e))},getToggleKey:function(e){var t=65+e;return t<=90?String.fromCharCode(t):""},toggleAnswer:function(e){if(!this.question.multiple){this.question.allowOther&&(this.question.other=this.dataValue=null,this.setAnswer(this.dataValue));for(var t=0;t<this.question.options.length;t++){var n=this.question.options[t];n.selected&&this._toggleAnswer(n)}}this._toggleAnswer(e)},_toggleAnswer:function(e){var t=e.choiceValue();e.toggle(),this.question.multiple?(this.enterPressed=!1,e.selected?-1===this.dataValue.indexOf(t)&&this.dataValue.push(t):this._removeAnswer(t)):this.dataValue=e.selected?t:null,this.isValid()&&this.question.nextStepOnAnswer&&!this.question.multiple&&!this.disabled&&this.$emit("next"),this.setAnswer(this.dataValue)},_removeAnswer:function(e){var t=this.dataValue.indexOf(e);-1!==t&&this.dataValue.splice(t,1)},startEditOther:function(){var e=this;this.editingOther=!0,this.enterPressed=!1,this.$nextTick((function(){e.$refs.otherInput.focus()}))},onChangeOther:function(){if(this.editingOther){var e=[],t=this;this.question.options.forEach((function(n){n.selected&&(t.question.multiple?e.push(n.choiceValue()):n.toggle())})),this.question.other&&this.question.multiple?e.push(this.question.other):this.question.multiple||(e=this.question.other),this.dataValue=e,this.setAnswer(this.dataValue)}},stopEditOther:function(){this.editingOther=!1}},computed:{hasValue:function(){return!!this.question.options.filter((function(e){return e.selected})).length||!!this.question.allowOther&&(this.question.other&&this.question.other.trim().length>0)}}},jo=(0,de.Z)(Do,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",So,[(0,o.createElementVNode)("ul",{class:(0,o.normalizeClass)(["f-radios",{"f-multiple":e.question.multiple}]),role:"listbox"},[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.options,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("li",{onClick:(0,o.withModifiers)((function(t){return s.toggleAnswer(e)}),["prevent"]),class:(0,o.normalizeClass)({"f-selected":e.selected}),key:"m"+t,"aria-label":s.getLabel(t),role:"option"},[i.hasImages&&e.imageSrc?((0,o.openBlock)(),(0,o.createElementBlock)("span",To,[(0,o.createElementVNode)("img",{src:e.imageSrc,alt:e.imageAlt},null,8,Bo)])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",Mo,[(0,o.createElementVNode)("span",Vo,(0,o.toDisplayString)(s.getToggleKey(t)),1),e.choiceLabel()?((0,o.openBlock)(),(0,o.createElementBlock)("span",No,(0,o.toDisplayString)(e.choiceLabel()),1)):(0,o.createCommentVNode)("",!0)])],10,Oo)})),128)),!i.hasImages&&e.question.allowOther?((0,o.openBlock)(),(0,o.createElementBlock)("li",{key:0,class:(0,o.normalizeClass)(["f-other",{"f-selected":e.question.other,"f-focus":i.editingOther}]),onClick:t[5]||(t[5]=(0,o.withModifiers)((function(){return s.startEditOther&&s.startEditOther.apply(s,arguments)}),["prevent"])),"aria-label":e.language.ariaTypeAnswer,role:"option"},[(0,o.createElementVNode)("div",Ao,[i.editingOther?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("span",qo,(0,o.toDisplayString)(s.getToggleKey(e.question.options.length)),1)),i.editingOther?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("input",{key:1,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.question.other=t}),type:"text",ref:"otherInput",onBlur:t[1]||(t[1]=function(){return s.stopEditOther&&s.stopEditOther.apply(s,arguments)}),onKeyup:[t[2]||(t[2]=(0,o.withKeys)((0,o.withModifiers)((function(){return s.stopEditOther&&s.stopEditOther.apply(s,arguments)}),["prevent"]),["enter"])),t[3]||(t[3]=function(){return s.onChangeOther&&s.onChangeOther.apply(s,arguments)})],onChange:t[4]||(t[4]=function(){return s.onChangeOther&&s.onChangeOther.apply(s,arguments)}),maxlength:"256"},null,544)),[[o.vModelText,e.question.other]]):e.question.other?((0,o.openBlock)(),(0,o.createElementBlock)("span",Fo,[(0,o.createElementVNode)("span",Lo,(0,o.toDisplayString)(e.question.other),1)])):((0,o.openBlock)(),(0,o.createElementBlock)("span",Io,(0,o.toDisplayString)(e.language.otherPrompt),1))])],10,Po)):(0,o.createCommentVNode)("",!0)],2)])}]]),Ro={extends:jo,name:Ct.ce.MultipleChoice,data:function(){return{canReceiveFocus:!0}},computed:{showKeyHint:function(){return"yes"===this.globalVars.design.key_hint},keyHintText:function(){return this.globalVars.i18n.key_hint_text},keyHintTooltip:function(){return this.globalVars.i18n.key_hint_tooltip}},methods:{toggleAnswer:function(e){if(!this.question.multiple){this.question.allowOther&&(this.question.other=this.dataValue=null,this.setAnswer(this.dataValue));for(var t=0;t<this.question.options.length;t++){var n=this.question.options[t];n.selected&&n.value!==e.value&&n.toggle()}}this._toggleAnswer(e)},_toggleAnswer:function(e){var t=this,n=e.choiceValue();e.toggle(),this.question.multiple?(this.enterPressed=!1,e.selected?-1===this.dataValue.indexOf(n)&&this.dataValue.push(n):this._removeAnswer(n)):this.dataValue=e.selected?n:null,this.$nextTick((function(){e.selected&&t.isValid()&&t.question.nextStepOnAnswer&&!t.question.multiple&&!t.disabled&&!t.$parent.lastStep&&t.$emit("next")})),this.setAnswer(this.dataValue)},validate:function(){return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)},onFocus:function(e){this.focusIndex=e},shouldPrev:function(){return 0===this.focusIndex},focus:function(){var e=0;if(this.$parent.btnFocusIn)e=this.$el.firstElementChild.children.length-1;else if(this.question.multiple&&this.question.answer.length){var t=this.question.answer[this.question.answer.length-1];e=this.question.options.findIndex((function(e){return e.value==t}))}this.$el.firstElementChild.children[e].focus()}},watch:{active:function(e){e&&this.focus()}}},$o=(0,de.Z)(Ro,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",uo,[(0,o.createElementVNode)("ul",{class:(0,o.normalizeClass)(["f-radios",e.question.multiple?"f-multiple":"f-single"]),role:"listbox"},[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.options,(function(t,n){return(0,o.openBlock)(),(0,o.createElementBlock)("li",{onClick:(0,o.withModifiers)((function(e){return s.toggleAnswer(t)}),["prevent"]),class:(0,o.normalizeClass)({"f-selected":t.selected}),key:"m"+n,"aria-label":e.getLabel(n),role:"option",tabindex:"0",onFocusin:function(e){return s.onFocus(n)},onKeyup:(0,o.withKeys)((function(e){return s.toggleAnswer(t)}),["space"])},[e.hasImages&&t.imageSrc?((0,o.openBlock)(),(0,o.createElementBlock)("span",fo,[(0,o.createElementVNode)("img",{src:t.imageSrc,alt:t.imageAlt},null,8,ho)])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",mo,[(0,o.withDirectives)((0,o.createElementVNode)("span",{title:s.keyHintTooltip,class:"f-key"},[(0,o.createElementVNode)("span",{title:s.keyHintTooltip,class:"f-key-hint"},(0,o.toDisplayString)(s.keyHintText),9,yo),(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(e.getToggleKey(n)),1)],8,vo),[[o.vShow,s.showKeyHint]]),t.choiceLabel()?((0,o.openBlock)(),(0,o.createElementBlock)("span",go,[(0,o.createTextVNode)((0,o.toDisplayString)(t.choiceLabel())+" ",1),(0,o.withDirectives)((0,o.createElementVNode)("span",{class:"f-label-sub"},(0,o.toDisplayString)(t.sub),513),[[o.vShow,t.sub]])])):(0,o.createCommentVNode)("",!0),bo])],42,po)})),128)),!e.hasImages&&e.question.allowOther?((0,o.openBlock)(),(0,o.createElementBlock)("li",{key:0,class:(0,o.normalizeClass)(["f-other",{"f-selected":e.question.other,"f-focus":e.editingOther}]),onClick:t[5]||(t[5]=(0,o.withModifiers)((function(){return e.startEditOther&&e.startEditOther.apply(e,arguments)}),["prevent"])),"aria-label":e.language.ariaTypeAnswer,role:"option"},[(0,o.createElementVNode)("div",wo,[e.editingOther?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("span",xo,(0,o.toDisplayString)(e.getToggleKey(e.question.options.length)),1)),e.editingOther?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("input",{key:1,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.question.other=t}),type:"text",ref:"otherInput",onBlur:t[1]||(t[1]=function(){return e.stopEditOther&&e.stopEditOther.apply(e,arguments)}),onKeyup:[t[2]||(t[2]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.stopEditOther&&e.stopEditOther.apply(e,arguments)}),["prevent"]),["enter"])),t[3]||(t[3]=function(){return e.onChangeOther&&e.onChangeOther.apply(e,arguments)})],onChange:t[4]||(t[4]=function(){return e.onChangeOther&&e.onChangeOther.apply(e,arguments)}),maxlength:"256"},null,544)),[[o.vModelText,e.question.other]]):e.question.other?((0,o.openBlock)(),(0,o.createElementBlock)("span",ko,[(0,o.createElementVNode)("span",Eo,(0,o.toDisplayString)(e.question.other),1)])):((0,o.openBlock)(),(0,o.createElementBlock)("span",Co,(0,o.toDisplayString)(e.language.otherPrompt),1))])],10,_o)):(0,o.createCommentVNode)("",!0)],2)])}]]),zo={extends:qt,name:"SubscriptionType",components:{FlowFormDropdownType:Wn,FlowFormMultipleChoiceType:$o},data:function(){return{canReceiveFocus:!0,customPaymentFocus:!1}},computed:{single:function(){return"single"==this.question.subscriptionFieldType},hasCustomPayment:function(){return this.question.plans[this.question.answer]&&"yes"==this.question.plans[this.question.answer].user_input},customPlan:function(){return this.hasCustomPayment?this.question.plans[this.question.answer]:null},btnFocusIn:function(){return 0!==this.question.index&&(this.canReceiveFocus=!this.$parent.btnFocusIn),this.$parent.btnFocusIn},paymentConfig:function(){return this.globalVars.paymentConfig},regexPattern:function(){var e=/\$[0-9\.]+/g;switch(this.paymentConfig.currency_settings.currency_sign_position){case"left":e="\\"+this.paymentConfig.currency_settings.currency_symbol+"[0-9.]+";break;case"left_space":e="\\"+this.paymentConfig.currency_settings.currency_symbol+" [0-9.]+";break;case"right_space":e="[0-9.]+ \\"+this.paymentConfig.currency_settings.currency_symbol;break;case"right":e="[0-9.]+\\"+this.paymentConfig.currency_settings.currency_symbol}return new RegExp(e,"g")}},watch:{dataValue:function(){this.question.customPayment=this.customPlan&&this.customPlan.subscription_amount,this.dirty=!0},active:function(e){e?this.focus():this.canReceiveFocus=!0},"question.customPayment":function(e,t){if(null!=this.question.answer&&this.customPlan){e=e||0,this.dirty=!0,this.enterPressed=!0;var n=this.question.plans[this.question.answer],o=n;this.single||(o=this.question.options[this.question.answer]);var r=o.sub.match(this.regexPattern);if(r&&r.length){var i=this.formatMoney(e).replace(this.paymentConfig.currency_settings.currency_sign,this.paymentConfig.currency_settings.currency_symbol);if(1==r.length)o.sub=o.sub.replace(r[0],i);else{var s=this.formatMoney(e+n.signup_fee).replace(this.paymentConfig.currency_settings.currency_sign,this.paymentConfig.currency_settings.currency_symbol);o.sub=o.sub.replace(r[0],"{firstTime}").replace(r[1],i).replace("{firstTime}",s)}}}}},methods:{validate:function(){return this.hasCustomPayment?this.question.required&&!this.question.customPayment?(this.errorMessage=this.question.requiredMsg,!1):!(this.customPlan.user_input_min_value&&this.question.customPayment<this.customPlan.user_input_min_value)||(this.errorMessage="Value must be greater than or equal to "+this.customPlan.user_input_min_value,!1):!!this.single||this.$refs.questionComponent.validate()},onNext:function(){this.hasCustomPayment||this.$emit("next")},shouldPrev:function(){return!this.customPaymentFocus&&(!!this.single||this.$refs.questionComponent.shouldPrev())},focus:function(){if(this.hasCustomPayment)this.$refs.customPayment.focus();else if(this.single){var e=this.$parent.$el.getElementsByClassName("o-btn-action")[0];e&&e.focus(),0!==this.question.index&&(this.canReceiveFocus=!1)}else this.$refs.questionComponent.focus()},onCustomPaymentFocusIn:function(){this.customPaymentFocus=!this.customPaymentFocus},formatMoney:function(e){return ye(parseFloat(100*e).toFixed(2),this.paymentConfig.currency_settings)}},mounted:function(){null!==this.question.answer&&(this.dataValue=this.answer=this.question.answer)}},Ho=(0,de.Z)(zo,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",so,[s.single?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(e.question.subscriptionFieldType),{key:0,ref:"questionComponent",question:e.question,language:e.language,modelValue:e.dataValue,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.dataValue=t}),active:e.active,disabled:e.disabled,onNext:s.onNext},null,40,["question","language","modelValue","active","disabled","onNext"])),s.hasCustomPayment?((0,o.openBlock)(),(0,o.createElementBlock)("div",ao,[s.customPlan.user_input_label?((0,o.openBlock)(),(0,o.createElementBlock)("label",{key:0,for:s.customPlan.customInput},(0,o.toDisplayString)(s.customPlan.user_input_label),9,lo)):(0,o.createCommentVNode)("",!0),(0,o.withDirectives)((0,o.createElementVNode)("input",{ref:"customPayment",type:"number",id:s.customPlan.customInput,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.question.customPayment=t}),onFocusin:t[2]||(t[2]=function(){return s.onCustomPaymentFocusIn&&s.onCustomPaymentFocusIn.apply(s,arguments)}),onFocusout:t[3]||(t[3]=function(){return s.onCustomPaymentFocusIn&&s.onCustomPaymentFocusIn.apply(s,arguments)})},null,40,co),[[o.vModelText,e.question.customPayment,void 0,{number:!0}]])])):(0,o.createCommentVNode)("",!0),s.single?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:2},[(0,o.createTextVNode)((0,o.toDisplayString)(e.question.plans[0].sub),1)],64)):(0,o.createCommentVNode)("",!0)])}]]);var Uo=["innerHTML"];var Ko={key:0,class:"f-content"},Wo={class:"f-section-text"};const Qo={extends:Ae,name:Be.ce.SectionBreak,methods:{onEnter:function(){this.dirty=!0,this._onEnter()},isValid:function(){return!0}}},Yo=(0,de.Z)(Qo,[["render",function(e,t,n,r,i,s){return e.question.content?((0,o.openBlock)(),(0,o.createElementBlock)("div",Ko,[(0,o.createElementVNode)("span",Wo,(0,o.toDisplayString)(e.question.content),1)])):(0,o.createCommentVNode)("",!0)}]]),Go={extends:Yo,name:Ct.ce.SectionBreak,props:["replaceSmartCodes"],data:function(){return{canReceiveFocus:!0}},methods:{shouldPrev:function(){return!0},focus:function(){var e=this;setTimeout((function(){e.$el.closest(".ff_conv_input").getElementsByClassName("o-btn-action")[0].focus(),0!==e.question.index&&(e.canReceiveFocus=!1)}),100)}},watch:{active:function(e){e?this.focus():this.canReceiveFocus=!0}}},Zo=(0,de.Z)(Go,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"f-content",innerHTML:n.replaceSmartCodes(e.question.content)},null,8,Uo)}]]);var Jo={class:"f-payment-method-wrap"},Xo={class:"stripe-inline-wrapper"},er=(0,o.createElementVNode)("p",{class:"stripe-inline-header"},"Pay with Card (Stripe)",-1),tr=["id"];function nr(e){return nr="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},nr(e)}function or(){or=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function a(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(e){a=function(e,t,n){return e[t]=n}}function l(e,t,n,o){var r=t&&t.prototype instanceof d?t:d,i=Object.create(r.prototype),s=new k(o||[]);return i._invoke=function(e,t,n){var o="suspendedStart";return function(r,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===r)throw i;return C()}for(n.method=r,n.arg=i;;){var s=n.delegate;if(s){var a=_(s,n);if(a){if(a===u)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o="executing";var l=c(e,t,n);if("normal"===l.type){if(o=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o="completed",n.method="throw",n.arg=l.arg)}}}(e,n,s),i}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function p(){}function f(){}var h={};a(h,r,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(E([])));v&&v!==t&&n.call(v,r)&&(h=v);var y=f.prototype=d.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){a(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function o(r,i,s,a){var l=c(e[r],e,i);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==nr(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,s,a)}),(function(e){o("throw",e,s,a)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return o("throw",e,s,a)}))}a(l.arg)}var r;this._invoke=function(e,n){function i(){return new t((function(t,r){o(e,n,t,r)}))}return r=r?r.then(i,i):i()}}function _(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var o=c(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,u;var r=o.arg;return r?r.done?(t[e.resultName]=r.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function E(e){if(e){var t=e[r];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function t(){for(;++o<e.length;)if(n.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:C}}function C(){return{value:void 0,done:!0}}return p.prototype=f,a(y,"constructor",f),a(f,"constructor",p),p.displayName=a(f,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a(e,s,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},g(b.prototype),a(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,n,o,r,i){void 0===i&&(i=Promise);var s=new b(l(t,n,o,r),i);return e.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},g(y),a(y,s,"Generator"),a(y,r,(function(){return this})),a(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var o=t.pop();if(o in e)return n.value=o,n.done=!1,n}return n.done=!0,n}},e.values=E,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(n,o){return s.type="throw",s.arg=e,t.next=n,o&&(t.method="next",t.arg=void 0),!!o}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var a=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(a&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;x(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function rr(e,t,n,o,r,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(o,r)}const ir={extends:qt,name:"PaymentMethodType",components:{MultipleChoiceType:$o},data:function(){return{canReceiveFocus:!0,processingPayment:!1}},computed:{btnFocusIn:function(){return this.$parent.btnFocusIn},isStripeEmbedded:function(){return"stripe"==this.question.answer&&"yes"==this.question.paymentMethods.stripe.settings.embedded_checkout.value},paymentConfig:function(){return this.globalVars.paymentConfig},stripeInlineElementId:function(){return"payment_method_"+this.globalVars.form.id+"_"+this.question.counter+"_stripe_inline"}},watch:{isStripeEmbedded:function(e){this.disableBtn(e),e||(this.errorMessage=null,this.$parent.dataValue=null,this.globalVars.extra_inputs.__stripe_payment_method_id="")}},methods:{focus:function(){this.isStripeEmbedded?this.btnFocusIn&&this.stripeCard.focus():this.$refs.questionComponent.focus()},shouldPrev:function(){return this.$refs.questionComponent.shouldPrev()},onNext:function(){this.isStripeEmbedded?this.initStripeInline():this.$emit("next")},validate:function(){return this.isStripeEmbedded?!this.errorMessage:this.$refs.questionComponent.validate()},initStripeInline:function(){var e=this;this.stripe=new Stripe(this.paymentConfig.stripe.publishable_key),this.stripe.registerAppInfo(this.paymentConfig.stripe_app_info),this.$parent.$parent.$parent.stripe=this.stripe;var t=this.stripe.elements(),n={base:{color:this.globalVars.design.answer_color,fontFamily:"-apple-system, BlinkMacSystemFont, sans-serif",fontSmoothing:"antialiased",fontSize:"18px","::placeholder":{color:this.globalVars.design.answer_color+"80"}},invalid:{color:"#fa755a",iconColor:"#fa755a"}},o=t.create("card",{style:n,hidePostalCode:!this.paymentConfig.stripe.inlineConfig.verifyZip}),r=this.stripeInlineElementId;o.mount("#"+r),o.on("ready",(function(){e.disableBtn(!0),e.$parent.dataValue=e.dataValue,o.focus()})),o.on("change",(function(t){e.globalVars.extra_inputs.__stripe_payment_method_id="",e.disableBtn(!0),e.errorMessage=t.error&&t.error.message,e.errorMessage?o.focus():t.complete&&e.registerStripePaymentToken()})),this.stripeCard=o},registerStripePaymentToken:function(){var e,t=this;return(e=or().mark((function e(){var n;return or().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processingPayment=!0,e.next=3,t.stripe.createPaymentMethod("card",t.stripeCard);case 3:(n=e.sent)&&(n.error?t.errorMessage=n.error.message:(t.globalVars.extra_inputs.__stripe_payment_method_id=n.paymentMethod.id,t.errorMessage=null,t.disableBtn(!1),t.focusBtn())),t.processingPayment=!1;case 6:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(o,r){var i=e.apply(t,n);function s(e){rr(i,o,r,s,a,"next",e)}function a(e){rr(i,o,r,s,a,"throw",e)}s(void 0)}))})()},disableBtn:function(e){this.$parent.$el.getElementsByClassName("o-btn-action")[0].disabled=e;var t=e?"setAttribute":"removeAttribute";this.$parent.$el.getElementsByClassName("f-enter-desc")[0][t]("disabled",e)},focusBtn:function(){this.$parent.$el.getElementsByClassName("o-btn-action")[0].focus()}}},sr=(0,de.Z)(ir,[["render",function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("multiple-choice-type");return(0,o.openBlock)(),(0,o.createElementBlock)("div",Jo,[(0,o.createVNode)(a,{ref:"questionComponent",question:e.question,language:e.language,modelValue:e.dataValue,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.dataValue=t}),active:e.active,disabled:e.disabled,onNext:s.onNext},null,8,["question","language","modelValue","active","disabled","onNext"]),(0,o.withDirectives)((0,o.createElementVNode)("div",Xo,[er,(0,o.createElementVNode)("div",{id:s.stripeInlineElementId,class:"stripe-inline-holder"},null,8,tr),(0,o.withDirectives)((0,o.createElementVNode)("p",{class:"payment-processing"},(0,o.toDisplayString)(s.paymentConfig.i18n.processing_text),513),[[o.vShow,i.processingPayment]])],512),[[o.vShow,s.isStripeEmbedded]])])}]]);var ar={class:"ffc_q_header"},lr={class:"f-text"},cr={class:"f-sub"},ur=["innerHTML"],dr={class:"ff_custom_button f-enter"},pr=["innerHTML"],fr=["innerHTML"];function hr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function mr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hr(Object(n),!0).forEach((function(t){vr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const yr={extends:qt,name:Ct.ce.WelcomeScreen,props:["replaceSmartCodes"],methods:{onEnter:function(){this.dirty=!0,this._onEnter()},isValid:function(){return!0},next:function(){this.$emit("next")},shouldPrev:function(){return!0},onBtnFocus:function(){this.$emit("focus-in")},focus:function(){this.$el.getElementsByClassName("ff-btn")[0].focus(),0!==this.question.index&&(this.canReceiveFocus=!1)}},data:function(){return{extraHtml:"<style>.ff_default_submit_button_wrapper {display: none !important;}</style>",canReceiveFocus:!0}},computed:{btnStyles:function(){if(""!=this.question.settings.button_style)return"default"===this.question.settings.button_style?{}:{backgroundColor:this.question.settings.background_color,color:this.question.settings.color};var e=this.question.settings.normal_styles,t="normal_styles";if("hover_styles"==this.question.settings.current_state&&(t="hover_styles"),!this.question.settings[t])return e;var n=JSON.parse(JSON.stringify(this.question.settings[t]));return n.borderRadius?n.borderRadius=n.borderRadius+"px":delete n.borderRadius,n.minWidth||delete n.minWidth,mr(mr({},e),n)},btnStyleClass:function(){return this.question.settings.button_style},btnSize:function(){return"ff-btn-"+this.question.settings.button_size},wrapperStyle:function(){var e={};return e.textAlign=this.question.settings.align,e},enterStyle:function(){if(""!=this.question.settings.button_style)return"default"===this.question.settings.button_style?{}:{color:this.question.settings.background_color};var e=this.question.settings.normal_styles,t="normal_styles";return"hover_styles"==this.question.settings.current_state&&(t="hover_styles"),this.question.settings[t]?{color:JSON.parse(JSON.stringify(this.question.settings[t])).backgroundColor}:e}},watch:{active:function(e){e?this.focus():this.canReceiveFocus=!0}}},gr=(0,de.Z)(yr,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"fh2 f-welcome-screen",style:(0,o.normalizeStyle)(s.wrapperStyle)},[(0,o.createElementVNode)("div",ar,[(0,o.createElementVNode)("h4",lr,(0,o.toDisplayString)(n.replaceSmartCodes(e.question.title)),1)]),(0,o.createElementVNode)("div",cr,[e.question.subtitle?((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:0,innerHTML:n.replaceSmartCodes(e.question.subtitle)},null,8,ur)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",dr,["default"==e.question.settings.button_ui.type?((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:0,class:(0,o.normalizeClass)(["ff-btn o-btn-action",[s.btnSize,s.btnStyleClass]]),type:"button",ref:"button",href:"#",onClick:t[0]||(t[0]=(0,o.withModifiers)((function(){return s.next&&s.next.apply(s,arguments)}),["prevent"])),onFocusin:t[1]||(t[1]=function(){return s.onBtnFocus&&s.onBtnFocus.apply(s,arguments)}),onFocusout:t[2]||(t[2]=function(){return s.onBtnFocus&&s.onBtnFocus.apply(s,arguments)}),style:(0,o.normalizeStyle)(s.btnStyles)},[(0,o.createElementVNode)("span",{innerHTML:e.question.settings.button_ui.text},null,8,pr)],38)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("a",{class:"f-enter-desc",href:"#",onClick:t[3]||(t[3]=(0,o.withModifiers)((function(){return s.next&&s.next.apply(s,arguments)}),["prevent"])),style:(0,o.normalizeStyle)(s.enterStyle),innerHTML:e.language.formatString(e.language.pressEnter)},null,12,fr)])],4)}]]);var br={class:"f-payment-summary-wrap"},_r={key:0,class:"f-payment-summary-table"},wr={class:"f-table-cell f-column-cell"},xr={class:"f-table-cell f-column-cell"},kr={class:"f-table-cell f-column-cell"},Er={class:"f-table-cell f-column-cell"},Cr={class:"f-table-cell"},Sr={key:0},Or=["innerHTML"],Tr={class:"f-table-cell"},Br=["innerHTML"],Mr={colspan:"3",class:"f-table-cell right"},Vr=["innerHTML"],Nr={colspan:"3",class:"f-table-cell right"},Pr=["innerHTML"],Ar={colspan:"3",class:"f-table-cell right"},qr=["innerHTML"],Fr=["innerHTML"];const Lr={extends:qt,name:"PaymentSummaryType",data:function(){return{canReceiveFocus:!0,appliedCoupons:null}},computed:{paymentItems:function(){var e=[];return this.active&&(e=be(this.$parent.$parent.questionList)),e},paymentConfig:function(){return this.globalVars.paymentConfig},btnFocusIn:function(){return 0!==this.question.index&&(this.canReceiveFocus=!this.$parent.btnFocusIn),this.$parent.btnFocusIn},subTotal:function(){return _e(this.paymentItems)},totalAmount:function(){return we(this.subTotal,this.appliedCoupons)}},methods:{formatMoney:function(e){return ye(parseFloat(100*e).toFixed(2),this.paymentConfig.currency_settings)},formatDiscountAmount:function(e){var t=e.amount;return"percent"===e.coupon_type&&(t=e.amount/100*this.subTotal),"-"+this.formatMoney(t)},$t:function(e){return this.paymentConfig.i18n[e]||e},focus:function(){var e=this;setTimeout((function(){e.$el.parentElement.parentElement.parentElement.parentElement.getElementsByClassName("o-btn-action")[0].focus()}),100)}},watch:{active:function(e){e?(this.focus(),this.appliedCoupons=this.globalVars.appliedCoupons,this.canReceiveFocus=!1):(this.canReceiveFocus=!0,this.appliedCoupons=null)}}},Ir=(0,de.Z)(Lr,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",br,[e.active&&s.paymentItems.length?((0,o.openBlock)(),(0,o.createElementBlock)("table",_r,[(0,o.createElementVNode)("thead",null,[(0,o.createElementVNode)("tr",null,[(0,o.createElementVNode)("th",wr,(0,o.toDisplayString)(s.$t("item")),1),(0,o.createElementVNode)("th",xr,(0,o.toDisplayString)(s.$t("price")),1),(0,o.createElementVNode)("th",kr,(0,o.toDisplayString)(s.$t("qty")),1),(0,o.createElementVNode)("th",Er,(0,o.toDisplayString)(s.$t("line_total")),1)])]),(0,o.createElementVNode)("tbody",null,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(s.paymentItems,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("tr",{key:t},[(0,o.createElementVNode)("td",Cr,[(0,o.createTextVNode)((0,o.toDisplayString)(e.label)+" ",1),e.childItems?((0,o.openBlock)(),(0,o.createElementBlock)("ul",Sr,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.childItems,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("li",{key:t},(0,o.toDisplayString)(e.label),1)})),128))])):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("td",{class:"f-table-cell",innerHTML:s.formatMoney(e.price)},null,8,Or),(0,o.createElementVNode)("td",Tr,(0,o.toDisplayString)(e.quantity),1),(0,o.createElementVNode)("td",{class:"f-table-cell",innerHTML:s.formatMoney(e.lineTotal)},null,8,Br)])})),128))]),(0,o.createElementVNode)("tfoot",null,[i.appliedCoupons?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[(0,o.createElementVNode)("tr",null,[(0,o.createElementVNode)("th",Mr,(0,o.toDisplayString)(s.$t("line_total")),1),(0,o.createElementVNode)("th",{class:"f-table-cell",innerHTML:s.formatMoney(s.subTotal)},null,8,Vr)]),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(i.appliedCoupons,(function(e){return(0,o.openBlock)(),(0,o.createElementBlock)("tr",{key:e.code},[(0,o.createElementVNode)("th",Nr," Discount: "+(0,o.toDisplayString)(e.title),1),(0,o.createElementVNode)("th",{class:"f-table-cell",innerHTML:s.formatDiscountAmount(e)},null,8,Pr)])})),128))],64)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("tr",null,[(0,o.createElementVNode)("th",Ar,(0,o.toDisplayString)(s.$t("total")),1),(0,o.createElementVNode)("th",{class:"f-table-cell",innerHTML:s.formatMoney(s.totalAmount)},null,8,qr)])])])):((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:1,innerHTML:e.question.emptyText},null,8,Fr))])}]]),Dr={extends:$o,name:Ct.ce.TermsAndCondition,data:function(){return{hasImages:!0}},methods:{validate:function(){return"on"===this.dataValue?(this.question.error="",!0):!this.question.required||(this.question.error=this.question.requiredMsg,!1)}}};var jr={class:"q-inner"},Rr={key:0,class:"f-tagline"},$r={key:0,class:"fh2"},zr={key:1,class:"f-text"},Hr=["aria-label"],Ur=[(0,o.createElementVNode)("span",{"aria-hidden":"true"},"*",-1)],Kr={key:1,class:"f-answer"},Wr={key:2,class:"f-sub"},Qr={key:0},Yr=["innerHTML"],Gr={key:2,class:"f-help"},Zr={key:3,class:"f-help"},Jr={key:3,class:"f-answer f-full-width"},Xr={key:0,class:"f-description"},ei={key:0},ti=["href","target"],ni={key:0,class:"vff-animate f-fade-in f-enter"},oi=["aria-label"],ri={key:0},ii={key:1},si={key:2},ai=["innerHTML"],li={key:1,class:"f-invalid",role:"alert","aria-live":"assertive"};var ci={class:"faux-form"},ui=["value","required"],di={key:0,label:" ",value:"",disabled:"",selected:"",hidden:""},pi=["disabled","value"],fi=(0,o.createElementVNode)("span",{class:"f-arrow-down"},[(0,o.createElementVNode)("svg",{version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"-163 254.1 284.9 284.9",style:"","xml:space":"preserve"},[(0,o.createElementVNode)("g",null,[(0,o.createElementVNode)("path",{d:"M119.1,330.6l-14.3-14.3c-1.9-1.9-4.1-2.9-6.6-2.9c-2.5,0-4.7,1-6.6,2.9L-20.5,428.5l-112.2-112.2c-1.9-1.9-4.1-2.9-6.6-2.9c-2.5,0-4.7,0.9-6.6,2.9l-14.3,14.3c-1.9,1.9-2.9,4.1-2.9,6.6c0,2.5,1,4.7,2.9,6.6l133,133c1.9,1.9,4.1,2.9,6.6,2.9s4.7-1,6.6-2.9l133.1-133c1.9-1.9,2.8-4.1,2.8-6.6C121.9,334.7,121,332.5,119.1,330.6z"})])])],-1);const hi={extends:Ae,name:Be.ce.Dropdown,computed:{answerLabel:function(){for(var e=0;e<this.question.options.length;e++){var t=this.question.options[e];if(t.choiceValue()===this.dataValue)return t.choiceLabel()}return this.question.placeholder}},methods:{onKeyDownListener:function(e){"ArrowDown"===e.key||"ArrowUp"===e.key?this.setAnswer(this.dataValue):"Enter"===e.key&&this.hasValue&&(this.focused=!1,this.blur())},onKeyUpListener:function(e){"Enter"===e.key&&this.isValid()&&!this.disabled&&(e.stopPropagation(),this._onEnter(),this.$emit("next"))}}},mi=(0,de.Z)(hi,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("span",ci,[(0,o.createElementVNode)("select",{ref:"input",class:"",value:e.dataValue,onChange:t[0]||(t[0]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),onKeydown:t[1]||(t[1]=function(){return s.onKeyDownListener&&s.onKeyDownListener.apply(s,arguments)}),onKeyup:t[2]||(t[2]=function(){return s.onKeyUpListener&&s.onKeyUpListener.apply(s,arguments)}),required:e.question.required},[e.question.required?((0,o.openBlock)(),(0,o.createElementBlock)("option",di," ")):(0,o.createCommentVNode)("",!0),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.options,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("option",{disabled:e.disabled,value:e.choiceValue(),key:"o"+t},(0,o.toDisplayString)(e.choiceLabel()),9,pi)})),128))],40,ui),(0,o.createElementVNode)("span",null,[(0,o.createElementVNode)("span",{class:(0,o.normalizeClass)(["f-empty",{"f-answered":this.question.answer&&this.question.answered}])},(0,o.toDisplayString)(s.answerLabel),3),fi])])}]]),vi={extends:jo,name:Be.ce.MultiplePictureChoice,data:function(){return{hasImages:!0}}},yi={extends:He,name:Be.ce.Number,data:function(){return{inputType:"tel",allowedChars:"-0123456789."}},methods:{validate:function(){return!(null!==this.question.min&&!isNaN(this.question.min)&&+this.dataValue<+this.question.min)&&(!(null!==this.question.max&&!isNaN(this.question.max)&&+this.dataValue>+this.question.max)&&(this.hasValue?this.question.mask?this.validateMask():!isNaN(+this.dataValue):!this.question.required||this.hasValue))}}},gi={extends:He,name:Be.ce.Password,data:function(){return{inputType:"password"}}},bi={extends:He,name:Be.ce.Phone,data:function(){return{inputType:"tel",canReceiveFocus:!0}}},_i={extends:He,name:Be.ce.Date,data:function(){return{inputType:"date"}},methods:{validate:function(){return!(this.question.min&&this.dataValue<this.question.min)&&(!(this.question.max&&this.dataValue>this.question.max)&&(!this.question.required||this.hasValue))}}};var wi=["accept","multiple","value","required"];const xi={extends:He,name:Be.ce.File,mounted:function(){this.question.accept&&(this.mimeTypeRegex=new RegExp(this.question.accept.replace("*","[^\\/,]+")))},methods:{setAnswer:function(e){this.question.setAnswer(this.files),this.answer=e,this.question.answered=this.isValid(),this.$emit("update:modelValue",e)},showInvalid:function(){return null!==this.errorMessage},validate:function(){var e=this;if(this.errorMessage=null,this.question.required&&!this.hasValue)return!1;if(this.question.accept&&!Array.from(this.files).every((function(t){return e.mimeTypeRegex.test(t.type)})))return this.errorMessage=this.language.formatString(this.language.errorAllowedFileTypes,{fileTypes:this.question.accept}),!1;if(this.question.multiple){var t=this.files.length;if(null!==this.question.min&&t<+this.question.min)return this.errorMessage=this.language.formatString(this.language.errorMinFiles,{min:this.question.min}),!1;if(null!==this.question.max&&t>+this.question.max)return this.errorMessage=this.language.formatString(this.language.errorMaxFiles,{max:this.question.max}),!1}if(null!==this.question.maxSize&&Array.from(this.files).reduce((function(e,t){return e+t.size}),0)>+this.question.maxSize)return this.errorMessage=this.language.formatString(this.language.errorMaxFileSize,{size:this.language.formatFileSize(this.question.maxSize)}),!1;return this.$refs.input.checkValidity()}},computed:{files:function(){return this.$refs.input.files}}},ki={name:"FlowFormQuestion",components:{FlowFormDateType:_i,FlowFormDropdownType:mi,FlowFormEmailType:Ht,FlowFormLongTextType:Zn,FlowFormMultipleChoiceType:jo,FlowFormMultiplePictureChoiceType:vi,FlowFormNumberType:yi,FlowFormPasswordType:gi,FlowFormPhoneType:bi,FlowFormSectionBreakType:Yo,FlowFormTextType:He,FlowFormFileType:(0,de.Z)(xi,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("input",{ref:"input",type:"file",accept:e.question.accept,multiple:e.question.multiple,value:e.modelValue,required:e.question.required,onKeyup:[t[0]||(t[0]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"]),["enter"])),t[1]||(t[1]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"]),["tab"]))],onFocus:t[2]||(t[2]=function(){return e.setFocus&&e.setFocus.apply(e,arguments)}),onBlur:t[3]||(t[3]=function(){return e.unsetFocus&&e.unsetFocus.apply(e,arguments)}),onChange:t[4]||(t[4]=function(){return e.onChange&&e.onChange.apply(e,arguments)})},null,40,wi)}]]),FlowFormUrlType:Ue,FlowFormMatrixType:In},props:{question:Be.ZP,language:Me.Z,value:[String,Array,Boolean,Number,Object],active:{type:Boolean,default:!1},reverse:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!0}},mixins:[Pe],data:function(){return{QuestionType:Be.ce,dataValue:null,debounced:!1}},mounted:function(){this.autofocus&&this.focusField(),this.dataValue=this.question.answer,this.$refs.qanimate.addEventListener("animationend",this.onAnimationEnd)},beforeUnmount:function(){this.$refs.qanimate.removeEventListener("animationend",this.onAnimationEnd)},methods:{focusField:function(){var e=this.$refs.questionComponent;e&&e.focus()},onAnimationEnd:function(){this.autofocus&&this.focusField()},shouldFocus:function(){var e=this.$refs.questionComponent;return e&&e.canReceiveFocus&&!e.focused},returnFocus:function(){this.$refs.questionComponent;this.shouldFocus()&&this.focusField()},onEnter:function(e){this.checkAnswer(this.emitAnswer)},onTab:function(e){this.checkAnswer(this.emitAnswerTab)},checkAnswer:function(e){var t=this,n=this.$refs.questionComponent;n.isValid()&&this.question.isMultipleChoiceType()&&this.question.nextStepOnAnswer&&!this.question.multiple?(this.$emit("disable",!0),this.debounce((function(){e(n),t.$emit("disable",!1)}),350)):e(n)},emitAnswer:function(e){e&&(e.focused||this.$emit("answer",e),e.onEnter())},emitAnswerTab:function(e){e&&this.question.type!==Be.ce.Date&&(this.returnFocus(),this.$emit("answer",e),e.onEnter())},debounce:function(e,t){var n;return this.debounced=!0,clearTimeout(n),void(n=setTimeout(e,t))},showOkButton:function(){var e=this.$refs.questionComponent;return this.question.type===Be.ce.SectionBreak?this.active:!this.question.required||(!(!this.question.allowOther||!this.question.other)||!(this.question.isMultipleChoiceType()&&!this.question.multiple&&this.question.nextStepOnAnswer)&&(!(!e||null===this.dataValue)&&(e.hasValue&&e.isValid())))},showSkip:function(){var e=this.$refs.questionComponent;return!(this.question.required||e&&e.hasValue)},showInvalid:function(){var e=this.$refs.questionComponent;return!(!e||null===this.dataValue)&&e.showInvalid()}},computed:{mainClasses:{cache:!1,get:function(){var e={"q-is-active":this.active,"q-is-inactive":!this.active,"f-fade-in-down":this.reverse,"f-fade-in-up":!this.reverse,"f-focused":this.$refs.questionComponent&&this.$refs.questionComponent.focused,"f-has-value":this.$refs.questionComponent&&this.$refs.questionComponent.hasValue};return e["field-"+this.question.type.toLowerCase().substring(8,this.question.type.length-4)]=!0,e}},showHelperText:function(){return!!this.question.subtitle||(this.question.type===Be.ce.LongText||this.question.type===Be.ce.MultipleChoice)&&this.question.helpTextShow},errorMessage:function(){var e=this.$refs.questionComponent;return e&&e.errorMessage?e.errorMessage:this.language.invalidPrompt}}},Ei=(0,de.Z)(ki,[["render",function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["vff-animate q-form",s.mainClasses]),ref:"qanimate"},[(0,o.createElementVNode)("div",jr,[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)({"f-section-wrap":n.question.type===i.QuestionType.SectionBreak})},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)({fh2:n.question.type!==i.QuestionType.SectionBreak})},[n.question.tagline?((0,o.openBlock)(),(0,o.createElementBlock)("span",Rr,(0,o.toDisplayString)(n.question.tagline),1)):(0,o.createCommentVNode)("",!0),n.question.title?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[n.question.type===i.QuestionType.SectionBreak?((0,o.openBlock)(),(0,o.createElementBlock)("span",$r,(0,o.toDisplayString)(n.question.title),1)):((0,o.openBlock)(),(0,o.createElementBlock)("span",zr,[(0,o.createTextVNode)((0,o.toDisplayString)(n.question.title)+"  ",1),n.question.required?((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:0,class:"f-required","aria-label":n.language.ariaRequired,role:"note"},Ur,8,Hr)):(0,o.createCommentVNode)("",!0),n.question.inline?((0,o.openBlock)(),(0,o.createElementBlock)("span",Kr,[((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(n.question.type),{ref:"questionComponent",question:n.question,language:n.language,modelValue:i.dataValue,"onUpdate:modelValue":t[0]||(t[0]=function(e){return i.dataValue=e}),active:n.active,disabled:n.disabled,onNext:s.onEnter},null,40,["question","language","modelValue","active","disabled","onNext"]))])):(0,o.createCommentVNode)("",!0)]))],64)):(0,o.createCommentVNode)("",!0),s.showHelperText?((0,o.openBlock)(),(0,o.createElementBlock)("span",Wr,[n.question.subtitle?((0,o.openBlock)(),(0,o.createElementBlock)("span",Qr,(0,o.toDisplayString)(n.question.subtitle),1)):(0,o.createCommentVNode)("",!0),n.question.type!==i.QuestionType.LongText||e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:1,class:"f-help",innerHTML:n.question.helpText||n.language.formatString(n.language.longTextHelpText)},null,8,Yr)),n.question.type===i.QuestionType.MultipleChoice&&n.question.multiple?((0,o.openBlock)(),(0,o.createElementBlock)("span",Gr,(0,o.toDisplayString)(n.question.helpText||n.language.multipleChoiceHelpText),1)):n.question.type===i.QuestionType.MultipleChoice?((0,o.openBlock)(),(0,o.createElementBlock)("span",Zr,(0,o.toDisplayString)(n.question.helpText||n.language.multipleChoiceHelpTextSingle),1)):(0,o.createCommentVNode)("",!0)])):(0,o.createCommentVNode)("",!0),n.question.inline?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",Jr,[((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(n.question.type),{ref:"questionComponent",question:n.question,language:n.language,modelValue:i.dataValue,"onUpdate:modelValue":t[1]||(t[1]=function(e){return i.dataValue=e}),active:n.active,disabled:n.disabled,onNext:s.onEnter},null,40,["question","language","modelValue","active","disabled","onNext"]))]))],2),n.question.description||0!==n.question.descriptionLink.length?((0,o.openBlock)(),(0,o.createElementBlock)("p",Xr,[n.question.description?((0,o.openBlock)(),(0,o.createElementBlock)("span",ei,(0,o.toDisplayString)(n.question.description),1)):(0,o.createCommentVNode)("",!0),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(n.question.descriptionLink,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("a",{class:"f-link",key:"m"+t,href:e.url,target:e.target},(0,o.toDisplayString)(e.text||e.url),9,ti)})),128))])):(0,o.createCommentVNode)("",!0)],2),s.showOkButton()?((0,o.openBlock)(),(0,o.createElementBlock)("div",ni,[(0,o.createElementVNode)("button",{class:"o-btn-action",type:"button",ref:"button",href:"#",onClick:t[2]||(t[2]=(0,o.withModifiers)((function(){return s.onEnter&&s.onEnter.apply(s,arguments)}),["prevent"])),"aria-label":n.language.ariaOk},[n.question.type===i.QuestionType.SectionBreak?((0,o.openBlock)(),(0,o.createElementBlock)("span",ri,(0,o.toDisplayString)(n.language.continue),1)):s.showSkip()?((0,o.openBlock)(),(0,o.createElementBlock)("span",ii,(0,o.toDisplayString)(n.language.skip),1)):((0,o.openBlock)(),(0,o.createElementBlock)("span",si,(0,o.toDisplayString)(n.language.ok),1))],8,oi),n.question.type===i.QuestionType.LongText&&e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("a",{key:0,class:"f-enter-desc",href:"#",onClick:t[3]||(t[3]=(0,o.withModifiers)((function(){return s.onEnter&&s.onEnter.apply(s,arguments)}),["prevent"])),innerHTML:n.language.formatString(n.language.pressEnter)},null,8,ai))])):(0,o.createCommentVNode)("",!0),s.showInvalid()?((0,o.openBlock)(),(0,o.createElementBlock)("div",li,(0,o.toDisplayString)(s.errorMessage),1)):(0,o.createCommentVNode)("",!0)])],2)}]]),Ci={name:"FormQuestion",extends:Ei,components:{Counter:pe,SubmitButton:Se,FlowFormUrlType:Ke,FlowFormFileType:Ot,FlowFormTextType:Ge,FlowFormRateType:Lt,FlowFormDateType:jt,FlowFormEmailType:Ut,FlowFormPhoneType:Kt,FlowFormNumberType:Wt,FlowFormHiddenType:zt,FlowFormCouponType:rn,FlowFormMatrixType:jn,FlowFormPaymentType:zn,FlowFormLongTextType:Jn,FlowFormDropdownType:Wn,FlowFormPasswordType:Xn,FlowFormReCaptchaType:no,FlowFormHCaptchaType:io,FlowFormSubscriptionType:Ho,FlowFormSectionBreakType:Zo,FlowFormPaymentMethodType:sr,FlowFormWelcomeScreenType:gr,FlowFormPaymentSummaryType:Ir,FlowFormMultipleChoiceType:$o,FlowFormTermsAndConditionType:Dr,FlowFormMultiplePictureChoiceType:{extends:$o,name:Ct.ce.MultiplePictureChoice,data:function(){return{hasImages:!0}}}},props:{isActiveForm:{type:Boolean,default:!0},lastStep:{type:Boolean,default:!1},submitting:{type:Boolean,default:!1},replaceSmartCodes:{type:Function,default:function(e){return e}}},data:function(){return{QuestionType:Ct.ce,btnFocusIn:!1}},watch:{"question.answer":{handler:function(e){this.$emit("answered",this.question)},deep:!0},active:function(e){e&&this.scrollToTop()}},methods:{onBtnFocus:function(){this.btnFocusIn=!this.btnFocusIn},focusField:function(){if(!this.isActiveForm)return!1;var e=this.$refs.questionComponent;this.active&&e&&e.canReceiveFocus&&e.focus()},checkAnswer:function(e){var t=this,n=this.$refs.questionComponent;n.isValid()&&this.question.nextStepOnAnswer&&!this.question.multiple?(this.$emit("disable",!0),this.debounce((function(){e(n),t.$emit("disable",!1)}),350)):e(n)},showOkButton:function(){var e=this.$refs.questionComponent;return this.question.type!==Ct.ce.WelcomeScreen&&"FlowFormCouponType"!==this.question.type&&(this.question.type===Ct.ce.SectionBreak?this.active:!this.question.required||(!(!this.question.allowOther||!this.question.other)||!(this.question.isMultipleChoiceType()&&!this.question.multiple&&this.question.nextStepOnAnswer&&!this.lastStep)&&(!(!e||null===this.dataValue)&&(e.hasValue&&e.isValid()))))},showInvalid:function(){var e=this.$refs.questionComponent;return!(!e||null===this.dataValue)&&(!e||this.question.multiple||this.question.is_subscription_field||(e.dirty=!0,e.enterPressed=!0),this.question.error||e.showInvalid())},onSubmit:function(e){this.$emit("submit",!0),this.onEnter(e)},emitAnswer:function(e){this.$emit("answer",e),e.onEnter()},scrollToTop:function(){var e=this;setTimeout((function(){e.$el.querySelector(".ff_conv_input").scrollTo({top:0})}),200)}},computed:{mainClasses:{cache:!1,get:function(){var e={"q-is-inactive":!this.active,"f-fade-in-down":this.reverse&&this.active,"f-fade-in-up":!this.reverse&&this.active,"f-focused":this.$refs.questionComponent&&this.$refs.questionComponent.focused,"f-has-value":this.$refs.questionComponent&&this.$refs.questionComponent.hasValue};return e["field-"+this.question.type.toLowerCase().substring(8,this.question.type.length-4)]=!0,e}},layoutClass:{cache:!1,get:function(){return this.question.style_pref.layout}},setAlignment:{cache:!1,get:function(){var e="";return null!=this.question.settings&&(e+="text-align: ".concat(this.question.settings.align,"; ")),e}},layoutStyle:{cache:!1,get:function(){return{backgroundImage:"url("+this.question.style_pref.media+")",height:"90vh",backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:this.question.style_pref.media_x_position+"px "+this.question.style_pref.media_y_position+"px"}}},brightness:function(){var e=this.question.style_pref.brightness;if(!e)return!1;var t="";return e>0&&(t+="contrast("+((100-e)/100).toFixed(2)+") "),t+"brightness("+(1+this.question.style_pref.brightness/100)+")"},imagePositionCSS:function(){return("media_right_full"==this.question.style_pref.layout||"media_left_full"==this.question.style_pref.layout)&&this.question.style_pref.media_x_position+"% "+this.question.style_pref.media_y_position+"%"}},mounted:function(){this.active&&this.scrollToTop()}},Si=(0,de.Z)(Ci,[["render",function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("flow-form-welcome-screen-type"),l=(0,o.resolveComponent)("counter"),c=(0,o.resolveComponent)("submit-button");return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["vff-animate q-form",s.mainClasses]),ref:"qanimate"},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["ff_conv_section_wrapper",["ff_conv_layout_"+s.layoutClass,e.question.container_class]])},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["ff_conv_input q-inner",[e.question.contentAlign]])},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["ffc_question",{"f-section-wrap":e.question.type===i.QuestionType.SectionBreak}])},[e.question.type===i.QuestionType.WelcomeScreen?((0,o.openBlock)(),(0,o.createBlock)(a,{key:0,ref:"questionComponent",is:e.question.type,question:e.question,language:e.language,modelValue:e.dataValue,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.dataValue=t}),active:e.active,replaceSmartCodes:n.replaceSmartCodes,disabled:e.disabled,onNext:e.onEnter,onFocusIn:s.onBtnFocus},null,8,["is","question","language","modelValue","active","replaceSmartCodes","disabled","onNext","onFocusIn"])):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)({fh2:e.question.type!==i.QuestionType.SectionBreak})},[(0,o.createElementVNode)("div",S,[[i.QuestionType.SectionBreak,i.QuestionType.Hidden].includes(e.question.type)?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)(l,{serial:e.question.counter,key:e.question.counter,isMobile:e.isMobile},null,8,["serial","isMobile"])),e.question.title?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[e.question.type===i.QuestionType.SectionBreak?((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:0,class:"fh2",innerHTML:n.replaceSmartCodes(e.question.title)},null,8,O)):((0,o.openBlock)(),(0,o.createElementBlock)("span",T,[(0,o.createElementVNode)("span",{innerHTML:n.replaceSmartCodes(e.question.title)},null,8,B),e.question.required?((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:0,class:"f-required","aria-label":e.language.ariaRequired,role:"note"},V,8,M)):(0,o.createCommentVNode)("",!0),e.question.inline?((0,o.openBlock)(),(0,o.createElementBlock)("span",N,[((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(e.question.type),{ref:"questionComponent",question:e.question,language:e.language,replaceSmartCodes:n.replaceSmartCodes,modelValue:e.dataValue,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.dataValue=t}),active:e.active,disabled:e.disabled,onNext:e.onEnter},null,40,["question","language","replaceSmartCodes","modelValue","active","disabled","onNext"]))])):(0,o.createCommentVNode)("",!0)]))],64)):(0,o.createCommentVNode)("",!0),e.question.tagline?((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:2,class:"f-tagline",innerHTML:n.replaceSmartCodes(e.question.tagline)},null,8,P)):(0,o.createCommentVNode)("",!0)]),e.question.inline?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",A,[((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(e.question.type),{ref:"questionComponent",question:e.question,language:e.language,modelValue:e.dataValue,"onUpdate:modelValue":t[2]||(t[2]=function(t){return e.dataValue=t}),replaceSmartCodes:n.replaceSmartCodes,active:e.active,disabled:e.disabled,onNext:e.onEnter},null,40,["question","language","modelValue","replaceSmartCodes","active","disabled","onNext"]))])),e.showHelperText?((0,o.openBlock)(),(0,o.createElementBlock)("span",q,[e.question.subtitle?((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:0,innerHTML:e.question.subtitle},null,8,F)):(0,o.createCommentVNode)("",!0),e.question.type!==i.QuestionType.LongText||e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:1,class:"f-help",innerHTML:e.question.helpText||e.language.formatString(e.language.longTextHelpText)},null,8,L)),e.question.type===i.QuestionType.MultipleChoice&&e.question.multiple?((0,o.openBlock)(),(0,o.createElementBlock)("span",I,(0,o.toDisplayString)(e.question.helpText||e.language.multipleChoiceHelpText),1)):e.question.type===i.QuestionType.MultipleChoice?((0,o.openBlock)(),(0,o.createElementBlock)("span",D,(0,o.toDisplayString)(e.question.helpText||e.language.multipleChoiceHelpTextSingle),1)):(0,o.createCommentVNode)("",!0)])):(0,o.createCommentVNode)("",!0)],2),e.question.description||0!==e.question.descriptionLink.length?((0,o.openBlock)(),(0,o.createElementBlock)("p",j,[e.question.description?((0,o.openBlock)(),(0,o.createElementBlock)("span",R,(0,o.toDisplayString)(n.replaceSmartCodes(e.question.description)),1)):(0,o.createCommentVNode)("",!0),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.question.descriptionLink,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("a",{class:"f-link",key:"m"+t,href:e.url,target:e.target},(0,o.toDisplayString)(e.text||e.url),9,$)})),128))])):(0,o.createCommentVNode)("",!0)],64))],2),e.active&&s.showOkButton()?((0,o.openBlock)(),(0,o.createElementBlock)("div",z,[n.lastStep?((0,o.openBlock)(),(0,o.createBlock)(c,{key:0,language:e.language,disabled:n.submitting,onSubmit:s.onSubmit,onFocusIn:s.onBtnFocus},null,8,["language","disabled","onSubmit","onFocusIn"])):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[(0,o.createElementVNode)("button",{class:(0,o.normalizeClass)(["o-btn-action",{ffc_submitting:n.submitting}]),type:"button",ref:"button",href:"#",onClick:t[3]||(t[3]=(0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"])),disabled:n.submitting,"aria-label":e.language.ariaOk,onFocusin:t[4]||(t[4]=function(){return s.onBtnFocus&&s.onBtnFocus.apply(s,arguments)}),onFocusout:t[5]||(t[5]=function(){return s.onBtnFocus&&s.onBtnFocus.apply(s,arguments)})},[n.lastStep?((0,o.openBlock)(),(0,o.createElementBlock)("span",U,(0,o.toDisplayString)(e.language.submitText),1)):e.question.type===i.QuestionType.SectionBreak?((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:1,innerHTML:e.language.continue},null,8,K)):e.showSkip()?((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:2,innerHTML:e.language.skip},null,8,W)):((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:3,innerHTML:e.language.ok},null,8,Q))],42,H),e.question.type===i.QuestionType.LongText&&e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("a",{key:0,class:"f-enter-desc",href:"#",onClick:t[6]||(t[6]=(0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"])),innerHTML:e.language.formatString(e.language.pressEnter)},null,8,Y))],64))])):(0,o.createCommentVNode)("",!0),e.active&&s.showInvalid()?((0,o.openBlock)(),(0,o.createElementBlock)("div",G,(0,o.toDisplayString)(e.question.error||e.errorMessage),1)):(0,o.createCommentVNode)("",!0)],2),"default"!=e.question.style_pref.layout?((0,o.openBlock)(),(0,o.createElementBlock)("div",Z,[(0,o.createElementVNode)("div",{style:(0,o.normalizeStyle)({filter:s.brightness}),class:(0,o.normalizeClass)(["fcc_block_media_attachment","fc_i_layout_"+e.question.style_pref.layout])},[e.question.style_pref.media?((0,o.openBlock)(),(0,o.createElementBlock)("picture",J,[(0,o.createElementVNode)("img",{style:(0,o.normalizeStyle)({"object-position":s.imagePositionCSS}),alt:e.question.style_pref.alt_text,src:e.question.style_pref.media},null,12,X)])):(0,o.createCommentVNode)("",!0)],6)])):(0,o.createCommentVNode)("",!0)],2)],2)}]]);var Oi=n(6484),Ti={class:"f-container"},Bi={class:"f-form-wrap"},Mi={key:0,class:"vff-animate f-fade-in-up field-submittype"},Vi={class:"f-section-wrap"},Ni={class:"fh2"},Pi=["aria-label"],Ai=["innerHTML"],qi={key:2,class:"text-success"},Fi={class:"vff-footer"},Li={class:"footer-inner-wrap"},Ii={class:"f-progress-bar"},Di={key:1,class:"f-nav"},ji=["aria-label"],Ri=(0,o.createElementVNode)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"42.333px",height:"28.334px",viewBox:"78.833 5.5 42.333 28.334","aria-hidden":"true"},[(0,o.createElementVNode)("path",{d:"M82.039,31.971L100,11.442l17.959,20.529L120,30.187L101.02,8.492c-0.258-0.295-0.629-0.463-1.02-0.463c-0.39,0-0.764,0.168-1.02,0.463L80,30.187L82.039,31.971z"})],-1),$i={class:"f-nav-text","aria-hidden":"true"},zi=["aria-label"],Hi=(0,o.createElementVNode)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"42.333px",height:"28.334px",viewBox:"78.833 5.5 42.333 28.334","aria-hidden":"true"},[(0,o.createElementVNode)("path",{d:"M117.963,8.031l-17.961,20.529L82.042,8.031l-2.041,1.784l18.98,21.695c0.258,0.295,0.629,0.463,1.02,0.463c0.39,0,0.764-0.168,1.02-0.463l18.98-21.695L117.963,8.031z"})],-1),Ui={class:"f-nav-text","aria-hidden":"true"},Ki={key:2,class:"f-timer"};var Wi={},Qi={methods:{getInstance:function(e){return Wi[e]},setInstance:function(){Wi[this.id]=this}}};const Yi={name:"FlowForm",components:{FlowFormQuestion:Ei},props:{questions:{type:Array,validator:function(e){return e.every((function(e){return e instanceof Be.ZP}))}},language:{type:Me.Z,default:function(){return new Me.Z}},progressbar:{type:Boolean,default:!0},standalone:{type:Boolean,default:!0},navigation:{type:Boolean,default:!0},timer:{type:Boolean,default:!1},timerStartStep:[String,Number],timerStopStep:[String,Number],autofocus:{type:Boolean,default:!0}},mixins:[Pe,Qi],data:function(){return{questionRefs:[],completed:!1,submitted:!1,activeQuestionIndex:0,questionList:[],questionListActivePath:[],reverse:!1,timerOn:!1,timerInterval:null,time:0,disabled:!1}},mounted:function(){document.addEventListener("keydown",this.onKeyDownListener),document.addEventListener("keyup",this.onKeyUpListener,!0),window.addEventListener("beforeunload",this.onBeforeUnload),this.setQuestions(),this.checkTimer()},beforeUnmount:function(){document.removeEventListener("keydown",this.onKeyDownListener),document.removeEventListener("keyup",this.onKeyUpListener,!0),window.removeEventListener("beforeunload",this.onBeforeUnload),this.stopTimer()},beforeUpdate:function(){this.questionRefs=[]},computed:{numActiveQuestions:function(){return this.questionListActivePath.length},activeQuestion:function(){return this.questionListActivePath[this.activeQuestionIndex]},activeQuestionId:function(){var e=this.questionModels[this.activeQuestionIndex];return this.isOnLastStep?"_submit":e&&e.id?e.id:null},numCompletedQuestions:function(){var e=0;return this.questionListActivePath.forEach((function(t){t.answered&&++e})),e},percentCompleted:function(){return this.numActiveQuestions?Math.floor(this.numCompletedQuestions/this.numActiveQuestions*100):0},isOnLastStep:function(){return this.numActiveQuestions>0&&this.activeQuestionIndex===this.questionListActivePath.length},isOnTimerStartStep:function(){return this.activeQuestionId===this.timerStartStep||!this.timerOn&&!this.timerStartStep&&0===this.activeQuestionIndex},isOnTimerStopStep:function(){return!!this.submitted||this.activeQuestionId===this.timerStopStep},questionModels:{cache:!1,get:function(){var e=this;if(this.questions&&this.questions.length)return this.questions;var t=[];if(!this.questions){var n={options:Be.L1,descriptionLink:Be.fB},o=this.$slots.default(),r=null;o&&o.length&&((r=o[0].children)||(r=o)),r&&r.filter((function(e){return e.type&&-1!==e.type.name.indexOf("Question")})).forEach((function(o){var r=o.props,i=e.getInstance(r.id),s=new Be.ZP;null!==i.question&&(s=i.question),r.modelValue&&(s.answer=r.modelValue),Object.keys(s).forEach((function(e){if(void 0!==r[e])if("boolean"==typeof s[e])s[e]=!1!==r[e];else if(e in n){var t=n[e],o=[];r[e].forEach((function(e){var n=new t;Object.keys(n).forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),o.push(n)})),s[e]=o}else if("type"===e){if(-1!==Object.values(Be.ce).indexOf(r[e]))s[e]=r[e];else for(var i in Be.ce)if(i.toLowerCase()===r[e].toLowerCase()){s[e]=Be.ce[i];break}}else s[e]=r[e]})),i.question=s,s.resetOptions(),t.push(s)}))}return t}},isCalculable:function(){var e,t;return!(null===(e=this.globalVars)||void 0===e||!e.hasPro||null===(t=this.activeQuestion)||void 0===t||!t.calc_value_status)}},methods:{setQuestionRef:function(e){this.questionRefs.push(e)},activeQuestionComponent:function(){return this.questionRefs[this.activeQuestionIndex]},setQuestions:function(){this.setQuestionListActivePath(),this.setQuestionList()},setQuestionListActivePath:function(){var e=this,t=[];if(this.questionModels.length){var n,o=0,r=0,i=this.activeQuestionIndex,s=function(){var s=e.questionModels[o];if(t.some((function(e){return e===s})))return"break";if(s.setIndex(r),s.language=e.language,t.push(s),s.jump)if(s.answered)if(n=s.getJumpId())if("_submit"===n)o=e.questionModels.length;else for(var a=function(r){if(e.questionModels[r].id===n)return r<o&&t.some((function(t){return t===e.questionModels[r]}))?(s.answered=!1,i=r,++o):o=r,"break"},l=0;l<e.questionModels.length;l++){if("break"===a(l))break}else++o;else o=e.questionModels.length;else++o;++r};do{if("break"===s())break}while(o<this.questionModels.length);this.questionListActivePath=t,this.goToQuestion(i)}},setQuestionList:function(){for(var e=[],t=0;t<this.questionListActivePath.length;t++){var n=this.questionListActivePath[t];if(e.push(n),!n.answered){this.completed&&(this.completed=!1);break}}this.questionList=e},onBeforeUnload:function(e){this.activeQuestionIndex>0&&!this.submitted&&(e.preventDefault(),e.returnValue="")},onKeyDownListener:function(e){if("Tab"===e.key&&!this.submitted)if(e.shiftKey)e.stopPropagation(),e.preventDefault(),this.navigation&&this.goToPreviousQuestion();else{var t=this.activeQuestionComponent();t.shouldFocus()?(e.preventDefault(),t.focusField()):(e.stopPropagation(),this.emitTab(),this.reverse=!1)}},onKeyUpListener:function(e){if(!e.shiftKey&&-1!==["Tab","Enter"].indexOf(e.key)&&!this.submitted){var t=this.activeQuestionComponent();"Tab"===e.key&&t.shouldFocus()?t.focusField():("Enter"===e.key&&this.emitEnter(),e.stopPropagation(),this.reverse=!1)}},emitEnter:function(){if(!this.disabled){var e=this.activeQuestionComponent();e?e.onEnter():this.completed&&this.isOnLastStep&&this.submit()}},emitTab:function(){var e=this.activeQuestionComponent();e?e.onTab():this.emitEnter()},submit:function(){this.emitSubmit(),this.submitted=!0},emitComplete:function(){this.$emit("complete",this.completed,this.questionList)},emitSubmit:function(){this.$emit("submit",this.questionList)},isNextQuestionAvailable:function(){if(this.submitted)return!1;var e=this.activeQuestion;return!(!e||e.required)||(!(!this.completed||this.isOnLastStep)||this.activeQuestionIndex<this.questionList.length-1)},onQuestionAnswered:function(e){var t=this;e.isValid()?(this.$emit("answer",e.question),this.activeQuestionIndex<this.questionListActivePath.length&&++this.activeQuestionIndex,this.$nextTick((function(){t.reverse=!1,t.setQuestions(),t.checkTimer(),t.$nextTick((function(){var e=t.activeQuestionComponent();e?(t.autofocus&&e.focusField(),t.activeQuestionIndex=e.question.index):t.isOnLastStep&&(t.completed=!0,t.activeQuestionIndex=t.questionListActivePath.length,t.$refs.button&&t.$refs.button.focus()),t.$emit("step",t.activeQuestionId,t.activeQuestion)}))}))):this.completed&&(this.completed=!1)},goToPreviousQuestion:function(){this.blurFocus(),this.activeQuestionIndex>0&&!this.submitted&&(this.isOnTimerStopStep&&this.startTimer(),--this.activeQuestionIndex,this.reverse=!0,this.checkTimer())},goToNextQuestion:function(){this.blurFocus(),this.isNextQuestionAvailable()&&this.emitEnter(),this.reverse=!1},goToQuestion:function(e){if(isNaN(+e)){var t=this.activeQuestionIndex;this.questionListActivePath.forEach((function(n,o){n.id===e&&(t=o)})),e=t}if(e!==this.activeQuestionIndex&&(this.blurFocus(),!this.submitted&&e<=this.questionListActivePath.length-1)){do{if(this.questionListActivePath.slice(0,e).every((function(e){return e.answered})))break;--e}while(e>0);this.reverse=e<this.activeQuestionIndex,this.activeQuestionIndex=e,this.checkTimer()}},blurFocus:function(){document.activeElement&&document.activeElement.blur&&document.activeElement.blur()},checkTimer:function(){this.timer&&(this.isOnTimerStartStep?this.startTimer():this.isOnTimerStopStep&&this.stopTimer())},startTimer:function(){this.timer&&!this.timerOn&&(this.timerInterval=setInterval(this.incrementTime,1e3),this.timerOn=!0)},stopTimer:function(){this.timerOn&&clearInterval(this.timerInterval),this.timerOn=!1},incrementTime:function(){++this.time,this.$emit("timer",this.time,this.formatTime(this.time))},formatTime:function(e){var t=14,n=5;return e>=3600&&(t=11,n=8),new Date(1e3*e).toISOString().substr(t,n)},setDisabled:function(e){this.disabled=e},reset:function(){this.questionModels.forEach((function(e){return e.resetAnswer()})),this.goToQuestion(0)}},watch:{completed:function(){this.emitComplete()},submitted:function(){this.stopTimer()}}},Gi=(0,de.Z)(Yi,[["render",function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("flow-form-question");return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["vff",{"vff-not-standalone":!n.standalone,"vff-is-mobile":e.isMobile,"vff-is-ios":e.isIos}])},[(0,o.createElementVNode)("div",Ti,[(0,o.createElementVNode)("div",Bi,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(i.questionList,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)(a,{ref_for:!0,ref:s.setQuestionRef,question:e,language:n.language,key:"q"+t,active:e.index===i.activeQuestionIndex,modelValue:e.answer,"onUpdate:modelValue":function(t){return e.answer=t},onAnswer:s.onQuestionAnswered,reverse:i.reverse,disabled:i.disabled,onDisable:s.setDisabled,autofocus:n.autofocus},null,8,["question","language","active","modelValue","onUpdate:modelValue","onAnswer","reverse","disabled","onDisable","autofocus"])})),128)),(0,o.renderSlot)(e.$slots,"default"),s.isOnLastStep?((0,o.openBlock)(),(0,o.createElementBlock)("div",Mi,[(0,o.renderSlot)(e.$slots,"complete",{},(function(){return[(0,o.createElementVNode)("div",Vi,[(0,o.createElementVNode)("p",null,[(0,o.createElementVNode)("span",Ni,(0,o.toDisplayString)(n.language.thankYouText),1)])])]})),(0,o.renderSlot)(e.$slots,"completeButton",{},(function(){return[i.submitted?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:0,class:"o-btn-action",ref:"button",type:"button",href:"#",onClick:t[0]||(t[0]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"])),"aria-label":n.language.ariaSubmitText},[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(n.language.submitText),1)],8,Pi)),i.submitted?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("a",{key:1,class:"f-enter-desc",href:"#",onClick:t[1]||(t[1]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"])),innerHTML:n.language.formatString(n.language.pressEnter)},null,8,Ai)),i.submitted?((0,o.openBlock)(),(0,o.createElementBlock)("p",qi,(0,o.toDisplayString)(n.language.successText),1)):(0,o.createCommentVNode)("",!0)]}))])):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",Fi,[(0,o.createElementVNode)("div",Li,[n.progressbar?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:(0,o.normalizeClass)(["f-progress",{"not-started":0===s.percentCompleted,completed:100===s.percentCompleted}])},[(0,o.createElementVNode)("div",Ii,[(0,o.createElementVNode)("div",{class:"f-progress-bar-inner",style:(0,o.normalizeStyle)("width: "+s.percentCompleted+"%;")},null,4)]),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(n.language.percentCompleted.replace(":percent",s.percentCompleted)),1)],2)):(0,o.createCommentVNode)("",!0),n.navigation?((0,o.openBlock)(),(0,o.createElementBlock)("div",Di,[(0,o.createElementVNode)("a",{class:(0,o.normalizeClass)(["f-prev",{"f-disabled":0===i.activeQuestionIndex||i.submitted}]),href:"#",onClick:t[2]||(t[2]=(0,o.withModifiers)((function(e){return s.goToPreviousQuestion()}),["prevent"])),role:"button","aria-label":n.language.ariaPrev},[Ri,(0,o.createElementVNode)("span",$i,(0,o.toDisplayString)(n.language.prev),1)],10,ji),(0,o.createElementVNode)("a",{class:(0,o.normalizeClass)(["f-next",{"f-disabled":!s.isNextQuestionAvailable()}]),href:"#",onClick:t[3]||(t[3]=(0,o.withModifiers)((function(e){return s.goToNextQuestion()}),["prevent"])),role:"button","aria-label":n.language.ariaNext},[Hi,(0,o.createElementVNode)("span",Ui,(0,o.toDisplayString)(n.language.next),1)],10,zi)])):(0,o.createCommentVNode)("",!0),n.timer?((0,o.openBlock)(),(0,o.createElementBlock)("div",Ki,[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(s.formatTime(i.time)),1)])):(0,o.createCommentVNode)("",!0)])])],2)}]]);var Zi=n(3356),Ji=[{type:8,token:"round",show:"round",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t||0===t||(t=2),e=parseFloat(e).toFixed(t),parseFloat(e)}},{type:0,token:"ceil",show:"ceil",value:function(e){return Math.ceil(e)}},{type:0,token:"floor",show:"floor",value:function(e){return Math.floor(e)}},{type:0,token:"abs",show:"abs",value:function(e){return Math.abs(e)}},{type:8,token:"max",show:"max",value:function(e,t){return e>t?e:t}},{type:8,token:"min",show:"min",value:function(e,t){return e<t?e:t}}];function Xi(e,t){for(var n,o=[],r=RegExp(e,"g");n=r.exec(t);)delete n.input,o.push(n);return o}function es(e,t){return-1!==e.indexOf(t)}function ts(e,t){var n=new RegExp(t+"|}","g");return e.replace(n,"")}try{mexp.addToken(Ji)}catch(e){console.log("".concat(e))}function ns(e){e.forEach((function(t){var n;if(null!=t&&null!==(n=t.calculation_settings)&&void 0!==n&&n.status){var o=t.calculation_settings.formula,r=Xi(/{(.*?)}/g,o),i={};for(var s in r.forEach((function(t){var n=t[0];["{input.","{select.","{checkbox.","{radio.","{payment."].forEach((function(t){if(es(n,t)){var o,r=ts(n,t),s=e.find((function(e){return e.name===r}));o=["{select.","{checkbox.","{radio.","{payment."].includes(t)?function(e,t){if(!e)return 0;return e.options.filter((function(t){return t.value===e.answer||e.multiple&&e.answer.includes(t.value)})).reduce((function(e,n){var o;return(o="{payment."===t?n.value:n.calc_value)&&(e+=parseInt(o)||0),e}),0)}(s,t):s.answer,i[n]=o}}))})),i){var a=i[s]||0;o=o.split(s).join(a).replace(/\n/g,"")}var l="";try{l=mexp.eval(o),isNaN(l)&&(l=""),t.answer=l}catch(e){console.log("".concat(e))}}}))}function os(e){return os="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},os(e)}const rs={name:"Form",extends:Gi,components:{FormQuestion:Si,SubmitButton:Se},props:{language:{type:Oi.Z,default:function(){return new Oi.Z}},submitting:{type:Boolean,default:!1},isActiveForm:{type:Boolean,default:!0},globalVars:{Type:Object,default:{}}},data:function(){var e;return{formData:{},hasPro:!(null===(e=this.globalVars)||void 0===e||!e.hasPro),submitClicked:!1}},computed:{numActiveQuestions:function(){var e=0;return this.questionListActivePath.forEach((function(t){[Ct.ce.WelcomeScreen,Ct.ce.SectionBreak,Ct.ce.Hidden].includes(t.type)||++e})),e},numCompletedQuestions:function(){var e=0;return this.questionListActivePath.forEach((function(t){![Ct.ce.WelcomeScreen,Ct.ce.SectionBreak,Ct.ce.Hidden].includes(t.type)&&t.answered&&++e})),e},isOnLastStep:function(){return this.numActiveQuestions>0&&this.activeQuestionIndex===this.questionListActivePath.length-1},hasImageLayout:function(){if(this.questionListActivePath[this.activeQuestionIndex])return"default"!=this.questionListActivePath[this.activeQuestionIndex].style_pref.layout},vffClasses:function(){var e=[];if(this.standalone||e.push("vff-not-standalone"),this.isMobile&&e.push("vff-is-mobile"),this.isIos&&e.push("vff-is-ios"),this.hasImageLayout?e.push("has-img-layout"):e.push("has-default-layout"),this.questionListActivePath[this.activeQuestionIndex]){var t=this.questionListActivePath[this.activeQuestionIndex].style_pref;e.push("vff_layout_"+t.layout)}else e.push("vff_layout_default");return this.isOnLastStep&&e.push("ffc_last_step"),e}},methods:{onKeyDownListener:function(e){if(-1!==["Tab","Enter"].indexOf(e.key)&&!this.submitted){var t=this.activeQuestionComponent();if(e.shiftKey)"Tab"===e.key&&(t.btnFocusIn&&t.shouldFocus()?(t.focusField(),e.stopPropagation(),e.preventDefault()):this.navigation&&t.$refs.questionComponent.shouldPrev()&&(this.goToPreviousQuestion(),e.stopPropagation(),e.preventDefault()));else if("Enter"===e.key||t.btnFocusIn){if(e.stopPropagation(),e.preventDefault(),"Tab"===e.key&&this.isOnLastStep)return;this.emitEnter()}}},onKeyUpListener:function(e){},setQuestionListActivePath:function(){var e=[];if(this.questionModels.length){var t={};this.questionModels.forEach((function(e){e.name&&(t[e.name]=(0,Zi.h)(e.answer,e))}));var n,o=0,r=0,i=0;do{var s=this.questionModels[o];if(s.showQuestion(t)){if(s.setIndex(r),s.language=this.language,[Ct.ce.WelcomeScreen,Ct.ce.SectionBreak].includes(s.type)||(++i,s.setCounter(i)),e.push(s),s.jump)if(s.answered)if(n=s.getJumpId()){if("_submit"===n)o=this.questionModels.length;else for(var a=0;a<this.questionModels.length;a++)if(this.questionModels[a].id===n){o=a;break}}else++o;else o=this.questionModels.length;else++o;++r}else++o}while(o<this.questionModels.length);this.questionListActivePath=e}},setQuestionList:function(){for(var e=[],t=0;t<this.questionListActivePath.length;t++){var n=this.questionListActivePath[t];e.push(n),this.formData[n.name]=n.answer,n.answered||this.completed&&(this.completed=!1)}this.questionList=e},emitEnter:function(){if(!this.disabled){var e=this.activeQuestionComponent();e?this.isOnLastStep?e.onSubmit():e.onEnter():this.completed&&this.isOnLastStep&&this.submit()}},emitSubmit:function(){this.submitting||this.$emit("submit",this.questionList)},onQuestionAnswered:function(e){var t=this;e.isValid()?(this.$emit("answer",e),this.activeQuestionIndex<this.questionListActivePath.length-1&&++this.activeQuestionIndex,this.$nextTick((function(){t.reverse=!1,t.setQuestionList(),t.checkTimer(),t.$nextTick((function(){var e=t.activeQuestionComponent();e&&!t.submitClicked?(e.focusField(),t.activeQuestionIndex=e.question.index,e.dataValue=e.question.answer,e.$refs.questionComponent.dataValue=e.$refs.questionComponent.answer=e.question.answer,t.$emit("step",t.activeQuestionId,t.activeQuestion)):(t.completed=!0,t.$refs.button&&t.$refs.button.focus(),t.submit())}))}))):this.completed&&(this.completed=!1)},replaceSmartCodes:function(e){if(!e||-1==e.indexOf("{dynamic."))return e;for(var t=/{dynamic.(.*?)}/g,n=!1,o=e;n=t.exec(e);){var r=n[1],i="",s=r.split("|");2===s.length&&(r=s[0],i=s[1]);var a=this.formData[r];a?"object"==os(a)&&(a=a.join(", ")):a=i,o=o.replace(n[0],a)}return o},onQuestionAnswerChanged:function(){this.isCalculable&&this.calculation(),this.setQuestionListActivePath()},isNextQuestionAvailable:function(){if(this.submitted)return!1;var e=this.activeQuestion;return!(e&&e.required&&!e.answered)&&(!(!e||e.required||this.isOnLastStep)||(!(!this.completed||this.isOnLastStep)||this.activeQuestionIndex<this.questionList.length-1))},onSubmit:function(){this.submitClicked=!0},isQuestionOnLastStep:function(e){return this.numActiveQuestions>0&&e===this.questionListActivePath.length-1},calculation:function(){this.hasPro&&ns(this.questionList)}},watch:{activeQuestionIndex:function(e){this.$emit("activeQuestionIndexChanged",e)}},mounted:function(){this.calculation()}},is=(0,de.Z)(rs,[["render",function(e,t,n,S,O,T){var B=(0,o.resolveComponent)("form-question");return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["vff",T.vffClasses])},[(0,o.createElementVNode)("div",r,[(0,o.createElementVNode)("div",i,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.questionList,(function(t,r){return(0,o.openBlock)(),(0,o.createBlock)(B,{ref_for:!0,ref:e.setQuestionRef,question:t,language:n.language,isActiveForm:n.isActiveForm,key:"q"+r,active:t.index===e.activeQuestionIndex,modelValue:t.answer,"onUpdate:modelValue":function(e){return t.answer=e},onAnswer:T.onQuestionAnswered,reverse:e.reverse,disabled:e.disabled,onDisable:e.setDisabled,submitting:n.submitting,lastStep:T.isQuestionOnLastStep(r),replaceSmartCodes:T.replaceSmartCodes,onAnswered:T.onQuestionAnswerChanged,onSubmit:T.onSubmit},null,8,["question","language","isActiveForm","active","modelValue","onUpdate:modelValue","onAnswer","reverse","disabled","onDisable","submitting","lastStep","replaceSmartCodes","onAnswered","onSubmit"])})),128)),(0,o.renderSlot)(e.$slots,"default"),T.isOnLastStep?((0,o.openBlock)(),(0,o.createElementBlock)("div",s,[(0,o.renderSlot)(e.$slots,"complete",{},(function(){return[(0,o.createElementVNode)("div",a,[(0,o.createElementVNode)("p",null,[(0,o.createElementVNode)("span",l,(0,o.toDisplayString)(n.language.thankYouText),1)])])]})),(0,o.renderSlot)(e.$slots,"completeButton",{},(function(){return[e.submitted?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:0,class:(0,o.normalizeClass)(["o-btn-action",{ffc_submitting:n.submitting}]),ref:"button",type:"button",href:"#",disabled:n.submitting,onClick:t[0]||(t[0]=(0,o.withModifiers)((function(t){return e.submit()}),["prevent"])),"aria-label":n.language.ariaSubmitText},[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(n.language.submitText),1)],10,c)),e.submitted?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("a",{key:1,class:"f-enter-desc",href:"#",onClick:t[1]||(t[1]=(0,o.withModifiers)((function(t){return e.submit()}),["prevent"])),innerHTML:n.language.formatString(n.language.pressEnter)},null,8,u)),e.submitted?((0,o.openBlock)(),(0,o.createElementBlock)("p",d,(0,o.toDisplayString)(n.language.successText),1)):(0,o.createCommentVNode)("",!0)]}))])):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",p,[(0,o.createElementVNode)("div",f,[e.progressbar?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:(0,o.normalizeClass)(["f-progress",{"not-started":0===e.percentCompleted,completed:100===e.percentCompleted}])},[n.language.percentCompleted?((0,o.openBlock)(),(0,o.createElementBlock)("span",h,(0,o.toDisplayString)(n.language.percentCompleted.replace("{percent}",e.percentCompleted).replace("{step}",T.numCompletedQuestions).replace("{total}",T.numActiveQuestions)),1)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",m,[(0,o.createElementVNode)("div",{class:"f-progress-bar-inner",style:(0,o.normalizeStyle)("width: "+e.percentCompleted+"%;")},null,4)])],2)):(0,o.createCommentVNode)("",!0),e.navigation?((0,o.openBlock)(),(0,o.createElementBlock)("div",v,["yes"!=n.globalVars.design.disable_branding?((0,o.openBlock)(),(0,o.createElementBlock)("a",y,g)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("a",{class:(0,o.normalizeClass)(["f-prev",{"f-disabled":0===e.activeQuestionIndex||e.submitted}]),href:"#",onClick:t[2]||(t[2]=(0,o.withModifiers)((function(t){return e.goToPreviousQuestion()}),["prevent"])),role:"button","aria-label":n.language.ariaPrev},[_,(0,o.createElementVNode)("span",w,(0,o.toDisplayString)(n.language.prev),1)],10,b),(0,o.createElementVNode)("a",{class:(0,o.normalizeClass)(["f-next",{"f-disabled":!T.isNextQuestionAvailable()}]),href:"#",onClick:t[3]||(t[3]=(0,o.withModifiers)((function(e){return T.emitEnter()}),["prevent"])),role:"button","aria-label":n.language.ariaNext},[k,(0,o.createElementVNode)("span",E,(0,o.toDisplayString)(n.language.next),1)],10,x)])):(0,o.createCommentVNode)("",!0),e.timer?((0,o.openBlock)(),(0,o.createElementBlock)("div",C,[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(e.formatTime(e.time)),1)])):(0,o.createCommentVNode)("",!0)])])],2)}]])},5460:e=>{e.exports={"#":{pattern:/\d/},X:{pattern:/[0-9a-zA-Z]/},S:{pattern:/[a-zA-Z]/},A:{pattern:/[a-zA-Z]/,transform:e=>e.toLocaleUpperCase()},a:{pattern:/[a-zA-Z]/,transform:e=>e.toLocaleLowerCase()},"!":{escape:!0}}},4865:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BaseTransition:()=>fn,Comment:()=>er,EffectScope:()=>s,Fragment:()=>Jo,KeepAlive:()=>Cn,ReactiveEffect:()=>_,Static:()=>tr,Suspense:()=>Wt,Teleport:()=>Zo,Text:()=>Xo,Transition:()=>Wi,TransitionGroup:()=>ds,VueElement:()=>ji,callWithAsyncErrorHandling:()=>nt,callWithErrorHandling:()=>tt,camelize:()=>r.camelize,capitalize:()=>r.capitalize,cloneVNode:()=>xr,compatUtils:()=>bi,compile:()=>Pu,computed:()=>Xr,createApp:()=>zs,createBlock:()=>dr,createCommentVNode:()=>Cr,createElementBlock:()=>ur,createElementVNode:()=>gr,createHydrationRenderer:()=>zo,createPropsRestProxy:()=>li,createRenderer:()=>$o,createSSRApp:()=>Hs,createSlots:()=>to,createStaticVNode:()=>Er,createTextVNode:()=>kr,createVNode:()=>br,customRef:()=>Ke,defineAsyncComponent:()=>xn,defineComponent:()=>_n,defineCustomElement:()=>Li,defineEmits:()=>ti,defineExpose:()=>ni,defineProps:()=>ei,defineSSRCustomElement:()=>Ii,devtools:()=>St,effect:()=>x,effectScope:()=>a,getCurrentInstance:()=>qr,getCurrentScope:()=>c,getTransitionRawChildren:()=>bn,guardReactiveProps:()=>wr,h:()=>ui,handleError:()=>ot,hydrate:()=>$s,initCustomFormatter:()=>fi,initDirectivesForSSR:()=>Ws,inject:()=>en,isMemoSame:()=>mi,isProxy:()=>Be,isReactive:()=>Se,isReadonly:()=>Oe,isRef:()=>Fe,isRuntimeOnly:()=>Ur,isShallow:()=>Te,isVNode:()=>pr,markRaw:()=>Ve,mergeDefaults:()=>ai,mergeProps:()=>Br,nextTick:()=>yt,normalizeClass:()=>r.normalizeClass,normalizeProps:()=>r.normalizeProps,normalizeStyle:()=>r.normalizeStyle,onActivated:()=>On,onBeforeMount:()=>qn,onBeforeUnmount:()=>Dn,onBeforeUpdate:()=>Ln,onDeactivated:()=>Tn,onErrorCaptured:()=>Hn,onMounted:()=>Fn,onRenderTracked:()=>zn,onRenderTriggered:()=>$n,onScopeDispose:()=>u,onServerPrefetch:()=>Rn,onUnmounted:()=>jn,onUpdated:()=>In,openBlock:()=>rr,popScopeId:()=>Lt,provide:()=>Xt,proxyRefs:()=>He,pushScopeId:()=>Ft,queuePostFlushCb:()=>wt,reactive:()=>we,readonly:()=>ke,ref:()=>Le,registerRuntimeCompiler:()=>Hr,render:()=>Rs,renderList:()=>eo,renderSlot:()=>no,resolveComponent:()=>Qn,resolveDirective:()=>Zn,resolveDynamicComponent:()=>Gn,resolveFilter:()=>gi,resolveTransitionHooks:()=>mn,setBlockTracking:()=>lr,setDevtoolsHook:()=>Bt,setTransitionHooks:()=>gn,shallowReactive:()=>xe,shallowReadonly:()=>Ee,shallowRef:()=>Ie,ssrContextKey:()=>di,ssrUtils:()=>yi,stop:()=>k,toDisplayString:()=>r.toDisplayString,toHandlerKey:()=>r.toHandlerKey,toHandlers:()=>ro,toRaw:()=>Me,toRef:()=>Ye,toRefs:()=>We,transformVNodeArgs:()=>hr,triggerRef:()=>Re,unref:()=>$e,useAttrs:()=>ii,useCssModule:()=>Ri,useCssVars:()=>$i,useSSRContext:()=>pi,useSlots:()=>ri,useTransitionState:()=>dn,vModelCheckbox:()=>bs,vModelDynamic:()=>Ss,vModelRadio:()=>ws,vModelSelect:()=>xs,vModelText:()=>gs,vShow:()=>As,version:()=>vi,warn:()=>Je,watch:()=>sn,watchEffect:()=>tn,watchPostEffect:()=>nn,watchSyncEffect:()=>on,withAsyncContext:()=>ci,withCtx:()=>Dt,withDefaults:()=>oi,withDirectives:()=>Un,withKeys:()=>Ps,withMemo:()=>hi,withModifiers:()=>Vs,withScopeId:()=>It});var o={};n.r(o),n.d(o,{BaseTransition:()=>fn,Comment:()=>er,EffectScope:()=>s,Fragment:()=>Jo,KeepAlive:()=>Cn,ReactiveEffect:()=>_,Static:()=>tr,Suspense:()=>Wt,Teleport:()=>Zo,Text:()=>Xo,Transition:()=>Wi,TransitionGroup:()=>ds,VueElement:()=>ji,callWithAsyncErrorHandling:()=>nt,callWithErrorHandling:()=>tt,camelize:()=>r.camelize,capitalize:()=>r.capitalize,cloneVNode:()=>xr,compatUtils:()=>bi,computed:()=>Xr,createApp:()=>zs,createBlock:()=>dr,createCommentVNode:()=>Cr,createElementBlock:()=>ur,createElementVNode:()=>gr,createHydrationRenderer:()=>zo,createPropsRestProxy:()=>li,createRenderer:()=>$o,createSSRApp:()=>Hs,createSlots:()=>to,createStaticVNode:()=>Er,createTextVNode:()=>kr,createVNode:()=>br,customRef:()=>Ke,defineAsyncComponent:()=>xn,defineComponent:()=>_n,defineCustomElement:()=>Li,defineEmits:()=>ti,defineExpose:()=>ni,defineProps:()=>ei,defineSSRCustomElement:()=>Ii,devtools:()=>St,effect:()=>x,effectScope:()=>a,getCurrentInstance:()=>qr,getCurrentScope:()=>c,getTransitionRawChildren:()=>bn,guardReactiveProps:()=>wr,h:()=>ui,handleError:()=>ot,hydrate:()=>$s,initCustomFormatter:()=>fi,initDirectivesForSSR:()=>Ws,inject:()=>en,isMemoSame:()=>mi,isProxy:()=>Be,isReactive:()=>Se,isReadonly:()=>Oe,isRef:()=>Fe,isRuntimeOnly:()=>Ur,isShallow:()=>Te,isVNode:()=>pr,markRaw:()=>Ve,mergeDefaults:()=>ai,mergeProps:()=>Br,nextTick:()=>yt,normalizeClass:()=>r.normalizeClass,normalizeProps:()=>r.normalizeProps,normalizeStyle:()=>r.normalizeStyle,onActivated:()=>On,onBeforeMount:()=>qn,onBeforeUnmount:()=>Dn,onBeforeUpdate:()=>Ln,onDeactivated:()=>Tn,onErrorCaptured:()=>Hn,onMounted:()=>Fn,onRenderTracked:()=>zn,onRenderTriggered:()=>$n,onScopeDispose:()=>u,onServerPrefetch:()=>Rn,onUnmounted:()=>jn,onUpdated:()=>In,openBlock:()=>rr,popScopeId:()=>Lt,provide:()=>Xt,proxyRefs:()=>He,pushScopeId:()=>Ft,queuePostFlushCb:()=>wt,reactive:()=>we,readonly:()=>ke,ref:()=>Le,registerRuntimeCompiler:()=>Hr,render:()=>Rs,renderList:()=>eo,renderSlot:()=>no,resolveComponent:()=>Qn,resolveDirective:()=>Zn,resolveDynamicComponent:()=>Gn,resolveFilter:()=>gi,resolveTransitionHooks:()=>mn,setBlockTracking:()=>lr,setDevtoolsHook:()=>Bt,setTransitionHooks:()=>gn,shallowReactive:()=>xe,shallowReadonly:()=>Ee,shallowRef:()=>Ie,ssrContextKey:()=>di,ssrUtils:()=>yi,stop:()=>k,toDisplayString:()=>r.toDisplayString,toHandlerKey:()=>r.toHandlerKey,toHandlers:()=>ro,toRaw:()=>Me,toRef:()=>Ye,toRefs:()=>We,transformVNodeArgs:()=>hr,triggerRef:()=>Re,unref:()=>$e,useAttrs:()=>ii,useCssModule:()=>Ri,useCssVars:()=>$i,useSSRContext:()=>pi,useSlots:()=>ri,useTransitionState:()=>dn,vModelCheckbox:()=>bs,vModelDynamic:()=>Ss,vModelRadio:()=>ws,vModelSelect:()=>xs,vModelText:()=>gs,vShow:()=>As,version:()=>vi,warn:()=>Je,watch:()=>sn,watchEffect:()=>tn,watchPostEffect:()=>nn,watchSyncEffect:()=>on,withAsyncContext:()=>ci,withCtx:()=>Dt,withDefaults:()=>oi,withDirectives:()=>Un,withKeys:()=>Ps,withMemo:()=>hi,withModifiers:()=>Vs,withScopeId:()=>It});var r=n(3577);let i;class s{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&i&&(this.parent=i,this.index=(i.scopes||(i.scopes=[])).push(this)-1)}run(e){if(this.active){const t=i;try{return i=this,e()}finally{i=t}}else 0}on(){i=this}off(){i=this.parent}stop(e){if(this.active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}function a(e){return new s(e)}function l(e,t=i){t&&t.active&&t.effects.push(e)}function c(){return i}function u(e){i&&i.cleanups.push(e)}const d=e=>{const t=new Set(e);return t.w=0,t.n=0,t},p=e=>(e.w&v)>0,f=e=>(e.n&v)>0,h=new WeakMap;let m=0,v=1;let y;const g=Symbol(""),b=Symbol("");class _{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,l(this,n)}run(){if(!this.active)return this.fn();let e=y,t=E;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=y,y=this,E=!0,v=1<<++m,m<=30?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=v})(this):w(this),this.fn()}finally{m<=30&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];p(r)&&!f(r)?r.delete(e):t[n++]=r,r.w&=~v,r.n&=~v}t.length=n}})(this),v=1<<--m,y=this.parent,E=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){y===this?this.deferStop=!0:this.active&&(w(this),this.onStop&&this.onStop(),this.active=!1)}}function w(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function x(e,t){e.effect&&(e=e.effect.fn);const n=new _(e);t&&((0,r.extend)(n,t),t.scope&&l(n,t.scope)),t&&t.lazy||n.run();const o=n.run.bind(n);return o.effect=n,o}function k(e){e.effect.stop()}let E=!0;const C=[];function S(){C.push(E),E=!1}function O(){const e=C.pop();E=void 0===e||e}function T(e,t,n){if(E&&y){let t=h.get(e);t||h.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=d());B(o,void 0)}}function B(e,t){let n=!1;m<=30?f(e)||(e.n|=v,n=!p(e)):n=!e.has(y),n&&(e.add(y),y.deps.push(e))}function M(e,t,n,o,i,s){const a=h.get(e);if(!a)return;let l=[];if("clear"===t)l=[...a.values()];else if("length"===n&&(0,r.isArray)(e))a.forEach(((e,t)=>{("length"===t||t>=o)&&l.push(e)}));else switch(void 0!==n&&l.push(a.get(n)),t){case"add":(0,r.isArray)(e)?(0,r.isIntegerKey)(n)&&l.push(a.get("length")):(l.push(a.get(g)),(0,r.isMap)(e)&&l.push(a.get(b)));break;case"delete":(0,r.isArray)(e)||(l.push(a.get(g)),(0,r.isMap)(e)&&l.push(a.get(b)));break;case"set":(0,r.isMap)(e)&&l.push(a.get(g))}if(1===l.length)l[0]&&V(l[0]);else{const e=[];for(const t of l)t&&e.push(...t);V(d(e))}}function V(e,t){const n=(0,r.isArray)(e)?e:[...e];for(const e of n)e.computed&&N(e,t);for(const e of n)e.computed||N(e,t)}function N(e,t){(e!==y||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const P=(0,r.makeMap)("__proto__,__v_isRef,__isVue"),A=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(r.isSymbol)),q=R(),F=R(!1,!0),L=R(!0),I=R(!0,!0),D=j();function j(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Me(this);for(let e=0,t=this.length;e<t;e++)T(n,0,e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Me)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){S();const n=Me(this)[t].apply(this,e);return O(),n}})),e}function R(e=!1,t=!1){return function(n,o,i){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&i===(e?t?_e:be:t?ge:ye).get(n))return n;const s=(0,r.isArray)(n);if(!e&&s&&(0,r.hasOwn)(D,o))return Reflect.get(D,o,i);const a=Reflect.get(n,o,i);return((0,r.isSymbol)(o)?A.has(o):P(o))?a:(e||T(n,0,o),t?a:Fe(a)?s&&(0,r.isIntegerKey)(o)?a:a.value:(0,r.isObject)(a)?e?ke(a):we(a):a)}}const $=H(),z=H(!0);function H(e=!1){return function(t,n,o,i){let s=t[n];if(Oe(s)&&Fe(s)&&!Fe(o))return!1;if(!e&&!Oe(o)&&(Te(o)||(o=Me(o),s=Me(s)),!(0,r.isArray)(t)&&Fe(s)&&!Fe(o)))return s.value=o,!0;const a=(0,r.isArray)(t)&&(0,r.isIntegerKey)(n)?Number(n)<t.length:(0,r.hasOwn)(t,n),l=Reflect.set(t,n,o,i);return t===Me(i)&&(a?(0,r.hasChanged)(o,s)&&M(t,"set",n,o):M(t,"add",n,o)),l}}const U={get:q,set:$,deleteProperty:function(e,t){const n=(0,r.hasOwn)(e,t),o=(e[t],Reflect.deleteProperty(e,t));return o&&n&&M(e,"delete",t,void 0),o},has:function(e,t){const n=Reflect.has(e,t);return(0,r.isSymbol)(t)&&A.has(t)||T(e,0,t),n},ownKeys:function(e){return T(e,0,(0,r.isArray)(e)?"length":g),Reflect.ownKeys(e)}},K={get:L,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},W=(0,r.extend)({},U,{get:F,set:z}),Q=(0,r.extend)({},K,{get:I}),Y=e=>e,G=e=>Reflect.getPrototypeOf(e);function Z(e,t,n=!1,o=!1){const r=Me(e=e.__v_raw),i=Me(t);n||(t!==i&&T(r,0,t),T(r,0,i));const{has:s}=G(r),a=o?Y:n?Pe:Ne;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function J(e,t=!1){const n=this.__v_raw,o=Me(n),r=Me(e);return t||(e!==r&&T(o,0,e),T(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function X(e,t=!1){return e=e.__v_raw,!t&&T(Me(e),0,g),Reflect.get(e,"size",e)}function ee(e){e=Me(e);const t=Me(this);return G(t).has.call(t,e)||(t.add(e),M(t,"add",e,e)),this}function te(e,t){t=Me(t);const n=Me(this),{has:o,get:i}=G(n);let s=o.call(n,e);s||(e=Me(e),s=o.call(n,e));const a=i.call(n,e);return n.set(e,t),s?(0,r.hasChanged)(t,a)&&M(n,"set",e,t):M(n,"add",e,t),this}function ne(e){const t=Me(this),{has:n,get:o}=G(t);let r=n.call(t,e);r||(e=Me(e),r=n.call(t,e));o&&o.call(t,e);const i=t.delete(e);return r&&M(t,"delete",e,void 0),i}function oe(){const e=Me(this),t=0!==e.size,n=e.clear();return t&&M(e,"clear",void 0,void 0),n}function re(e,t){return function(n,o){const r=this,i=r.__v_raw,s=Me(i),a=t?Y:e?Pe:Ne;return!e&&T(s,0,g),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function ie(e,t,n){return function(...o){const i=this.__v_raw,s=Me(i),a=(0,r.isMap)(s),l="entries"===e||e===Symbol.iterator&&a,c="keys"===e&&a,u=i[e](...o),d=n?Y:t?Pe:Ne;return!t&&T(s,0,c?b:g),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function se(e){return function(...t){return"delete"!==e&&this}}function ae(){const e={get(e){return Z(this,e)},get size(){return X(this)},has:J,add:ee,set:te,delete:ne,clear:oe,forEach:re(!1,!1)},t={get(e){return Z(this,e,!1,!0)},get size(){return X(this)},has:J,add:ee,set:te,delete:ne,clear:oe,forEach:re(!1,!0)},n={get(e){return Z(this,e,!0)},get size(){return X(this,!0)},has(e){return J.call(this,e,!0)},add:se("add"),set:se("set"),delete:se("delete"),clear:se("clear"),forEach:re(!0,!1)},o={get(e){return Z(this,e,!0,!0)},get size(){return X(this,!0)},has(e){return J.call(this,e,!0)},add:se("add"),set:se("set"),delete:se("delete"),clear:se("clear"),forEach:re(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=ie(r,!1,!1),n[r]=ie(r,!0,!1),t[r]=ie(r,!1,!0),o[r]=ie(r,!0,!0)})),[e,n,t,o]}const[le,ce,ue,de]=ae();function pe(e,t){const n=t?e?de:ue:e?ce:le;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get((0,r.hasOwn)(n,o)&&o in t?n:t,o,i)}const fe={get:pe(!1,!1)},he={get:pe(!1,!0)},me={get:pe(!0,!1)},ve={get:pe(!0,!0)};const ye=new WeakMap,ge=new WeakMap,be=new WeakMap,_e=new WeakMap;function we(e){return Oe(e)?e:Ce(e,!1,U,fe,ye)}function xe(e){return Ce(e,!1,W,he,ge)}function ke(e){return Ce(e,!0,K,me,be)}function Ee(e){return Ce(e,!0,Q,ve,_e)}function Ce(e,t,n,o,i){if(!(0,r.isObject)(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const a=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((0,r.toRawType)(l));var l;if(0===a)return e;const c=new Proxy(e,2===a?o:n);return i.set(e,c),c}function Se(e){return Oe(e)?Se(e.__v_raw):!(!e||!e.__v_isReactive)}function Oe(e){return!(!e||!e.__v_isReadonly)}function Te(e){return!(!e||!e.__v_isShallow)}function Be(e){return Se(e)||Oe(e)}function Me(e){const t=e&&e.__v_raw;return t?Me(t):e}function Ve(e){return(0,r.def)(e,"__v_skip",!0),e}const Ne=e=>(0,r.isObject)(e)?we(e):e,Pe=e=>(0,r.isObject)(e)?ke(e):e;function Ae(e){E&&y&&B((e=Me(e)).dep||(e.dep=d()))}function qe(e,t){(e=Me(e)).dep&&V(e.dep)}function Fe(e){return!(!e||!0!==e.__v_isRef)}function Le(e){return De(e,!1)}function Ie(e){return De(e,!0)}function De(e,t){return Fe(e)?e:new je(e,t)}class je{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Me(e),this._value=t?e:Ne(e)}get value(){return Ae(this),this._value}set value(e){e=this.__v_isShallow?e:Me(e),(0,r.hasChanged)(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:Ne(e),qe(this))}}function Re(e){qe(e)}function $e(e){return Fe(e)?e.value:e}const ze={get:(e,t,n)=>$e(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Fe(r)&&!Fe(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function He(e){return Se(e)?e:new Proxy(e,ze)}class Ue{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e((()=>Ae(this)),(()=>qe(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function Ke(e){return new Ue(e)}function We(e){const t=(0,r.isArray)(e)?new Array(e.length):{};for(const n in e)t[n]=Ye(e,n);return t}class Qe{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}}function Ye(e,t,n){const o=e[t];return Fe(o)?o:new Qe(e,t,n)}class Ge{constructor(e,t,n,o){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new _(e,(()=>{this._dirty||(this._dirty=!0,qe(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=Me(this);return Ae(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}const Ze=[];function Je(e,...t){S();const n=Ze.length?Ze[Ze.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=Ze[Ze.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)tt(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${Zr(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,r=` at <${Zr(e.component,e.type,o)}`,i=">"+n;return e.props?[r,...Xe(e.props),i]:[r+i]}(e))})),t}(r)),console.warn(...n)}O()}function Xe(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...et(n,e[n]))})),n.length>3&&t.push(" ..."),t}function et(e,t,n){return(0,r.isString)(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:Fe(t)?(t=et(e,Me(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):(0,r.isFunction)(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Me(t),n?t:[`${e}=`,t])}function tt(e,t,n,o){let r;try{r=o?e(...o):e()}catch(e){ot(e,t,n)}return r}function nt(e,t,n,o){if((0,r.isFunction)(e)){const i=tt(e,t,n,o);return i&&(0,r.isPromise)(i)&&i.catch((e=>{ot(e,t,n)})),i}const i=[];for(let r=0;r<e.length;r++)i.push(nt(e[r],t,n,o));return i}function ot(e,t,n,o=!0){t&&t.vnode;if(t){let o=t.parent;const r=t.proxy,i=n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return void tt(s,null,10,[e,r,i])}!function(e,t,n,o=!0){console.error(e)}(e,0,0,o)}let rt=!1,it=!1;const st=[];let at=0;const lt=[];let ct=null,ut=0;const dt=[];let pt=null,ft=0;const ht=Promise.resolve();let mt=null,vt=null;function yt(e){const t=mt||ht;return e?t.then(this?e.bind(this):e):t}function gt(e){st.length&&st.includes(e,rt&&e.allowRecurse?at+1:at)||e===vt||(null==e.id?st.push(e):st.splice(function(e){let t=at+1,n=st.length;for(;t<n;){const o=t+n>>>1;Et(st[o])<e?t=o+1:n=o}return t}(e.id),0,e),bt())}function bt(){rt||it||(it=!0,mt=ht.then(Ct))}function _t(e,t,n,o){(0,r.isArray)(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),bt()}function wt(e){_t(e,pt,dt,ft)}function xt(e,t=null){if(lt.length){for(vt=t,ct=[...new Set(lt)],lt.length=0,ut=0;ut<ct.length;ut++)ct[ut]();ct=null,ut=0,vt=null,xt(e,t)}}function kt(e){if(xt(),dt.length){const e=[...new Set(dt)];if(dt.length=0,pt)return void pt.push(...e);for(pt=e,pt.sort(((e,t)=>Et(e)-Et(t))),ft=0;ft<pt.length;ft++)pt[ft]();pt=null,ft=0}}const Et=e=>null==e.id?1/0:e.id;function Ct(e){it=!1,rt=!0,xt(e),st.sort(((e,t)=>Et(e)-Et(t)));r.NOOP;try{for(at=0;at<st.length;at++){const e=st[at];e&&!1!==e.active&&tt(e,null,14)}}finally{at=0,st.length=0,kt(),rt=!1,mt=null,(st.length||lt.length||dt.length)&&Ct(e)}}new Set;new Map;let St,Ot=[],Tt=!1;function Bt(e,t){var n,o;if(St=e,St)St.enabled=!0,Ot.forEach((({event:e,args:t})=>St.emit(e,...t))),Ot=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null===(o=null===(n=window.navigator)||void 0===n?void 0:n.userAgent)||void 0===o?void 0:o.includes("jsdom"))){(t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((e=>{Bt(e,t)})),setTimeout((()=>{St||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Tt=!0,Ot=[])}),3e3)}else Tt=!0,Ot=[]}function Mt(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||r.EMPTY_OBJ;let i=n;const s=t.startsWith("update:"),a=s&&t.slice(7);if(a&&a in o){const e=`${"modelValue"===a?"model":a}Modifiers`,{number:t,trim:s}=o[e]||r.EMPTY_OBJ;s&&(i=n.map((e=>e.trim()))),t&&(i=n.map(r.toNumber))}let l;let c=o[l=(0,r.toHandlerKey)(t)]||o[l=(0,r.toHandlerKey)((0,r.camelize)(t))];!c&&s&&(c=o[l=(0,r.toHandlerKey)((0,r.hyphenate)(t))]),c&&nt(c,e,6,i);const u=o[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,nt(u,e,6,i)}}function Vt(e,t,n=!1){const o=t.emitsCache,i=o.get(e);if(void 0!==i)return i;const s=e.emits;let a={},l=!1;if(!(0,r.isFunction)(e)){const o=e=>{const n=Vt(e,t,!0);n&&(l=!0,(0,r.extend)(a,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return s||l?((0,r.isArray)(s)?s.forEach((e=>a[e]=null)):(0,r.extend)(a,s),o.set(e,a),a):(o.set(e,null),null)}function Nt(e,t){return!(!e||!(0,r.isOn)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,r.hasOwn)(e,t[0].toLowerCase()+t.slice(1))||(0,r.hasOwn)(e,(0,r.hyphenate)(t))||(0,r.hasOwn)(e,t))}let Pt=null,At=null;function qt(e){const t=Pt;return Pt=e,At=e&&e.type.__scopeId||null,t}function Ft(e){At=e}function Lt(){At=null}const It=e=>Dt;function Dt(e,t=Pt,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&lr(-1);const r=qt(t),i=e(...n);return qt(r),o._d&&lr(1),i};return o._n=!0,o._c=!0,o._d=!0,o}function jt(e){const{type:t,vnode:n,proxy:o,withProxy:i,props:s,propsOptions:[a],slots:l,attrs:c,emit:u,render:d,renderCache:p,data:f,setupState:h,ctx:m,inheritAttrs:v}=e;let y,g;const b=qt(e);try{if(4&n.shapeFlag){const e=i||o;y=Sr(d.call(e,e,p,s,h,f,m)),g=c}else{const e=t;0,y=Sr(e.length>1?e(s,{attrs:c,slots:l,emit:u}):e(s,null)),g=t.props?c:$t(c)}}catch(t){nr.length=0,ot(t,e,1),y=br(er)}let _=y;if(g&&!1!==v){const e=Object.keys(g),{shapeFlag:t}=_;e.length&&7&t&&(a&&e.some(r.isModelListener)&&(g=zt(g,a)),_=xr(_,g))}return n.dirs&&(_=xr(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),y=_,qt(b),y}function Rt(e){let t;for(let n=0;n<e.length;n++){const o=e[n];if(!pr(o))return;if(o.type!==er||"v-if"===o.children){if(t)return;t=o}}return t}const $t=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,r.isOn)(n))&&((t||(t={}))[n]=e[n]);return t},zt=(e,t)=>{const n={};for(const o in e)(0,r.isModelListener)(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Ht(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!Nt(n,i))return!0}return!1}function Ut({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Kt=e=>e.__isSuspense,Wt={name:"Suspense",__isSuspense:!0,process(e,t,n,o,r,i,s,a,l,c){null==e?function(e,t,n,o,r,i,s,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),p=e.suspense=Yt(e,r,o,t,d,n,i,s,a,l);c(null,p.pendingBranch=e.ssContent,d,null,o,p,i,s),p.deps>0?(Qt(e,"onPending"),Qt(e,"onFallback"),c(null,e.ssFallback,t,n,o,null,i,s),Jt(p,e.ssFallback)):p.resolve()}(t,n,o,r,i,s,a,l,c):function(e,t,n,o,r,i,s,a,{p:l,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,f=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:v,isHydrating:y}=d;if(m)d.pendingBranch=p,fr(p,m)?(l(m,p,d.hiddenContainer,null,r,d,i,s,a),d.deps<=0?d.resolve():v&&(l(h,f,n,o,r,null,i,s,a),Jt(d,f))):(d.pendingId++,y?(d.isHydrating=!1,d.activeBranch=m):c(m,r,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),v?(l(null,p,d.hiddenContainer,null,r,d,i,s,a),d.deps<=0?d.resolve():(l(h,f,n,o,r,null,i,s,a),Jt(d,f))):h&&fr(p,h)?(l(h,p,n,o,r,d,i,s,a),d.resolve(!0)):(l(null,p,d.hiddenContainer,null,r,d,i,s,a),d.deps<=0&&d.resolve()));else if(h&&fr(p,h))l(h,p,n,o,r,d,i,s,a),Jt(d,p);else if(Qt(t,"onPending"),d.pendingBranch=p,d.pendingId++,l(null,p,d.hiddenContainer,null,r,d,i,s,a),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout((()=>{d.pendingId===t&&d.fallback(f)}),e):0===e&&d.fallback(f)}}(e,t,n,o,r,s,a,l,c)},hydrate:function(e,t,n,o,r,i,s,a,l){const c=t.suspense=Yt(t,o,n,e.parentNode,document.createElement("div"),null,r,i,s,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,i,s);0===c.deps&&c.resolve();return u},create:Yt,normalize:function(e){const{shapeFlag:t,children:n}=e,o=32&t;e.ssContent=Gt(o?n.default:n),e.ssFallback=o?Gt(n.fallback):br(er)}};function Qt(e,t){const n=e.props&&e.props[t];(0,r.isFunction)(n)&&n()}function Yt(e,t,n,o,i,s,a,l,c,u,d=!1){const{p,m:f,um:h,n:m,o:{parentNode:v,remove:y}}=u,g=(0,r.toNumber)(e.props&&e.props.timeout),b={vnode:e,parent:t,parentComponent:n,isSVG:a,container:o,hiddenContainer:i,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof g?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:r,effects:i,parentComponent:s,container:a}=b;if(b.isHydrating)b.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{r===b.pendingId&&f(o,a,t,0)});let{anchor:t}=b;n&&(t=m(n),h(n,s,b,!0)),e||f(o,a,t,0)}Jt(b,o),b.pendingBranch=null,b.isInFallback=!1;let l=b.parent,c=!1;for(;l;){if(l.pendingBranch){l.effects.push(...i),c=!0;break}l=l.parent}c||wt(i),b.effects=[],Qt(t,"onResolve")},fallback(e){if(!b.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,isSVG:i}=b;Qt(t,"onFallback");const s=m(n),a=()=>{b.isInFallback&&(p(null,e,r,s,o,null,i,l,c),Jt(b,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=a),b.isInFallback=!0,h(n,o,null,!0),u||a()},move(e,t,n){b.activeBranch&&f(b.activeBranch,e,t,n),b.container=e},next:()=>b.activeBranch&&m(b.activeBranch),registerDep(e,t){const n=!!b.pendingBranch;n&&b.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{ot(t,e,0)})).then((r=>{if(e.isUnmounted||b.isUnmounted||b.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:i}=e;zr(e,r,!1),o&&(i.el=o);const s=!o&&e.subTree.el;t(e,i,v(o||e.subTree.el),o?null:m(e.subTree),b,a,c),s&&y(s),Ut(e,i.el),n&&0==--b.deps&&b.resolve()}))},unmount(e,t){b.isUnmounted=!0,b.activeBranch&&h(b.activeBranch,n,e,t),b.pendingBranch&&h(b.pendingBranch,n,e,t)}};return b}function Gt(e){let t;if((0,r.isFunction)(e)){const n=ar&&e._c;n&&(e._d=!1,rr()),e=e(),n&&(e._d=!0,t=or,ir())}if((0,r.isArray)(e)){const t=Rt(e);0,e=t}return e=Sr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function Zt(e,t){t&&t.pendingBranch?(0,r.isArray)(e)?t.effects.push(...e):t.effects.push(e):wt(e)}function Jt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,Ut(o,r))}function Xt(e,t){if(Ar){let n=Ar.provides;const o=Ar.parent&&Ar.parent.provides;o===n&&(n=Ar.provides=Object.create(o)),n[e]=t}else 0}function en(e,t,n=!1){const o=Ar||Pt;if(o){const i=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&(0,r.isFunction)(t)?t.call(o.proxy):t}else 0}function tn(e,t){return an(e,null,t)}function nn(e,t){return an(e,null,{flush:"post"})}function on(e,t){return an(e,null,{flush:"sync"})}const rn={};function sn(e,t,n){return an(e,t,n)}function an(e,t,{immediate:n,deep:o,flush:i,onTrack:s,onTrigger:a}=r.EMPTY_OBJ){const l=Ar;let c,u,d=!1,p=!1;if(Fe(e)?(c=()=>e.value,d=Te(e)):Se(e)?(c=()=>e,o=!0):(0,r.isArray)(e)?(p=!0,d=e.some((e=>Se(e)||Te(e))),c=()=>e.map((e=>Fe(e)?e.value:Se(e)?un(e):(0,r.isFunction)(e)?tt(e,l,2):void 0))):c=(0,r.isFunction)(e)?t?()=>tt(e,l,2):()=>{if(!l||!l.isUnmounted)return u&&u(),nt(e,l,3,[f])}:r.NOOP,t&&o){const e=c;c=()=>un(e())}let f=e=>{u=y.onStop=()=>{tt(e,l,4)}};if(Rr)return f=r.NOOP,t?n&&nt(t,l,3,[c(),p?[]:void 0,f]):c(),r.NOOP;let h=p?[]:rn;const m=()=>{if(y.active)if(t){const e=y.run();(o||d||(p?e.some(((e,t)=>(0,r.hasChanged)(e,h[t]))):(0,r.hasChanged)(e,h)))&&(u&&u(),nt(t,l,3,[e,h===rn?void 0:h,f]),h=e)}else y.run()};let v;m.allowRecurse=!!t,v="sync"===i?m:"post"===i?()=>Ro(m,l&&l.suspense):()=>function(e){_t(e,ct,lt,ut)}(m);const y=new _(c,v);return t?n?m():h=y.run():"post"===i?Ro(y.run.bind(y),l&&l.suspense):y.run(),()=>{y.stop(),l&&l.scope&&(0,r.remove)(l.scope.effects,y)}}function ln(e,t,n){const o=this.proxy,i=(0,r.isString)(e)?e.includes(".")?cn(o,e):()=>o[e]:e.bind(o,o);let s;(0,r.isFunction)(t)?s=t:(s=t.handler,n=t);const a=Ar;Fr(this);const l=an(i,s.bind(o),n);return a?Fr(a):Lr(),l}function cn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function un(e,t){if(!(0,r.isObject)(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),Fe(e))un(e.value,t);else if((0,r.isArray)(e))for(let n=0;n<e.length;n++)un(e[n],t);else if((0,r.isSet)(e)||(0,r.isMap)(e))e.forEach((e=>{un(e,t)}));else if((0,r.isPlainObject)(e))for(const n in e)un(e[n],t);return e}function dn(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Fn((()=>{e.isMounted=!0})),Dn((()=>{e.isUnmounting=!0})),e}const pn=[Function,Array],fn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:pn,onEnter:pn,onAfterEnter:pn,onEnterCancelled:pn,onBeforeLeave:pn,onLeave:pn,onAfterLeave:pn,onLeaveCancelled:pn,onBeforeAppear:pn,onAppear:pn,onAfterAppear:pn,onAppearCancelled:pn},setup(e,{slots:t}){const n=qr(),o=dn();let r;return()=>{const i=t.default&&bn(t.default(),!0);if(!i||!i.length)return;let s=i[0];if(i.length>1){let e=!1;for(const t of i)if(t.type!==er){0,s=t,e=!0;break}}const a=Me(e),{mode:l}=a;if(o.isLeaving)return vn(s);const c=yn(s);if(!c)return vn(s);const u=mn(c,a,o,n);gn(c,u);const d=n.subTree,p=d&&yn(d);let f=!1;const{getTransitionKey:h}=c.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,f=!0)}if(p&&p.type!==er&&(!fr(c,p)||f)){const e=mn(p,a,o,n);if(gn(p,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},vn(s);"in-out"===l&&c.type!==er&&(e.delayLeave=(e,t,n)=>{hn(o,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return s}}};function hn(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function mn(e,t,n,o){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:p,onLeave:f,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:v,onAppear:y,onAfterAppear:g,onAppearCancelled:b}=t,_=String(e.key),w=hn(n,e),x=(e,t)=>{e&&nt(e,o,9,t)},k=(e,t)=>{const n=t[1];x(e,t),(0,r.isArray)(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},E={mode:s,persisted:a,beforeEnter(t){let o=l;if(!n.isMounted){if(!i)return;o=v||l}t._leaveCb&&t._leaveCb(!0);const r=w[_];r&&fr(e,r)&&r.el._leaveCb&&r.el._leaveCb(),x(o,[t])},enter(e){let t=c,o=u,r=d;if(!n.isMounted){if(!i)return;t=y||c,o=g||u,r=b||d}let s=!1;const a=e._enterCb=t=>{s||(s=!0,x(t?r:o,[e]),E.delayedLeave&&E.delayedLeave(),e._enterCb=void 0)};t?k(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(p,[t]);let i=!1;const s=t._leaveCb=n=>{i||(i=!0,o(),x(n?m:h,[t]),t._leaveCb=void 0,w[r]===e&&delete w[r])};w[r]=e,f?k(f,[t,s]):s()},clone:e=>mn(e,t,n,o)};return E}function vn(e){if(En(e))return(e=xr(e)).children=null,e}function yn(e){return En(e)?e.children?e.children[0]:void 0:e}function gn(e,t){6&e.shapeFlag&&e.component?gn(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function bn(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let s=e[i];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:i);s.type===Jo?(128&s.patchFlag&&r++,o=o.concat(bn(s.children,t,a))):(t||s.type!==er)&&o.push(null!=a?xr(s,{key:a}):s)}if(r>1)for(let e=0;e<o.length;e++)o[e].patchFlag=-2;return o}function _n(e){return(0,r.isFunction)(e)?{setup:e,name:e.name}:e}const wn=e=>!!e.type.__asyncLoader;function xn(e){(0,r.isFunction)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:i=200,timeout:s,suspensible:a=!0,onError:l}=e;let c,u=null,d=0;const p=()=>{let e;return u||(e=u=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((d++,u=null,p()))),(()=>n(e)),d+1)}));throw e})).then((t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return _n({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const e=Ar;if(c)return()=>kn(c,e);const t=t=>{u=null,ot(t,e,13,!o)};if(a&&e.suspense||Rr)return p().then((t=>()=>kn(t,e))).catch((e=>(t(e),()=>o?br(o,{error:e}):null)));const r=Le(!1),l=Le(),d=Le(!!i);return i&&setTimeout((()=>{d.value=!1}),i),null!=s&&setTimeout((()=>{if(!r.value&&!l.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),l.value=e}}),s),p().then((()=>{r.value=!0,e.parent&&En(e.parent.vnode)&&gt(e.parent.update)})).catch((e=>{t(e),l.value=e})),()=>r.value&&c?kn(c,e):l.value&&o?br(o,{error:l.value}):n&&!d.value?br(n):void 0}})}function kn(e,{vnode:{ref:t,props:n,children:o,shapeFlag:r},parent:i}){const s=br(e,n,o);return s.ref=t,s}const En=e=>e.type.__isKeepAlive,Cn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=qr(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const i=new Map,s=new Set;let a=null;const l=n.suspense,{renderer:{p:c,m:u,um:d,o:{createElement:p}}}=o,f=p("div");function h(e){Vn(e),d(e,n,l,!0)}function m(e){i.forEach(((t,n)=>{const o=Gr(t.type);!o||e&&e(o)||v(n)}))}function v(e){const t=i.get(e);a&&t.type===a.type?a&&Vn(a):h(t),i.delete(e),s.delete(e)}o.activate=(e,t,n,o,i)=>{const s=e.component;u(e,t,n,0,l),c(s.vnode,e,t,n,s,l,o,e.slotScopeIds,i),Ro((()=>{s.isDeactivated=!1,s.a&&(0,r.invokeArrayFns)(s.a);const t=e.props&&e.props.onVnodeMounted;t&&Mr(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;u(e,f,null,1,l),Ro((()=>{t.da&&(0,r.invokeArrayFns)(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Mr(n,t.parent,e),t.isDeactivated=!0}),l)},sn((()=>[e.include,e.exclude]),(([e,t])=>{e&&m((t=>Sn(e,t))),t&&m((e=>!Sn(t,e)))}),{flush:"post",deep:!0});let y=null;const g=()=>{null!=y&&i.set(y,Nn(n.subTree))};return Fn(g),In(g),Dn((()=>{i.forEach((e=>{const{subTree:t,suspense:o}=n,r=Nn(t);if(e.type!==r.type)h(e);else{Vn(r);const e=r.component.da;e&&Ro(e,o)}}))})),()=>{if(y=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return a=null,n;if(!(pr(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return a=null,o;let r=Nn(o);const l=r.type,c=Gr(wn(r)?r.type.__asyncResolved||{}:l),{include:u,exclude:d,max:p}=e;if(u&&(!c||!Sn(u,c))||d&&c&&Sn(d,c))return a=r,o;const f=null==r.key?l:r.key,h=i.get(f);return r.el&&(r=xr(r),128&o.shapeFlag&&(o.ssContent=r)),y=f,h?(r.el=h.el,r.component=h.component,r.transition&&gn(r,r.transition),r.shapeFlag|=512,s.delete(f),s.add(f)):(s.add(f),p&&s.size>parseInt(p,10)&&v(s.values().next().value)),r.shapeFlag|=256,a=r,Kt(o.type)?o:r}}};function Sn(e,t){return(0,r.isArray)(e)?e.some((e=>Sn(e,t))):(0,r.isString)(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function On(e,t){Bn(e,"a",t)}function Tn(e,t){Bn(e,"da",t)}function Bn(e,t,n=Ar){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Pn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)En(e.parent.vnode)&&Mn(o,t,n,e),e=e.parent}}function Mn(e,t,n,o){const i=Pn(t,e,o,!0);jn((()=>{(0,r.remove)(o[t],i)}),n)}function Vn(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function Nn(e){return 128&e.shapeFlag?e.ssContent:e}function Pn(e,t,n=Ar,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;S(),Fr(n);const r=nt(t,n,e,o);return Lr(),O(),r});return o?r.unshift(i):r.push(i),i}}const An=e=>(t,n=Ar)=>(!Rr||"sp"===e)&&Pn(e,t,n),qn=An("bm"),Fn=An("m"),Ln=An("bu"),In=An("u"),Dn=An("bum"),jn=An("um"),Rn=An("sp"),$n=An("rtg"),zn=An("rtc");function Hn(e,t=Ar){Pn("ec",e,t)}function Un(e,t){const n=Pt;if(null===n)return e;const o=Qr(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[n,s,a,l=r.EMPTY_OBJ]=t[e];(0,r.isFunction)(n)&&(n={mounted:n,updated:n}),n.deep&&un(s),i.push({dir:n,instance:o,value:s,oldValue:void 0,arg:a,modifiers:l})}return e}function Kn(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){const a=r[s];i&&(a.oldValue=i[s].value);let l=a.dir[o];l&&(S(),nt(l,n,8,[e.el,a,e,t]),O())}}const Wn="components";function Qn(e,t){return Jn(Wn,e,!0,t)||e}const Yn=Symbol();function Gn(e){return(0,r.isString)(e)?Jn(Wn,e,!1)||e:e||Yn}function Zn(e){return Jn("directives",e)}function Jn(e,t,n=!0,o=!1){const i=Pt||Ar;if(i){const n=i.type;if(e===Wn){const e=Gr(n,!1);if(e&&(e===t||e===(0,r.camelize)(t)||e===(0,r.capitalize)((0,r.camelize)(t))))return n}const s=Xn(i[e]||n[e],t)||Xn(i.appContext[e],t);return!s&&o?n:s}}function Xn(e,t){return e&&(e[t]||e[(0,r.camelize)(t)]||e[(0,r.capitalize)((0,r.camelize)(t))])}function eo(e,t,n,o){let i;const s=n&&n[o];if((0,r.isArray)(e)||(0,r.isString)(e)){i=new Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(e[n],n,void 0,s&&s[n])}else if("number"==typeof e){0,i=new Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,s&&s[n])}else if((0,r.isObject)(e))if(e[Symbol.iterator])i=Array.from(e,((e,n)=>t(e,n,void 0,s&&s[n])));else{const n=Object.keys(e);i=new Array(n.length);for(let o=0,r=n.length;o<r;o++){const r=n[o];i[o]=t(e[r],r,o,s&&s[o])}}else i=[];return n&&(n[o]=i),i}function to(e,t){for(let n=0;n<t.length;n++){const o=t[n];if((0,r.isArray)(o))for(let t=0;t<o.length;t++)e[o[t].name]=o[t].fn;else o&&(e[o.name]=o.fn)}return e}function no(e,t,n={},o,r){if(Pt.isCE||Pt.parent&&wn(Pt.parent)&&Pt.parent.isCE)return br("slot","default"===t?null:{name:t},o&&o());let i=e[t];i&&i._c&&(i._d=!1),rr();const s=i&&oo(i(n)),a=dr(Jo,{key:n.key||`_${t}`},s||(o?o():[]),s&&1===e._?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function oo(e){return e.some((e=>!pr(e)||e.type!==er&&!(e.type===Jo&&!oo(e.children))))?e:null}function ro(e){const t={};for(const n in e)t[(0,r.toHandlerKey)(n)]=e[n];return t}const io=e=>e?Ir(e)?Qr(e)||e.proxy:io(e.parent):null,so=(0,r.extend)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>io(e.parent),$root:e=>io(e.root),$emit:e=>e.emit,$options:e=>ho(e),$forceUpdate:e=>e.f||(e.f=()=>gt(e.update)),$nextTick:e=>e.n||(e.n=yt.bind(e.proxy)),$watch:e=>ln.bind(e)}),ao={get({_:e},t){const{ctx:n,setupState:o,data:i,props:s,accessCache:a,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 1:return o[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(o!==r.EMPTY_OBJ&&(0,r.hasOwn)(o,t))return a[t]=1,o[t];if(i!==r.EMPTY_OBJ&&(0,r.hasOwn)(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&(0,r.hasOwn)(u,t))return a[t]=3,s[t];if(n!==r.EMPTY_OBJ&&(0,r.hasOwn)(n,t))return a[t]=4,n[t];co&&(a[t]=0)}}const d=so[t];let p,f;return d?("$attrs"===t&&T(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==r.EMPTY_OBJ&&(0,r.hasOwn)(n,t)?(a[t]=4,n[t]):(f=c.config.globalProperties,(0,r.hasOwn)(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:i,ctx:s}=e;return i!==r.EMPTY_OBJ&&(0,r.hasOwn)(i,t)?(i[t]=n,!0):o!==r.EMPTY_OBJ&&(0,r.hasOwn)(o,t)?(o[t]=n,!0):!(0,r.hasOwn)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:i,propsOptions:s}},a){let l;return!!n[a]||e!==r.EMPTY_OBJ&&(0,r.hasOwn)(e,a)||t!==r.EMPTY_OBJ&&(0,r.hasOwn)(t,a)||(l=s[0])&&(0,r.hasOwn)(l,a)||(0,r.hasOwn)(o,a)||(0,r.hasOwn)(so,a)||(0,r.hasOwn)(i.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:(0,r.hasOwn)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};const lo=(0,r.extend)({},ao,{get(e,t){if(t!==Symbol.unscopables)return ao.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!(0,r.isGloballyWhitelisted)(t)});let co=!0;function uo(e){const t=ho(e),n=e.proxy,o=e.ctx;co=!1,t.beforeCreate&&po(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:p,mounted:f,beforeUpdate:h,updated:m,activated:v,deactivated:y,beforeDestroy:g,beforeUnmount:b,destroyed:_,unmounted:w,render:x,renderTracked:k,renderTriggered:E,errorCaptured:C,serverPrefetch:S,expose:O,inheritAttrs:T,components:B,directives:M,filters:V}=t;if(u&&function(e,t,n=r.NOOP,o=!1){(0,r.isArray)(e)&&(e=go(e));for(const n in e){const i=e[n];let s;s=(0,r.isObject)(i)?"default"in i?en(i.from||n,i.default,!0):en(i.from||n):en(i),Fe(s)&&o?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[n]=s}}(u,o,null,e.appContext.config.unwrapInjectedRef),a)for(const e in a){const t=a[e];(0,r.isFunction)(t)&&(o[e]=t.bind(n))}if(i){0;const t=i.call(n,n);0,(0,r.isObject)(t)&&(e.data=we(t))}if(co=!0,s)for(const e in s){const t=s[e],i=(0,r.isFunction)(t)?t.bind(n,n):(0,r.isFunction)(t.get)?t.get.bind(n,n):r.NOOP;0;const a=!(0,r.isFunction)(t)&&(0,r.isFunction)(t.set)?t.set.bind(n):r.NOOP,l=Xr({get:i,set:a});Object.defineProperty(o,e,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(l)for(const e in l)fo(l[e],o,n,e);if(c){const e=(0,r.isFunction)(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{Xt(t,e[t])}))}function N(e,t){(0,r.isArray)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&po(d,e,"c"),N(qn,p),N(Fn,f),N(Ln,h),N(In,m),N(On,v),N(Tn,y),N(Hn,C),N(zn,k),N($n,E),N(Dn,b),N(jn,w),N(Rn,S),(0,r.isArray)(O))if(O.length){const t=e.exposed||(e.exposed={});O.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});x&&e.render===r.NOOP&&(e.render=x),null!=T&&(e.inheritAttrs=T),B&&(e.components=B),M&&(e.directives=M)}function po(e,t,n){nt((0,r.isArray)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function fo(e,t,n,o){const i=o.includes(".")?cn(n,o):()=>n[o];if((0,r.isString)(e)){const n=t[e];(0,r.isFunction)(n)&&sn(i,n)}else if((0,r.isFunction)(e))sn(i,e.bind(n));else if((0,r.isObject)(e))if((0,r.isArray)(e))e.forEach((e=>fo(e,t,n,o)));else{const o=(0,r.isFunction)(e.handler)?e.handler.bind(n):t[e.handler];(0,r.isFunction)(o)&&sn(i,o,e)}else 0}function ho(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:r.length||n||o?(l={},r.length&&r.forEach((e=>mo(l,e,s,!0))),mo(l,t,s)):l=t,i.set(t,l),l}function mo(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&mo(e,i,n,!0),r&&r.forEach((t=>mo(e,t,n,!0)));for(const r in t)if(o&&"expose"===r);else{const o=vo[r]||n&&n[r];e[r]=o?o(e[r],t[r]):t[r]}return e}const vo={data:yo,props:_o,emits:_o,methods:_o,computed:_o,beforeCreate:bo,created:bo,beforeMount:bo,mounted:bo,beforeUpdate:bo,updated:bo,beforeDestroy:bo,beforeUnmount:bo,destroyed:bo,unmounted:bo,activated:bo,deactivated:bo,errorCaptured:bo,serverPrefetch:bo,components:_o,directives:_o,watch:function(e,t){if(!e)return t;if(!t)return e;const n=(0,r.extend)(Object.create(null),e);for(const o in t)n[o]=bo(e[o],t[o]);return n},provide:yo,inject:function(e,t){return _o(go(e),go(t))}};function yo(e,t){return t?e?function(){return(0,r.extend)((0,r.isFunction)(e)?e.call(this,this):e,(0,r.isFunction)(t)?t.call(this,this):t)}:t:e}function go(e){if((0,r.isArray)(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function bo(e,t){return e?[...new Set([].concat(e,t))]:t}function _o(e,t){return e?(0,r.extend)((0,r.extend)(Object.create(null),e),t):t}function wo(e,t,n,o){const[i,s]=e.propsOptions;let a,l=!1;if(t)for(let c in t){if((0,r.isReservedProp)(c))continue;const u=t[c];let d;i&&(0,r.hasOwn)(i,d=(0,r.camelize)(c))?s&&s.includes(d)?(a||(a={}))[d]=u:n[d]=u:Nt(e.emitsOptions,c)||c in o&&u===o[c]||(o[c]=u,l=!0)}if(s){const t=Me(n),o=a||r.EMPTY_OBJ;for(let a=0;a<s.length;a++){const l=s[a];n[l]=xo(i,t,l,o[l],e,!(0,r.hasOwn)(o,l))}}return l}function xo(e,t,n,o,i,s){const a=e[n];if(null!=a){const e=(0,r.hasOwn)(a,"default");if(e&&void 0===o){const e=a.default;if(a.type!==Function&&(0,r.isFunction)(e)){const{propsDefaults:r}=i;n in r?o=r[n]:(Fr(i),o=r[n]=e.call(null,t),Lr())}else o=e}a[0]&&(s&&!e?o=!1:!a[1]||""!==o&&o!==(0,r.hyphenate)(n)||(o=!0))}return o}function ko(e,t,n=!1){const o=t.propsCache,i=o.get(e);if(i)return i;const s=e.props,a={},l=[];let c=!1;if(!(0,r.isFunction)(e)){const o=e=>{c=!0;const[n,o]=ko(e,t,!0);(0,r.extend)(a,n),o&&l.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!s&&!c)return o.set(e,r.EMPTY_ARR),r.EMPTY_ARR;if((0,r.isArray)(s))for(let e=0;e<s.length;e++){0;const t=(0,r.camelize)(s[e]);Eo(t)&&(a[t]=r.EMPTY_OBJ)}else if(s){0;for(const e in s){const t=(0,r.camelize)(e);if(Eo(t)){const n=s[e],o=a[t]=(0,r.isArray)(n)||(0,r.isFunction)(n)?{type:n}:n;if(o){const e=Oo(Boolean,o.type),n=Oo(String,o.type);o[0]=e>-1,o[1]=n<0||e<n,(e>-1||(0,r.hasOwn)(o,"default"))&&l.push(t)}}}}const u=[a,l];return o.set(e,u),u}function Eo(e){return"$"!==e[0]}function Co(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function So(e,t){return Co(e)===Co(t)}function Oo(e,t){return(0,r.isArray)(t)?t.findIndex((t=>So(t,e))):(0,r.isFunction)(t)&&So(t,e)?0:-1}const To=e=>"_"===e[0]||"$stable"===e,Bo=e=>(0,r.isArray)(e)?e.map(Sr):[Sr(e)],Mo=(e,t,n)=>{if(t._n)return t;const o=Dt(((...e)=>Bo(t(...e))),n);return o._c=!1,o},Vo=(e,t,n)=>{const o=e._ctx;for(const n in e){if(To(n))continue;const i=e[n];if((0,r.isFunction)(i))t[n]=Mo(0,i,o);else if(null!=i){0;const e=Bo(i);t[n]=()=>e}}},No=(e,t)=>{const n=Bo(t);e.slots.default=()=>n};function Po(){return{app:null,config:{isNativeTag:r.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ao=0;function qo(e,t){return function(n,o=null){(0,r.isFunction)(n)||(n=Object.assign({},n)),null==o||(0,r.isObject)(o)||(o=null);const i=Po(),s=new Set;let a=!1;const l=i.app={_uid:Ao++,_component:n,_props:o,_container:null,_context:i,_instance:null,version:vi,get config(){return i.config},set config(e){0},use:(e,...t)=>(s.has(e)||(e&&(0,r.isFunction)(e.install)?(s.add(e),e.install(l,...t)):(0,r.isFunction)(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),l),component:(e,t)=>t?(i.components[e]=t,l):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,l):i.directives[e],mount(r,s,c){if(!a){0;const u=br(n,o);return u.appContext=i,s&&t?t(u,r):e(u,r,c),a=!0,l._container=r,r.__vue_app__=l,Qr(u.component)||u.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,l)};return l}}function Fo(e,t,n,o,i=!1){if((0,r.isArray)(e))return void e.forEach(((e,s)=>Fo(e,t&&((0,r.isArray)(t)?t[s]:t),n,o,i)));if(wn(o)&&!i)return;const s=4&o.shapeFlag?Qr(o.component)||o.component.proxy:o.el,a=i?null:s,{i:l,r:c}=e;const u=t&&t.r,d=l.refs===r.EMPTY_OBJ?l.refs={}:l.refs,p=l.setupState;if(null!=u&&u!==c&&((0,r.isString)(u)?(d[u]=null,(0,r.hasOwn)(p,u)&&(p[u]=null)):Fe(u)&&(u.value=null)),(0,r.isFunction)(c))tt(c,l,12,[a,d]);else{const t=(0,r.isString)(c),o=Fe(c);if(t||o){const l=()=>{if(e.f){const n=t?d[c]:c.value;i?(0,r.isArray)(n)&&(0,r.remove)(n,s):(0,r.isArray)(n)?n.includes(s)||n.push(s):t?(d[c]=[s],(0,r.hasOwn)(p,c)&&(p[c]=d[c])):(c.value=[s],e.k&&(d[e.k]=c.value))}else t?(d[c]=a,(0,r.hasOwn)(p,c)&&(p[c]=a)):o&&(c.value=a,e.k&&(d[e.k]=a))};a?(l.id=-1,Ro(l,n)):l()}else 0}}let Lo=!1;const Io=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,Do=e=>8===e.nodeType;function jo(e){const{mt:t,p:n,o:{patchProp:o,createText:i,nextSibling:s,parentNode:a,remove:l,insert:c,createComment:u}}=e,d=(n,o,r,l,u,y=!1)=>{const g=Do(n)&&"["===n.data,b=()=>m(n,o,r,l,u,g),{type:_,ref:w,shapeFlag:x,patchFlag:k}=o,E=n.nodeType;o.el=n,-2===k&&(y=!1,o.dynamicChildren=null);let C=null;switch(_){case Xo:3!==E?""===o.children?(c(o.el=i(""),a(n),n),C=n):C=b():(n.data!==o.children&&(Lo=!0,n.data=o.children),C=s(n));break;case er:C=8!==E||g?b():s(n);break;case tr:if(1===E||3===E){C=n;const e=!o.children.length;for(let t=0;t<o.staticCount;t++)e&&(o.children+=1===C.nodeType?C.outerHTML:C.data),t===o.staticCount-1&&(o.anchor=C),C=s(C);return C}C=b();break;case Jo:C=g?h(n,o,r,l,u,y):b();break;default:if(1&x)C=1!==E||o.type.toLowerCase()!==n.tagName.toLowerCase()?b():p(n,o,r,l,u,y);else if(6&x){o.slotScopeIds=u;const e=a(n);if(t(o,e,null,r,l,Io(e),y),C=g?v(n):s(n),C&&Do(C)&&"teleport end"===C.data&&(C=s(C)),wn(o)){let t;g?(t=br(Jo),t.anchor=C?C.previousSibling:e.lastChild):t=3===n.nodeType?kr(""):br("div"),t.el=n,o.component.subTree=t}}else 64&x?C=8!==E?b():o.type.hydrate(n,o,r,l,u,y,e,f):128&x&&(C=o.type.hydrate(n,o,r,l,Io(a(n)),u,y,e,d))}return null!=w&&Fo(w,null,l,o),C},p=(e,t,n,i,s,a)=>{a=a||!!t.dynamicChildren;const{type:c,props:u,patchFlag:d,shapeFlag:p,dirs:h}=t,m="input"===c&&h||"option"===c;if(m||-1!==d){if(h&&Kn(t,null,n,"created"),u)if(m||!a||48&d)for(const t in u)(m&&t.endsWith("value")||(0,r.isOn)(t)&&!(0,r.isReservedProp)(t))&&o(e,t,null,u[t],!1,void 0,n);else u.onClick&&o(e,"onClick",null,u.onClick,!1,void 0,n);let c;if((c=u&&u.onVnodeBeforeMount)&&Mr(c,n,t),h&&Kn(t,null,n,"beforeMount"),((c=u&&u.onVnodeMounted)||h)&&Zt((()=>{c&&Mr(c,n,t),h&&Kn(t,null,n,"mounted")}),i),16&p&&(!u||!u.innerHTML&&!u.textContent)){let o=f(e.firstChild,t,e,n,i,s,a);for(;o;){Lo=!0;const e=o;o=o.nextSibling,l(e)}}else 8&p&&e.textContent!==t.children&&(Lo=!0,e.textContent=t.children)}return e.nextSibling},f=(e,t,o,r,i,s,a)=>{a=a||!!t.dynamicChildren;const l=t.children,c=l.length;for(let t=0;t<c;t++){const c=a?l[t]:l[t]=Sr(l[t]);if(e)e=d(e,c,r,i,s,a);else{if(c.type===Xo&&!c.children)continue;Lo=!0,n(null,c,o,null,r,i,Io(o),s)}}return e},h=(e,t,n,o,r,i)=>{const{slotScopeIds:l}=t;l&&(r=r?r.concat(l):l);const d=a(e),p=f(s(e),t,d,n,o,r,i);return p&&Do(p)&&"]"===p.data?s(t.anchor=p):(Lo=!0,c(t.anchor=u("]"),d,p),p)},m=(e,t,o,r,i,c)=>{if(Lo=!0,t.el=null,c){const t=v(e);for(;;){const n=s(e);if(!n||n===t)break;l(n)}}const u=s(e),d=a(e);return l(e),n(null,t,d,u,o,r,Io(d),i),u},v=e=>{let t=0;for(;e;)if((e=s(e))&&Do(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return s(e);t--}return e};return[(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),kt(),void(t._vnode=e);Lo=!1,d(t.firstChild,e,null,null,null),kt(),t._vnode=e,Lo&&console.error("Hydration completed but contains mismatches.")},d]}const Ro=Zt;function $o(e){return Ho(e)}function zo(e){return Ho(e,jo)}function Ho(e,t){(0,r.getGlobalThis)().__VUE__=!0;const{insert:n,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:f=r.NOOP,cloneNode:h,insertStaticContent:m}=e,v=(e,t,n,o=null,r=null,i=null,s=!1,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!fr(e,t)&&(o=W(e),$(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Xo:y(e,t,n,o);break;case er:g(e,t,n,o);break;case tr:null==e&&b(t,n,o,s);break;case Jo:N(e,t,n,o,r,i,s,a,l);break;default:1&d?x(e,t,n,o,r,i,s,a,l):6&d?P(e,t,n,o,r,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,s,a,l,Y)}null!=u&&r&&Fo(u,e&&e.ref,i,t||e,!t)},y=(e,t,o,r)=>{if(null==e)n(t.el=a(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},g=(e,t,o,r)=>{null==e?n(t.el=l(t.children||""),o,r):t.el=e.el},b=(e,t,n,o)=>{[e.el,e.anchor]=m(e.children,t,n,o,e.el,e.anchor)},w=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=p(e),o(e),e=n;o(t)},x=(e,t,n,o,r,i,s,a,l)=>{s=s||"svg"===t.type,null==e?k(t,n,o,r,i,s,a,l):T(e,t,r,i,s,a,l)},k=(e,t,o,a,l,c,d,p)=>{let f,m;const{type:v,props:y,shapeFlag:g,transition:b,patchFlag:_,dirs:w}=e;if(e.el&&void 0!==h&&-1===_)f=e.el=h(e.el);else{if(f=e.el=s(e.type,c,y&&y.is,y),8&g?u(f,e.children):16&g&&C(e.children,f,null,a,l,c&&"foreignObject"!==v,d,p),w&&Kn(e,null,a,"created"),y){for(const t in y)"value"===t||(0,r.isReservedProp)(t)||i(f,t,null,y[t],c,e.children,a,l,K);"value"in y&&i(f,"value",null,y.value),(m=y.onVnodeBeforeMount)&&Mr(m,a,e)}E(f,e,e.scopeId,d,a)}w&&Kn(e,null,a,"beforeMount");const x=(!l||l&&!l.pendingBranch)&&b&&!b.persisted;x&&b.beforeEnter(f),n(f,t,o),((m=y&&y.onVnodeMounted)||x||w)&&Ro((()=>{m&&Mr(m,a,e),x&&b.enter(f),w&&Kn(e,null,a,"mounted")}),l)},E=(e,t,n,o,r)=>{if(n&&f(e,n),o)for(let t=0;t<o.length;t++)f(e,o[t]);if(r){if(t===r.subTree){const t=r.vnode;E(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},C=(e,t,n,o,r,i,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?Or(e[c]):Sr(e[c]);v(null,l,t,n,o,r,i,s,a)}},T=(e,t,n,o,s,a,l)=>{const c=t.el=e.el;let{patchFlag:d,dynamicChildren:p,dirs:f}=t;d|=16&e.patchFlag;const h=e.props||r.EMPTY_OBJ,m=t.props||r.EMPTY_OBJ;let v;n&&Uo(n,!1),(v=m.onVnodeBeforeUpdate)&&Mr(v,n,t,e),f&&Kn(t,e,n,"beforeUpdate"),n&&Uo(n,!0);const y=s&&"foreignObject"!==t.type;if(p?B(e.dynamicChildren,p,c,n,o,y,a):l||I(e,t,c,null,n,o,y,a,!1),d>0){if(16&d)V(c,t,h,m,n,o,s);else if(2&d&&h.class!==m.class&&i(c,"class",null,m.class,s),4&d&&i(c,"style",h.style,m.style,s),8&d){const r=t.dynamicProps;for(let t=0;t<r.length;t++){const a=r[t],l=h[a],u=m[a];u===l&&"value"!==a||i(c,a,l,u,s,e.children,n,o,K)}}1&d&&e.children!==t.children&&u(c,t.children)}else l||null!=p||V(c,t,h,m,n,o,s);((v=m.onVnodeUpdated)||f)&&Ro((()=>{v&&Mr(v,n,t,e),f&&Kn(t,e,n,"updated")}),o)},B=(e,t,n,o,r,i,s)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],u=l.el&&(l.type===Jo||!fr(l,c)||70&l.shapeFlag)?d(l.el):n;v(l,c,u,null,o,r,i,s,!0)}},V=(e,t,n,o,s,a,l)=>{if(n!==o){for(const c in o){if((0,r.isReservedProp)(c))continue;const u=o[c],d=n[c];u!==d&&"value"!==c&&i(e,c,d,u,l,t.children,s,a,K)}if(n!==r.EMPTY_OBJ)for(const c in n)(0,r.isReservedProp)(c)||c in o||i(e,c,n[c],null,l,t.children,s,a,K);"value"in o&&i(e,"value",n.value,o.value)}},N=(e,t,o,r,i,s,l,c,u)=>{const d=t.el=e?e.el:a(""),p=t.anchor=e?e.anchor:a("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(n(d,o,r),n(p,o,r),C(t.children,o,p,i,s,l,c,u)):f>0&&64&f&&h&&e.dynamicChildren?(B(e.dynamicChildren,h,o,i,s,l,c),(null!=t.key||i&&t===i.subTree)&&Ko(e,t,!0)):I(e,t,o,p,i,s,l,c,u)},P=(e,t,n,o,r,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,l):A(t,n,o,r,i,s,l):q(e,t,l)},A=(e,t,n,o,r,i,s)=>{const a=e.component=Pr(e,o,r);if(En(e)&&(a.ctx.renderer=Y),$r(a),a.asyncDep){if(r&&r.registerDep(a,F),!e.el){const e=a.subTree=br(er);g(null,e,t,n)}}else F(a,e,t,n,r,i,s)},q=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||Ht(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Ht(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==o[n]&&!Nt(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void L(o,t,n);o.next=t,function(e){const t=st.indexOf(e);t>at&&st.splice(t,1)}(o.update),o.update()}else t.el=e.el,o.vnode=t},F=(e,t,n,o,i,s,a)=>{const l=e.effect=new _((()=>{if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:u}=e,p=n;0,Uo(e,!1),n?(n.el=u.el,L(e,n,a)):n=u,o&&(0,r.invokeArrayFns)(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Mr(t,c,n,u),Uo(e,!0);const f=jt(e);0;const h=e.subTree;e.subTree=f,v(h,f,d(h.el),W(h),e,i,s),n.el=f.el,null===p&&Ut(e,f.el),l&&Ro(l,i),(t=n.props&&n.props.onVnodeUpdated)&&Ro((()=>Mr(t,c,n,u)),i)}else{let a;const{el:l,props:c}=t,{bm:u,m:d,parent:p}=e,f=wn(t);if(Uo(e,!1),u&&(0,r.invokeArrayFns)(u),!f&&(a=c&&c.onVnodeBeforeMount)&&Mr(a,p,t),Uo(e,!0),l&&Z){const n=()=>{e.subTree=jt(e),Z(l,e.subTree,e,i,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const r=e.subTree=jt(e);0,v(null,r,n,o,e,i,s),t.el=r.el}if(d&&Ro(d,i),!f&&(a=c&&c.onVnodeMounted)){const e=t;Ro((()=>Mr(a,p,e)),i)}(256&t.shapeFlag||p&&wn(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&Ro(e.a,i),e.isMounted=!0,t=n=o=null}}),(()=>gt(c)),e.scope),c=e.update=()=>l.run();c.id=e.uid,Uo(e,!0),c()},L=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:i,attrs:s,vnode:{patchFlag:a}}=e,l=Me(i),[c]=e.propsOptions;let u=!1;if(!(o||a>0)||16&a){let o;wo(e,t,i,s)&&(u=!0);for(const s in l)t&&((0,r.hasOwn)(t,s)||(o=(0,r.hyphenate)(s))!==s&&(0,r.hasOwn)(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(i[s]=xo(c,l,s,void 0,e,!0)):delete i[s]);if(s!==l)for(const e in s)t&&(0,r.hasOwn)(t,e)||(delete s[e],u=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let a=n[o];if(Nt(e.emitsOptions,a))continue;const d=t[a];if(c)if((0,r.hasOwn)(s,a))d!==s[a]&&(s[a]=d,u=!0);else{const t=(0,r.camelize)(a);i[t]=xo(c,l,t,d,e,!1)}else d!==s[a]&&(s[a]=d,u=!0)}}u&&M(e,"set","$attrs")}(e,t.props,o,n),((e,t,n)=>{const{vnode:o,slots:i}=e;let s=!0,a=r.EMPTY_OBJ;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:((0,r.extend)(i,t),n||1!==e||delete i._):(s=!t.$stable,Vo(t,i)),a=t}else t&&(No(e,t),a={default:1});if(s)for(const e in i)To(e)||e in a||delete i[e]})(e,t.children,n),S(),xt(void 0,e.update),O()},I=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,d=e?e.shapeFlag:0,p=t.children,{patchFlag:f,shapeFlag:h}=t;if(f>0){if(128&f)return void j(c,p,n,o,r,i,s,a,l);if(256&f)return void D(c,p,n,o,r,i,s,a,l)}8&h?(16&d&&K(c,r,i),p!==c&&u(n,p)):16&d?16&h?j(c,p,n,o,r,i,s,a,l):K(c,r,i,!0):(8&d&&u(n,""),16&h&&C(p,n,o,r,i,s,a,l))},D=(e,t,n,o,i,s,a,l,c)=>{e=e||r.EMPTY_ARR,t=t||r.EMPTY_ARR;const u=e.length,d=t.length,p=Math.min(u,d);let f;for(f=0;f<p;f++){const o=t[f]=c?Or(t[f]):Sr(t[f]);v(e[f],o,n,null,i,s,a,l,c)}u>d?K(e,i,s,!0,!1,p):C(t,n,o,i,s,a,l,c,p)},j=(e,t,n,o,i,s,a,l,c)=>{let u=0;const d=t.length;let p=e.length-1,f=d-1;for(;u<=p&&u<=f;){const o=e[u],r=t[u]=c?Or(t[u]):Sr(t[u]);if(!fr(o,r))break;v(o,r,n,null,i,s,a,l,c),u++}for(;u<=p&&u<=f;){const o=e[p],r=t[f]=c?Or(t[f]):Sr(t[f]);if(!fr(o,r))break;v(o,r,n,null,i,s,a,l,c),p--,f--}if(u>p){if(u<=f){const e=f+1,r=e<d?t[e].el:o;for(;u<=f;)v(null,t[u]=c?Or(t[u]):Sr(t[u]),n,r,i,s,a,l,c),u++}}else if(u>f)for(;u<=p;)$(e[u],i,s,!0),u++;else{const h=u,m=u,y=new Map;for(u=m;u<=f;u++){const e=t[u]=c?Or(t[u]):Sr(t[u]);null!=e.key&&y.set(e.key,u)}let g,b=0;const _=f-m+1;let w=!1,x=0;const k=new Array(_);for(u=0;u<_;u++)k[u]=0;for(u=h;u<=p;u++){const o=e[u];if(b>=_){$(o,i,s,!0);continue}let r;if(null!=o.key)r=y.get(o.key);else for(g=m;g<=f;g++)if(0===k[g-m]&&fr(o,t[g])){r=g;break}void 0===r?$(o,i,s,!0):(k[r-m]=u+1,r>=x?x=r:w=!0,v(o,t[r],n,null,i,s,a,l,c),b++)}const E=w?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<l?i=a+1:s=a;l<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(k):r.EMPTY_ARR;for(g=E.length-1,u=_-1;u>=0;u--){const e=m+u,r=t[e],p=e+1<d?t[e+1].el:o;0===k[u]?v(null,r,n,p,i,s,a,l,c):w&&(g<0||u!==E[g]?R(r,n,p,2):g--)}}},R=(e,t,o,r,i=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void R(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void a.move(e,t,o,Y);if(a===Jo){n(s,t,o);for(let e=0;e<c.length;e++)R(c[e],t,o,r);return void n(e.anchor,t,o)}if(a===tr)return void(({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=p(e),n(e,o,r),e=i;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(s),n(s,t,o),Ro((()=>l.enter(s)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>n(s,t,o),c=()=>{e(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else n(s,t,o)},$=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=a&&Fo(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&p,h=!wn(e);let m;if(h&&(m=s&&s.onVnodeBeforeUnmount)&&Mr(m,t,e),6&u)U(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);f&&Kn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,Y,o):c&&(i!==Jo||d>0&&64&d)?K(c,t,n,!1,!0):(i===Jo&&384&d||!r&&16&u)&&K(l,t,n),o&&z(e)}(h&&(m=s&&s.onVnodeUnmounted)||f)&&Ro((()=>{m&&Mr(m,t,e),f&&Kn(e,null,t,"unmounted")}),n)},z=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===Jo)return void H(n,r);if(t===tr)return void w(e);const s=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,r=()=>t(n,s);o?o(e.el,s,r):r()}else s()},H=(e,t)=>{let n;for(;e!==t;)n=p(e),o(e),e=n;o(t)},U=(e,t,n)=>{const{bum:o,scope:i,update:s,subTree:a,um:l}=e;o&&(0,r.invokeArrayFns)(o),i.stop(),s&&(s.active=!1,$(a,e,t,n)),l&&Ro(l,t),Ro((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},K=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)$(e[s],t,n,o,r)},W=e=>6&e.shapeFlag?W(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),Q=(e,t,n)=>{null==e?t._vnode&&$(t._vnode,null,null,!0):v(t._vnode||null,e,t,null,null,null,n),kt(),t._vnode=e},Y={p:v,um:$,m:R,r:z,mt:A,mc:C,pc:I,pbc:B,n:W,o:e};let G,Z;return t&&([G,Z]=t(Y)),{render:Q,hydrate:G,createApp:qo(Q,G)}}function Uo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ko(e,t,n=!1){const o=e.children,i=t.children;if((0,r.isArray)(o)&&(0,r.isArray)(i))for(let e=0;e<o.length;e++){const t=o[e];let r=i[e];1&r.shapeFlag&&!r.dynamicChildren&&((r.patchFlag<=0||32===r.patchFlag)&&(r=i[e]=Or(i[e]),r.el=t.el),n||Ko(t,r))}}const Wo=e=>e&&(e.disabled||""===e.disabled),Qo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Yo=(e,t)=>{const n=e&&e.to;if((0,r.isString)(n)){if(t){const e=t(n);return e}return null}return n};function Go(e,t,n,{o:{insert:o},m:r},i=2){0===i&&o(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:l,children:c,props:u}=e,d=2===i;if(d&&o(s,t,n),(!d||Wo(u))&&16&l)for(let e=0;e<c.length;e++)r(c[e],t,n,2);d&&o(a,t,n)}const Zo={__isTeleport:!0,process(e,t,n,o,r,i,s,a,l,c){const{mc:u,pc:d,pbc:p,o:{insert:f,querySelector:h,createText:m,createComment:v}}=c,y=Wo(t.props);let{shapeFlag:g,children:b,dynamicChildren:_}=t;if(null==e){const e=t.el=m(""),c=t.anchor=m("");f(e,n,o),f(c,n,o);const d=t.target=Yo(t.props,h),p=t.targetAnchor=m("");d&&(f(p,d),s=s||Qo(d));const v=(e,t)=>{16&g&&u(b,e,t,r,i,s,a,l)};y?v(n,c):d&&v(d,p)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,f=t.targetAnchor=e.targetAnchor,m=Wo(e.props),v=m?n:u,g=m?o:f;if(s=s||Qo(u),_?(p(e.dynamicChildren,_,v,r,i,s,a),Ko(e,t,!0)):l||d(e,t,v,g,r,i,s,a,!1),y)m||Go(t,n,o,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Yo(t.props,h);e&&Go(t,e,null,c,0)}else m&&Go(t,u,f,c,1)}},remove(e,t,n,o,{um:r,o:{remove:i}},s){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:d,props:p}=e;if(d&&i(u),(s||!Wo(p))&&(i(c),16&a))for(let e=0;e<l.length;e++){const o=l[e];r(o,t,n,!0,!!o.dynamicChildren)}},move:Go,hydrate:function(e,t,n,o,r,i,{o:{nextSibling:s,parentNode:a,querySelector:l}},c){const u=t.target=Yo(t.props,l);if(u){const l=u._lpa||u.firstChild;if(16&t.shapeFlag)if(Wo(t.props))t.anchor=c(s(e),t,a(e),n,o,r,i),t.targetAnchor=l;else{t.anchor=s(e);let a=l;for(;a;)if(a=s(a),a&&8===a.nodeType&&"teleport anchor"===a.data){t.targetAnchor=a,u._lpa=t.targetAnchor&&s(t.targetAnchor);break}c(l,t,u,n,o,r,i)}}return t.anchor&&s(t.anchor)}},Jo=Symbol(void 0),Xo=Symbol(void 0),er=Symbol(void 0),tr=Symbol(void 0),nr=[];let or=null;function rr(e=!1){nr.push(or=e?null:[])}function ir(){nr.pop(),or=nr[nr.length-1]||null}let sr,ar=1;function lr(e){ar+=e}function cr(e){return e.dynamicChildren=ar>0?or||r.EMPTY_ARR:null,ir(),ar>0&&or&&or.push(e),e}function ur(e,t,n,o,r,i){return cr(gr(e,t,n,o,r,i,!0))}function dr(e,t,n,o,r){return cr(br(e,t,n,o,r,!0))}function pr(e){return!!e&&!0===e.__v_isVNode}function fr(e,t){return e.type===t.type&&e.key===t.key}function hr(e){sr=e}const mr="__vInternal",vr=({key:e})=>null!=e?e:null,yr=({ref:e,ref_key:t,ref_for:n})=>null!=e?(0,r.isString)(e)||Fe(e)||(0,r.isFunction)(e)?{i:Pt,r:e,k:t,f:!!n}:e:null;function gr(e,t=null,n=null,o=0,i=null,s=(e===Jo?0:1),a=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&vr(t),ref:t&&yr(t),scopeId:At,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null};return l?(Tr(c,n),128&s&&e.normalize(c)):n&&(c.shapeFlag|=(0,r.isString)(n)?8:16),ar>0&&!a&&or&&(c.patchFlag>0||6&s)&&32!==c.patchFlag&&or.push(c),c}const br=_r;function _r(e,t=null,n=null,o=0,i=null,s=!1){if(e&&e!==Yn||(e=er),pr(e)){const o=xr(e,t,!0);return n&&Tr(o,n),ar>0&&!s&&or&&(6&o.shapeFlag?or[or.indexOf(e)]=o:or.push(o)),o.patchFlag|=-2,o}if(Jr(e)&&(e=e.__vccOpts),t){t=wr(t);let{class:e,style:n}=t;e&&!(0,r.isString)(e)&&(t.class=(0,r.normalizeClass)(e)),(0,r.isObject)(n)&&(Be(n)&&!(0,r.isArray)(n)&&(n=(0,r.extend)({},n)),t.style=(0,r.normalizeStyle)(n))}return gr(e,t,n,o,i,(0,r.isString)(e)?1:Kt(e)?128:(e=>e.__isTeleport)(e)?64:(0,r.isObject)(e)?4:(0,r.isFunction)(e)?2:0,s,!0)}function wr(e){return e?Be(e)||mr in e?(0,r.extend)({},e):e:null}function xr(e,t,n=!1){const{props:o,ref:i,patchFlag:s,children:a}=e,l=t?Br(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&vr(l),ref:t&&t.ref?n&&i?(0,r.isArray)(i)?i.concat(yr(t)):[i,yr(t)]:yr(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Jo?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&xr(e.ssContent),ssFallback:e.ssFallback&&xr(e.ssFallback),el:e.el,anchor:e.anchor}}function kr(e=" ",t=0){return br(Xo,null,e,t)}function Er(e,t){const n=br(tr,null,e);return n.staticCount=t,n}function Cr(e="",t=!1){return t?(rr(),dr(er,null,e)):br(er,null,e)}function Sr(e){return null==e||"boolean"==typeof e?br(er):(0,r.isArray)(e)?br(Jo,null,e.slice()):"object"==typeof e?Or(e):br(Xo,null,String(e))}function Or(e){return null===e.el||e.memo?e:xr(e)}function Tr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if((0,r.isArray)(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Tr(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||mr in t?3===o&&Pt&&(1===Pt.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Pt}}else(0,r.isFunction)(t)?(t={default:t,_ctx:Pt},n=32):(t=String(t),64&o?(n=16,t=[kr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Br(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=(0,r.normalizeClass)([t.class,o.class]));else if("style"===e)t.style=(0,r.normalizeStyle)([t.style,o.style]);else if((0,r.isOn)(e)){const n=t[e],i=o[e];!i||n===i||(0,r.isArray)(n)&&n.includes(i)||(t[e]=n?[].concat(n,i):i)}else""!==e&&(t[e]=o[e])}return t}function Mr(e,t,n,o=null){nt(e,t,7,[n,o])}const Vr=Po();let Nr=0;function Pr(e,t,n){const o=e.type,i=(t?t.appContext:e.appContext)||Vr,a={uid:Nr++,vnode:e,type:o,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new s(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ko(o,i),emitsOptions:Vt(o,i),emit:null,emitted:null,propsDefaults:r.EMPTY_OBJ,inheritAttrs:o.inheritAttrs,ctx:r.EMPTY_OBJ,data:r.EMPTY_OBJ,props:r.EMPTY_OBJ,attrs:r.EMPTY_OBJ,slots:r.EMPTY_OBJ,refs:r.EMPTY_OBJ,setupState:r.EMPTY_OBJ,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=Mt.bind(null,a),e.ce&&e.ce(a),a}let Ar=null;const qr=()=>Ar||Pt,Fr=e=>{Ar=e,e.scope.on()},Lr=()=>{Ar&&Ar.scope.off(),Ar=null};function Ir(e){return 4&e.vnode.shapeFlag}let Dr,jr,Rr=!1;function $r(e,t=!1){Rr=t;const{props:n,children:o}=e.vnode,i=Ir(e);!function(e,t,n,o=!1){const i={},s={};(0,r.def)(s,mr,1),e.propsDefaults=Object.create(null),wo(e,t,i,s);for(const t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=o?i:xe(i):e.type.props?e.props=i:e.props=s,e.attrs=s}(e,n,i,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Me(t),(0,r.def)(t,"_",n)):Vo(t,e.slots={})}else e.slots={},t&&No(e,t);(0,r.def)(e.slots,mr,1)})(e,o);const s=i?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=Ve(new Proxy(e.ctx,ao)),!1;const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?Wr(e):null;Fr(e),S();const i=tt(o,e,0,[e.props,n]);if(O(),Lr(),(0,r.isPromise)(i)){if(i.then(Lr,Lr),t)return i.then((n=>{zr(e,n,t)})).catch((t=>{ot(t,e,0)}));e.asyncDep=i}else zr(e,i,t)}else Kr(e,t)}(e,t):void 0;return Rr=!1,s}function zr(e,t,n){(0,r.isFunction)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,r.isObject)(t)&&(e.setupState=He(t)),Kr(e,n)}function Hr(e){Dr=e,jr=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,lo))}}const Ur=()=>!Dr;function Kr(e,t,n){const o=e.type;if(!e.render){if(!t&&Dr&&!o.render){const t=o.template;if(t){0;const{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:a}=o,l=(0,r.extend)((0,r.extend)({isCustomElement:n,delimiters:s},i),a);o.render=Dr(t,l)}}e.render=o.render||r.NOOP,jr&&jr(e)}Fr(e),S(),uo(e),O(),Lr()}function Wr(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>(T(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}function Qr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(He(Ve(e.exposed)),{get:(t,n)=>n in t?t[n]:n in so?so[n](e):void 0}))}const Yr=/(?:^|[-_])(\w)/g;function Gr(e,t=!0){return(0,r.isFunction)(e)?e.displayName||e.name:e.name||t&&e.__name}function Zr(e,t,n=!1){let o=Gr(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(Yr,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function Jr(e){return(0,r.isFunction)(e)&&"__vccOpts"in e}const Xr=(e,t)=>function(e,t,n=!1){let o,i;const s=(0,r.isFunction)(e);return s?(o=e,i=r.NOOP):(o=e.get,i=e.set),new Ge(o,i,s||!i,n)}(e,0,Rr);function ei(){return null}function ti(){return null}function ni(e){0}function oi(e,t){return null}function ri(){return si().slots}function ii(){return si().attrs}function si(){const e=qr();return e.setupContext||(e.setupContext=Wr(e))}function ai(e,t){const n=(0,r.isArray)(e)?e.reduce(((e,t)=>(e[t]={},e)),{}):e;for(const e in t){const o=n[e];o?(0,r.isArray)(o)||(0,r.isFunction)(o)?n[e]={type:o,default:t[e]}:o.default=t[e]:null===o&&(n[e]={default:t[e]})}return n}function li(e,t){const n={};for(const o in e)t.includes(o)||Object.defineProperty(n,o,{enumerable:!0,get:()=>e[o]});return n}function ci(e){const t=qr();let n=e();return Lr(),(0,r.isPromise)(n)&&(n=n.catch((e=>{throw Fr(t),e}))),[n,()=>Fr(t)]}function ui(e,t,n){const o=arguments.length;return 2===o?(0,r.isObject)(t)&&!(0,r.isArray)(t)?pr(t)?br(e,null,[t]):br(e,t):br(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&pr(n)&&(n=[n]),br(e,t,n))}const di=Symbol(""),pi=()=>{{const e=en(di);return e||Je("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function fi(){return void 0}function hi(e,t,n,o){const r=n[o];if(r&&mi(r,e))return r;const i=t();return i.memo=e.slice(),n[o]=i}function mi(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if((0,r.hasChanged)(n[e],t[e]))return!1;return ar>0&&or&&or.push(e),!0}const vi="3.2.37",yi={createComponentInstance:Pr,setupComponent:$r,renderComponentRoot:jt,setCurrentRenderingInstance:qt,isVNode:pr,normalizeVNode:Sr},gi=null,bi=null,_i="undefined"!=typeof document?document:null,wi=_i&&_i.createElement("template"),xi={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t?_i.createElementNS("http://www.w3.org/2000/svg",e):_i.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>_i.createTextNode(e),createComment:e=>_i.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_i.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{wi.innerHTML=o?`<svg>${e}</svg>`:e;const r=wi.content;if(o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};const ki=/\s*!important$/;function Ei(e,t,n){if((0,r.isArray)(n))n.forEach((n=>Ei(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Si[t];if(n)return n;let o=(0,r.camelize)(t);if("filter"!==o&&o in e)return Si[t]=o;o=(0,r.capitalize)(o);for(let n=0;n<Ci.length;n++){const r=Ci[n]+o;if(r in e)return Si[t]=r}return t}(e,t);ki.test(n)?e.setProperty((0,r.hyphenate)(o),n.replace(ki,""),"important"):e[o]=n}}const Ci=["Webkit","Moz","ms"],Si={};const Oi="http://www.w3.org/1999/xlink";const[Ti,Bi]=(()=>{let e=Date.now,t=!1;if("undefined"!=typeof window){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Mi=0;const Vi=Promise.resolve(),Ni=()=>{Mi=0};function Pi(e,t,n,o){e.addEventListener(t,n,o)}function Ai(e,t,n,o,i=null){const s=e._vei||(e._vei={}),a=s[t];if(o&&a)a.value=o;else{const[n,l]=function(e){let t;if(qi.test(e)){let n;for(t={};n=e.match(qi);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[(0,r.hyphenate)(e.slice(2)),t]}(t);if(o){const a=s[t]=function(e,t){const n=e=>{const o=e.timeStamp||Ti();(Bi||o>=n.attached-1)&&nt(function(e,t){if((0,r.isArray)(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Mi||(Vi.then(Ni),Mi=Ti()))(),n}(o,i);Pi(e,n,a,l)}else a&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,a,l),s[t]=void 0)}}const qi=/(?:Once|Passive|Capture)$/;const Fi=/^on[a-z]/;function Li(e,t){const n=_n(e);class o extends ji{constructor(e){super(n,e,t)}}return o.def=n,o}const Ii=e=>Li(e,$s),Di="undefined"!=typeof HTMLElement?HTMLElement:class{};class ji extends Di{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,yt((()=>{this._connected||(Rs(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);new MutationObserver((e=>{for(const t of e)this._setAttr(t.attributeName)})).observe(this,{attributes:!0});const e=e=>{const{props:t,styles:n}=e,o=!(0,r.isArray)(t),i=t?o?Object.keys(t):t:[];let s;if(o)for(const e in this._props){const n=t[e];(n===Number||n&&n.type===Number)&&(this._props[e]=(0,r.toNumber)(this._props[e]),(s||(s=Object.create(null)))[e]=!0)}this._numberProps=s;for(const e of Object.keys(this))"_"!==e[0]&&this._setProp(e,this[e],!0,!1);for(const e of i.map(r.camelize))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t)}});this._applyStyles(n),this._update()},t=this._def.__asyncLoader;t?t().then(e):e(this._def)}_setAttr(e){let t=this.getAttribute(e);this._numberProps&&this._numberProps[e]&&(t=(0,r.toNumber)(t)),this._setProp((0