Ultimate CSV Importer - Version 6.1.6

Version Description

Download this release

Release Info

Developer smackcoders
Plugin Icon 128x128 Ultimate CSV Importer
Version 6.1.6
Comparing to
See all releases

Code changes from version 6.1.5 to 6.1.6

InstallAddons.php ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * WP Ultimate CSV Importer plugin file.
4
+ *
5
+ * Copyright (C) 2010-2020, Smackcoders Inc - info@smackcoders.com
6
+ */
7
+
8
+ namespace Smackcoders\FCSV;
9
+
10
+ if ( ! defined( 'ABSPATH' ) )
11
+ exit; // Exit if accessed directly
12
+
13
+ /**
14
+ * Class InstallAddons
15
+ * @package Smackcoders\FCSV
16
+ */
17
+
18
+ class InstallAddons {
19
+
20
+ protected static $instance = null;
21
+ private static $smack_csv_instance = null;
22
+
23
+ public function __construct() {
24
+ $this->plugin = Plugin::getInstance();
25
+ }
26
+
27
+ public static function getInstance() {
28
+ if ( InstallAddons::$instance == null ) {
29
+ InstallAddons::$instance = new InstallAddons;
30
+ InstallAddons::$smack_csv_instance = SmackCSV::getInstance();
31
+ InstallAddons::$instance->doHooks();
32
+ }
33
+ return InstallAddons::$instance;
34
+ }
35
+
36
+ public function doHooks()
37
+ {
38
+ add_action('wp_ajax_install_plugins',array($this,'install'));
39
+ }
40
+
41
+ public function install(){
42
+ delete_option("WP_ULTIMATE_ADDONS_FAILED");
43
+
44
+ $all_addons = $_POST['all_addons'];
45
+ $selected_addons = $_POST['addons'];
46
+ $last_iteration = $_POST['last_iteration'];
47
+ self::plugin_install($selected_addons, $last_iteration);
48
+ self::activate_all($all_addons);
49
+ print "Plugin Installed";
50
+ //die('Plugin Installed');
51
+ }
52
+
53
+ public function activate_all($get_all_selected_addons){
54
+ foreach($get_all_selected_addons as $selected_addon){
55
+ if($selected_addon == 'Users'){
56
+ activate_plugin('import-users/import-users.php');
57
+ }
58
+ elseif($selected_addon == 'WooCommerce'){
59
+ activate_plugin('import-woocommerce/import-woocommerce.php');
60
+ }
61
+ elseif($selected_addon == 'Exporter'){
62
+ activate_plugin('wp-ultimate-exporter/wp-ultimate-exporter.php');
63
+ }
64
+ }
65
+ delete_option("WP_ULTIMATE_RECENT_SELECTED_ADDONS");
66
+ }
67
+ /**
68
+ Code for download and install plugin from org
69
+ **/
70
+
71
+ public function plugin_install($crmtype, $last_iteration){
72
+ update_option("WP_ULTIMATE_SELECTED_ADDON_{$crmtype}", 'checked');
73
+
74
+ $get_recent_addons = get_option("WP_ULTIMATE_RECENT_SELECTED_ADDONS");
75
+ if(empty($get_recent_addons)){
76
+ update_option("WP_ULTIMATE_RECENT_SELECTED_ADDONS", $crmtype);
77
+ }else{
78
+ update_option("WP_ULTIMATE_RECENT_SELECTED_ADDONS", $get_recent_addons.','.$crmtype);
79
+ }
80
+
81
+ switch($crmtype){
82
+ case 'Users':
83
+ $plugin_slug = 'import-users/import-users.php';
84
+ $plugin_zip = 'https://downloads.wordpress.org/plugin/import-users.1.2.3.zip';
85
+ break;
86
+
87
+ case 'WooCommerce':
88
+ $plugin_slug = 'import-woocommerce/import-woocommerce.php';
89
+ $plugin_zip = 'https://downloads.wordpress.org/plugin/import-woocommerce.1.5.6.zip';
90
+ break;
91
+
92
+ case 'Exporter':
93
+ $plugin_slug = 'wp-ultimate-exporter/wp-ultimate-exporter.php';
94
+ $plugin_zip = 'https://downloads.wordpress.org/plugin/wp-ultimate-exporter.1.5.4.zip';
95
+ break;
96
+ }
97
+
98
+ $addons_array = array(
99
+ 'import-users/import-users.php' => 'Users',
100
+ 'import-woocommerce/import-woocommerce.php' => 'WooCommerce',
101
+ 'wp-ultimate-exporter/wp-ultimate-exporter.php' => 'Exporter',
102
+ );
103
+
104
+ if($last_iteration == 'yes'){
105
+ $all_addons_array = array('Users', 'WooCommerce', 'Exporter');
106
+
107
+ $get_recent_addons = get_option("WP_ULTIMATE_RECENT_SELECTED_ADDONS");
108
+ $get_recent_addons = explode(',', $get_recent_addons);
109
+
110
+ foreach($all_addons_array as $each_addon){
111
+ $get_addon_status = get_option("WP_ULTIMATE_SELECTED_ADDON_{$each_addon}");
112
+ if(empty($get_addon_status)){
113
+ update_option("WP_ULTIMATE_SELECTED_ADDON_{$each_addon}", 'unchecked');
114
+ }
115
+
116
+ if(!in_array($each_addon, $get_recent_addons)){
117
+ update_option("WP_ULTIMATE_SELECTED_ADDON_{$each_addon}", 'unchecked');
118
+ }
119
+ }
120
+
121
+ foreach($all_addons_array as $each_addon){
122
+ $get_addon_status = get_option("WP_ULTIMATE_SELECTED_ADDON_{$each_addon}");
123
+ if($get_addon_status == 'unchecked'){
124
+ $unchecked_plugin = array_search($each_addon, $addons_array);
125
+ $active_plugins = get_option('active_plugins');
126
+ if(in_array($unchecked_plugin, $active_plugins)){
127
+ $uncheck_plugins = array($unchecked_plugin);
128
+ delete_plugins($uncheck_plugins);
129
+ }
130
+ }
131
+ }
132
+ }
133
+
134
+ if ( self::is_plugin_installed( $plugin_slug ) ) {
135
+ self::upgrade_plugin( $plugin_slug );
136
+ $installed = true;
137
+ die;
138
+ }
139
+ else {
140
+ $installed = self::install_plugin( $plugin_zip );
141
+ }
142
+
143
+ if ( $installed ) {
144
+ $activate = activate_plugin( $plugin_slug );
145
+ if ( is_null($activate) ) {
146
+ //
147
+ }
148
+ } else {
149
+ $failed_addons = get_option("WP_ULTIMATE_ADDONS_FAILED");
150
+ if(empty($failed_addons)){
151
+ update_option("WP_ULTIMATE_ADDONS_FAILED", $addons_array[$plugin_slug]);
152
+ }
153
+ else{
154
+ $failed_addon = $failed_addons . ',' . $addons_array[$plugin_slug];
155
+ update_option("WP_ULTIMATE_ADDONS_FAILED", $failed_addon);
156
+ }
157
+ }
158
+ //wp_die();
159
+ }
160
+
161
+ /**
162
+ Check whether the plugin is already installed
163
+ **/
164
+ public function is_plugin_installed( $slug ) {
165
+ if ( ! function_exists( 'get_plugins' ) ) {
166
+ require_once ABSPATH . 'wp-admin/includes/plugin.php';
167
+ }
168
+ $all_plugins = get_plugins();
169
+
170
+ if ( !empty( $all_plugins[$slug] ) ) {
171
+ return true;
172
+ } else {
173
+ return false;
174
+ }
175
+ }
176
+
177
+ /**
178
+ Code for Install plugin
179
+ **/
180
+ public function install_plugin( $plugin_zip ) {
181
+ include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
182
+ wp_cache_flush();
183
+ $upgrader = new \Plugin_Upgrader();
184
+ $installed = $upgrader->install( $plugin_zip );
185
+ if ( !is_wp_error( $installed ) ) {
186
+ return true;
187
+ }
188
+ }
189
+
190
+ public function upgrade_plugin( $plugin_slug ) {
191
+ include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
192
+ wp_cache_flush();
193
+ $upgrader = new \Plugin_Upgrader();
194
+ $upgraded = $upgrader->upgrade( $plugin_slug );
195
+ return $upgraded;
196
+ }
197
+ }
MediaHandling.php CHANGED
@@ -29,13 +29,19 @@ class MediaHandling{
29
  public static function imageOptions(){
30
  $media_settings['media_handle_option'] = $_POST['media_handle_option'];
31
  $media_settings['use_ExistingImage'] = $_POST['use_ExistingImage'];
32
- $media_settings['enable_postcontent_image'] = $_POST['postContent_image_option'];
33
  $media_settings['overwriteImage'] = $_POST['overwriteImage'];
34
  $media_settings['file_name'] = $_POST['file_name'];
35
  $media_settings['caption'] = sanitize_text_field($_POST['caption']);
36
  $media_settings['alttext'] = sanitize_text_field($_POST['alttext']);
37
  $media_settings['description'] = sanitize_text_field($_POST['description']);
38
-
 
 
 
 
 
 
 
39
  $image_info = array(
40
  'media_settings' => $media_settings
41
  );
@@ -184,9 +190,6 @@ class MediaHandling{
184
  if(isset($media_handle['media_settings']['alttext'])) {
185
  $alttext ['_wp_attachment_image_alt'] = $media_settings[$media_handle['media_settings']['alttext']];
186
  }
187
- if(isset($media_handle['postcontent_image_alt'])) {
188
- $alttext ['_wp_postcontent_image_alt'] = $media_handle['postcontent_image_alt'];
189
- }
190
 
191
  if(preg_match_all('/\b(?:(?:https?|http|ftp|file):\/\/|www\.|ftp\.)[-A-Z0-9+&@#\/%=~_|$?!:,.]*[A-Z0-9+&@#\/%=~_|$]/i', $f_img , $matchedlist, PREG_PATTERN_ORDER)) {
192
  $f_img = $f_img;
@@ -339,12 +342,6 @@ class MediaHandling{
339
  if($attach_id != null && isset($alttext['_wp_attachment_image_alt'])){
340
  update_post_meta($attach_id, '_wp_attachment_image_alt', $alttext['_wp_attachment_image_alt']);
341
  }
342
-
343
- if($attach_id != null && isset($alttext['_wp_postcontent_image_alt'])){
344
- update_post_meta($attach_id, '_wp_attachment_image_alt', $alttext['_wp_postcontent_image_alt']);
345
- }
346
-
347
-
348
  if(!empty($data_array['featured_image'])) {
349
  set_post_thumbnail( $post_id, $attach_id );
350
  }
29
  public static function imageOptions(){
30
  $media_settings['media_handle_option'] = $_POST['media_handle_option'];
31
  $media_settings['use_ExistingImage'] = $_POST['use_ExistingImage'];
 
32
  $media_settings['overwriteImage'] = $_POST['overwriteImage'];
33
  $media_settings['file_name'] = $_POST['file_name'];
34
  $media_settings['caption'] = sanitize_text_field($_POST['caption']);
35
  $media_settings['alttext'] = sanitize_text_field($_POST['alttext']);
36
  $media_settings['description'] = sanitize_text_field($_POST['description']);
37
+ $media_settings['thumbnail'] = $_POST['thumbnail'];
38
+ $media_settings['medium'] = $_POST['medium'];
39
+ $media_settings['medium_large'] = $_POST['medium_large'];
40
+ $media_settings['large'] = $_POST['large'];
41
+ $media_settings['custom'] = $_POST['custom'];
42
+ $media_settings['custom_slug'] = $_POST['custom_slug'];
43
+ $media_settings['custom_slug'] = $_POST['custom_width'];
44
+ $media_settings['custom_height'] = $_POST['custom_height'];
45
  $image_info = array(
46
  'media_settings' => $media_settings
47
  );
190
  if(isset($media_handle['media_settings']['alttext'])) {
191
  $alttext ['_wp_attachment_image_alt'] = $media_settings[$media_handle['media_settings']['alttext']];
192
  }
 
 
 
193
 
194
  if(preg_match_all('/\b(?:(?:https?|http|ftp|file):\/\/|www\.|ftp\.)[-A-Z0-9+&@#\/%=~_|$?!:,.]*[A-Z0-9+&@#\/%=~_|$]/i', $f_img , $matchedlist, PREG_PATTERN_ORDER)) {
195
  $f_img = $f_img;
342
  if($attach_id != null && isset($alttext['_wp_attachment_image_alt'])){
343
  update_post_meta($attach_id, '_wp_attachment_image_alt', $alttext['_wp_attachment_image_alt']);
344
  }
 
 
 
 
 
 
345
  if(!empty($data_array['featured_image'])) {
346
  set_post_thumbnail( $post_id, $attach_id );
347
  }
Readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: smackcoders, smacksupport
3
  Requires at least: 5.0
4
  Tested up to: 5.3.2
5
- Stable tag: 6.1.5
6
- Version: 6.1.5
7
  Requires PHP: 5.2.4
8
  Author: smackcoders
9
  Author URI: http://profiles.wordpress.org/smackcoders/
@@ -75,10 +75,18 @@ In mapping section, CSV or XML Importer plugin allows you to relate the uploaded
75
  = What can you import in WordPress =
76
  Core Modules – Post, Page, Custom Post, Comments.
77
  Users – Import Users add-on to import your WordPress Users
78
- Custom Post – CPT UI, Custom Press and default WordPress Custom Post.
79
  Custom Field – WordPress default Text and Text area fields.
80
- SEO field – Free version of All in One SEO.
81
- Reviews WP Customer Reviews
 
 
 
 
 
 
 
 
82
 
83
  = Highlights =
84
  * High performance, much comparable & much faster than all the other available plugins.
@@ -122,7 +130,7 @@ Reviews – WP Customer Reviews
122
  = HELPFUL LINKS =
123
  [Documentation](https://www.smackcoders.com/documentation/ultimate-csv-importer-pro/how-to-import-csv?utm_source=web&utm_campaign=readme&utm_medium=wp_org)
124
 
125
- [Try our live demo here](https://demo.smackcoders.com/wordpress/wp-admin/admin.php?page=sm-uci-dashboard)
126
 
127
  [Request a free trial by visiting here](https://www.smackcoders.com/wp-ultimate-csv-importer-pro.html?utm_source=web&utm_campaign=readme&utm_medium=wp_org) and Click Try Now option to generate your own WordPress test environment.
128
 
@@ -178,6 +186,12 @@ Import to WordPress done in different methods based on content source type, plat
178
 
179
 
180
  == Changelog ==
 
 
 
 
 
 
181
  = 6.1.5 =
182
  * Added: Import Support for Multi Language plugin (Posts,Pages and Custom Posts).
183
  * Added: Post Expirator Support for Posts,Pages and Custom Posts.
@@ -627,6 +641,8 @@ Import to WordPress done in different methods based on content source type, plat
627
  * Initial release version. Tested and found works well without any issues.
628
 
629
  == Upgrade Notice ==
 
 
630
  = 6.1.5 =
631
  * Added: Upgrade now for latest updates.
632
  = 6.1.4 =
2
  Contributors: smackcoders, smacksupport
3
  Requires at least: 5.0
4
  Tested up to: 5.3.2
5
+ Stable tag: 6.1.6
6
+ Version: 6.1.6
7
  Requires PHP: 5.2.4
8
  Author: smackcoders
9
  Author URI: http://profiles.wordpress.org/smackcoders/
75
  = What can you import in WordPress =
76
  Core Modules – Post, Page, Custom Post, Comments.
77
  Users – Import Users add-on to import your WordPress Users
78
+ Custom Post – CPT UI, Pods, Toolset, Custom Press and default WordPress Custom Post.
79
  Custom Field – WordPress default Text and Text area fields.
80
+
81
+ = Supported thirdparty plugins =
82
+ BBPress Plugin - Topic, Reply, and Forum Import.
83
+ LearnPress Plugin - Courses, Lessons, Quizzes, Orders and Questions Import.
84
+ WooCommerce - Products with categories, attributes, tags, and Images Import.
85
+ All in One SEO Plugin - .SEO Fields Import.
86
+ WP Customer Reviews – Reviews Import.
87
+ MultiLanguage by Websoft.
88
+ Post Expirator Plugin.
89
+
90
 
91
  = Highlights =
92
  * High performance, much comparable & much faster than all the other available plugins.
130
  = HELPFUL LINKS =
131
  [Documentation](https://www.smackcoders.com/documentation/ultimate-csv-importer-pro/how-to-import-csv?utm_source=web&utm_campaign=readme&utm_medium=wp_org)
132
 
133
+ [Try our live demo here](https://demo.smackcoders.com/wordpress/wp-admin/admin.php?page=com.smackcoders.csvimporternewpro.menu)
134
 
135
  [Request a free trial by visiting here](https://www.smackcoders.com/wp-ultimate-csv-importer-pro.html?utm_source=web&utm_campaign=readme&utm_medium=wp_org) and Click Try Now option to generate your own WordPress test environment.
136
 
186
 
187
 
188
  == Changelog ==
189
+ = 6.1.6 =
190
+ * Added: Mandatory import fields for posts,pages,custom posts and categories.
191
+ * Added: Recommended addon setup page.
192
+ * Fixed: single row xml import.
193
+ * Fixed: Page template import.
194
+
195
  = 6.1.5 =
196
  * Added: Import Support for Multi Language plugin (Posts,Pages and Custom Posts).
197
  * Added: Post Expirator Support for Posts,Pages and Custom Posts.
641
  * Initial release version. Tested and found works well without any issues.
642
 
643
  == Upgrade Notice ==
644
+ = 6.1.6 =
645
+ * Added: Upgrade now for latest updates.
646
  = 6.1.5 =
647
  * Added: Upgrade now for latest updates.
648
  = 6.1.4 =
SaveMapping.php CHANGED
@@ -398,7 +398,7 @@ class SaveMapping{
398
 
399
  case 'MODERATOR':
400
  $bbpress_instance = BBPressImport::getInstance();
401
- $bbpress_instance->set_bbpress_values($header_array, $value_array, $map['MODERATOR'], $post_id, $selected_type);
402
  break;
403
 
404
  case 'LPLESSON':
@@ -923,17 +923,17 @@ class SaveMapping{
923
 
924
  case 'FORUM':
925
  $bbpress_instance = BBPressImport::getInstance();
926
- $bbpress_instance->set_bbpress_values($header_array, $value_array, $map['FORUM'], $post_id, $selected_type);
927
  break;
928
 
929
  case 'TOPIC':
930
  $bbpress_instance = BBPressImport::getInstance();
931
- $bbpress_instance->set_bbpress_values($header_array, $value_array, $map['TOPIC'], $post_id, $selected_type);
932
  break;
933
 
934
  case 'REPLY':
935
  $bbpress_instance = BBPressImport::getInstance();
936
- $bbpress_instance->set_bbpress_values($header_array, $value_array, $map['REPLY'], $post_id, $selected_type);
937
  break;
938
 
939
  case 'LPCOURSE':
398
 
399
  case 'MODERATOR':
400
  $bbpress_instance = BBPressImport::getInstance();
401
+ $bbpress_instance->set_bbpress_values($header_array, $value_array, $map['MODERATOR'], $post_id, $selected_type, $get_mode);
402
  break;
403
 
404
  case 'LPLESSON':
923
 
924
  case 'FORUM':
925
  $bbpress_instance = BBPressImport::getInstance();
926
+ $bbpress_instance->set_bbpress_values($header_array, $value_array, $map['FORUM'], $post_id, $selected_type, $get_mode);
927
  break;
928
 
929
  case 'TOPIC':
930
  $bbpress_instance = BBPressImport::getInstance();
931
+ $bbpress_instance->set_bbpress_values($header_array, $value_array, $map['TOPIC'], $post_id, $selected_type, $get_mode);
932
  break;
933
 
934
  case 'REPLY':
935
  $bbpress_instance = BBPressImport::getInstance();
936
+ $bbpress_instance->set_bbpress_values($header_array, $value_array, $map['REPLY'], $post_id, $selected_type, $get_mode);
937
  break;
938
 
939
  case 'LPCOURSE':
SmackCSVImporterInstall.php CHANGED
@@ -94,6 +94,10 @@ class SmackCSVInstall {
94
  */
95
  public function install() {
96
  $current_uci_version = get_option( 'ULTIMATE_CSV_IMP_VERSION', null );
 
 
 
 
97
  self::$tables_instance->create_tables();
98
  if ( is_null( $current_uci_version )) {
99
  self::create_options(); // Create option data on the initial stage
@@ -118,6 +122,56 @@ class SmackCSVInstall {
118
  add_option( 'ULTIMATE_CSV_IMP_VERSION', $version );
119
  }
120
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  /**
122
  * @param null $version
123
  * Update DB version to current.
94
  */
95
  public function install() {
96
  $current_uci_version = get_option( 'ULTIMATE_CSV_IMP_VERSION', null );
97
+ if(empty($current_uci_version)){
98
+ add_option("WP_ULTIMATE_CSV_FIRST_ACTIVATE", 'On');
99
+ }
100
+
101
  self::$tables_instance->create_tables();
102
  if ( is_null( $current_uci_version )) {
103
  self::create_options(); // Create option data on the initial stage
122
  add_option( 'ULTIMATE_CSV_IMP_VERSION', $version );
123
  }
124
 
125
+
126
+ public static function content_media_url_modification($content) {
127
+ $region=self::bucket_region();
128
+ preg_match_all('#\bhttps?://[^,\s()<>]+(?:\([\w\d]+\)|([^,[:punct:]\s]|/))#', $content, $match);
129
+ $content_urls = $match[0];
130
+ $rewrite_url=get_option('media_rewrite_url');
131
+ $media_bucket=get_option('updated_media_bucket');
132
+ $media_bucket=trim($media_bucket);
133
+ $upload_directory = wp_upload_dir();
134
+ $domain_name=get_option('do_domain_name');
135
+ $copy_year=get_option('copy_year_path');
136
+ $media_path =get_option('media_file_path');
137
+ $media_path = substr_replace($media_path, "", -1);
138
+ $end_points=get_option('media_bucket_origin');
139
+ if($copy_year =='true'){
140
+ $media_base_url = $upload_directory['baseurl'];
141
+
142
+ }else{
143
+ $media_base_url = $upload_directory['url'];
144
+ }
145
+ if($rewrite_url=='true'){
146
+ foreach ($content_urls as $content_url) {
147
+ if(!empty($domain_name)){
148
+ if(!empty($media_path)){
149
+ $do_storage_location = $domain_name.'/'.$media_path;
150
+ }
151
+ else{
152
+ $do_storage_location=$domain_name;
153
+ }
154
+ }
155
+ else{
156
+ if(!empty($media_path)){
157
+ $do_storage_location = $end_points.'/'.$media_path;
158
+ }
159
+ else{
160
+ $do_storage_location = $end_points;
161
+ }
162
+ }
163
+
164
+ if (strpos($content_url, $do_storage_location) !== false) {
165
+ $content = str_replace($media_base_url, $do_storage_location, $content);
166
+ }
167
+ else {
168
+ $content = str_replace($media_base_url, $do_storage_location, $content);
169
+ }
170
+ }
171
+ }
172
+ return $content;
173
+ }
174
+
175
  /**
176
  * @param null $version
177
  * Update DB version to current.
assets/css/deps/style.css ADDED
@@ -0,0 +1,3241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+ /*--------------------------------------------------------
3
+ Style Sheet for WP Ultimate CSV Importer Pro Plugin
4
+ SCSS Version: 2.0
5
+ Last modified: 20.11.2018
6
+ Author: Mohamed Fariz
7
+ ----------------------------------------------------------*/
8
+ @import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");
9
+ @import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700");
10
+ @import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900");
11
+ @import url("https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900&display=swap");
12
+ @font-face {
13
+ font-family: "csvimporter";
14
+ src: url("../fonts/csvimporter.eot?f4xnj1");
15
+ src: url("../fonts/csvimporter.eot?f4xnj1#iefix") format("embedded-opentype"), url("../fonts/csvimporter.ttf?f4xnj1") format("truetype"), url("../fonts/csvimporter.woff?f4xnj1") format("woff"), url("../fonts/csvimporter.svg?f4xnj1#csvimporter") format("svg");
16
+ font-weight: normal;
17
+ font-style: normal;
18
+ }
19
+ [class^=csv-icon-], [class*=" csv-icon-"] {
20
+ /* use !important to prevent issues with browser extensions that change fonts */
21
+ font-family: "csvimporter" !important;
22
+ speak: none;
23
+ font-style: normal;
24
+ font-weight: normal;
25
+ font-variant: normal;
26
+ text-transform: none;
27
+ line-height: 1;
28
+ /* Better Font Rendering =========== */
29
+ -webkit-font-smoothing: antialiased;
30
+ -moz-osx-font-smoothing: grayscale;
31
+ }
32
+
33
+ .csv-icon-cloud_download:before {
34
+ content: "";
35
+ }
36
+
37
+ .csv-icon-highlight_off:before {
38
+ content: "";
39
+ }
40
+
41
+ .csv-icon-database1:before {
42
+ content: "";
43
+ }
44
+
45
+ .csv-icon-delete1:before {
46
+ content: "";
47
+ }
48
+
49
+ .csv-icon-hard-drive1:before {
50
+ content: "";
51
+ }
52
+
53
+ .csv-icon-layers:before {
54
+ content: "";
55
+ }
56
+
57
+ .csv-icon-layout:before {
58
+ content: "";
59
+ }
60
+
61
+ .csv-icon-sum:before {
62
+ content: "";
63
+ }
64
+
65
+ .csv-icon-plus1:before {
66
+ content: "";
67
+ }
68
+
69
+ .csv-icon-plus-circle:before {
70
+ content: "";
71
+ }
72
+
73
+ .csv-icon-plus-square:before {
74
+ content: "";
75
+ }
76
+
77
+ .csv-icon-access_alarms:before {
78
+ content: "";
79
+ }
80
+
81
+ .csv-icon-schedule:before {
82
+ content: "";
83
+ }
84
+
85
+ .csv-icon-alarm_on:before {
86
+ content: "";
87
+ }
88
+
89
+ .csv-icon-document-text:before {
90
+ content: "";
91
+ }
92
+
93
+ .csv-icon-mail:before {
94
+ content: "";
95
+ }
96
+
97
+ .csv-icon-map-pin:before {
98
+ content: "";
99
+ }
100
+
101
+ .csv-icon-airplay:before {
102
+ content: "";
103
+ }
104
+
105
+ .csv-icon-border_color:before {
106
+ content: "";
107
+ }
108
+
109
+ .csv-icon-mode_edit:before {
110
+ content: "";
111
+ }
112
+
113
+ .csv-icon-delete:before {
114
+ content: "";
115
+ }
116
+
117
+ .csv-icon-phonelink:before {
118
+ content: "";
119
+ }
120
+
121
+ .csv-icon-find_in_page:before {
122
+ content: "";
123
+ }
124
+
125
+ .csv-icon-folder:before {
126
+ content: "";
127
+ }
128
+
129
+ .csv-icon-folder_open:before {
130
+ content: "";
131
+ }
132
+
133
+ .csv-icon-important_devices:before {
134
+ content: "";
135
+ }
136
+
137
+ .csv-icon-inbox:before {
138
+ content: "";
139
+ }
140
+
141
+ .csv-icon-language:before {
142
+ content: "";
143
+ }
144
+
145
+ .csv-icon-laptop_chromebook:before {
146
+ content: "";
147
+ }
148
+
149
+ .csv-icon-laptop_mac:before {
150
+ content: "";
151
+ }
152
+
153
+ .csv-icon-laptop_windows:before {
154
+ content: "";
155
+ }
156
+
157
+ .csv-icon-airplay1:before {
158
+ content: "";
159
+ }
160
+
161
+ .csv-icon-calendar1:before {
162
+ content: "";
163
+ }
164
+
165
+ .csv-icon-chevron-down:before {
166
+ content: "";
167
+ }
168
+
169
+ .csv-icon-chevron-up:before {
170
+ content: "";
171
+ }
172
+
173
+ .csv-icon-copy:before {
174
+ content: "";
175
+ }
176
+
177
+ .csv-icon-download-cloud:before {
178
+ content: "";
179
+ }
180
+
181
+ .csv-icon-edit1:before {
182
+ content: "";
183
+ }
184
+
185
+ .csv-icon-edit-2:before {
186
+ content: "";
187
+ }
188
+
189
+ .csv-icon-edit-3:before {
190
+ content: "";
191
+ }
192
+
193
+ .csv-icon-hard-drive:before {
194
+ content: "";
195
+ }
196
+
197
+ .csv-icon-home:before {
198
+ content: "";
199
+ }
200
+
201
+ .csv-icon-image1:before {
202
+ content: "";
203
+ }
204
+
205
+ .csv-icon-inbox1:before {
206
+ content: "";
207
+ }
208
+
209
+ .csv-icon-link:before {
210
+ content: "";
211
+ }
212
+
213
+ .csv-icon-pocket:before {
214
+ content: "";
215
+ }
216
+
217
+ .csv-icon-server:before {
218
+ content: "";
219
+ }
220
+
221
+ .csv-icon-settings:before {
222
+ content: "";
223
+ }
224
+
225
+ .csv-icon-star1:before {
226
+ content: "";
227
+ }
228
+
229
+ .csv-icon-trash1:before {
230
+ content: "";
231
+ }
232
+
233
+ .csv-icon-trash-2:before {
234
+ content: "";
235
+ }
236
+
237
+ .csv-icon-upload-cloud:before {
238
+ content: "";
239
+ }
240
+
241
+ .csv-icon-clock-o:before {
242
+ content: "";
243
+ }
244
+
245
+ .csv-icon-envelope-square:before {
246
+ content: "";
247
+ }
248
+
249
+ .csv-icon-plus:before {
250
+ content: "";
251
+ }
252
+
253
+ .csv-icon-minus:before {
254
+ content: "";
255
+ }
256
+
257
+ .csv-icon-search:before {
258
+ content: "";
259
+ }
260
+
261
+ .csv-icon-envelope-o:before {
262
+ content: "";
263
+ }
264
+
265
+ .csv-icon-heart:before {
266
+ content: "";
267
+ }
268
+
269
+ .csv-icon-star:before {
270
+ content: "";
271
+ }
272
+
273
+ .csv-icon-star-o:before {
274
+ content: "";
275
+ }
276
+
277
+ .csv-icon-user:before {
278
+ content: "";
279
+ }
280
+
281
+ .csv-icon-th-large:before {
282
+ content: "";
283
+ }
284
+
285
+ .csv-icon-th:before {
286
+ content: "";
287
+ }
288
+
289
+ .csv-icon-th-list:before {
290
+ content: "";
291
+ }
292
+
293
+ .csv-icon-check:before {
294
+ content: "";
295
+ }
296
+
297
+ .csv-icon-close:before {
298
+ content: "";
299
+ }
300
+
301
+ .csv-icon-remove:before {
302
+ content: "";
303
+ }
304
+
305
+ .csv-icon-times:before {
306
+ content: "";
307
+ }
308
+
309
+ .csv-icon-power-off:before {
310
+ content: "";
311
+ }
312
+
313
+ .csv-icon-cog:before {
314
+ content: "";
315
+ }
316
+
317
+ .csv-icon-gear:before {
318
+ content: "";
319
+ }
320
+
321
+ .csv-icon-trash-o:before {
322
+ content: "";
323
+ }
324
+
325
+ .csv-icon-download:before {
326
+ content: "";
327
+ }
328
+
329
+ .csv-icon-tag:before {
330
+ content: "";
331
+ }
332
+
333
+ .csv-icon-tags:before {
334
+ content: "";
335
+ }
336
+
337
+ .csv-icon-book:before {
338
+ content: "";
339
+ }
340
+
341
+ .csv-icon-bookmark:before {
342
+ content: "";
343
+ }
344
+
345
+ .csv-icon-video-camera:before {
346
+ content: "";
347
+ }
348
+
349
+ .csv-icon-image:before {
350
+ content: "";
351
+ }
352
+
353
+ .csv-icon-photo:before {
354
+ content: "";
355
+ }
356
+
357
+ .csv-icon-picture-o:before {
358
+ content: "";
359
+ }
360
+
361
+ .csv-icon-map-marker:before {
362
+ content: "";
363
+ }
364
+
365
+ .csv-icon-edit:before {
366
+ content: "";
367
+ }
368
+
369
+ .csv-icon-pencil-square-o:before {
370
+ content: "";
371
+ }
372
+
373
+ .csv-icon-calendar:before {
374
+ content: "";
375
+ }
376
+
377
+ .csv-icon-facebook-square:before {
378
+ content: "";
379
+ }
380
+
381
+ .csv-icon-cogs:before {
382
+ content: "";
383
+ }
384
+
385
+ .csv-icon-gears:before {
386
+ content: "";
387
+ }
388
+
389
+ .csv-icon-linkedin-square:before {
390
+ content: "";
391
+ }
392
+
393
+ .csv-icon-upload:before {
394
+ content: "";
395
+ }
396
+
397
+ .csv-icon-bookmark-o:before {
398
+ content: "";
399
+ }
400
+
401
+ .csv-icon-hdd-o:before {
402
+ content: "";
403
+ }
404
+
405
+ .csv-icon-floppy-o:before {
406
+ content: "";
407
+ }
408
+
409
+ .csv-icon-save:before {
410
+ content: "";
411
+ }
412
+
413
+ .csv-icon-google-plus:before {
414
+ content: "";
415
+ }
416
+
417
+ .csv-icon-file-text-o:before {
418
+ content: "";
419
+ }
420
+
421
+ .csv-icon-angle-left:before {
422
+ content: "";
423
+ }
424
+
425
+ .csv-icon-angle-right:before {
426
+ content: "";
427
+ }
428
+
429
+ .csv-icon-angle-up:before {
430
+ content: "";
431
+ }
432
+
433
+ .csv-icon-angle-down:before {
434
+ content: "";
435
+ }
436
+
437
+ .csv-icon-quote-left:before {
438
+ content: "";
439
+ }
440
+
441
+ .csv-icon-quote-right:before {
442
+ content: "";
443
+ }
444
+
445
+ .csv-icon-spinner:before {
446
+ content: "";
447
+ }
448
+
449
+ .csv-icon-chain-broken:before {
450
+ content: "";
451
+ }
452
+
453
+ .csv-icon-unlink:before {
454
+ content: "";
455
+ }
456
+
457
+ .csv-icon-chevron-circle-up:before {
458
+ content: "";
459
+ }
460
+
461
+ .csv-icon-chevron-circle-down:before {
462
+ content: "";
463
+ }
464
+
465
+ .csv-icon-eur:before {
466
+ content: "";
467
+ }
468
+
469
+ .csv-icon-euro:before {
470
+ content: "";
471
+ }
472
+
473
+ .csv-icon-gbp:before {
474
+ content: "";
475
+ }
476
+
477
+ .csv-icon-dollar:before {
478
+ content: "";
479
+ }
480
+
481
+ .csv-icon-usd:before {
482
+ content: "";
483
+ }
484
+
485
+ .csv-icon-inr:before {
486
+ content: "";
487
+ }
488
+
489
+ .csv-icon-rupee:before {
490
+ content: "";
491
+ }
492
+
493
+ .csv-icon-cny:before {
494
+ content: "";
495
+ }
496
+
497
+ .csv-icon-jpy:before {
498
+ content: "";
499
+ }
500
+
501
+ .csv-icon-rmb:before {
502
+ content: "";
503
+ }
504
+
505
+ .csv-icon-yen:before {
506
+ content: "";
507
+ }
508
+
509
+ .csv-icon-file:before {
510
+ content: "";
511
+ }
512
+
513
+ .csv-icon-file-text:before {
514
+ content: "";
515
+ }
516
+
517
+ .csv-icon-tumblr:before {
518
+ content: "";
519
+ }
520
+
521
+ .csv-icon-tumblr-square:before {
522
+ content: "";
523
+ }
524
+
525
+ .csv-icon-database:before {
526
+ content: "";
527
+ }
528
+
529
+ .csv-icon-file-image-o:before {
530
+ content: "";
531
+ }
532
+
533
+ .csv-icon-file-photo-o:before {
534
+ content: "";
535
+ }
536
+
537
+ .csv-icon-file-picture-o:before {
538
+ content: "";
539
+ }
540
+
541
+ .csv-icon-file-archive-o:before {
542
+ content: "";
543
+ }
544
+
545
+ .csv-icon-file-zip-o:before {
546
+ content: "";
547
+ }
548
+
549
+ .csv-icon-circle-o-notch:before {
550
+ content: "";
551
+ }
552
+
553
+ .csv-icon-trash:before {
554
+ content: "";
555
+ }
556
+
557
+ .csv-icon-television:before {
558
+ content: "";
559
+ }
560
+
561
+ .csv-icon-tv:before {
562
+ content: "";
563
+ }
564
+
565
+ .csv-icon-amazon:before {
566
+ content: "";
567
+ }
568
+
569
+ .csv-icon-address-book-o:before {
570
+ content: "";
571
+ }
572
+
573
+ .csv-icon-user-o:before {
574
+ content: "";
575
+ }
576
+
577
+ .csv-icon-chevron-with-circle-down:before {
578
+ content: "";
579
+ }
580
+
581
+ .csv-icon-chevron-with-circle-left:before {
582
+ content: "";
583
+ }
584
+
585
+ .csv-icon-chevron-with-circle-right:before {
586
+ content: "";
587
+ }
588
+
589
+ .csv-icon-chevron-with-circle-up:before {
590
+ content: "";
591
+ }
592
+
593
+ .csv-icon-chart:before {
594
+ content: "";
595
+ }
596
+
597
+ .csv-icon-settings1:before {
598
+ content: "";
599
+ }
600
+
601
+ .csv-icon-photo1:before {
602
+ content: "";
603
+ }
604
+
605
+ .csv-icon-calendar2:before {
606
+ content: "";
607
+ }
608
+
609
+ .csv-icon-file-text1:before {
610
+ content: "";
611
+ }
612
+
613
+ .csv-icon-spinner8:before {
614
+ content: "";
615
+ }
616
+
617
+ .csv-icon-spinner9:before {
618
+ content: "";
619
+ }
620
+
621
+ .csv-icon-spinner10:before {
622
+ content: "";
623
+ }
624
+
625
+ .csv-icon-cog1:before {
626
+ content: "";
627
+ }
628
+
629
+ .csv-icon-download3:before {
630
+ content: "";
631
+ }
632
+
633
+ .csv-icon-upload3:before {
634
+ content: "";
635
+ }
636
+
637
+ .csv-icon-play2:before {
638
+ content: "";
639
+ }
640
+
641
+ /* Buttons colors */
642
+ .shaded {
643
+ background: #fafafa;
644
+ }
645
+
646
+ .text-primary {
647
+ color: #00a699;
648
+ }
649
+
650
+ .text-warning {
651
+ color: #f0ad4e;
652
+ }
653
+
654
+ .text-danger {
655
+ color: #e04b4a;
656
+ }
657
+
658
+ .text-info {
659
+ color: #0073aa;
660
+ }
661
+
662
+ .text-secondary {
663
+ color: #0073aa;
664
+ }
665
+
666
+ .wp-ultimate-csv-importer {
667
+ /* Margin & Padding Start */
668
+ /* Margin & Padding END */
669
+ /* Buttons */
670
+ /* Buttons CSS End */
671
+ /* smack_btn btn-info */
672
+ /* React date picker */
673
+ /* End react date picker */
674
+ /* File upload style */
675
+ /* End file upload style */
676
+ /* LOADER 1 */
677
+ /* Core Styles */
678
+ /* File Extensions*/
679
+ background: #f3f5f8;
680
+ font-size: 16px;
681
+ font-family: "Roboto", sans-serif;
682
+ color: #2d3748;
683
+ }
684
+ .wp-ultimate-csv-importer .h1,
685
+ .wp-ultimate-csv-importer .h2,
686
+ .wp-ultimate-csv-importer .h3,
687
+ .wp-ultimate-csv-importer .h4,
688
+ .wp-ultimate-csv-importer .h5,
689
+ .wp-ultimate-csv-importer .h6,
690
+ .wp-ultimate-csv-importer h1,
691
+ .wp-ultimate-csv-importer h2,
692
+ .wp-ultimate-csv-importer h3,
693
+ .wp-ultimate-csv-importer h4,
694
+ .wp-ultimate-csv-importer h5,
695
+ .wp-ultimate-csv-importer h6 {
696
+ font-family: "Poppins", sans-serif;
697
+ font-weight: 500;
698
+ }
699
+ .wp-ultimate-csv-importer label {
700
+ margin-bottom: 0.2rem;
701
+ }
702
+ .wp-ultimate-csv-importer .main-heading {
703
+ font-size: 20px;
704
+ font-weight: 500;
705
+ color: #2d3748;
706
+ overflow: hidden;
707
+ white-space: nowrap;
708
+ text-overflow: ellipsis;
709
+ padding: 15px 0px;
710
+ font-family: "Poppins", sans-serif;
711
+ }
712
+ .wp-ultimate-csv-importer a {
713
+ text-decoration: none;
714
+ }
715
+ .wp-ultimate-csv-importer .csv-link {
716
+ color: #00a699;
717
+ }
718
+ .wp-ultimate-csv-importer .csv-link:hover {
719
+ text-decoration: underline;
720
+ }
721
+ .wp-ultimate-csv-importer .border-rad {
722
+ border-radius: 6px !important;
723
+ }
724
+ .wp-ultimate-csv-importer .iradio_square-green,
725
+ .wp-ultimate-csv-importer .icheckbox_square-green {
726
+ margin-right: 5px;
727
+ }
728
+ .wp-ultimate-csv-importer h6,
729
+ .wp-ultimate-csv-importer .h6 {
730
+ color: #0073aa;
731
+ margin-top: 30px;
732
+ }
733
+ .wp-ultimate-csv-importer .text-primary {
734
+ color: #00a699 !important;
735
+ }
736
+ .wp-ultimate-csv-importer p {
737
+ font-size: 16px;
738
+ }
739
+ .wp-ultimate-csv-importer .btn-select {
740
+ display: flex;
741
+ }
742
+ .wp-ultimate-csv-importer .btn-select label {
743
+ padding: 5px 15px;
744
+ border: 1px solid #e8e8e8;
745
+ font-weight: 400;
746
+ cursor: pointer;
747
+ }
748
+ .wp-ultimate-csv-importer .btn-select label:nth-child(2) {
749
+ border-radius: 4px 0px 0px 4px;
750
+ border-right: 0px;
751
+ }
752
+ .wp-ultimate-csv-importer .btn-select label:last-child {
753
+ border-radius: 0px 4px 4px 0px;
754
+ border-left: 0px;
755
+ }
756
+ .wp-ultimate-csv-importer .btn-select .btn-select-radio {
757
+ width: 0px;
758
+ height: 0px;
759
+ opacity: 0;
760
+ z-index: 0;
761
+ position: absolute;
762
+ }
763
+ .wp-ultimate-csv-importer .btn-select .btn-select-radio:checked + label {
764
+ color: #2d3748;
765
+ border: 1px solid #00a699;
766
+ font-weight: 500;
767
+ }
768
+ .wp-ultimate-csv-importer .btn-select .btn {
769
+ background-color: #fff;
770
+ }
771
+ .wp-ultimate-csv-importer .btn-select .btn:hover, .wp-ultimate-csv-importer .btn-select .btn:focus, .wp-ultimate-csv-importer .btn-select .btn:active, .wp-ultimate-csv-importer .btn-select .btn:active:focus {
772
+ background: #fff !important;
773
+ border-color: #00a699 !important;
774
+ box-shadow: none !important;
775
+ color: #00a699;
776
+ }
777
+ .wp-ultimate-csv-importer .text-muted {
778
+ color: #718096 !important;
779
+ }
780
+ .wp-ultimate-csv-importer .text-ellipsis {
781
+ overflow-x: hidden;
782
+ text-overflow: ellipsis;
783
+ }
784
+ .wp-ultimate-csv-importer hr {
785
+ border-top: 2px solid #edf2f7;
786
+ }
787
+ .wp-ultimate-csv-importer .m0 {
788
+ margin: 0px !important;
789
+ }
790
+ .wp-ultimate-csv-importer .mt0 {
791
+ margin-top: 0px !important;
792
+ }
793
+ .wp-ultimate-csv-importer .mb0 {
794
+ margin-bottom: 0px !important;
795
+ }
796
+ .wp-ultimate-csv-importer .ml0 {
797
+ margin-left: 0px !important;
798
+ }
799
+ .wp-ultimate-csv-importer .mr0 {
800
+ margin-right: 0px !important;
801
+ }
802
+ .wp-ultimate-csv-importer .p0 {
803
+ padding: 0px !important;
804
+ }
805
+ .wp-ultimate-csv-importer .pt0 {
806
+ padding-top: 0px !important;
807
+ }
808
+ .wp-ultimate-csv-importer .pb0 {
809
+ padding-bottom: 0px !important;
810
+ }
811
+ .wp-ultimate-csv-importer .pl0 {
812
+ padding-left: 0px !important;
813
+ }
814
+ .wp-ultimate-csv-importer .pr0 {
815
+ padding-right: 0px !important;
816
+ }
817
+ .wp-ultimate-csv-importer .m5 {
818
+ margin: 5px !important;
819
+ }
820
+ .wp-ultimate-csv-importer .mt5 {
821
+ margin-top: 5px !important;
822
+ }
823
+ .wp-ultimate-csv-importer .mb5 {
824
+ margin-bottom: 5px !important;
825
+ }
826
+ .wp-ultimate-csv-importer .ml5 {
827
+ margin-left: 5px !important;
828
+ }
829
+ .wp-ultimate-csv-importer .mr5 {
830
+ margin-right: 5px !important;
831
+ }
832
+ .wp-ultimate-csv-importer .p5 {
833
+ padding: 5px !important;
834
+ }
835
+ .wp-ultimate-csv-importer .pt5 {
836
+ padding-top: 5px !important;
837
+ }
838
+ .wp-ultimate-csv-importer .pb5 {
839
+ padding-bottom: 5px !important;
840
+ }
841
+ .wp-ultimate-csv-importer .pl5 {
842
+ padding-left: 5px !important;
843
+ }
844
+ .wp-ultimate-csv-importer .pr5 {
845
+ padding-right: 5px !important;
846
+ }
847
+ .wp-ultimate-csv-importer .m10 {
848
+ margin: 10px !important;
849
+ }
850
+ .wp-ultimate-csv-importer .mt10 {
851
+ margin-top: 10px !important;
852
+ }
853
+ .wp-ultimate-csv-importer .mb10 {
854
+ margin-bottom: 10px !important;
855
+ }
856
+ .wp-ultimate-csv-importer .ml10 {
857
+ margin-left: 10px !important;
858
+ }
859
+ .wp-ultimate-csv-importer .mr10 {
860
+ margin-right: 10px !important;
861
+ }
862
+ .wp-ultimate-csv-importer .p10 {
863
+ padding: 10px !important;
864
+ }
865
+ .wp-ultimate-csv-importer .pt10 {
866
+ padding-top: 10px !important;
867
+ }
868
+ .wp-ultimate-csv-importer .pb10 {
869
+ padding-bottom: 10px !important;
870
+ }
871
+ .wp-ultimate-csv-importer .pl10 {
872
+ padding-left: 10px !important;
873
+ }
874
+ .wp-ultimate-csv-importer .pr10 {
875
+ padding-right: 10px !important;
876
+ }
877
+ .wp-ultimate-csv-importer .m15 {
878
+ margin: 15px !important;
879
+ }
880
+ .wp-ultimate-csv-importer .mt15 {
881
+ margin-top: 15px !important;
882
+ }
883
+ .wp-ultimate-csv-importer .mb15 {
884
+ margin-bottom: 15px !important;
885
+ }
886
+ .wp-ultimate-csv-importer .ml15 {
887
+ margin-left: 15px !important;
888
+ }
889
+ .wp-ultimate-csv-importer .mr15 {
890
+ margin-right: 15px !important;
891
+ }
892
+ .wp-ultimate-csv-importer .p15 {
893
+ padding: 15px !important;
894
+ }
895
+ .wp-ultimate-csv-importer .pt15 {
896
+ padding-top: 15px !important;
897
+ }
898
+ .wp-ultimate-csv-importer .pb15 {
899
+ padding-bottom: 15px !important;
900
+ }
901
+ .wp-ultimate-csv-importer .pl15 {
902
+ padding-left: 15px !important;
903
+ }
904
+ .wp-ultimate-csv-importer .pr15 {
905
+ padding-right: 15px !important;
906
+ }
907
+ .wp-ultimate-csv-importer .m20 {
908
+ margin: 20px !important;
909
+ }
910
+ .wp-ultimate-csv-importer .mt20 {
911
+ margin-top: 20px !important;
912
+ }
913
+ .wp-ultimate-csv-importer .mb20 {
914
+ margin-bottom: 20px !important;
915
+ }
916
+ .wp-ultimate-csv-importer .ml20 {
917
+ margin-left: 20px !important;
918
+ }
919
+ .wp-ultimate-csv-importer .mr20 {
920
+ margin-right: 20px !important;
921
+ }
922
+ .wp-ultimate-csv-importer .p20 {
923
+ padding: 20px !important;
924
+ }
925
+ .wp-ultimate-csv-importer .pt20 {
926
+ padding-top: 20px !important;
927
+ }
928
+ .wp-ultimate-csv-importer .pb20 {
929
+ padding-bottom: 20px !important;
930
+ }
931
+ .wp-ultimate-csv-importer .pl20 {
932
+ padding-left: 20px !important;
933
+ }
934
+ .wp-ultimate-csv-importer .pr20 {
935
+ padding-right: 20px !important;
936
+ }
937
+ .wp-ultimate-csv-importer .m25 {
938
+ margin: 25px !important;
939
+ }
940
+ .wp-ultimate-csv-importer .mt25 {
941
+ margin-top: 25px !important;
942
+ }
943
+ .wp-ultimate-csv-importer .mb25 {
944
+ margin-bottom: 25px !important;
945
+ }
946
+ .wp-ultimate-csv-importer .ml25 {
947
+ margin-left: 25px !important;
948
+ }
949
+ .wp-ultimate-csv-importer .mr25 {
950
+ margin-right: 25px !important;
951
+ }
952
+ .wp-ultimate-csv-importer .p25 {
953
+ padding: 25px !important;
954
+ }
955
+ .wp-ultimate-csv-importer .pt25 {
956
+ padding-top: 25px !important;
957
+ }
958
+ .wp-ultimate-csv-importer .pb25 {
959
+ padding-bottom: 25px !important;
960
+ }
961
+ .wp-ultimate-csv-importer .pl25 {
962
+ padding-left: 25px !important;
963
+ }
964
+ .wp-ultimate-csv-importer .pr25 {
965
+ padding-right: 25px !important;
966
+ }
967
+ .wp-ultimate-csv-importer .m30 {
968
+ margin: 30px !important;
969
+ }
970
+ .wp-ultimate-csv-importer .mt30 {
971
+ margin-top: 30px !important;
972
+ }
973
+ .wp-ultimate-csv-importer .mb30 {
974
+ margin-bottom: 30px !important;
975
+ }
976
+ .wp-ultimate-csv-importer .ml30 {
977
+ margin-left: 30px !important;
978
+ }
979
+ .wp-ultimate-csv-importer .mr30 {
980
+ margin-right: 30px !important;
981
+ }
982
+ .wp-ultimate-csv-importer .p30 {
983
+ padding: 30px !important;
984
+ }
985
+ .wp-ultimate-csv-importer .pt30 {
986
+ padding-top: 30px !important;
987
+ }
988
+ .wp-ultimate-csv-importer .pb30 {
989
+ padding-bottom: 30px !important;
990
+ }
991
+ .wp-ultimate-csv-importer .pl30 {
992
+ padding-left: 30px !important;
993
+ }
994
+ .wp-ultimate-csv-importer .pr30 {
995
+ padding-right: 30px !important;
996
+ }
997
+ .wp-ultimate-csv-importer .m35 {
998
+ margin: 35px !important;
999
+ }
1000
+ .wp-ultimate-csv-importer .mt35 {
1001
+ margin-top: 35px !important;
1002
+ }
1003
+ .wp-ultimate-csv-importer .mb35 {
1004
+ margin-bottom: 35px !important;
1005
+ }
1006
+ .wp-ultimate-csv-importer .ml35 {
1007
+ margin-left: 35px !important;
1008
+ }
1009
+ .wp-ultimate-csv-importer .mr35 {
1010
+ margin-right: 35px !important;
1011
+ }
1012
+ .wp-ultimate-csv-importer .p35 {
1013
+ padding: 35px !important;
1014
+ }
1015
+ .wp-ultimate-csv-importer .pt35 {
1016
+ padding-top: 35px !important;
1017
+ }
1018
+ .wp-ultimate-csv-importer .pb35 {
1019
+ padding-bottom: 35px !important;
1020
+ }
1021
+ .wp-ultimate-csv-importer .pl35 {
1022
+ padding-left: 35px !important;
1023
+ }
1024
+ .wp-ultimate-csv-importer .pr35 {
1025
+ padding-right: 35px !important;
1026
+ }
1027
+ .wp-ultimate-csv-importer .m40 {
1028
+ margin: 40px !important;
1029
+ }
1030
+ .wp-ultimate-csv-importer .mt40 {
1031
+ margin-top: 40px !important;
1032
+ }
1033
+ .wp-ultimate-csv-importer .mb40 {
1034
+ margin-bottom: 40px !important;
1035
+ }
1036
+ .wp-ultimate-csv-importer .ml40 {
1037
+ margin-left: 40px !important;
1038
+ }
1039
+ .wp-ultimate-csv-importer .mr40 {
1040
+ margin-right: 40px !important;
1041
+ }
1042
+ .wp-ultimate-csv-importer .p40 {
1043
+ padding: 40px !important;
1044
+ }
1045
+ .wp-ultimate-csv-importer .pt40 {
1046
+ padding-top: 40px !important;
1047
+ }
1048
+ .wp-ultimate-csv-importer .pb40 {
1049
+ padding-bottom: 40px !important;
1050
+ }
1051
+ .wp-ultimate-csv-importer .pl40 {
1052
+ padding-left: 40px !important;
1053
+ }
1054
+ .wp-ultimate-csv-importer .pr40 {
1055
+ padding-right: 40px !important;
1056
+ }
1057
+ .wp-ultimate-csv-importer .m45 {
1058
+ margin: 45px !important;
1059
+ }
1060
+ .wp-ultimate-csv-importer .mt45 {
1061
+ margin-top: 45px !important;
1062
+ }
1063
+ .wp-ultimate-csv-importer .mb45 {
1064
+ margin-bottom: 45px !important;
1065
+ }
1066
+ .wp-ultimate-csv-importer .ml45 {
1067
+ margin-left: 45px !important;
1068
+ }
1069
+ .wp-ultimate-csv-importer .mr45 {
1070
+ margin-right: 45px !important;
1071
+ }
1072
+ .wp-ultimate-csv-importer .p45 {
1073
+ padding: 45px !important;
1074
+ }
1075
+ .wp-ultimate-csv-importer .pt45 {
1076
+ padding-top: 45px !important;
1077
+ }
1078
+ .wp-ultimate-csv-importer .pb45 {
1079
+ padding-bottom: 45px !important;
1080
+ }
1081
+ .wp-ultimate-csv-importer .pl45 {
1082
+ padding-left: 45px !important;
1083
+ }
1084
+ .wp-ultimate-csv-importer .pr45 {
1085
+ padding-right: 45px !important;
1086
+ }
1087
+ .wp-ultimate-csv-importer .m50 {
1088
+ margin: 50px !important;
1089
+ }
1090
+ .wp-ultimate-csv-importer .mt50 {
1091
+ margin-top: 50px !important;
1092
+ }
1093
+ .wp-ultimate-csv-importer .mb50 {
1094
+ margin-bottom: 50px !important;
1095
+ }
1096
+ .wp-ultimate-csv-importer .ml50 {
1097
+ margin-left: 50px !important;
1098
+ }
1099
+ .wp-ultimate-csv-importer .mr50 {
1100
+ margin-right: 50px !important;
1101
+ }
1102
+ .wp-ultimate-csv-importer .p50 {
1103
+ padding: 50px !important;
1104
+ }
1105
+ .wp-ultimate-csv-importer .pt50 {
1106
+ padding-top: 50px !important;
1107
+ }
1108
+ .wp-ultimate-csv-importer .pb50 {
1109
+ padding-bottom: 50px !important;
1110
+ }
1111
+ .wp-ultimate-csv-importer .pl50 {
1112
+ padding-left: 50px !important;
1113
+ }
1114
+ .wp-ultimate-csv-importer .pr50 {
1115
+ padding-right: 50px !important;
1116
+ }
1117
+ .wp-ultimate-csv-importer .csv-importer-panel {
1118
+ background: #ffffff;
1119
+ border-radius: 6px;
1120
+ box-shadow: 0 2px 20px 0 #c9d3df;
1121
+ }
1122
+ .wp-ultimate-csv-importer #wordpress-custom-fields-body {
1123
+ display: none;
1124
+ }
1125
+ .wp-ultimate-csv-importer .csv-icon-trash-2 {
1126
+ color: #e04b4a;
1127
+ }
1128
+ .wp-ultimate-csv-importer [data-display=none] {
1129
+ display: none;
1130
+ }
1131
+ .wp-ultimate-csv-importer .modal .modal-content .modal-header .main-heading {
1132
+ padding: 0;
1133
+ }
1134
+ .wp-ultimate-csv-importer .maintenance-mode {
1135
+ display: block;
1136
+ margin: 15px auto;
1137
+ padding: 10px 15px;
1138
+ border-radius: 0px 6px 6px 0px;
1139
+ background: #fff;
1140
+ border-left: 3px solid #dc3545;
1141
+ }
1142
+ .wp-ultimate-csv-importer .maintenance-mode button {
1143
+ border: none;
1144
+ background: none;
1145
+ cursor: pointer;
1146
+ }
1147
+ .wp-ultimate-csv-importer .maintenance-mode span img {
1148
+ width: 22px;
1149
+ height: 22px;
1150
+ vertical-align: middle;
1151
+ margin-right: 10px;
1152
+ }
1153
+ .wp-ultimate-csv-importer .export_file_name {
1154
+ position: relative;
1155
+ }
1156
+ .wp-ultimate-csv-importer .export_file_name input {
1157
+ padding-right: 90px;
1158
+ }
1159
+ .wp-ultimate-csv-importer .export_file_name .export_file_type {
1160
+ position: absolute;
1161
+ bottom: 1.5px;
1162
+ right: 16px;
1163
+ width: 80px;
1164
+ padding: 6px 10px;
1165
+ text-align: center;
1166
+ background: #e2e8f0;
1167
+ color: #4a5568;
1168
+ border-radius: 0px 6px 6px 0px;
1169
+ letter-spacing: 2px;
1170
+ text-transform: uppercase;
1171
+ }
1172
+ .wp-ultimate-csv-importer .form_export_file_type label {
1173
+ width: 84px;
1174
+ height: 60px;
1175
+ border: 2px solid #cbd5e0;
1176
+ border-radius: 6px;
1177
+ padding: 10px !important;
1178
+ display: flex !important;
1179
+ justify-content: center;
1180
+ align-items: center;
1181
+ margin: auto 5px;
1182
+ }
1183
+ .wp-ultimate-csv-importer .form_export_file_type label:hover {
1184
+ border-color: #00c0b1;
1185
+ }
1186
+ .wp-ultimate-csv-importer .form_export_file_type input[type=radio] + label:before, .wp-ultimate-csv-importer .form_export_file_type input[type=radio] + label:after {
1187
+ display: none;
1188
+ }
1189
+ .wp-ultimate-csv-importer .form_export_file_type input[type=radio]:checked + label {
1190
+ border-color: #00a699;
1191
+ }
1192
+ .wp-ultimate-csv-importer .form_export_file_type input[type=radio]:checked + label:before {
1193
+ content: "";
1194
+ font-family: "csvimporter";
1195
+ width: 22px;
1196
+ height: 22px;
1197
+ font-size: 13px;
1198
+ background: #00a699;
1199
+ border: none;
1200
+ border-radius: 50%;
1201
+ color: #fff;
1202
+ position: absolute;
1203
+ right: 0px;
1204
+ left: auto;
1205
+ top: -7px;
1206
+ display: flex;
1207
+ justify-content: center;
1208
+ align-items: center;
1209
+ }
1210
+ .wp-ultimate-csv-importer .bg-gray-section {
1211
+ border: 1px solid #edf2f7;
1212
+ background: #fbfdfd;
1213
+ padding: 15px 0px;
1214
+ border-radius: 6px;
1215
+ margin: 15px auto 15px;
1216
+ }
1217
+ .wp-ultimate-csv-importer .section-heading {
1218
+ font-size: 18px;
1219
+ }
1220
+ .wp-ultimate-csv-importer .smack-btn {
1221
+ font-size: 1rem;
1222
+ padding: 8px 20px;
1223
+ line-height: 1.5em;
1224
+ font-weight: 600;
1225
+ text-transform: uppercase;
1226
+ -webkit-transition: all 200ms ease;
1227
+ -moz-transition: all 200ms ease;
1228
+ -ms-transition: all 200ms ease;
1229
+ -o-transition: all 200ms ease;
1230
+ transition: all 200ms ease;
1231
+ font-family: "Poppins", sans-serif;
1232
+ border: none;
1233
+ cursor: pointer;
1234
+ border-radius: 6px;
1235
+ }
1236
+ .wp-ultimate-csv-importer .smack-btn.smack-btn-primary {
1237
+ background-color: #00a699;
1238
+ border-color: #00a699;
1239
+ color: #ffffff;
1240
+ }
1241
+ .wp-ultimate-csv-importer .smack-btn.smack-btn-primary:hover {
1242
+ background-color: #00a699;
1243
+ border-color: #178d7c;
1244
+ color: #ffffff;
1245
+ }
1246
+ .wp-ultimate-csv-importer .smack-btn.smack-btn-secondary {
1247
+ background-color: #ffffff;
1248
+ border: 2px solid #00a699;
1249
+ color: #00a699;
1250
+ }
1251
+ .wp-ultimate-csv-importer .smack-btn.smack-btn-secondary:hover {
1252
+ background-color: rgba(0, 166, 153, 0.1);
1253
+ border-color: #178d7c;
1254
+ color: #00a699;
1255
+ }
1256
+ .wp-ultimate-csv-importer .smack-btn.smack-btn-info {
1257
+ padding: 5px 10px;
1258
+ color: #4a5568;
1259
+ font-size: 14px;
1260
+ border: 1px solid #a0aec0;
1261
+ background: #edf2f7;
1262
+ }
1263
+ .wp-ultimate-csv-importer .smack-btn.smack-btn-info:hover, .wp-ultimate-csv-importer .smack-btn.smack-btn-info:active {
1264
+ background: #e2e8f0;
1265
+ }
1266
+ .wp-ultimate-csv-importer .smack-btn.btn-default {
1267
+ background: #ffffff;
1268
+ border: 1px solid #a0aec0;
1269
+ color: #4a5568;
1270
+ }
1271
+ .wp-ultimate-csv-importer .smack-btn.btn-default:hover {
1272
+ background-color: #e2e8f0;
1273
+ }
1274
+ .wp-ultimate-csv-importer .smack-btn.btn-default:active, .wp-ultimate-csv-importer .smack-btn.btn-default.active {
1275
+ background-color: #cbd5e0;
1276
+ }
1277
+ .wp-ultimate-csv-importer .smack-btn.btn-default:focus {
1278
+ background-color: #cbd5e0;
1279
+ }
1280
+ .wp-ultimate-csv-importer .smack-btn.btn-default:disabled, .wp-ultimate-csv-importer .smack-btn.btn-default.disabled, .wp-ultimate-csv-importer .smack-btn.btn-default[disabled] {
1281
+ background-color: #edf2f7;
1282
+ color: #cbd5e0;
1283
+ }
1284
+ .wp-ultimate-csv-importer .smack-btn.smack-btn-warning {
1285
+ background-color: #f0ad4e;
1286
+ border-color: #f0ad4e;
1287
+ color: #2d3748;
1288
+ }
1289
+ .wp-ultimate-csv-importer .smack-btn.smack-btn-warning:hover {
1290
+ background-color: #ec971f;
1291
+ }
1292
+ .wp-ultimate-csv-importer .smack-btn.smack-btn-warning:active, .wp-ultimate-csv-importer .smack-btn.smack-btn-warning.active {
1293
+ background-color: #ec971f;
1294
+ border: 1px solid #ec971f;
1295
+ }
1296
+ .wp-ultimate-csv-importer .smack-btn.smack-btn-warning:focus {
1297
+ background-color: #ec971f;
1298
+ border: 1px solid #ec971f;
1299
+ }
1300
+ .wp-ultimate-csv-importer .smack-btn.smack-btn-warning:disabled, .wp-ultimate-csv-importer .smack-btn.smack-btn-warning.disabled, .wp-ultimate-csv-importer .smack-btn.smack-btn-warning[disabled] {
1301
+ background: #f0ad4e;
1302
+ border-color: #f0ad4e;
1303
+ }
1304
+ .wp-ultimate-csv-importer .smack-btn.smack-btn-danger {
1305
+ background-color: #e04b4a;
1306
+ border-color: #e04b4a;
1307
+ color: #ffffff;
1308
+ }
1309
+ .wp-ultimate-csv-importer .smack-btn.smack-btn-danger:hover {
1310
+ background-color: #d32524;
1311
+ }
1312
+ .wp-ultimate-csv-importer .smack-btn.smack-btn-danger:active, .wp-ultimate-csv-importer .smack-btn.smack-btn-danger.active {
1313
+ background-color: #d32524;
1314
+ border: 1px solid #d32524;
1315
+ }
1316
+ .wp-ultimate-csv-importer .smack-btn.smack-btn-danger:focus {
1317
+ background-color: #d32524;
1318
+ border: 1px solid #d32524;
1319
+ }
1320
+ .wp-ultimate-csv-importer .smack-btn.smack-btn-danger:disabled, .wp-ultimate-csv-importer .smack-btn.smack-btn-danger.disabled, .wp-ultimate-csv-importer .smack-btn.smack-btn-danger[disabled] {
1321
+ background: #e04b4a;
1322
+ border-color: #e04b4a;
1323
+ }
1324
+ .wp-ultimate-csv-importer .smack-btn.disabled,
1325
+ .wp-ultimate-csv-importer .smack-btn[disabled],
1326
+ .wp-ultimate-csv-importer fieldset[disabled] .smack-btn {
1327
+ pointer-events: none;
1328
+ cursor: not-allowed;
1329
+ filter: alpha(opacity=65);
1330
+ -webkit-box-shadow: none;
1331
+ box-shadow: none;
1332
+ opacity: 0.65;
1333
+ }
1334
+ .wp-ultimate-csv-importer .btn-radius {
1335
+ border-radius: 30px;
1336
+ }
1337
+ .wp-ultimate-csv-importer .react-datepicker-wrapper {
1338
+ display: block;
1339
+ }
1340
+ .wp-ultimate-csv-importer .react-datepicker-wrapper .react-datepicker__input-container {
1341
+ display: block;
1342
+ }
1343
+ .wp-ultimate-csv-importer .react-datepicker-popper .react-datepicker {
1344
+ width: 300px;
1345
+ border-color: #e8e8e8;
1346
+ box-shadow: 0px 0px 8px 1px rgba(0, 0, 0, 0.1);
1347
+ }
1348
+ .wp-ultimate-csv-importer .react-datepicker-popper .react-datepicker .react-datepicker__triangle {
1349
+ border-bottom-color: #fff;
1350
+ }
1351
+ .wp-ultimate-csv-importer .react-datepicker-popper .react-datepicker .react-datepicker__triangle:before {
1352
+ border-top-color: #e8e8e8;
1353
+ }
1354
+ .wp-ultimate-csv-importer .react-datepicker-popper .react-datepicker .react-datepicker__navigation--previous {
1355
+ border-right-color: #303030;
1356
+ }
1357
+ .wp-ultimate-csv-importer .react-datepicker-popper .react-datepicker .react-datepicker__navigation--next {
1358
+ border-left-color: #303030;
1359
+ }
1360
+ .wp-ultimate-csv-importer .react-datepicker-popper .react-datepicker__month-container {
1361
+ width: 100%;
1362
+ }
1363
+ .wp-ultimate-csv-importer .react-datepicker-popper .react-datepicker__header {
1364
+ background: #fff;
1365
+ border: none;
1366
+ }
1367
+ .wp-ultimate-csv-importer .react-datepicker-popper .react-datepicker__header .react-datepicker__day-name {
1368
+ font-weight: 600;
1369
+ font-size: 16px;
1370
+ margin: 0px 7px;
1371
+ }
1372
+ .wp-ultimate-csv-importer .react-datepicker-popper .react-datepicker__month .react-datepicker__week {
1373
+ font-size: 16px;
1374
+ }
1375
+ .wp-ultimate-csv-importer .react-datepicker-popper .react-datepicker__month .react-datepicker__day {
1376
+ margin: 0px 7px;
1377
+ }
1378
+ .wp-ultimate-csv-importer .react-datepicker-popper .react-datepicker__month .react-datepicker__day.react-datepicker__day--selected {
1379
+ background-image: linear-gradient(to bottom, #00a699, #00736a) !important;
1380
+ }
1381
+ .wp-ultimate-csv-importer .react-datepicker-popper .react-datepicker__month .react-datepicker__day.react-datepicker__day--outside-month {
1382
+ opacity: 0.5;
1383
+ }
1384
+ .wp-ultimate-csv-importer .form-control {
1385
+ border-radius: 6px;
1386
+ -moz-transition: all 0.3s ease;
1387
+ -o-transition: all 0.3s ease;
1388
+ -webkit-transition: all 0.3s ease;
1389
+ -ms-transition: all 0.3s ease;
1390
+ transition: all 0.3s ease;
1391
+ }
1392
+ .wp-ultimate-csv-importer .form-control:hover {
1393
+ border: 1px solid #718096;
1394
+ }
1395
+ .wp-ultimate-csv-importer .form-control:focus {
1396
+ box-shadow: none;
1397
+ border: 1px solid #00a699;
1398
+ box-shadow: 0 0 15px 0 rgba(0, 166, 153, 0.1);
1399
+ }
1400
+ .wp-ultimate-csv-importer select.form-control {
1401
+ height: 38px;
1402
+ padding: 6px 12px;
1403
+ }
1404
+ .wp-ultimate-csv-importer .dropdown-toggle {
1405
+ outline: none !important;
1406
+ }
1407
+ .wp-ultimate-csv-importer .dropdown-menu li.selected a {
1408
+ background-color: #00a699;
1409
+ }
1410
+ .wp-ultimate-csv-importer .dropdown-menu li.selected a:hover {
1411
+ color: #fff;
1412
+ }
1413
+ .wp-ultimate-csv-importer .dropdown-menu li a:active {
1414
+ background-color: #00a699;
1415
+ color: #fff;
1416
+ }
1417
+ .wp-ultimate-csv-importer .select,
1418
+ .wp-ultimate-csv-importer .bootstrap-select {
1419
+ border: 1px solid #ced4da !important;
1420
+ border-radius: 6px;
1421
+ padding: 0px;
1422
+ left: 0% !important;
1423
+ }
1424
+ .wp-ultimate-csv-importer .select .btn-light,
1425
+ .wp-ultimate-csv-importer .bootstrap-select .btn-light {
1426
+ background: #fff !important;
1427
+ }
1428
+ .wp-ultimate-csv-importer .select .btn-light:hover,
1429
+ .wp-ultimate-csv-importer .bootstrap-select .btn-light:hover {
1430
+ border-color: #00a699;
1431
+ }
1432
+ .wp-ultimate-csv-importer .select .form-control,
1433
+ .wp-ultimate-csv-importer .bootstrap-select .form-control {
1434
+ margin-bottom: 0px;
1435
+ }
1436
+ .wp-ultimate-csv-importer .switch-ios {
1437
+ display: block;
1438
+ width: 40px;
1439
+ height: 25px;
1440
+ border-radius: 50px;
1441
+ transition: all 0.3s;
1442
+ box-shadow: inset 0 2px 0 2px #edf2f7;
1443
+ transition: all 0.4s;
1444
+ -webkit-transition: all 0.4s;
1445
+ background: #edf2f7;
1446
+ margin-top: 10px;
1447
+ }
1448
+ .wp-ultimate-csv-importer .switch-ios.inline {
1449
+ display: inline-block;
1450
+ margin-left: 60px;
1451
+ }
1452
+ .wp-ultimate-csv-importer .fieldset input[type=checkbox] {
1453
+ display: none;
1454
+ }
1455
+ .wp-ultimate-csv-importer .fieldset label i {
1456
+ height: 20px;
1457
+ width: 20px;
1458
+ background: #fff;
1459
+ display: inline-block;
1460
+ cursor: pointer;
1461
+ border-radius: 60px;
1462
+ margin-top: 2px;
1463
+ margin-left: 2px;
1464
+ transition: all 0.3s;
1465
+ -webkit-transition: all 0.3s;
1466
+ box-shadow: 0 0 0 1px #edf2f7, 0 3px 2px rgba(0, 0, 0, 0.25);
1467
+ pointer-events: none;
1468
+ }
1469
+ .wp-ultimate-csv-importer .fieldset input[type=checkbox]:checked + .switch-ios > i {
1470
+ margin-left: 18px;
1471
+ box-shadow: 0 3px 2px rgba(0, 0, 0, 0.25);
1472
+ cursor: pointer;
1473
+ }
1474
+ .wp-ultimate-csv-importer .switch-ios:active {
1475
+ box-shadow: inset 0 0 0 20px #00a699;
1476
+ }
1477
+ .wp-ultimate-csv-importer .switch-ios:active > i {
1478
+ width: 20px;
1479
+ }
1480
+ .wp-ultimate-csv-importer .fieldset input[type=checkbox]:checked + .switch-ios {
1481
+ box-shadow: inset 0 0 0 20px #00a699;
1482
+ border: none;
1483
+ }
1484
+ .wp-ultimate-csv-importer .fieldset label {
1485
+ cursor: pointer;
1486
+ }
1487
+ .wp-ultimate-csv-importer .fieldset label:first-child {
1488
+ margin-bottom: 0px;
1489
+ }
1490
+ .wp-ultimate-csv-importer .form-check {
1491
+ margin-bottom: 10px;
1492
+ }
1493
+ .wp-ultimate-csv-importer .form-group .form-check-label {
1494
+ font-weight: 400 !important;
1495
+ }
1496
+ .wp-ultimate-csv-importer .form-group .input-icon {
1497
+ position: absolute;
1498
+ right: 24px;
1499
+ top: 38px;
1500
+ cursor: pointer;
1501
+ }
1502
+ @media (max-width: 360px) {
1503
+ .wp-ultimate-csv-importer .bootstrap-select {
1504
+ width: 100% !important;
1505
+ }
1506
+ }
1507
+ @media (min-width: 768px) and (max-width: 1024px) {
1508
+ .wp-ultimate-csv-importer .bootstrap-select {
1509
+ width: 100% !important;
1510
+ }
1511
+ }
1512
+ .wp-ultimate-csv-importer .form-check-input {
1513
+ position: static;
1514
+ }
1515
+ .wp-ultimate-csv-importer .form-group {
1516
+ position: relative;
1517
+ }
1518
+ .wp-ultimate-csv-importer .form-group input[type=radio] {
1519
+ position: absolute;
1520
+ opacity: 0;
1521
+ }
1522
+ .wp-ultimate-csv-importer .form-group input[type=radio] + label {
1523
+ display: inline-block;
1524
+ padding-left: 40px;
1525
+ transition: all 0.2s;
1526
+ cursor: pointer;
1527
+ }
1528
+ .wp-ultimate-csv-importer .form-group input[type=radio] + label:before {
1529
+ content: "";
1530
+ width: 23px;
1531
+ height: 23px;
1532
+ border: 1px solid #ddd;
1533
+ border-radius: 50%;
1534
+ position: absolute;
1535
+ left: 5px;
1536
+ top: 0px;
1537
+ }
1538
+ .wp-ultimate-csv-importer .form-group input[type=radio] + label:hover:before {
1539
+ border: 2px solid #00a699;
1540
+ }
1541
+ .wp-ultimate-csv-importer .form-group input[type=radio]:checked + label:before {
1542
+ border: 2px solid #00a699;
1543
+ }
1544
+ .wp-ultimate-csv-importer .form-group input[type=radio]:checked + label:after {
1545
+ content: "";
1546
+ width: 13px;
1547
+ height: 13px;
1548
+ background: #00a699;
1549
+ border-radius: 50%;
1550
+ position: absolute;
1551
+ top: 5px;
1552
+ left: 10px;
1553
+ }
1554
+ .wp-ultimate-csv-importer .checkbox input[type=checkbox] {
1555
+ position: absolute;
1556
+ opacity: 0;
1557
+ }
1558
+ .wp-ultimate-csv-importer .checkbox input[type=checkbox] + label {
1559
+ position: relative;
1560
+ padding-left: 35px;
1561
+ }
1562
+ .wp-ultimate-csv-importer .checkbox input[type=checkbox] + label:before {
1563
+ content: "";
1564
+ width: 22px;
1565
+ height: 22px;
1566
+ border: 1px solid #ddd;
1567
+ border-radius: 4px;
1568
+ position: absolute;
1569
+ left: 0;
1570
+ top: 0;
1571
+ }
1572
+ .wp-ultimate-csv-importer .checkbox input[type=checkbox] + label:hover:before {
1573
+ border: 2px solid #00a699;
1574
+ }
1575
+ .wp-ultimate-csv-importer .checkbox input[type=checkbox]:checked + label:after {
1576
+ content: "";
1577
+ font-family: "csvimporter";
1578
+ width: 22px;
1579
+ height: 22px;
1580
+ background: #00a699;
1581
+ border: 1px solid #00a699;
1582
+ border-radius: 4px;
1583
+ display: flex;
1584
+ justify-content: center;
1585
+ align-items: center;
1586
+ color: #fff;
1587
+ font-size: 13px;
1588
+ position: absolute;
1589
+ top: 0;
1590
+ left: 0;
1591
+ }
1592
+ .wp-ultimate-csv-importer .tab-section {
1593
+ padding: 0px 15px;
1594
+ font-family: "Poppins", sans-serif;
1595
+ font-size: 16px;
1596
+ }
1597
+ .wp-ultimate-csv-importer .tab-section .tabs {
1598
+ list-style: none;
1599
+ padding: 0px;
1600
+ margin: 0px;
1601
+ border-bottom: 1px solid #bcbaba;
1602
+ }
1603
+ @media (max-width: 576px) {
1604
+ .wp-ultimate-csv-importer .tab-section .tabs {
1605
+ width: 100%;
1606
+ }
1607
+ }
1608
+ .wp-ultimate-csv-importer .tab-section .tabs .tab-list {
1609
+ text-align: center;
1610
+ margin-bottom: 0;
1611
+ padding: 15px;
1612
+ float: left;
1613
+ overflow: hidden;
1614
+ white-space: nowrap;
1615
+ text-overflow: ellipsis;
1616
+ font-family: "Poppins", sans-serif;
1617
+ cursor: pointer;
1618
+ background-color: #f3f5f8;
1619
+ }
1620
+ @media (max-width: 576px) {
1621
+ .wp-ultimate-csv-importer .tab-section .tabs .tab-list {
1622
+ width: 48%;
1623
+ margin: 2px;
1624
+ border-radius: 6px;
1625
+ border: 1px solid #00a699;
1626
+ }
1627
+ }
1628
+ .wp-ultimate-csv-importer .tab-section .tabs .tab-list:hover {
1629
+ border-bottom: 2px solid rgba(0, 166, 153, 0.5);
1630
+ }
1631
+ @media (max-width: 576px) {
1632
+ .wp-ultimate-csv-importer .tab-section .tabs .tab-list:hover {
1633
+ color: #fff;
1634
+ border: 1px solid rgba(0, 166, 153, 0.5);
1635
+ background-color: rgba(0, 166, 153, 0.5);
1636
+ }
1637
+ }
1638
+ .wp-ultimate-csv-importer .tab-section .tabs .tab-list.active {
1639
+ border-bottom: 2px solid #00a699;
1640
+ font-weight: 500;
1641
+ }
1642
+ @media (max-width: 576px) {
1643
+ .wp-ultimate-csv-importer .tab-section .tabs .tab-list.active {
1644
+ color: #fff;
1645
+ border: 1px solid #00a699;
1646
+ background-color: #00a699;
1647
+ }
1648
+ }
1649
+ .wp-ultimate-csv-importer .nav.file-choosen-tab {
1650
+ font-family: "Roboto", sans-serif;
1651
+ }
1652
+ .wp-ultimate-csv-importer .nav.file-choosen-tab .nav-link {
1653
+ position: relative;
1654
+ padding: 25px 15px;
1655
+ border-radius: 0 !important;
1656
+ color: #2d3748;
1657
+ font-family: "Poppins", sans-serif;
1658
+ border: 1px solid #edf2f7;
1659
+ }
1660
+ .wp-ultimate-csv-importer .nav.file-choosen-tab .nav-link i {
1661
+ margin-right: 5px;
1662
+ }
1663
+ .wp-ultimate-csv-importer .nav.file-choosen-tab .nav-link:hover {
1664
+ background: #f7fafc;
1665
+ }
1666
+ .wp-ultimate-csv-importer .nav.file-choosen-tab .nav-link.active {
1667
+ background: #00a699;
1668
+ color: #ffffff;
1669
+ }
1670
+ .wp-ultimate-csv-importer #v-pills-tabContent .form-group label {
1671
+ margin-bottom: 0.5em;
1672
+ font-weight: 500;
1673
+ }
1674
+ .wp-ultimate-csv-importer .mapping-switcher {
1675
+ background: #fff;
1676
+ margin-top: 20px;
1677
+ width: 100%;
1678
+ list-style: none;
1679
+ font-family: "Poppins", sans-serif;
1680
+ padding: 0px;
1681
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.8);
1682
+ }
1683
+ .wp-ultimate-csv-importer .mapping-switcher li {
1684
+ cursor: pointer;
1685
+ text-transform: uppercase;
1686
+ float: left;
1687
+ position: relative;
1688
+ width: 50%;
1689
+ color: #718096;
1690
+ text-align: center;
1691
+ padding: 10px 0;
1692
+ background: #e2e8f0;
1693
+ -moz-transition: all 0.25s ease;
1694
+ -o-transition: all 0.25s ease;
1695
+ -webkit-transition: all 0.25s ease;
1696
+ -ms-transition: all 0.25s ease;
1697
+ transition: all 0.25s ease;
1698
+ font-family: "Poppins", sans-serif;
1699
+ font-size: 14px;
1700
+ font-weight: 500;
1701
+ }
1702
+ @media (max-width: 450px) {
1703
+ .wp-ultimate-csv-importer .mapping-switcher li {
1704
+ padding: 10px 5px;
1705
+ overflow: hidden;
1706
+ white-space: nowrap;
1707
+ text-overflow: ellipsis;
1708
+ }
1709
+ }
1710
+ @media (min-width: 768px) and (max-width: 992px) {
1711
+ .wp-ultimate-csv-importer .mapping-switcher li {
1712
+ overflow: hidden;
1713
+ padding: 10px 5px;
1714
+ text-overflow: ellipsis;
1715
+ white-space: nowrap;
1716
+ }
1717
+ }
1718
+ .wp-ultimate-csv-importer .mapping-switcher li:first-child {
1719
+ border-top-left-radius: 6px;
1720
+ border-bottom-left-radius: 6px;
1721
+ }
1722
+ .wp-ultimate-csv-importer .mapping-switcher li:last-child {
1723
+ border-top-right-radius: 6px;
1724
+ border-bottom-right-radius: 6px;
1725
+ }
1726
+ .wp-ultimate-csv-importer .mapping-switcher li.active {
1727
+ background: #00a699;
1728
+ color: #fff;
1729
+ text-align: center;
1730
+ display: block;
1731
+ margin: 0 auto;
1732
+ }
1733
+ .wp-ultimate-csv-importer .mapping-switcher li.active:after {
1734
+ position: absolute;
1735
+ bottom: -12px;
1736
+ left: 45%;
1737
+ content: "";
1738
+ width: 0;
1739
+ height: 0;
1740
+ border-top: solid 12px #00a699;
1741
+ border-left: solid 12px transparent;
1742
+ border-right: solid 12px transparent;
1743
+ }
1744
+ .wp-ultimate-csv-importer .mapping-switcher li.active:hover {
1745
+ color: #fff;
1746
+ }
1747
+ .wp-ultimate-csv-importer .mapping-switcher li:hover {
1748
+ color: #00a699;
1749
+ }
1750
+ .wp-ultimate-csv-importer .custom-fields-tabs {
1751
+ list-style: none;
1752
+ padding: 0px;
1753
+ margin: 0px;
1754
+ border-bottom: 1px solid #bcbaba;
1755
+ }
1756
+ @media (max-width: 576px) {
1757
+ .wp-ultimate-csv-importer .custom-fields-tabs {
1758
+ width: 100%;
1759
+ }
1760
+ }
1761
+ .wp-ultimate-csv-importer .custom-fields-tabs .custom-fields-tab-list {
1762
+ text-align: center;
1763
+ padding: 15px;
1764
+ float: left;
1765
+ overflow: hidden;
1766
+ white-space: nowrap;
1767
+ text-overflow: ellipsis;
1768
+ font-family: "Poppins", sans-serif;
1769
+ cursor: pointer;
1770
+ }
1771
+ @media (max-width: 576px) {
1772
+ .wp-ultimate-csv-importer .custom-fields-tabs .custom-fields-tab-list {
1773
+ width: 48%;
1774
+ margin: 2px;
1775
+ border-radius: 6px;
1776
+ border: 1px solid #00a699;
1777
+ }
1778
+ }
1779
+ .wp-ultimate-csv-importer .custom-fields-tabs .custom-fields-tab-list:hover {
1780
+ border-bottom: 2px solid rgba(0, 166, 153, 0.5);
1781
+ }
1782
+ @media (max-width: 576px) {
1783
+ .wp-ultimate-csv-importer .custom-fields-tabs .custom-fields-tab-list:hover {
1784
+ color: #fff;
1785
+ border: 1px solid rgba(0, 166, 153, 0.5);
1786
+ background-color: rgba(0, 166, 153, 0.5);
1787
+ }
1788
+ }
1789
+ .wp-ultimate-csv-importer .custom-fields-tabs .custom-fields-tab-list.disable {
1790
+ cursor: not-allowed;
1791
+ color: #cfcfcf;
1792
+ text-decoration: line-through;
1793
+ }
1794
+ .wp-ultimate-csv-importer .custom-fields-tabs .custom-fields-tab-list.active {
1795
+ border-bottom: 2px solid #00a699;
1796
+ font-weight: 500;
1797
+ }
1798
+ @media (max-width: 576px) {
1799
+ .wp-ultimate-csv-importer .custom-fields-tabs .custom-fields-tab-list.active {
1800
+ color: #fff;
1801
+ border: 1px solid #00a699;
1802
+ background-color: #00a699;
1803
+ }
1804
+ }
1805
+ .wp-ultimate-csv-importer .custom-fields-tabpane {
1806
+ display: none;
1807
+ }
1808
+ .wp-ultimate-csv-importer .custom-fields-tabpane.active {
1809
+ display: flex;
1810
+ justify-content: center;
1811
+ }
1812
+ .wp-ultimate-csv-importer .table {
1813
+ padding: 0 20px;
1814
+ }
1815
+ .wp-ultimate-csv-importer .table h5 {
1816
+ font-size: 18px;
1817
+ }
1818
+ .wp-ultimate-csv-importer .table th {
1819
+ border-bottom: 2px solid #edf2f7;
1820
+ border-top: 1px solid #edf2f7;
1821
+ font-family: "Poppins", sans-serif;
1822
+ padding: 9px;
1823
+ color: #718096;
1824
+ text-transform: uppercase;
1825
+ font-weight: 600;
1826
+ font-size: 15px;
1827
+ }
1828
+ .wp-ultimate-csv-importer .table td {
1829
+ border-top: 1px solid #edf2f7;
1830
+ font-family: "Roboto", sans-serif;
1831
+ padding: 9px;
1832
+ }
1833
+ .wp-ultimate-csv-importer .table td a {
1834
+ padding: 5px;
1835
+ }
1836
+ @media (max-width: 768px) {
1837
+ .wp-ultimate-csv-importer .table td a {
1838
+ padding: 0px;
1839
+ }
1840
+ }
1841
+ .wp-ultimate-csv-importer .table td:last-child {
1842
+ text-align: center;
1843
+ }
1844
+ .wp-ultimate-csv-importer .table td .badge {
1845
+ font-size: 13px;
1846
+ }
1847
+ .wp-ultimate-csv-importer .table td .initialized {
1848
+ color: #fff;
1849
+ background-color: #17a2b8;
1850
+ }
1851
+ .wp-ultimate-csv-importer .table td .pending {
1852
+ color: #2d3748;
1853
+ background-color: #ffc107;
1854
+ }
1855
+ .wp-ultimate-csv-importer .table td .scheduled {
1856
+ color: #fff;
1857
+ background-color: #179c17;
1858
+ }
1859
+ .wp-ultimate-csv-importer .table td .failed {
1860
+ color: #fff;
1861
+ background-color: #dc3545;
1862
+ }
1863
+ .wp-ultimate-csv-importer .table.table-mapping th {
1864
+ border-top: 0;
1865
+ }
1866
+ .wp-ultimate-csv-importer .table.table-mapping label {
1867
+ display: block;
1868
+ margin: 0px;
1869
+ }
1870
+ .wp-ultimate-csv-importer .table.table-mapping .sub-text {
1871
+ color: #0073aa;
1872
+ }
1873
+ .wp-ultimate-csv-importer .table.table-mapping tbody tr td {
1874
+ text-align: left;
1875
+ position: relative;
1876
+ vertical-align: middle;
1877
+ }
1878
+ .wp-ultimate-csv-importer .table.table-mapping tbody tr td .wpfields {
1879
+ font-weight: 500;
1880
+ }
1881
+ .wp-ultimate-csv-importer .table.table-mapping tbody tr td .sub-text {
1882
+ font-size: 14px;
1883
+ color: #718096;
1884
+ }
1885
+ .wp-ultimate-csv-importer .table.table-mapping tbody tr td.action {
1886
+ vertical-align: middle;
1887
+ }
1888
+ .wp-ultimate-csv-importer .table.table-mapping tbody tr td.action .action-icon {
1889
+ color: #718096;
1890
+ margin: 5px;
1891
+ cursor: pointer;
1892
+ position: relative;
1893
+ }
1894
+ .wp-ultimate-csv-importer .table.table-mapping tbody tr td.action .action-icon i {
1895
+ font-size: 22px;
1896
+ }
1897
+ .wp-ultimate-csv-importer .table.table-mapping tbody tr td.action .action-icon i:hover {
1898
+ color: #4a5568;
1899
+ }
1900
+ .wp-ultimate-csv-importer .table.table-mapping tbody tr td.action .manipulation-screen {
1901
+ padding: 20px;
1902
+ padding-top: 10px;
1903
+ background: #fff;
1904
+ box-shadow: 0px 0px 8px 1px rgba(0, 0, 0, 0.1);
1905
+ border-radius: 6px;
1906
+ width: 300px;
1907
+ position: absolute;
1908
+ z-index: 1000;
1909
+ top: 30px;
1910
+ right: 25px;
1911
+ transition: all 0.5s;
1912
+ display: none;
1913
+ }
1914
+ .wp-ultimate-csv-importer .table.table-mapping tbody tr td.action .manipulation-screen.active {
1915
+ animation: scale_animate 0.3s;
1916
+ display: block;
1917
+ }
1918
+ .wp-ultimate-csv-importer .table.table-mapping tbody tr td.action .manipulation-screen .close {
1919
+ margin-bottom: 15px;
1920
+ }
1921
+ .wp-ultimate-csv-importer .table.table-mapping tbody tr td.action .manipulation-screen .csv-hint {
1922
+ padding: 10px;
1923
+ background: rgba(0, 166, 153, 0.2);
1924
+ color: #00a699;
1925
+ border-radius: 6px;
1926
+ font-size: 14px;
1927
+ }
1928
+ .wp-ultimate-csv-importer .table.table-striped tbody tr:nth-of-type(2n + 1) {
1929
+ background-color: #f7fafc;
1930
+ }
1931
+ .wp-ultimate-csv-importer .table.table-striped tbody tr td {
1932
+ border: 0 !important;
1933
+ vertical-align: middle;
1934
+ }
1935
+ .wp-ultimate-csv-importer #terms-taxonomies-body .table td:last-child a,
1936
+ .wp-ultimate-csv-importer #wordpress-fields-body .table td:last-child a,
1937
+ .wp-ultimate-csv-importer #seo-fields-body .table td:last-child a {
1938
+ margin: 5px 5px 5px 0px;
1939
+ padding-left: 0px;
1940
+ }
1941
+ .wp-ultimate-csv-importer #wordpress-custom-fields-body .table th:last-child {
1942
+ text-align: center;
1943
+ }
1944
+ .wp-ultimate-csv-importer #wordpress-custom-fields-body .table td {
1945
+ vertical-align: top;
1946
+ }
1947
+ .wp-ultimate-csv-importer #wordpress-custom-fields-body .table td:last-child {
1948
+ text-align: center;
1949
+ }
1950
+ .wp-ultimate-csv-importer #wordpress-custom-fields-body .table td:last-child a {
1951
+ margin: 5px 0px 5px 0px;
1952
+ }
1953
+ .wp-ultimate-csv-importer #wordpress-custom-fields-body .table td:last-child .csv-hint {
1954
+ text-align: left;
1955
+ }
1956
+ @keyframes scale_animate {
1957
+ 0% {
1958
+ transform: scale(0.4);
1959
+ transform-origin: 100% 0%;
1960
+ }
1961
+ 90% {
1962
+ transform-origin: 0% 0%;
1963
+ }
1964
+ 100% {
1965
+ transform: scale(1);
1966
+ transform-origin: 0% 0%;
1967
+ }
1968
+ }
1969
+ .wp-ultimate-csv-importer .action-icon {
1970
+ cursor: pointer;
1971
+ }
1972
+ .wp-ultimate-csv-importer .table.table-manager p {
1973
+ color: #212529;
1974
+ font-weight: 500;
1975
+ font-size: 14px;
1976
+ margin-bottom: 10px;
1977
+ }
1978
+ .wp-ultimate-csv-importer .table.table-manager .text-label {
1979
+ color: #62656c;
1980
+ font-weight: normal;
1981
+ }
1982
+ .wp-ultimate-csv-importer .table.table-manager .list-inline-item:not(:last-child) {
1983
+ margin-right: 0px;
1984
+ }
1985
+ .wp-ultimate-csv-importer .table.table-manager .action-icon i {
1986
+ font-size: 20px;
1987
+ }
1988
+ .wp-ultimate-csv-importer .table.table-manager .action-icon i.csv-icon-highlight_off {
1989
+ font-size: 22px;
1990
+ }
1991
+ .wp-ultimate-csv-importer .table.table-manager td ul {
1992
+ margin-bottom: 0;
1993
+ }
1994
+ .wp-ultimate-csv-importer .table-flxed {
1995
+ width: 100%;
1996
+ table-layout: fixed;
1997
+ }
1998
+ .wp-ultimate-csv-importer .table-flxed thead {
1999
+ width: 100%;
2000
+ }
2001
+ .wp-ultimate-csv-importer .table-flxed tbody {
2002
+ width: 100%;
2003
+ height: 500px;
2004
+ overflow: hidden;
2005
+ overflow-y: auto;
2006
+ }
2007
+ .wp-ultimate-csv-importer .border-bottom {
2008
+ border-bottom-color: #edf2f7 !important;
2009
+ }
2010
+ .wp-ultimate-csv-importer .card {
2011
+ margin-top: 10px;
2012
+ max-width: 100% !important;
2013
+ padding: 0 !important;
2014
+ }
2015
+ .wp-ultimate-csv-importer .card .card-header {
2016
+ padding: 10px 20px;
2017
+ border-radius: 6px 6px 0 0;
2018
+ background-color: #f7fafc;
2019
+ -moz-transition: all 0.3s ease;
2020
+ -o-transition: all 0.3s ease;
2021
+ -webkit-transition: all 0.3s ease;
2022
+ -ms-transition: all 0.3s ease;
2023
+ transition: all 0.3s ease;
2024
+ }
2025
+ .wp-ultimate-csv-importer .card .card-header span {
2026
+ cursor: pointer;
2027
+ }
2028
+ .wp-ultimate-csv-importer .card .card-header.bg-white {
2029
+ border-radius: 6px;
2030
+ }
2031
+ .wp-ultimate-csv-importer #mapping-accordion {
2032
+ margin-bottom: 30px;
2033
+ }
2034
+ .wp-ultimate-csv-importer .main-heading span {
2035
+ border: 1px solid #ccc;
2036
+ padding: 2px 5px;
2037
+ border-radius: 20px;
2038
+ transition: 0.3s;
2039
+ }
2040
+ .wp-ultimate-csv-importer .main-heading span.active {
2041
+ transform: rotate(180deg);
2042
+ }
2043
+ .wp-ultimate-csv-importer .main-heading span.exportData {
2044
+ padding: 3px 16px;
2045
+ font-size: 18px;
2046
+ color: #00a699;
2047
+ background: rgba(0, 166, 153, 0.05);
2048
+ border: 2px solid rgba(0, 166, 153, 0.3);
2049
+ }
2050
+ .wp-ultimate-csv-importer .settings {
2051
+ padding: 0px !important;
2052
+ }
2053
+ .wp-ultimate-csv-importer .settings .setting-container {
2054
+ margin: 0px;
2055
+ padding: 0px;
2056
+ }
2057
+ .wp-ultimate-csv-importer .setting-tab-section {
2058
+ margin-top: 20px;
2059
+ }
2060
+ @media (max-width: 510px) {
2061
+ .wp-ultimate-csv-importer .setting-tab-section {
2062
+ margin-top: 10px;
2063
+ }
2064
+ }
2065
+ .wp-ultimate-csv-importer .setting-tab {
2066
+ list-style: none;
2067
+ padding: 0px;
2068
+ }
2069
+ .wp-ultimate-csv-importer .setting-tab .setting-tab-list {
2070
+ padding: 15px;
2071
+ font-family: "Poppins", sans-serif;
2072
+ cursor: pointer;
2073
+ border: 1px solid #edf2f7;
2074
+ border-left: 0px;
2075
+ overflow: hidden;
2076
+ white-space: nowrap;
2077
+ text-overflow: ellipsis;
2078
+ margin-bottom: 0;
2079
+ }
2080
+ .wp-ultimate-csv-importer .setting-tab .setting-tab-list i {
2081
+ padding-right: 10px;
2082
+ }
2083
+ .wp-ultimate-csv-importer .setting-tab .setting-tab-list:hover {
2084
+ background-color: #e9e9e9;
2085
+ }
2086
+ .wp-ultimate-csv-importer .setting-tab .setting-tab-list.active {
2087
+ background-color: #00a699;
2088
+ color: #fff;
2089
+ font-weight: 500;
2090
+ }
2091
+ .wp-ultimate-csv-importer .setting-tab-pane {
2092
+ display: none;
2093
+ margin-bottom: 15px;
2094
+ }
2095
+ .wp-ultimate-csv-importer .setting-tab-pane.active {
2096
+ display: block;
2097
+ }
2098
+ .wp-ultimate-csv-importer .setting-tab-pane h4 {
2099
+ font-size: 16px;
2100
+ font-family: "Roboto", sans-serif;
2101
+ }
2102
+ .wp-ultimate-csv-importer .setting-tab-pane .form-group {
2103
+ margin-bottom: 2rem;
2104
+ }
2105
+ .wp-ultimate-csv-importer .radio label {
2106
+ padding-right: 10px;
2107
+ }
2108
+ .wp-ultimate-csv-importer .database-optimization {
2109
+ padding-left: 0;
2110
+ }
2111
+ .wp-ultimate-csv-importer .database-optimization li {
2112
+ list-style: none;
2113
+ margin-bottom: 15px;
2114
+ }
2115
+ .wp-ultimate-csv-importer .export {
2116
+ padding: 0px 50px;
2117
+ }
2118
+ @media (max-width: 768px) {
2119
+ .wp-ultimate-csv-importer .export {
2120
+ padding: 0px 15px;
2121
+ }
2122
+ }
2123
+ .wp-ultimate-csv-importer .export .advanced {
2124
+ padding-right: 30px;
2125
+ align-self: center;
2126
+ }
2127
+ .wp-ultimate-csv-importer .export .advanced-filter {
2128
+ margin: 10px auto;
2129
+ width: 100%;
2130
+ display: inline-block;
2131
+ }
2132
+ .wp-ultimate-csv-importer .export .advanced-filter .bootstrap-select {
2133
+ width: 100%;
2134
+ }
2135
+ .wp-ultimate-csv-importer .export .form-group .select {
2136
+ width: 100%;
2137
+ }
2138
+ .wp-ultimate-csv-importer .export .card {
2139
+ width: 100%;
2140
+ box-shadow: none;
2141
+ }
2142
+ .wp-ultimate-csv-importer .export .card .card-header {
2143
+ background-color: rgba(0, 0, 0, 0.03) !important;
2144
+ }
2145
+ .wp-ultimate-csv-importer .importing-details .progress-status {
2146
+ font-size: 16px;
2147
+ color: #a0aec0;
2148
+ text-transform: uppercase;
2149
+ }
2150
+ .wp-ultimate-csv-importer .importing-details .import-progress {
2151
+ position: relative;
2152
+ display: flex;
2153
+ }
2154
+ .wp-ultimate-csv-importer .importing-details .progress-loading {
2155
+ font-size: 25px;
2156
+ color: #00a699;
2157
+ display: inline-block;
2158
+ }
2159
+ .wp-ultimate-csv-importer .importing-details .progress-timing {
2160
+ display: inline-block;
2161
+ justify-content: flex-end;
2162
+ align-self: center;
2163
+ position: absolute;
2164
+ right: 0;
2165
+ }
2166
+ .wp-ultimate-csv-importer .sub-title {
2167
+ color: #718096;
2168
+ font-size: 14px;
2169
+ margin-left: 35px;
2170
+ margin-bottom: 20px;
2171
+ }
2172
+ .wp-ultimate-csv-importer .border-container {
2173
+ padding: 35px 15px 15px;
2174
+ border: 1px solid #e8e8e8;
2175
+ position: relative;
2176
+ margin: 15px auto;
2177
+ border-radius: 6px;
2178
+ }
2179
+ .wp-ultimate-csv-importer .border-container .border-container-header {
2180
+ position: absolute;
2181
+ top: -20px;
2182
+ padding: 10px 15px;
2183
+ background: #f2f2f2;
2184
+ font-weight: 400;
2185
+ font-size: 16px;
2186
+ border-radius: 6px;
2187
+ }
2188
+ .wp-ultimate-csv-importer .btn-add-size {
2189
+ border: none;
2190
+ background: none;
2191
+ color: #00a699;
2192
+ cursor: pointer;
2193
+ outline: none;
2194
+ }
2195
+ .wp-ultimate-csv-importer .media-fields {
2196
+ pointer-events: none;
2197
+ opacity: 0.5;
2198
+ }
2199
+ .wp-ultimate-csv-importer .media-fields.active {
2200
+ opacity: 1;
2201
+ pointer-events: auto;
2202
+ }
2203
+ .wp-ultimate-csv-importer .media th:last-child {
2204
+ text-align: center;
2205
+ }
2206
+ .wp-ultimate-csv-importer table.media-handle-image-size tbody tr td.delete {
2207
+ font-size: 22px;
2208
+ color: #dc3545;
2209
+ }
2210
+ .wp-ultimate-csv-importer table.media-handle-image-size tbody tr td.delete i {
2211
+ cursor: pointer;
2212
+ }
2213
+ .wp-ultimate-csv-importer .success {
2214
+ color: #179c17;
2215
+ position: relative;
2216
+ margin-left: 25px;
2217
+ }
2218
+ .wp-ultimate-csv-importer .success:before {
2219
+ content: "";
2220
+ border: 1px solid #179c17;
2221
+ border-radius: 50%;
2222
+ width: 15px;
2223
+ height: 15px;
2224
+ position: absolute;
2225
+ left: -22px;
2226
+ top: 5px;
2227
+ }
2228
+ .wp-ultimate-csv-importer .success:after {
2229
+ content: "";
2230
+ border: 1px solid #179c17;
2231
+ border-radius: 50%;
2232
+ width: 7px;
2233
+ height: 7px;
2234
+ position: absolute;
2235
+ left: -18px;
2236
+ top: 9px;
2237
+ background-color: #179c17;
2238
+ }
2239
+ .wp-ultimate-csv-importer .error {
2240
+ color: #dc3545;
2241
+ position: relative;
2242
+ margin-left: 25px;
2243
+ }
2244
+ .wp-ultimate-csv-importer .error:before {
2245
+ content: "";
2246
+ border: 1px solid #dc3545;
2247
+ border-radius: 50%;
2248
+ width: 15px;
2249
+ height: 15px;
2250
+ position: absolute;
2251
+ left: -22px;
2252
+ top: 5px;
2253
+ }
2254
+ .wp-ultimate-csv-importer .error:after {
2255
+ content: "";
2256
+ border: 1px solid #dc3545;
2257
+ border-radius: 50%;
2258
+ width: 7px;
2259
+ height: 7px;
2260
+ position: absolute;
2261
+ left: -18px;
2262
+ top: 9px;
2263
+ background-color: #dc3545;
2264
+ }
2265
+ .wp-ultimate-csv-importer #upload_media .progress-loading {
2266
+ font-size: 18px;
2267
+ }
2268
+ .wp-ultimate-csv-importer .dboptimization .form-check-input {
2269
+ margin: 0 !important;
2270
+ }
2271
+ .wp-ultimate-csv-importer .text-dboptimization {
2272
+ font-size: 15px;
2273
+ }
2274
+ .wp-ultimate-csv-importer .set-box-container {
2275
+ padding: 15px 10px;
2276
+ box-shadow: 0px 0px 8px 1px rgba(0, 0, 0, 0.1);
2277
+ border-radius: 6px;
2278
+ margin: 15px 0;
2279
+ text-align: center;
2280
+ }
2281
+ .wp-ultimate-csv-importer .set-box-container:hover {
2282
+ transition: all 0.5s;
2283
+ transform: translateY(-10px);
2284
+ box-shadow: 0 7px 10px 0 rgba(0, 0, 0, 0.1);
2285
+ }
2286
+ .wp-ultimate-csv-importer .set-box-container a {
2287
+ text-decoration: none;
2288
+ }
2289
+ .wp-ultimate-csv-importer .set-box-container img {
2290
+ width: 60px;
2291
+ margin-bottom: 10px;
2292
+ }
2293
+ .wp-ultimate-csv-importer .set-box-container h2 {
2294
+ margin: auto;
2295
+ color: #888;
2296
+ font-size: 20px;
2297
+ }
2298
+ .wp-ultimate-csv-importer .set-box-container p {
2299
+ color: #888;
2300
+ margin-top: 15px;
2301
+ }
2302
+ .wp-ultimate-csv-importer .mapping-sidebar {
2303
+ z-index: 100;
2304
+ background: #ffffff;
2305
+ border-radius: 6px;
2306
+ box-shadow: 0 2px 20px 0 #c9d3df;
2307
+ margin-top: 50px;
2308
+ padding: 0;
2309
+ display: inline-block;
2310
+ width: 100%;
2311
+ overflow: hidden;
2312
+ background: #fff;
2313
+ border: 1px solid rgba(204, 204, 204, 0.8);
2314
+ }
2315
+ .wp-ultimate-csv-importer .mapping-sidebar .mapping-sidebar-title {
2316
+ border-bottom: 1px solid #cbd5e0;
2317
+ width: 100%;
2318
+ border-top-left-radius: 6px;
2319
+ border-top-right-radius: 6px;
2320
+ border-collapse: separate;
2321
+ color: #464646;
2322
+ font-size: 12px;
2323
+ font-weight: bold;
2324
+ background: #f7fafc;
2325
+ }
2326
+ .wp-ultimate-csv-importer .mapping-sidebar .mapping-sidebar-arrow {
2327
+ width: 20%;
2328
+ padding: 8px;
2329
+ text-align: center;
2330
+ cursor: pointer;
2331
+ }
2332
+ .wp-ultimate-csv-importer .mapping-sidebar .mapping-sidebar-arrow [class^=csv-icon-] {
2333
+ font-size: 24px;
2334
+ color: #cbd5e0;
2335
+ -moz-transition: all 0.3s ease;
2336
+ -o-transition: all 0.3s ease;
2337
+ -webkit-transition: all 0.3s ease;
2338
+ -ms-transition: all 0.3s ease;
2339
+ transition: all 0.3s ease;
2340
+ }
2341
+ .wp-ultimate-csv-importer .mapping-sidebar .mapping-sidebar-arrow [class^=csv-icon-]:hover {
2342
+ color: #718096;
2343
+ }
2344
+ .wp-ultimate-csv-importer .mapping-sidebar .mapping-sidebar-arrow a {
2345
+ text-decoration: none;
2346
+ }
2347
+ .wp-ultimate-csv-importer .mapping-sidebar .mapping-sidebar-textbox-section input[type=text] {
2348
+ width: 40px;
2349
+ text-align: center;
2350
+ border: 1px solid #a0aec0;
2351
+ border-radius: 3px;
2352
+ margin-left: 5px;
2353
+ padding: 2px;
2354
+ font-size: 14px;
2355
+ }
2356
+ .wp-ultimate-csv-importer .mapping-sidebar .mapping-textbox-out-of {
2357
+ color: #4a5568;
2358
+ padding: 0px 12px;
2359
+ }
2360
+ .wp-ultimate-csv-importer .mapping-sidebar .mapping-sidebar-textbox-section {
2361
+ width: 60%;
2362
+ text-align: center;
2363
+ }
2364
+ .wp-ultimate-csv-importer .mapping-sidebar .uci_mapping_attr {
2365
+ padding: 10px;
2366
+ border: none;
2367
+ margin-top: 0px;
2368
+ }
2369
+ .wp-ultimate-csv-importer .mapping-sidebar .mapping-sidebar-content-section {
2370
+ max-height: 400px;
2371
+ overflow: auto;
2372
+ -moz-transition: all 0.25s ease;
2373
+ -o-transition: all 0.25s ease;
2374
+ -webkit-transition: all 0.25s ease;
2375
+ -ms-transition: all 0.25s ease;
2376
+ transition: all 0.25s ease;
2377
+ }
2378
+ .wp-ultimate-csv-importer .uci_mapping {
2379
+ margin: 10px;
2380
+ }
2381
+ .wp-ultimate-csv-importer .uci_mapping .table td:last-child {
2382
+ text-align: left;
2383
+ }
2384
+ .wp-ultimate-csv-importer .uci_mapping table {
2385
+ border-collapse: separate;
2386
+ border-spacing: 5px;
2387
+ padding: 0;
2388
+ border: 0;
2389
+ font-size: 14px;
2390
+ }
2391
+ .wp-ultimate-csv-importer .uci_mapping table tr td:first-child {
2392
+ cursor: pointer;
2393
+ }
2394
+ .wp-ultimate-csv-importer .uci_mapping td {
2395
+ padding: 5px 8px;
2396
+ margin: 0 10px;
2397
+ border-radius: 4px;
2398
+ width: 150px;
2399
+ overflow-wrap: break-word;
2400
+ word-wrap: break-word;
2401
+ hyphens: auto;
2402
+ }
2403
+ .wp-ultimate-csv-importer .uci_mapping tr {
2404
+ margin-bottom: 10px;
2405
+ }
2406
+ .wp-ultimate-csv-importer .delete-textbox {
2407
+ font-size: 20px;
2408
+ margin: 5px 50px;
2409
+ cursor: pointer;
2410
+ }
2411
+ .wp-ultimate-csv-importer .mapping-sidebar-fixed {
2412
+ position: fixed;
2413
+ top: 20px;
2414
+ width: 320px;
2415
+ }
2416
+ .wp-ultimate-csv-importer .rltsupport.mapping-sidebar-fixed {
2417
+ left: 5%;
2418
+ }
2419
+ .wp-ultimate-csv-importer .fixed-bottom-position {
2420
+ top: auto;
2421
+ bottom: 320px;
2422
+ }
2423
+ .wp-ultimate-csv-importer .uci_mapping {
2424
+ height: 75vh;
2425
+ overflow: hidden;
2426
+ overflow-y: auto;
2427
+ }
2428
+ .wp-ultimate-csv-importer .ck-file-dialog-button {
2429
+ display: none;
2430
+ }
2431
+ .wp-ultimate-csv-importer .ck.ck-content {
2432
+ min-height: 200px;
2433
+ }
2434
+ .wp-ultimate-csv-importer .ck-editor__editable.ck-rounded-corners {
2435
+ border-radius: 6px !important;
2436
+ border-top-left-radius: 0 !important;
2437
+ border-top-right-radius: 0 !important;
2438
+ }
2439
+ .wp-ultimate-csv-importer .ck.ck-editor__main > .ck-editor__editable.ck-focused {
2440
+ border-color: #00a699 !important;
2441
+ box-shadow: none;
2442
+ }
2443
+ .wp-ultimate-csv-importer .drop_container {
2444
+ margin: 40px 0;
2445
+ border: 2px dashed #d5d4d4;
2446
+ transition: 0.3s;
2447
+ background: #f9fbfc;
2448
+ width: 100%;
2449
+ margin-left: -10px;
2450
+ position: relative;
2451
+ min-height: 100%;
2452
+ padding: 30px 20px;
2453
+ text-align: center;
2454
+ }
2455
+ .wp-ultimate-csv-importer .drop_container span {
2456
+ font-size: 50px;
2457
+ color: #d5d4d4;
2458
+ display: block;
2459
+ transform: translateX(0);
2460
+ transition: 0.3s;
2461
+ }
2462
+ .wp-ultimate-csv-importer .drop_container h5 {
2463
+ color: #333333;
2464
+ margin-bottom: 4px;
2465
+ }
2466
+ .wp-ultimate-csv-importer .drop_container:hover {
2467
+ border: 2px dashed rgba(0, 166, 153, 0.7);
2468
+ transform: scale(1.005);
2469
+ box-shadow: 0 2px 60px rgba(0, 0, 0, 0.1);
2470
+ }
2471
+ .wp-ultimate-csv-importer .drop_container:hover span {
2472
+ transform: translateY(-10px);
2473
+ }
2474
+ .wp-ultimate-csv-importer .drop_container .drop_file {
2475
+ opacity: 0;
2476
+ position: absolute;
2477
+ top: 0;
2478
+ left: 0;
2479
+ width: 100%;
2480
+ height: 100%;
2481
+ z-index: 1000;
2482
+ }
2483
+ .wp-ultimate-csv-importer .drop_container .browse-btn {
2484
+ z-index: 1001;
2485
+ position: relative;
2486
+ }
2487
+ .wp-ultimate-csv-importer .file-info-container {
2488
+ padding: 40px 20px;
2489
+ }
2490
+ .wp-ultimate-csv-importer .file-info-container .file-name {
2491
+ margin-top: 20px;
2492
+ font-size: 22px;
2493
+ text-align: center;
2494
+ overflow: hidden;
2495
+ text-overflow: ellipsis;
2496
+ }
2497
+ .wp-ultimate-csv-importer .file-info-container .file-name span {
2498
+ font-size: 18px;
2499
+ color: #718096;
2500
+ }
2501
+ .wp-ultimate-csv-importer .file-info-container .progress {
2502
+ margin-top: 25px;
2503
+ }
2504
+ .wp-ultimate-csv-importer .progress-bar {
2505
+ background: #00a699 linear-gradient(to right, #65cd8d, #4fc492, #38ba96, #21b098, #00a699);
2506
+ border-radius: inherit;
2507
+ }
2508
+ .wp-ultimate-csv-importer .progress {
2509
+ border-radius: 30px;
2510
+ }
2511
+ .wp-ultimate-csv-importer .upload-info {
2512
+ position: absolute;
2513
+ width: 90%;
2514
+ top: 30%;
2515
+ left: 0;
2516
+ z-index: 1000;
2517
+ }
2518
+ .wp-ultimate-csv-importer #v-pills-tabContent .filepond--wrapper .filepond--drop-label label:after {
2519
+ content: "Supported file types .csv .xml .txt .zip";
2520
+ position: absolute;
2521
+ bottom: -20px;
2522
+ z-index: 1000;
2523
+ transform: translateX(-50%);
2524
+ left: 50%;
2525
+ text-align: center;
2526
+ font-family: "Poppins", sans-serif !important;
2527
+ color: #4a5568;
2528
+ width: 300px;
2529
+ font-weight: 500;
2530
+ }
2531
+ .wp-ultimate-csv-importer .filepond--wrapper {
2532
+ margin: 20px auto;
2533
+ }
2534
+ .wp-ultimate-csv-importer .filepond--wrapper .filepond--drop-label {
2535
+ height: 430px;
2536
+ background: #f9fbfc;
2537
+ border: 2px dashed #cbd5e0;
2538
+ border-radius: 6px;
2539
+ }
2540
+ .wp-ultimate-csv-importer .filepond--wrapper .filepond--drop-label label {
2541
+ font-size: 16px;
2542
+ position: relative;
2543
+ margin-top: 30px;
2544
+ }
2545
+ .wp-ultimate-csv-importer .filepond--wrapper .filepond--drop-label label span {
2546
+ margin: 20px auto;
2547
+ width: 70%;
2548
+ display: block;
2549
+ text-decoration: none;
2550
+ padding: 8px 3px;
2551
+ color: #fff;
2552
+ background: #00a699;
2553
+ border: 1px solid #00a699;
2554
+ border-radius: 6px;
2555
+ font-weight: 600;
2556
+ }
2557
+ .wp-ultimate-csv-importer .filepond--wrapper .filepond--drop-label label span:hover {
2558
+ transition: all 0.3s;
2559
+ transform: translateY(-5px);
2560
+ box-shadow: 0px 0px 8px 1px rgba(0, 0, 0, 0.1);
2561
+ }
2562
+ .wp-ultimate-csv-importer .filepond--wrapper .filepond--drop-label label:before {
2563
+ content: "";
2564
+ font-size: 50px;
2565
+ color: #cbd5e0;
2566
+ font-family: "csvimporter" !important;
2567
+ position: absolute;
2568
+ left: 35%;
2569
+ bottom: 85%;
2570
+ }
2571
+ .wp-ultimate-csv-importer .filepond--wrapper .filepond--drip {
2572
+ background: #fff;
2573
+ opacity: 1;
2574
+ }
2575
+ .wp-ultimate-csv-importer .filepond--wrapper .filepond--root[data-hopper-state=drag-over] .filepond--drop-label {
2576
+ transition: all 0.2s;
2577
+ border: 2px dashed rgba(0, 166, 153, 0.7);
2578
+ transform: scale(1.005);
2579
+ box-shadow: 0 2px 60px rgba(0, 0, 0, 0.1);
2580
+ }
2581
+ .wp-ultimate-csv-importer .filepond--wrapper .filepond--list-scroller .filepond--list .filepond--item {
2582
+ max-height: 70px;
2583
+ }
2584
+ .wp-ultimate-csv-importer .filepond--wrapper .filepond--list-scroller .filepond--list .filepond--item[data-filepond-item-state=processing-error] .filepond--file-wrapper {
2585
+ background: #dc3545;
2586
+ }
2587
+ .wp-ultimate-csv-importer .filepond--wrapper .filepond--list-scroller .filepond--list .filepond--item .filepond--file-wrapper {
2588
+ height: auto;
2589
+ background: #00a699;
2590
+ color: #fff;
2591
+ border-radius: 6px;
2592
+ padding: 5px 15px;
2593
+ }
2594
+ .wp-ultimate-csv-importer .filepond--wrapper .filepond--list-scroller .filepond--list .filepond--item .filepond--file-wrapper .filepond--file-info .filepond--file-info-main,
2595
+ .wp-ultimate-csv-importer .filepond--wrapper .filepond--list-scroller .filepond--list .filepond--item .filepond--file-wrapper .filepond--file-info .filepond--file-info-sub {
2596
+ font-size: 17px;
2597
+ opacity: 1;
2598
+ }
2599
+ .wp-ultimate-csv-importer .filepond--wrapper .filepond--list-scroller .filepond--list .filepond--item .filepond--file-wrapper .filepond--file-status .filepond--file-status-main,
2600
+ .wp-ultimate-csv-importer .filepond--wrapper .filepond--list-scroller .filepond--list .filepond--item .filepond--file-wrapper .filepond--file-status .filepond--file-status-sub {
2601
+ font-size: 17px;
2602
+ opacity: 1;
2603
+ }
2604
+ .wp-ultimate-csv-importer .progress-timing {
2605
+ color: #718096;
2606
+ }
2607
+ .wp-ultimate-csv-importer .progress-timing span {
2608
+ font-weight: 500;
2609
+ color: #1a202c;
2610
+ }
2611
+ .wp-ultimate-csv-importer .min {
2612
+ min-height: 420px;
2613
+ }
2614
+ .wp-ultimate-csv-importer .importer-log .table td {
2615
+ border: 0;
2616
+ color: #718096;
2617
+ }
2618
+ .wp-ultimate-csv-importer .importer-log .table td span {
2619
+ font-weight: 500;
2620
+ color: #1a202c;
2621
+ }
2622
+ .wp-ultimate-csv-importer .importer-log .table td span.text-success,
2623
+ .wp-ultimate-csv-importer .importer-log .table td span.text-success span {
2624
+ color: #179c17;
2625
+ }
2626
+ .wp-ultimate-csv-importer .importer-log .table td span.text-danger,
2627
+ .wp-ultimate-csv-importer .importer-log .table td span.text-danger span {
2628
+ color: #dc3545;
2629
+ }
2630
+ .wp-ultimate-csv-importer .importer-log .log-details-table {
2631
+ width: 98%;
2632
+ }
2633
+ .wp-ultimate-csv-importer .importer-log .log-details-table td {
2634
+ border-bottom: 1px solid #edf2f7;
2635
+ padding: 10px 0;
2636
+ }
2637
+ .wp-ultimate-csv-importer #showLogText {
2638
+ white-space: pre-line;
2639
+ line-height: 2;
2640
+ padding: 20px;
2641
+ max-height: 400px;
2642
+ overflow-y: auto;
2643
+ border: 1px solid #edf2f7;
2644
+ border-radius: 6px;
2645
+ }
2646
+ .wp-ultimate-csv-importer .Toastify__toast-container--top-right {
2647
+ top: 5em !important;
2648
+ }
2649
+ .wp-ultimate-csv-importer .Toastify {
2650
+ font-family: "Poppins", sans-serif;
2651
+ }
2652
+ .wp-ultimate-csv-importer .Toastify .Toastify__toast {
2653
+ font-family: inherit;
2654
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
2655
+ }
2656
+ .wp-ultimate-csv-importer .Toastify .Toastify__toast--info {
2657
+ background: #0073aa;
2658
+ }
2659
+ .wp-ultimate-csv-importer .Toastify .Toastify__toast-body {
2660
+ padding: 10px 50px;
2661
+ }
2662
+ .wp-ultimate-csv-importer .Toastify__toast.Toastify__toast--success,
2663
+ .wp-ultimate-csv-importer .Toastify__toast.Toastify__toast--error,
2664
+ .wp-ultimate-csv-importer .Toastify__toast.Toastify__toast--info {
2665
+ border-radius: 6px;
2666
+ font-weight: 500;
2667
+ }
2668
+ .wp-ultimate-csv-importer .Toastify__toast.Toastify__toast--success {
2669
+ border-top: 4px solid #38b2ac;
2670
+ }
2671
+ .wp-ultimate-csv-importer .Toastify__toast.Toastify__toast--success::before {
2672
+ position: absolute;
2673
+ width: 32px;
2674
+ height: 32px;
2675
+ background: url("../../images/check-circle.png");
2676
+ content: " ";
2677
+ top: 25px;
2678
+ left: 10px;
2679
+ }
2680
+ .wp-ultimate-csv-importer .Toastify__toast--success {
2681
+ background: #e6fffa !important;
2682
+ color: #234e52 !important;
2683
+ }
2684
+ .wp-ultimate-csv-importer .Toastify__toast--error {
2685
+ background: #fff5f5;
2686
+ color: #c53030 !important;
2687
+ border-top: 4px solid #f56565 !important;
2688
+ border-radius: 6px;
2689
+ }
2690
+ .wp-ultimate-csv-importer .Toastify__toast--error::before {
2691
+ position: absolute;
2692
+ width: 32px;
2693
+ height: 32px;
2694
+ background: url("../../images/warning.png");
2695
+ content: " ";
2696
+ top: 25px;
2697
+ left: 10px;
2698
+ }
2699
+ .wp-ultimate-csv-importer .Toastify__toast--info {
2700
+ background: #ebf8ff !important;
2701
+ color: #2b6cb0 !important;
2702
+ border-top: 4px solid #4299e1 !important;
2703
+ border-radius: 6px;
2704
+ }
2705
+ .wp-ultimate-csv-importer .Toastify__toast--info::before {
2706
+ position: absolute;
2707
+ width: 32px;
2708
+ height: 32px;
2709
+ background: url("../../images/info.png");
2710
+ content: " ";
2711
+ top: 25px;
2712
+ left: 10px;
2713
+ }
2714
+ .wp-ultimate-csv-importer .loader {
2715
+ width: 30px;
2716
+ height: 30px;
2717
+ border-radius: 100%;
2718
+ position: relative;
2719
+ margin: 0 auto;
2720
+ }
2721
+ .wp-ultimate-csv-importer .loader-1:before, .wp-ultimate-csv-importer .loader-1:after {
2722
+ content: "";
2723
+ position: absolute;
2724
+ top: -10px;
2725
+ left: -10px;
2726
+ width: 100%;
2727
+ height: 100%;
2728
+ border-radius: 100%;
2729
+ border: 3px solid transparent;
2730
+ border-top-color: #00a699;
2731
+ }
2732
+ .wp-ultimate-csv-importer .loader-1:before {
2733
+ z-index: 100;
2734
+ animation: spin 1s infinite;
2735
+ }
2736
+ .wp-ultimate-csv-importer .loader-1:after {
2737
+ border: 3px solid #ccc;
2738
+ }
2739
+ .wp-ultimate-csv-importer .ajax-loader {
2740
+ width: 30px;
2741
+ height: 30px;
2742
+ border-radius: 100%;
2743
+ position: relative;
2744
+ margin-right: 80px;
2745
+ }
2746
+ .wp-ultimate-csv-importer .ajax-loader.loading:before, .wp-ultimate-csv-importer .ajax-loader.loading:after {
2747
+ content: "";
2748
+ position: absolute;
2749
+ top: 5px;
2750
+ left: -25px;
2751
+ width: 100%;
2752
+ height: 100%;
2753
+ border-radius: 100%;
2754
+ border: 3px solid transparent;
2755
+ border-top-color: #00a699;
2756
+ }
2757
+ .wp-ultimate-csv-importer .ajax-loader.loading:before {
2758
+ z-index: 100;
2759
+ animation: spin 1s infinite;
2760
+ }
2761
+ .wp-ultimate-csv-importer .ajax-loader.loading:after {
2762
+ border: 3px solid #ccc;
2763
+ }
2764
+ @keyframes spin {
2765
+ 0% {
2766
+ -webkit-transform: rotate(0deg);
2767
+ -ms-transform: rotate(0deg);
2768
+ -o-transform: rotate(0deg);
2769
+ transform: rotate(0deg);
2770
+ }
2771
+ 100% {
2772
+ -webkit-transform: rotate(360deg);
2773
+ -ms-transform: rotate(360deg);
2774
+ -o-transform: rotate(360deg);
2775
+ transform: rotate(360deg);
2776
+ }
2777
+ }
2778
+ @keyframes blink {
2779
+ 50% {
2780
+ color: transparent;
2781
+ }
2782
+ }
2783
+ .wp-ultimate-csv-importer .loader__dot {
2784
+ animation: 1s blink infinite;
2785
+ }
2786
+ .wp-ultimate-csv-importer .loader__dot:nth-child(2) {
2787
+ animation-delay: 250ms;
2788
+ }
2789
+ .wp-ultimate-csv-importer .loader__dot:nth-child(3) {
2790
+ animation-delay: 500ms;
2791
+ }
2792
+ .wp-ultimate-csv-importer #file_tree {
2793
+ border: 1px solid #d5d4d4;
2794
+ border-radius: 6px;
2795
+ padding: 10px;
2796
+ overflow: hidden;
2797
+ }
2798
+ .wp-ultimate-csv-importer #file_tree:hover {
2799
+ overflow-y: auto;
2800
+ }
2801
+ .wp-ultimate-csv-importer ul.jqueryfiletree {
2802
+ font-family: "Roboto", sans-serif;
2803
+ font-size: 14px;
2804
+ line-height: 1.5;
2805
+ padding: 0px;
2806
+ margin: 0px;
2807
+ }
2808
+ .wp-ultimate-csv-importer ul.jqueryfiletree li {
2809
+ list-style: none;
2810
+ padding: 0px;
2811
+ padding-left: 20px;
2812
+ margin: 0px;
2813
+ white-space: nowrap;
2814
+ border-bottom: 1px solid #f3f3f3;
2815
+ }
2816
+ .wp-ultimate-csv-importer ul.jqueryfiletree a {
2817
+ color: #333;
2818
+ text-decoration: none;
2819
+ display: block;
2820
+ padding: 0px 2px;
2821
+ }
2822
+ .wp-ultimate-csv-importer ul.jqueryfiletree a:hover {
2823
+ background: #e6f6ff;
2824
+ }
2825
+ .wp-ultimate-csv-importer .jqueryfiletree li.directory {
2826
+ background: url(../images/file/folder.png) left top no-repeat;
2827
+ }
2828
+ .wp-ultimate-csv-importer .jqueryfiletree li.expanded {
2829
+ background: url(../images/file/folder_open.png) left top no-repeat;
2830
+ }
2831
+ .wp-ultimate-csv-importer .jqueryfiletree li.file {
2832
+ background: url(../images/file/file.png) left top no-repeat;
2833
+ }
2834
+ .wp-ultimate-csv-importer .jqueryfiletree li.wait {
2835
+ background: url(../images/file/spinner.gif) left top no-repeat;
2836
+ }
2837
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_3gp {
2838
+ background: url(../images/file/film.png) left top no-repeat;
2839
+ }
2840
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_afp {
2841
+ background: url(../images/file/code.png) left top no-repeat;
2842
+ }
2843
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_afpa {
2844
+ background: url(../images/file/code.png) left top no-repeat;
2845
+ }
2846
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_asp {
2847
+ background: url(../images/file/code.png) left top no-repeat;
2848
+ }
2849
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_aspx {
2850
+ background: url(../images/file/code.png) left top no-repeat;
2851
+ }
2852
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_avi {
2853
+ background: url(../images/file/film.png) left top no-repeat;
2854
+ }
2855
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_bat {
2856
+ background: url(../images/file/application.png) left top no-repeat;
2857
+ }
2858
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_bmp {
2859
+ background: url(../images/file/picture.png) left top no-repeat;
2860
+ }
2861
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_c {
2862
+ background: url(../images/file/code.png) left top no-repeat;
2863
+ }
2864
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_cfm {
2865
+ background: url(../images/file/code.png) left top no-repeat;
2866
+ }
2867
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_cgi {
2868
+ background: url(../images/file/code.png) left top no-repeat;
2869
+ }
2870
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_com {
2871
+ background: url(../images/file/application.png) left top no-repeat;
2872
+ }
2873
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_cpp {
2874
+ background: url(../images/file/code.png) left top no-repeat;
2875
+ }
2876
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_css {
2877
+ background: url(../images/file/css.png) left top no-repeat;
2878
+ }
2879
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_doc {
2880
+ background: url(../images/file/doc.png) left top no-repeat;
2881
+ }
2882
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_exe {
2883
+ background: url(../images/file/application.png) left top no-repeat;
2884
+ }
2885
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_gif {
2886
+ background: url(../images/file/picture.png) left top no-repeat;
2887
+ }
2888
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_fla {
2889
+ background: url(../images/file/flash.png) left top no-repeat;
2890
+ }
2891
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_h {
2892
+ background: url(../images/file/code.png) left top no-repeat;
2893
+ }
2894
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_htm {
2895
+ background: url(../images/file/html.png) left top no-repeat;
2896
+ }
2897
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_html {
2898
+ background: url(../images/file/html.png) left top no-repeat;
2899
+ }
2900
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_jar {
2901
+ background: url(../images/file/java.png) left top no-repeat;
2902
+ }
2903
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_jpg {
2904
+ background: url(../images/file/picture.png) left top no-repeat;
2905
+ }
2906
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_jpeg {
2907
+ background: url(../images/file/picture.png) left top no-repeat;
2908
+ }
2909
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_js {
2910
+ background: url(../images/file/script.png) left top no-repeat;
2911
+ }
2912
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_lasso {
2913
+ background: url(../images/file/code.png) left top no-repeat;
2914
+ }
2915
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_log {
2916
+ background: url(../images/file/txt.png) left top no-repeat;
2917
+ }
2918
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_m4p {
2919
+ background: url(../images/file/music.png) left top no-repeat;
2920
+ }
2921
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_mov {
2922
+ background: url(../images/file/film.png) left top no-repeat;
2923
+ }
2924
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_mp3 {
2925
+ background: url(../images/file/music.png) left top no-repeat;
2926
+ }
2927
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_mp4 {
2928
+ background: url(../images/file/film.png) left top no-repeat;
2929
+ }
2930
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_mpg {
2931
+ background: url(../images/file/film.png) left top no-repeat;
2932
+ }
2933
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_mpeg {
2934
+ background: url(../images/file/film.png) left top no-repeat;
2935
+ }
2936
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_ogg {
2937
+ background: url(../images/file/music.png) left top no-repeat;
2938
+ }
2939
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_pcx {
2940
+ background: url(../images/file/picture.png) left top no-repeat;
2941
+ }
2942
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_pdf {
2943
+ background: url(../images/file/pdf.png) left top no-repeat;
2944
+ }
2945
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_php {
2946
+ background: url(../images/file/php.png) left top no-repeat;
2947
+ }
2948
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_png {
2949
+ background: url(../images/file/picture.png) left top no-repeat;
2950
+ }
2951
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_ppt {
2952
+ background: url(../images/file/ppt.png) left top no-repeat;
2953
+ }
2954
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_psd {
2955
+ background: url(../images/file/psd.png) left top no-repeat;
2956
+ }
2957
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_pl {
2958
+ background: url(../images/file/script.png) left top no-repeat;
2959
+ }
2960
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_py {
2961
+ background: url(../images/file/script.png) left top no-repeat;
2962
+ }
2963
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_rb {
2964
+ background: url(../images/file/ruby.png) left top no-repeat;
2965
+ }
2966
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_rbx {
2967
+ background: url(../images/file/ruby.png) left top no-repeat;
2968
+ }
2969
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_rhtml {
2970
+ background: url(../images/file/ruby.png) left top no-repeat;
2971
+ }
2972
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_rpm {
2973
+ background: url(../images/file/linux.png) left top no-repeat;
2974
+ }
2975
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_ruby {
2976
+ background: url(../images/file/ruby.png) left top no-repeat;
2977
+ }
2978
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_sql {
2979
+ background: url(../images/file/db.png) left top no-repeat;
2980
+ }
2981
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_swf {
2982
+ background: url(../images/file/flash.png) left top no-repeat;
2983
+ }
2984
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_tif {
2985
+ background: url(../images/file/picture.png) left top no-repeat;
2986
+ }
2987
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_tiff {
2988
+ background: url(../images/file/picture.png) left top no-repeat;
2989
+ }
2990
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_txt {
2991
+ background: url(../images/file/txt.png) left top no-repeat;
2992
+ }
2993
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_vb {
2994
+ background: url(../images/file/code.png) left top no-repeat;
2995
+ }
2996
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_wav {
2997
+ background: url(../images/file/music.png) left top no-repeat;
2998
+ }
2999
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_wmv {
3000
+ background: url(../images/file/film.png) left top no-repeat;
3001
+ }
3002
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_xls {
3003
+ background: url(../images/file/xls.png) left top no-repeat;
3004
+ }
3005
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_xml {
3006
+ background: url(../images/file/code.png) left top no-repeat;
3007
+ }
3008
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_csv {
3009
+ background: url(../images/file/code.png) left top no-repeat;
3010
+ }
3011
+ .wp-ultimate-csv-importer .jqueryfiletree li.ext_zip {
3012
+ background: url(../images/file/zip.png) left top no-repeat;
3013
+ }
3014
+ .wp-ultimate-csv-importer .csv-importer-provider .image-section {
3015
+ width: 70px;
3016
+ height: 70px;
3017
+ margin-right: 10px;
3018
+ }
3019
+ .wp-ultimate-csv-importer .csv-importer-provider .pt10 {
3020
+ padding-top: 10px;
3021
+ }
3022
+ .wp-ultimate-csv-importer .csv-importer-provider .form-group.synctype {
3023
+ border: 2px solid #e2e8f0;
3024
+ max-width: 130px;
3025
+ margin-right: 24px;
3026
+ text-align: center;
3027
+ border-radius: 6px;
3028
+ height: 100px;
3029
+ }
3030
+ .wp-ultimate-csv-importer .csv-importer-provider .form-check-inline {
3031
+ display: inline-flex;
3032
+ -webkit-box-align: center;
3033
+ align-items: center;
3034
+ padding-left: 0;
3035
+ }
3036
+ .wp-ultimate-csv-importer .csv-importer-provider .form-group input[type=radio] {
3037
+ position: absolute;
3038
+ opacity: 0;
3039
+ width: 100%;
3040
+ height: 100%;
3041
+ }
3042
+ .wp-ultimate-csv-importer .csv-importer-provider .form-check-inline .form-check-input {
3043
+ margin-top: 0;
3044
+ margin-right: 0.3125rem;
3045
+ margin-left: 0;
3046
+ }
3047
+ .wp-ultimate-csv-importer .csv-importer-provider input {
3048
+ overflow: visible;
3049
+ font-family: inherit;
3050
+ font-size: inherit;
3051
+ font-weight: inherit;
3052
+ }
3053
+ .wp-ultimate-csv-importer .csv-importer-provider .form-group input[type=radio] + label {
3054
+ display: inline-block;
3055
+ transition: all 0.2s;
3056
+ padding-left: 20px;
3057
+ cursor: pointer;
3058
+ }
3059
+ .wp-ultimate-csv-importer .csv-importer-provider .form-group label {
3060
+ margin-bottom: 0.2rem;
3061
+ color: #2d3748;
3062
+ }
3063
+ .wp-ultimate-csv-importer .csv-importer-provider label {
3064
+ cursor: pointer;
3065
+ font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3066
+ font-size: 1rem;
3067
+ }
3068
+ .wp-ultimate-csv-importer .csv-importer-provider .form-group input[type=radio]:checked + label::before {
3069
+ border: 2px solid #1caf9a;
3070
+ }
3071
+ .wp-ultimate-csv-importer .csv-importer-provider .form-group.synctype input[type=radio] + label::before {
3072
+ opacity: 0;
3073
+ }
3074
+ .wp-ultimate-csv-importer .csv-importer-provider .form-group input[type=radio] + label::before {
3075
+ content: "";
3076
+ width: 23px;
3077
+ height: 23px;
3078
+ border-radius: 50%;
3079
+ position: absolute;
3080
+ left: 5px;
3081
+ top: 0px;
3082
+ }
3083
+ .wp-ultimate-csv-importer .csv-importer-provider .form-group.synctype input[type=radio]:checked + label::after {
3084
+ background: #1caf9a;
3085
+ width: 25px;
3086
+ height: 25px;
3087
+ top: 1px;
3088
+ left: 220px;
3089
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg' height='24px' width='24px'%3E%3Cpath d='M256 0C114.835938 0 0 114.835938 0 256s114.835938 256 256 256 256-114.835938 256-256S397.164062 0 256 0zm0 0' fill='%2300a699'/%3E%3Cpath d='M385.75 201.75L247.082031 340.414062c-4.160156 4.160157-9.621093 6.253907-15.082031 6.253907s-10.921875-2.09375-15.082031-6.253907l-69.332031-69.332031c-8.34375-8.339843-8.34375-21.824219 0-30.164062 8.339843-8.34375 21.820312-8.34375 30.164062 0l54.25 54.25 123.585938-123.582031c8.339843-8.34375 21.820312-8.34375 30.164062 0 8.339844 8.339843 8.339844 21.820312 0 30.164062zm0 0' fill='%23ffffff'/%3E%3C/svg%3E%0A");
3090
+ }
3091
+ .wp-ultimate-csv-importer .csv-importer-provider form-group label {
3092
+ color: #2d3748;
3093
+ }
3094
+ .wp-ultimate-csv-importer .csv-importer-provider .form-group.synctype {
3095
+ min-width: 250px;
3096
+ }
3097
+ .wp-ultimate-csv-importer .csv-importer-provider .form-check-input:hover {
3098
+ cursor: pointer;
3099
+ border: 2px solid #1caf9a;
3100
+ }
3101
+ .wp-ultimate-csv-importer .csv-importer-provider .form-group.synctype:hover {
3102
+ cursor: pointer;
3103
+ border: 2px solid rgba(28, 175, 154, 0.5);
3104
+ }
3105
+ .wp-ultimate-csv-importer .csv-importer-provider .p15 {
3106
+ padding: 15px;
3107
+ }
3108
+ .wp-ultimate-csv-importer .csv-importer-provider h6 {
3109
+ margin-top: 0px;
3110
+ color: #333333;
3111
+ }
3112
+ .wp-ultimate-csv-importer .float-right {
3113
+ float: right;
3114
+ padding-top: 20px;
3115
+ }
3116
+ .wp-ultimate-csv-importer .choose-bucket {
3117
+ margin: 30px;
3118
+ }
3119
+ .wp-ultimate-csv-importer .choose-bucket h6 {
3120
+ margin-top: 0px;
3121
+ color: #333333;
3122
+ }
3123
+ .wp-ultimate-csv-importer .choose-bucket .mb3 {
3124
+ margin-bottom: 3rem;
3125
+ }
3126
+ .wp-ultimate-csv-importer .choose-bucket .col-md-11 {
3127
+ padding-left: 0px;
3128
+ padding-right: 0px;
3129
+ }
3130
+ .wp-ultimate-csv-importer .choose-bucket .new-bucket {
3131
+ margin-left: 25px;
3132
+ margin-top: 10px;
3133
+ }
3134
+ .wp-ultimate-csv-importer .choose-bucket hr {
3135
+ margin: 0px;
3136
+ }
3137
+ .wp-ultimate-csv-importer .choose-bucket .mb50 {
3138
+ margin-right: 50px;
3139
+ }
3140
+ .wp-ultimate-csv-importer .choose-bucket .pad10 {
3141
+ padding-right: 10px;
3142
+ }
3143
+ .wp-ultimate-csv-importer .modal-bucket .modal-dialog {
3144
+ min-width: 600px !important;
3145
+ }
3146
+ .wp-ultimate-csv-importer .modal-bucket .modal-body {
3147
+ padding: 0px;
3148
+ }
3149
+ .wp-ultimate-csv-importer .modal-bucket .modal-header {
3150
+ border-bottom: none;
3151
+ }
3152
+ .wp-ultimate-csv-importer .bucket-list {
3153
+ margin-bottom: 30px;
3154
+ max-height: 250px;
3155
+ overflow-y: auto;
3156
+ border: 1px solid #e2e8f0;
3157
+ }
3158
+ .wp-ultimate-csv-importer .bucket-list.select-bucket {
3159
+ background-color: #f7fafc;
3160
+ margin-left: 40px;
3161
+ margin-right: 50px;
3162
+ margin-top: 10px;
3163
+ max-height: 200px !important;
3164
+ border-radius: 6px;
3165
+ }
3166
+ .wp-ultimate-csv-importer .bucket-list :hover {
3167
+ background-color: #edf2f7;
3168
+ }
3169
+ .wp-ultimate-csv-importer .bucket-list .list-icon {
3170
+ display: inline-block;
3171
+ height: 47px;
3172
+ width: 53px;
3173
+ background: url("../../images/database-icon.png");
3174
+ }
3175
+ .wp-ultimate-csv-importer .bucket-list li {
3176
+ padding: 10px;
3177
+ list-style-type: none;
3178
+ display: flex;
3179
+ border-bottom: 1px solid #e2e8f0;
3180
+ }
3181
+ .wp-ultimate-csv-importer .bucket-list li:hover {
3182
+ cursor: pointer;
3183
+ }
3184
+ .wp-ultimate-csv-importer.rtl .csv-importer-panel .export-section .form-group input[type=radio] + label {
3185
+ padding-right: 40px;
3186
+ padding-left: 0px;
3187
+ }
3188
+ .wp-ultimate-csv-importer.rtl .csv-importer-panel .export-section .form-group input[type=radio] + label:before {
3189
+ right: 5px;
3190
+ }
3191
+ .wp-ultimate-csv-importer.rtl .csv-importer-panel .export-section .form-group input[type=radio] + label:after {
3192
+ right: 10px;
3193
+ }
3194
+ .wp-ultimate-csv-importer.rtl .csv-importer-panel .export-section .form-group.row {
3195
+ padding-right: 15px;
3196
+ }
3197
+ .wp-ultimate-csv-importer.rtl .csv-importer-panel .export-section .form-group.row input[type=radio] + label {
3198
+ padding-right: 25px;
3199
+ }
3200
+ .wp-ultimate-csv-importer.rtl .fieldset input[type=checkbox]:checked + .switch-ios > i {
3201
+ margin-right: 18px;
3202
+ }
3203
+ .wp-ultimate-csv-importer.rtl .form-group .input-icon {
3204
+ left: 24px;
3205
+ right: unset;
3206
+ }
3207
+ .wp-ultimate-csv-importer.rtl .importing-details .import-progress {
3208
+ justify-content: space-between;
3209
+ }
3210
+ .wp-ultimate-csv-importer.rtl .importing-details .import-progress .progress-timing {
3211
+ position: relative;
3212
+ }
3213
+ .wp-ultimate-csv-importer.rtl .wp-ultimate-csv-importer .importer-log .table td.text-left {
3214
+ text-align: right !important;
3215
+ }
3216
+ .wp-ultimate-csv-importer.rtl .wp-ultimate-csv-importer .importer-log .table td.text-right {
3217
+ text-align: left !important;
3218
+ }
3219
+ .wp-ultimate-csv-importer.rtl .table.table-mapping tbody tr td.action .manipulation-screen {
3220
+ right: unset;
3221
+ left: 25px;
3222
+ }
3223
+ .wp-ultimate-csv-importer.rtl .ajax-loader.loading:before, .wp-ultimate-csv-importer.rtl .ajax-loader.loading:after {
3224
+ left: 0;
3225
+ right: -35px;
3226
+ }
3227
+
3228
+ .datepicker {
3229
+ width: 300px;
3230
+ }
3231
+ .datepicker table {
3232
+ width: 100%;
3233
+ }
3234
+ .datepicker table tbody > tr > td.active {
3235
+ background-image: linear-gradient(to bottom, #00a699, #00736a) !important;
3236
+ }
3237
+ .datepicker table tbody > tr > td span.active {
3238
+ background-image: linear-gradient(to bottom, #00a699, #00736a) !important;
3239
+ }
3240
+
3241
+ /*# sourceMappingURL=style.css.map */
assets/css/deps/style.css.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sourceRoot":"","sources":["sass/csv-importer.scss","sass/modules/_variables.scss","sass/modules/_icons.scss","sass/modules/_mixins.scss","sass/modules/_buttons.scss","sass/modules/_forms.scss","sass/modules/_upload.scss","sass/modules/_loader.scss","sass/modules/_filetree.scss","sass/modules/_typography.scss","sass/modules/_main.scss","sass/modules/_tab.scss","sass/modules/_table.scss","sass/modules/_cards.scss","sass/modules/_setting.scss","sass/modules/_mapping.scss","sass/modules/_log.scss","sass/modules/_notification.scss","sass/modules/_providers.scss","sass/modules/_rtl.scss"],"names":[],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMQ;AACA;AC+FA;AACA;ACvGR;EACE;EACA;EACA;EAIA;EACA;;AAGF;AACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;;;AAIF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAGF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;ADvdF;AAwDA;EACI,YA5BW;;;AA8Bf;EACI,OA9De;;;AAgEnB;EACI,OAnDY;;;AAqDhB;EACI,OArDW;;;AAuDf;EACI,OAvDS;;;AA0Db;EACI,OAvDc;;;ADlBlB;AG0DA;AAyCC;AC9GD;AA2IA;AAKA;AChJA;AAiEA;ACsBA;AAoIA;AClNE;AC8BF;AAKA;ERfI,YCmBO;EDlBP,WCsBe;EDnBf,aShCK;ETkCL,OC4DO;;AQzFX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAYI,aAlBM;EAmBN;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA,ORtBiB;EQuBjB;EACA;EACA;EACA;EACA,aAlCM;;AAsCV;EACI;;AAGJ;EACI,ORlCe;;AQoCf;EACI;;AAIR;EACI;;AAGJ;AAAA;EAEI;;AAGJ;AAAA;EAEI;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AACA;EACI;EACA;EACA;EACA;;AACA;EACI;EACA;;AAEJ;EACI;EACA;;AAGR;EACI;EACA;EACA;EACA;EACA;;AAEI;EACI,OR1FK;EQ2FL;EACA;;AAIZ;EACI;;AACA;EAII;EACA;EACA;EACA,ORvGO;;AQ4GnB;EACI;;AAGJ;EACI;EACA;;AAEJ;EACI;;ANrDD;EAAa;;AACb;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAGf;EAAc;;AACd;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAXf;EAAa;;AACb;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAGf;EAAc;;AACd;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAXf;EAAa;;AACb;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAGf;EAAc;;AACd;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAXf;EAAa;;AACb;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAGf;EAAc;;AACd;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAXf;EAAa;;AACb;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAGf;EAAc;;AACd;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAXf;EAAa;;AACb;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAGf;EAAc;;AACd;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAXf;EAAa;;AACb;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAGf;EAAc;;AACd;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAXf;EAAa;;AACb;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAGf;EAAc;;AACd;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAXf;EAAa;;AACb;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAGf;EAAc;;AACd;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAXf;EAAa;;AACb;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAGf;EAAc;;AACd;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAXf;EAAa;;AACb;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AAGf;EAAc;;AACd;EAAe;;AACf;EAAe;;AACf;EAAe;;AACf;EAAe;;AOpFlB;EACI,YTII;ESHJ;EAGA;;AAGJ;EACI;;AAEJ;EACI,OTYW;;ASTf;EACI;;AAMQ;EACI;;AAMhB;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;;AAIA;EACI;EACA;EACA;EACA;;AAKZ;EACI;;AAEA;EACI;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA,YTwBG;ESvBH,OT2BG;ES1BH;EACA;EACA;;AAKJ;EACI;EACA;EACA;EACA,eT7BK;ES8BL;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAIJ;EAEI;;AAGR;EACI,cTxFW;;AS0FX;EACI;EACA;EACA;EACA;EACA;EACA,YThGO;ESiGP;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAKZ;EACI;EACA;EACA;EACA,eT1ES;ES2ET;;AAGJ;EACI;;AN/HJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,aKbM;ELcN;EACA;EACA,eHkCS;;AGhCT;EACI,kBHVW;EGWX,cHXW;EGYX,OHhBA;;AGiBA;EACI,kBHdO;EGeP,cHHQ;EGIR,OHpBJ;;AGwBJ;EACI,kBHzBA;EG0BA;EACA,OHvBW;;AGwBX;EACI;EACA,cHdQ;EGeR,OH3BO;;AG+Bf;EACI;EACA,OHoDG;EGnDH;EACA;EACA,YH4CG;;AG1CH;EAEI,YHyCD;;AGrCP;EACI,YHjDA;EGkDA;EACA,OHsCG;;AGpCH;EACI,kBH+BD;;AG7BH;EAEI,kBH4BD;;AGzBH;EACI,kBHwBD;;AGtBH;EAGI,kBHiBD;EGhBC,OHkBD;;AGdP;EACI,kBHvDQ;EGwDR,cHxDQ;EGyDR,OHzEa;;AG2Eb;EACI;;AAEJ;EAEI;EACA;;AAGJ;EACI;EACA;;AAEJ;EAGI,YH3EI;EG4EJ,cH5EI;;AGgFZ;EACI,kBHhFO;EGiFP,cHjFO;EGkFP,OHrGA;;AGuGA;EACI;;AAEJ;EAEI;EACA;;AAGJ;EACI;EACA;;AAEJ;EAGI,YHpGG;EGqGH,cHrGG;;AGyGf;AAAA;AAAA;EAGI;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACI;;AC5IJ;EACI;;AAEA;EACI;;AAKJ;EACI;EACA;EACA;;AAEA;EACI;;AAEA;EACI;;AAGR;EACI;;AAEJ;EACI;;AAGR;EACI;;AAEJ;EACI;EACA;;AAEA;EACI;EACA;EACA;;AAIJ;EACI;;AAEJ;EACI;;AAEA;EACI;;AAOJ;EACI;;AAQhB;EACI,eJlBS;EEsET;EACA;EACA;EACA;EACA;;AErDA;EACI;;AAGJ;EACI;EACA;EACA;;AAIR;EACI;EACA;;AA+BJ;EACI;;AAKI;EACI,kBJjHO;;AImHP;EACI;;AAOJ;EACI,kBJ5HG;EI6HH;;AAMhB;AAAA;EAEI;EACA,eJ7FS;EI8FT;EACA;;AACA;AAAA;EACI;;AACA;AAAA;EACI,cJ5IO;;AI+If;AAAA;EACI;;AAaR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,YJtFO;EIuFP;;AAEA;EACI;EACA;;AAIR;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;;AAGJ;EACI;;AACA;EACI;;AAMR;EACI;;AAIA;EACI;;AAGJ;EACI;EACA;EACA;EACA;;AAKJ;EADJ;IAEQ;;;AAEJ;EAJJ;IAKQ;;;AAIR;EACI;;AAGJ;EACI;;AAEA;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIA;EACI;;AAOR;EACI;;AAGJ;EACI;EACA;EACA;EACA,YJtSO;EIuSP;EACA;EACA;EACA;;AAMR;EACI;EACA;;AAEA;EACI;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIA;EACI;;AAOJ;EACI;EACA;EACA;EACA;EACA,YJjVD;EIkVC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AMlWpB;EACI;EACA,aFJM;EEKN,WV+Ce;;AU9Cf;EACI;EACA;EACA;EACA;;AACA;EALJ;IAMQ;;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA,aFtBF;EEuBE;EACA,kBVwBD;;AUvBC;EAXJ;IAYQ;IACA;IACA,eVsBH;IUrBG;;;AAEJ;EACI;;AACA;EAFJ;IAGQ;IACA;IACA,kBVeN;;;AUZF;EACI;EACA;;AACA;EAHJ;IAIQ;IACA;IACA,kBVpCD;;;AU6CnB;EACI,aFtDK;;AEwDL;EACI;EACA;EACA;EACA,OVtDa;EUuDb,aF9DE;EE+DF;;AAEA;EACI;;AAGJ;EACI,YVkBD;;AUfH;EACI,YVjEO;EUkEP,OVtEJ;;AUqFJ;EACI;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA,aFrGM;EEsGN;EACA;;AACA;EACI;EACA;EACA;EACA;EACA;EACA,OVjBG;EUkBH;EACA;EACA,YVvBG;EUwBH;EACA;EACA;EACA;EACA;EACA,aFvHE;EEwHF;EACA;;AACA;EAlBJ;IAmBQ;IACA;IACA;IACA;;;AAEJ;EAxBJ;IAyBQ;IACA;IACA;IACA;;;AAEJ;EACI,wBVrFC;EUsFD,2BVtFC;;AUwFL;EACI,yBVzFC;EU0FD,4BV1FC;;AU4FL;EACI,YVtIO;EUuIP;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;;AAGR;EACI;;AAKZ;EACI;EACA;EACA;EACA;;AACA;EALJ;IAMQ;;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA,aFxLE;EEyLF;;AACA;EATJ;IAUQ;IACA;IACA,eV3IC;IU4ID;;;AAEJ;EACI;;AACA;EAFJ;IAGQ;IACA;IACA,kBVlJF;;;AUqJN;EACI;EACA;EACA;;AAEJ;EACI;EACA;;AACA;EAHJ;IAIQ;IACA;IACA,kBV1MG;;;AU+MnB;EACI;;AACA;EACI;EACA;;AC5NR;EACI;;AACA;EACI;;AAEJ;EACI;EACA;EACA,aHRE;EGSF;EACA,OXmFG;EWlFH;EACA;EACA;;AAWJ;EACI;EACA,aHzBC;EG0BD;;AACA;EACI;;AACA;EAFJ;IAGQ;;;AAGR;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;;AAGJ;EACI,OX+CD;EW9CC;;AAEJ;EACI;EACA,kBXGK;;AWAT;EACI;EACA,kBXDG;;AWMP;EACI;;AAEJ;EACI;EACA;;AAEJ;EACI,OX9CC;;AWkDG;EACI;EACA;EACA;;AACA;EACI;;AAEJ;EACI;EACA,OXSb;;AWPS;EACI;;AACA;EACI,OXIjB;EWHiB;EACA;EACA;;AAEA;EACI;;AAEA;EACI,OXJzB;;AWQa;EACI;EACA;EACA;EACA;EACA,eXzDf;EW0De;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA,OXvHb;EWwHa,eX/EnB;EWgFmB;;AAS5B;EACI,kBXpDG;;AWuDP;EACI;EACA;;AASQ;AAAA;AAAA;EACI;EACA;;AASR;EACI;;AAGR;EACI;;AACA;EACI;;AACA;EACI;;AAEJ;EACI;;AAMpB;EACI;IACI;IACA;;EAEJ;IACI;;EAEJ;IACI;IACA;;;AASR;EACI;;AAIA;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;;AAIA;EACI;;AAEA;EACI;;AAMR;EACI;;AAKZ;EACI;EACA;;AAEA;EACI;;AAGJ;EACI;EACA;EACA;EACA;;AAIR;EACI;;ACjQJ;EACI;EAgBA;EACA;;AAhBA;EACI;EAEA;EACA,kBZkFG;EEgCP;EACA;EACA;EACA;EACA;;AUpHI;EACI;;AAGJ;EACI;;AAQZ;EACI;;AAIA;EACI;EACA;EACA;EACA;;AACA;EACI;;AAGJ;EACI;EACA;EACA,OZ7BO;EY8BP;EACA;;ACxCZ;EACI;;AAEA;EACI;EACA;;AAIR;EACI;;AAEA;EAHJ;IAIQ;;;AAIR;EACI;EACA;;AAEA;EACI;EACA,aLvBE;EKwBF;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAGJ;EACI,kBbDI;;AaIR;EACI,kBbhCO;EaiCP;EACA;;AAKZ;EACI;EACA;;AAEA;EACI;;AAGJ;EACI;EACA,aLzDC;;AK2DL;EACI;;AAIR;EACI;;AAGJ;EACI;;AACA;EACI;EACA;;AAGR;EACI;;AACA;EAFJ;IAGQ;;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;EACA;;AAEA;EACI;;AAIJ;EACI;;AAIR;EACI;EACA;;AAEA;EACI;;AAMR;EACI;EACA,ObrBG;EasBH;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA,ObjHW;EakHX;;AAEJ;EACI;EACA;EACA;EACA;EACA;;AAIR;EACI,Ob1CO;Ea2CP;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAIR;EACI;EACA;EACA,ObzJe;Ea0Jf;EACA;;AAGJ;EACI;EACA;;AAEA;EACI;EACA;;AAKA;EACI;;AAQI;EACI;EACA,ObjJR;;AamJQ;EACI;;AAQxB;EACI,ObjJa;EakJb;EACA;;AACA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,kBbvKS;;Aa0KjB;EACI,Ob1KW;Ea2KX;EACA;;AACA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,kBbhMO;;Aa8NX;EACI;;AAKJ;EACI;;AAIR;EACI;;AAKJ;EACI;EACA;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;;AAEJ;EACI;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;;ACjUR;EACI;EACA,YdGI;EcFJ,ed+CS;Ec9CT;EACA;EACA;EACA;EACA;EACA;EAGA,YdkBU;EchBV;;AAEA;EACI;EACA;EACA,wBd+BK;Ec9BL,yBd8BK;Ec7BL;EACA;EACA;EACA;EACA,Yd+DG;;Ac5DP;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA,OduDD;EE6BP;EACA;EACA;EACA;EACA;;AYrFQ;EACI,OdqDL;;AcjDH;EACI;;AAKJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAIR;EACI,OdgCG;Ec/BH;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;EZyCJ;EACA;EACA;EACA;EACA;;AYxCJ;EACI;;AAEA;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAGR;EACI;EACA;EACA;;AAIJ;EACI;EACA;EACA;;AAIJ;EACK;;AAIL;EACI;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACC;EACA;EACA;;AAID;EACI;EACA;;ATpKJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI,OLPI;EKQJ;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;;AAIR;EACI;EAEA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;;AAIR;EACI;;AACA;EACI;EACA;EACA;EACA;EACA;;AACA;EACI;EACA,OL+BD;;AK3BP;EACI;;AAIR;EACI;EAGA;;AAQJ;EACI;;AAKJ;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,OLZO;EKaP;EACA;;AAGJ;EACI;;AAEA;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA,YL3HG;EK4HH;EACA;EACA;;AAEA;EACI;EACA;EACA;;AAIR;EACI;EACA;EACA,OLxDL;EKyDK;EACA;EACA;EACA;;AAIZ;EACI;EACA;;AAII;EACI;EACA;EACA;EACA;;AAMJ;EACI;;AAGI;EACI,YLpIZ;;AKwII;EACI;EACA,YL7KD;EK8KC;EACA;EACA;;AAGI;AAAA;EAEI;EACA;;AAIJ;AAAA;EAEI;EACA;;AAS5B;EACI,OLnHO;;AKoHP;EACI;EACA,OLnHG;;AKuHX;EACI;;AUtNI;EACI;EACA,OfyFD;;AevFC;EACI;EACA,OfwFL;;AerFC;AAAA;EAEI,Of2CC;;AexCL;AAAA;EAEI,OfuCD;;AelCX;EACI;;AAEA;EACI;EACA;;AAKZ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;ACxCJ;EACI;;AAIJ;EACI,aRNM;;AQQN;EACI;EACA;;AAIJ;EACI,YhBUK;;AgBPT;EACI;;AAIR;AAAA;AAAA;EAGI;EACA;;AAGJ;EACI;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAIR;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAIR;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AV9EN;EACE;EACA;EACA;EACA;EACA;;AAKF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,kBNXe;;AMcjB;EACE;EACA;;AAGF;EACE;;AAIF;EACE;EACA;EACA;EACA;EAEA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,kBNzCa;;AM2Cf;EACE;EACA;;AAGF;EACE;;AAIJ;EACE;IACE;IACA;IACA;IACA;;EAGF;IACE;IACA;IACA;IACA;;;AAIJ;EAAkB;IAAM;;;AAC1B;EAAe;;AACf;EAA4B;;AAC5B;EAA4B;;ACjF5B;EACI;EACA;EACA;EACA;;AACA;EACI;;AAIR;EACC,aCVQ;EDWR;EACA;EACA;EACG;;AAIJ;EACC;EACA;EACA;EACA;EACG;EACA;;AAGJ;EACC;EACA;EACA;EACA;;AAGD;EACC;;AAID;EAA+B;;AAC/B;EAA8B;;AAC9B;EAA0B;;AAC1B;EAA0B;;AAE1B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA8B;;AAC9B;EAA6B;;AAC7B;EAA8B;;AAC9B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA2B;;AAC3B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA2B;;AAC3B;EAA6B;;AAC7B;EAA8B;;AAC9B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA8B;;AAC9B;EAA4B;;AAC5B;EAA+B;;AAC/B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA8B;;AAC9B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA4B;;AAC5B;EAA4B;;AAC5B;EAA4B;;AAC5B;EAA6B;;AAC7B;EAA+B;;AAC/B;EAA6B;;AAC7B;EAA8B;;AAC9B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA8B;;AAC9B;EAA6B;;AAC7B;EAA4B;;AAC5B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AAC7B;EAA6B;;AUtG3B;EACM;EACA;EACN;;AAGA;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA,OjBuCK;;AiBpCT;EACI;EACA,ajB4CS;EiB3CT;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACI,YjBvBkB;EiBwBlB;EACA;EACA;EACA;EACA;;AAGJ;EACI,OjBCK;;AiBET;EACI;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;;AAGH;EACI;;AAGJ;EACC;EACA,OjBvGQ;;AiB4GZ;EACI;EACA;;AAGJ;EACI;;AACA;EACI;EACA,OjBrHI;;AiBuHR;EACI;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAKJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAIR;EACI;EACA;EACA;EACA;;AAGA;EACI,kBjB9FG;EiB+FH;EACA;EACA;EACA;EACA,ejBzIK;;AiB4IT;EACI,kBjBtGG;;AiByGP;EACI;EACA;EACA;EACA,kBjBxLI;;AiB2LR;EACI;EACA;EACA;EACA;;AAGJ;EACI;;AC9ML;EACC;EACA;;AACA;EACC;;AAED;EACC;;AAGF;EACC;;AACA;EACC;;AAML;EACI;;AAGH;EACC;EACA;;AAID;EACC;;AACA;EACC;;AAKF;EACC;;AAED;EACC;;AAOK;EACC;EACA;;AAOP;EACC;EACA;;;AnBrBF;EACI;;AAEA;EACI;;AAKY;EACI;;AAQA;EACI","file":"style.css"}
assets/images/ajax-loader.gif ADDED
Binary file
assets/images/amazon-s3.png ADDED
Binary file
assets/images/database-icon.png ADDED
Binary file
assets/images/digitalocean.png ADDED
Binary file
assets/images/google-cloud.png ADDED
Binary file
assets/js/admin-v6.1.js CHANGED
@@ -1,6 +1,6 @@
1
- !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=450)}([function(e,t,n){"use strict";e.exports=n(254)},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,"a",(function(){return r}))},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function o(){return t.apply(null,arguments)}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function f(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,n,r){return Tt(e,t,n,r,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function g(e){if(null==e._isValid){var t=m(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function _(e){var t=p(NaN);return null!=e?f(m(t),e):m(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var b=o.momentProperties=[],v=!1;function y(e,t){var n,r,o;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=m(t)),c(t._locale)||(e._locale=t._locale),b.length>0)for(n=0;n<b.length;n++)c(o=t[r=b[n]])||(e[r]=o);return e}function w(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,o.updateOffset(this),v=!1)}function k(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function M(e){!1===o.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var n=!0;return f((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,e),n){var r,i,a,l=[];for(i=0;i<arguments.length;i++){if(r="","object"==typeof arguments[i]){for(a in r+="\n["+i+"] ",arguments[0])s(arguments[0],a)&&(r+=a+": "+arguments[0][a]+", ");r=r.slice(0,-2)}else r=arguments[i];l.push(r)}M(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var T,E={};function S(e,t){null!=o.deprecationHandler&&o.deprecationHandler(e,t),E[e]||(M(t),E[e]=!0)}function D(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function L(e,t){var n,r=f({},e);for(n in t)s(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&a(e[n])&&(r[n]=f({},r[n]));return r}function C(e){null!=e&&this.set(e)}function P(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var O=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,A=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,N={},I={};function Y(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(I[e]=o),t&&(I[t[0]]=function(){return P(o.apply(this,arguments),t[1],t[2])}),n&&(I[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function R(e,t){return e.isValid()?(t=j(t,e.localeData()),N[t]=N[t]||function(e){var t,n,r,o=e.match(O);for(t=0,n=o.length;t<n;t++)I[o[t]]?o[t]=I[o[t]]:o[t]=(r=o[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,i="";for(r=0;r<n;r++)i+=D(o[r])?o[r].call(t,e):o[r];return i}}(t),N[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(A.lastIndex=0;n>=0&&A.test(e);)e=e.replace(A,r),A.lastIndex=0,n-=1;return e}var F={};function H(e,t){var n=e.toLowerCase();F[n]=F[n+"s"]=F[t]=e}function z(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function B(e){var t,n,r={};for(n in e)s(e,n)&&(t=z(n))&&(r[t]=e[n]);return r}var V={};function U(e,t){V[e]=t}function W(e){return e%4==0&&e%100!=0||e%400==0}function q(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function G(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=q(t)),n}function Q(e,t){return function(n){return null!=n?(K(this,e,n),o.updateOffset(this,t),this):J(this,e)}}function J(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function K(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&W(e.year())&&1===e.month()&&29===e.date()?(n=G(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ke(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X,$=/\d/,Z=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,re=/\d\d?/,oe=/\d\d\d\d?/,ie=/\d\d\d\d\d\d?/,ae=/\d{1,3}/,se=/\d{1,4}/,le=/[+-]?\d{1,6}/,ce=/\d+/,ue=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,he=/Z|[+-]\d\d(?::?\d\d)?/gi,fe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function pe(e,t,n){X[e]=D(t)?t:function(e,r){return e&&n?n:t}}function me(e,t){return s(X,e)?X[e](t._strict,t._locale):new RegExp(ge(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o}))))}function ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}X={};var _e,be={};function ve(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=G(e)}),n=0;n<e.length;n++)be[e[n]]=r}function ye(e,t){ve(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function we(e,t,n){null!=t&&s(be,e)&&be[e](t,n._a,n,e)}function ke(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?W(e)?29:28:31-r%7%2}_e=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},Y("M",["MM",2],"Mo",(function(){return this.month()+1})),Y("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),Y("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),H("month","M"),U("month",8),pe("M",re),pe("MM",re,Z),pe("MMM",(function(e,t){return t.monthsShortRegex(e)})),pe("MMMM",(function(e,t){return t.monthsRegex(e)})),ve(["M","MM"],(function(e,t){t[1]=G(e)-1})),ve(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[1]=o:m(n).invalidMonth=e}));var Me="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),xe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Te=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ee=fe,Se=fe;function De(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=_e.call(this._shortMonthsParse,a))?o:null:-1!==(o=_e.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=_e.call(this._shortMonthsParse,a))||-1!==(o=_e.call(this._longMonthsParse,a))?o:null:-1!==(o=_e.call(this._longMonthsParse,a))||-1!==(o=_e.call(this._shortMonthsParse,a))?o:null}function Le(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=G(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),ke(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ce(e){return null!=e?(Le(this,e),o.updateOffset(this,!0),this):J(this,"Month")}function Pe(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=p([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=ge(r[t]),o[t]=ge(o[t]);for(t=0;t<24;t++)i[t]=ge(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Oe(e){return W(e)?366:365}Y("Y",0,0,(function(){var e=this.year();return e<=9999?P(e,4):"+"+e})),Y(0,["YY",2],0,(function(){return this.year()%100})),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),H("year","y"),U("year",1),pe("Y",ue),pe("YY",re,Z),pe("YYYY",se,te),pe("YYYYY",le,ne),pe("YYYYYY",le,ne),ve(["YYYYY","YYYYYY"],0),ve("YYYY",(function(e,t){t[0]=2===e.length?o.parseTwoDigitYear(e):G(e)})),ve("YY",(function(e,t){t[0]=o.parseTwoDigitYear(e)})),ve("Y",(function(e,t){t[0]=parseInt(e,10)})),o.parseTwoDigitYear=function(e){return G(e)+(G(e)>68?1900:2e3)};var Ae=Q("FullYear",!0);function Ne(e,t,n,r,o,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function Ie(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ye(e,t,n){var r=7+t-n;return-(7+Ie(e,0,r).getUTCDay()-t)%7+r-1}function Re(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+Ye(e,r,o);return s<=0?a=Oe(i=e-1)+s:s>Oe(e)?(i=e+1,a=s-Oe(e)):(i=e,a=s),{year:i,dayOfYear:a}}function je(e,t,n){var r,o,i=Ye(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+Fe(o=e.year()-1,t,n):a>Fe(e.year(),t,n)?(r=a-Fe(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function Fe(e,t,n){var r=Ye(e,t,n),o=Ye(e+1,t,n);return(Oe(e)-r+o)/7}function He(e,t){return e.slice(t,7).concat(e.slice(0,t))}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),U("week",5),U("isoWeek",5),pe("w",re),pe("ww",re,Z),pe("W",re),pe("WW",re,Z),ye(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=G(e)})),Y("d",0,"do","day"),Y("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),Y("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),Y("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),U("day",11),U("weekday",11),U("isoWeekday",11),pe("d",re),pe("e",re),pe("E",re),pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),ye(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:m(n).invalidWeekday=e})),ye(["d","e","E"],(function(e,t,n,r){t[r]=G(e)}));var ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Be="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ve="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ue=fe,We=fe,qe=fe;function Ge(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=_e.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=_e.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=_e.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=_e.call(this._weekdaysParse,a))||-1!==(o=_e.call(this._shortWeekdaysParse,a))||-1!==(o=_e.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=_e.call(this._shortWeekdaysParse,a))||-1!==(o=_e.call(this._weekdaysParse,a))||-1!==(o=_e.call(this._minWeekdaysParse,a))?o:null:-1!==(o=_e.call(this._minWeekdaysParse,a))||-1!==(o=_e.call(this._weekdaysParse,a))||-1!==(o=_e.call(this._shortWeekdaysParse,a))?o:null}function Qe(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),r=ge(this.weekdaysMin(n,"")),o=ge(this.weekdaysShort(n,"")),i=ge(this.weekdays(n,"")),a.push(r),s.push(o),l.push(i),c.push(r),c.push(o),c.push(i);a.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Je(){return this.hours()%12||12}function Ke(e,t){Y(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Xe(e,t){return t._meridiemParse}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Je),Y("k",["kk",2],0,(function(){return this.hours()||24})),Y("hmm",0,0,(function(){return""+Je.apply(this)+P(this.minutes(),2)})),Y("hmmss",0,0,(function(){return""+Je.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)})),Y("Hmm",0,0,(function(){return""+this.hours()+P(this.minutes(),2)})),Y("Hmmss",0,0,(function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),H("hour","h"),U("hour",13),pe("a",Xe),pe("A",Xe),pe("H",re),pe("h",re),pe("k",re),pe("HH",re,Z),pe("hh",re,Z),pe("kk",re,Z),pe("hmm",oe),pe("hmmss",ie),pe("Hmm",oe),pe("Hmmss",ie),ve(["H","HH"],3),ve(["k","kk"],(function(e,t,n){var r=G(e);t[3]=24===r?0:r})),ve(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ve(["h","hh"],(function(e,t,n){t[3]=G(e),m(n).bigHour=!0})),ve("hmm",(function(e,t,n){var r=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r)),m(n).bigHour=!0})),ve("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r,2)),t[5]=G(e.substr(o)),m(n).bigHour=!0})),ve("Hmm",(function(e,t,n){var r=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r))})),ve("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r,2)),t[5]=G(e.substr(o))}));var $e,Ze=Q("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Me,monthsShort:xe,week:{dow:0,doy:6},weekdays:ze,weekdaysMin:Ve,weekdaysShort:Be,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function rt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function ot(e){return e?e.toLowerCase().replace("_","-"):e}function it(t){var r=null;if(void 0===tt[t]&&void 0!==e&&e&&e.exports)try{r=$e._abbr,n(297)("./"+t),at(r)}catch(e){tt[t]=null}return tt[t]}function at(e,t){var n;return e&&((n=c(t)?lt(e):st(e,t))?$e=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),$e._abbr}function st(e,t){if(null!==t){var n,r=et;if(t.abbr=e,null!=tt[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])r=tt[t.parentLocale]._config;else{if(null==(n=it(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return tt[e]=new C(L(r,t)),nt[e]&&nt[e].forEach((function(e){st(e.name,e.config)})),at(e),tt[e]}return delete tt[e],null}function lt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return $e;if(!i(e)){if(t=it(e))return t;e=[e]}return function(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=ot(e[i]).split("-")).length,n=(n=ot(e[i+1]))?n.split("-"):null;t>0;){if(r=it(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&rt(o,n)>=t-1)break;t--}i++}return $e}(e)}function ct(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ke(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,m(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),m(e)._overflowWeeks&&-1===t&&(t=7),m(e)._overflowWeekday&&-1===t&&(t=8),m(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ht=/Z|[+-]\d\d(?::?\d\d)?/,ft=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],pt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],mt=/^\/?Date\((-?\d+)/i,gt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,_t={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function bt(e){var t,n,r,o,i,a,s=e._i,l=ut.exec(s)||dt.exec(s);if(l){for(m(e).iso=!0,t=0,n=ft.length;t<n;t++)if(ft[t][1].exec(l[1])){o=ft[t][0],r=!1!==ft[t][2];break}if(null==o)return void(e._isValid=!1);if(l[3]){for(t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(l[3])){i=(l[2]||" ")+pt[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(l[4]){if(!ht.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),Mt(e)}else e._isValid=!1}function vt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function yt(e){var t,n,r,o,i,a,s,l,c=gt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[4],r=c[3],o=c[2],i=c[5],a=c[6],s=c[7],l=[vt(n),xe.indexOf(r),parseInt(o,10),parseInt(i,10),parseInt(a,10)],s&&l.push(parseInt(s,10)),t=l,!function(e,t,n){return!e||Be.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(m(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return _t[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}(c[8],c[9],c[10]),e._d=Ie.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function wt(e,t,n){return null!=e?e:null!=t?t:n}function kt(e){var t,n,r,i,a,s=[];if(!e._d){for(r=function(e){var t=new Date(o.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,o,i,a,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,a=4,n=wt(t.GG,e._a[0],je(Et(),1,4).year),r=wt(t.W,1),((o=wt(t.E,1))<1||o>7)&&(l=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,c=je(Et(),i,a),n=wt(t.gg,e._a[0],c.year),r=wt(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(l=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(l=!0)):o=i),r<1||r>Fe(n,i,a)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(s=Re(n,r,o,i,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=wt(e._a[0],r[0]),(e._dayOfYear>Oe(a)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=Ie(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ie:Ne).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(m(e).weekdayMismatch=!0)}}function Mt(e){if(e._f!==o.ISO_8601)if(e._f!==o.RFC_2822){e._a=[],m(e).empty=!0;var t,n,r,i,a,s,l=""+e._i,c=l.length,u=0;for(r=j(e._f,e._locale).match(O)||[],t=0;t<r.length;t++)i=r[t],(n=(l.match(me(i,e))||[])[0])&&((a=l.substr(0,l.indexOf(n))).length>0&&m(e).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),u+=n.length),I[i]?(n?m(e).empty=!1:m(e).unusedTokens.push(i),we(i,n,e)):e._strict&&!n&&m(e).unusedTokens.push(i);m(e).charsLeftOver=c-u,l.length>0&&m(e).unusedInput.push(l),e._a[3]<=12&&!0===m(e).bigHour&&e._a[3]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=m(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),kt(e),ct(e)}else yt(e);else bt(e)}function xt(e){var t=e._i,n=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===n&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new w(ct(t)):(d(t)?e._d=t:i(n)?function(e){var t,n,r,o,i,a,s=!1;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)i=0,a=!1,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Mt(t),g(t)&&(a=!0),i+=m(t).charsLeftOver,i+=10*m(t).unusedTokens.length,m(t).score=i,s?i<r&&(r=i,n=t):(null==r||i<r||a)&&(r=i,n=t,a&&(s=!0));f(e,n||t)}(e):n?Mt(e):function(e){var t=e._i;c(t)?e._d=new Date(o.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=mt.exec(e._i);null===t?(bt(e),!1===e._isValid&&(delete e._isValid,yt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:o.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):i(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),kt(e)):a(t)?function(e){if(!e._d){var t=B(e._i),n=void 0===t.day?t.date:t.day;e._a=h([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),kt(e)}}(e):u(t)?e._d=new Date(t):o.createFromInputFallback(e)}(e),g(e)||(e._d=null),e))}function Tt(e,t,n,r,o){var s,c={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&l(e)||i(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=o,c._l=n,c._i=e,c._f=t,c._strict=r,(s=new w(ct(xt(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Et(e,t,n,r){return Tt(e,t,n,r,!1)}o.createFromInputFallback=x("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var St=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Et.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:_()})),Dt=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Et.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:_()}));function Lt(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Et();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Ct=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var t=B(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,l=t.hour||0,c=t.minute||0,u=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(s(e,t)&&(-1===_e.call(Ct,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Ct.length;++n)if(e[Ct[n]]){if(r)return!1;parseFloat(e[Ct[n]])!==G(e[Ct[n]])&&(r=!0)}return!0}(t),this._milliseconds=+d+1e3*u+6e4*c+1e3*l*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=lt(),this._bubble()}function Ot(e){return e instanceof Pt}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Nt(e,t){Y(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+P(~~(e/60),2)+t+P(~~e%60,2)}))}Nt("Z",":"),Nt("ZZ",""),pe("Z",he),pe("ZZ",he),ve(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Yt(he,e)}));var It=/([\+\-]|\d\d)/gi;function Yt(e,t){var n,r,o=(t||"").match(e);return null===o?null:0===(r=60*(n=((o[o.length-1]||[])+"").match(It)||["-",0,0])[1]+G(n[2]))?0:"+"===n[0]?r:-r}function Rt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(k(e)||d(e)?e.valueOf():Et(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),o.updateOffset(n,!1),n):Et(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function Ft(){return!!this.isValid()&&this._isUTC&&0===this._offset}o.updateOffset=function(){};var Ht=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Bt(e,t){var n,r,o,i,a,l,c=e,d=null;return Ot(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(d=Ht.exec(e))?(n="-"===d[1]?-1:1,c={y:0,d:G(d[2])*n,h:G(d[3])*n,m:G(d[4])*n,s:G(d[5])*n,ms:G(At(1e3*d[6]))*n}):(d=zt.exec(e))?(n="-"===d[1]?-1:1,c={y:Vt(d[2],n),M:Vt(d[3],n),w:Vt(d[4],n),d:Vt(d[5],n),h:Vt(d[6],n),m:Vt(d[7],n),s:Vt(d[8],n)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(i=Et(c.from),a=Et(c.to),o=i.isValid()&&a.isValid()?(a=Rt(a,i),i.isBefore(a)?l=Ut(i,a):((l=Ut(a,i)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=o.milliseconds,c.M=o.months),r=new Pt(c),Ot(e)&&s(e,"_locale")&&(r._locale=e._locale),Ot(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Vt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ut(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Wt(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),qt(this,Bt(n,r),e),this}}function qt(e,t,n,r){var i=t._milliseconds,a=At(t._days),s=At(t._months);e.isValid()&&(r=null==r||r,s&&Le(e,J(e,"Month")+s*n),a&&K(e,"Date",J(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&o.updateOffset(e,a||s))}Bt.fn=Pt.prototype,Bt.invalid=function(){return Bt(NaN)};var Gt=Wt(1,"add"),Qt=Wt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Kt(e){return k(e)||d(e)||Jt(e)||u(e)||function(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Jt(e)})).length),t&&n}(e)||function(e){var t,n,r=a(e)&&!l(e),o=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<i.length;t+=1)n=i[t],o=o||s(e,n);return r&&o}(e)||null==e}function Xt(e){var t,n=a(e)&&!l(e),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)r=r||s(e,o[t]);return n&&r}function $t(e,t){if(e.date()<t.date())return-$t(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Zt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=lt(e))&&(this._locale=t),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var en=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function tn(){return this._locale}function nn(e,t){return(e%t+t)%t}function rn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function on(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function sn(){var e,t,n=[],r=[],o=[],i=[],a=this.eras();for(e=0,t=a.length;e<t;++e)r.push(ge(a[e].name)),n.push(ge(a[e].abbr)),o.push(ge(a[e].narrow)),i.push(ge(a[e].name)),i.push(ge(a[e].abbr)),i.push(ge(a[e].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function ln(e,t){Y(0,[e,e.length],0,t)}function cn(e,t,n,r,o){var i;return null==e?je(this,r,o).year:(t>(i=Fe(e,r,o))&&(t=i),un.call(this,e,t,n,r,o))}function un(e,t,n,r,o){var i=Re(e,t,n,r,o),a=Ie(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),pe("N",an),pe("NN",an),pe("NNN",an),pe("NNNN",(function(e,t){return t.erasNameRegex(e)})),pe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ve(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?m(n).era=o:m(n).invalidEra=e})),pe("y",ce),pe("yy",ce),pe("yyy",ce),pe("yyyy",ce),pe("yo",(function(e,t){return t._eraYearOrdinalRegex||ce})),ve(["y","yy","yyy","yyyy"],0),ve(["yo"],(function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,o):t[0]=parseInt(e,10)})),Y(0,["gg",2],0,(function(){return this.weekYear()%100})),Y(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),H("weekYear","gg"),H("isoWeekYear","GG"),U("weekYear",1),U("isoWeekYear",1),pe("G",ue),pe("g",ue),pe("GG",re,Z),pe("gg",re,Z),pe("GGGG",se,te),pe("gggg",se,te),pe("GGGGG",le,ne),pe("ggggg",le,ne),ye(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=G(e)})),ye(["gg","GG"],(function(e,t,n,r){t[r]=o.parseTwoDigitYear(e)})),Y("Q",0,"Qo","quarter"),H("quarter","Q"),U("quarter",7),pe("Q",$),ve("Q",(function(e,t){t[1]=3*(G(e)-1)})),Y("D",["DD",2],"Do","date"),H("date","D"),U("date",9),pe("D",re),pe("DD",re,Z),pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ve(["D","DD"],2),ve("Do",(function(e,t){t[2]=G(e.match(re)[0])}));var dn=Q("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),U("dayOfYear",4),pe("DDD",ae),pe("DDDD",ee),ve(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=G(e)})),Y("m",["mm",2],0,"minute"),H("minute","m"),U("minute",14),pe("m",re),pe("mm",re,Z),ve(["m","mm"],4);var hn=Q("Minutes",!1);Y("s",["ss",2],0,"second"),H("second","s"),U("second",15),pe("s",re),pe("ss",re,Z),ve(["s","ss"],5);var fn,pn,mn=Q("Seconds",!1);for(Y("S",0,0,(function(){return~~(this.millisecond()/100)})),Y(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),Y(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),Y(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),Y(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),Y(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),Y(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),H("millisecond","ms"),U("millisecond",16),pe("S",ae,$),pe("SS",ae,Z),pe("SSS",ae,ee),fn="SSSS";fn.length<=9;fn+="S")pe(fn,ce);function gn(e,t){t[6]=G(1e3*("0."+e))}for(fn="S";fn.length<=9;fn+="S")ve(fn,gn);pn=Q("Milliseconds",!1),Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var _n=w.prototype;function bn(e){return e}_n.add=Gt,_n.calendar=function(e,t){1===arguments.length&&(Kt(arguments[0])?(e=arguments[0],t=void 0):Xt(arguments[0])&&(t=arguments[0],e=void 0));var n=e||Et(),r=Rt(n,this).startOf("day"),i=o.calendarFormat(this,r)||"sameElse",a=t&&(D(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,Et(n)))},_n.clone=function(){return new w(this)},_n.diff=function(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=Rt(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=z(t)){case"year":i=$t(this,r)/12;break;case"month":i=$t(this,r);break;case"quarter":i=$t(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:q(i)},_n.endOf=function(e){var t,n;if(void 0===(e=z(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?on:rn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),o.updateOffset(this,!0),this},_n.format=function(e){e||(e=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var t=R(this,e);return this.localeData().postformat(t)},_n.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Et(e).isValid())?Bt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},_n.fromNow=function(e){return this.from(Et(),e)},_n.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Et(e).isValid())?Bt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},_n.toNow=function(e){return this.to(Et(),e)},_n.get=function(e){return D(this[e=z(e)])?this[e]():this},_n.invalidAt=function(){return m(this).overflow},_n.isAfter=function(e,t){var n=k(e)?e:Et(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},_n.isBefore=function(e,t){var n=k(e)?e:Et(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},_n.isBetween=function(e,t,n,r){var o=k(e)?e:Et(e),i=k(t)?t:Et(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n)))},_n.isSame=function(e,t){var n,r=k(e)?e:Et(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},_n.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},_n.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},_n.isValid=function(){return g(this)},_n.lang=en,_n.locale=Zt,_n.localeData=tn,_n.max=Dt,_n.min=St,_n.parsingFlags=function(){return f({},m(this))},_n.set=function(e,t){if("object"==typeof e){var n,r=function(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:V[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=B(e));for(n=0;n<r.length;n++)this[r[n].unit](e[r[n].unit])}else if(D(this[e=z(e)]))return this[e](t);return this},_n.startOf=function(e){var t,n;if(void 0===(e=z(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?on:rn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=nn(t,6e4);break;case"second":t=this._d.valueOf(),t-=nn(t,1e3)}return this._d.setTime(t),o.updateOffset(this,!0),this},_n.subtract=Qt,_n.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},_n.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},_n.toDate=function(){return new Date(this.valueOf())},_n.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?R(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(n,"Z")):R(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},_n.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",o="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=o+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(_n[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),_n.toJSON=function(){return this.isValid()?this.toISOString():null},_n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},_n.unix=function(){return Math.floor(this.valueOf()/1e3)},_n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},_n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},_n.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""},_n.eraNarrow=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""},_n.eraAbbr=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""},_n.eraYear=function(){var e,t,n,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,r=this.startOf("day").valueOf(),i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-o(i[e].since).year())*n+i[e].offset;return this.year()},_n.year=Ae,_n.isLeapYear=function(){return W(this.year())},_n.weekYear=function(e){return cn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},_n.isoWeekYear=function(e){return cn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},_n.quarter=_n.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},_n.month=Ce,_n.daysInMonth=function(){return ke(this.year(),this.month())},_n.week=_n.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},_n.isoWeek=_n.isoWeeks=function(e){var t=je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},_n.weeksInYear=function(){var e=this.localeData()._week;return Fe(this.year(),e.dow,e.doy)},_n.weeksInWeekYear=function(){var e=this.localeData()._week;return Fe(this.weekYear(),e.dow,e.doy)},_n.isoWeeksInYear=function(){return Fe(this.year(),1,4)},_n.isoWeeksInISOWeekYear=function(){return Fe(this.isoWeekYear(),1,4)},_n.date=dn,_n.day=_n.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},_n.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},_n.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},_n.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},_n.hour=_n.hours=Ze,_n.minute=_n.minutes=hn,_n.second=_n.seconds=mn,_n.millisecond=_n.milliseconds=pn,_n.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Yt(he,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=jt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?qt(this,Bt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:jt(this)},_n.utc=function(e){return this.utcOffset(0,e)},_n.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},_n.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Yt(de,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},_n.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Et(e).utcOffset():0,(this.utcOffset()-e)%60==0)},_n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},_n.isLocal=function(){return!!this.isValid()&&!this._isUTC},_n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},_n.isUtc=Ft,_n.isUTC=Ft,_n.zoneAbbr=function(){return this._isUTC?"UTC":""},_n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},_n.dates=x("dates accessor is deprecated. Use date instead.",dn),_n.months=x("months accessor is deprecated. Use month instead",Ce),_n.years=x("years accessor is deprecated. Use year instead",Ae),_n.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),_n.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return y(t,this),(t=xt(t))._a?(e=t._isUTC?p(t._a):Et(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&G(e[r])!==G(t[r]))&&a++;return a+i}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var vn=C.prototype;function yn(e,t,n,r){var o=lt(),i=p().set(r,t);return o[n](i,e)}function wn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return yn(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=yn(e,r,n,"month");return o}function kn(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var o,i=lt(),a=e?i._week.dow:0,s=[];if(null!=n)return yn(t,(n+a)%7,r,"day");for(o=0;o<7;o++)s[o]=yn(t,(o+a)%7,r,"day");return s}vn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return D(r)?r.call(t,n):r},vn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(O).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},vn.invalidDate=function(){return this._invalidDate},vn.ordinal=function(e){return this._ordinal.replace("%d",e)},vn.preparse=bn,vn.postformat=bn,vn.relativeTime=function(e,t,n,r){var o=this._relativeTime[n];return D(o)?o(e,t,n,r):o.replace(/%d/i,e)},vn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)},vn.set=function(e){var t,n;for(n in e)s(e,n)&&(D(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},vn.eras=function(e,t){var n,r,i,a=this._eras||lt("en")._eras;for(n=0,r=a.length;n<r;++n){switch(typeof a[n].since){case"string":i=o(a[n].since).startOf("day"),a[n].since=i.valueOf()}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":i=o(a[n].until).startOf("day").valueOf(),a[n].until=i.valueOf()}}return a},vn.erasParse=function(e,t,n){var r,o,i,a,s,l=this.eras();for(e=e.toUpperCase(),r=0,o=l.length;r<o;++r)if(i=l[r].name.toUpperCase(),a=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[r];break;case"NNNN":if(i===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([i,a,s].indexOf(e)>=0)return l[r]},vn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?o(e.since).year():o(e.since).year()+(t-e.offset)*n},vn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},vn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},vn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},vn.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Te).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},vn.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Te.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},vn.monthsParse=function(e,t,n){var r,o,i;if(this._monthsParseExact)return De.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},vn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Pe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Se),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},vn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Pe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Ee),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},vn.week=function(e){return je(e,this._week.dow,this._week.doy).week},vn.firstDayOfYear=function(){return this._week.doy},vn.firstDayOfWeek=function(){return this._week.dow},vn.weekdays=function(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?He(n,this._week.dow):e?n[e.day()]:n},vn.weekdaysMin=function(e){return!0===e?He(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},vn.weekdaysShort=function(e){return!0===e?He(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},vn.weekdaysParse=function(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Ge.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},vn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},vn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=We),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},vn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},vn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},vn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},at("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===G(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),o.lang=x("moment.lang is deprecated. Use moment.locale instead.",at),o.langData=x("moment.langData is deprecated. Use moment.localeData instead.",lt);var Mn=Math.abs;function xn(e,t,n,r){var o=Bt(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function Tn(e){return e<0?Math.floor(e):Math.ceil(e)}function En(e){return 4800*e/146097}function Sn(e){return 146097*e/4800}function Dn(e){return function(){return this.as(e)}}var Ln=Dn("ms"),Cn=Dn("s"),Pn=Dn("m"),On=Dn("h"),An=Dn("d"),Nn=Dn("w"),In=Dn("M"),Yn=Dn("Q"),Rn=Dn("y");function jn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Fn=jn("milliseconds"),Hn=jn("seconds"),zn=jn("minutes"),Bn=jn("hours"),Vn=jn("days"),Un=jn("months"),Wn=jn("years"),qn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Qn(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}var Jn=Math.abs;function Kn(e){return(e>0)-(e<0)||+e}function Xn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,s,l=Jn(this._milliseconds)/1e3,c=Jn(this._days),u=Jn(this._months),d=this.asSeconds();return d?(e=q(l/60),t=q(e/60),l%=60,e%=60,n=q(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",i=Kn(this._months)!==Kn(d)?"-":"",a=Kn(this._days)!==Kn(d)?"-":"",s=Kn(this._milliseconds)!==Kn(d)?"-":"",o+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var $n=Pt.prototype;return $n.isValid=function(){return this._isValid},$n.abs=function(){var e=this._data;return this._milliseconds=Mn(this._milliseconds),this._days=Mn(this._days),this._months=Mn(this._months),e.milliseconds=Mn(e.milliseconds),e.seconds=Mn(e.seconds),e.minutes=Mn(e.minutes),e.hours=Mn(e.hours),e.months=Mn(e.months),e.years=Mn(e.years),this},$n.add=function(e,t){return xn(this,e,t,1)},$n.subtract=function(e,t){return xn(this,e,t,-1)},$n.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=z(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+En(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Sn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},$n.asMilliseconds=Ln,$n.asSeconds=Cn,$n.asMinutes=Pn,$n.asHours=On,$n.asDays=An,$n.asWeeks=Nn,$n.asMonths=In,$n.asQuarters=Yn,$n.asYears=Rn,$n.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*G(this._months/12):NaN},$n._bubble=function(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,l=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*Tn(Sn(s)+a),a=0,s=0),l.milliseconds=i%1e3,e=q(i/1e3),l.seconds=e%60,t=q(e/60),l.minutes=t%60,n=q(t/60),l.hours=n%24,a+=q(n/24),o=q(En(a)),s+=o,a-=Tn(Sn(o)),r=q(s/12),s%=12,l.days=a,l.months=s,l.years=r,this},$n.clone=function(){return Bt(this)},$n.get=function(e){return e=z(e),this.isValid()?this[e+"s"]():NaN},$n.milliseconds=Fn,$n.seconds=Hn,$n.minutes=zn,$n.hours=Bn,$n.days=Vn,$n.weeks=function(){return q(this.days()/7)},$n.months=Un,$n.years=Wn,$n.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o=!1,i=Gn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(o=e),"object"==typeof t&&(i=Object.assign({},Gn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var o=Bt(e).abs(),i=qn(o.as("s")),a=qn(o.as("m")),s=qn(o.as("h")),l=qn(o.as("d")),c=qn(o.as("M")),u=qn(o.as("w")),d=qn(o.as("y")),h=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||u<=1&&["w"]||u<n.w&&["ww",u]),(h=h||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,h[3]=+e>0,h[4]=r,Qn.apply(null,h)}(this,!o,i,n),o&&(r=n.pastFuture(+this,r)),n.postformat(r)},$n.toISOString=Xn,$n.toString=Xn,$n.toJSON=Xn,$n.locale=Zt,$n.localeData=tn,$n.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Xn),$n.lang=en,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),pe("x",ue),pe("X",/[+-]?\d+(\.\d{1,3})?/),ve("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ve("x",(function(e,t,n){n._d=new Date(G(e))})),
2
  //! moment.js
3
- o.version="2.25.3",t=Et,o.fn=_n,o.min=function(){var e=[].slice.call(arguments,0);return Lt("isBefore",e)},o.max=function(){var e=[].slice.call(arguments,0);return Lt("isAfter",e)},o.now=function(){return Date.now?Date.now():+new Date},o.utc=p,o.unix=function(e){return Et(1e3*e)},o.months=function(e,t){return wn(e,t,"months")},o.isDate=d,o.locale=at,o.invalid=_,o.duration=Bt,o.isMoment=k,o.weekdays=function(e,t,n){return kn(e,t,n,"weekdays")},o.parseZone=function(){return Et.apply(null,arguments).parseZone()},o.localeData=lt,o.isDuration=Ot,o.monthsShort=function(e,t){return wn(e,t,"monthsShort")},o.weekdaysMin=function(e,t,n){return kn(e,t,n,"weekdaysMin")},o.defineLocale=st,o.updateLocale=function(e,t){if(null!=t){var n,r,o=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(L(tt[e]._config,t)):(null!=(r=it(e))&&(o=r._config),t=L(o,t),null==r&&(t.abbr=e),(n=new C(t)).parentLocale=tt[e],tt[e]=n),at(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===at()&&at(e)):null!=tt[e]&&delete tt[e]);return tt[e]},o.locales=function(){return T(tt)},o.weekdaysShort=function(e,t,n){return kn(e,t,n,"weekdaysShort")},o.normalizeUnits=z,o.relativeTimeRounding=function(e){return void 0===e?qn:"function"==typeof e&&(qn=e,!0)},o.relativeTimeThreshold=function(e,t){return void 0!==Gn[e]&&(void 0===t?Gn[e]:(Gn[e]=t,"s"===e&&(Gn.ss=t-1),!0))},o.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},o.prototype=_n,o.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},o}()}).call(this,n(64)(e))},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return o}));var r=n(2);function o(e){Object(r.a)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},function(e,t,n){e.exports=n(260)},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,"a",(function(){return r}))},function(e,t){function n(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,l,"next",e)}function l(e){n(a,o,i,s,l,"throw",e)}s(void 0)}))}}},function(e,t,n){e.exports=n(262)},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r=n(258);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(259),o=n(10);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t,n){"use strict";t.__esModule=!0;var r=l(n(279));t.ToastContainer=r.default;var o=n(91);t.Bounce=o.Bounce,t.Slide=o.Slide,t.Zoom=o.Zoom,t.Flip=o.Flip;var i=n(34);t.ToastPosition=i.POSITION,t.ToastType=i.TYPE;var a=l(n(289));t.toast=a.default;var s=l(n(92));function l(e){return e&&e.__esModule?e:{default:e}}t.cssTransition=s.default},function(e,t,n){e.exports=n(280)()},function(e,t,n){"use strict";var r=n(84),o=n(263),i=Object.prototype.toString;function a(e){return"[object Array]"===i.call(e)}function s(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===i.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:o,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:l,isStream:function(e){return s(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:c,merge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,o=arguments.length;r<o;r++)c(arguments[r],n);return t},extend:function(e,t,n){return c(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(4),o=n(7),i=n(2);function a(e,t){Object(i.a)(1,arguments);var n=t||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,l=null==s?0:Object(o.a)(s),c=null==n.weekStartsOn?l:Object(o.a)(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=Object(r.default)(e),d=u.getDay(),h=(d<c?7:0)+d-c;return u.setDate(u.getDate()-h),u.setHours(0,0,0,0),u}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(7),o=n(4),i=n(2);function a(e,t){Object(i.a)(1,arguments);var n=t||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,l=null==s?0:Object(r.a)(s),c=null==n.weekStartsOn?l:Object(r.a)(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=Object(o.default)(e),d=u.getUTCDay(),h=(d<c?7:0)+d-c;return u.setUTCDate(u.getUTCDate()-h),u.setUTCHours(0,0,0,0),u}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));function r(e){return e.getTime()%6e4}function o(e){var t=new Date(e.getTime()),n=Math.ceil(t.getTimezoneOffset());return t.setSeconds(0,0),6e4*n+(n>0?(6e4+r(t))%6e4:r(t))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(4),o=n(2);function i(e){Object(o.a)(1,arguments);var t=1,n=Object(r.default)(e),i=n.getUTCDay(),a=(i<t?7:0)+i-t;return n.setUTCDate(n.getUTCDate()-a),n.setUTCHours(0,0,0,0),n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s}));var r=["D","DD"],o=["YY","YYYY"];function i(e){return-1!==r.indexOf(e)}function a(e){return-1!==o.indexOf(e)}function s(e){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` for formatting years; see: https://git.io/fxCyr");if("YY"===e)throw new RangeError("Use `yy` instead of `YY` for formatting years; see: https://git.io/fxCyr");if("D"===e)throw new RangeError("Use `d` instead of `D` for formatting days of the month; see: https://git.io/fxCyr");if("DD"===e)throw new RangeError("Use `dd` instead of `DD` for formatting days of the month; see: https://git.io/fxCyr")}},function(e,t,n){var r=n(237),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(366),o=n(371);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return i}));var r=n(4),o=n(2);function i(e){Object(o.a)(1,arguments);var t=Object(r.default)(e);return t.setHours(0,0,0,0),t}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(7),o=n(4),i=n(2);function a(e,t){Object(i.a)(2,arguments);var n=Object(o.default)(e).getTime(),a=Object(r.a)(t);return new Date(n+a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(7),o=n(4),i=n(19),a=n(2);function s(e,t){Object(a.a)(1,arguments);var n=Object(o.default)(e,t),s=n.getUTCFullYear(),l=t||{},c=l.locale,u=c&&c.options&&c.options.firstWeekContainsDate,d=null==u?1:Object(r.a)(u),h=null==l.firstWeekContainsDate?d:Object(r.a)(l.firstWeekContainsDate);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=new Date(0);f.setUTCFullYear(s+1,0,h),f.setUTCHours(0,0,0,0);var p=Object(i.a)(f,t),m=new Date(0);m.setUTCFullYear(s,0,h),m.setUTCHours(0,0,0,0);var g=Object(i.a)(m,t);return n.getTime()>=p.getTime()?s+1:n.getTime()>=g.getTime()?s:s-1}},function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},function(e,t,n){
4
  /*!
5
  * Chart.js v2.9.3
6
  * https://www.chartjs.org
@@ -13,12 +13,12 @@ e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;
13
  * Copyright(c) 2012-2014 Roman Shtylman
14
  * Copyright(c) 2015 Douglas Christopher Wilson
15
  * MIT Licensed
16
- */t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},o=t||{},a=e.split(i),l=o.decode||r,c=0;c<a.length;c++){var u=a[c],d=u.indexOf("=");if(!(d<0)){var h=u.substr(0,d).trim(),f=u.substr(++d,u.length).trim();'"'==f[0]&&(f=f.slice(1,-1)),null==n[h]&&(n[h]=s(f,l))}}return n},t.serialize=function(e,t,n){var r=n||{},i=r.encode||o;if("function"!=typeof i)throw new TypeError("option encode is invalid");if(!a.test(e))throw new TypeError("argument name is invalid");var s=i(t);if(s&&!a.test(s))throw new TypeError("argument val is invalid");var l=e+"="+s;if(null!=r.maxAge){var c=r.maxAge-0;if(isNaN(c))throw new Error("maxAge should be a Number");l+="; Max-Age="+Math.floor(c)}if(r.domain){if(!a.test(r.domain))throw new TypeError("option domain is invalid");l+="; Domain="+r.domain}if(r.path){if(!a.test(r.path))throw new TypeError("option path is invalid");l+="; Path="+r.path}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invalid");l+="; Expires="+r.expires.toUTCString()}r.httpOnly&&(l+="; HttpOnly");r.secure&&(l+="; Secure");if(r.sameSite){switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;default:throw new TypeError("option sameSite is invalid")}}return l};var r=decodeURIComponent,o=encodeURIComponent,i=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function s(e,t){try{return t(e)}catch(t){return e}}},function(e,t,n){var r=n(66);e.exports=function(e,t){return r(e,t)}},function(e,t,n){"use strict";t.__esModule=!0,t.ACTION=t.TYPE=t.POSITION=void 0;t.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"};t.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"};t.ACTION={SHOW:0,CLEAR:1,DID_MOUNT:2,WILL_UNMOUNT:3,ON_CHANGE:4}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(227),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,l=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),c=function(e,t,n,r){var o;(!(t in e)||"function"==typeof(o=r)&&"[object Function]"===i.call(o)&&r())&&(l?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)c(e,i[s],t[i[s]],n[i[s]])};u.supportsDescriptors=!!l,e.exports=u},function(e,t,n){var r=n(46),o=n(367),i=n(368),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(255)},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(7),o=n(4),i=n(2);function a(e,t){Object(i.a)(2,arguments);var n=Object(o.default)(e),a=Object(r.a)(t);return n.setDate(n.getDate()+a),n}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return s}));var r=n(7),o=n(4),i=n(55),a=n(2);function s(e,t){Object(a.a)(2,arguments);var n=Object(o.default)(e),s=Object(r.a)(t),l=n.getMonth()+s,c=new Date(0);c.setFullYear(n.getFullYear(),l,1),c.setHours(0,0,0,0);var u=Object(i.a)(c);return n.setMonth(l,Math.min(u,n.getDate())),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Draggable",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"Droppable",{enumerable:!0,get:function(){return o.default}});var r=i(n(290)),o=i(n(291));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){var r;
17
  /*!
18
  Copyright (c) 2017 Jed Watson.
19
  Licensed under the MIT License (MIT), see
20
  http://jedwatson.github.io/classnames
21
- */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r=n(356),o=n(357),i=n(358),a=n(359),s=n(360);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(235);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(23).Symbol;e.exports=r},function(e,t,n){var r=n(25)(Object,"create");e.exports=r},function(e,t,n){var r=n(380);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(73);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){"use strict";
22
  /*!
23
  * react-filepond v5.0.0
24
  * A handy FilePond adapter component for React
@@ -27,12 +27,12 @@ e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;
27
  * https://pqina.nl/filepond
28
  *
29
  * Licensed under the MIT license.
30
- */Object.defineProperty(t,"__esModule",{value:!0}),t.File=t.FilePond=t.registerPlugin=void 0;var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=(r=i)&&r.__esModule?r:{default:r},s=n(261);function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.registerPlugin=s.registerPlugin;var d=(0,s.supported)(),h=function(e){return e?a.default.Children.map(e,(function(e){var t=e.props;if(t.src){var n={};return t.origin&&(n.type=t.origin),t.name&&(n.file={name:t.name,size:t.size,type:t.type}),t.metadata&&(n.metadata=t.metadata),{source:t.src,options:n}}return t.source&&t.type?{source:t.source,options:{type:t.type}}:t.source})):[]},f=["setOptions","on","off","onOnce","appendTo","insertAfter","insertBefore","isAttachedTo","replaceElement","restoreElement","destroy"];t.FilePond=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return u(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this;d&&(this._pond=(0,s.create)(this._element,Object.assign({},this.props,{files:h(this.props.children)})),Object.keys(this._pond).filter((function(e){return!f.includes(e)})).forEach((function(t){e[t]=e._pond[t]})))}},{key:"componentWillUnmount",value:function(){this._pond&&this._pond.destroy()}},{key:"componentDidUpdate",value:function(e){if(this._pond){var t=Object.assign({},this.props),n=h(e.children),r=h(this.props.children);JSON.stringify(n)!==JSON.stringify(r)&&(t.files=r),this._pond.setOptions(t)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.id,r=t.name,o=t.className,a=t.allowMultiple,s=t.required,l=t.captureMethod,c=t.acceptedFileTypes;return(0,i.createElement)("div",{className:"filepond--wrapper"},(0,i.createElement)("input",{type:"file",name:r,id:n,accept:c,multiple:a,required:s,className:o,capture:l,ref:function(t){return e._element=t}}))}}]),t}(a.default.Component),t.File=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return u(t,e),t}(a.default.Component)},function(e,t,n){(function(e){!function(t,n,r,o,i,a,s,l,c,u,d,h,f,p,m,g,_,b,v,y,w,k,M,x,T,E,S,D,L,C,P,O,A,N,I,Y,R,j,F,H,z,B,V,U,W,q,G,Q,J,K,X,$,Z,ee,te,ne,re,oe,ie,ae,se,le){"use strict";function ce(e){return(ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function he(e,t,n){return t&&de(e.prototype,t),n&&de(e,n),e}function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pe(){return(pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _e(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&function(e,t){(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(e,t)}function be(e){return(be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ve(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ye(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?ve(e):t}function we(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=be(e);if(t){var o=be(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ye(this,n)}}function ke(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function Me(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n,r=r&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,o=o&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o,i=i&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i,a=a&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a,s=s&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s,l=l&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l,c=c&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c,u=u&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u,d=d&&Object.prototype.hasOwnProperty.call(d,"default")?d.default:d,h=h&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h,f=f&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f,p=p&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p,m=m&&Object.prototype.hasOwnProperty.call(m,"default")?m.default:m,g=g&&Object.prototype.hasOwnProperty.call(g,"default")?g.default:g,_=_&&Object.prototype.hasOwnProperty.call(_,"default")?_.default:_,b=b&&Object.prototype.hasOwnProperty.call(b,"default")?b.default:b,v=v&&Object.prototype.hasOwnProperty.call(v,"default")?v.default:v,y=y&&Object.prototype.hasOwnProperty.call(y,"default")?y.default:y,w=w&&Object.prototype.hasOwnProperty.call(w,"default")?w.default:w,k=k&&Object.prototype.hasOwnProperty.call(k,"default")?k.default:k,M=M&&Object.prototype.hasOwnProperty.call(M,"default")?M.default:M,x=x&&Object.prototype.hasOwnProperty.call(x,"default")?x.default:x,T=T&&Object.prototype.hasOwnProperty.call(T,"default")?T.default:T,E=E&&Object.prototype.hasOwnProperty.call(E,"default")?E.default:E,S=S&&Object.prototype.hasOwnProperty.call(S,"default")?S.default:S,D=D&&Object.prototype.hasOwnProperty.call(D,"default")?D.default:D,L=L&&Object.prototype.hasOwnProperty.call(L,"default")?L.default:L,C=C&&Object.prototype.hasOwnProperty.call(C,"default")?C.default:C,P=P&&Object.prototype.hasOwnProperty.call(P,"default")?P.default:P,O=O&&Object.prototype.hasOwnProperty.call(O,"default")?O.default:O,A=A&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A,N=N&&Object.prototype.hasOwnProperty.call(N,"default")?N.default:N,I=I&&Object.prototype.hasOwnProperty.call(I,"default")?I.default:I,Y=Y&&Object.prototype.hasOwnProperty.call(Y,"default")?Y.default:Y,R=R&&Object.prototype.hasOwnProperty.call(R,"default")?R.default:R,j=j&&Object.prototype.hasOwnProperty.call(j,"default")?j.default:j,F=F&&Object.prototype.hasOwnProperty.call(F,"default")?F.default:F,H=H&&Object.prototype.hasOwnProperty.call(H,"default")?H.default:H,z=z&&Object.prototype.hasOwnProperty.call(z,"default")?z.default:z,B=B&&Object.prototype.hasOwnProperty.call(B,"default")?B.default:B,V=V&&Object.prototype.hasOwnProperty.call(V,"default")?V.default:V,U=U&&Object.prototype.hasOwnProperty.call(U,"default")?U.default:U,W=W&&Object.prototype.hasOwnProperty.call(W,"default")?W.default:W,q=q&&Object.prototype.hasOwnProperty.call(q,"default")?q.default:q,G=G&&Object.prototype.hasOwnProperty.call(G,"default")?G.default:G,Q=Q&&Object.prototype.hasOwnProperty.call(Q,"default")?Q.default:Q,J=J&&Object.prototype.hasOwnProperty.call(J,"default")?J.default:J,K=K&&Object.prototype.hasOwnProperty.call(K,"default")?K.default:K,X=X&&Object.prototype.hasOwnProperty.call(X,"default")?X.default:X,$=$&&Object.prototype.hasOwnProperty.call($,"default")?$.default:$,Z=Z&&Object.prototype.hasOwnProperty.call(Z,"default")?Z.default:Z,ee=ee&&Object.prototype.hasOwnProperty.call(ee,"default")?ee.default:ee,te=te&&Object.prototype.hasOwnProperty.call(te,"default")?te.default:te,ne=ne&&Object.prototype.hasOwnProperty.call(ne,"default")?ne.default:ne,re=re&&Object.prototype.hasOwnProperty.call(re,"default")?re.default:re,oe=oe&&Object.prototype.hasOwnProperty.call(oe,"default")?oe.default:oe,ie=ie&&Object.prototype.hasOwnProperty.call(ie,"default")?ie.default:ie,ae=ae&&Object.prototype.hasOwnProperty.call(ae,"default")?ae.default:ae,se=se&&Object.prototype.hasOwnProperty.call(se,"default")?se.default:se;var xe={p:Me,P:function(e,t){var n,r=e.match(/(P+)(p+)?/),o=r[1],i=r[2];if(!i)return ke(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",ke(o,t)).replace("{{time}}",Me(i,t))}},Te=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;function Ee(e){var t=e?"string"==typeof e||e instanceof String?ae(e):oe(e):new Date;return De(t)?t:null}function Se(e,t,n,r){var o=null,i=Ue(n)||Ve(),a=!0;return Array.isArray(t)?(t.forEach((function(t){var n=ie(e,t,new Date,{locale:i});r&&(a=De(n)&&e===s(n,t,{awareOfUnicodeTokens:!0})),De(n)&&a&&(o=n)})),o):(o=ie(e,t,new Date,{locale:i}),r?a=De(o)&&e===s(o,t,{awareOfUnicodeTokens:!0}):De(o)||(t=t.match(Te).map((function(e){var t=e[0];return"p"===t||"P"===t?i?(0,xe[t])(e,i.formatLong):t:e})).join(""),e.length>0&&(o=ie(e,t.slice(0,e.length),new Date)),De(o)||(o=new Date(e))),De(o)&&a?o:null)}function De(e){return a(e)&&te(e,new Date("1/1/1000"))}function Le(e,t,n){if("en"===n)return s(e,t,{awareOfUnicodeTokens:!0});var r=Ue(n);return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&Ve()&&Ue(Ve())&&(r=Ue(Ve())),s(e,t,{locale:r||null,awareOfUnicodeTokens:!0})}function Ce(e,t){var n=t.hour,r=void 0===n?0:n,o=t.minute,i=void 0===o?0:o,a=t.second;return O(P(C(e,void 0===a?0:a),i),r)}function Pe(e,t){var n=t&&Ue(t)||Ve()&&Ue(Ve());return T(e,n?{locale:n}:null)}function Oe(e,t){return Le(e,"ddd",t)}function Ae(e){return B(e)}function Ne(e,t){var n=Ue(t||Ve());return V(e,{locale:n})}function Ie(e){return U(e)}function Ye(e){return W(e)}function Re(e,t){return e&&t?Z(e,t):!e&&!t}function je(e,t){return e&&t?$(e,t):!e&&!t}function Fe(e,t){return e&&t?ee(e,t):!e&&!t}function He(e,t){return e&&t?X(e,t):!e&&!t}function ze(e,t){return e&&t?K(e,t):!e&&!t}function Be(e,t,n){var r,o=B(t),i=G(n);try{r=re(e,{start:o,end:i})}catch(e){r=!1}return r}function Ve(){return("undefined"!=typeof window?window:e).__localeId__}function Ue(t){if("string"==typeof t){var n="undefined"!=typeof window?window:e;return n.__localeData__?n.__localeData__[t]:null}return t}function We(e,t){return Le(A(Ee(),e),"LLLL",t)}function qe(e,t){return Le(A(Ee(),e),"LLL",t)}function Ge(e,t){return Le(N(Ee(),e),"QQQ",t)}function Qe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.includeDates,a=t.filterDate;return et(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return He(e,t)}))||i&&!i.some((function(t){return He(e,t)}))||a&&!a(Ee(e))||!1}function Je(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeDates;return n&&n.some((function(t){return He(e,t)}))||!1}function Ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.includeDates,a=t.filterDate;return et(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return je(e,t)}))||i&&!i.some((function(t){return je(e,t)}))||a&&!a(Ee(e))||!1}function Xe(e,t,n,r){var o=D(e),i=E(e),a=D(t),s=E(t),l=D(r);return o===a&&o===l?i<=n&&n<=s:o<a?l===o&&i<=n||l===a&&s>=n||l<a&&l>o:void 0}function $e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.includeDates,a=t.filterDate;return et(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return Fe(e,t)}))||i&&!i.some((function(t){return Fe(e,t)}))||a&&!a(Ee(e))||!1}function Ze(e,t,n,r){var o=D(e),i=S(e),a=D(t),s=S(t),l=D(r);return o===a&&o===l?i<=n&&n<=s:o<a?l===o&&i<=n||l===a&&s>=n||l<a&&l>o:void 0}function et(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate;return n&&j(e,n)<0||r&&j(e,r)>0}function tt(e,t){for(var n=t.length,r=0;r<n;r++)if(k(t[r])===k(e)&&w(t[r])===w(e))return!0;return!1}function nt(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var o,i=Ee(),a=O(P(i,w(e)),k(e)),s=O(P(i,w(n)),k(n)),l=O(P(i,w(r)),k(r));try{o=!re(a,{start:s,end:l})}catch(e){o=!1}return o}function rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,o=b(e,1);return n&&F(n,o)>0||r&&r.every((function(e){return F(e,o)>0}))||!1}function ot(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,o=h(e,1);return n&&F(o,n)>0||r&&r.every((function(e){return F(o,e)>0}))||!1}function it(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,o=v(e,1);return n&&z(n,o)>0||r&&r.every((function(e){return z(e,o)>0}))||!1}function at(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,o=f(e,1);return n&&z(o,n)>0||r&&r.every((function(e){return z(o,e)>0}))||!1}function st(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return j(e,t)>=0}));return Y(r)}return n?Y(n):t}function lt(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return j(e,t)<=0}));return R(r)}return n?R(n):t}function ct(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--highlighted",n=new Map,r=0,o=e.length;r<o;r++){var a=e[r];if(i(a)){var s=Le(a,"MM.dd.yyyy"),l=n.get(s)||[];l.includes(t)||(l.push(t),n.set(s,l))}else if("object"===ce(a)){var c=Object.keys(a),u=c[0],d=a[c[0]];if("string"==typeof u&&d.constructor===Array)for(var h=0,f=d.length;h<f;h++){var p=Le(d[h],"MM.dd.yyyy"),m=n.get(p)||[];m.includes(u)||(m.push(u),n.set(p,m))}}}return n}function ut(e,t,n,r,o){for(var i=o.length,a=[],s=0;s<i;s++){var u=l(c(e,k(o[s])),w(o[s])),d=l(e,(n+1)*r);te(u,t)&&ne(u,d)&&a.push(o[s])}return a}function dt(e){return e<10?"0".concat(e):"".concat(e)}function ht(e,t,n,r){for(var o=[],i=0;i<2*t+1;i++){var a=e+t-i,s=!0;n&&(s=D(n)<=a),r&&s&&(s=D(r)>=a),s&&o.push(a)}return o}var ft=se(function(e){_e(r,e);var t=we(r);function r(e){var o;ue(this,r),fe(ve(o=t.call(this,e)),"renderOptions",(function(){var e=o.props.year,t=o.state.yearsList.map((function(t){return n.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:o.onChange.bind(ve(o),t)},e===t?n.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",t)})),r=o.props.minDate?D(o.props.minDate):null,i=o.props.maxDate?D(o.props.maxDate):null;return i&&o.state.yearsList.find((function(e){return e===i}))||t.unshift(n.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:o.incrementYears},n.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),r&&o.state.yearsList.find((function(e){return e===r}))||t.push(n.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:o.decrementYears},n.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t})),fe(ve(o),"onChange",(function(e){o.props.onChange(e)})),fe(ve(o),"handleClickOutside",(function(){o.props.onCancel()})),fe(ve(o),"shiftYears",(function(e){var t=o.state.yearsList.map((function(t){return t+e}));o.setState({yearsList:t})})),fe(ve(o),"incrementYears",(function(){return o.shiftYears(1)})),fe(ve(o),"decrementYears",(function(){return o.shiftYears(-1)}));var i=e.yearDropdownItemNumber,a=e.scrollableYearDropdown,s=i||(a?10:5);return o.state={yearsList:ht(o.props.year,s,o.props.minDate,o.props.maxDate)},o}return he(r,[{key:"render",value:function(){var e=o({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return n.createElement("div",{className:e},this.renderOptions())}}]),r}(n.Component)),pt=function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return fe(ve(e=t.call.apply(t,[this].concat(i))),"state",{dropdownVisible:!1}),fe(ve(e),"renderSelectOptions",(function(){for(var t=e.props.minDate?D(e.props.minDate):1900,r=e.props.maxDate?D(e.props.maxDate):2100,o=[],i=t;i<=r;i++)o.push(n.createElement("option",{key:i,value:i},i));return o})),fe(ve(e),"onSelectChange",(function(t){e.onChange(t.target.value)})),fe(ve(e),"renderSelectMode",(function(){return n.createElement("select",{value:e.props.year,className:"react-datepicker__year-select",onChange:e.onSelectChange},e.renderSelectOptions())})),fe(ve(e),"renderReadView",(function(t){return n.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(t){return e.toggleDropdown(t)}},n.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),n.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},e.props.year))})),fe(ve(e),"renderDropdown",(function(){return n.createElement(ft,{key:"dropdown",year:e.props.year,onChange:e.onChange,onCancel:e.toggleDropdown,minDate:e.props.minDate,maxDate:e.props.maxDate,scrollableYearDropdown:e.props.scrollableYearDropdown,yearDropdownItemNumber:e.props.yearDropdownItemNumber})})),fe(ve(e),"renderScrollMode",(function(){var t=e.state.dropdownVisible,n=[e.renderReadView(!t)];return t&&n.unshift(e.renderDropdown()),n})),fe(ve(e),"onChange",(function(t){e.toggleDropdown(),t!==e.props.year&&e.props.onChange(t)})),fe(ve(e),"toggleDropdown",(function(t){e.setState({dropdownVisible:!e.state.dropdownVisible},(function(){e.props.adjustDateOnChange&&e.handleYearChange(e.props.date,t)}))})),fe(ve(e),"handleYearChange",(function(t,n){e.onSelect(t,n),e.setOpen()})),fe(ve(e),"onSelect",(function(t,n){e.props.onSelect&&e.props.onSelect(t,n)})),fe(ve(e),"setOpen",(function(){e.props.setOpen&&e.props.setOpen(!0)})),e}return he(r,[{key:"render",value:function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return n.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),r}(n.Component),mt=se(function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return fe(ve(e=t.call.apply(t,[this].concat(i))),"renderOptions",(function(){return e.props.monthNames.map((function(t,r){return n.createElement("div",{className:e.props.month===r?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:t,onClick:e.onChange.bind(ve(e),r)},e.props.month===r?n.createElement("span",{className:"react-datepicker__month-option--selected"},"✓"):"",t)}))})),fe(ve(e),"onChange",(function(t){return e.props.onChange(t)})),fe(ve(e),"handleClickOutside",(function(){return e.props.onCancel()})),e}return he(r,[{key:"render",value:function(){return n.createElement("div",{className:"react-datepicker__month-dropdown"},this.renderOptions())}}]),r}(n.Component)),gt=function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return fe(ve(e=t.call.apply(t,[this].concat(i))),"state",{dropdownVisible:!1}),fe(ve(e),"renderSelectOptions",(function(e){return e.map((function(e,t){return n.createElement("option",{key:t,value:t},e)}))})),fe(ve(e),"renderSelectMode",(function(t){return n.createElement("select",{value:e.props.month,className:"react-datepicker__month-select",onChange:function(t){return e.onChange(t.target.value)}},e.renderSelectOptions(t))})),fe(ve(e),"renderReadView",(function(t,r){return n.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:e.toggleDropdown},n.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),n.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},r[e.props.month]))})),fe(ve(e),"renderDropdown",(function(t){return n.createElement(mt,{key:"dropdown",month:e.props.month,monthNames:t,onChange:e.onChange,onCancel:e.toggleDropdown})})),fe(ve(e),"renderScrollMode",(function(t){var n=e.state.dropdownVisible,r=[e.renderReadView(!n,t)];return n&&r.unshift(e.renderDropdown(t)),r})),fe(ve(e),"onChange",(function(t){e.toggleDropdown(),t!==e.props.month&&e.props.onChange(t)})),fe(ve(e),"toggleDropdown",(function(){return e.setState({dropdownVisible:!e.state.dropdownVisible})})),e}return he(r,[{key:"render",value:function(){var e,t=this,r=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(e){return qe(e,t.props.locale)}:function(e){return We(e,t.props.locale)});switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode(r);break;case"select":e=this.renderSelectMode(r)}return n.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),r}(n.Component);function _t(e,t){for(var n=[],r=Ie(e),o=Ie(t);!te(r,o);)n.push(Ee(r)),r=h(r,1);return n}var bt=se(function(e){_e(r,e);var t=we(r);function r(e){var o;return ue(this,r),fe(ve(o=t.call(this,e)),"renderOptions",(function(){return o.state.monthYearsList.map((function(e){var t=L(e),r=Re(o.props.date,e)&&je(o.props.date,e);return n.createElement("div",{className:r?"react-datepicker__month-year-option --selected_month-year":"react-datepicker__month-year-option",key:t,onClick:o.onChange.bind(ve(o),t)},r?n.createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",Le(e,o.props.dateFormat))}))})),fe(ve(o),"onChange",(function(e){return o.props.onChange(e)})),fe(ve(o),"handleClickOutside",(function(){o.props.onCancel()})),o.state={monthYearsList:_t(o.props.minDate,o.props.maxDate)},o}return he(r,[{key:"render",value:function(){var e=o({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return n.createElement("div",{className:e},this.renderOptions())}}]),r}(n.Component)),vt=function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return fe(ve(e=t.call.apply(t,[this].concat(i))),"state",{dropdownVisible:!1}),fe(ve(e),"renderSelectOptions",(function(){for(var t=Ie(e.props.minDate),r=Ie(e.props.maxDate),o=[];!te(t,r);){var i=L(t);o.push(n.createElement("option",{key:i,value:i},Le(t,e.props.dateFormat,e.props.locale))),t=h(t,1)}return o})),fe(ve(e),"onSelectChange",(function(t){e.onChange(t.target.value)})),fe(ve(e),"renderSelectMode",(function(){return n.createElement("select",{value:L(Ie(e.props.date)),className:"react-datepicker__month-year-select",onChange:e.onSelectChange},e.renderSelectOptions())})),fe(ve(e),"renderReadView",(function(t){var r=Le(e.props.date,e.props.dateFormat,e.props.locale);return n.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:function(t){return e.toggleDropdown(t)}},n.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),n.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},r))})),fe(ve(e),"renderDropdown",(function(){return n.createElement(bt,{key:"dropdown",date:e.props.date,dateFormat:e.props.dateFormat,onChange:e.onChange,onCancel:e.toggleDropdown,minDate:e.props.minDate,maxDate:e.props.maxDate,scrollableMonthYearDropdown:e.props.scrollableMonthYearDropdown})})),fe(ve(e),"renderScrollMode",(function(){var t=e.state.dropdownVisible,n=[e.renderReadView(!t)];return t&&n.unshift(e.renderDropdown()),n})),fe(ve(e),"onChange",(function(t){e.toggleDropdown();var n=Ee(parseInt(t));Re(e.props.date,n)&&je(e.props.date,n)||e.props.onChange(n)})),fe(ve(e),"toggleDropdown",(function(){return e.setState({dropdownVisible:!e.state.dropdownVisible})})),e}return he(r,[{key:"render",value:function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return n.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),r}(n.Component),yt=function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return fe(ve(e=t.call.apply(t,[this].concat(a))),"dayEl",n.createRef()),fe(ve(e),"handleClick",(function(t){!e.isDisabled()&&e.props.onClick&&e.props.onClick(t)})),fe(ve(e),"handleMouseEnter",(function(t){!e.isDisabled()&&e.props.onMouseEnter&&e.props.onMouseEnter(t)})),fe(ve(e),"handleOnKeyDown",(function(t){" "===t.key&&(t.preventDefault(),t.key="Enter"),e.props.handleOnKeyDown(t)})),fe(ve(e),"isSameDay",(function(t){return He(e.props.day,t)})),fe(ve(e),"isKeyboardSelected",(function(){return!e.props.disabledKeyboardNavigation&&!e.props.inline&&!e.isSameDay(e.props.selected)&&e.isSameDay(e.props.preSelection)})),fe(ve(e),"isDisabled",(function(){return Qe(e.props.day,e.props)})),fe(ve(e),"isExcluded",(function(){return Je(e.props.day,e.props)})),fe(ve(e),"getHighLightedClass",(function(t){var n=e.props,r=n.day,o=n.highlightDates;if(!o)return!1;var i=Le(r,"MM.dd.yyyy");return o.get(i)})),fe(ve(e),"isInRange",(function(){var t=e.props,n=t.day,r=t.startDate,o=t.endDate;return!(!r||!o)&&Be(n,r,o)})),fe(ve(e),"isInSelectingRange",(function(){var t=e.props,n=t.day,r=t.selectsStart,o=t.selectsEnd,i=t.selectingDate,a=t.startDate,s=t.endDate;return!(!r&&!o||!i||e.isDisabled())&&(r&&s&&(ne(i,s)||ze(i,s))?Be(n,i,s):!(!o||!a||!te(i,a)&&!ze(i,a))&&Be(n,a,i))})),fe(ve(e),"isSelectingRangeStart",(function(){if(!e.isInSelectingRange())return!1;var t=e.props,n=t.day,r=t.selectingDate,o=t.startDate;return He(n,t.selectsStart?r:o)})),fe(ve(e),"isSelectingRangeEnd",(function(){if(!e.isInSelectingRange())return!1;var t=e.props,n=t.day,r=t.selectingDate,o=t.endDate;return He(n,t.selectsEnd?r:o)})),fe(ve(e),"isRangeStart",(function(){var t=e.props,n=t.day,r=t.startDate,o=t.endDate;return!(!r||!o)&&He(r,n)})),fe(ve(e),"isRangeEnd",(function(){var t=e.props,n=t.day,r=t.startDate,o=t.endDate;return!(!r||!o)&&He(o,n)})),fe(ve(e),"isWeekend",(function(){var t=M(e.props.day);return 0===t||6===t})),fe(ve(e),"isOutsideMonth",(function(){return void 0!==e.props.month&&e.props.month!==E(e.props.day)})),fe(ve(e),"getClassNames",(function(t){var n=e.props.dayClassName?e.props.dayClassName(t):void 0;return o("react-datepicker__day",n,"react-datepicker__day--"+Oe(e.props.day),{"react-datepicker__day--disabled":e.isDisabled(),"react-datepicker__day--excluded":e.isExcluded(),"react-datepicker__day--selected":e.isSameDay(e.props.selected),"react-datepicker__day--keyboard-selected":e.isKeyboardSelected(),"react-datepicker__day--range-start":e.isRangeStart(),"react-datepicker__day--range-end":e.isRangeEnd(),"react-datepicker__day--in-range":e.isInRange(),"react-datepicker__day--in-selecting-range":e.isInSelectingRange(),"react-datepicker__day--selecting-range-start":e.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":e.isSelectingRangeEnd(),"react-datepicker__day--today":e.isSameDay(Ee()),"react-datepicker__day--weekend":e.isWeekend(),"react-datepicker__day--outside-month":e.isOutsideMonth()},e.getHighLightedClass("react-datepicker__day--highlighted"))})),fe(ve(e),"getAriaLabel",(function(){var t=e.props,n=t.day,r=t.ariaLabelPrefixWhenEnabled,o=void 0===r?"Choose":r,i=t.ariaLabelPrefixWhenDisabled,a=void 0===i?"Not available":i,s=e.isDisabled()||e.isExcluded()?a:o;return"".concat(s," ").concat(Le(n,"PPPP"))})),fe(ve(e),"getTabIndex",(function(t,n){var r=t||e.props.selected,o=n||e.props.preSelection;return e.isKeyboardSelected()||e.isSameDay(r)&&He(o,r)?0:-1})),fe(ve(e),"handleFocusDay",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!1;0===e.getTabIndex()&&!t.isInputFocused&&e.isSameDay(e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(n=!0)),n&&e.dayEl.current.focus()})),fe(ve(e),"render",(function(){return n.createElement("div",{ref:e.dayEl,className:e.getClassNames(e.props.day),onKeyDown:e.handleOnKeyDown,onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,tabIndex:e.getTabIndex(),"aria-label":e.getAriaLabel(),role:"button","aria-disabled":e.isDisabled()},e.props.renderDayContents?e.props.renderDayContents(x(e.props.day),e.props.day):x(e.props.day))})),e}return he(r,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(e){this.handleFocusDay(e)}}]),r}(n.Component),wt=function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return fe(ve(e=t.call.apply(t,[this].concat(o))),"handleClick",(function(t){e.props.onClick&&e.props.onClick(t)})),e}return he(r,[{key:"render",value:function(){var e=this.props,t=e.weekNumber,r=e.ariaLabelPrefix,i=void 0===r?"week ":r,a={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!e.onClick};return n.createElement("div",{className:o(a),"aria-label":"".concat(i," ").concat(this.props.weekNumber),onClick:this.handleClick},t)}}]),r}(n.Component),kt=function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return fe(ve(e=t.call.apply(t,[this].concat(i))),"handleDayClick",(function(t,n){e.props.onDayClick&&e.props.onDayClick(t,n)})),fe(ve(e),"handleDayMouseEnter",(function(t){e.props.onDayMouseEnter&&e.props.onDayMouseEnter(t)})),fe(ve(e),"handleWeekClick",(function(t,n,r){"function"==typeof e.props.onWeekSelect&&e.props.onWeekSelect(t,n,r),e.props.shouldCloseOnSelect&&e.props.setOpen(!1)})),fe(ve(e),"formatWeekNumber",(function(t){return e.props.formatWeekNumber?e.props.formatWeekNumber(t):Pe(t,e.props.locale)})),fe(ve(e),"renderDays",(function(){var t=Ne(e.props.day,e.props.locale),r=[],o=e.formatWeekNumber(t);if(e.props.showWeekNumber){var i=e.props.onWeekSelect?e.handleWeekClick.bind(ve(e),t,o):void 0;r.push(n.createElement(wt,{key:"W",weekNumber:o,onClick:i,ariaLabelPrefix:e.props.ariaLabelPrefix}))}return r.concat([0,1,2,3,4,5,6].map((function(r){var o=u(t,r);return n.createElement(yt,{ariaLabelPrefixWhenEnabled:e.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:e.props.disabledDayAriaLabelPrefix,key:o.valueOf(),day:o,month:e.props.month,onClick:e.handleDayClick.bind(ve(e),o),onMouseEnter:e.handleDayMouseEnter.bind(ve(e),o),minDate:e.props.minDate,maxDate:e.props.maxDate,excludeDates:e.props.excludeDates,includeDates:e.props.includeDates,inline:e.props.inline,highlightDates:e.props.highlightDates,selectingDate:e.props.selectingDate,filterDate:e.props.filterDate,preSelection:e.props.preSelection,selected:e.props.selected,selectsStart:e.props.selectsStart,selectsEnd:e.props.selectsEnd,startDate:e.props.startDate,endDate:e.props.endDate,dayClassName:e.props.dayClassName,renderDayContents:e.props.renderDayContents,disabledKeyboardNavigation:e.props.disabledKeyboardNavigation,handleOnKeyDown:e.props.handleOnKeyDown,isInputFocused:e.props.isInputFocused,containerRef:e.props.containerRef})})))})),e}return he(r,[{key:"render",value:function(){return n.createElement("div",{className:"react-datepicker__week"},this.renderDays())}}],[{key:"defaultProps",get:function(){return{shouldCloseOnSelect:!0}}}]),r}(n.Component),Mt=function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return fe(ve(e=t.call.apply(t,[this].concat(a))),"handleDayClick",(function(t,n){e.props.onDayClick&&e.props.onDayClick(t,n,e.props.orderInDisplay)})),fe(ve(e),"handleDayMouseEnter",(function(t){e.props.onDayMouseEnter&&e.props.onDayMouseEnter(t)})),fe(ve(e),"handleMouseLeave",(function(){e.props.onMouseLeave&&e.props.onMouseLeave()})),fe(ve(e),"isRangeStartMonth",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&je(A(r,t),o)})),fe(ve(e),"isRangeStartQuarter",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&Fe(N(r,t),o)})),fe(ve(e),"isRangeEndMonth",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&je(A(r,t),i)})),fe(ve(e),"isRangeEndQuarter",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&Fe(N(r,t),i)})),fe(ve(e),"isWeekInMonth",(function(t){var n=e.props.day,r=u(t,6);return je(t,n)||je(r,n)})),fe(ve(e),"renderWeeks",(function(){for(var t=[],r=e.props.fixedHeight,o=Ne(Ie(e.props.day),e.props.locale),i=0,a=!1;t.push(n.createElement(kt,{ariaLabelPrefix:e.props.weekAriaLabelPrefix,chooseDayAriaLabelPrefix:e.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:e.props.disabledDayAriaLabelPrefix,key:i,day:o,month:E(e.props.day),onDayClick:e.handleDayClick,onDayMouseEnter:e.handleDayMouseEnter,onWeekSelect:e.props.onWeekSelect,formatWeekNumber:e.props.formatWeekNumber,locale:e.props.locale,minDate:e.props.minDate,maxDate:e.props.maxDate,excludeDates:e.props.excludeDates,includeDates:e.props.includeDates,inline:e.props.inline,highlightDates:e.props.highlightDates,selectingDate:e.props.selectingDate,filterDate:e.props.filterDate,preSelection:e.props.preSelection,selected:e.props.selected,selectsStart:e.props.selectsStart,selectsEnd:e.props.selectsEnd,showWeekNumber:e.props.showWeekNumbers,startDate:e.props.startDate,endDate:e.props.endDate,dayClassName:e.props.dayClassName,setOpen:e.props.setOpen,shouldCloseOnSelect:e.props.shouldCloseOnSelect,disabledKeyboardNavigation:e.props.disabledKeyboardNavigation,renderDayContents:e.props.renderDayContents,handleOnKeyDown:e.props.handleOnKeyDown,isInputFocused:e.props.isInputFocused,containerRef:e.props.containerRef})),!a;){i++,o=d(o,1);var s=r&&i>=6,l=!r&&!e.isWeekInMonth(o);if(s||l){if(!e.props.peekNextMonth)break;a=!0}}return t})),fe(ve(e),"onMonthClick",(function(t,n){e.handleDayClick(Ie(A(e.props.day,n)),t)})),fe(ve(e),"onQuarterClick",(function(t,n){e.handleDayClick(Ye(N(e.props.day,n)),t)})),fe(ve(e),"getMonthClassNames",(function(t){var n=e.props,r=n.day,i=n.startDate,a=n.endDate,s=n.selected,l=n.minDate,c=n.maxDate;return o("react-datepicker__month-text","react-datepicker__month-".concat(t),{"react-datepicker__month--disabled":(l||c)&&Ke(A(r,t),e.props),"react-datepicker__month--selected":E(r)===t&&D(r)===D(s),"react-datepicker__month--in-range":Xe(i,a,t,r),"react-datepicker__month--range-start":e.isRangeStartMonth(t),"react-datepicker__month--range-end":e.isRangeEndMonth(t)})})),fe(ve(e),"getQuarterClassNames",(function(t){var n=e.props,r=n.day,i=n.startDate,a=n.endDate,s=n.selected,l=n.minDate,c=n.maxDate;return o("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter--disabled":(l||c)&&$e(N(r,t),e.props),"react-datepicker__quarter--selected":S(r)===t&&D(r)===D(s),"react-datepicker__quarter--in-range":Ze(i,a,t,r),"react-datepicker__quarter--range-start":e.isRangeStartQuarter(t),"react-datepicker__quarter--range-end":e.isRangeEndQuarter(t)})})),fe(ve(e),"renderMonths",(function(){var t=e.props,r=t.showFullMonthYearPicker,o=t.locale;return[[0,1,2],[3,4,5],[6,7,8],[9,10,11]].map((function(t,i){return n.createElement("div",{className:"react-datepicker__month-wrapper",key:i},t.map((function(t,i){return n.createElement("div",{key:i,onClick:function(n){e.onMonthClick(n,t)},className:e.getMonthClassNames(t)},r?We(t,o):qe(t,o))})))}))})),fe(ve(e),"renderQuarters",(function(){return n.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map((function(t,r){return n.createElement("div",{key:r,onClick:function(n){e.onQuarterClick(n,t)},className:e.getQuarterClassNames(t)},Ge(t,e.props.locale))})))})),fe(ve(e),"getClassNames",(function(){var t=e.props,n=t.selectingDate,r=t.selectsStart,i=t.selectsEnd,a=t.showMonthYearPicker,s=t.showQuarterYearPicker;return o("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(r||i)},{"react-datepicker__monthPicker":a},{"react-datepicker__quarterPicker":s})})),e}return he(r,[{key:"render",value:function(){var e=this.props,t=e.showMonthYearPicker,r=e.showQuarterYearPicker,o=e.day,i=e.ariaLabelPrefix,a=void 0===i?"month ":i;return n.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,"aria-label":"".concat(a," ").concat(Le(o,"yyyy-MM"))},t?this.renderMonths():r?this.renderQuarters():this.renderWeeks())}}]),r}(n.Component),xt=function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return fe(ve(e=t.call.apply(t,[this].concat(i))),"state",{height:null}),fe(ve(e),"handleClick",(function(t){(e.props.minTime||e.props.maxTime)&&nt(t,e.props)||e.props.excludeTimes&&tt(t,e.props.excludeTimes)||e.props.includeTimes&&!tt(t,e.props.includeTimes)||e.props.onChange(t)})),fe(ve(e),"liClasses",(function(t,n,r){var o=["react-datepicker__time-list-item",e.props.timeClassName?e.props.timeClassName(t,n,r):void 0];return e.props.selected&&n===k(t)&&r===w(t)&&o.push("react-datepicker__time-list-item--selected"),((e.props.minTime||e.props.maxTime)&&nt(t,e.props)||e.props.excludeTimes&&tt(t,e.props.excludeTimes)||e.props.includeTimes&&!tt(t,e.props.includeTimes))&&o.push("react-datepicker__time-list-item--disabled"),e.props.injectTimes&&(60*k(t)+w(t))%e.props.intervals!=0&&o.push("react-datepicker__time-list-item--injected"),o.join(" ")})),fe(ve(e),"renderTimes",(function(){for(var t=[],r=e.props.format?e.props.format:"p",o=e.props.intervals,i=e.props.selected||e.props.openToDate||Ee(),a=k(i),s=w(i),c=Ae(Ee()),u=1440/o,d=e.props.injectTimes&&e.props.injectTimes.sort((function(e,t){return e-t})),h=0;h<u;h++){var f=l(c,h*o);if(t.push(f),d){var p=ut(c,f,h,o,d);t=t.concat(p)}}return t.map((function(t,o){return n.createElement("li",{key:o,onClick:e.handleClick.bind(ve(e),t),className:e.liClasses(t,a,s),ref:function(n){a===k(t)&&s>=w(t)&&(e.centerLi=n)}},Le(t,r,e.props.locale))}))})),e}return he(r,[{key:"componentDidMount",value:function(){this.list.scrollTop=r.calcCenterPosition(this.props.monthRef?this.props.monthRef.clientHeight-this.header.clientHeight:this.list.clientHeight,this.centerLi),this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})}},{key:"render",value:function(){var e=this,t=this.state.height;return n.createElement("div",{className:"react-datepicker__time-container ".concat(this.props.todayButton?"react-datepicker__time-container--with-today-button":"")},n.createElement("div",{className:"react-datepicker__header react-datepicker__header--time",ref:function(t){e.header=t}},n.createElement("div",{className:"react-datepicker-time__header"},this.props.timeCaption)),n.createElement("div",{className:"react-datepicker__time"},n.createElement("div",{className:"react-datepicker__time-box"},n.createElement("ul",{className:"react-datepicker__time-list",ref:function(t){e.list=t},style:t?{height:t}:{}},this.renderTimes()))))}}],[{key:"defaultProps",get:function(){return{intervals:30,onTimeChange:function(){},todayButton:null,timeCaption:"Time"}}}]),r}(n.Component);fe(xt,"calcCenterPosition",(function(e,t){return t.offsetTop-(e/2-t.clientHeight/2)}));var Tt=function(e){_e(r,e);var t=we(r);function r(e){var n;return ue(this,r),fe(ve(n=t.call(this,e)),"handleYearClick",(function(e,t){n.props.onDayClick&&n.props.onDayClick(e,t)})),fe(ve(n),"onYearClick",(function(e,t){var r;n.handleYearClick((r=I(n.props.date,t),q(r)),e)})),n}return he(r,[{key:"render",value:function(){for(var e=this,t=[],r=this.props.date,o=function(r,o){t.push(n.createElement("div",{onClick:function(t){e.onYearClick(t,r)},className:"react-datepicker__year-container-text",key:r},r))},i=D(r)-11,a=0;i<=D(r);i++,a++)o(i);return n.createElement("div",{className:"react-datepicker__year-container"},t)}}]),r}(n.Component),Et=function(e){_e(r,e);var t=we(r);function r(e){var o;return ue(this,r),fe(ve(o=t.call(this,e)),"onTimeChange",(function(e){o.setState({time:e});var t=new Date;t.setHours(e.split(":")[0]),t.setMinutes(e.split(":")[1]),o.props.onChange(t)})),fe(ve(o),"renderTimeInput",(function(){var e=o.state.time,t=o.props,r=t.timeString,i=t.customTimeInput;return i?n.cloneElement(i,{value:e,onChange:o.onTimeChange}):n.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",required:!0,value:e,onChange:function(e){o.onTimeChange(e.target.value||r)}})})),o.state={time:o.props.timeString},o}return he(r,[{key:"render",value:function(){return n.createElement("div",{className:"react-datepicker__input-time-container"},n.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),n.createElement("div",{className:"react-datepicker-time__input-container"},n.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))}}]),r}(n.Component);function St(e){var t=e.className,r=e.children,o=e.showPopperArrow,i=e.arrowProps,a=void 0===i?{}:i;return n.createElement("div",{className:t},o&&n.createElement("div",pe({className:"react-datepicker__triangle"},a)),r)}var Dt=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],Lt=function(e){_e(r,e);var t=we(r);function r(e){var i;return ue(this,r),fe(ve(i=t.call(this,e)),"handleClickOutside",(function(e){i.props.onClickOutside(e)})),fe(ve(i),"setClickOutsideRef",(function(){return i.containerRef.current})),fe(ve(i),"handleDropdownFocus",(function(e){(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.className||"").split(/\s+/);return Dt.some((function(e){return t.indexOf(e)>=0}))})(e.target)&&i.props.onDropdownFocus()})),fe(ve(i),"getDateInView",(function(){var e=i.props,t=e.preSelection,n=e.selected,r=e.openToDate,o=st(i.props),a=lt(i.props),s=Ee();return r||n||t||(o&&ne(s,o)?o:a&&te(s,a)?a:s)})),fe(ve(i),"increaseMonth",(function(){i.setState((function(e){var t=e.date;return{date:h(t,1)}}),(function(){return i.handleMonthChange(i.state.date)}))})),fe(ve(i),"decreaseMonth",(function(){i.setState((function(e){var t=e.date;return{date:b(t,1)}}),(function(){return i.handleMonthChange(i.state.date)}))})),fe(ve(i),"handleDayClick",(function(e,t,n){return i.props.onSelect(e,t,n)})),fe(ve(i),"handleDayMouseEnter",(function(e){i.setState({selectingDate:e}),i.props.onDayMouseEnter&&i.props.onDayMouseEnter(e)})),fe(ve(i),"handleMonthMouseLeave",(function(){i.setState({selectingDate:null}),i.props.onMonthMouseLeave&&i.props.onMonthMouseLeave()})),fe(ve(i),"handleYearChange",(function(e){i.props.onYearChange&&i.props.onYearChange(e)})),fe(ve(i),"handleMonthChange",(function(e){i.props.onMonthChange&&i.props.onMonthChange(e),i.props.adjustDateOnChange&&(i.props.onSelect&&i.props.onSelect(e),i.props.setOpen&&i.props.setOpen(!0)),i.props.setPreSelection&&i.props.setPreSelection(e)})),fe(ve(i),"handleMonthYearChange",(function(e){i.handleYearChange(e),i.handleMonthChange(e)})),fe(ve(i),"changeYear",(function(e){i.setState((function(t){var n=t.date;return{date:I(n,e)}}),(function(){return i.handleYearChange(i.state.date)}))})),fe(ve(i),"changeMonth",(function(e){i.setState((function(t){var n=t.date;return{date:A(n,e)}}),(function(){return i.handleMonthChange(i.state.date)}))})),fe(ve(i),"changeMonthYear",(function(e){i.setState((function(t){var n=t.date;return{date:I(A(n,E(e)),D(e))}}),(function(){return i.handleMonthYearChange(i.state.date)}))})),fe(ve(i),"header",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.state.date,t=Ne(e,i.props.locale),r=[];return i.props.showWeekNumbers&&r.push(n.createElement("div",{key:"W",className:"react-datepicker__day-name"},i.props.weekLabel||"#")),r.concat([0,1,2,3,4,5,6].map((function(e){var r=u(t,e),a=i.formatWeekday(r,i.props.locale),s=i.props.weekDayClassName?i.props.weekDayClassName(r):void 0;return n.createElement("div",{key:e,className:o("react-datepicker__day-name",s)},a)})))})),fe(ve(i),"formatWeekday",(function(e,t){return i.props.formatWeekDay?function(e,t,n){return t(Le(e,"EEEE",n))}(e,i.props.formatWeekDay,t):i.props.useWeekdaysShort?function(e,t){return Le(e,"EEE",t)}(e,t):function(e,t){return Le(e,"EEEEEE",t)}(e,t)})),fe(ve(i),"decreaseYear",(function(){i.setState((function(e){var t=e.date;return{date:v(t,i.props.showYearPicker?11:1)}}),(function(){return i.handleYearChange(i.state.date)}))})),fe(ve(i),"renderPreviousButton",(function(){if(!i.props.renderCustomHeader){var e=i.props.showMonthYearPicker?it(i.state.date,i.props):rt(i.state.date,i.props);if((i.props.forceShowMonthNavigation||i.props.showDisabledMonthNavigation||!e)&&!i.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--previous"],r=i.decreaseMonth;(i.props.showMonthYearPicker||i.props.showQuarterYearPicker||i.props.showYearPicker)&&(r=i.decreaseYear),e&&i.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--previous--disabled"),r=null);var o=i.props.showMonthYearPicker||i.props.showQuarterYearPicker,a=i.props,s=a.previousMonthAriaLabel,l=void 0===s?"Previous Month":s,c=a.previousYearAriaLabel,u=void 0===c?"Previous Year":c;return n.createElement("button",{type:"button",className:t.join(" "),onClick:r,"aria-label":o?u:l},o?i.props.previousYearButtonLabel:i.props.previousMonthButtonLabel)}}})),fe(ve(i),"increaseYear",(function(){i.setState((function(e){var t=e.date;return{date:f(t,i.props.showYearPicker?11:1)}}),(function(){return i.handleYearChange(i.state.date)}))})),fe(ve(i),"renderNextButton",(function(){if(!i.props.renderCustomHeader){var e=i.props.showMonthYearPicker?at(i.state.date,i.props):ot(i.state.date,i.props);if((i.props.forceShowMonthNavigation||i.props.showDisabledMonthNavigation||!e)&&!i.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--next"];i.props.showTimeSelect&&t.push("react-datepicker__navigation--next--with-time"),i.props.todayButton&&t.push("react-datepicker__navigation--next--with-today-button");var r=i.increaseMonth;(i.props.showMonthYearPicker||i.props.showQuarterYearPicker||i.props.showYearPicker)&&(r=i.increaseYear),e&&i.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--next--disabled"),r=null);var o=i.props.showMonthYearPicker||i.props.showQuarterYearPicker,a=i.props,s=a.nextMonthAriaLabel,l=void 0===s?"Next Month":s,c=a.nextYearAriaLabel,u=void 0===c?"Next Year":c;return n.createElement("button",{type:"button",className:t.join(" "),onClick:r,"aria-label":o?u:l},o?i.props.nextYearButtonLabel:i.props.nextMonthButtonLabel)}}})),fe(ve(i),"renderCurrentMonth",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.state.date,t=["react-datepicker__current-month"];return i.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),i.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),i.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),n.createElement("div",{className:t.join(" ")},Le(e,i.props.dateFormat,i.props.locale))})),fe(ve(i),"renderYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(i.props.showYearDropdown&&!e)return n.createElement(pt,{adjustDateOnChange:i.props.adjustDateOnChange,date:i.state.date,onSelect:i.props.onSelect,setOpen:i.props.setOpen,dropdownMode:i.props.dropdownMode,onChange:i.changeYear,minDate:i.props.minDate,maxDate:i.props.maxDate,year:D(i.state.date),scrollableYearDropdown:i.props.scrollableYearDropdown,yearDropdownItemNumber:i.props.yearDropdownItemNumber})})),fe(ve(i),"renderMonthDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(i.props.showMonthDropdown&&!e)return n.createElement(gt,{dropdownMode:i.props.dropdownMode,locale:i.props.locale,onChange:i.changeMonth,month:E(i.state.date),useShortMonthInDropdown:i.props.useShortMonthInDropdown})})),fe(ve(i),"renderMonthYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(i.props.showMonthYearDropdown&&!e)return n.createElement(vt,{dropdownMode:i.props.dropdownMode,locale:i.props.locale,dateFormat:i.props.dateFormat,onChange:i.changeMonthYear,minDate:i.props.minDate,maxDate:i.props.maxDate,date:i.state.date,scrollableMonthYearDropdown:i.props.scrollableMonthYearDropdown})})),fe(ve(i),"renderTodayButton",(function(){if(i.props.todayButton&&!i.props.showTimeSelectOnly)return n.createElement("div",{className:"react-datepicker__today-button",onClick:function(e){return i.props.onSelect(B(Ee()),e)}},i.props.todayButton)})),fe(ve(i),"renderDefaultHeader",(function(e){var t=e.monthDate,r=e.i;return n.createElement("div",{className:"react-datepicker__header"},i.renderCurrentMonth(t),n.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(i.props.dropdownMode),onFocus:i.handleDropdownFocus},i.renderMonthDropdown(0!==r),i.renderMonthYearDropdown(0!==r),i.renderYearDropdown(0!==r)),n.createElement("div",{className:"react-datepicker__day-names"},i.header(t)))})),fe(ve(i),"renderCustomHeader",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.monthDate,r=e.i;if(0!==r&&void 0!==r)return null;var o=rt(i.state.date,i.props),a=ot(i.state.date,i.props),s=it(i.state.date,i.props),l=at(i.state.date,i.props),c=!i.props.showMonthYearPicker&&!i.props.showQuarterYearPicker&&!i.props.showYearPicker;return n.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:i.props.onDropdownFocus},i.props.renderCustomHeader(ge(ge({},i.state),{},{changeMonth:i.changeMonth,changeYear:i.changeYear,decreaseMonth:i.decreaseMonth,increaseMonth:i.increaseMonth,decreaseYear:i.decreaseYear,increaseYear:i.increaseYear,prevMonthButtonDisabled:o,nextMonthButtonDisabled:a,prevYearButtonDisabled:s,nextYearButtonDisabled:l})),c&&n.createElement("div",{className:"react-datepicker__day-names"},i.header(t)))})),fe(ve(i),"renderYearHeader",(function(){return n.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},i.props.showYearPicker?"".concat(D(i.state.date)-11," - ").concat(D(i.state.date)):D(i.state.date))})),fe(ve(i),"renderHeader",(function(e){switch(!0){case void 0!==i.props.renderCustomHeader:return i.renderCustomHeader(e);case i.props.showMonthYearPicker||i.props.showQuarterYearPicker||i.props.showYearPicker:return i.renderYearHeader(e);default:return i.renderDefaultHeader(e)}})),fe(ve(i),"renderMonths",(function(){if(!i.props.showTimeSelectOnly&&!i.props.showYearPicker){for(var e=[],t=i.props.showPreviousMonths?i.props.monthsShown-1:0,r=b(i.state.date,t),o=0;o<i.props.monthsShown;++o){var a=o-i.props.monthSelectedIn,s=h(r,a),l="month-".concat(o);e.push(n.createElement("div",{key:l,ref:function(e){i.monthContainer=e},className:"react-datepicker__month-container"},i.renderHeader({monthDate:s,i:o}),n.createElement(Mt,{chooseDayAriaLabelPrefix:i.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:i.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:i.props.weekAriaLabelPrefix,onChange:i.changeMonthYear,day:s,dayClassName:i.props.dayClassName,monthClassName:i.props.monthClassName,onDayClick:i.handleDayClick,handleOnKeyDown:i.props.handleOnKeyDown,onDayMouseEnter:i.handleDayMouseEnter,onMouseLeave:i.handleMonthMouseLeave,onWeekSelect:i.props.onWeekSelect,orderInDisplay:o,formatWeekNumber:i.props.formatWeekNumber,locale:i.props.locale,minDate:i.props.minDate,maxDate:i.props.maxDate,excludeDates:i.props.excludeDates,highlightDates:i.props.highlightDates,selectingDate:i.state.selectingDate,includeDates:i.props.includeDates,inline:i.props.inline,fixedHeight:i.props.fixedHeight,filterDate:i.props.filterDate,preSelection:i.props.preSelection,selected:i.props.selected,selectsStart:i.props.selectsStart,selectsEnd:i.props.selectsEnd,showWeekNumbers:i.props.showWeekNumbers,startDate:i.props.startDate,endDate:i.props.endDate,peekNextMonth:i.props.peekNextMonth,setOpen:i.props.setOpen,shouldCloseOnSelect:i.props.shouldCloseOnSelect,renderDayContents:i.props.renderDayContents,disabledKeyboardNavigation:i.props.disabledKeyboardNavigation,showMonthYearPicker:i.props.showMonthYearPicker,showFullMonthYearPicker:i.props.showFullMonthYearPicker,showYearPicker:i.props.showYearPicker,showQuarterYearPicker:i.props.showQuarterYearPicker,isInputFocused:i.props.isInputFocused,containerRef:i.containerRef})))}return e}})),fe(ve(i),"renderYears",(function(){if(!i.props.showTimeSelectOnly)return i.props.showYearPicker?n.createElement("div",{className:"react-datepicker__year"},i.renderHeader(),n.createElement(Tt,{onDayClick:i.handleDayClick,date:i.state.date})):void 0})),fe(ve(i),"renderTimeSection",(function(){if(i.props.showTimeSelect&&(i.state.monthContainer||i.props.showTimeSelectOnly))return n.createElement(xt,{selected:i.props.selected,openToDate:i.props.openToDate,onChange:i.props.onTimeChange,timeClassName:i.props.timeClassName,format:i.props.timeFormat,includeTimes:i.props.includeTimes,intervals:i.props.timeIntervals,minTime:i.props.minTime,maxTime:i.props.maxTime,excludeTimes:i.props.excludeTimes,timeCaption:i.props.timeCaption,todayButton:i.props.todayButton,showMonthDropdown:i.props.showMonthDropdown,showMonthYearDropdown:i.props.showMonthYearDropdown,showYearDropdown:i.props.showYearDropdown,withPortal:i.props.withPortal,monthRef:i.state.monthContainer,injectTimes:i.props.injectTimes,locale:i.props.locale})})),fe(ve(i),"renderInputTimeSection",(function(){var e=new Date(i.props.selected),t="".concat(dt(e.getHours()),":").concat(dt(e.getMinutes()));if(i.props.showTimeInput)return n.createElement(Et,{timeString:t,timeInputLabel:i.props.timeInputLabel,onChange:i.props.onTimeChange,customTimeInput:i.props.customTimeInput})})),i.containerRef=n.createRef(),i.state={date:i.getDateInView(),selectingDate:null,monthContainer:null},i}return he(r,null,[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},monthsShown:1,monthSelectedIn:0,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",customTimeInput:null}}}]),he(r,[{key:"componentDidMount",value:function(){this.props.showTimeSelect&&(this.assignMonthContainer=void this.setState({monthContainer:this.monthContainer}))}},{key:"componentDidUpdate",value:function(e){this.props.preSelection&&!He(this.props.preSelection,e.preSelection)?this.setState({date:this.props.preSelection}):this.props.openToDate&&!He(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate})}},{key:"render",value:function(){var e=this.props.container||St;return n.createElement("div",{ref:this.containerRef},n.createElement(e,{className:o("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showPopperArrow:this.props.showPopperArrow},this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.props.children))}}]),r}(n.Component),Ct=function(e){return!e.disabled&&-1!==e.tabIndex},Pt=function(e){_e(r,e);var t=we(r);function r(e){var o;return ue(this,r),fe(ve(o=t.call(this,e)),"getTabChildren",(function(){return Array.prototype.slice.call(o.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(Ct)})),fe(ve(o),"handleFocusStart",(function(e){var t=o.getTabChildren();t&&t.length>1&&t[t.length-1].focus()})),fe(ve(o),"handleFocusEnd",(function(e){var t=o.getTabChildren();t&&t.length>1&&t[0].focus()})),o.tabLoopRef=n.createRef(),o}return he(r,null,[{key:"defaultProps",get:function(){return{enableTabLoop:!0}}}]),he(r,[{key:"render",value:function(){return this.props.enableTabLoop?n.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},n.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,n.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:"0",onFocus:this.handleFocusEnd})):this.props.children}}]),r}(n.Component),Ot=function(e){_e(r,e);var t=we(r);function r(){return ue(this,r),t.apply(this,arguments)}return he(r,[{key:"render",value:function(){var e,t=this.props,r=t.className,i=t.wrapperClassName,a=t.hidePopper,s=t.popperComponent,l=t.popperModifiers,c=t.popperPlacement,u=t.popperProps,d=t.targetComponent,h=t.enableTabLoop,f=t.popperOnKeyDown;if(!a){var p=o("react-datepicker-popper",r);e=n.createElement(le.Popper,pe({modifiers:l,placement:c},u),(function(e){var t=e.ref,r=e.style,o=e.placement,i=e.arrowProps;return n.createElement(Pt,{enableTabLoop:h},n.createElement("div",pe({ref:t,style:r},{className:p,"data-placement":o,onKeyDown:f}),n.cloneElement(s,{arrowProps:i})))}))}this.props.popperContainer&&(e=n.createElement(this.props.popperContainer,{},e));var m=o("react-datepicker-wrapper",i);return n.createElement(le.Manager,{className:"react-datepicker-manager"},n.createElement(le.Reference,null,(function(e){var t=e.ref;return n.createElement("div",{ref:t,className:m},d)})),e)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0,popperModifiers:{preventOverflow:{enabled:!0,escapeWithReference:!0,boundariesElement:"viewport"}},popperProps:{},popperPlacement:"bottom-start"}}}]),r}(n.Component),At=se(Lt),Nt=function(e){_e(r,e);var t=we(r);function r(e){var a;return ue(this,r),fe(ve(a=t.call(this,e)),"getPreSelection",(function(){return a.props.openToDate?a.props.openToDate:a.props.selectsEnd&&a.props.startDate?a.props.startDate:a.props.selectsStart&&a.props.endDate?a.props.endDate:Ee()})),fe(ve(a),"calcInitialState",(function(){var e=a.getPreSelection(),t=st(a.props),n=lt(a.props),r=t&&ne(e,t)?t:n&&te(e,n)?n:e;return{open:a.props.startOpen||!1,preventFocus:!1,preSelection:a.props.selected?a.props.selected:r,highlightDates:ct(a.props.highlightDates),focused:!1}})),fe(ve(a),"clearPreventFocusTimeout",(function(){a.preventFocusTimeout&&clearTimeout(a.preventFocusTimeout)})),fe(ve(a),"setFocus",(function(){a.input&&a.input.focus&&a.input.focus()})),fe(ve(a),"setBlur",(function(){a.input&&a.input.blur&&a.input.blur(),a.cancelFocusInput()})),fe(ve(a),"setOpen",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];a.setState({open:e,preSelection:e&&a.state.open?a.state.preSelection:a.calcInitialState().preSelection,lastPreSelectChange:Yt},(function(){e||a.setState((function(e){return{focused:!!t&&e.focused}}),(function(){!t&&a.setBlur(),a.setState({inputValue:null})}))}))})),fe(ve(a),"inputOk",(function(){return i(a.state.preSelection)})),fe(ve(a),"isCalendarOpen",(function(){return void 0===a.props.open?a.state.open&&!a.props.disabled&&!a.props.readOnly:a.props.open})),fe(ve(a),"handleFocus",(function(e){a.state.preventFocus||(a.props.onFocus(e),a.props.preventOpenOnFocus||a.props.readOnly||a.setOpen(!0)),a.setState({focused:!0})})),fe(ve(a),"cancelFocusInput",(function(){clearTimeout(a.inputFocusTimeout),a.inputFocusTimeout=null})),fe(ve(a),"deferFocusInput",(function(){a.cancelFocusInput(),a.inputFocusTimeout=setTimeout((function(){return a.setFocus()}),1)})),fe(ve(a),"handleDropdownFocus",(function(){a.cancelFocusInput()})),fe(ve(a),"handleBlur",(function(e){(!a.state.open||a.props.withPortal||a.props.showTimeInput)&&a.props.onBlur(e),a.setState({focused:!1})})),fe(ve(a),"handleCalendarClickOutside",(function(e){a.props.inline||a.setOpen(!1),a.props.onClickOutside(e),a.props.withPortal&&e.preventDefault()})),fe(ve(a),"handleChange",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0];if(!a.props.onChangeRaw||(a.props.onChangeRaw.apply(ve(a),t),"function"==typeof r.isDefaultPrevented&&!r.isDefaultPrevented())){a.setState({inputValue:r.target.value,lastPreSelectChange:It});var o=Se(r.target.value,a.props.dateFormat,a.props.locale,a.props.strictParsing);!o&&r.target.value||a.setSelected(o,r,!0)}})),fe(ve(a),"handleSelect",(function(e,t,n){a.setState({preventFocus:!0},(function(){return a.preventFocusTimeout=setTimeout((function(){return a.setState({preventFocus:!1})}),50),a.preventFocusTimeout})),a.setSelected(e,t,!1,n),!a.props.shouldCloseOnSelect||a.props.showTimeSelect?a.setPreSelection(e):a.props.inline||a.setOpen(!1)})),fe(ve(a),"setSelected",(function(e,t,n,r){var o=e;null!==o&&Qe(o,a.props)||(ze(a.props.selected,o)&&!a.props.allowSameDay||(null!==o&&(!a.props.selected||n&&(a.props.showTimeSelect||a.props.showTimeSelectOnly||a.props.showTimeInput)||(o=Ce(o,{hour:k(a.props.selected),minute:w(a.props.selected),second:y(a.props.selected)})),a.props.inline||a.setState({preSelection:o}),a.props.inline&&a.props.monthsShown>1&&!a.props.inlineFocusSelectedMonth&&a.setState({monthSelectedIn:r})),a.props.onChange(o,t)),a.props.onSelect(o,t),n||a.setState({inputValue:null}))})),fe(ve(a),"setPreSelection",(function(e){var t=void 0!==a.props.minDate,n=void 0!==a.props.maxDate,r=!0;e&&(t&&n?r=Be(e,a.props.minDate,a.props.maxDate):t?r=te(e,a.props.minDate):n&&(r=ne(e,a.props.maxDate))),r&&a.setState({preSelection:e})})),fe(ve(a),"handleTimeChange",(function(e){var t=Ce(a.props.selected?a.props.selected:a.getPreSelection(),{hour:k(e),minute:w(e)});a.setState({preSelection:t}),a.props.onChange(t),a.props.shouldCloseOnSelect&&a.setOpen(!1),a.props.showTimeInput&&a.setOpen(!0),a.setState({inputValue:null})})),fe(ve(a),"onInputClick",(function(){a.props.disabled||a.props.readOnly||a.setOpen(!0),a.props.onInputClick()})),fe(ve(a),"onInputKeyDown",(function(e){a.props.onKeyDown(e);var t=e.key;if(a.state.open||a.props.inline||a.props.preventOpenOnFocus){if(a.state.open){if("ArrowDown"===t||"ArrowUp"===t){e.preventDefault();var n=a.calendar.componentNode&&a.calendar.componentNode.querySelector('.react-datepicker__day[tabindex="0"]');return void(n&&n.focus())}var r=Ee(a.state.preSelection);"Enter"===t?(e.preventDefault(),a.inputOk()&&a.state.lastPreSelectChange===Yt?(a.handleSelect(r,e),!a.props.shouldCloseOnSelect&&a.setPreSelection(r)):a.setOpen(!1)):"Escape"===t&&(e.preventDefault(),a.setOpen(!1)),a.inputOk()||a.props.onInputError({code:1,msg:"Date input not valid."})}}else"ArrowDown"!==t&&"ArrowUp"!==t&&"Enter"!==t||a.onInputClick()})),fe(ve(a),"onDayKeyDown",(function(e){a.props.onKeyDown(e);var t=e.key,n=Ee(a.state.preSelection);if("Enter"===t)e.preventDefault(),a.handleSelect(n,e),!a.props.shouldCloseOnSelect&&a.setPreSelection(n);else if("Escape"===t)e.preventDefault(),a.setOpen(!1),a.inputOk()||a.props.onInputError({code:1,msg:"Date input not valid."});else if(!a.props.disabledKeyboardNavigation){var r;switch(t){case"ArrowLeft":r=g(n,1);break;case"ArrowRight":r=u(n,1);break;case"ArrowUp":r=_(n,1);break;case"ArrowDown":r=d(n,1);break;case"PageUp":r=b(n,1);break;case"PageDown":r=h(n,1);break;case"Home":r=v(n,1);break;case"End":r=f(n,1)}if(!r)return void(a.props.onInputError&&a.props.onInputError({code:1,msg:"Date input not valid."}));e.preventDefault(),a.setState({lastPreSelectChange:Yt}),a.props.adjustDateOnChange&&a.setSelected(r),a.setPreSelection(r)}})),fe(ve(a),"onPopperKeyDown",(function(e){"Escape"===e.key&&(e.preventDefault(),a.setState({preventFocus:!0},(function(){a.setOpen(!1),setTimeout((function(){a.setFocus(),a.setState({preventFocus:!1})}))})))})),fe(ve(a),"onClearClick",(function(e){e&&e.preventDefault&&e.preventDefault(),a.props.onChange(null,e),a.setState({inputValue:null})})),fe(ve(a),"clear",(function(){a.onClearClick()})),fe(ve(a),"renderCalendar",(function(){return a.props.inline||a.isCalendarOpen()?n.createElement(At,{ref:function(e){a.calendar=e},locale:a.props.locale,chooseDayAriaLabelPrefix:a.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:a.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:a.props.weekAriaLabelPrefix,adjustDateOnChange:a.props.adjustDateOnChange,setOpen:a.setOpen,shouldCloseOnSelect:a.props.shouldCloseOnSelect,dateFormat:a.props.dateFormatCalendar,useWeekdaysShort:a.props.useWeekdaysShort,formatWeekDay:a.props.formatWeekDay,dropdownMode:a.props.dropdownMode,selected:a.props.selected,preSelection:a.state.preSelection,onSelect:a.handleSelect,onWeekSelect:a.props.onWeekSelect,openToDate:a.props.openToDate,minDate:a.props.minDate,maxDate:a.props.maxDate,selectsStart:a.props.selectsStart,selectsEnd:a.props.selectsEnd,startDate:a.props.startDate,endDate:a.props.endDate,excludeDates:a.props.excludeDates,filterDate:a.props.filterDate,onClickOutside:a.handleCalendarClickOutside,formatWeekNumber:a.props.formatWeekNumber,highlightDates:a.state.highlightDates,includeDates:a.props.includeDates,includeTimes:a.props.includeTimes,injectTimes:a.props.injectTimes,inline:a.props.inline,peekNextMonth:a.props.peekNextMonth,showMonthDropdown:a.props.showMonthDropdown,showPreviousMonths:a.props.showPreviousMonths,useShortMonthInDropdown:a.props.useShortMonthInDropdown,showMonthYearDropdown:a.props.showMonthYearDropdown,showWeekNumbers:a.props.showWeekNumbers,showYearDropdown:a.props.showYearDropdown,withPortal:a.props.withPortal,forceShowMonthNavigation:a.props.forceShowMonthNavigation,showDisabledMonthNavigation:a.props.showDisabledMonthNavigation,scrollableYearDropdown:a.props.scrollableYearDropdown,scrollableMonthYearDropdown:a.props.scrollableMonthYearDropdown,todayButton:a.props.todayButton,weekLabel:a.props.weekLabel,outsideClickIgnoreClass:"react-datepicker-ignore-onclickoutside",fixedHeight:a.props.fixedHeight,monthsShown:a.props.monthsShown,monthSelectedIn:a.state.monthSelectedIn,onDropdownFocus:a.handleDropdownFocus,onMonthChange:a.props.onMonthChange,onYearChange:a.props.onYearChange,dayClassName:a.props.dayClassName,weekDayClassName:a.props.weekDayClassName,monthClassName:a.props.monthClassName,timeClassName:a.props.timeClassName,showTimeSelect:a.props.showTimeSelect,showTimeSelectOnly:a.props.showTimeSelectOnly,onTimeChange:a.handleTimeChange,timeFormat:a.props.timeFormat,timeIntervals:a.props.timeIntervals,minTime:a.props.minTime,maxTime:a.props.maxTime,excludeTimes:a.props.excludeTimes,timeCaption:a.props.timeCaption,className:a.props.calendarClassName,container:a.props.calendarContainer,yearDropdownItemNumber:a.props.yearDropdownItemNumber,previousMonthButtonLabel:a.props.previousMonthButtonLabel,nextMonthButtonLabel:a.props.nextMonthButtonLabel,previousYearButtonLabel:a.props.previousYearButtonLabel,nextYearButtonLabel:a.props.nextYearButtonLabel,timeInputLabel:a.props.timeInputLabel,disabledKeyboardNavigation:a.props.disabledKeyboardNavigation,renderCustomHeader:a.props.renderCustomHeader,popperProps:a.props.popperProps,renderDayContents:a.props.renderDayContents,onDayMouseEnter:a.props.onDayMouseEnter,onMonthMouseLeave:a.props.onMonthMouseLeave,showTimeInput:a.props.showTimeInput,showMonthYearPicker:a.props.showMonthYearPicker,showFullMonthYearPicker:a.props.showFullMonthYearPicker,showYearPicker:a.props.showYearPicker,showQuarterYearPicker:a.props.showQuarterYearPicker,showPopperArrow:a.props.showPopperArrow,excludeScrollbar:a.props.excludeScrollbar,handleOnKeyDown:a.onDayKeyDown,isInputFocused:a.state.focused,customTimeInput:a.props.customTimeInput,setPreSelection:a.setPreSelection},a.props.children):null})),fe(ve(a),"renderDateInput",(function(){var e,t,r,i,s,l=o(a.props.className,fe({},"react-datepicker-ignore-onclickoutside",a.state.open)),c=a.props.customInput||n.createElement("input",{type:"text"}),u=a.props.customInputRef||"ref",d="string"==typeof a.props.value?a.props.value:"string"==typeof a.state.inputValue?a.state.inputValue:(t=a.props.selected,i=(r=a.props).dateFormat,s=r.locale,t&&Le(t,Array.isArray(i)?i[0]:i,s)||"");return n.cloneElement(c,(fe(e={},u,(function(e){a.input=e})),fe(e,"value",d),fe(e,"onBlur",a.handleBlur),fe(e,"onChange",a.handleChange),fe(e,"onClick",a.onInputClick),fe(e,"onFocus",a.handleFocus),fe(e,"onKeyDown",a.onInputKeyDown),fe(e,"id",a.props.id),fe(e,"name",a.props.name),fe(e,"autoFocus",a.props.autoFocus),fe(e,"placeholder",a.props.placeholderText),fe(e,"disabled",a.props.disabled),fe(e,"autoComplete",a.props.autoComplete),fe(e,"className",o(c.props.className,l)),fe(e,"title",a.props.title),fe(e,"readOnly",a.props.readOnly),fe(e,"required",a.props.required),fe(e,"tabIndex",a.props.tabIndex),fe(e,"aria-labelledby",a.props.ariaLabelledBy),e))})),fe(ve(a),"renderClearButton",(function(){var e=a.props,t=e.isClearable,r=e.selected,o=e.clearButtonTitle,i=e.ariaLabelClose,s=void 0===i?"Close":i;return t&&null!=r?n.createElement("button",{type:"button",className:"react-datepicker__close-icon","aria-label":s,onClick:a.onClearClick,title:o,tabIndex:-1}):null})),a.state=a.calcInitialState(),a}return he(r,null,[{key:"defaultProps",get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onInputClick:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},onCalendarOpen:function(){},onCalendarClose:function(){},preventOpenOnFocus:!1,onYearChange:function(){},onInputError:function(){},monthsShown:1,readOnly:!1,withPortal:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,strictParsing:!1,timeIntervals:30,timeCaption:"Time",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,renderDayContents:function(e){return e},inlineFocusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null}}}]),he(r,[{key:"componentDidUpdate",value:function(e,t){var n,r;e.inline&&(n=e.selected,r=this.props.selected,n&&r?E(n)!==E(r)||D(n)!==D(r):n!==r)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:ct(this.props.highlightDates)}),t.focused||ze(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&this.props.onCalendarOpen(),!0===t.open&&!1===this.state.open&&this.props.onCalendarClose())}},{key:"componentWillUnmount",value:function(){this.clearPreventFocusTimeout()}},{key:"render",value:function(){var e=this.renderCalendar();return this.props.inline&&!this.props.withPortal?e:this.props.withPortal?n.createElement("div",null,this.props.inline?null:n.createElement("div",{className:"react-datepicker__input-container"},this.renderDateInput(),this.renderClearButton()),this.state.open||this.props.inline?n.createElement("div",{className:"react-datepicker__portal"},e):null):n.createElement(Ot,{className:this.props.popperClassName,wrapperClassName:this.props.wrapperClassName,hidePopper:!this.isCalendarOpen(),popperModifiers:this.props.popperModifiers,targetComponent:n.createElement("div",{className:"react-datepicker__input-container"},this.renderDateInput(),this.renderClearButton()),popperContainer:this.props.popperContainer,popperComponent:e,popperPlacement:this.props.popperPlacement,popperProps:this.props.popperProps,popperOnKeyDown:this.onPopperKeyDown,enableTabLoop:this.props.enableTabLoop})}}]),r}(n.Component),It="input",Yt="navigate";t.CalendarContainer=St,t.default=Nt,t.getDefaultLocale=Ve,t.registerLocale=function(t,n){var r="undefined"!=typeof window?window:e;r.__localeData__||(r.__localeData__={}),r.__localeData__[t]=n},t.setDefaultLocale=function(t){("undefined"!=typeof window?window:e).__localeId__=t},Object.defineProperty(t,"__esModule",{value:!0})}(t,n(0),n(16),n(43),n(298),n(74),n(452),n(75),n(76),n(40),n(77),n(41),n(78),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(454),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(79),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(26),n(18),n(325),n(56),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),n(334),n(335),n(336),n(337),n(4),n(451),n(338),n(339),n(453))}).call(this,n(35))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(7),o=n(28),i=n(2);function a(e,t){Object(i.a)(2,arguments);var n=Object(r.a)(t);return Object(o.a)(e,-n)}},function(e,t,n){"use strict";function r(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function o(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}var i={p:o,P:function(e,t){var n,i=e.match(/(P+)(p+)?/),a=i[1],s=i[2];if(!s)return r(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",r(a,t)).replace("{{time}}",o(s,t))}};t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(4),o=n(21),i=n(2);function a(e){Object(i.a)(1,arguments);var t=Object(r.default)(e),n=t.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var s=Object(o.a)(a),l=new Date(0);l.setUTCFullYear(n,0,4),l.setUTCHours(0,0,0,0);var c=Object(o.a)(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(4),o=n(2);function i(e){Object(o.a)(1,arguments);var t=Object(r.default)(e),n=t.getFullYear(),i=t.getMonth(),a=new Date(0);return a.setFullYear(n,i+1,0),a.setHours(0,0,0,0),a.getDate()}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return i}));var r=n(4),o=n(2);function i(e){Object(o.a)(1,arguments);var t=Object(r.default)(e),n=t.getMonth(),i=n-n%3;return t.setMonth(i,1),t.setHours(0,0,0,0),t}},function(e,t,n){"use strict";var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function o(e){return function(t){var n=t||{},r=n.width?String(n.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var i={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function s(e){return function(t,n){var r,o=n||{};if("formatting"===(o.context?String(o.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=o.width?String(o.width):i;r=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,l=o.width?String(o.width):e.defaultWidth;r=e.values[l]||e.values[s]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function l(e){return function(t,n){var r=String(t),o=n||{},i=o.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=r.match(a);if(!s)return null;var l,c=s[0],u=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth];return l="[object Array]"===Object.prototype.toString.call(u)?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}(u,(function(e){return e.test(c)})):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}(u,(function(e){return e.test(c)})),l=e.valueCallback?e.valueCallback(l):l,{value:l=o.valueCallback?o.valueCallback(l):l,rest:r.slice(c.length)}}}var c,u={code:"en-US",formatDistance:function(e,t,n){var o;return n=n||{},o="string"==typeof r[e]?r[e]:1===t?r[e].one:r[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"in "+o:o+" ago":o},formatLong:i,formatRelative:function(e,t,n,r){return a[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:s({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:s({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:s({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:s({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:s({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(c={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e,t){var n=String(e),r=t||{},o=n.match(c.matchPattern);if(!o)return null;var i=o[0],a=n.match(c.parsePattern);if(!a)return null;var s=c.valueCallback?c.valueCallback(a[0]):a[0];return{value:s=r.valueCallback?r.valueCallback(s):s,rest:n.slice(i.length)}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};t.a=u},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(4),o=n(19),i=n(7),a=n(29),s=n(2);function l(e,t){Object(s.a)(1,arguments);var n=t||{},r=n.locale,l=r&&r.options&&r.options.firstWeekContainsDate,c=null==l?1:Object(i.a)(l),u=null==n.firstWeekContainsDate?c:Object(i.a)(n.firstWeekContainsDate),d=Object(a.a)(e,t),h=new Date(0);h.setUTCFullYear(d,0,u),h.setUTCHours(0,0,0,0);var f=Object(o.a)(h,t);return f}function c(e,t){Object(s.a)(1,arguments);var n=Object(r.default)(e),i=Object(o.a)(n,t).getTime()-l(n,t).getTime();return Math.round(i/6048e5)+1}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(4),o=n(21),i=n(54),a=n(2);function s(e){Object(a.a)(1,arguments);var t=Object(i.a)(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=Object(o.a)(n);return r}function l(e){Object(a.a)(1,arguments);var t=Object(r.default)(e),n=Object(o.a)(t).getTime()-s(t).getTime();return Math.round(n/6048e5)+1}},function(e,t,n){var r=n(445),o=n(446),i=n(447),a=n(449);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},function(e,t,n){"use strict";
31
  /*
32
  object-assign
33
  (c) Sindre Sorhus
34
  @license MIT
35
- */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=a(e),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))o.call(n,u)&&(l[u]=n[u]);if(r){s=r(n);for(var d=0;d<s.length;d++)i.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(e,t,n){"use strict";(function(t){var r=n(17),o=n(265),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,l={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==t)&&(s=n(86)),s),transformRequest:[function(e,t){return o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(i)})),e.exports=l}).call(this,n(85))},function(e,t,n){"use strict";t.__esModule=!0,t.isValidDelay=o,t.objectValues=function(e){return Object.keys(e).map((function(t){return e[t]}))},t.falseOrElement=t.falseOrDelay=void 0;var r=n(0);function o(e){return"number"==typeof e&&!isNaN(e)&&e>0}function i(e){return e.isRequired=function(t,n,r){if(void 0===t[n])return new Error("The prop "+n+" is marked as required in \n "+r+", but its value is undefined.");e(t,n,r)},e}var a=i((function(e,t,n){var r=e[t];return!1===r||o(r)?null:new Error(n+" expect "+t+" \n to be a valid Number > 0 or equal to false. "+r+" given.")}));t.falseOrDelay=a;var s=i((function(e,t,n){var o=e[t];return!1===o||(0,r.isValidElement)(o)?null:new Error(n+" expect "+t+" \n to be a valid react element or equal to false. "+o+" given.")}));t.falseOrElement=s},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";var r=n(343);e.exports=Function.prototype.bind||r},function(e,t,n){var r=n(355),o=n(38);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,s))}},function(e,t,n){var r=n(25)(n(23),"Map");e.exports=r},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(372),o=n(379),i=n(381),a=n(382),s=n(383);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(400),o=n(407),i=n(244);e.exports=function(e){return i(e)?r(e):o(e)}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){var r=n(24),o=n(73),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(37),o=n(38);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return i}));var r=n(4),o=n(2);function i(e){Object(o.a)(1,arguments);var t=Object(r.default)(e);return!isNaN(t)}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(7),o=n(28),i=n(2);function a(e,t){Object(i.a)(2,arguments);var n=Object(r.a)(t);return Object(o.a)(e,6e4*n)}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(7),o=n(28),i=n(2);function a(e,t){Object(i.a)(2,arguments);var n=Object(r.a)(t);return Object(o.a)(e,36e5*n)}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(7),o=n(40),i=n(2);function a(e,t){Object(i.a)(2,arguments);var n=Object(r.a)(t),a=7*n;return Object(o.default)(e,a)}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(7),o=n(41),i=n(2);function a(e,t){Object(i.a)(2,arguments);var n=Object(r.a)(t);return Object(o.default)(e,12*n)}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return s}));var r=n(7),o=n(4),i=n(55),a=n(2);function s(e,t){Object(a.a)(2,arguments);var n=Object(o.default)(e),s=Object(r.a)(t),l=n.getFullYear(),c=n.getDate(),u=new Date(0);u.setFullYear(l,s,15),u.setHours(0,0,0,0);var d=Object(i.a)(u);return n.setMonth(s,Math.min(c,d)),n}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";(function(e){
36
  /**!
37
  * @fileOverview Kickass library to create and place poppers near their reference elements.
38
  * @version 1.16.1
@@ -57,13 +57,13 @@ object-assign
57
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
58
  * SOFTWARE.
59
  */
60
- var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var o=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),r))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:l(s(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function h(e){return 11===e?u:10===e?d:u||d}function f(e){if(!e)return document.documentElement;for(var t=h(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?f(n):n:e?e.ownerDocument.documentElement:document.documentElement}function p(e){return null!==e.parentNode?p(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&f(a.firstElementChild)!==a?f(l):l;var c=p(e);return c.host?m(c.host,t):m(e,p(t).host)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(t,"top"),o=g(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function b(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function v(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],h(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function y(e){var t=e.body,n=e.documentElement,r=h(10)&&getComputedStyle(n);return{height:v("Height",t,n,r),width:v("Width",t,n,r)}}var w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},k=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),M=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function T(e){return x({},e,{right:e.left+e.width,bottom:e.top+e.height})}function E(e){var t={};try{if(h(10)){t=e.getBoundingClientRect();var n=g(e,"top"),r=g(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?y(e.ownerDocument):{},s=i.width||e.clientWidth||o.width,l=i.height||e.clientHeight||o.height,c=e.offsetWidth-s,u=e.offsetHeight-l;if(c||u){var d=a(e);c-=b(d,"x"),u-=b(d,"y"),o.width-=c,o.height-=u}return T(o)}function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=h(10),o="HTML"===t.nodeName,i=E(e),s=E(t),c=l(e),u=a(t),d=parseFloat(u.borderTopWidth),f=parseFloat(u.borderLeftWidth);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var p=T({top:i.top-s.top-d,left:i.left-s.left-f,width:i.width,height:i.height});if(p.marginTop=0,p.marginLeft=0,!r&&o){var m=parseFloat(u.marginTop),g=parseFloat(u.marginLeft);p.top-=d-m,p.bottom-=d-m,p.left-=f-g,p.right-=f-g,p.marginTop=m,p.marginLeft=g}return(r&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(p=_(p,t)),p}function D(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=S(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:g(n),s=t?0:g(n,"left"),l={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return T(l)}function L(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var n=s(e);return!!n&&L(n)}function C(e){if(!e||!e.parentElement||h())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function P(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?C(e):m(e,c(t));if("viewport"===r)i=D(a,o);else{var u=void 0;"scrollParent"===r?"BODY"===(u=l(s(t))).nodeName&&(u=e.ownerDocument.documentElement):u="window"===r?e.ownerDocument.documentElement:r;var d=S(u,a,o);if("HTML"!==u.nodeName||L(a))i=d;else{var h=y(e.ownerDocument),f=h.height,p=h.width;i.top+=d.top-d.marginTop,i.bottom=f+d.top,i.left+=d.left-d.marginLeft,i.right=p+d.left}}var g="number"==typeof(n=n||0);return i.left+=g?n:n.left||0,i.top+=g?n:n.top||0,i.right-=g?n:n.right||0,i.bottom-=g?n:n.bottom||0,i}function O(e){return e.width*e.height}function A(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=P(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return x({key:e},s[e],{area:O(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function N(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?C(t):m(t,c(n));return S(n,o,r)}function I(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function Y(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function R(e,t,n){n=n.split("-")[0];var r=I(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[s]=n===s?t[s]-r[c]:t[Y(s)],o}function j(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function F(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=j(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=T(t.offsets.popper),t.offsets.reference=T(t.offsets.reference),t=n(t,e))})),t}function H(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=N(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=A(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=R(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=F(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function z(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function B(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function V(){return this.state.isDestroyed=!0,z(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[B("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function U(e){var t=e.ownerDocument;return t?t.defaultView:window}function W(e,t,n,r){n.updateBound=r,U(e).addEventListener("resize",n.updateBound,{passive:!0});var o=l(e);return function e(t,n,r,o){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,r,{passive:!0}),i||e(l(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function q(){this.state.eventsEnabled||(this.state=W(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,U(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Q(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function J(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Q(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var K=n&&/Firefox/i.test(navigator.userAgent);function X(e,t,n){var r=j(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var $=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Z=$.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Z.indexOf(e),r=Z.slice(n+1).concat(Z.slice(0,n));return t?r.reverse():r}var te="flip",ne="clockwise",re="counterclockwise";function oe(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(j(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return T(s)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){Q(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var ie={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:M({},l,i[l]),end:M({},l,i[l]+i[c]-a[c])};e.offsets.popper=x({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],l=void 0;return l=Q(+n)?[+n,0]:oe(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||f(e.instance.popper);e.instance.reference===n&&(n=f(n));var r=B("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=P(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),M({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),M({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=x({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[c]),n[l]>i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!X(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,s=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",d=c?"Top":"Left",h=d.toLowerCase(),f=c?"left":"top",p=c?"bottom":"right",m=I(r)[u];l[p]-m<s[h]&&(e.offsets.popper[h]-=s[h]-(l[p]-m)),l[h]+m>s[p]&&(e.offsets.popper[h]+=l[h]+m-s[p]),e.offsets.popper=T(e.offsets.popper);var g=l[h]+l[u]/2-m/2,_=a(e.instance.popper),b=parseFloat(_["margin"+d]),v=parseFloat(_["border"+d+"Width"]),y=g-e.offsets.popper[h]-b-v;return y=Math.max(Math.min(s[u]-m,y),0),e.arrowElement=r,e.offsets.arrow=(M(n={},h,Math.round(y)),M(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(z(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=P(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=Y(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te:a=[r,o];break;case ne:a=ee(r);break;case re:a=ee(r,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],o=Y(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,h="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),p=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),_="left"===r&&f||"right"===r&&p||"top"===r&&m||"bottom"===r&&g,b=-1!==["top","bottom"].indexOf(r),v=!!t.flipVariations&&(b&&"start"===i&&f||b&&"end"===i&&p||!b&&"start"===i&&m||!b&&"end"===i&&g),y=!!t.flipVariationsByContent&&(b&&"start"===i&&p||b&&"end"===i&&f||!b&&"start"===i&&g||!b&&"end"===i&&m),w=v||y;(h||_||w)&&(e.flipped=!0,(h||_)&&(r=a[l+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=x({},e.offsets.popper,R(e.instance.popper,e.offsets.reference,e.placement)),e=F(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=Y(t),e.offsets.popper=T(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!X(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=j(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=j(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=f(e.instance.popper),l=E(s),c={position:o.position},u=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(o.width),c=i(r.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),h=t?u||d||l%2==c%2?i:a:s,f=t?i:s;return{left:h(l%2==1&&c%2==1&&!d&&t?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:h(r.right)}}(e,window.devicePixelRatio<2||!K),d="bottom"===n?"top":"bottom",h="right"===r?"left":"right",p=B("transform"),m=void 0,g=void 0;if(g="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===h?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&p)c[p]="translate3d("+m+"px, "+g+"px, 0)",c[d]=0,c[h]=0,c.willChange="transform";else{var _="bottom"===d?-1:1,b="right"===h?-1:1;c[d]=g*_,c[h]=m*b,c.willChange=d+", "+h}var v={"x-placement":e.placement};return e.attributes=x({},v,e.attributes),e.styles=x({},c,e.styles),e.arrowStyles=x({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return J(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&J(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=N(o,t,e,n.positionFixed),a=A(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),J(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ae=function(){function e(t,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=x({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(x({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){r.options.modifiers[t]=x({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return x({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return k(e,[{key:"update",value:function(){return H.call(this)}},{key:"destroy",value:function(){return V.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),e}();ae.Utils=("undefined"!=typeof window?window:e).PopperUtils,ae.placements=$,ae.Defaults=ie,t.a=ae}).call(this,n(35))},function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(0)),o=i(n(353));function i(e){return e&&e.__esModule?e:{default:e}}t.default=r.default.createContext||o.default,e.exports=t.default},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return y})),n.d(t,"a",(function(){return w}));var r=n(0),o=n.n(r),i=n(16),a=n.n(i),s=n(31),l=n.n(s),c=n(33),u=n.n(c),d=n(253),h=n.n(d),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function p(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function _(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var b=void 0!==e&&e.env&&"production",v=function(e){function t(){m(this,t);var n=g(this,e.call(this));return n.handleOnClick=function(e){var t=n.chartInstance,r=n.props,o=r.getDatasetAtEvent,i=r.getElementAtEvent,a=r.getElementsAtEvent,s=r.onElementsClick;o&&o(t.getDatasetAtEvent(e),e),i&&i(t.getElementAtEvent(e),e),a&&a(t.getElementsAtEvent(e),e),s&&s(t.getElementsAtEvent(e),e)},n.ref=function(e){n.element=e},n.chartInstance=void 0,n}return _(t,e),t.prototype.componentDidMount=function(){this.renderChart()},t.prototype.componentDidUpdate=function(){if(this.props.redraw)return this.destroyChart(),void this.renderChart();this.updateChart()},t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=(t.redraw,t.type),r=t.options,o=t.plugins,i=t.legend,a=t.height,s=t.width;if(!0===e.redraw)return!0;if(a!==e.height||s!==e.width)return!0;if(n!==e.type)return!0;if(!u()(i,e.legend))return!0;if(!u()(r,e.options))return!0;var l=this.transformDataProp(e);return!u()(this.shadowDataProp,l)||!u()(o,e.plugins)},t.prototype.componentWillUnmount=function(){this.destroyChart()},t.prototype.transformDataProp=function(e){var t=e.data;return"function"==typeof t?t(this.element):t},t.prototype.memoizeDataProps=function(){if(this.props.data){var e=this.transformDataProp(this.props);return this.shadowDataProp=f({},e,{datasets:e.datasets&&e.datasets.map((function(e){return f({},e)}))}),this.saveCurrentDatasets(),e}},t.prototype.checkDatasets=function(e){var n="production"!==b&&"prod"!==b,r=this.props.datasetKeyProvider!==t.getLabelAsKey,o=e.length>1;if(n&&o&&!r){var i=!1;e.forEach((function(e){e.label||(i=!0)})),i&&console.error('[react-chartjs-2] Warning: Each dataset needs a unique key. By default, the "label" property on each dataset is used. Alternatively, you may provide a "datasetKeyProvider" as a prop that returns a unique key.')}},t.prototype.getCurrentDatasets=function(){return this.chartInstance&&this.chartInstance.config.data&&this.chartInstance.config.data.datasets||[]},t.prototype.saveCurrentDatasets=function(){var e=this;this.datasets=this.datasets||{},this.getCurrentDatasets().forEach((function(t){e.datasets[e.props.datasetKeyProvider(t)]=t}))},t.prototype.updateChart=function(){var e=this,t=this.props.options,n=this.memoizeDataProps(this.props);if(this.chartInstance){t&&(this.chartInstance.options=l.a.helpers.configMerge(this.chartInstance.options,t));var r=this.getCurrentDatasets(),o=n.datasets||[];this.checkDatasets(r);var i=h()(r,this.props.datasetKeyProvider);this.chartInstance.config.data.datasets=o.map((function(t){var n=i[e.props.datasetKeyProvider(t)];if(n&&n.type===t.type&&t.data){n.data.splice(t.data.length),t.data.forEach((function(e,r){n.data[r]=t.data[r]}));t.data;var r=p(t,["data"]);return f({},n,r)}return t}));n.datasets;var a=p(n,["datasets"]);this.chartInstance.config.data=f({},this.chartInstance.config.data,a),this.chartInstance.update()}},t.prototype.renderChart=function(){var e=this.props,n=e.options,r=e.legend,o=e.type,i=e.plugins,a=this.element,s=this.memoizeDataProps();void 0===r||u()(t.defaultProps.legend,r)||(n.legend=r),this.chartInstance=new l.a(a,{type:o,data:s,options:n,plugins:i})},t.prototype.destroyChart=function(){if(this.chartInstance){this.saveCurrentDatasets();var e=Object.values(this.datasets);this.chartInstance.config.data.datasets=e,this.chartInstance.destroy()}},t.prototype.render=function(){var e=this.props,t=e.height,n=e.width,r=e.id;return o.a.createElement("canvas",{ref:this.ref,height:t,width:n,id:r,onClick:this.handleOnClick})},t}(o.a.Component);v.getLabelAsKey=function(e){return e.label},v.propTypes={data:a.a.oneOfType([a.a.object,a.a.func]).isRequired,getDatasetAtEvent:a.a.func,getElementAtEvent:a.a.func,getElementsAtEvent:a.a.func,height:a.a.number,legend:a.a.object,onElementsClick:a.a.func,options:a.a.object,plugins:a.a.arrayOf(a.a.object),redraw:a.a.bool,type:function(e,t,n){if(!l.a.controllers[e[t]])return new Error("Invalid chart type `"+e[t]+"` supplied to `"+n+"`.")},width:a.a.number,datasetKeyProvider:a.a.func},v.defaultProps={legend:{display:!0,position:"bottom"},type:"doughnut",height:150,width:300,redraw:!1,options:{},datasetKeyProvider:v.getLabelAsKey};(function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}_(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"doughnut"}))}})(o.a.Component),function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}_(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"pie"}))}}(o.a.Component);var y=function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}return _(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"line"}))},t}(o.a.Component),w=function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}return _(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bar"}))},t}(o.a.Component);(function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}_(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"horizontalBar"}))}})(o.a.Component),function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}_(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"radar"}))}}(o.a.Component),function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}_(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"polarArea"}))}}(o.a.Component),function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}_(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bubble"}))}}(o.a.Component),function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}_(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"scatter"}))}}(o.a.Component),l.a.defaults}).call(this,n(85))},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,c=[],u=!1,d=-1;function h(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&f())}function f(){if(!u){var e=s(h);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new p(e,t)),1!==c.length||u||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(17),o=n(266),i=n(268),a=n(269),s=n(270),l=n(87);e.exports=function(e){return new Promise((function(t,c){var u=e.data,d=e.headers;r.isFormData(u)&&delete d["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",p=e.auth.password||"";d.Authorization="Basic "+btoa(f+":"+p)}if(h.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?a(h.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};o(t,c,r),h=null}},h.onerror=function(){c(l("Network Error",e,null,h)),h=null},h.ontimeout=function(){c(l("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var m=n(271),g=(e.withCredentials||s(e.url))&&e.xsrfCookieName?m.read(e.xsrfCookieName):void 0;g&&(d[e.xsrfHeaderName]=g)}if("setRequestHeader"in h&&r.forEach(d,(function(e,t){void 0===u&&"content-type"===t.toLowerCase()?delete d[t]:h.setRequestHeader(t,e)})),e.withCredentials&&(h.withCredentials=!0),e.responseType)try{h.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),c(e),h=null)})),void 0===u&&(u=null),h.send(u)}))}},function(e,t,n){"use strict";var r=n(267);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var l=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",(function(){return a})),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";t.__esModule=!0,t.Flip=t.Zoom=t.Slide=t.Bounce=void 0;var r,o=(r=n(92))&&r.__esModule?r:{default:r};var i=(0,o.default)({enter:"Toastify__bounce-enter",exit:"Toastify__bounce-exit",appendPosition:!0});t.Bounce=i;var a=(0,o.default)({enter:"Toastify__slide-enter",exit:"Toastify__slide-exit",duration:[450,750],appendPosition:!0});t.Slide=a;var s=(0,o.default)({enter:"Toastify__zoom-enter",exit:"Toastify__zoom-exit"});t.Zoom=s;var l=(0,o.default)({enter:"Toastify__flip-enter",exit:"Toastify__flip-exit"});t.Flip=l},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=e.enter,n=e.exit,i=e.duration,l=void 0===i?750:i,c=e.appendPosition,u=void 0!==c&&c;return function(e){var i,c,d=e.children,h=e.position,f=e.preventExitTransition,p=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["children","position","preventExitTransition"]),m=u?t+"--"+h:t,g=u?n+"--"+h:n;Array.isArray(l)&&2===l.length?(i=l[0],c=l[1]):i=c=l;return r.default.createElement(o.default,a({},p,{timeout:f?0:{enter:i,exit:c},onEnter:function(e){e.classList.add(m),e.style.animationFillMode="forwards",e.style.animationDuration=.001*i+"s"},onEntered:function(e){e.classList.remove(m),e.style.cssText=""},onExit:f?s:function(e){e.classList.add(g),e.style.animationFillMode="forwards",e.style.animationDuration=.001*c+"s"}}),d)}};var r=i(n(0)),o=i(n(287));function i(e){return e&&e.__esModule?e:{default:e}}function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var s=function(){}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r={list:new Map,on:function(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off:function(e){return this.list.delete(e),this},emit:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return!!this.list.has(e)&&(this.list.get(e).forEach((function(e){return setTimeout((function(){return e.call.apply(e,[null].concat(n))}),0)})),!0)}};t.default=r},function(e,t,n){var r=n(293);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(295)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){!function(e){"use strict";
61
  //! moment.js locale configuration
62
  e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
63
  //! moment.js locale configuration
64
  var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},o={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,n,i,a){var s=r(t),l=o[e][r(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(3))},function(e,t,n){!function(e){"use strict";
65
  //! moment.js locale configuration
66
- e.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
67
  //! moment.js locale configuration
68
  e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(3))},function(e,t,n){!function(e){"use strict";
69
  //! moment.js locale configuration
@@ -87,7 +87,7 @@ var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0
87
  //! moment.js locale configuration
88
  var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
89
  //! moment.js locale configuration
90
- function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
91
  //! moment.js locale configuration
92
  function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
93
  //! moment.js locale configuration
@@ -111,7 +111,7 @@ var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލ
111
  //! moment.js locale configuration
112
  e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,r=this._calendarEl[e],o=t&&t.hours();return n=r,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(t)),r.replace("{}",o%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
113
  //! moment.js locale configuration
114
- e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
115
  //! moment.js locale configuration
116
  e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(3))},function(e,t,n){!function(e){"use strict";
117
  //! moment.js locale configuration
@@ -121,7 +121,7 @@ e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_Augus
121
  //! moment.js locale configuration
122
  e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(3))},function(e,t,n){!function(e){"use strict";
123
  //! moment.js locale configuration
124
- e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
125
  //! moment.js locale configuration
126
  e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
127
  //! moment.js locale configuration
@@ -177,7 +177,7 @@ var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".s
177
  //! moment.js locale configuration
178
  e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
179
  //! moment.js locale configuration
180
- e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
181
  //! moment.js locale configuration
182
  function t(e){return e%100==11||e%10!=1}function n(e,n,r,o){var i=e+" ";switch(r){case"s":return n||o?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?i+(n||o?"sekúndur":"sekúndum"):i+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?i+(n||o?"mínútur":"mínútum"):n?i+"mínúta":i+"mínútu";case"hh":return t(e)?i+(n||o?"klukkustundir":"klukkustundum"):i+"klukkustund";case"d":return n?"dagur":o?"dag":"degi";case"dd":return t(e)?n?i+"dagar":i+(o?"daga":"dögum"):n?i+"dagur":i+(o?"dag":"degi");case"M":return n?"mánuður":o?"mánuð":"mánuði";case"MM":return t(e)?n?i+"mánuðir":i+(o?"mánuði":"mánuðum"):n?i+"mánuður":i+(o?"mánuð":"mánuði");case"y":return n||o?"ár":"ári";case"yy":return t(e)?i+(n||o?"ár":"árum"):i+(n||o?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
183
  //! moment.js locale configuration
@@ -253,7 +253,7 @@ e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_
253
  //! moment.js locale configuration
254
  function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
255
  //! moment.js locale configuration
256
- function t(e,t,n){var r,o;return"m"===n?t?"минута":"минуту":e+" "+(r=+e,o={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),r%10==1&&r%100!=11?o[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?o[1]:o[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
257
  //! moment.js locale configuration
258
  var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
259
  //! moment.js locale configuration
@@ -275,7 +275,7 @@ e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhw
275
  //! moment.js locale configuration
276
  e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
277
  //! moment.js locale configuration
278
- e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
279
  //! moment.js locale configuration
280
  var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
281
  //! moment.js locale configuration
@@ -291,7 +291,7 @@ e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agost
291
  //! moment.js locale configuration
292
  var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,r,o){var i=function(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),o=e%10,i="";return n>0&&(i+=t[n]+"vatlh"),r>0&&(i+=(""!==i?" ":"")+t[r]+"maH"),o>0&&(i+=(""!==i?" ":"")+t[o]),""===i?"pagh":i}(e);switch(r){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
293
  //! moment.js locale configuration
294
- var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10;return e+(t[r]||t[e%100-r]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
295
  //! moment.js locale configuration
296
  function t(e,t,n,r){var o={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?o[n][0]:o[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
297
  //! moment.js locale configuration
@@ -315,13 +315,13 @@ e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~r
315
  //! moment.js locale configuration
316
  e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
317
  //! moment.js locale configuration
318
- e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
319
  //! moment.js locale configuration
320
  e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(3))},function(e,t,n){!function(e){"use strict";
321
  //! moment.js locale configuration
322
  e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(3))},function(e,t,n){!function(e){"use strict";
323
  //! moment.js locale configuration
324
- e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(3))},function(e,t,n){"use strict";var r=Array.prototype.slice,o=n(228),i=Object.keys,a=i?function(e){return i(e)}:n(340),s=Object.keys;a.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)}):Object.keys=a;return Object.keys||a},e.exports=a},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t=r.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r=n(65),o=n(344)("%Function%"),i=o.apply,a=o.call;e.exports=function(){return r.apply(a,arguments)},e.exports.apply=function(){return r.apply(i,arguments)}},function(e,t,n){"use strict";var r=function(e){return e!=e};e.exports=function(e,t){return 0===e&&0===t?1/e==1/t:e===t||!(!r(e)||!r(t))}},function(e,t,n){"use strict";var r=n(230);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},function(e,t,n){"use strict";var r=Object,o=TypeError;e.exports=function(){if(null!=this&&this!==r(this))throw new o("RegExp.prototype.flags getter called on non-object");var e="";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.sticky&&(e+="y"),e}},function(e,t,n){"use strict";var r=n(232),o=n(36).supportsDescriptors,i=Object.getOwnPropertyDescriptor,a=TypeError;e.exports=function(){if(!o)throw new a("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");if("gim"===/a/gim.flags){var e=i(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof/a/.dotAll)return e.get}return r}},function(e,t,n){var r=n(44),o=n(361),i=n(362),a=n(363),s=n(364),l=n(365);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(37),o=n(68);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(35))},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(384),o=n(387),i=n(388);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var h=l.get(e);if(h&&l.get(t))return h==t;var f=-1,p=!0,m=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++f<u;){var g=e[f],_=t[f];if(a)var b=c?a(_,g,f,t,e,l):a(g,_,f,e,t,l);if(void 0!==b){if(b)continue;p=!1;break}if(m){if(!o(t,(function(e,t){if(!i(m,t)&&(g===e||s(g,e,n,a,l)))return m.push(t)}))){p=!1;break}}else if(g!==_&&!s(g,_,n,a,l)){p=!1;break}}return l.delete(e),l.delete(t),p}},function(e,t,n){var r=n(402),o=n(38),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){(function(e){var r=n(23),o=n(403),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l}).call(this,n(64)(e))},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(404),o=n(405),i=n(406),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t,n){var r=n(236),o=n(71);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var r=n(68);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var r=n(248),o=n(49);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){var r=n(24),o=n(72),i=n(432),a=n(435);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t,n){var r;window,e.exports=(r=n(0),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(e,t,n){e.exports=n(3)()},function(e,t){e.exports=r},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return d}));var r=n(1),o=n.n(r),i=n(0),a=n.n(i);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,c(t).call(this,e))).editor=null,n.domContainer=o.a.createRef(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,o.a.Component),function(e,t,n){t&&l(e.prototype,t)}(t,[{key:"shouldComponentUpdate",value:function(e){return!!this.editor&&(this._shouldUpdateContent(e)&&this.editor.setData(e.data),"disabled"in e&&(this.editor.isReadOnly=e.disabled),!1)}},{key:"componentDidMount",value:function(){this._initializeEditor()}},{key:"componentWillUnmount",value:function(){this._destroyEditor()}},{key:"render",value:function(){return o.a.createElement("div",{ref:this.domContainer,dangerouslySetInnerHTML:{__html:this.props.data||""}})}},{key:"_initializeEditor",value:function(){var e=this;this.props.editor.create(this.domContainer.current,this.props.config).then((function(t){e.editor=t,"disabled"in e.props&&(t.isReadOnly=e.props.disabled),e.props.onInit&&e.props.onInit(t);var n=t.model.document,r=t.editing.view.document;n.on("change:data",(function(n){e.props.onChange&&e.props.onChange(n,t)})),r.on("focus",(function(n){e.props.onFocus&&e.props.onFocus(n,t)})),r.on("blur",(function(n){e.props.onBlur&&e.props.onBlur(n,t)}))})).catch((function(e){console.error(e)}))}},{key:"_destroyEditor",value:function(){var e=this;this.editor&&this.editor.destroy().then((function(){e.editor=null}))}},{key:"_shouldUpdateContent",value:function(e){return this.props.data!==e.data&&this.editor.getData()!==e.data}}]),t}();d.propTypes={editor:a.a.func.isRequired,data:a.a.string,config:a.a.object,onChange:a.a.func,onInit:a.a.func,onFocus:a.a.func,onBlur:a.a.func,disabled:a.a.bool},d.defaultProps={config:{}}},function(e,t,n){"use strict";var r=n(4);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}]).default)},function(e,t,n){var r;(r=window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})).en=Object.assign(r.en||{},{a:"Cannot upload file:",b:"Image toolbar",c:"Table toolbar",d:"Bold",e:"Italic",f:"Block quote",g:"Insert image or file",h:"Choose heading",i:"Heading",j:"image widget",k:"Full size image",l:"Side image",m:"Left aligned image",n:"Centered image",o:"Right aligned image",p:"Insert image",q:"Numbered List",r:"Bulleted List",s:"Insert table",t:"Header column",u:"Insert column left",v:"Insert column right",w:"Delete column",x:"Column",y:"Header row",z:"Insert row below",aa:"Insert row above",ab:"Delete row",ac:"Row",ad:"Merge cell up",ae:"Merge cell right",af:"Merge cell down",ag:"Merge cell left",ah:"Split cell vertically",ai:"Split cell horizontally",aj:"Merge cells",ak:"Enter image caption",al:"Upload failed",am:"media widget",an:"Insert media",ao:"The URL must not be empty.",ap:"This media URL is not supported.",aq:"Link",ar:"Could not obtain resized image URL.",as:"Selecting resized image failed",at:"Could not insert image at the current position.",au:"Inserting image failed",av:"Widget toolbar",aw:"Upload in progress",ax:"Open in a new tab",ay:"Downloadable",az:"Unlink",ba:"Edit link",bb:"Open link in new tab",bc:"This link has no URL",bd:"Save",be:"Cancel",bf:"Link URL",bg:"Paste the media URL in the input.",bh:"Tip: Paste the URL into the content to embed faster.",bi:"Media URL",bj:"Undo",bk:"Redo",bl:"Editor toolbar",bm:"Rich Text Editor, %0",bn:"Rich Text Editor",bo:"Dropdown toolbar",bp:"%0 of %1",bq:"Previous",br:"Next",bs:"Change image text alternative",bt:"Paragraph",bu:"Heading 1",bv:"Heading 2",bw:"Heading 3",bx:"Heading 4",by:"Heading 5",bz:"Heading 6",ca:"Text alternative"}),window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=91)}([function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));class r extends Error{constructor(e,t,n){e=o(e),n&&(e+=" "+JSON.stringify(n)),super(e),this.name="CKEditorError",this.context=t,this.data=n}is(e){return"CKEditorError"===e}}function o(e){const t=e.match(/^([^:]+):/);return t?e+` Read more: https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html#error-${t[1]}\n`:e}},function(e,t,n){"use strict";var r={},o=function(){var e;return function(){return void 0===e&&(e=Boolean(window&&document&&document.all&&!window.atob)),e}}(),i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}();function a(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function s(e,t){for(var n=0;n<e.length;n++){var o=e[n],i=r[o.id],a=0;if(i){for(i.refs++;a<i.parts.length;a++)i.parts[a](o.parts[a]);for(;a<o.parts.length;a++)i.parts.push(f(o.parts[a],t))}else{for(var s=[];a<o.parts.length;a++)s.push(f(o.parts[a],t));r[o.id]={id:o.id,refs:1,parts:s}}}}function l(e){var t=document.createElement("style");if(void 0===e.attributes.nonce){var r=n.nc;r&&(e.attributes.nonce=r)}if(Object.keys(e.attributes).forEach((function(n){t.setAttribute(n,e.attributes[n])})),"function"==typeof e.insert)e.insert(t);else{var o=i(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var c=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function u(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=c(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}var d=null,h=0;function f(e,t){var n,r,o;if(t.singleton){var i=h++;n=d||(d=l(t)),r=u.bind(null,n,i,!1),o=u.bind(null,n,i,!0)}else n=l(t),r=function(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o&&e.setAttribute("media",o),i&&btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).attributes="object"==typeof t.attributes?t.attributes:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=a(e,t);return s(n,t),function(e){for(var o=[],i=0;i<n.length;i++){var l=n[i],c=r[l.id];c&&(c.refs--,o.push(c))}e&&s(a(e,t),t);for(var u=0;u<o.length;u++){var d=o[u];if(0===d.refs){for(var h=0;h<d.parts.length;h++)d.parts[h]();delete r[d.id]}}}}},,function(e,t,n){"use strict";var r=n(7),o="object"==typeof self&&self&&self.Object===Object&&self,i=r.a||o||Function("return this")();t.a=i},function(e,n,r){"use strict";(function(e){var o=r(7),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i&&o.a.process,l=function(){try{return a&&a.require&&a.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}();n.a=l}).call(this,r(8)(e))},function(e,n,r){"use strict";(function(e){var o=r(3),i=r(11),a=t&&!t.nodeType&&t,s=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=s&&s.exports===a?o.a.Buffer:void 0,c=(l?l.isBuffer:void 0)||i.a;n.a=c}).call(this,r(8)(e))},function(e,t,n){"use strict";(function(e){var t=n(13),r=n(0);const o="object"==typeof window?window:e;if(o.CKEDITOR_VERSION)throw new r.b("ckeditor-duplicated-modules: Some CKEditor 5 modules are duplicated.",null);o.CKEDITOR_VERSION=t.a}).call(this,n(9))},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(9))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(68);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";t.a=function(){return!1}},function(e,n,r){"use strict";(function(e){var o=r(3),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?o.a.Buffer:void 0,l=s?s.allocUnsafe:void 0;n.a=function(e,t){if(t)return e.slice();var n=e.length,r=l?l(n):new e.constructor(n);return e.copy(r),r}}).call(this,r(8)(e))},function(e){e.exports=JSON.parse('{"a":"12.4.0"}')},function(e,t,n){var r=n(15);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-placeholder:before,.ck .ck-placeholder:before{content:attr(data-placeholder);pointer-events:none;cursor:text;color:var(--ck-color-engine-placeholder-text)}"},function(e,t,n){var r=n(17);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck-hidden{display:none!important}.ck.ck-reset,.ck.ck-reset_all,.ck.ck-reset_all *{box-sizing:border-box;width:auto;height:auto;position:static}:root{--ck-z-default:1;--ck-z-modal:calc(var(--ck-z-default) + 999);--ck-color-base-foreground:#fafafa;--ck-color-base-background:#fff;--ck-color-base-border:#c4c4c4;--ck-color-base-action:#61b045;--ck-color-base-focus:#6cb5f9;--ck-color-base-text:#333;--ck-color-base-active:#198cf0;--ck-color-base-active-focus:#0e7fe1;--ck-color-base-error:#db3700;--ck-color-focus-border:#47a4f5;--ck-color-focus-shadow:rgba(119,186,248,0.5);--ck-color-focus-disabled-shadow:rgba(119,186,248,0.3);--ck-color-focus-error-shadow:rgba(255,64,31,0.3);--ck-color-text:var(--ck-color-base-text);--ck-color-shadow-drop:rgba(0,0,0,0.15);--ck-color-shadow-drop-active:rgba(0,0,0,0.2);--ck-color-shadow-inner:rgba(0,0,0,0.1);--ck-color-button-default-background:transparent;--ck-color-button-default-hover-background:#e6e6e6;--ck-color-button-default-active-background:#d9d9d9;--ck-color-button-default-active-shadow:#bfbfbf;--ck-color-button-default-disabled-background:transparent;--ck-color-button-on-background:#dedede;--ck-color-button-on-hover-background:#c4c4c4;--ck-color-button-on-active-background:#bababa;--ck-color-button-on-active-shadow:#a1a1a1;--ck-color-button-on-disabled-background:#dedede;--ck-color-button-action-background:var(--ck-color-base-action);--ck-color-button-action-hover-background:#579e3d;--ck-color-button-action-active-background:#53973b;--ck-color-button-action-active-shadow:#498433;--ck-color-button-action-disabled-background:#7ec365;--ck-color-button-action-text:var(--ck-color-base-background);--ck-color-button-save:#008a00;--ck-color-button-cancel:#db3700;--ck-color-switch-button-off-background:#b0b0b0;--ck-color-switch-button-off-hover-background:#a3a3a3;--ck-color-switch-button-on-background:var(--ck-color-button-action-background);--ck-color-switch-button-on-hover-background:#579e3d;--ck-color-switch-button-inner-background:var(--ck-color-base-background);--ck-color-switch-button-inner-shadow:rgba(0,0,0,0.1);--ck-color-dropdown-panel-background:var(--ck-color-base-background);--ck-color-dropdown-panel-border:var(--ck-color-base-border);--ck-color-input-background:var(--ck-color-base-background);--ck-color-input-border:#c7c7c7;--ck-color-input-error-border:var(--ck-color-base-error);--ck-color-input-text:var(--ck-color-base-text);--ck-color-input-disabled-background:#f2f2f2;--ck-color-input-disabled-border:#c7c7c7;--ck-color-input-disabled-text:#5c5c5c;--ck-color-list-background:var(--ck-color-base-background);--ck-color-list-button-hover-background:var(--ck-color-button-default-hover-background);--ck-color-list-button-on-background:var(--ck-color-base-active);--ck-color-list-button-on-background-focus:var(--ck-color-base-active-focus);--ck-color-list-button-on-text:var(--ck-color-base-background);--ck-color-panel-background:var(--ck-color-base-background);--ck-color-panel-border:var(--ck-color-base-border);--ck-color-toolbar-background:var(--ck-color-base-foreground);--ck-color-toolbar-border:var(--ck-color-base-border);--ck-color-tooltip-background:var(--ck-color-base-text);--ck-color-tooltip-text:var(--ck-color-base-background);--ck-color-engine-placeholder-text:#707070;--ck-color-upload-bar-background:#6cb5f9;--ck-color-link-default:#0000f0;--ck-color-link-selected-background:rgba(31,177,255,0.1);--ck-disabled-opacity:.5;--ck-focus-outer-shadow-geometry:0 0 0 3px;--ck-focus-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-shadow);--ck-focus-disabled-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);--ck-focus-error-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);--ck-focus-ring:1px solid var(--ck-color-focus-border);--ck-font-size-base:13px;--ck-line-height-base:1.84615;--ck-font-face:Helvetica,Arial,Tahoma,Verdana,Sans-Serif;--ck-font-size-tiny:0.7em;--ck-font-size-small:0.75em;--ck-font-size-normal:1em;--ck-font-size-big:1.4em;--ck-font-size-large:1.8em;--ck-ui-component-min-height:2.3em}.ck.ck-reset,.ck.ck-reset_all,.ck.ck-reset_all *{margin:0;padding:0;border:0;background:transparent;text-decoration:none;vertical-align:middle;transition:none;word-wrap:break-word}.ck.ck-reset_all,.ck.ck-reset_all *{border-collapse:collapse;font:normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);color:var(--ck-color-text);text-align:left;white-space:nowrap;cursor:auto;float:none}.ck.ck-reset_all .ck-rtl *{text-align:right}.ck.ck-reset_all iframe{vertical-align:inherit}.ck.ck-reset_all textarea{white-space:pre-wrap}.ck.ck-reset_all input[type=password],.ck.ck-reset_all input[type=text],.ck.ck-reset_all textarea{cursor:text}.ck.ck-reset_all input[type=password][disabled],.ck.ck-reset_all input[type=text][disabled],.ck.ck-reset_all textarea[disabled]{cursor:default}.ck.ck-reset_all fieldset{padding:10px;border:2px groove #dfdee3}.ck.ck-reset_all button::-moz-focus-inner{padding:0;border:0}.ck[dir=rtl],.ck[dir=rtl] .ck{text-align:right}:root{--ck-border-radius:2px;--ck-inner-shadow:2px 2px 3px var(--ck-color-shadow-inner) inset;--ck-drop-shadow:0 1px 2px 1px var(--ck-color-shadow-drop);--ck-drop-shadow-active:0 3px 6px 1px var(--ck-color-shadow-drop-active);--ck-spacing-unit:0.6em;--ck-spacing-large:calc(var(--ck-spacing-unit)*1.5);--ck-spacing-standard:var(--ck-spacing-unit);--ck-spacing-medium:calc(var(--ck-spacing-unit)*0.8);--ck-spacing-small:calc(var(--ck-spacing-unit)*0.5);--ck-spacing-tiny:calc(var(--ck-spacing-unit)*0.3);--ck-spacing-extra-tiny:calc(var(--ck-spacing-unit)*0.16)}"},function(e,t,n){var r=n(19);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-editor__editable:not(.ck-editor__nested-editable){border-radius:0}.ck-rounded-corners .ck.ck-editor__editable:not(.ck-editor__nested-editable),.ck.ck-editor__editable:not(.ck-editor__nested-editable).ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-editor__editable:not(.ck-editor__nested-editable).ck-focused{outline:none;border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0}.ck.ck-editor__editable_inline{overflow:auto;padding:0 var(--ck-spacing-standard);border:1px solid transparent}.ck.ck-editor__editable_inline[dir=ltr]{text-align:left}.ck.ck-editor__editable_inline[dir=rtl]{text-align:right}.ck.ck-editor__editable_inline>:first-child{margin-top:var(--ck-spacing-large)}.ck.ck-editor__editable_inline>:last-child{margin-bottom:var(--ck-spacing-large)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_n]:after{border-bottom-color:var(--ck-color-base-foreground)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_s]:after{border-top-color:var(--ck-color-base-foreground)}"},function(e,t,n){var r=n(21);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-label{display:block}.ck.ck-voice-label{display:none}.ck.ck-label{font-weight:700}"},function(e,t,n){var r=n(23);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-sticky-panel .ck-sticky-panel__content_sticky{z-index:var(--ck-z-modal);position:fixed;top:0}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit{top:auto;position:absolute}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky{box-shadow:var(--ck-drop-shadow),0 0;border-width:0 1px 1px;border-top-left-radius:0;border-top-right-radius:0}"},function(e,t,n){var r=n(25);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-toolbar{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;display:flex;flex-flow:row wrap;align-items:center}.ck.ck-toolbar.ck-toolbar_vertical{flex-direction:column}.ck.ck-toolbar.ck-toolbar_floating{flex-wrap:nowrap}.ck.ck-toolbar__separator{display:inline-block}.ck.ck-toolbar__newline{display:block;width:100%}.ck.ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-toolbar,.ck.ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-toolbar{background:var(--ck-color-toolbar-background);padding:0 var(--ck-spacing-small);border:1px solid var(--ck-color-toolbar-border)}.ck.ck-toolbar>*{margin-top:var(--ck-spacing-small);margin-bottom:var(--ck-spacing-small);margin-right:var(--ck-spacing-small)}[dir=rtl] .ck.ck-toolbar>*{margin-left:var(--ck-spacing-small);margin-right:0}.ck.ck-toolbar.ck-toolbar_vertical{padding:0}.ck.ck-toolbar.ck-toolbar_vertical>.ck{width:100%;margin:0;border-radius:0;border:0}[dir=ltr] .ck.ck-toolbar>:last-child{margin-right:0}[dir=rtl] .ck.ck-toolbar>:last-child{margin-left:0}.ck-toolbar-container .ck.ck-toolbar{border:0}.ck.ck-toolbar__separator{align-self:stretch;width:1px;margin-top:0;margin-bottom:0;background:var(--ck-color-toolbar-border)}.ck.ck-toolbar__newline{margin:0}"},function(e,t,n){var r=n(27);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-modal)}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-bottom-width:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar{border-bottom-width:1px;border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}"},function(e,t,n){var r=n(29);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-icon{vertical-align:middle}:root{--ck-icon-size:calc(var(--ck-line-height-base)*var(--ck-font-size-normal))}.ck.ck-icon{width:var(--ck-icon-size);height:var(--ck-icon-size);font-size:.8333350694em;will-change:transform}.ck.ck-icon,.ck.ck-icon *{color:inherit;cursor:inherit}.ck.ck-icon :not([fill]){fill:currentColor}"},function(e,t,n){var r=n(31);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports='.ck.ck-tooltip,.ck.ck-tooltip .ck-tooltip__text:after{position:absolute;pointer-events:none;-webkit-backface-visibility:hidden}.ck-tooltip{visibility:hidden;opacity:0;display:none;z-index:var(--ck-z-modal)}.ck-tooltip .ck-tooltip__text{display:inline-block}.ck-tooltip .ck-tooltip__text:after{content:"";width:0;height:0}:root{--ck-tooltip-arrow-size:5px}.ck.ck-tooltip{left:50%;top:0}.ck.ck-tooltip.ck-tooltip_s{bottom:calc(-1*var(--ck-tooltip-arrow-size));transform:translateY(100%)}.ck.ck-tooltip.ck-tooltip_s .ck-tooltip__text:after{top:calc(-1*var(--ck-tooltip-arrow-size));transform:translateX(-50%);border-left-color:transparent;border-bottom-color:var(--ck-color-tooltip-background);border-right-color:transparent;border-top-color:transparent;border-left-width:var(--ck-tooltip-arrow-size);border-bottom-width:var(--ck-tooltip-arrow-size);border-right-width:var(--ck-tooltip-arrow-size);border-top-width:0}.ck.ck-tooltip.ck-tooltip_n{top:calc(-1*var(--ck-tooltip-arrow-size));transform:translateY(-100%)}.ck.ck-tooltip.ck-tooltip_n .ck-tooltip__text:after{bottom:calc(-1*var(--ck-tooltip-arrow-size));transform:translateX(-50%);border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;border-top-color:var(--ck-color-tooltip-background);border-left-width:var(--ck-tooltip-arrow-size);border-bottom-width:0;border-right-width:var(--ck-tooltip-arrow-size);border-top-width:var(--ck-tooltip-arrow-size)}.ck.ck-tooltip .ck-tooltip__text{border-radius:0}.ck-rounded-corners .ck.ck-tooltip .ck-tooltip__text,.ck.ck-tooltip .ck-tooltip__text.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-tooltip .ck-tooltip__text{font-size:.9em;line-height:1.5;color:var(--ck-color-tooltip-text);padding:var(--ck-spacing-small) var(--ck-spacing-medium);background:var(--ck-color-tooltip-background);position:relative;left:-50%}.ck.ck-tooltip .ck-tooltip__text:after{border-style:solid;left:50%}.ck.ck-tooltip,.ck.ck-tooltip .ck-tooltip__text:after{transition:opacity .2s ease-in-out .2s}'},function(e,t,n){var r=n(33);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-button,a.ck.ck-button{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-button .ck-tooltip,a.ck.ck-button .ck-tooltip{display:block}@media (hover:none){.ck.ck-button .ck-tooltip,a.ck.ck-button .ck-tooltip{display:none}}.ck.ck-button,a.ck.ck-button{position:relative;display:inline-flex;align-items:center;justify-content:left}.ck.ck-button.ck-button_with-text .ck-button__label,a.ck.ck-button.ck-button_with-text .ck-button__label{display:inline-block}.ck.ck-button:not(.ck-button_with-text),a.ck.ck-button:not(.ck-button_with-text){justify-content:center}.ck.ck-button:hover .ck-tooltip,a.ck.ck-button:hover .ck-tooltip{visibility:visible;opacity:1}.ck.ck-button .ck-button__label,.ck.ck-button:focus:not(:hover) .ck-tooltip,a.ck.ck-button .ck-button__label,a.ck.ck-button:focus:not(:hover) .ck-tooltip{display:none}.ck.ck-button,a.ck.ck-button{background:var(--ck-color-button-default-background)}.ck.ck-button:not(.ck-disabled):hover,a.ck.ck-button:not(.ck-disabled):hover{background:var(--ck-color-button-default-hover-background)}.ck.ck-button:not(.ck-disabled):active,a.ck.ck-button:not(.ck-disabled):active{background:var(--ck-color-button-default-active-background);box-shadow:inset 0 2px 2px var(--ck-color-button-default-active-shadow)}.ck.ck-button.ck-disabled,a.ck.ck-button.ck-disabled{background:var(--ck-color-button-default-disabled-background)}.ck.ck-button,a.ck.ck-button{border-radius:0}.ck-rounded-corners .ck.ck-button,.ck-rounded-corners a.ck.ck-button,.ck.ck-button.ck-rounded-corners,a.ck.ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-button,a.ck.ck-button{white-space:nowrap;cursor:default;vertical-align:middle;padding:var(--ck-spacing-tiny);text-align:center;min-width:var(--ck-ui-component-min-height);min-height:var(--ck-ui-component-min-height);line-height:1;font-size:inherit;border:1px solid transparent;transition:box-shadow .2s ease-in-out;-webkit-appearance:none}.ck.ck-button:active,.ck.ck-button:focus,a.ck.ck-button:active,a.ck.ck-button:focus{outline:none;border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;border-color:transparent}.ck.ck-button.ck-disabled:active,.ck.ck-button.ck-disabled:focus,a.ck.ck-button.ck-disabled:active,a.ck.ck-button.ck-disabled:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-button.ck-disabled .ck-button__icon,a.ck.ck-button.ck-disabled .ck-button__icon{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-disabled .ck-button__label,a.ck.ck-button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-button_with-text,a.ck.ck-button.ck-button_with-text{padding:var(--ck-spacing-tiny) var(--ck-spacing-standard)}[dir=ltr] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=ltr] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:calc(-1*var(--ck-spacing-small));margin-right:var(--ck-spacing-small)}[dir=rtl] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=rtl] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-right:calc(-1*var(--ck-spacing-small));margin-left:var(--ck-spacing-small)}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{background:var(--ck-color-button-on-background)}.ck.ck-button.ck-on:not(.ck-disabled):hover,a.ck.ck-button.ck-on:not(.ck-disabled):hover{background:var(--ck-color-button-on-hover-background)}.ck.ck-button.ck-on:not(.ck-disabled):active,a.ck.ck-button.ck-on:not(.ck-disabled):active{background:var(--ck-color-button-on-active-background);box-shadow:inset 0 2px 2px var(--ck-color-button-on-active-shadow)}.ck.ck-button.ck-on.ck-disabled,a.ck.ck-button.ck-on.ck-disabled{background:var(--ck-color-button-on-disabled-background)}.ck.ck-button.ck-button-save,a.ck.ck-button.ck-button-save{color:var(--ck-color-button-save)}.ck.ck-button.ck-button-cancel,a.ck.ck-button.ck-button-cancel{color:var(--ck-color-button-cancel)}.ck.ck-button .ck-button__icon use,.ck.ck-button .ck-button__icon use *,a.ck.ck-button .ck-button__icon use,a.ck.ck-button .ck-button__icon use *{color:inherit}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{font-size:inherit;font-weight:inherit;color:inherit;cursor:inherit;vertical-align:middle}[dir=ltr] .ck.ck-button .ck-button__label,[dir=ltr] a.ck.ck-button .ck-button__label{text-align:left}[dir=rtl] .ck.ck-button .ck-button__label,[dir=rtl] a.ck.ck-button .ck-button__label{text-align:right}.ck.ck-button-action,a.ck.ck-button-action{background:var(--ck-color-button-action-background)}.ck.ck-button-action:not(.ck-disabled):hover,a.ck.ck-button-action:not(.ck-disabled):hover{background:var(--ck-color-button-action-hover-background)}.ck.ck-button-action:not(.ck-disabled):active,a.ck.ck-button-action:not(.ck-disabled):active{background:var(--ck-color-button-action-active-background);box-shadow:inset 0 2px 2px var(--ck-color-button-action-active-shadow)}.ck.ck-button-action.ck-disabled,a.ck.ck-button-action.ck-disabled{background:var(--ck-color-button-action-disabled-background)}.ck.ck-button-action,a.ck.ck-button-action{color:var(--ck-color-button-action-text)}.ck.ck-button-bold,a.ck.ck-button-bold{font-weight:700}"},function(e,t,n){var r=n(35);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck-content blockquote{overflow:hidden;padding-right:1.5em;padding-left:1.5em;margin-left:0;margin-right:0;font-style:italic;border-left:5px solid #ccc}.ck-content[dir=rtl] blockquote{border-left:0;border-right:5px solid #ccc}"},function(e,t,n){var r=n(37);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=":root{--ck-color-resizer:var(--ck-color-focus-border);--ck-resizer-size:10px;--ck-resizer-border-width:1px;--ck-resizer-border-radius:2px;--ck-resizer-offset:calc(var(--ck-resizer-size)/-2 - 2px);--ck-resizer-tooltip-offset:10px;--ck-color-resizer-tooltip-background:#262626;--ck-color-resizer-tooltip-text:#f2f2f2}.ck .ck-widget_with-resizer{position:relative}.ck .ck-widget__resizer{display:none;position:absolute;pointer-events:none;left:0;top:0;outline:1px solid var(--ck-color-resizer)}.ck-focused .ck-widget_with-resizer.ck-widget_selected>.ck-widget__resizer{display:block}.ck .ck-widget__resizer__handle{position:absolute;pointer-events:all;width:var(--ck-resizer-size);height:var(--ck-resizer-size);background:var(--ck-color-focus-border);border:var(--ck-resizer-border-width) solid #fff;border-radius:var(--ck-resizer-border-radius)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{top:var(--ck-resizer-offset);left:var(--ck-resizer-offset);cursor:nwse-resize}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{top:var(--ck-resizer-offset);right:var(--ck-resizer-offset);cursor:nesw-resize}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right{bottom:var(--ck-resizer-offset);right:var(--ck-resizer-offset);cursor:nwse-resize}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left{bottom:var(--ck-resizer-offset);left:var(--ck-resizer-offset);cursor:nesw-resize}.ck .ck-widget.ck-widget_with-selection-handler{position:relative}.ck .ck-widget.ck-widget_with-selection-handler:hover .ck-widget__selection-handler{visibility:visible}.ck .ck-widget.ck-widget_with-selection-handler .ck-widget__selection-handler{position:absolute}.ck .ck-widget.ck-widget_with-selection-handler .ck-widget__selection-handler .ck-icon{display:block}.ck .ck-widget.ck-widget_with-selection-handler.ck-widget_selected .ck-widget__selection-handler{visibility:visible}.ck .ck-size-view{background:var(--ck-color-resizer-tooltip-background);color:var(--ck-color-resizer-tooltip-text);border:1px solid var(--ck-color-resizer-tooltip-text);border-radius:var(--ck-resizer-border-radius);font-size:var(--ck-font-size-tiny);display:block;padding:var(--ck-spacing-small)}.ck .ck-size-view.ck-orientation-bottom-left,.ck .ck-size-view.ck-orientation-bottom-right,.ck .ck-size-view.ck-orientation-top-left,.ck .ck-size-view.ck-orientation-top-right{position:absolute}.ck .ck-size-view.ck-orientation-top-left{top:var(--ck-resizer-tooltip-offset);left:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-top-right{top:var(--ck-resizer-tooltip-offset);right:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-right{bottom:var(--ck-resizer-tooltip-offset);right:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-left{bottom:var(--ck-resizer-tooltip-offset);left:var(--ck-resizer-tooltip-offset)}:root{--ck-widget-outline-thickness:3px;--ck-widget-handler-icon-size:16px;--ck-widget-handler-animation-duration:200ms;--ck-widget-handler-animation-curve:ease;--ck-color-widget-blurred-border:#dedede;--ck-color-widget-hover-border:#ffc83d;--ck-color-widget-editable-focus-background:var(--ck-color-base-background);--ck-color-widget-drag-handler-icon-color:var(--ck-color-base-background)}.ck .ck-widget{outline-width:var(--ck-widget-outline-thickness);outline-style:solid;outline-color:transparent;transition:outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_selected,.ck .ck-widget.ck-widget_selected:hover{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border)}.ck .ck-widget:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-editor__nested-editable{border:1px solid transparent}.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck .ck-editor__nested-editable:focus{outline:none;border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;background-color:var(--ck-color-widget-editable-focus-background)}.ck-editor__editable>.ck-widget.ck-widget_with-selection-handler:first-child,.ck-editor__editable blockquote>.ck-widget.ck-widget_with-selection-handler:first-child{margin-top:calc(1em + var(--ck-widget-handler-icon-size))}.ck .ck-widget.ck-widget_with-selection-handler .ck-widget__selection-handler{padding:4px;box-sizing:border-box;background-color:transparent;opacity:0;transition:background-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),visibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0;transform:translateY(-100%);left:calc(0px - var(--ck-widget-outline-thickness))}.ck .ck-widget.ck-widget_with-selection-handler .ck-widget__selection-handler:hover .ck-icon .ck-icon__selected-indicator{opacity:1}.ck .ck-widget.ck-widget_with-selection-handler .ck-widget__selection-handler .ck-icon{width:var(--ck-widget-handler-icon-size);height:var(--ck-widget-handler-icon-size);color:var(--ck-color-widget-drag-handler-icon-color)}.ck .ck-widget.ck-widget_with-selection-handler .ck-widget__selection-handler .ck-icon .ck-icon__selected-indicator{opacity:0;transition:opacity .3s var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_with-selection-handler.ck-widget_selected .ck-widget__selection-handler,.ck .ck-widget.ck-widget_with-selection-handler.ck-widget_selected:hover .ck-widget__selection-handler{opacity:1;background-color:var(--ck-color-focus-border)}.ck .ck-widget.ck-widget_with-selection-handler.ck-widget_selected .ck-widget__selection-handler .ck-icon .ck-icon__selected-indicator,.ck .ck-widget.ck-widget_with-selection-handler.ck-widget_selected:hover .ck-widget__selection-handler .ck-icon .ck-icon__selected-indicator{opacity:1}.ck .ck-widget.ck-widget_with-selection-handler:hover .ck-widget__selection-handler{opacity:1;background-color:var(--ck-color-widget-hover-border)}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handler .ck-widget__selection-handler{left:auto;right:calc(0px - var(--ck-widget-outline-thickness))}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected,.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover{outline-color:var(--ck-color-widget-blurred-border)}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected .ck-widget__selection-handler,.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected .ck-widget__selection-handler:hover,.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover .ck-widget__selection-handler,.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover .ck-widget__selection-handler:hover{background:var(--ck-color-widget-blurred-border)}.ck-editor__editable.ck-read-only .ck-widget{--ck-widget-outline-thickness:0}"},function(e,t,n){var r=n(39);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-labeled-input .ck-labeled-input__status{font-size:var(--ck-font-size-small);margin-top:var(--ck-spacing-small);white-space:normal}.ck.ck-labeled-input .ck-labeled-input__status_error{color:var(--ck-color-base-error)}"},function(e,t,n){var r=n(41);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=":root{--ck-input-text-width:18em}.ck.ck-input-text{border-radius:0}.ck-rounded-corners .ck.ck-input-text,.ck.ck-input-text.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input-text{box-shadow:var(--ck-inner-shadow),0 0;background:var(--ck-color-input-background);border:1px solid var(--ck-color-input-border);padding:var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);min-width:var(--ck-input-text-width);min-height:var(--ck-ui-component-min-height);transition-property:box-shadow,border;transition:.2s ease-in-out}.ck.ck-input-text:focus{outline:none;border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),var(--ck-inner-shadow)}.ck.ck-input-text[readonly]{border:1px solid var(--ck-color-input-disabled-border);background:var(--ck-color-input-disabled-background);color:var(--ck-color-input-disabled-text)}.ck.ck-input-text[readonly]:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),var(--ck-inner-shadow)}.ck.ck-input-text.ck-error{border-color:var(--ck-color-input-error-border);animation:ck-text-input-shake .3s ease both}.ck.ck-input-text.ck-error:focus{box-shadow:var(--ck-focus-error-outer-shadow),var(--ck-inner-shadow)}@keyframes ck-text-input-shake{20%{transform:translateX(-2px)}40%{transform:translateX(2px)}60%{transform:translateX(-1px)}80%{transform:translateX(1px)}}"},function(e,t,n){var r=n(43);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-text-alternative-form{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-text-alternative-form .ck-labeled-input{display:inline-block}.ck.ck-text-alternative-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-text-alternative-form{flex-wrap:wrap}.ck.ck-text-alternative-form .ck-labeled-input{flex-basis:100%}.ck.ck-text-alternative-form .ck-button{flex-basis:50%}}.ck.ck-text-alternative-form{padding:var(--ck-spacing-standard)}.ck.ck-text-alternative-form:focus{outline:none}[dir=ltr] .ck.ck-text-alternative-form>:not(:first-child),[dir=rtl] .ck.ck-text-alternative-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-text-alternative-form{padding:0;width:calc(0.8*var(--ck-input-text-width))}.ck.ck-text-alternative-form .ck-labeled-input{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-text-alternative-form .ck-labeled-input .ck-input-text{min-width:0;width:100%}.ck.ck-text-alternative-form .ck-button{padding:var(--ck-spacing-standard);margin-top:var(--ck-spacing-standard);border-radius:0;border:0;border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-text-alternative-form .ck-button{margin-left:0}[dir=ltr] .ck.ck-text-alternative-form .ck-button:first-of-type{border-right:1px solid var(--ck-color-base-border)}[dir=rtl] .ck.ck-text-alternative-form .ck-button{margin-left:0}[dir=rtl] .ck.ck-text-alternative-form .ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}}"},function(e,t,n){var r=n(45);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=':root{--ck-balloon-panel-arrow-z-index:calc(var(--ck-z-default) - 3)}.ck.ck-balloon-panel{display:none;position:absolute;z-index:var(--ck-z-modal)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{content:"";position:absolute}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_n]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_n]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_s]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_s]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel.ck-balloon-panel_visible{display:block}:root{--ck-balloon-arrow-offset:2px;--ck-balloon-arrow-height:10px;--ck-balloon-arrow-half-width:8px}.ck.ck-balloon-panel{border-radius:0}.ck-rounded-corners .ck.ck-balloon-panel,.ck.ck-balloon-panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-balloon-panel{box-shadow:var(--ck-drop-shadow),0 0;min-height:15px;background:var(--ck-color-panel-background);border:1px solid var(--ck-color-panel-border)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{width:0;height:0;border-style:solid}.ck.ck-balloon-panel[class*=arrow_n]:after,.ck.ck-balloon-panel[class*=arrow_n]:before{border-left-width:var(--ck-balloon-arrow-half-width);border-bottom-width:var(--ck-balloon-arrow-height);border-right-width:var(--ck-balloon-arrow-half-width);border-top-width:0}.ck.ck-balloon-panel[class*=arrow_n]:before{border-bottom-color:var(--ck-color-panel-border)}.ck.ck-balloon-panel[class*=arrow_n]:after,.ck.ck-balloon-panel[class*=arrow_n]:before{border-left-color:transparent;border-right-color:transparent;border-top-color:transparent}.ck.ck-balloon-panel[class*=arrow_n]:after{border-bottom-color:var(--ck-color-panel-background);margin-top:var(--ck-balloon-arrow-offset)}.ck.ck-balloon-panel[class*=arrow_s]:after,.ck.ck-balloon-panel[class*=arrow_s]:before{border-left-width:var(--ck-balloon-arrow-half-width);border-bottom-width:0;border-right-width:var(--ck-balloon-arrow-half-width);border-top-width:var(--ck-balloon-arrow-height)}.ck.ck-balloon-panel[class*=arrow_s]:before{border-top-color:var(--ck-color-panel-border)}.ck.ck-balloon-panel[class*=arrow_s]:after,.ck.ck-balloon-panel[class*=arrow_s]:before{border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent}.ck.ck-balloon-panel[class*=arrow_s]:after{border-top-color:var(--ck-color-panel-background);margin-bottom:var(--ck-balloon-arrow-offset)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:before{left:50%;margin-left:calc(-1*var(--ck-balloon-arrow-half-width));top:calc(-1*var(--ck-balloon-arrow-height))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:before{left:calc(2*var(--ck-balloon-arrow-half-width));top:calc(-1*var(--ck-balloon-arrow-height))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:before{right:calc(2*var(--ck-balloon-arrow-half-width));top:calc(-1*var(--ck-balloon-arrow-height))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:before{left:50%;margin-left:calc(-1*var(--ck-balloon-arrow-half-width));bottom:calc(-1*var(--ck-balloon-arrow-height))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:before{left:calc(2*var(--ck-balloon-arrow-half-width));bottom:calc(-1*var(--ck-balloon-arrow-height))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:before{right:calc(2*var(--ck-balloon-arrow-half-width));bottom:calc(-1*var(--ck-balloon-arrow-height))}'},function(e,t,n){var r=n(47);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck .ck-balloon-rotator__navigation{display:flex;align-items:center;justify-content:center}.ck .ck-balloon-rotator__content .ck-toolbar{justify-content:center}.ck .ck-balloon-rotator__navigation{background:var(--ck-color-toolbar-background);border-bottom:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation>*{margin-right:var(--ck-spacing-small);margin-top:var(--ck-spacing-small);margin-bottom:var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation .ck-balloon-rotator__counter{margin-right:var(--ck-spacing-standard);margin-left:var(--ck-spacing-small)}.ck .ck-balloon-rotator__content .ck.ck-annotation-wrapper{box-shadow:none}"},function(e,t,n){var r=n(49);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck .ck-fake-panel{position:absolute;z-index:calc(var(--ck-z-modal) - 1)}.ck .ck-fake-panel div{position:absolute}.ck .ck-fake-panel div:first-child{z-index:2}.ck .ck-fake-panel div:nth-child(2){z-index:1}:root{--ck-balloon-fake-panel-offset-horizontal:6px;--ck-balloon-fake-panel-offset-vertical:6px}.ck .ck-fake-panel div{box-shadow:var(--ck-drop-shadow),0 0;min-height:15px;background:var(--ck-color-panel-background);border:1px solid var(--ck-color-panel-border);border-radius:var(--ck-border-radius);width:100%;height:100%}.ck .ck-fake-panel div:first-child{margin-left:var(--ck-balloon-fake-panel-offset-horizontal);margin-top:var(--ck-balloon-fake-panel-offset-vertical)}.ck .ck-fake-panel div:nth-child(2){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*2);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*2)}.ck .ck-fake-panel div:nth-child(3){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*3);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*3)}.ck .ck-balloon-panel_arrow_s+.ck-fake-panel,.ck .ck-balloon-panel_arrow_se+.ck-fake-panel,.ck .ck-balloon-panel_arrow_sw+.ck-fake-panel{--ck-balloon-fake-panel-offset-vertical:-6px}"},function(e,t,n){var r=n(51);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck-content .image{display:table;clear:both;text-align:center;margin:1em auto}.ck-content .image>img{display:block;margin:0 auto;max-width:100%;min-width:50px}"},function(e,t,n){var r=n(53);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-editor__editable .image{position:relative}.ck.ck-editor__editable .image .ck-progress-bar{position:absolute;top:0;left:0}.ck.ck-editor__editable .image.ck-appear{animation:fadeIn .7s}.ck.ck-editor__editable .image .ck-progress-bar{height:2px;width:0;background:var(--ck-color-upload-bar-background);transition:width .1s}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}"},function(e,t,n){var r=n(55);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports='.ck-image-upload-complete-icon{display:block;position:absolute;top:10px;right:10px;border-radius:50%}.ck-image-upload-complete-icon:after{content:"";position:absolute}:root{--ck-color-image-upload-icon:#fff;--ck-color-image-upload-icon-background:#008a00;--ck-image-upload-icon-size:20px;--ck-image-upload-icon-width:2px}.ck-image-upload-complete-icon{width:var(--ck-image-upload-icon-size);height:var(--ck-image-upload-icon-size);opacity:0;background:var(--ck-color-image-upload-icon-background);animation-name:ck-upload-complete-icon-show,ck-upload-complete-icon-hide;animation-fill-mode:forwards,forwards;animation-duration:.5s,.5s;font-size:var(--ck-image-upload-icon-size);animation-delay:0ms,3s}.ck-image-upload-complete-icon:after{left:25%;top:50%;opacity:0;height:0;width:0;transform:scaleX(-1) rotate(135deg);transform-origin:left top;border-top:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);border-right:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);animation-name:ck-upload-complete-icon-check;animation-duration:.5s;animation-delay:.5s;animation-fill-mode:forwards;box-sizing:border-box}@keyframes ck-upload-complete-icon-show{0%{opacity:0}to{opacity:1}}@keyframes ck-upload-complete-icon-hide{0%{opacity:1}to{opacity:0}}@keyframes ck-upload-complete-icon-check{0%{opacity:1;width:0;height:0}33%{width:.3em;height:0}to{opacity:1;width:.3em;height:.45em}}'},function(e,t,n){var r=n(57);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports='.ck .ck-upload-placeholder-loader{position:absolute;display:flex;align-items:center;justify-content:center;top:0;left:0}.ck .ck-upload-placeholder-loader:before{content:"";position:relative}:root{--ck-color-upload-placeholder-loader:#b3b3b3;--ck-upload-placeholder-loader-size:32px}.ck .ck-image-upload-placeholder{width:100%;margin:0}.ck .ck-upload-placeholder-loader{width:100%;height:100%}.ck .ck-upload-placeholder-loader:before{width:var(--ck-upload-placeholder-loader-size);height:var(--ck-upload-placeholder-loader-size);border-radius:50%;border-top:3px solid var(--ck-color-upload-placeholder-loader);border-right:2px solid transparent;animation:ck-upload-placeholder-loader 1s linear infinite}@keyframes ck-upload-placeholder-loader{to{transform:rotate(1turn)}}'},function(e,t,n){var r=n(59);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-dropdown{display:inline-block;position:relative}.ck.ck-dropdown .ck-dropdown__arrow{pointer-events:none;z-index:var(--ck-z-default)}.ck.ck-dropdown .ck-button.ck-dropdown__button{width:100%}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on .ck-tooltip{display:none}.ck.ck-dropdown .ck-dropdown__panel{-webkit-backface-visibility:hidden;display:none;z-index:var(--ck-z-modal);position:absolute}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel-visible{display:inline-block;will-change:transform}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw{bottom:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{transform:translate3d(0,100%,0)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se{left:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{right:0}:root{--ck-dropdown-arrow-size:calc(0.5*var(--ck-icon-size))}.ck.ck-dropdown{font-size:inherit}.ck.ck-dropdown .ck-dropdown__arrow{width:var(--ck-dropdown-arrow-size)}[dir=ltr] .ck.ck-dropdown .ck-dropdown__arrow{right:var(--ck-spacing-standard);margin-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-dropdown .ck-dropdown__arrow{left:var(--ck-spacing-standard);margin-right:var(--ck-spacing-small)}.ck.ck-dropdown.ck-disabled .ck-dropdown__arrow{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-right:var(--ck-spacing-small)}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on{border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-dropdown .ck-button.ck-dropdown__button .ck-button__label{width:7em;overflow:hidden;text-overflow:ellipsis}.ck.ck-dropdown__panel{box-shadow:var(--ck-drop-shadow),0 0;border-radius:0}.ck-rounded-corners .ck.ck-dropdown__panel,.ck.ck-dropdown__panel.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0}.ck.ck-dropdown__panel{background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);bottom:0;min-width:100%}"},function(e,t,n){var r=n(61);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-list{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;display:flex;flex-direction:column}.ck.ck-list .ck-list__item,.ck.ck-list .ck-list__separator{display:block}.ck.ck-list .ck-list__item>:focus{position:relative;z-index:var(--ck-z-default)}.ck.ck-list{border-radius:0}.ck-rounded-corners .ck.ck-list,.ck.ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-list{list-style-type:none;background:var(--ck-color-list-background)}.ck.ck-list__item{cursor:default;min-width:12em}.ck.ck-list__item .ck-button{min-height:unset;width:100%;text-align:left;border-radius:0;border:0;padding:calc(0.2*var(--ck-line-height-base)*var(--ck-font-size-base)) calc(0.4*var(--ck-line-height-base)*var(--ck-font-size-base))}.ck.ck-list__item .ck-button .ck-button__label{line-height:calc(1.2*var(--ck-line-height-base)*var(--ck-font-size-base))}.ck.ck-list__item .ck-button:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on{background:var(--ck-color-list-button-on-background);color:var(--ck-color-list-button-on-text)}.ck.ck-list__item .ck-button.ck-on:hover:not(ck-disabled){background:var(--ck-color-list-button-on-background-focus)}.ck.ck-list__item .ck-button.ck-on:active{box-shadow:none}.ck.ck-list__item .ck-button:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background)}.ck.ck-list__item .ck-switchbutton.ck-on{background:var(--ck-color-list-background);color:inherit}.ck.ck-list__item .ck-switchbutton.ck-on:hover:not(ck-disabled){background:var(--ck-color-list-button-hover-background);color:inherit}.ck.ck-list__separator{height:1px;width:100%;background:var(--ck-color-base-border)}"},function(e,t,n){var r=n(63);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{display:block}:root{--ck-switch-button-toggle-width:2.6153846154em;--ck-switch-button-toggle-inner-size:1.0769230769em;--ck-switch-button-toggle-spacing:1px;--ck-switch-button-translation:1.3846153847em}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__label{margin-right:calc(2*var(--ck-spacing-large))}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__label{margin-left:calc(2*var(--ck-spacing-large))}.ck.ck-button.ck-switchbutton.ck-disabled .ck-button__toggle{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-switchbutton .ck-button__toggle{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle.ck-rounded-corners{border-radius:var(--ck-border-radius)}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-left:auto}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-right:auto}.ck.ck-button.ck-switchbutton .ck-button__toggle{transition:background .4s ease;width:var(--ck-switch-button-toggle-width);background:var(--ck-color-switch-button-off-background)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover{background:var(--ck-color-switch-button-off-hover-background)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover .ck-button__toggle__inner{box-shadow:0 0 0 5px var(--ck-color-switch-button-inner-shadow)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:calc(0.5*var(--ck-border-radius))}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{margin:var(--ck-switch-button-toggle-spacing);width:var(--ck-switch-button-toggle-inner-size);height:var(--ck-switch-button-toggle-inner-size);background:var(--ck-color-switch-button-inner-background);transition:all .3s ease}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle{background:var(--ck-color-switch-button-on-background)}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle:hover{background:var(--ck-color-switch-button-on-hover-background)}[dir=ltr] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(var(--ck-switch-button-translation))}[dir=rtl] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(calc(-1*var(--ck-switch-button-translation)))}"},function(e,t,n){var r=n(65);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-toolbar-dropdown .ck-toolbar{flex-wrap:nowrap}.ck.ck-toolbar-dropdown .ck-dropdown__panel .ck-button:focus{z-index:calc(var(--ck-z-default) + 1)}.ck.ck-toolbar-dropdown .ck-toolbar{border:0}"},function(e,t,n){var r=n(67);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-dropdown .ck-dropdown__panel .ck-list{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list,.ck.ck-dropdown .ck-dropdown__panel .ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}"},function(e,t){e.exports=".ck.ck-heading_heading1{font-size:20px}.ck.ck-heading_heading2{font-size:17px}.ck.ck-heading_heading3{font-size:14px}.ck[class*=ck-heading_heading]{font-weight:700}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__button .ck-button__label{width:8em}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item{min-width:18em}"},function(e,t,n){var r=n(70);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck-content .image>figcaption{display:table-caption;caption-side:bottom;word-break:break-word;color:#333;background-color:#f7f7f7;padding:.6em;font-size:.75em;outline-offset:-1px}"},function(e,t,n){var r=n(72);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=":root{--ck-image-style-spacing:1.5em}.ck-content .image-style-align-center:not(.image_resized),.ck-content .image-style-align-left:not(.image_resized),.ck-content .image-style-align-right:not(.image_resized),.ck-content .image-style-side:not(.image_resized){max-width:50%}.ck-content .image-style-side{float:right;margin-left:var(--ck-image-style-spacing)}.ck-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.ck-content .image-style-align-center{margin-left:auto;margin-right:auto}.ck-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}"},function(e,t,n){var r=n(74);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck .ck-link_selected{background:var(--ck-color-link-selected-background)}"},function(e,t,n){var r=n(76);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-link-form{display:flex}.ck.ck-link-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-link-form{flex-wrap:wrap}.ck.ck-link-form .ck-labeled-input{flex-basis:100%}.ck.ck-link-form .ck-button{flex-basis:50%}}.ck.ck-link-form_layout-vertical{display:block}.ck.ck-link-form{padding:var(--ck-spacing-standard)}.ck.ck-link-form:focus{outline:none}[dir=ltr] .ck.ck-link-form>:not(:first-child),[dir=rtl] .ck.ck-link-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-link-form{padding:0;width:calc(0.8*var(--ck-input-text-width))}.ck.ck-link-form .ck-labeled-input{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-link-form .ck-labeled-input .ck-input-text{min-width:0;width:100%}.ck.ck-link-form .ck-button{padding:var(--ck-spacing-standard);margin-top:var(--ck-spacing-standard);border-radius:0;border:0;border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-link-form .ck-button{margin-left:0}[dir=ltr] .ck.ck-link-form .ck-button:first-of-type{border-right:1px solid var(--ck-color-base-border)}[dir=rtl] .ck.ck-link-form .ck-button{margin-left:0}[dir=rtl] .ck.ck-link-form .ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}}.ck.ck-link-form_layout-vertical{padding:0;min-width:var(--ck-input-text-width)}.ck.ck-link-form_layout-vertical .ck-labeled-input{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) var(--ck-spacing-small)}.ck.ck-link-form_layout-vertical .ck-labeled-input .ck-input-text{min-width:0;width:100%}.ck.ck-link-form_layout-vertical .ck-button{padding:var(--ck-spacing-standard);margin:0;border-radius:0;border:0;border-top:1px solid var(--ck-color-base-border);width:50%}[dir=ltr] .ck.ck-link-form_layout-vertical .ck-button{margin-left:0}[dir=ltr] .ck.ck-link-form_layout-vertical .ck-button:first-of-type{border-right:1px solid var(--ck-color-base-border)}[dir=rtl] .ck.ck-link-form_layout-vertical .ck-button{margin-left:0}[dir=rtl] .ck.ck-link-form_layout-vertical .ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}.ck.ck-link-form_layout-vertical .ck.ck-list{margin-left:0}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton{border:0;width:100%}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton:hover{background:none}"},function(e,t,n){var r=n(78);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-link-actions{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-link-actions .ck-link-actions__preview{display:inline-block}.ck.ck-link-actions .ck-link-actions__preview .ck-button__label{overflow:hidden}@media screen and (max-width:600px){.ck.ck-link-actions{flex-wrap:wrap}.ck.ck-link-actions .ck-link-actions__preview{flex-basis:100%}.ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){flex-basis:50%}}.ck.ck-link-actions{padding:var(--ck-spacing-standard)}.ck.ck-link-actions .ck-button.ck-link-actions__preview{padding-left:0;padding-right:0}.ck.ck-link-actions .ck-button.ck-link-actions__preview,.ck.ck-link-actions .ck-button.ck-link-actions__preview:active,.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus,.ck.ck-link-actions .ck-button.ck-link-actions__preview:hover{background:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:active{box-shadow:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus .ck-button__label{text-decoration:underline}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{padding:0 var(--ck-spacing-medium);color:var(--ck-color-link-default);text-overflow:ellipsis;cursor:pointer;max-width:var(--ck-input-text-width);min-width:3em;text-align:center}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label:hover{text-decoration:underline}.ck.ck-link-actions:focus{outline:none}[dir=ltr] .ck.ck-link-actions .ck-button:not(:first-child),[dir=rtl] .ck.ck-link-actions .ck-button:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-link-actions{padding:0;width:calc(0.8*var(--ck-input-text-width))}.ck.ck-link-actions .ck-button.ck-link-actions__preview{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{min-width:0;max-width:100%}.ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){padding:var(--ck-spacing-standard);margin-top:var(--ck-spacing-standard);border-radius:0;border:0;border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){margin-left:0}[dir=ltr] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview):first-of-type{border-right:1px solid var(--ck-color-base-border)}[dir=rtl] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){margin-left:0}[dir=rtl] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview):last-of-type{border-right:1px solid var(--ck-color-base-border)}}"},function(e,t,n){var r=n(80);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports='.ck-media__wrapper .ck-media__placeholder{display:flex;flex-direction:column;align-items:center}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-tooltip{display:block}@media (hover:none){.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-tooltip{display:none}}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url{max-width:100%;position:relative}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url:hover .ck-tooltip{visibility:visible;opacity:1}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-media__placeholder__url__text{overflow:hidden;display:block}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck-media__placeholder__icon *{display:none}.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper>:not(.ck-media__placeholder),.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder{pointer-events:none}:root{--ck-media-embed-placeholder-icon-size:3em;--ck-color-media-embed-placeholder-url-text:#757575;--ck-color-media-embed-placeholder-url-text-hover:var(--ck-color-base-text)}.ck-media__wrapper{margin:0 auto}.ck-media__wrapper .ck-media__placeholder{padding:calc(3*var(--ck-spacing-standard));background:var(--ck-color-base-foreground)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon{min-width:var(--ck-media-embed-placeholder-icon-size);height:var(--ck-media-embed-placeholder-icon-size);margin-bottom:var(--ck-spacing-large);background-position:50%;background-size:cover}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon .ck-icon{width:100%;height:100%}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-media__placeholder__url__text{color:var(--ck-color-media-embed-placeholder-url-text);white-space:nowrap;text-align:center;font-style:italic;text-overflow:ellipsis}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-media__placeholder__url__text:hover{color:var(--ck-color-media-embed-placeholder-url-text-hover);cursor:pointer;text-decoration:underline}.ck-media__wrapper[data-oembed-url*="open.spotify.com"]{max-width:300px;max-height:380px}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder{background:linear-gradient(90deg,#71c6f4,#0d70a5)}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj48cGF0aCBkPSJNNDAwIDIwMGMwIDExMC41LTg5LjUgMjAwLTIwMCAyMDBTMCAzMTAuNSAwIDIwMCA4OS41IDAgMjAwIDBzMjAwIDg5LjUgMjAwIDIwMHpNMTYzLjQgMzA1LjVjODguNyAwIDEzNy4yLTczLjUgMTM3LjItMTM3LjIgMC0yLjEgMC00LjItLjEtNi4yIDkuNC02LjggMTcuNi0xNS4zIDI0LjEtMjUtOC42IDMuOC0xNy45IDYuNC0yNy43IDcuNiAxMC02IDE3LjYtMTUuNCAyMS4yLTI2LjctOS4zIDUuNS0xOS42IDkuNS0zMC42IDExLjctOC44LTkuNC0yMS4zLTE1LjItMzUuMi0xNS4yLTI2LjYgMC00OC4yIDIxLjYtNDguMiA0OC4yIDAgMy44LjQgNy41IDEuMyAxMS00MC4xLTItNzUuNi0yMS4yLTk5LjQtNTAuNC00LjEgNy4xLTYuNSAxNS40LTYuNSAyNC4yIDAgMTYuNyA4LjUgMzEuNSAyMS41IDQwLjEtNy45LS4yLTE1LjMtMi40LTIxLjgtNnYuNmMwIDIzLjQgMTYuNiA0Mi44IDM4LjcgNDcuMy00IDEuMS04LjMgMS43LTEyLjcgMS43LTMuMSAwLTYuMS0uMy05LjEtLjkgNi4xIDE5LjIgMjMuOSAzMy4xIDQ1IDMzLjUtMTYuNSAxMi45LTM3LjMgMjAuNi01OS45IDIwLjYtMy45IDAtNy43LS4yLTExLjUtLjcgMjEuMSAxMy44IDQ2LjUgMjEuOCA3My43IDIxLjgiIGZpbGw9IiNmZmYiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text{color:#b8e6ff}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Ik0yMDYuNDc3IDI2MC45bC0yOC45ODcgMjguOTg3YTUuMjE4IDUuMjE4IDAgMDAzLjc4IDEuNjFoNDkuNjIxYzEuNjk0IDAgMy4xOS0uNzk4IDQuMTQ2LTIuMDM3eiIgZmlsbD0iIzVjODhjNSIvPjxwYXRoIGQ9Ik0yMjYuNzQyIDIyMi45ODhjLTkuMjY2IDAtMTYuNzc3IDcuMTctMTYuNzc3IDE2LjAxNC4wMDcgMi43NjIuNjYzIDUuNDc0IDIuMDkzIDcuODc1LjQzLjcwMy44MyAxLjQwOCAxLjE5IDIuMTA3LjMzMy41MDIuNjUgMS4wMDUuOTUgMS41MDguMzQzLjQ3Ny42NzMuOTU3Ljk4OCAxLjQ0IDEuMzEgMS43NjkgMi41IDMuNTAyIDMuNjM3IDUuMTY4Ljc5MyAxLjI3NSAxLjY4MyAyLjY0IDIuNDY2IDMuOTkgMi4zNjMgNC4wOTQgNC4wMDcgOC4wOTIgNC42IDEzLjkxNHYuMDEyYy4xODIuNDEyLjUxNi42NjYuODc5LjY2Ny40MDMtLjAwMS43NjgtLjMxNC45My0uNzk5LjYwMy01Ljc1NiAyLjIzOC05LjcyOSA0LjU4NS0xMy43OTQuNzgyLTEuMzUgMS42NzMtMi43MTUgMi40NjUtMy45OSAxLjEzNy0xLjY2NiAyLjMyOC0zLjQgMy42MzgtNS4xNjkuMzE1LS40ODIuNjQ1LS45NjIuOTg4LTEuNDM5LjMtLjUwMy42MTctMS4wMDYuOTUtMS41MDguMzU5LS43Ljc2LTEuNDA0IDEuMTktMi4xMDcgMS40MjYtMi40MDIgMi01LjExNCAyLjAwNC03Ljg3NSAwLTguODQ0LTcuNTExLTE2LjAxNC0xNi43NzYtMTYuMDE0eiIgZmlsbD0iI2RkNGIzZSIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48ZWxsaXBzZSByeT0iNS41NjQiIHJ4PSI1LjgyOCIgY3k9IjIzOS4wMDIiIGN4PSIyMjYuNzQyIiBmaWxsPSIjODAyZDI3IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Ik0xOTAuMzAxIDIzNy4yODNjLTQuNjcgMC04LjQ1NyAzLjg1My04LjQ1NyA4LjYwNnMzLjc4NiA4LjYwNyA4LjQ1NyA4LjYwN2MzLjA0MyAwIDQuODA2LS45NTggNi4zMzctMi41MTYgMS41My0xLjU1NyAyLjA4Ny0zLjkxMyAyLjA4Ny02LjI5IDAtLjM2Mi0uMDIzLS43MjItLjA2NC0xLjA3OWgtOC4yNTd2My4wNDNoNC44NWMtLjE5Ny43NTktLjUzMSAxLjQ1LTEuMDU4IDEuOTg2LS45NDIuOTU4LTIuMDI4IDEuNTQ4LTMuOTAxIDEuNTQ4LTIuODc2IDAtNS4yMDgtMi4zNzItNS4yMDgtNS4yOTkgMC0yLjkyNiAyLjMzMi01LjI5OSA1LjIwOC01LjI5OSAxLjM5OSAwIDIuNjE4LjQwNyAzLjU4NCAxLjI5M2wyLjM4MS0yLjM4YzAtLjAwMi0uMDAzLS4wMDQtLjAwNC0uMDA1LTEuNTg4LTEuNTI0LTMuNjItMi4yMTUtNS45NTUtMi4yMTV6bTQuNDMgNS42NmwuMDAzLjAwNnYtLjAwM3oiIGZpbGw9IiNmZmYiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0iTTIxNS4xODQgMjUxLjkyOWwtNy45OCA3Ljk3OSAyOC40NzcgMjguNDc1YTUuMjMzIDUuMjMzIDAgMDAuNDQ5LTIuMTIzdi0zMS4xNjVjLS40NjkuNjc1LS45MzQgMS4zNDktMS4zODIgMi4wMDUtLjc5MiAxLjI3NS0xLjY4MiAyLjY0LTIuNDY1IDMuOTktMi4zNDcgNC4wNjUtMy45ODIgOC4wMzgtNC41ODUgMTMuNzk0LS4xNjIuNDg1LS41MjcuNzk4LS45My43OTktLjM2My0uMDAxLS42OTctLjI1NS0uODc5LS42Njd2LS4wMTJjLS41OTMtNS44MjItMi4yMzctOS44Mi00LjYtMTMuOTE0LS43ODMtMS4zNS0xLjY3My0yLjcxNS0yLjQ2Ni0zLjk5LTEuMTM3LTEuNjY2LTIuMzI3LTMuNC0zLjYzNy01LjE2OWwtLjAwMi0uMDAzeiIgZmlsbD0iI2MzYzNjMyIvPjxwYXRoIGQ9Ik0yMTIuOTgzIDI0OC40OTVsLTM2Ljk1MiAzNi45NTN2LjgxMmE1LjIyNyA1LjIyNyAwIDAwNS4yMzggNS4yMzhoMS4wMTVsMzUuNjY2LTM1LjY2NmExMzYuMjc1IDEzNi4yNzUgMCAwMC0yLjc2NC0zLjkgMzcuNTc1IDM3LjU3NSAwIDAwLS45ODktMS40NCAzNS4xMjcgMzUuMTI3IDAgMDAtLjk1LTEuNTA4Yy0uMDgzLS4xNjItLjE3Ni0uMzI2LS4yNjQtLjQ4OXoiIGZpbGw9IiNmZGRjNGYiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0iTTIxMS45OTggMjYxLjA4M2wtNi4xNTIgNi4xNTEgMjQuMjY0IDI0LjI2NGguNzgxYTUuMjI3IDUuMjI3IDAgMDA1LjIzOS01LjIzOHYtMS4wNDV6IiBmaWxsPSIjZmZmIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjwvZz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder{background:#4268b3}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik05NjcuNDg0IDBINTYuNTE3QzI1LjMwNCAwIDAgMjUuMzA0IDAgNTYuNTE3djkxMC45NjZDMCA5OTguNjk0IDI1LjI5NyAxMDI0IDU2LjUyMiAxMDI0SDU0N1Y2MjhINDE0VjQ3M2gxMzNWMzU5LjAyOWMwLTEzMi4yNjIgODAuNzczLTIwNC4yODIgMTk4Ljc1Ni0yMDQuMjgyIDU2LjUxMyAwIDEwNS4wODYgNC4yMDggMTE5LjI0NCA2LjA4OVYyOTlsLTgxLjYxNi4wMzdjLTYzLjk5MyAwLTc2LjM4NCAzMC40OTItNzYuMzg0IDc1LjIzNlY0NzNoMTUzLjQ4N2wtMTkuOTg2IDE1NUg3MDd2Mzk2aDI2MC40ODRjMzEuMjEzIDAgNTYuNTE2LTI1LjMwMyA1Ni41MTYtNTYuNTE2VjU2LjUxNUMxMDI0IDI1LjMwMyA5OTguNjk3IDAgOTY3LjQ4NCAwIiBmaWxsPSIjRkZGRkZFIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#cdf}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder{background:linear-gradient(-135deg,#1400c8,#b900b4,#f50000)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTA0IiBoZWlnaHQ9IjUwNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PHBhdGggaWQ9ImEiIGQ9Ik0wIC4xNTloNTAzLjg0MVY1MDMuOTRIMHoiLz48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+PHVzZSB4bGluazpocmVmPSIjYSIvPjwvbWFzaz48cGF0aCBkPSJNMjUxLjkyMS4xNTljLTY4LjQxOCAwLTc2Ljk5Ny4yOS0xMDMuODY3IDEuNTE2LTI2LjgxNCAxLjIyMy00NS4xMjcgNS40ODItNjEuMTUxIDExLjcxLTE2LjU2NiA2LjQzNy0zMC42MTUgMTUuMDUxLTQ0LjYyMSAyOS4wNTYtMTQuMDA1IDE0LjAwNi0yMi42MTkgMjguMDU1LTI5LjA1NiA0NC42MjEtNi4yMjggMTYuMDI0LTEwLjQ4NyAzNC4zMzctMTEuNzEgNjEuMTUxQy4yOSAxNzUuMDgzIDAgMTgzLjY2MiAwIDI1Mi4wOGMwIDY4LjQxNy4yOSA3Ni45OTYgMS41MTYgMTAzLjg2NiAxLjIyMyAyNi44MTQgNS40ODIgNDUuMTI3IDExLjcxIDYxLjE1MSA2LjQzNyAxNi41NjYgMTUuMDUxIDMwLjYxNSAyOS4wNTYgNDQuNjIxIDE0LjAwNiAxNC4wMDUgMjguMDU1IDIyLjYxOSA0NC42MjEgMjkuMDU3IDE2LjAyNCA2LjIyNyAzNC4zMzcgMTAuNDg2IDYxLjE1MSAxMS43MDkgMjYuODcgMS4yMjYgMzUuNDQ5IDEuNTE2IDEwMy44NjcgMS41MTYgNjguNDE3IDAgNzYuOTk2LS4yOSAxMDMuODY2LTEuNTE2IDI2LjgxNC0xLjIyMyA0NS4xMjctNS40ODIgNjEuMTUxLTExLjcwOSAxNi41NjYtNi40MzggMzAuNjE1LTE1LjA1MiA0NC42MjEtMjkuMDU3IDE0LjAwNS0xNC4wMDYgMjIuNjE5LTI4LjA1NSAyOS4wNTctNDQuNjIxIDYuMjI3LTE2LjAyNCAxMC40ODYtMzQuMzM3IDExLjcwOS02MS4xNTEgMS4yMjYtMjYuODcgMS41MTYtMzUuNDQ5IDEuNTE2LTEwMy44NjYgMC02OC40MTgtLjI5LTc2Ljk5Ny0xLjUxNi0xMDMuODY3LTEuMjIzLTI2LjgxNC01LjQ4Mi00NS4xMjctMTEuNzA5LTYxLjE1MS02LjQzOC0xNi41NjYtMTUuMDUyLTMwLjYxNS0yOS4wNTctNDQuNjIxLTE0LjAwNi0xNC4wMDUtMjguMDU1LTIyLjYxOS00NC42MjEtMjkuMDU2LTE2LjAyNC02LjIyOC0zNC4zMzctMTAuNDg3LTYxLjE1MS0xMS43MUMzMjguOTE3LjQ0OSAzMjAuMzM4LjE1OSAyNTEuOTIxLjE1OXptMCA0NS4zOTFjNjcuMjY1IDAgNzUuMjMzLjI1NyAxMDEuNzk3IDEuNDY5IDI0LjU2MiAxLjEyIDM3LjkwMSA1LjIyNCA0Ni43NzggOC42NzQgMTEuNzU5IDQuNTcgMjAuMTUxIDEwLjAyOSAyOC45NjYgMTguODQ1IDguODE2IDguODE1IDE0LjI3NSAxNy4yMDcgMTguODQ1IDI4Ljk2NiAzLjQ1IDguODc3IDcuNTU0IDIyLjIxNiA4LjY3NCA0Ni43NzggMS4yMTIgMjYuNTY0IDEuNDY5IDM0LjUzMiAxLjQ2OSAxMDEuNzk4IDAgNjcuMjY1LS4yNTcgNzUuMjMzLTEuNDY5IDEwMS43OTctMS4xMiAyNC41NjItNS4yMjQgMzcuOTAxLTguNjc0IDQ2Ljc3OC00LjU3IDExLjc1OS0xMC4wMjkgMjAuMTUxLTE4Ljg0NSAyOC45NjYtOC44MTUgOC44MTYtMTcuMjA3IDE0LjI3NS0yOC45NjYgMTguODQ1LTguODc3IDMuNDUtMjIuMjE2IDcuNTU0LTQ2Ljc3OCA4LjY3NC0yNi41NiAxLjIxMi0zNC41MjcgMS40NjktMTAxLjc5NyAxLjQ2OS02Ny4yNzEgMC03NS4yMzctLjI1Ny0xMDEuNzk4LTEuNDY5LTI0LjU2Mi0xLjEyLTM3LjkwMS01LjIyNC00Ni43NzgtOC42NzQtMTEuNzU5LTQuNTctMjAuMTUxLTEwLjAyOS0yOC45NjYtMTguODQ1LTguODE1LTguODE1LTE0LjI3NS0xNy4yMDctMTguODQ1LTI4Ljk2Ni0zLjQ1LTguODc3LTcuNTU0LTIyLjIxNi04LjY3NC00Ni43NzgtMS4yMTItMjYuNTY0LTEuNDY5LTM0LjUzMi0xLjQ2OS0xMDEuNzk3IDAtNjcuMjY2LjI1Ny03NS4yMzQgMS40NjktMTAxLjc5OCAxLjEyLTI0LjU2MiA1LjIyNC0zNy45MDEgOC42NzQtNDYuNzc4IDQuNTctMTEuNzU5IDEwLjAyOS0yMC4xNTEgMTguODQ1LTI4Ljk2NiA4LjgxNS04LjgxNiAxNy4yMDctMTQuMjc1IDI4Ljk2Ni0xOC44NDUgOC44NzctMy40NSAyMi4yMTYtNy41NTQgNDYuNzc4LTguNjc0IDI2LjU2NC0xLjIxMiAzNC41MzItMS40NjkgMTAxLjc5OC0xLjQ2OXoiIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjYikiLz48cGF0aCBkPSJNMjUxLjkyMSAzMzYuMDUzYy00Ni4zNzggMC04My45NzQtMzcuNTk2LTgzLjk3NC04My45NzMgMC00Ni4zNzggMzcuNTk2LTgzLjk3NCA4My45NzQtODMuOTc0IDQ2LjM3NyAwIDgzLjk3MyAzNy41OTYgODMuOTczIDgzLjk3NCAwIDQ2LjM3Ny0zNy41OTYgODMuOTczLTgzLjk3MyA4My45NzN6bTAtMjEzLjMzOGMtNzEuNDQ3IDAtMTI5LjM2NSA1Ny45MTgtMTI5LjM2NSAxMjkuMzY1IDAgNzEuNDQ2IDU3LjkxOCAxMjkuMzY0IDEyOS4zNjUgMTI5LjM2NCA3MS40NDYgMCAxMjkuMzY0LTU3LjkxOCAxMjkuMzY0LTEyOS4zNjQgMC03MS40NDctNTcuOTE4LTEyOS4zNjUtMTI5LjM2NC0xMjkuMzY1ek00MTYuNjI3IDExNy42MDRjMCAxNi42OTYtMTMuNTM1IDMwLjIzLTMwLjIzMSAzMC4yMy0xNi42OTUgMC0zMC4yMy0xMy41MzQtMzAuMjMtMzAuMjMgMC0xNi42OTYgMTMuNTM1LTMwLjIzMSAzMC4yMy0zMC4yMzEgMTYuNjk2IDAgMzAuMjMxIDEzLjUzNSAzMC4yMzEgMzAuMjMxIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg==)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#ffe0fe}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}'},function(e,t,n){var r=n(82);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck.ck-media-form{display:flex;align-items:flex-start;flex-direction:row;flex-wrap:nowrap}.ck.ck-media-form .ck-labeled-input{display:inline-block}.ck.ck-media-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-media-form{flex-wrap:wrap}.ck.ck-media-form .ck-labeled-input{flex-basis:100%}.ck.ck-media-form .ck-button{flex-basis:50%}}.ck.ck-media-form{padding:var(--ck-spacing-standard)}.ck.ck-media-form:focus{outline:none}[dir=ltr] .ck.ck-media-form>:not(:first-child),[dir=rtl] .ck.ck-media-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-media-form{padding:0;width:calc(0.8*var(--ck-input-text-width))}.ck.ck-media-form .ck-labeled-input{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-media-form .ck-labeled-input .ck-input-text{min-width:0;width:100%}.ck.ck-media-form .ck-labeled-input .ck-labeled-input__error{white-space:normal}.ck.ck-media-form .ck-button{padding:var(--ck-spacing-standard);margin-top:var(--ck-spacing-standard);border-radius:0;border:0;border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-media-form .ck-button{margin-left:0}[dir=ltr] .ck.ck-media-form .ck-button:first-of-type{border-right:1px solid var(--ck-color-base-border)}[dir=rtl] .ck.ck-media-form .ck-button{margin-left:0}[dir=rtl] .ck.ck-media-form .ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}}"},function(e,t,n){var r=n(84);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck-content .media{clear:both;margin:1em 0;display:block;min-width:15em}"},function(e,t,n){var r=n(86);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=":root{--ck-color-table-focused-cell-background:#f5fafe}.ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused{background:var(--ck-color-table-focused-cell-background);border-style:none;outline:1px solid var(--ck-color-focus-border);outline-offset:-1px}"},function(e,t,n){var r=n(88);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=":root{--ck-insert-table-dropdown-padding:10px;--ck-insert-table-dropdown-box-height:11px;--ck-insert-table-dropdown-box-width:12px;--ck-insert-table-dropdown-box-margin:1px;--ck-insert-table-dropdown-box-border-color:#bfbfbf;--ck-insert-table-dropdown-box-border-active-color:#53a0e4;--ck-insert-table-dropdown-box-active-background:#c7e5ff}.ck .ck-insert-table-dropdown__grid{display:flex;flex-direction:row;flex-wrap:wrap;width:calc(var(--ck-insert-table-dropdown-box-width)*10 + var(--ck-insert-table-dropdown-box-margin)*20 + var(--ck-insert-table-dropdown-padding)*2);padding:var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0}.ck .ck-insert-table-dropdown__label{text-align:center}.ck .ck-insert-table-dropdown-grid-box{width:var(--ck-insert-table-dropdown-box-width);height:var(--ck-insert-table-dropdown-box-height);margin:var(--ck-insert-table-dropdown-box-margin);border:1px solid var(--ck-insert-table-dropdown-box-border-color);border-radius:1px}.ck .ck-insert-table-dropdown-grid-box.ck-on{border-color:var(--ck-insert-table-dropdown-box-border-active-color);background:var(--ck-insert-table-dropdown-box-active-background)}"},function(e,t,n){var r=n(90);"string"==typeof r&&(r=[[e.i,r,""]]),n(1)(r,{injectType:"singletonStyleTag",insert:"head",singleton:!0}),r.locals&&(e.exports=r.locals)},function(e,t){e.exports=".ck-content .table{margin:1em auto;display:table}.ck-content .table table{border-collapse:collapse;border-spacing:0;border:1px double #b3b3b3}.ck-content .table table td,.ck-content .table table th{min-width:2em;padding:.4em;border-color:#d9d9d9}.ck-content .table table th{font-weight:700;background:#fafafa}"},function(e,t,n){"use strict";n.r(t);var r=n(3),o=r.a.Symbol,i=Object.prototype,a=i.hasOwnProperty,s=i.toString,l=o?o.toStringTag:void 0,c=Object.prototype.toString,u=o?o.toStringTag:void 0,d=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":u&&u in Object(e)?function(e){var t=a.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=s.call(e);return r&&(t?e[l]=n:delete e[l]),o}(e):function(e){return c.call(e)}(e)},h=function(e,t){return function(n){return e(t(n))}},f=h(Object.getPrototypeOf,Object),p=function(e){return null!=e&&"object"==typeof e},m=Function.prototype,g=Object.prototype,_=m.toString,b=g.hasOwnProperty,v=_.call(Object),y=function(e){if(!p(e)||"[object Object]"!=d(e))return!1;var t=f(e);if(null===t)return!0;var n=b.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&_.call(n)==v},w=function(e,t){return e===t||e!=e&&t!=t},k=function(e,t){for(var n=e.length;n--;)if(w(e[n][0],t))return n;return-1},M=Array.prototype.splice;function x(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}x.prototype.clear=function(){this.__data__=[],this.size=0},x.prototype.delete=function(e){var t=this.__data__,n=k(t,e);return!(n<0||(n==t.length-1?t.pop():M.call(t,n,1),--this.size,0))},x.prototype.get=function(e){var t=this.__data__,n=k(t,e);return n<0?void 0:t[n][1]},x.prototype.has=function(e){return k(this.__data__,e)>-1},x.prototype.set=function(e,t){var n=this.__data__,r=k(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var T=x,E=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},S=function(e){if(!E(e))return!1;var t=d(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},D=r.a["__core-js_shared__"],L=function(){var e=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),C=Function.prototype.toString,P=function(e){if(null!=e){try{return C.call(e)}catch(e){}try{return e+""}catch(e){}}return""},O=/^\[object .+?Constructor\]$/,A=Function.prototype,N=Object.prototype,I=A.toString,Y=N.hasOwnProperty,R=RegExp("^"+I.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=function(e){return!(!E(e)||function(e){return!!L&&L in e}(e))&&(S(e)?R:O).test(P(e))},F=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return j(n)?n:void 0},H=F(r.a,"Map"),z=F(Object,"create"),B=Object.prototype.hasOwnProperty,V=Object.prototype.hasOwnProperty;function U(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}U.prototype.clear=function(){this.__data__=z?z(null):{},this.size=0},U.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},U.prototype.get=function(e){var t=this.__data__;if(z){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return B.call(t,e)?t[e]:void 0},U.prototype.has=function(e){var t=this.__data__;return z?void 0!==t[e]:V.call(t,e)},U.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=z&&void 0===t?"__lodash_hash_undefined__":t,this};var W=U,q=function(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map};function G(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}G.prototype.clear=function(){this.size=0,this.__data__={hash:new W,map:new(H||T),string:new W}},G.prototype.delete=function(e){var t=q(this,e).delete(e);return this.size-=t?1:0,t},G.prototype.get=function(e){return q(this,e).get(e)},G.prototype.has=function(e){return q(this,e).has(e)},G.prototype.set=function(e,t){var n=q(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};var Q=G;function J(e){var t=this.__data__=new T(e);this.size=t.size}J.prototype.clear=function(){this.__data__=new T,this.size=0},J.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},J.prototype.get=function(e){return this.__data__.get(e)},J.prototype.has=function(e){return this.__data__.has(e)},J.prototype.set=function(e,t){var n=this.__data__;if(n instanceof T){var r=n.__data__;if(!H||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Q(r)}return n.set(e,t),this.size=n.size,this};var K=J,X=function(){try{var e=F(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),$=function(e,t,n){"__proto__"==t&&X?X(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},Z=Object.prototype.hasOwnProperty,ee=function(e,t,n){var r=e[t];Z.call(e,t)&&w(r,n)&&(void 0!==n||t in e)||$(e,t,n)},te=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?$(n,s,l):ee(n,s,l)}return n},ne=function(e){return p(e)&&"[object Arguments]"==d(e)},re=Object.prototype,oe=re.hasOwnProperty,ie=re.propertyIsEnumerable,ae=ne(function(){return arguments}())?ne:function(e){return p(e)&&oe.call(e,"callee")&&!ie.call(e,"callee")},se=Array.isArray,le=n(5),ce=/^(?:0|[1-9]\d*)$/,ue=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&ce.test(e))&&e>-1&&e%1==0&&e<t},de=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},he={};he["[object Float32Array]"]=he["[object Float64Array]"]=he["[object Int8Array]"]=he["[object Int16Array]"]=he["[object Int32Array]"]=he["[object Uint8Array]"]=he["[object Uint8ClampedArray]"]=he["[object Uint16Array]"]=he["[object Uint32Array]"]=!0,he["[object Arguments]"]=he["[object Array]"]=he["[object ArrayBuffer]"]=he["[object Boolean]"]=he["[object DataView]"]=he["[object Date]"]=he["[object Error]"]=he["[object Function]"]=he["[object Map]"]=he["[object Number]"]=he["[object Object]"]=he["[object RegExp]"]=he["[object Set]"]=he["[object String]"]=he["[object WeakMap]"]=!1;var fe=function(e){return function(t){return e(t)}},pe=n(4),me=pe.a&&pe.a.isTypedArray,ge=me?fe(me):function(e){return p(e)&&de(e.length)&&!!he[d(e)]},_e=Object.prototype.hasOwnProperty,be=function(e,t){var n=se(e),r=!n&&ae(e),o=!n&&!r&&Object(le.a)(e),i=!n&&!r&&!o&&ge(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!_e.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ue(c,l))||s.push(c);return s},ve=Object.prototype,ye=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ve)},we=h(Object.keys,Object),ke=Object.prototype.hasOwnProperty,Me=function(e){return null!=e&&de(e.length)&&!S(e)},xe=function(e){return Me(e)?be(e):function(e){if(!ye(e))return we(e);var t=[];for(var n in Object(e))ke.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)},Te=Object.prototype.hasOwnProperty,Ee=function(e){if(!E(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ye(e),n=[];for(var r in e)("constructor"!=r||!t&&Te.call(e,r))&&n.push(r);return n},Se=function(e){return Me(e)?be(e,!0):Ee(e)},De=n(12),Le=function(){return[]},Ce=Object.prototype.propertyIsEnumerable,Pe=Object.getOwnPropertySymbols,Oe=Pe?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}(Pe(e),(function(t){return Ce.call(e,t)})))}:Le,Ae=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e},Ne=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Ae(t,Oe(e)),e=f(e);return t}:Le,Ie=function(e,t,n){var r=t(e);return se(e)?r:Ae(r,n(e))},Ye=function(e){return Ie(e,xe,Oe)},Re=function(e){return Ie(e,Se,Ne)},je=F(r.a,"DataView"),Fe=F(r.a,"Promise"),He=F(r.a,"Set"),ze=F(r.a,"WeakMap"),Be=P(je),Ve=P(H),Ue=P(Fe),We=P(He),qe=P(ze),Ge=d;(je&&"[object DataView]"!=Ge(new je(new ArrayBuffer(1)))||H&&"[object Map]"!=Ge(new H)||Fe&&"[object Promise]"!=Ge(Fe.resolve())||He&&"[object Set]"!=Ge(new He)||ze&&"[object WeakMap]"!=Ge(new ze))&&(Ge=function(e){var t=d(e),n="[object Object]"==t?e.constructor:void 0,r=n?P(n):"";if(r)switch(r){case Be:return"[object DataView]";case Ve:return"[object Map]";case Ue:return"[object Promise]";case We:return"[object Set]";case qe:return"[object WeakMap]"}return t});var Qe=Ge,Je=Object.prototype.hasOwnProperty,Ke=r.a.Uint8Array,Xe=function(e){var t=new e.constructor(e.byteLength);return new Ke(t).set(new Ke(e)),t},$e=/\w*$/,Ze=o?o.prototype:void 0,et=Ze?Ze.valueOf:void 0,tt=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return Xe(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return function(e,t){var n=t?Xe(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(e,t){var n=t?Xe(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return function(e){var t=new e.constructor(e.source,$e.exec(e));return t.lastIndex=e.lastIndex,t}(e);case"[object Set]":return new r;case"[object Symbol]":return function(e){return et?Object(et.call(e)):{}}(e)}},nt=Object.create,rt=function(){function e(){}return function(t){if(!E(t))return{};if(nt)return nt(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),ot=pe.a&&pe.a.isMap,it=ot?fe(ot):function(e){return p(e)&&"[object Map]"==Qe(e)},at=pe.a&&pe.a.isSet,st=at?fe(at):function(e){return p(e)&&"[object Set]"==Qe(e)},lt="[object Arguments]",ct="[object Function]",ut="[object Object]",dt={};dt[lt]=dt["[object Array]"]=dt["[object ArrayBuffer]"]=dt["[object DataView]"]=dt["[object Boolean]"]=dt["[object Date]"]=dt["[object Float32Array]"]=dt["[object Float64Array]"]=dt["[object Int8Array]"]=dt["[object Int16Array]"]=dt["[object Int32Array]"]=dt["[object Map]"]=dt["[object Number]"]=dt[ut]=dt["[object RegExp]"]=dt["[object Set]"]=dt["[object String]"]=dt["[object Symbol]"]=dt["[object Uint8Array]"]=dt["[object Uint8ClampedArray]"]=dt["[object Uint16Array]"]=dt["[object Uint32Array]"]=!0,dt["[object Error]"]=dt[ct]=dt["[object WeakMap]"]=!1;var ht=function e(t,n,r,o,i,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=i?r(t,o,i,a):r(t)),void 0!==s)return s;if(!E(t))return t;var d=se(t);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Je.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!l)return function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(t,s)}else{var h=Qe(t),p=h==ct||"[object GeneratorFunction]"==h;if(Object(le.a)(t))return Object(De.a)(t,l);if(h==ut||h==lt||p&&!i){if(s=c||p?{}:function(e){return"function"!=typeof e.constructor||ye(e)?{}:rt(f(e))}(t),!l)return c?function(e,t){return te(e,Ne(e),t)}(t,function(e,t){return e&&te(t,Se(t),e)}(s,t)):function(e,t){return te(e,Oe(e),t)}(t,function(e,t){return e&&te(t,xe(t),e)}(s,t))}else{if(!dt[h])return i?t:{};s=tt(t,h,l)}}a||(a=new K);var m=a.get(t);if(m)return m;a.set(t,s),st(t)?t.forEach((function(o){s.add(e(o,n,r,o,t,a))})):it(t)&&t.forEach((function(o,i){s.set(i,e(o,n,r,i,t,a))}));var g=u?c?Re:Ye:c?keysIn:xe,_=d?void 0:g(t);return function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););}(_||t,(function(o,i){_&&(o=t[i=o]),ee(s,i,e(o,n,r,i,t,a))})),s},ft=function(e,t){return ht(e,5,t="function"==typeof t?t:void 0)},pt=function(e){return p(e)&&1===e.nodeType&&!y(e)};class mt{constructor(e,t){this._config={},t&&this.define(t),e&&this._setObjectToTarget(this._config,e)}set(e,t){this._setToTarget(this._config,e,t)}define(e,t){this._setToTarget(this._config,e,t,!0)}get(e){return this._getFromSource(this._config,e)}_setToTarget(e,t,n,r=!1){if(y(t))return void this._setObjectToTarget(e,t,r);const o=t.split(".");t=o.pop();for(const t of o)y(e[t])||(e[t]={}),e=e[t];if(y(n))return y(e[t])||(e[t]={}),e=e[t],void this._setObjectToTarget(e,n,r);r&&void 0!==e[t]||(e[t]=n)}_getFromSource(e,t){const n=t.split(".");t=n.pop();for(const t of n){if(!y(e[t])){e=null;break}e=e[t]}return e?function(e){return ft(e,gt)}(e[t]):void 0}_setObjectToTarget(e,t,n){Object.keys(t).forEach(r=>{this._setToTarget(e,r,t[r],n)})}}function gt(e){return pt(e)?e:void 0}var _t=n(0);class bt{constructor(e,t){this.source=e,this.name=t,this.path=[],this.stop=function e(){e.called=!0},this.off=function e(){e.called=!0}}}function vt(){let e="e";for(let t=0;t<8;t++)e+=Math.floor(65536*(1+Math.random())).toString(16).substring(1);return e}var yt={get(e){return"number"!=typeof e?this[e]||this.normal:e},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};n(6);const wt=Symbol("listeningTo"),kt=Symbol("emitterId");var Mt={on(e,t,n={}){this.listenTo(this,e,t,n)},once(e,t,n){let r=!1;this.listenTo(this,e,(function(e,...n){r||(r=!0,e.off(),t.call(this,e,...n))}),n)},off(e,t){this.stopListening(this,e,t)},listenTo(e,t,n,r={}){let o,i;this[wt]||(this[wt]={});const a=this[wt];Tt(e)||xt(e);const s=Tt(e);(o=a[s])||(o=a[s]={emitter:e,callbacks:{}}),(i=o.callbacks[t])||(i=o.callbacks[t]=[]),i.push(n),function(e,t){const n=Et(e);if(n[t])return;let r=t,o=null;const i=[];for(;""!==r&&!n[r];)n[r]={callbacks:[],childEvents:[]},i.push(n[r]),o&&n[r].childEvents.push(o),o=r,r=r.substr(0,r.lastIndexOf(":"));if(""!==r){for(const e of i)e.callbacks=n[r].callbacks.slice();n[r].childEvents.push(o)}}(e,t);const l=St(e,t),c=yt.get(r.priority),u={callback:n,priority:c};for(const e of l){let t=!1;for(let n=0;n<e.length;n++)if(e[n].priority<c){e.splice(n,0,u),t=!0;break}t||e.push(u)}},stopListening(e,t,n){const r=this[wt];let o=e&&Tt(e);const i=r&&o&&r[o],a=i&&t&&i.callbacks[t];if(!(!r||e&&!i||t&&!a))if(n)Lt(e,t,n);else if(a){for(;n=a.pop();)Lt(e,t,n);delete i.callbacks[t]}else if(i){for(t in i.callbacks)this.stopListening(e,t);delete r[o]}else{for(o in r)this.stopListening(r[o].emitter);delete this[wt]}},fire(e,...t){const n=e instanceof bt?e:new bt(this,e),r=n.name;let o=function e(t,n){let r;return t._events&&(r=t._events[n])&&r.callbacks.length?r.callbacks:n.indexOf(":")>-1?e(t,n.substr(0,n.lastIndexOf(":"))):null}(this,r);if(n.path.push(this),o){const e=[n,...t];o=Array.from(o);for(let t=0;t<o.length&&(o[t].callback.apply(this,e),n.off.called&&(delete n.off.called,Lt(this,r,o[t].callback)),!n.stop.called);t++);}if(this._delegations){const e=this._delegations.get(r),o=this._delegations.get("*");e&&Dt(e,n,t),o&&Dt(o,n,t)}return n.return},delegate(...e){return{to:(t,n)=>{this._delegations||(this._delegations=new Map),e.forEach(e=>{const r=this._delegations.get(e);r?r.set(t,n):this._delegations.set(e,new Map([[t,n]]))})}}},stopDelegating(e,t){if(this._delegations)if(e)if(t){const n=this._delegations.get(e);n&&n.delete(t)}else this._delegations.delete(e);else this._delegations.clear()}};function xt(e,t){e[kt]||(e[kt]=t||vt())}function Tt(e){return e[kt]}function Et(e){return e._events||Object.defineProperty(e,"_events",{value:{}}),e._events}function St(e,t){const n=Et(e)[t];if(!n)return[];let r=[n.callbacks];for(let t=0;t<n.childEvents.length;t++){const o=St(e,n.childEvents[t]);r=r.concat(o)}return r}function Dt(e,t,n){for(let[r,o]of e){o?"function"==typeof o&&(o=o(t.name)):o=t.name;const e=new bt(t.source,o);e.path=[...t.path],r.fire(e,...n)}}function Lt(e,t,n){const r=St(e,t);for(const e of r)for(let t=0;t<e.length;t++)e[t].callback==n&&(e.splice(t,1),t--)}function Ct(e,...t){t.forEach(t=>{Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t)).forEach(n=>{if(n in e.prototype)return;const r=Object.getOwnPropertyDescriptor(t,n);r.enumerable=!1,Object.defineProperty(e.prototype,n,r)})})}function Pt(e,t){const n=Math.min(e.length,t.length);for(let r=0;r<n;r++)if(e[r]!=t[r])return r;return e.length==t.length?"same":e.length<t.length?"prefix":"extension"}var Ot=function(e){return ht(e,4)};class At{constructor(){this.parent=null}get index(){let e;if(!this.parent)return null;if(-1==(e=this.parent.getChildIndex(this)))throw new _t.b("view-node-not-found-in-parent: The node's parent does not contain this node.",this);return e}get nextSibling(){const e=this.index;return null!==e&&this.parent.getChild(e+1)||null}get previousSibling(){const e=this.index;return null!==e&&this.parent.getChild(e-1)||null}get root(){let e=this;for(;e.parent;)e=e.parent;return e}get document(){return this.parent instanceof At?this.parent.document:null}getPath(){const e=[];let t=this;for(;t.parent;)e.unshift(t.index),t=t.parent;return e}getAncestors(e={includeSelf:!1,parentFirst:!1}){const t=[];let n=e.includeSelf?this:this.parent;for(;n;)t[e.parentFirst?"push":"unshift"](n),n=n.parent;return t}getCommonAncestor(e,t={}){const n=this.getAncestors(t),r=e.getAncestors(t);let o=0;for(;n[o]==r[o]&&n[o];)o++;return 0===o?null:n[o-1]}isBefore(e){if(this==e)return!1;if(this.root!==e.root)return!1;const t=this.getPath(),n=e.getPath(),r=Pt(t,n);switch(r){case"prefix":return!0;case"extension":return!1;default:return t[r]<n[r]}}isAfter(e){return this!=e&&this.root===e.root&&!this.isBefore(e)}_remove(){this.parent._removeChildren(this.index)}_fireChange(e,t){this.fire("change:"+e,t),this.parent&&this.parent._fireChange(e,t)}toJSON(){const e=Ot(this);return delete e.parent,e}is(e){return"node"==e||"view:node"==e}}Ct(At,Mt);class Nt extends At{constructor(e){super(),this._textData=e}is(e){return"text"==e||"view:text"==e||super.is(e)}get data(){return this._textData}get _data(){return this.data}set _data(e){this._fireChange("text",this),this._textData=e}isSimilar(e){return e instanceof Nt&&(this===e||this.data===e.data)}_clone(){return new Nt(this.data)}}class It{constructor(e,t,n){if(this.textNode=e,t<0||t>e.data.length)throw new _t.b("view-textproxy-wrong-offsetintext: Given offsetInText value is incorrect.",this);if(n<0||t+n>e.data.length)throw new _t.b("view-textproxy-wrong-length: Given length value is incorrect.",this);this.data=e.data.substring(t,t+n),this.offsetInText=t}get offsetSize(){return this.data.length}get isPartial(){return this.data.length!==this.textNode.data.length}get parent(){return this.textNode.parent}get root(){return this.textNode.root}get document(){return this.textNode.document}is(e){return"textProxy"==e||"view:textProxy"==e}getAncestors(e={includeSelf:!1,parentFirst:!1}){const t=[];let n=e.includeSelf?this.textNode:this.parent;for(;null!==n;)t[e.parentFirst?"push":"unshift"](n),n=n.parent;return t}}function Yt(e){const t=new Map;for(const n in e)t.set(n,e[n]);return t}function Rt(e){return!(!e||!e[Symbol.iterator])}class jt{constructor(...e){this._patterns=[],this.add(...e)}add(...e){for(let t of e)("string"==typeof t||t instanceof RegExp)&&(t={name:t}),t.classes&&("string"==typeof t.classes||t.classes instanceof RegExp)&&(t.classes=[t.classes]),this._patterns.push(t)}match(...e){for(const t of e)for(const e of this._patterns){const n=Ft(t,e);if(n)return{element:t,pattern:e,match:n}}return null}matchAll(...e){const t=[];for(const n of e)for(const e of this._patterns){const r=Ft(n,e);r&&t.push({element:n,pattern:e,match:r})}return t.length>0?t:null}getElementName(){if(1!==this._patterns.length)return null;const e=this._patterns[0],t=e.name;return"function"==typeof e||!t||t instanceof RegExp?null:t}}function Ft(e,t){if("function"==typeof t)return t(e);const n={};return t.name&&(n.name=function(e,t){return e instanceof RegExp?e.test(t):e===t}(t.name,e.name),!n.name)||t.attributes&&(n.attributes=function(e,t){const n=[];for(const r in e){const o=e[r];if(!t.hasAttribute(r))return null;{const e=t.getAttribute(r);if(!0===o)n.push(r);else if(o instanceof RegExp){if(!o.test(e))return null;n.push(r)}else{if(e!==o)return null;n.push(r)}}}return n}(t.attributes,e),!n.attributes)?null:!(t.classes&&(n.classes=function(e,t){const n=[];for(const r of e)if(r instanceof RegExp){const e=t.getClassNames();for(const t of e)r.test(t)&&n.push(t);if(0===n.length)return null}else{if(!t.hasClass(r))return null;n.push(r)}return n}(t.classes,e),!n.classes))&&!(t.styles&&(n.styles=function(e,t){const n=[];for(const r in e){const o=e[r];if(!t.hasStyle(r))return null;{const e=t.getStyle(r);if(o instanceof RegExp){if(!o.test(e))return null;n.push(r)}else{if(e!==o)return null;n.push(r)}}}return n}(t.styles,e),!n.styles))&&n}class Ht extends At{constructor(e,t,n){if(super(),this.name=e,this._attrs=function(e){e=y(e)?Yt(e):new Map(e);for(const[t,n]of e)null===n?e.delete(t):"string"!=typeof n&&e.set(t,String(n));return e}(t),this._children=[],n&&this._insertChild(0,n),this._classes=new Set,this._attrs.has("class")){const e=this._attrs.get("class");Bt(this._classes,e),this._attrs.delete("class")}this._styles=new Map,this._attrs.has("style")&&(zt(this._styles,this._attrs.get("style")),this._attrs.delete("style")),this._customProperties=new Map}get childCount(){return this._children.length}get isEmpty(){return 0===this._children.length}is(e,t=null){const n=e.replace(/^view:/,"");return t?"element"==n&&t==this.name:"element"==n||n==this.name||super.is(e)}getChild(e){return this._children[e]}getChildIndex(e){return this._children.indexOf(e)}getChildren(){return this._children[Symbol.iterator]()}*getAttributeKeys(){this._classes.size>0&&(yield"class"),this._styles.size>0&&(yield"style"),yield*this._attrs.keys()}*getAttributes(){yield*this._attrs.entries(),this._classes.size>0&&(yield["class",this.getAttribute("class")]),this._styles.size>0&&(yield["style",this.getAttribute("style")])}getAttribute(e){if("class"==e)return this._classes.size>0?[...this._classes].join(" "):void 0;if("style"!=e)return this._attrs.get(e);if(this._styles.size>0){let e="";for(const[t,n]of this._styles)e+=`${t}:${n};`;return e}}hasAttribute(e){return"class"==e?this._classes.size>0:"style"==e?this._styles.size>0:this._attrs.has(e)}isSimilar(e){if(!(e instanceof Ht))return!1;if(this===e)return!0;if(this.name!=e.name)return!1;if(this._attrs.size!==e._attrs.size||this._classes.size!==e._classes.size||this._styles.size!==e._styles.size)return!1;for(const[t,n]of this._attrs)if(!e._attrs.has(t)||e._attrs.get(t)!==n)return!1;for(const t of this._classes)if(!e._classes.has(t))return!1;for(const[t,n]of this._styles)if(!e._styles.has(t)||e._styles.get(t)!==n)return!1;return!0}hasClass(...e){for(const t of e)if(!this._classes.has(t))return!1;return!0}getClassNames(){return this._classes.keys()}getStyle(e){return this._styles.get(e)}getStyleNames(){return this._styles.keys()}hasStyle(...e){for(const t of e)if(!this._styles.has(t))return!1;return!0}findAncestor(...e){const t=new jt(...e);let n=this.parent;for(;n;){if(t.match(n))return n;n=n.parent}return null}getCustomProperty(e){return this._customProperties.get(e)}*getCustomProperties(){yield*this._customProperties.entries()}getIdentity(){const e=Array.from(this._classes).sort().join(","),t=Array.from(this._styles).map(e=>`${e[0]}:${e[1]}`).sort().join(";"),n=Array.from(this._attrs).map(e=>`${e[0]}="${e[1]}"`).sort().join(" ");return this.name+(""==e?"":` class="${e}"`)+(""==t?"":` style="${t}"`)+(""==n?"":" "+n)}_clone(e=!1){const t=[];if(e)for(const n of this.getChildren())t.push(n._clone(e));const n=new this.constructor(this.name,this._attrs,t);return n._classes=new Set(this._classes),n._styles=new Map(this._styles),n._customProperties=new Map(this._customProperties),n.getFillerOffset=this.getFillerOffset,n}_appendChild(e){return this._insertChild(this.childCount,e)}_insertChild(e,t){this._fireChange("children",this);let n=0;const r=function(e){return"string"==typeof e?[new Nt(e)]:(Rt(e)||(e=[e]),Array.from(e).map(e=>"string"==typeof e?new Nt(e):e instanceof It?new Nt(e.data):e))}(t);for(const t of r)null!==t.parent&&t._remove(),t.parent=this,this._children.splice(e,0,t),e++,n++;return n}_removeChildren(e,t=1){this._fireChange("children",this);for(let n=e;n<e+t;n++)this._children[n].parent=null;return this._children.splice(e,t)}_setAttribute(e,t){t=String(t),this._fireChange("attributes",this),"class"==e?Bt(this._classes,t):"style"==e?zt(this._styles,t):this._attrs.set(e,t)}_removeAttribute(e){return this._fireChange("attributes",this),"class"==e?this._classes.size>0&&(this._classes.clear(),!0):"style"==e?this._styles.size>0&&(this._styles.clear(),!0):this._attrs.delete(e)}_addClass(e){this._fireChange("attributes",this),(e=Array.isArray(e)?e:[e]).forEach(e=>this._classes.add(e))}_removeClass(e){this._fireChange("attributes",this),(e=Array.isArray(e)?e:[e]).forEach(e=>this._classes.delete(e))}_setStyle(e,t){if(this._fireChange("attributes",this),y(e)){const t=Object.keys(e);for(const n of t)this._styles.set(n,e[n])}else this._styles.set(e,t)}_removeStyle(e){this._fireChange("attributes",this),(e=Array.isArray(e)?e:[e]).forEach(e=>this._styles.delete(e))}_setCustomProperty(e,t){this._customProperties.set(e,t)}_removeCustomProperty(e){return this._customProperties.delete(e)}}function zt(e,t){let n=null,r=0,o=0,i=null;if(e.clear(),""!==t){";"!=t.charAt(t.length-1)&&(t+=";");for(let a=0;a<t.length;a++){const s=t.charAt(a);if(null===n)switch(s){case":":i||(i=t.substr(r,a-r),o=a+1);break;case'"':case"'":n=s;break;case";":{const n=t.substr(o,a-o);i&&e.set(i.trim(),n.trim()),i=null,r=a+1;break}}else s===n&&(n=null)}}}function Bt(e,t){const n=t.split(/\s+/);e.clear(),n.forEach(t=>e.add(t))}class Vt extends Ht{constructor(e,t,n){super(e,t,n),this.getFillerOffset=Ut}is(e,t=null){const n=e&&e.replace(/^view:/,"");return t?"containerElement"==n&&t==this.name||super.is(e,t):"containerElement"==n||super.is(e)}}function Ut(){const e=[...this.getChildren()],t=e[this.childCount-1];if(t&&t.is("element","br"))return this.childCount;for(const t of e)if(!t.is("uiElement"))return null;return this.childCount}var Wt=function(e){return e},qt=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},Gt=Math.max,Qt=function(e){return function(){return e}},Jt=X?function(e,t){return X(e,"toString",{configurable:!0,enumerable:!1,value:Qt(t),writable:!0})}:Wt,Kt=Date.now,Xt=function(e){var t=0,n=0;return function(){var r=Kt(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Jt),$t=function(e,t){return Xt(function(e,t,n){return t=Gt(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=Gt(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),qt(e,this,s)}}(e,t,Wt),e+"")},Zt=function(e){return $t((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&function(e,t,n){if(!E(n))return!1;var r=typeof t;return!!("number"==r?Me(n)&&ue(t,n.length):"string"==r&&t in n)&&w(n[t],e)}(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s)}return t}))}((function(e,t){te(t,Se(t),e)}));const en=Symbol("observableProperties"),tn=Symbol("boundObservables"),nn=Symbol("boundProperties"),rn={set(e,t){if(E(e))return void Object.keys(e).forEach(t=>{this.set(t,e[t])},this);an(this);const n=this[en];if(e in this&&!n.has(e))throw new _t.b("observable-set-cannot-override: Cannot override an existing property.",this);Object.defineProperty(this,e,{enumerable:!0,configurable:!0,get:()=>n.get(e),set(t){const r=n.get(e);let o=this.fire("set:"+e,e,t,r);void 0===o&&(o=t),r===o&&n.has(e)||(n.set(e,o),this.fire("change:"+e,e,o,r))}}),this[e]=t},bind(...e){if(!e.length||!cn(e))throw new _t.b("observable-bind-wrong-properties: All properties must be strings.",this);if(new Set(e).size!==e.length)throw new _t.b("observable-bind-duplicate-properties: Properties must be unique.",this);an(this);const t=this[nn];e.forEach(e=>{if(t.has(e))throw new _t.b("observable-bind-rebind: Cannot bind the same property more that once.",this)});const n=new Map;return e.forEach(e=>{const r={property:e,to:[]};t.set(e,r),n.set(e,r)}),{to:sn,toMany:ln,_observable:this,_bindProperties:e,_to:[],_bindings:n}},unbind(...e){if(!(en in this))return;const t=this[nn],n=this[tn];if(e.length){if(!cn(e))throw new _t.b("observable-unbind-wrong-properties: Properties must be strings.",this);e.forEach(e=>{const r=t.get(e);if(!r)return;let o,i,a,s;r.to.forEach(e=>{o=e[0],i=e[1],a=n.get(o),(s=a[i]).delete(r),s.size||delete a[i],Object.keys(a).length||(n.delete(o),this.stopListening(o,"change"))}),t.delete(e)})}else n.forEach((e,t)=>{this.stopListening(t,"change")}),n.clear(),t.clear()},decorate(e){const t=this[e];if(!t)throw new _t.b("observablemixin-cannot-decorate-undefined: Cannot decorate an undefined method.",this,{object:this,methodName:e});this.on(e,(e,n)=>{e.return=t.apply(this,n)}),this[e]=function(...t){return this.fire(e,t)}}};Zt(rn,Mt);var on=rn;function an(e){en in e||(Object.defineProperty(e,en,{value:new Map}),Object.defineProperty(e,tn,{value:new Map}),Object.defineProperty(e,nn,{value:new Map}))}function sn(...e){const t=function(...e){if(!e.length)throw new _t.b("observable-bind-to-parse-error: Invalid argument syntax in `to()`.",null);const t={to:[]};let n;return"function"==typeof e[e.length-1]&&(t.callback=e.pop()),e.forEach(e=>{if("string"==typeof e)n.properties.push(e);else{if("object"!=typeof e)throw new _t.b("observable-bind-to-parse-error: Invalid argument syntax in `to()`.",null);n={observable:e,properties:[]},t.to.push(n)}}),t}(...e),n=Array.from(this._bindings.keys()),r=n.length;if(!t.callback&&t.to.length>1)throw new _t.b("observable-bind-to-no-callback: Binding multiple observables only possible with callback.",this);if(r>1&&t.callback)throw new _t.b("observable-bind-to-extra-callback: Cannot bind multiple properties and use a callback in one binding.",this);t.to.forEach(e=>{if(e.properties.length&&e.properties.length!==r)throw new _t.b("observable-bind-to-properties-length: The number of properties must match.",this);e.properties.length||(e.properties=this._bindProperties)}),this._to=t.to,t.callback&&(this._bindings.get(n[0]).callback=t.callback),function(e,t){t.forEach(t=>{const n=e[tn];let r;n.get(t.observable)||e.listenTo(t.observable,"change",(o,i)=>{(r=n.get(t.observable)[i])&&r.forEach(t=>{un(e,t.property)})})})}(this._observable,this._to),function(e){let t;e._bindings.forEach((n,r)=>{e._to.forEach(o=>{t=o.properties[n.callback?0:e._bindProperties.indexOf(r)],n.to.push([o.observable,t]),function(e,t,n,r){const o=e[tn],i=o.get(n),a=i||{};a[r]||(a[r]=new Set),a[r].add(t),i||o.set(n,a)}(e._observable,n,o.observable,t)})})}(this),this._bindProperties.forEach(e=>{un(this._observable,e)})}function ln(e,t,n){if(this._bindings.size>1)throw new _t.b("observable-bind-to-many-not-one-binding: Cannot bind multiple properties with toMany().",this);this.to(...function(e,t){const n=e.map(e=>[e,t]);return Array.prototype.concat.apply([],n)}(e,t),n)}function cn(e){return e.every(e=>"string"==typeof e)}function un(e,t){const n=e[nn].get(t);let r;r=n.callback?n.callback.apply(e,n.to.map(e=>e[0][e[1]])):(r=n.to[0])[0][r[1]],e.hasOwnProperty(t)?e[t]=r:e.set(t,r)}const dn=Symbol("document");class hn extends Vt{constructor(e,t,n){super(e,t,n),this.set("isReadOnly",!1),this.set("isFocused",!1)}is(e,t=null){const n=e&&e.replace(/^view:/,"");return t?"editableElement"==n&&t==this.name||super.is(e,t):"editableElement"==n||super.is(e)}destroy(){this.stopListening()}get document(){return this.getCustomProperty(dn)}set _document(e){if(this.getCustomProperty(dn))throw new _t.b("view-editableelement-document-already-set: View document is already set.",this);this._setCustomProperty(dn,e),this.bind("isReadOnly").to(e),this.bind("isFocused").to(e,"isFocused",t=>t&&e.selection.editableElement==this),this.listenTo(e.selection,"change",()=>{this.isFocused=e.isFocused&&e.selection.editableElement==this})}}Ct(hn,on);const fn=Symbol("rootName");class pn extends hn{constructor(e){super(e),this.rootName="main"}is(e,t=null){const n=e.replace(/^view:/,"");return t?"rootElement"==n&&t==this.name||super.is(e,t):"rootElement"==n||super.is(e)}get rootName(){return this.getCustomProperty(fn)}set rootName(e){this._setCustomProperty(fn,e)}set _name(e){this.name=e}}class mn{constructor(e={}){if(!e.boundaries&&!e.startPosition)throw new _t.b("view-tree-walker-no-start-position: Neither boundaries nor starting position have been defined.",null);if(e.direction&&"forward"!=e.direction&&"backward"!=e.direction)throw new _t.b("view-tree-walker-unknown-direction: Only `backward` and `forward` direction allowed.",e.startPosition,{direction:e.direction});this.boundaries=e.boundaries||null,e.startPosition?this.position=gn._createAt(e.startPosition):this.position=gn._createAt(e.boundaries["backward"==e.direction?"end":"start"]),this.direction=e.direction||"forward",this.singleCharacters=!!e.singleCharacters,this.shallow=!!e.shallow,this.ignoreElementEnd=!!e.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null}[Symbol.iterator](){return this}skip(e){let t,n,r;do{r=this.position,({done:t,value:n}=this.next())}while(!t&&e(n));t||(this.position=r)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){let e=this.position.clone();const t=this.position,n=e.parent;if(null===n.parent&&e.offset===n.childCount)return{done:!0};if(n===this._boundaryEndParent&&e.offset==this.boundaries.end.offset)return{done:!0};let r;if(n instanceof Nt){if(e.isAtEnd)return this.position=gn._createAfter(n),this._next();r=n.data[e.offset]}else r=n.getChild(e.offset);if(r instanceof Ht)return this.shallow?e.offset++:e=new gn(r,0),this.position=e,this._formatReturnValue("elementStart",r,t,e,1);if(r instanceof Nt){if(this.singleCharacters)return e=new gn(r,0),this.position=e,this._next();{let n,o=r.data.length;return r==this._boundaryEndParent?(o=this.boundaries.end.offset,n=new It(r,0,o),e=gn._createAfter(n)):(n=new It(r,0,r.data.length),e.offset++),this.position=e,this._formatReturnValue("text",n,t,e,o)}}if("string"==typeof r){let r;r=this.singleCharacters?1:(n===this._boundaryEndParent?this.boundaries.end.offset:n.data.length)-e.offset;const o=new It(n,e.offset,r);return e.offset+=r,this.position=e,this._formatReturnValue("text",o,t,e,r)}return e=gn._createAfter(n),this.position=e,this.ignoreElementEnd?this._next():this._formatReturnValue("elementEnd",n,t,e)}_previous(){let e=this.position.clone();const t=this.position,n=e.parent;if(null===n.parent&&0===e.offset)return{done:!0};if(n==this._boundaryStartParent&&e.offset==this.boundaries.start.offset)return{done:!0};let r;if(n instanceof Nt){if(e.isAtStart)return this.position=gn._createBefore(n),this._previous();r=n.data[e.offset-1]}else r=n.getChild(e.offset-1);if(r instanceof Ht)return this.shallow?(e.offset--,this.position=e,this._formatReturnValue("elementStart",r,t,e,1)):(e=new gn(r,r.childCount),this.position=e,this.ignoreElementEnd?this._previous():this._formatReturnValue("elementEnd",r,t,e));if(r instanceof Nt){if(this.singleCharacters)return e=new gn(r,r.data.length),this.position=e,this._previous();{let n,o=r.data.length;if(r==this._boundaryStartParent){const t=this.boundaries.start.offset;o=(n=new It(r,t,r.data.length-t)).data.length,e=gn._createBefore(n)}else n=new It(r,0,r.data.length),e.offset--;return this.position=e,this._formatReturnValue("text",n,t,e,o)}}if("string"==typeof r){let r;if(this.singleCharacters)r=1;else{const t=n===this._boundaryStartParent?this.boundaries.start.offset:0;r=e.offset-t}e.offset-=r;const o=new It(n,e.offset,r);return this.position=e,this._formatReturnValue("text",o,t,e,r)}return e=gn._createBefore(n),this.position=e,this._formatReturnValue("elementStart",n,t,e,1)}_formatReturnValue(e,t,n,r,o){return t instanceof It&&(t.offsetInText+t.data.length==t.textNode.data.length&&("forward"!=this.direction||this.boundaries&&this.boundaries.end.isEqual(this.position)?n=gn._createAfter(t.textNode):(r=gn._createAfter(t.textNode),this.position=r)),0===t.offsetInText&&("backward"!=this.direction||this.boundaries&&this.boundaries.start.isEqual(this.position)?n=gn._createBefore(t.textNode):(r=gn._createBefore(t.textNode),this.position=r))),{done:!1,value:{type:e,item:t,previousPosition:n,nextPosition:r,length:o}}}}class gn{constructor(e,t){this.parent=e,this.offset=t}get nodeAfter(){return this.parent.is("text")?null:this.parent.getChild(this.offset)||null}get nodeBefore(){return this.parent.is("text")?null:this.parent.getChild(this.offset-1)||null}get isAtStart(){return 0===this.offset}get isAtEnd(){const e=this.parent.is("text")?this.parent.data.length:this.parent.childCount;return this.offset===e}get root(){return this.parent.root}get editableElement(){let e=this.parent;for(;!(e instanceof hn);){if(!e.parent)return null;e=e.parent}return e}getShiftedBy(e){const t=gn._createAt(this),n=t.offset+e;return t.offset=n<0?0:n,t}getLastMatchingPosition(e,t={}){t.startPosition=this;const n=new mn(t);return n.skip(e),n.position}getAncestors(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}getCommonAncestor(e){const t=this.getAncestors(),n=e.getAncestors();let r=0;for(;t[r]==n[r]&&t[r];)r++;return 0===r?null:t[r-1]}is(e){return"position"==e||"view:position"==e}isEqual(e){return this.parent==e.parent&&this.offset==e.offset}isBefore(e){return"before"==this.compareWith(e)}isAfter(e){return"after"==this.compareWith(e)}compareWith(e){if(this.root!==e.root)return"different";if(this.isEqual(e))return"same";const t=this.parent.is("node")?this.parent.getPath():[],n=e.parent.is("node")?e.parent.getPath():[];t.push(this.offset),n.push(e.offset);const r=Pt(t,n);switch(r){case"prefix":return"before";case"extension":return"after";default:return t[r]<n[r]?"before":"after"}}getWalker(e={}){return e.startPosition=this,new mn(e)}clone(){return new gn(this.parent,this.offset)}static _createAt(e,t){if(e instanceof gn)return new this(e.parent,e.offset);{const n=e;if("end"==t)t=n.is("text")?n.data.length:n.childCount;else{if("before"==t)return this._createBefore(n);if("after"==t)return this._createAfter(n);if(0!==t&&!t)throw new _t.b("view-createPositionAt-offset-required: View#createPositionAt() requires the offset when the first parameter is a view item.",n)}return new gn(n,t)}}static _createAfter(e){if(e.is("textProxy"))return new gn(e.textNode,e.offsetInText+e.data.length);if(!e.parent)throw new _t.b("view-position-after-root: You can not make position after root.",e,{root:e});return new gn(e.parent,e.index+1)}static _createBefore(e){if(e.is("textProxy"))return new gn(e.textNode,e.offsetInText);if(!e.parent)throw new _t.b("view-position-before-root: You can not make position before root.",e,{root:e});return new gn(e.parent,e.index)}}class _n{constructor(e,t=null){this.start=e.clone(),this.end=t?t.clone():e.clone()}*[Symbol.iterator](){yield*new mn({boundaries:this,ignoreElementEnd:!0})}get isCollapsed(){return this.start.isEqual(this.end)}get isFlat(){return this.start.parent===this.end.parent}get root(){return this.start.root}getEnlarged(){let e=this.start.getLastMatchingPosition(bn,{direction:"backward"}),t=this.end.getLastMatchingPosition(bn);return e.parent.is("text")&&e.isAtStart&&(e=gn._createBefore(e.parent)),t.parent.is("text")&&t.isAtEnd&&(t=gn._createAfter(t.parent)),new _n(e,t)}getTrimmed(){let e=this.start.getLastMatchingPosition(bn);if(e.isAfter(this.end)||e.isEqual(this.end))return new _n(e,e);let t=this.end.getLastMatchingPosition(bn,{direction:"backward"});const n=e.nodeAfter,r=t.nodeBefore;return n&&n.is("text")&&(e=new gn(n,0)),r&&r.is("text")&&(t=new gn(r,r.data.length)),new _n(e,t)}isEqual(e){return this==e||this.start.isEqual(e.start)&&this.end.isEqual(e.end)}containsPosition(e){return e.isAfter(this.start)&&e.isBefore(this.end)}containsRange(e,t=!1){e.isCollapsed&&(t=!1);const n=this.containsPosition(e.start)||t&&this.start.isEqual(e.start),r=this.containsPosition(e.end)||t&&this.end.isEqual(e.end);return n&&r}getDifference(e){const t=[];return this.isIntersecting(e)?(this.containsPosition(e.start)&&t.push(new _n(this.start,e.start)),this.containsPosition(e.end)&&t.push(new _n(e.end,this.end))):t.push(this.clone()),t}getIntersection(e){if(this.isIntersecting(e)){let t=this.start,n=this.end;return this.containsPosition(e.start)&&(t=e.start),this.containsPosition(e.end)&&(n=e.end),new _n(t,n)}return null}getWalker(e={}){return e.boundaries=this,new mn(e)}getCommonAncestor(){return this.start.getCommonAncestor(this.end)}clone(){return new _n(this.start,this.end)}*getItems(e={}){e.boundaries=this,e.ignoreElementEnd=!0;const t=new mn(e);for(const e of t)yield e.item}*getPositions(e={}){e.boundaries=this;const t=new mn(e);yield t.position;for(const e of t)yield e.nextPosition}is(e){return"range"==e||"view:range"==e}isIntersecting(e){return this.start.isBefore(e.end)&&this.end.isAfter(e.start)}static _createFromParentsAndOffsets(e,t,n,r){return new this(new gn(e,t),new gn(n,r))}static _createFromPositionAndShift(e,t){const n=e,r=e.getShiftedBy(t);return t>0?new this(n,r):new this(r,n)}static _createIn(e){return this._createFromParentsAndOffsets(e,0,e,e.childCount)}static _createOn(e){const t=e.is("textProxy")?e.offsetSize:1;return this._createFromPositionAndShift(gn._createBefore(e),t)}}function bn(e){return!(!e.item.is("attributeElement")&&!e.item.is("uiElement"))}function vn(e){let t=0;for(const n of e)t++;return t}class yn{constructor(e=null,t,n){this._ranges=[],this._lastRangeBackward=!1,this._isFake=!1,this._fakeSelectionLabel="",this.setTo(e,t,n)}get isFake(){return this._isFake}get fakeSelectionLabel(){return this._fakeSelectionLabel}get anchor(){if(!this._ranges.length)return null;const e=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?e.end:e.start).clone()}get focus(){if(!this._ranges.length)return null;const e=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?e.start:e.end).clone()}get isCollapsed(){return 1===this.rangeCount&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}get editableElement(){return this.anchor?this.anchor.editableElement:null}*getRanges(){for(const e of this._ranges)yield e.clone()}getFirstRange(){let e=null;for(const t of this._ranges)e&&!t.start.isBefore(e.start)||(e=t);return e?e.clone():null}getLastRange(){let e=null;for(const t of this._ranges)e&&!t.end.isAfter(e.end)||(e=t);return e?e.clone():null}getFirstPosition(){const e=this.getFirstRange();return e?e.start.clone():null}getLastPosition(){const e=this.getLastRange();return e?e.end.clone():null}isEqual(e){if(this.isFake!=e.isFake)return!1;if(this.isFake&&this.fakeSelectionLabel!=e.fakeSelectionLabel)return!1;if(this.rangeCount!=e.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(e.anchor)||!this.focus.isEqual(e.focus))return!1;for(const t of this._ranges){let n=!1;for(const r of e._ranges)if(t.isEqual(r)){n=!0;break}if(!n)return!1}return!0}isSimilar(e){if(this.isBackward!=e.isBackward)return!1;const t=vn(this.getRanges());if(t!=vn(e.getRanges()))return!1;if(0==t)return!0;for(let t of this.getRanges()){t=t.getTrimmed();let n=!1;for(let r of e.getRanges())if(r=r.getTrimmed(),t.start.isEqual(r.start)&&t.end.isEqual(r.end)){n=!0;break}if(!n)return!1}return!0}getSelectedElement(){if(1!==this.rangeCount)return null;const e=this.getFirstRange();let t=e.start.nodeAfter,n=e.end.nodeBefore;return e.start.parent.is("text")&&e.start.isAtEnd&&e.start.parent.nextSibling&&(t=e.start.parent.nextSibling),e.end.parent.is("text")&&e.end.isAtStart&&e.end.parent.previousSibling&&(n=e.end.parent.previousSibling),t instanceof Ht&&t==n?t:null}setTo(e,t,n){if(null===e)this._setRanges([]),this._setFakeOptions(t);else if(e instanceof yn||e instanceof wn)this._setRanges(e.getRanges(),e.isBackward),this._setFakeOptions({fake:e.isFake,label:e.fakeSelectionLabel});else if(e instanceof _n)this._setRanges([e],t&&t.backward),this._setFakeOptions(t);else if(e instanceof gn)this._setRanges([new _n(e)]),this._setFakeOptions(t);else if(e instanceof At){const r=!!n&&!!n.backward;let o;if(void 0===t)throw new _t.b("view-selection-setTo-required-second-parameter: selection.setTo requires the second parameter when the first parameter is a node.",this);o="in"==t?_n._createIn(e):"on"==t?_n._createOn(e):new _n(gn._createAt(e,t)),this._setRanges([o],r),this._setFakeOptions(n)}else{if(!Rt(e))throw new _t.b("view-selection-setTo-not-selectable: Cannot set selection to given place.",this);this._setRanges(e,t&&t.backward),this._setFakeOptions(t)}this.fire("change")}setFocus(e,t){if(null===this.anchor)throw new _t.b("view-selection-setFocus-no-ranges: Cannot set selection focus if there are no ranges in selection.",this);const n=gn._createAt(e,t);if("same"==n.compareWith(this.focus))return;const r=this.anchor;this._ranges.pop(),"before"==n.compareWith(r)?this._addRange(new _n(n,r),!0):this._addRange(new _n(r,n)),this.fire("change")}is(e){return"selection"==e||"view:selection"==e}_setRanges(e,t=!1){e=Array.from(e),this._ranges=[];for(const t of e)this._addRange(t);this._lastRangeBackward=!!t}_setFakeOptions(e={}){this._isFake=!!e.fake,this._fakeSelectionLabel=e.fake&&e.label||""}_addRange(e,t=!1){if(!(e instanceof _n))throw new _t.b("view-selection-add-range-not-range: Selection range set to an object that is not an instance of view.Range",this);this._pushRange(e),this._lastRangeBackward=!!t}_pushRange(e){for(const t of this._ranges)if(e.isIntersecting(t))throw new _t.b("view-selection-range-intersects: Trying to add a range that intersects with another range from selection.",this,{addedRange:e,intersectingRange:t});this._ranges.push(new _n(e.start,e.end))}}Ct(yn,Mt);class wn{constructor(e=null,t,n){this._selection=new yn,this._selection.delegate("change").to(this),this._selection.setTo(e,t,n)}get isFake(){return this._selection.isFake}get fakeSelectionLabel(){return this._selection.fakeSelectionLabel}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get isCollapsed(){return this._selection.isCollapsed}get rangeCount(){return this._selection.rangeCount}get isBackward(){return this._selection.isBackward}get editableElement(){return this._selection.editableElement}get _ranges(){return this._selection._ranges}*getRanges(){yield*this._selection.getRanges()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getSelectedElement(){return this._selection.getSelectedElement()}isEqual(e){return this._selection.isEqual(e)}isSimilar(e){return this._selection.isSimilar(e)}is(e){return"selection"==e||"documentSelection"==e||"view:selection"==e||"view:documentSelection"==e}_setTo(e,t,n){this._selection.setTo(e,t,n)}_setFocus(e,t){this._selection.setFocus(e,t)}}Ct(wn,Mt);class kn{constructor(e={}){this._items=[],this._itemMap=new Map,this._idProperty=e.idProperty||"id",this._bindToExternalToInternalMap=new WeakMap,this._bindToInternalToExternalMap=new WeakMap,this._skippedIndexesFromExternal=[]}get length(){return this._items.length}get first(){return this._items[0]||null}get last(){return this._items[this.length-1]||null}add(e,t){let n;const r=this._idProperty;if(r in e){if("string"!=typeof(n=e[r]))throw new _t.b("collection-add-invalid-id",this);if(this.get(n))throw new _t.b("collection-add-item-already-exists",this)}else e[r]=n=vt();if(void 0===t)t=this._items.length;else if(t>this._items.length||t<0)throw new _t.b("collection-add-item-invalid-index",this);return this._items.splice(t,0,e),this._itemMap.set(n,e),this.fire("add",e,t),this}get(e){let t;if("string"==typeof e)t=this._itemMap.get(e);else{if("number"!=typeof e)throw new _t.b("collection-get-invalid-arg: Index or id must be given.",this);t=this._items[e]}return t||null}has(e){if("string"==typeof e)return this._itemMap.has(e);{const t=e[this._idProperty];return this._itemMap.has(t)}}getIndex(e){let t;return t="string"==typeof e?this._itemMap.get(e):e,this._items.indexOf(t)}remove(e){let t,n,r,o=!1;const i=this._idProperty;if("string"==typeof e?(n=e,o=!(r=this._itemMap.get(n)),r&&(t=this._items.indexOf(r))):"number"==typeof e?(t=e,o=!(r=this._items[t]),r&&(n=r[i])):(n=(r=e)[i],o=-1==(t=this._items.indexOf(r))||!this._itemMap.get(n)),o)throw new _t.b("collection-remove-404: Item not found.",this);this._items.splice(t,1),this._itemMap.delete(n);const a=this._bindToInternalToExternalMap.get(r);return this._bindToInternalToExternalMap.delete(r),this._bindToExternalToInternalMap.delete(a),this.fire("remove",r,t),r}map(e,t){return this._items.map(e,t)}find(e,t){return this._items.find(e,t)}filter(e,t){return this._items.filter(e,t)}clear(){for(this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);this.length;)this.remove(0)}bindTo(e){if(this._bindToCollection)throw new _t.b("collection-bind-to-rebind: The collection cannot be bound more than once.",this);return this._bindToCollection=e,{as:e=>{this._setUpBindToBinding(t=>new e(t))},using:e=>{"function"==typeof e?this._setUpBindToBinding(t=>e(t)):this._setUpBindToBinding(t=>t[e])}}}_setUpBindToBinding(e){const t=this._bindToCollection,n=(n,r,o)=>{const i=t._bindToCollection==this,a=t._bindToInternalToExternalMap.get(r);if(i&&a)this._bindToExternalToInternalMap.set(r,a),this._bindToInternalToExternalMap.set(a,r);else{const n=e(r);if(!n)return void this._skippedIndexesFromExternal.push(o);let i=o;for(const e of this._skippedIndexesFromExternal)o>e&&i--;for(const e of t._skippedIndexesFromExternal)i>=e&&i++;this._bindToExternalToInternalMap.set(r,n),this._bindToInternalToExternalMap.set(n,r),this.add(n,i);for(let e=0;e<t._skippedIndexesFromExternal.length;e++)i<=t._skippedIndexesFromExternal[e]&&t._skippedIndexesFromExternal[e]++}};for(const e of t)n(0,e,t.getIndex(e));this.listenTo(t,"add",n),this.listenTo(t,"remove",(e,t,n)=>{const r=this._bindToExternalToInternalMap.get(t);r&&this.remove(r),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce((e,t)=>(n<t&&e.push(t-1),n>t&&e.push(t),e),[])})}[Symbol.iterator](){return this._items[Symbol.iterator]()}}Ct(kn,Mt);class Mn{constructor(){this.selection=new wn,this.roots=new kn({idProperty:"rootName"}),this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("isComposing",!1),this._postFixers=new Set}getRoot(e="main"){return this.roots.get(e)}registerPostFixer(e){this._postFixers.add(e)}destroy(){this.roots.map(e=>e.destroy()),this.stopListening()}_callPostFixers(e){let t=!1;do{for(const n of this._postFixers)if(t=n(e))break}while(t)}}Ct(Mn,on);class xn extends Ht{constructor(e,t,n){super(e,t,n),this.getFillerOffset=Tn,this._priority=10,this._id=null,this._clonesGroup=null}get priority(){return this._priority}get id(){return this._id}getElementsWithSameId(){if(null===this.id)throw new _t.b("attribute-element-get-elements-with-same-id-no-id: Cannot get elements with the same id for an attribute element without id.",this);return new Set(this._clonesGroup)}is(e,t=null){const n=e&&e.replace(/^view:/,"");return t?"attributeElement"==n&&t==this.name||super.is(e,t):"attributeElement"==n||super.is(e)}isSimilar(e){return null!==this.id||null!==e.id?this.id===e.id:super.isSimilar(e)&&this.priority==e.priority}_clone(e){const t=super._clone(e);return t._priority=this._priority,t._id=this._id,t}}function Tn(){if(En(this))return null;let e=this.parent;for(;e&&e.is("attributeElement");){if(En(e)>1)return null;e=e.parent}return!e||En(e)>1?null:this.childCount}function En(e){return Array.from(e.getChildren()).filter(e=>!e.is("uiElement")).length}xn.DEFAULT_PRIORITY=10;class Sn extends Ht{constructor(e,t,n){super(e,t,n),this.getFillerOffset=Dn}is(e,t=null){const n=e.replace(/^view:/,"");return t?"emptyElement"==n&&t==this.name||super.is(e,t):"emptyElement"==n||super.is(e)}_insertChild(e,t){if(t&&(t instanceof At||Array.from(t).length>0))throw new _t.b("view-emptyelement-cannot-add: Cannot add child nodes to EmptyElement instance.",[this,t])}}function Dn(){return null}const Ln=navigator.userAgent.toLowerCase();var Cn=function(e){return e.indexOf("macintosh")>-1}(Ln),Pn=function(e){return!!e.match(/edge\/(\d+.?\d*)/)}(Ln),On=function(e){return!!e.match(/gecko\/\d+/)}(Ln),An=function(e){return e.indexOf(" applewebkit/")>-1&&-1===e.indexOf("chrome")}(Ln),Nn=function(e){return e.indexOf("android")>-1}(Ln);!function(){let e=!1;try{e=0==="ć".search(new RegExp("[\\p{L}]","u"))}catch(e){}}();const In={"⌘":"ctrl","⇧":"shift","⌥":"alt"},Yn={ctrl:"⌘",shift:"⇧",alt:"⌥"},Rn=function(){const e={arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,backspace:8,delete:46,enter:13,space:32,esc:27,tab:9,ctrl:1114112,cmd:1114112,shift:2228224,alt:4456448};for(let t=65;t<=90;t++)e[String.fromCharCode(t).toLowerCase()]=t;for(let t=48;t<=57;t++)e[t-48]=t;for(let t=112;t<=123;t++)e["f"+(t-111)]=t;return e}();function jn(e){let t;if("string"==typeof e){if(!(t=Rn[e.toLowerCase()]))throw new _t.b("keyboard-unknown-key: Unknown key name.",null,{key:e})}else t=e.keyCode+(e.altKey?Rn.alt:0)+(e.ctrlKey?Rn.ctrl:0)+(e.shiftKey?Rn.shift:0);return t}function Fn(e){return"string"==typeof e&&(e=Hn(e)),e.map(e=>"string"==typeof e?jn(e):e).reduce((e,t)=>t+e,0)}function Hn(e){return e.split(/\s*\+\s*/)}class zn extends Ht{constructor(e,t,n){super(e,t,n),this.getFillerOffset=Bn}is(e,t=null){const n=e.replace(/^view:/,"");return t?"uiElement"==n&&t==this.name||super.is(e,t):"uiElement"==n||super.is(e)}_insertChild(e,t){if(t&&(t instanceof At||Array.from(t).length>0))throw new _t.b("view-uielement-cannot-add: Cannot add child nodes to UIElement instance.",this)}render(e){return this.toDomElement(e)}toDomElement(e){const t=e.createElement(this.name);for(const e of this.getAttributeKeys())t.setAttribute(e,this.getAttribute(e));return t}}function Bn(){return null}class Vn{constructor(e){this._children=[],e&&this._insertChild(0,e)}[Symbol.iterator](){return this._children[Symbol.iterator]()}get childCount(){return this._children.length}get isEmpty(){return 0===this.childCount}get root(){return this}get parent(){return null}is(e){return"documentFragment"==e||"view:documentFragment"==e}_appendChild(e){return this._insertChild(this.childCount,e)}getChild(e){return this._children[e]}getChildIndex(e){return this._children.indexOf(e)}getChildren(){return this._children[Symbol.iterator]()}_insertChild(e,t){this._fireChange("children",this);let n=0;const r=function(e){return"string"==typeof e?[new Nt(e)]:(Rt(e)||(e=[e]),Array.from(e).map(e=>"string"==typeof e?new Nt(e):e instanceof It?new Nt(e.data):e))}(t);for(const t of r)null!==t.parent&&t._remove(),t.parent=this,this._children.splice(e,0,t),e++,n++;return n}_removeChildren(e,t=1){this._fireChange("children",this);for(let n=e;n<e+t;n++)this._children[n].parent=null;return this._children.splice(e,t)}_fireChange(e,t){this.fire("change:"+e,t)}}Ct(Vn,Mt);class Un{constructor(e){this.document=e,this._cloneGroups=new Map}setSelection(e,t,n){this.document.selection._setTo(e,t,n)}setSelectionFocus(e,t){this.document.selection._setFocus(e,t)}createText(e){return new Nt(e)}createAttributeElement(e,t,n={}){const r=new xn(e,t);return n.priority&&(r._priority=n.priority),n.id&&(r._id=n.id),r}createContainerElement(e,t){return new Vt(e,t)}createEditableElement(e,t){const n=new hn(e,t);return n._document=this.document,n}createEmptyElement(e,t){return new Sn(e,t)}createUIElement(e,t,n){const r=new zn(e,t);return n&&(r.render=n),r}setAttribute(e,t,n){n._setAttribute(e,t)}removeAttribute(e,t){t._removeAttribute(e)}addClass(e,t){t._addClass(e)}removeClass(e,t){t._removeClass(e)}setStyle(e,t,n){y(e)&&void 0===n&&(n=t),n._setStyle(e,t)}removeStyle(e,t){t._removeStyle(e)}setCustomProperty(e,t,n){n._setCustomProperty(e,t)}removeCustomProperty(e,t){return t._removeCustomProperty(e)}breakAttributes(e){return e instanceof gn?this._breakAttributes(e):this._breakAttributesRange(e)}breakContainer(e){const t=e.parent;if(!t.is("containerElement"))throw new _t.b("view-writer-break-non-container-element: Trying to break an element which is not a container element.",this.document);if(!t.parent)throw new _t.b("view-writer-break-root: Trying to break root element.",this.document);if(e.isAtStart)return gn._createBefore(t);if(!e.isAtEnd){const n=t._clone(!1);this.insert(gn._createAfter(t),n);const r=new _n(e,gn._createAt(t,"end")),o=new gn(n,0);this.move(r,o)}return gn._createAfter(t)}mergeAttributes(e){const t=e.offset,n=e.parent;if(n.is("text"))return e;if(n.is("attributeElement")&&0===n.childCount){const e=n.parent,t=n.index;return n._remove(),this._removeFromClonedElementsGroup(n),this.mergeAttributes(new gn(e,t))}const r=n.getChild(t-1),o=n.getChild(t);if(!r||!o)return e;if(r.is("text")&&o.is("text"))return Jn(r,o);if(r.is("attributeElement")&&o.is("attributeElement")&&r.isSimilar(o)){const e=r.childCount;return r._appendChild(o.getChildren()),o._remove(),this._removeFromClonedElementsGroup(o),this.mergeAttributes(new gn(r,e))}return e}mergeContainers(e){const t=e.nodeBefore,n=e.nodeAfter;if(!(t&&n&&t.is("containerElement")&&n.is("containerElement")))throw new _t.b("view-writer-merge-containers-invalid-position: Element before and after given position cannot be merged.",this.document);const r=t.getChild(t.childCount-1),o=r instanceof Nt?gn._createAt(r,"end"):gn._createAt(t,"end");return this.move(_n._createIn(n),gn._createAt(t,"end")),this.remove(_n._createOn(n)),o}insert(e,t){!function e(t,n){for(const r of t){if(!Kn.some(e=>r instanceof e))throw new _t.b("view-writer-insert-invalid-node",n);r.is("text")||e(r.getChildren(),n)}}(t=Rt(t)?[...t]:[t],this.document);const n=Wn(e);if(!n)throw new _t.b("view-writer-invalid-position-container",this.document);const r=this._breakAttributes(e,!0),o=n._insertChild(r.offset,t);for(const e of t)this._addToClonedElementsGroup(e);const i=r.getShiftedBy(o),a=this.mergeAttributes(r);if(0===o)return new _n(a,a);{a.isEqual(r)||i.offset--;const e=this.mergeAttributes(i);return new _n(a,e)}}remove(e){const t=e instanceof _n?e:_n._createOn(e);if($n(t,this.document),t.isCollapsed)return new Vn;const{start:n,end:r}=this._breakAttributesRange(t,!0),o=n.parent,i=r.offset-n.offset,a=o._removeChildren(n.offset,i);for(const e of a)this._removeFromClonedElementsGroup(e);const s=this.mergeAttributes(n);return t.start=s,t.end=s.clone(),new Vn(a)}clear(e,t){$n(e,this.document);const n=e.getWalker({direction:"backward",ignoreElementEnd:!0});for(const r of n){const n=r.item;let o;if(n.is("element")&&t.isSimilar(n))o=_n._createOn(n);else if(!r.nextPosition.isAfter(e.start)&&n.is("textProxy")){const e=n.getAncestors().find(e=>e.is("element")&&t.isSimilar(e));e&&(o=_n._createIn(e))}o&&(o.end.isAfter(e.end)&&(o.end=e.end),o.start.isBefore(e.start)&&(o.start=e.start),this.remove(o))}}move(e,t){let n;if(t.isAfter(e.end)){const r=(t=this._breakAttributes(t,!0)).parent,o=r.childCount;e=this._breakAttributesRange(e,!0),n=this.remove(e),t.offset+=r.childCount-o}else n=this.remove(e);return this.insert(t,n)}wrap(e,t){if(!(t instanceof xn))throw new _t.b("view-writer-wrap-invalid-attribute",this.document);if($n(e,this.document),e.isCollapsed){let n=e.start;n.parent.is("element")&&!function(e){return Array.from(e.getChildren()).some(e=>!e.is("uiElement"))}(n.parent)&&(n=n.getLastMatchingPosition(e=>e.item.is("uiElement"))),n=this._wrapPosition(n,t);const r=this.document.selection;return r.isCollapsed&&r.getFirstPosition().isEqual(e.start)&&this.setSelection(n),new _n(n)}return this._wrapRange(e,t)}unwrap(e,t){if(!(t instanceof xn))throw new _t.b("view-writer-unwrap-invalid-attribute",this.document);if($n(e,this.document),e.isCollapsed)return e;const{start:n,end:r}=this._breakAttributesRange(e,!0),o=n.parent,i=this._unwrapChildren(o,n.offset,r.offset,t),a=this.mergeAttributes(i.start);a.isEqual(i.start)||i.end.offset--;const s=this.mergeAttributes(i.end);return new _n(a,s)}rename(e,t){const n=new Vt(e,t.getAttributes());return this.insert(gn._createAfter(t),n),this.move(_n._createIn(t),gn._createAt(n,0)),this.remove(_n._createOn(t)),n}clearClonedElementsGroup(e){this._cloneGroups.delete(e)}createPositionAt(e,t){return gn._createAt(e,t)}createPositionAfter(e){return gn._createAfter(e)}createPositionBefore(e){return gn._createBefore(e)}createRange(e,t){return new _n(e,t)}createRangeOn(e){return _n._createOn(e)}createRangeIn(e){return _n._createIn(e)}createSelection(e,t,n){return new yn(e,t,n)}_wrapChildren(e,t,n,r){let o=t;const i=[];for(;o<n;){const t=e.getChild(o),n=t.is("text"),a=t.is("attributeElement"),s=t.is("emptyElement"),l=t.is("uiElement");if(a&&this._wrapAttributeElement(r,t))i.push(new gn(e,o));else if(n||s||l||a&&qn(r,t)){const n=r._clone();t._remove(),n._appendChild(t),e._insertChild(o,n),this._addToClonedElementsGroup(n),i.push(new gn(e,o))}else a&&this._wrapChildren(t,0,t.childCount,r);o++}let a=0;for(const e of i)e.offset-=a,e.offset!=t&&(this.mergeAttributes(e).isEqual(e)||(a++,n--));return _n._createFromParentsAndOffsets(e,t,e,n)}_unwrapChildren(e,t,n,r){let o=t;const i=[];for(;o<n;){const t=e.getChild(o);if(t.is("attributeElement"))if(t.isSimilar(r)){const r=t.getChildren(),a=t.childCount;t._remove(),e._insertChild(o,r),this._removeFromClonedElementsGroup(t),i.push(new gn(e,o),new gn(e,o+a)),o+=a,n+=a-1}else this._unwrapAttributeElement(r,t)?(i.push(new gn(e,o),new gn(e,o+1)),o++):(this._unwrapChildren(t,0,t.childCount,r),o++);else o++}let a=0;for(const e of i)e.offset-=a,e.offset!=t&&e.offset!=n&&(this.mergeAttributes(e).isEqual(e)||(a++,n--));return _n._createFromParentsAndOffsets(e,t,e,n)}_wrapRange(e,t){const{start:n,end:r}=this._breakAttributesRange(e,!0),o=n.parent,i=this._wrapChildren(o,n.offset,r.offset,t),a=this.mergeAttributes(i.start);a.isEqual(i.start)||i.end.offset--;const s=this.mergeAttributes(i.end);return new _n(a,s)}_wrapPosition(e,t){if(t.isSimilar(e.parent))return Gn(e.clone());e.parent.is("text")&&(e=Qn(e));const n=this.createAttributeElement();n._priority=Number.POSITIVE_INFINITY,n.isSimilar=()=>!1,e.parent._insertChild(e.offset,n);const r=new _n(e,e.getShiftedBy(1));this.wrap(r,t);const o=new gn(n.parent,n.index);n._remove();const i=o.nodeBefore,a=o.nodeAfter;return i instanceof Nt&&a instanceof Nt?Jn(i,a):Gn(o)}_wrapAttributeElement(e,t){if(!Zn(e,t))return!1;if(e.name!==t.name||e.priority!==t.priority)return!1;for(const n of e.getAttributeKeys())if("class"!==n&&"style"!==n&&t.hasAttribute(n)&&t.getAttribute(n)!==e.getAttribute(n))return!1;for(const n of e.getStyleNames())if(t.hasStyle(n)&&t.getStyle(n)!==e.getStyle(n))return!1;for(const n of e.getAttributeKeys())"class"!==n&&"style"!==n&&(t.hasAttribute(n)||this.setAttribute(n,e.getAttribute(n),t));for(const n of e.getStyleNames())t.hasStyle(n)||this.setStyle(n,e.getStyle(n),t);for(const n of e.getClassNames())t.hasClass(n)||this.addClass(n,t);return!0}_unwrapAttributeElement(e,t){if(!Zn(e,t))return!1;if(e.name!==t.name||e.priority!==t.priority)return!1;for(const n of e.getAttributeKeys())if("class"!==n&&"style"!==n&&(!t.hasAttribute(n)||t.getAttribute(n)!==e.getAttribute(n)))return!1;if(!t.hasClass(...e.getClassNames()))return!1;for(const n of e.getStyleNames())if(!t.hasStyle(n)||t.getStyle(n)!==e.getStyle(n))return!1;for(const n of e.getAttributeKeys())"class"!==n&&"style"!==n&&this.removeAttribute(n,t);return this.removeClass(Array.from(e.getClassNames()),t),this.removeStyle(Array.from(e.getStyleNames()),t),!0}_breakAttributesRange(e,t=!1){const n=e.start,r=e.end;if($n(e,this.document),e.isCollapsed){const n=this._breakAttributes(e.start,t);return new _n(n,n)}const o=this._breakAttributes(r,t),i=o.parent.childCount,a=this._breakAttributes(n,t);return o.offset+=o.parent.childCount-i,new _n(a,o)}_breakAttributes(e,t=!1){const n=e.offset,r=e.parent;if(e.parent.is("emptyElement"))throw new _t.b("view-writer-cannot-break-empty-element",this.document);if(e.parent.is("uiElement"))throw new _t.b("view-writer-cannot-break-ui-element",this.document);if(!t&&r.is("text")&&Xn(r.parent))return e.clone();if(Xn(r))return e.clone();if(r.is("text"))return this._breakAttributes(Qn(e),t);if(n==r.childCount){const e=new gn(r.parent,r.index+1);return this._breakAttributes(e,t)}if(0===n){const e=new gn(r.parent,r.index);return this._breakAttributes(e,t)}{const e=r.index+1,o=r._clone();r.parent._insertChild(e,o),this._addToClonedElementsGroup(o);const i=r.childCount-n,a=r._removeChildren(n,i);o._appendChild(a);const s=new gn(r.parent,e);return this._breakAttributes(s,t)}}_addToClonedElementsGroup(e){if(!e.root.is("rootElement"))return;if(e.is("element"))for(const t of e.getChildren())this._addToClonedElementsGroup(t);const t=e.id;if(!t)return;let n=this._cloneGroups.get(t);n||(n=new Set,this._cloneGroups.set(t,n)),n.add(e),e._clonesGroup=n}_removeFromClonedElementsGroup(e){if(e.is("element"))for(const t of e.getChildren())this._removeFromClonedElementsGroup(t);const t=e.id;if(!t)return;const n=this._cloneGroups.get(t);n&&n.delete(e)}}function Wn(e){let t=e.parent;for(;!Xn(t);){if(!t)return;t=t.parent}return t}function qn(e,t){return e.priority<t.priority||!(e.priority>t.priority)&&e.getIdentity()<t.getIdentity()}function Gn(e){const t=e.nodeBefore;if(t&&t.is("text"))return new gn(t,t.data.length);const n=e.nodeAfter;return n&&n.is("text")?new gn(n,0):e}function Qn(e){if(e.offset==e.parent.data.length)return new gn(e.parent.parent,e.parent.index+1);if(0===e.offset)return new gn(e.parent.parent,e.parent.index);const t=e.parent.data.slice(e.offset);return e.parent._data=e.parent.data.slice(0,e.offset),e.parent.parent._insertChild(e.parent.index+1,new Nt(t)),new gn(e.parent.parent,e.parent.index+1)}function Jn(e,t){const n=e.data.length;return e._data+=t.data,t._remove(),new gn(e,n)}const Kn=[Nt,xn,Vt,Sn,zn];function Xn(e){return e&&(e.is("containerElement")||e.is("documentFragment"))}function $n(e,t){const n=Wn(e.start),r=Wn(e.end);if(!n||!r||n!==r)throw new _t.b("view-writer-invalid-range-container",t)}function Zn(e,t){return null===e.id&&null===t.id}function er(e){return"[object Text]"==Object.prototype.toString.call(e)}const tr=e=>{const t=e.createElement("br");return t.dataset.ckeFiller=!0,t},nr=e=>e.createTextNode(" ");let rr="";for(let e=0;e<7;e++)rr+="​";function or(e){return er(e)&&e.data.substr(0,7)===rr}function ir(e){return 7==e.data.length&&or(e)}function ar(e){return or(e)?e.data.slice(7):e.data}const sr=new WeakMap;function lr(e,t){let n=sr.get(t);return n||(n=t(window.document),sr.set(t,n)),e.isEqualNode(n)}function cr(e,t){if(t.keyCode==Rn.arrowleft){const e=t.domTarget.ownerDocument.defaultView.getSelection();if(1==e.rangeCount&&e.getRangeAt(0).collapsed){const t=e.getRangeAt(0).startContainer,n=e.getRangeAt(0).startOffset;or(t)&&n<=7&&e.collapse(t,0)}}}function ur(e,t,n,r=!1){n=n||function(e,t){return e===t},Array.isArray(e)||(e=Array.from(e)),Array.isArray(t)||(t=Array.from(t));const o=function(e,t,n){const r=dr(e,t,n);if(-1===r)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};const o=dr(hr(e,r),hr(t,r),n);return{firstIndex:r,lastIndexOld:e.length-o,lastIndexNew:t.length-o}}(e,t,n);return r?function(e,t){const{firstIndex:n,lastIndexOld:r,lastIndexNew:o}=e;if(-1===n)return Array(t).fill("equal");let i=[];return n>0&&(i=i.concat(Array(n).fill("equal"))),o-n>0&&(i=i.concat(Array(o-n).fill("insert"))),r-n>0&&(i=i.concat(Array(r-n).fill("delete"))),o<t&&(i=i.concat(Array(t-o).fill("equal"))),i}(o,t.length):function(e,t){const n=[],{firstIndex:r,lastIndexOld:o,lastIndexNew:i}=t;return i-r>0&&n.push({index:r,type:"insert",values:e.slice(r,i)}),o-r>0&&n.push({index:r+(i-r),type:"delete",howMany:o-r}),n}(t,o)}function dr(e,t,n){for(let r=0;r<Math.max(e.length,t.length);r++)if(void 0===e[r]||void 0===t[r]||!n(e[r],t[r]))return r;return-1}function hr(e,t){return e.slice(t).reverse()}function fr(e,t,n){n=n||function(e,t){return e===t};const r=e.length,o=t.length;if(r>200||o>200||r+o>300)return fr.fastDiff(e,t,n,!0);let i,a;if(o<r){const n=e;e=t,t=n,i="delete",a="insert"}else i="insert",a="delete";const s=e.length,l=t.length,c=l-s,u={},d={};function h(r){const o=(void 0!==d[r-1]?d[r-1]:-1)+1,c=void 0!==d[r+1]?d[r+1]:-1,h=o>c?-1:1;u[r+h]&&(u[r]=u[r+h].slice(0)),u[r]||(u[r]=[]),u[r].push(o>c?i:a);let f=Math.max(o,c),p=f-r;for(;p<s&&f<l&&n(e[p],t[f]);)p++,f++,u[r].push("equal");return f}let f,p=0;do{for(f=-p;f<c;f++)d[f]=h(f);for(f=c+p;f>c;f--)d[f]=h(f);d[c]=h(c),p++}while(d[c]!==l);return u[c].slice(1)}function pr(e,t,n){e.insertBefore(n,e.childNodes[t]||null)}function mr(e){const t=e.parentNode;t&&t.removeChild(e)}function gr(e){if(e){if(e.defaultView)return e instanceof e.defaultView.Document;if(e.ownerDocument&&e.ownerDocument.defaultView)return e instanceof e.ownerDocument.defaultView.Node}return!1}fr.fastDiff=ur;class _r{constructor(e,t){this.domDocuments=new Set,this.domConverter=e,this.markedAttributes=new Set,this.markedChildren=new Set,this.markedTexts=new Set,this.selection=t,this.isFocused=!1,this._inlineFiller=null,this._fakeSelectionContainer=null}markToSync(e,t){if("text"===e)this.domConverter.mapViewToDom(t.parent)&&this.markedTexts.add(t);else{if(!this.domConverter.mapViewToDom(t))return;if("attributes"===e)this.markedAttributes.add(t);else{if("children"!==e)throw new _t.b("view-renderer-unknown-type: Unknown type passed to Renderer.markToSync.",this);this.markedChildren.add(t)}}}render(){let e;for(const e of this.markedChildren)this._updateChildrenMappings(e);this._inlineFiller&&!this._isSelectionInInlineFiller()&&this._removeInlineFiller(),this._inlineFiller?e=this._getInlineFillerPosition():this._needsInlineFillerAtSelection()&&(e=this.selection.getFirstPosition(),this.markedChildren.add(e.parent));for(const e of this.markedAttributes)this._updateAttrs(e);for(const t of this.markedChildren)this._updateChildren(t,{inlineFillerPosition:e});for(const t of this.markedTexts)!this.markedChildren.has(t.parent)&&this.domConverter.mapViewToDom(t.parent)&&this._updateText(t,{inlineFillerPosition:e});if(e){const t=this.domConverter.viewPositionToDom(e),n=t.parent.ownerDocument;or(t.parent)?this._inlineFiller=t.parent:this._inlineFiller=br(n,t.parent,t.offset)}else this._inlineFiller=null;this._updateSelection(),this._updateFocus(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}_updateChildrenMappings(e){const t=this.domConverter.mapViewToDom(e);if(!t)return;const n=this.domConverter.mapViewToDom(e).childNodes,r=Array.from(this.domConverter.viewChildrenToDom(e,t.ownerDocument,{withChildren:!1})),o=this._diffNodeLists(n,r),i=this._findReplaceActions(o,n,r);if(-1!==i.indexOf("replace")){const t={equal:0,insert:0,delete:0};for(const o of i)if("replace"===o){const o=t.equal+t.insert,i=t.equal+t.delete,a=e.getChild(o);a&&!a.is("uiElement")&&this._updateElementMappings(a,n[i]),mr(r[o]),t.equal++}else t[o]++}}_updateElementMappings(e,t){this.domConverter.unbindDomElement(t),this.domConverter.bindElements(t,e),this.markedChildren.add(e),this.markedAttributes.add(e)}_getInlineFillerPosition(){const e=this.selection.getFirstPosition();return e.parent.is("text")?gn._createBefore(this.selection.getFirstPosition().parent):e}_isSelectionInInlineFiller(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const e=this.selection.getFirstPosition(),t=this.domConverter.viewPositionToDom(e);return!!(t&&er(t.parent)&&or(t.parent))}_removeInlineFiller(){const e=this._inlineFiller;if(!or(e))throw new _t.b("view-renderer-filler-was-lost: The inline filler node was lost.",this);ir(e)?e.parentNode.removeChild(e):e.data=e.data.substr(7),this._inlineFiller=null}_needsInlineFillerAtSelection(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const e=this.selection.getFirstPosition(),t=e.parent,n=e.offset;if(!this.domConverter.mapViewToDom(t.root))return!1;if(!t.is("element"))return!1;if(!function(e){if("false"==e.getAttribute("contenteditable"))return!1;const t=e.findAncestor(e=>e.hasAttribute("contenteditable"));return!t||"true"==t.getAttribute("contenteditable")}(t))return!1;if(n===t.getFillerOffset())return!1;const r=e.nodeBefore,o=e.nodeAfter;return!(r instanceof Nt||o instanceof Nt)}_updateText(e,t){const n=this.domConverter.findCorrespondingDomText(e),r=this.domConverter.viewToDom(e,n.ownerDocument),o=n.data;let i=r.data;const a=t.inlineFillerPosition;if(a&&a.parent==e.parent&&a.offset==e.index&&(i=rr+i),o!=i){const e=ur(o,i);for(const t of e)"insert"===t.type?n.insertData(t.index,t.values.join("")):n.deleteData(t.index,t.howMany)}}_updateAttrs(e){const t=this.domConverter.mapViewToDom(e);if(!t)return;const n=Array.from(t.attributes).map(e=>e.name),r=e.getAttributeKeys();for(const n of r)t.setAttribute(n,e.getAttribute(n));for(const r of n)e.hasAttribute(r)||t.removeAttribute(r)}_updateChildren(e,t){const n=this.domConverter.mapViewToDom(e);if(!n)return;const r=t.inlineFillerPosition,o=this.domConverter.mapViewToDom(e).childNodes,i=Array.from(this.domConverter.viewChildrenToDom(e,n.ownerDocument,{bind:!0,inlineFillerPosition:r}));r&&r.parent===e&&br(n.ownerDocument,i,r.offset);const a=this._diffNodeLists(o,i);let s=0;const l=new Set;for(const e of a)"insert"===e?(pr(n,s,i[s]),s++):"delete"===e?(l.add(o[s]),mr(o[s])):(this._markDescendantTextToSync(this.domConverter.domToView(i[s])),s++);for(const e of l)e.parentNode||this.domConverter.unbindDomElement(e)}_diffNodeLists(e,t){return fr(e=function(e,t){const n=Array.from(e);return 0!=n.length&&t?(n[n.length-1]==t&&n.pop(),n):n}(e,this._fakeSelectionContainer),t,function(e,t,n){return t===n||(er(t)&&er(n)?t.data===n.data:!(!lr(t,e)||!lr(n,e)))}.bind(null,this.domConverter.blockFiller))}_findReplaceActions(e,t,n){if(-1===e.indexOf("insert")||-1===e.indexOf("delete"))return e;let r=[],o=[],i=[];const a={equal:0,insert:0,delete:0};for(const s of e)"insert"===s?i.push(n[a.equal+a.insert]):"delete"===s?o.push(t[a.equal+a.delete]):((r=r.concat(fr(o,i,vr).map(e=>"equal"===e?"replace":e))).push("equal"),o=[],i=[]),a[s]++;return r.concat(fr(o,i,vr).map(e=>"equal"===e?"replace":e))}_markDescendantTextToSync(e){if(e)if(e.is("text"))this.markedTexts.add(e);else if(e.is("element"))for(const t of e.getChildren())this._markDescendantTextToSync(t)}_updateSelection(){if(0===this.selection.rangeCount)return this._removeDomSelection(),void this._removeFakeSelection();const e=this.domConverter.mapViewToDom(this.selection.editableElement);this.isFocused&&e&&(this.selection.isFake?this._updateFakeSelection(e):(this._removeFakeSelection(),this._updateDomSelection(e)))}_updateFakeSelection(e){const t=e.ownerDocument;let n=this._fakeSelectionContainer;n||(this._fakeSelectionContainer=n=t.createElement("div"),Object.assign(n.style,{position:"fixed",top:0,left:"-9999px",width:"42px"}),n.textContent=" "),n.parentElement&&n.parentElement==e||e.appendChild(n),n.textContent=this.selection.fakeSelectionLabel||" ";const r=t.getSelection(),o=t.createRange();r.removeAllRanges(),o.selectNodeContents(n),r.addRange(o),this.domConverter.bindFakeSelection(n,this.selection)}_updateDomSelection(e){const t=e.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(t))return;const n=this.domConverter.viewPositionToDom(this.selection.anchor),r=this.domConverter.viewPositionToDom(this.selection.focus);e.focus(),t.collapse(n.parent,n.offset),t.extend(r.parent,r.offset),On&&function(e,t){const n=e.parent;if(n.nodeType!=Node.ELEMENT_NODE||e.offset!=n.childNodes.length-1)return;const r=n.childNodes[e.offset];r&&"BR"==r.tagName&&t.addRange(t.getRangeAt(0))}(r,t)}_domSelectionNeedsUpdate(e){if(!this.domConverter.isDomSelectionCorrect(e))return!0;const t=e&&this.domConverter.domSelectionToView(e);return!(t&&this.selection.isEqual(t)||!this.selection.isCollapsed&&this.selection.isSimilar(t))}_removeDomSelection(){for(const e of this.domDocuments)if(e.getSelection().rangeCount){const t=e.activeElement,n=this.domConverter.mapDomToView(t);t&&n&&e.getSelection().removeAllRanges()}}_removeFakeSelection(){const e=this._fakeSelectionContainer;e&&e.remove()}_updateFocus(){if(this.isFocused){const e=this.selection.editableElement;e&&this.domConverter.focus(e)}}}function br(e,t,n){const r=t instanceof Array?t:t.childNodes,o=r[n];if(er(o))return o.data=rr+o.data,o;{const o=e.createTextNode(rr);return Array.isArray(t)?r.splice(n,0,o):pr(t,n,o),o}}function vr(e,t){return gr(e)&&gr(t)&&!er(e)&&!er(t)&&e.tagName.toLowerCase()===t.tagName.toLowerCase()}Ct(_r,on);var yr={window:window,document:document};function wr(e){let t=0;for(;e.previousSibling;)e=e.previousSibling,t++;return t}function kr(e){const t=[];for(;e&&e.nodeType!=Node.DOCUMENT_NODE;)t.unshift(e),e=e.parentNode;return t}class Mr{constructor(e={}){this.blockFiller=e.blockFiller||tr,this.preElements=["pre"],this.blockElements=["p","div","h1","h2","h3","h4","h5","h6"],this._domToViewMapping=new WeakMap,this._viewToDomMapping=new WeakMap,this._fakeSelectionMapping=new WeakMap}bindFakeSelection(e,t){this._fakeSelectionMapping.set(e,new yn(t))}fakeSelectionToView(e){return this._fakeSelectionMapping.get(e)}bindElements(e,t){this._domToViewMapping.set(e,t),this._viewToDomMapping.set(t,e)}unbindDomElement(e){const t=this._domToViewMapping.get(e);if(t){this._domToViewMapping.delete(e),this._viewToDomMapping.delete(t);for(const t of Array.from(e.childNodes))this.unbindDomElement(t)}}bindDocumentFragments(e,t){this._domToViewMapping.set(e,t),this._viewToDomMapping.set(t,e)}viewToDom(e,t,n={}){if(e.is("text")){const n=this._processDataFromViewText(e);return t.createTextNode(n)}{if(this.mapViewToDom(e))return this.mapViewToDom(e);let r;if(e.is("documentFragment"))r=t.createDocumentFragment(),n.bind&&this.bindDocumentFragments(r,e);else{if(e.is("uiElement"))return r=e.render(t),n.bind&&this.bindElements(r,e),r;r=t.createElement(e.name),n.bind&&this.bindElements(r,e);for(const t of e.getAttributeKeys())r.setAttribute(t,e.getAttribute(t))}if(n.withChildren||void 0===n.withChildren)for(const o of this.viewChildrenToDom(e,t,n))r.appendChild(o);return r}}*viewChildrenToDom(e,t,n={}){const r=e.getFillerOffset&&e.getFillerOffset();let o=0;for(const i of e.getChildren())r===o&&(yield this.blockFiller(t)),yield this.viewToDom(i,t,n),o++;r===o&&(yield this.blockFiller(t))}viewRangeToDom(e){const t=this.viewPositionToDom(e.start),n=this.viewPositionToDom(e.end),r=document.createRange();return r.setStart(t.parent,t.offset),r.setEnd(n.parent,n.offset),r}viewPositionToDom(e){const t=e.parent;if(t.is("text")){const n=this.findCorrespondingDomText(t);if(!n)return null;let r=e.offset;return or(n)&&(r+=7),{parent:n,offset:r}}{let n,r,o;if(0===e.offset){if(!(n=this.mapViewToDom(t)))return null;o=n.childNodes[0]}else{const t=e.nodeBefore;if(!(r=t.is("text")?this.findCorrespondingDomText(t):this.mapViewToDom(e.nodeBefore)))return null;n=r.parentNode,o=r.nextSibling}return er(o)&&or(o)?{parent:o,offset:7}:{parent:n,offset:r?wr(r)+1:0}}}domToView(e,t={}){if(lr(e,this.blockFiller))return null;const n=this.getParentUIElement(e,this._domToViewMapping);if(n)return n;if(er(e)){if(ir(e))return null;{const t=this._processDataFromDomText(e);return""===t?null:new Nt(t)}}if(this.isComment(e))return null;{if(this.mapDomToView(e))return this.mapDomToView(e);let n;if(this.isDocumentFragment(e))n=new Vn,t.bind&&this.bindDocumentFragments(e,n);else{const r=t.keepOriginalCase?e.tagName:e.tagName.toLowerCase();n=new Ht(r),t.bind&&this.bindElements(e,n);const o=e.attributes;for(let e=o.length-1;e>=0;e--)n._setAttribute(o[e].name,o[e].value)}if(t.withChildren||void 0===t.withChildren)for(const r of this.domChildrenToView(e,t))n._appendChild(r);return n}}*domChildrenToView(e,t={}){for(let n=0;n<e.childNodes.length;n++){const r=e.childNodes[n],o=this.domToView(r,t);null!==o&&(yield o)}}domSelectionToView(e){if(1===e.rangeCount){let t=e.getRangeAt(0).startContainer;er(t)&&(t=t.parentNode);const n=this.fakeSelectionToView(t);if(n)return n}const t=this.isDomSelectionBackward(e),n=[];for(let t=0;t<e.rangeCount;t++){const r=e.getRangeAt(t),o=this.domRangeToView(r);o&&n.push(o)}return new yn(n,{backward:t})}domRangeToView(e){const t=this.domPositionToView(e.startContainer,e.startOffset),n=this.domPositionToView(e.endContainer,e.endOffset);return t&&n?new _n(t,n):null}domPositionToView(e,t){if(lr(e,this.blockFiller))return this.domPositionToView(e.parentNode,wr(e));const n=this.mapDomToView(e);if(n&&n.is("uiElement"))return gn._createBefore(n);if(er(e)){if(ir(e))return this.domPositionToView(e.parentNode,wr(e));const n=this.findCorrespondingViewText(e);let r=t;return n?(or(e)&&(r=(r-=7)<0?0:r),new gn(n,r)):null}if(0===t){const t=this.mapDomToView(e);if(t)return new gn(t,0)}else{const n=e.childNodes[t-1],r=er(n)?this.findCorrespondingViewText(n):this.mapDomToView(n);if(r&&r.parent)return new gn(r.parent,r.index+1)}return null}mapDomToView(e){return this.getParentUIElement(e)||this._domToViewMapping.get(e)}findCorrespondingViewText(e){if(ir(e))return null;const t=this.getParentUIElement(e);if(t)return t;const n=e.previousSibling;if(n){if(!this.isElement(n))return null;const e=this.mapDomToView(n);if(e)return e.nextSibling instanceof Nt?e.nextSibling:null}else{const t=this.mapDomToView(e.parentNode);if(t){const e=t.getChild(0);return e instanceof Nt?e:null}}return null}mapViewToDom(e){return this._viewToDomMapping.get(e)}findCorrespondingDomText(e){const t=e.previousSibling;return t&&this.mapViewToDom(t)?this.mapViewToDom(t).nextSibling:!t&&e.parent&&this.mapViewToDom(e.parent)?this.mapViewToDom(e.parent).childNodes[0]:null}focus(e){const t=this.mapViewToDom(e);if(t&&t.ownerDocument.activeElement!==t){const{scrollX:e,scrollY:n}=yr.window,r=[];Tr(t,e=>{const{scrollLeft:t,scrollTop:n}=e;r.push([t,n])}),t.focus(),Tr(t,e=>{const[t,n]=r.shift();e.scrollLeft=t,e.scrollTop=n}),yr.window.scrollTo(e,n)}}isElement(e){return e&&e.nodeType==Node.ELEMENT_NODE}isDocumentFragment(e){return e&&e.nodeType==Node.DOCUMENT_FRAGMENT_NODE}isComment(e){return e&&e.nodeType==Node.COMMENT_NODE}isDomSelectionBackward(e){if(e.isCollapsed)return!1;const t=document.createRange();t.setStart(e.anchorNode,e.anchorOffset),t.setEnd(e.focusNode,e.focusOffset);const n=t.collapsed;return t.detach(),n}getParentUIElement(e){const t=kr(e);for(t.pop();t.length;){const e=t.pop(),n=this._domToViewMapping.get(e);if(n&&n.is("uiElement"))return n}return null}isDomSelectionCorrect(e){return this._isDomSelectionPositionCorrect(e.anchorNode,e.anchorOffset)&&this._isDomSelectionPositionCorrect(e.focusNode,e.focusOffset)}_isDomSelectionPositionCorrect(e,t){if(er(e)&&or(e)&&t<7)return!1;if(this.isElement(e)&&or(e.childNodes[t]))return!1;const n=this.mapDomToView(e);return!n||!n.is("uiElement")}_processDataFromViewText(e){let t=e.data;if(e.getAncestors().some(e=>this.preElements.includes(e.name)))return t;if(" "==t.charAt(0)){const n=this._getTouchingViewTextNode(e,!1);(!n||!this._nodeEndsWithSpace(n))&&n||(t=" "+t.substr(1))}if(" "==t.charAt(t.length-1)){const n=this._getTouchingViewTextNode(e,!0);" "!=t.charAt(t.length-2)&&n&&" "!=n.data.charAt(0)||(t=t.substr(0,t.length-1)+" ")}return t.replace(/ {2}/g,"  ")}_nodeEndsWithSpace(e){if(e.getAncestors().some(e=>this.preElements.includes(e.name)))return!1;const t=this._processDataFromViewText(e);return" "==t.charAt(t.length-1)}_processDataFromDomText(e){let t=e.data;if(xr(e,this.preElements))return ar(e);t=t.replace(/[ \n\t\r]{1,}/g," ");const n=this._getTouchingInlineDomNode(e,!1),r=this._getTouchingInlineDomNode(e,!0),o=this._checkShouldLeftTrimDomText(n),i=this._checkShouldRightTrimDomText(e,r);return o&&(t=t.replace(/^ /,"")),i&&(t=t.replace(/ $/,"")),t=(t=ar(new Text(t))).replace(/ \u00A0/g," "),(/( |\u00A0)\u00A0$/.test(t)||!r||r.data&&" "==r.data.charAt(0))&&(t=t.replace(/\u00A0$/," ")),o&&(t=t.replace(/^\u00A0/," ")),t}_checkShouldLeftTrimDomText(e){return!e||!!pt(e)||/[^\S\u00A0]/.test(e.data.charAt(e.data.length-1))}_checkShouldRightTrimDomText(e,t){return!t&&!or(e)}_getTouchingViewTextNode(e,t){const n=new mn({startPosition:t?gn._createAfter(e):gn._createBefore(e),direction:t?"forward":"backward"});for(const e of n){if(e.item.is("containerElement"))return null;if(e.item.is("br"))return null;if(e.item.is("textProxy"))return e.item}return null}_getTouchingInlineDomNode(e,t){if(!e.parentNode)return null;const n=t?"nextNode":"previousNode",r=e.ownerDocument,o=kr(e)[0],i=r.createTreeWalker(o,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,{acceptNode:e=>er(e)||"BR"==e.tagName?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});i.currentNode=e;const a=i[n]();if(null!==a){const t=function(e,t){const n=kr(e),r=kr(t);let o=0;for(;n[o]==r[o]&&n[o];)o++;return 0===o?null:n[o-1]}(e,a);if(t&&!xr(e,this.blockElements,t)&&!xr(a,this.blockElements,t))return a}return null}}function xr(e,t,n){let r=kr(e);return n&&(r=r.slice(r.indexOf(n)+1)),r.some(e=>e.tagName&&t.includes(e.tagName.toLowerCase()))}function Tr(e,t){for(;e&&e!=yr.document;)t(e),e=e.parentNode}function Er(e){const t=Object.prototype.toString.apply(e);return"[object Window]"==t||"[object global]"==t}var Sr=Zt({},Mt,{listenTo(e,...t){if(gr(e)||Er(e)){const n=this._getProxyEmitter(e)||new Dr(e);n.attach(...t),e=n}Mt.listenTo.call(this,e,...t)},stopListening(e,t,n){if(gr(e)||Er(e)){const t=this._getProxyEmitter(e);if(!t)return;e=t}Mt.stopListening.call(this,e,t,n),e instanceof Dr&&e.detach(t)},_getProxyEmitter(e){return function(e,t){return e[wt]&&e[wt][t]?e[wt][t].emitter:null}(this,Lr(e))}});class Dr{constructor(e){xt(this,Lr(e)),this._domNode=e}}function Lr(e){return e["data-ck-expando"]||(e["data-ck-expando"]=vt())}Zt(Dr.prototype,Mt,{attach(e,t,n={}){if(this._domListeners&&this._domListeners[e])return;const r=this._createDomListener(e,!!n.useCapture);this._domNode.addEventListener(e,r,!!n.useCapture),this._domListeners||(this._domListeners={}),this._domListeners[e]=r},detach(e){let t;!this._domListeners[e]||(t=this._events[e])&&t.callbacks.length||this._domListeners[e].removeListener()},_createDomListener(e,t){const n=t=>{this.fire(e,t)};return n.removeListener=()=>{this._domNode.removeEventListener(e,n,t),delete this._domListeners[e]},n}});class Cr{constructor(e){this.view=e,this.document=e.document,this.isEnabled=!1}enable(){this.isEnabled=!0}disable(){this.isEnabled=!1}destroy(){this.disable(),this.stopListening()}}function Pr(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Q;++t<n;)this.add(e[t])}Ct(Cr,Sr),Pr.prototype.add=Pr.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Pr.prototype.has=function(e){return this.__data__.has(e)};var Or=Pr,Ar=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},Nr=function(e,t){return e.has(t)},Ir=function(e,t,n,r,o,i){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var u=-1,d=!0,h=2&n?new Or:void 0;for(i.set(e,t),i.set(t,e);++u<s;){var f=e[u],p=t[u];if(r)var m=a?r(p,f,u,t,e,i):r(f,p,u,e,t,i);if(void 0!==m){if(m)continue;d=!1;break}if(h){if(!Ar(t,(function(e,t){if(!Nr(h,t)&&(f===e||o(f,e,n,r,i)))return h.push(t)}))){d=!1;break}}else if(f!==p&&!o(f,p,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d},Yr=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},Rr=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},jr=o?o.prototype:void 0,Fr=jr?jr.valueOf:void 0,Hr=Object.prototype.hasOwnProperty,zr="[object Arguments]",Br="[object Array]",Vr="[object Object]",Ur=Object.prototype.hasOwnProperty,Wr=function(e,t,n,r,o,i){var a=se(e),s=se(t),l=a?Br:Qe(e),c=s?Br:Qe(t),u=(l=l==zr?Vr:l)==Vr,d=(c=c==zr?Vr:c)==Vr,h=l==c;if(h&&Object(le.a)(e)){if(!Object(le.a)(t))return!1;a=!0,u=!1}if(h&&!u)return i||(i=new K),a||ge(e)?Ir(e,t,n,r,o,i):function(e,t,n,r,o,i,a){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||!i(new Ke(e),new Ke(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return w(+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 s=Yr;case"[object Set]":var l=1&r;if(s||(s=Rr),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=Ir(s(e),s(t),r,o,i,a);return a.delete(e),u;case"[object Symbol]":if(Fr)return Fr.call(e)==Fr.call(t)}return!1}(e,t,l,n,r,o,i);if(!(1&n)){var f=u&&Ur.call(e,"__wrapped__"),p=d&&Ur.call(t,"__wrapped__");if(f||p){var m=f?e.value():e,g=p?t.value():t;return i||(i=new K),o(m,g,n,r,i)}}return!!h&&(i||(i=new K),function(e,t,n,r,o,i){var a=1&n,s=Ye(e),l=s.length;if(l!=Ye(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:Hr.call(t,u)))return!1}var d=i.get(e);if(d&&i.get(t))return d==t;var h=!0;i.set(e,t),i.set(t,e);for(var f=a;++c<l;){var p=e[u=s[c]],m=t[u];if(r)var g=a?r(m,p,u,t,e,i):r(p,m,u,e,t,i);if(!(void 0===g?p===m||o(p,m,n,r,i):g)){h=!1;break}f||(f="constructor"==u)}if(h&&!f){var _=e.constructor,b=t.constructor;_!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b)&&(h=!1)}return i.delete(e),i.delete(t),h}(e,t,n,r,o,i))},qr=function e(t,n,r,o,i){return t===n||(null==t||null==n||!p(t)&&!p(n)?t!=t&&n!=n:Wr(t,n,r,o,e,i))},Gr=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?qr(e,t,void 0,n):!!r};class Qr extends Cr{constructor(e){super(e),this._config={childList:!0,characterData:!0,characterDataOldValue:!0,subtree:!0},this.domConverter=e.domConverter,this.renderer=e._renderer,this._domElements=[],this._mutationObserver=new window.MutationObserver(this._onMutations.bind(this))}flush(){this._onMutations(this._mutationObserver.takeRecords())}observe(e){this._domElements.push(e),this.isEnabled&&this._mutationObserver.observe(e,this._config)}enable(){super.enable();for(const e of this._domElements)this._mutationObserver.observe(e,this._config)}disable(){super.disable(),this._mutationObserver.disconnect()}destroy(){super.destroy(),this._mutationObserver.disconnect()}_onMutations(e){if(0===e.length)return;const t=this.domConverter,n=new Map,r=new Set;for(const n of e)if("childList"===n.type){const e=t.mapDomToView(n.target);if(e&&e.is("uiElement"))continue;e&&!this._isBogusBrMutation(n)&&r.add(e)}for(const o of e){const e=t.mapDomToView(o.target);if(!(e&&e.is("uiElement")||"characterData"!==o.type)){const e=t.findCorrespondingViewText(o.target);e&&!r.has(e.parent)?n.set(e,{type:"text",oldText:e.data,newText:ar(o.target),node:e}):!e&&or(o.target)&&r.add(t.mapDomToView(o.target.parentNode))}}const o=[];for(const e of n.values())this.renderer.markToSync("text",e.node),o.push(e);for(const e of r){const n=t.mapViewToDom(e),r=Array.from(e.getChildren()),i=Array.from(t.domChildrenToView(n,{withChildren:!1}));Gr(r,i,s)||(this.renderer.markToSync("children",e),o.push({type:"children",oldChildren:r,newChildren:i,node:e}))}const i=e[0].target.ownerDocument.getSelection();let a=null;if(i&&i.anchorNode){const e=t.domPositionToView(i.anchorNode,i.anchorOffset),n=t.domPositionToView(i.focusNode,i.focusOffset);e&&n&&(a=new yn(e)).setFocus(n)}function s(e,t){if(!Array.isArray(e))return e===t||!(!e.is("text")||!t.is("text"))&&e.data===t.data}this.document.fire("mutations",o,a),this.view.forceRender()}_isBogusBrMutation(e){let t=null;return null===e.nextSibling&&0===e.removedNodes.length&&1==e.addedNodes.length&&(t=this.domConverter.domToView(e.addedNodes[0],{withChildren:!1})),t&&t.is("element","br")}}class Jr{constructor(e,t,n){this.view=e,this.document=e.document,this.domEvent=t,this.domTarget=t.target,Zt(this,n)}get target(){return this.view.domConverter.mapDomToView(this.domTarget)}preventDefault(){this.domEvent.preventDefault()}stopPropagation(){this.domEvent.stopPropagation()}}class Kr extends Cr{constructor(e){super(e),this.useCapture=!1}observe(e){("string"==typeof this.domEventType?[this.domEventType]:this.domEventType).forEach(t=>{this.listenTo(e,t,(e,t)=>{this.isEnabled&&this.onDomEvent(t)},{useCapture:this.useCapture})})}fire(e,t,n){this.isEnabled&&this.document.fire(e,new Jr(this.view,t,n))}}class Xr extends Kr{constructor(e){super(e),this.domEventType=["keydown","keyup"]}onDomEvent(e){this.fire(e.type,e,{keyCode:e.keyCode,altKey:e.altKey,ctrlKey:e.ctrlKey||e.metaKey,shiftKey:e.shiftKey,get keystroke(){return jn(this)}})}}var $r=function(){return r.a.Date.now()},Zr=function(e){return"symbol"==typeof e||p(e)&&"[object Symbol]"==d(e)},eo=/^\s+|\s+$/g,to=/^[-+]0x[0-9a-f]+$/i,no=/^0b[01]+$/i,ro=/^0o[0-7]+$/i,oo=parseInt,io=function(e){if("number"==typeof e)return e;if(Zr(e))return NaN;if(E(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=E(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(eo,"");var n=no.test(e);return n||ro.test(e)?oo(e.slice(2),n?2:8):to.test(e)?NaN:+e},ao=Math.max,so=Math.min,lo=function(e,t,n){var r,o,i,a,s,l,c=0,u=!1,d=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function f(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function p(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=i}function m(){var e=$r();if(p(e))return g(e);s=setTimeout(m,function(e){var n=t-(e-l);return d?so(n,i-(e-c)):n}(e))}function g(e){return s=void 0,h&&r?f(e):(r=o=void 0,a)}function _(){var e=$r(),n=p(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(m,t),u?f(e):a}(l);if(d)return clearTimeout(s),s=setTimeout(m,t),f(l)}return void 0===s&&(s=setTimeout(m,t)),a}return t=io(t)||0,E(n)&&(u=!!n.leading,i=(d="maxWait"in n)?ao(io(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h),_.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},_.flush=function(){return void 0===s?a:g($r())},_};class co extends Cr{constructor(e){super(e),this._fireSelectionChangeDoneDebounced=lo(e=>this.document.fire("selectionChangeDone",e),200)}observe(){const e=this.document;e.on("keydown",(t,n)=>{e.selection.isFake&&function(e){return e==Rn.arrowright||e==Rn.arrowleft||e==Rn.arrowup||e==Rn.arrowdown}(n.keyCode)&&this.isEnabled&&(n.preventDefault(),this._handleSelectionMove(n.keyCode))},{priority:"lowest"})}destroy(){super.destroy(),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(e){const t=this.document.selection,n=new yn(t.getRanges(),{backward:t.isBackward,fake:!1});e!=Rn.arrowleft&&e!=Rn.arrowup||n.setTo(n.getFirstPosition()),e!=Rn.arrowright&&e!=Rn.arrowdown||n.setTo(n.getLastPosition());const r={oldSelection:t,newSelection:n,domSelection:null};this.document.fire("selectionChange",r),this._fireSelectionChangeDoneDebounced(r)}}class uo extends Cr{constructor(e){super(e),this.mutationObserver=e.getObserver(Qr),this.selection=this.document.selection,this.domConverter=e.domConverter,this._documents=new WeakSet,this._fireSelectionChangeDoneDebounced=lo(e=>this.document.fire("selectionChangeDone",e),200),this._clearInfiniteLoopInterval=setInterval(()=>this._clearInfiniteLoop(),1e3),this._loopbackCounter=0}observe(e){const t=e.ownerDocument;this._documents.has(t)||(this.listenTo(t,"selectionchange",()=>{this._handleSelectionChange(t)}),this._documents.add(t))}destroy(){super.destroy(),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionChange(e){if(!this.isEnabled||!this.document.isFocused&&!this.document.isReadOnly)return;this.mutationObserver.flush();const t=e.defaultView.getSelection(),n=this.domConverter.domSelectionToView(t);if(!(this.selection.isEqual(n)&&this.domConverter.isDomSelectionCorrect(t)||++this._loopbackCounter>60))if(this.selection.isSimilar(n))this.view.forceRender();else{const e={oldSelection:this.selection,newSelection:n,domSelection:t};this.document.fire("selectionChange",e),this._fireSelectionChangeDoneDebounced(e)}}_clearInfiniteLoop(){this._loopbackCounter=0}}class ho extends Kr{constructor(e){super(e),this.domEventType=["focus","blur"],this.useCapture=!0;const t=this.document;t.on("focus",()=>{t.isFocused=!0,this._renderTimeoutId=setTimeout(()=>e.forceRender(),50)}),t.on("blur",(n,r)=>{const o=t.selection.editableElement;null!==o&&o!==r.target||(t.isFocused=!1,e.forceRender())})}onDomEvent(e){this.fire(e.type,e)}destroy(){this._renderTimeoutId&&clearTimeout(this._renderTimeoutId),super.destroy()}}class fo extends Kr{constructor(e){super(e),this.domEventType=["compositionstart","compositionupdate","compositionend"];const t=this.document;t.on("compositionstart",()=>{t.isComposing=!0}),t.on("compositionend",()=>{t.isComposing=!1})}onDomEvent(e){this.fire(e.type,e)}}class po extends Kr{constructor(e){super(e),this.domEventType=["beforeinput"]}onDomEvent(e){this.fire(e.type,e)}}function mo(e){return"[object Range]"==Object.prototype.toString.apply(e)}function go(e){const t=e.ownerDocument.defaultView.getComputedStyle(e);return{top:parseInt(t.borderTopWidth,10),right:parseInt(t.borderRightWidth,10),bottom:parseInt(t.borderBottomWidth,10),left:parseInt(t.borderLeftWidth,10)}}const _o=["top","right","bottom","left","width","height"];class bo{constructor(e){const t=mo(e);if(Object.defineProperty(this,"_source",{value:e._source||e,writable:!0,enumerable:!1}),pt(e)||t)vo(this,t?bo.getDomRangeRects(e)[0]:e.getBoundingClientRect());else if(Er(e)){const{innerWidth:t,innerHeight:n}=e;vo(this,{top:0,right:t,bottom:n,left:0,width:t,height:n})}else vo(this,e)}clone(){return new bo(this)}moveTo(e,t){return this.top=t,this.right=e+this.width,this.bottom=t+this.height,this.left=e,this}moveBy(e,t){return this.top+=t,this.right+=e,this.left+=e,this.bottom+=t,this}getIntersection(e){const t={top:Math.max(this.top,e.top),right:Math.min(this.right,e.right),bottom:Math.min(this.bottom,e.bottom),left:Math.max(this.left,e.left)};return t.width=t.right-t.left,t.height=t.bottom-t.top,t.width<0||t.height<0?null:new bo(t)}getIntersectionArea(e){const t=this.getIntersection(e);return t?t.getArea():0}getArea(){return this.width*this.height}getVisible(){const e=this._source;let t=this.clone();if(!yo(e)){let n=e.parentNode||e.commonAncestorContainer;for(;n&&!yo(n);){const e=new bo(n),r=t.getIntersection(e);if(!r)return null;r.getArea()<t.getArea()&&(t=r),n=n.parentNode}}return t}isEqual(e){for(const t of _o)if(this[t]!==e[t])return!1;return!0}contains(e){const t=this.getIntersection(e);return!(!t||!t.isEqual(e))}excludeScrollbarsAndBorders(){const e=this._source;let t,n;if(Er(e))t=e.innerWidth-e.document.documentElement.clientWidth,n=e.innerHeight-e.document.documentElement.clientHeight;else{const r=go(this._source);t=e.offsetWidth-e.clientWidth,n=e.offsetHeight-e.clientHeight,this.moveBy(r.left,r.top)}return this.width-=t,this.right-=t,this.height-=n,this.bottom-=n,this}static getDomRangeRects(e){const t=[],n=Array.from(e.getClientRects());if(n.length)for(const e of n)t.push(new bo(e));else{let n=e.startContainer;er(n)&&(n=n.parentNode);const r=new bo(n.getBoundingClientRect());r.right=r.left,r.width=0,t.push(r)}return t}}function vo(e,t){for(const n of _o)e[n]=t[n]}function yo(e){return!!pt(e)&&e===e.ownerDocument.body}function wo({target:e,viewportOffset:t=0}){const n=Do(e);let r=n,o=null;for(;r;){let i;Mo(i=Lo(r==n?e:o),()=>Co(e,r));const a=Co(e,r);if(ko(r,a,t),r.parent!=r){if(o=r.frameElement,r=r.parent,!o)return}else r=null}}function ko(e,t,n){const r=t.clone().moveBy(0,n),o=t.clone().moveBy(0,-n),i=new bo(e).excludeScrollbarsAndBorders();if(![o,r].every(e=>i.contains(e))){let{scrollX:a,scrollY:s}=e;To(o,i)?s-=i.top-t.top+n:xo(r,i)&&(s+=t.bottom-i.bottom+n),Eo(t,i)?a-=i.left-t.left+n:So(t,i)&&(a+=t.right-i.right+n),e.scrollTo(a,s)}}function Mo(e,t){const n=Do(e);let r,o;for(;e!=n.document.body;)o=t(),(r=new bo(e).excludeScrollbarsAndBorders()).contains(o)||(To(o,r)?e.scrollTop-=r.top-o.top:xo(o,r)&&(e.scrollTop+=o.bottom-r.bottom),Eo(o,r)?e.scrollLeft-=r.left-o.left:So(o,r)&&(e.scrollLeft+=o.right-r.right)),e=e.parentNode}function xo(e,t){return e.bottom>t.bottom}function To(e,t){return e.top<t.top}function Eo(e,t){return e.left<t.left}function So(e,t){return e.right>t.right}function Do(e){return mo(e)?e.startContainer.ownerDocument.defaultView:e.ownerDocument.defaultView}function Lo(e){if(mo(e)){let t=e.commonAncestorContainer;return er(t)&&(t=t.parentNode),t}return e.parentNode}function Co(e,t){const n=Do(e),r=new bo(e);if(n===t)return r;{let e=n;for(;e!=t;){const t=e.frameElement,n=new bo(t).excludeScrollbarsAndBorders();r.moveBy(n.left,n.top),e=e.parent}}return r}Object.assign({},{scrollViewportToShowTarget:wo,scrollAncestorsToShowTarget:function(e){Mo(Lo(e),()=>new bo(e))}});class Po{constructor(){this.document=new Mn,this.domConverter=new Mr,this.domRoots=new Map,this.set("isRenderingInProgress",!1),this._renderer=new _r(this.domConverter,this.document.selection),this._renderer.bind("isFocused").to(this.document),this._initialDomRootAttributes=new WeakMap,this._observers=new Map,this._ongoingChange=!1,this._postFixersInProgress=!1,this._renderingDisabled=!1,this._hasChangedSinceTheLastRendering=!1,this._writer=new Un(this.document),this.addObserver(Qr),this.addObserver(uo),this.addObserver(ho),this.addObserver(Xr),this.addObserver(co),this.addObserver(fo),Nn&&this.addObserver(po),function(e){e.document.on("keydown",cr)}(this),function(e){e.document.on("keydown",(t,n)=>function(e,t,n){if(t.keyCode==Rn.arrowright){const e=t.domTarget.ownerDocument.defaultView.getSelection(),r=1==e.rangeCount&&e.getRangeAt(0).collapsed;if(r||t.shiftKey){const t=e.focusNode,o=e.focusOffset,i=n.domPositionToView(t,o);if(null===i)return;let a=!1;const s=i.getLastMatchingPosition(e=>(e.item.is("uiElement")&&(a=!0),!(!e.item.is("uiElement")&&!e.item.is("attributeElement"))));if(a){const t=n.viewPositionToDom(s);r?e.collapse(t.parent,t.offset):e.extend(t.parent,t.offset)}}}}(0,n,e.domConverter))}(this),this.on("render",()=>{this._render(),this.document.fire("layoutChanged"),this._hasChangedSinceTheLastRendering=!1}),this.listenTo(this.document.selection,"change",()=>{this._hasChangedSinceTheLastRendering=!0})}attachDomRoot(e,t="main"){const n=this.document.getRoot(t);n._name=e.tagName.toLowerCase();const r={};for(const{name:t,value:o}of Array.from(e.attributes))r[t]=o,"class"===t?this._writer.addClass(o.split(" "),n):this._writer.setAttribute(t,o,n);this._initialDomRootAttributes.set(e,r);const o=()=>{this._writer.setAttribute("contenteditable",!n.isReadOnly,n),n.isReadOnly?this._writer.addClass("ck-read-only",n):this._writer.removeClass("ck-read-only",n)};o(),this.domRoots.set(t,e),this.domConverter.bindElements(e,n),this._renderer.markToSync("children",n),this._renderer.markToSync("attributes",n),this._renderer.domDocuments.add(e.ownerDocument),n.on("change:children",(e,t)=>this._renderer.markToSync("children",t)),n.on("change:attributes",(e,t)=>this._renderer.markToSync("attributes",t)),n.on("change:text",(e,t)=>this._renderer.markToSync("text",t)),n.on("change:isReadOnly",()=>this.change(o)),n.on("change",()=>{this._hasChangedSinceTheLastRendering=!0});for(const n of this._observers.values())n.observe(e,t)}detachDomRoot(e){const t=this.domRoots.get(e);Array.from(t.attributes).forEach(({name:e})=>t.removeAttribute(e));const n=this._initialDomRootAttributes.get(t);for(const e in n)t.setAttribute(e,n[e]);this.domRoots.delete(e),this.domConverter.unbindDomElement(t)}getDomRoot(e="main"){return this.domRoots.get(e)}addObserver(e){let t=this._observers.get(e);if(t)return t;t=new e(this),this._observers.set(e,t);for(const[e,n]of this.domRoots)t.observe(n,e);return t.enable(),t}getObserver(e){return this._observers.get(e)}disableObservers(){for(const e of this._observers.values())e.disable()}enableObservers(){for(const e of this._observers.values())e.enable()}scrollToTheSelection(){const e=this.document.selection.getFirstRange();e&&wo({target:this.domConverter.viewRangeToDom(e),viewportOffset:20})}focus(){if(!this.document.isFocused){const e=this.document.selection.editableElement;e&&(this.domConverter.focus(e),this.forceRender())}}change(e){if(this.isRenderingInProgress||this._postFixersInProgress)throw new _t.b("cannot-change-view-tree: Attempting to make changes to the view when it is in an incorrect state: rendering or post-fixers are in progress. This may cause some unexpected behavior and inconsistency between the DOM and the view.",this);if(this._ongoingChange)return e(this._writer);this._ongoingChange=!0;const t=e(this._writer);return this._ongoingChange=!1,!this._renderingDisabled&&this._hasChangedSinceTheLastRendering&&(this._postFixersInProgress=!0,this.document._callPostFixers(this._writer),this._postFixersInProgress=!1,this.fire("render")),t}forceRender(){this._hasChangedSinceTheLastRendering=!0,this.change(()=>{})}destroy(){for(const e of this._observers.values())e.destroy();this.document.destroy(),this.stopListening()}createPositionAt(e,t){return gn._createAt(e,t)}createPositionAfter(e){return gn._createAfter(e)}createPositionBefore(e){return gn._createBefore(e)}createRange(e,t){return new _n(e,t)}createRangeOn(e){return _n._createOn(e)}createRangeIn(e){return _n._createIn(e)}createSelection(e,t,n){return new yn(e,t,n)}_disableRendering(e){this._renderingDisabled=e,0==e&&this.change(()=>{})}_render(){this.isRenderingInProgress=!0,this.disableObservers(),this._renderer.render(),this.enableObservers(),this.isRenderingInProgress=!1}}function Oo(e){return y(e)?Yt(e):new Map(e)}Ct(Po,on);class Ao{constructor(e){this.parent=null,this._attrs=Oo(e)}get index(){let e;if(!this.parent)return null;if(null===(e=this.parent.getChildIndex(this)))throw new _t.b("model-node-not-found-in-parent: The node's parent does not contain this node.",this);return e}get startOffset(){let e;if(!this.parent)return null;if(null===(e=this.parent.getChildStartOffset(this)))throw new _t.b("model-node-not-found-in-parent: The node's parent does not contain this node.",this);return e}get offsetSize(){return 1}get endOffset(){return this.parent?this.startOffset+this.offsetSize:null}get nextSibling(){const e=this.index;return null!==e&&this.parent.getChild(e+1)||null}get previousSibling(){const e=this.index;return null!==e&&this.parent.getChild(e-1)||null}get root(){let e=this;for(;e.parent;)e=e.parent;return e}get document(){return this.root==this?null:this.root.document||null}getPath(){const e=[];let t=this;for(;t.parent;)e.unshift(t.startOffset),t=t.parent;return e}getAncestors(e={includeSelf:!1,parentFirst:!1}){const t=[];let n=e.includeSelf?this:this.parent;for(;n;)t[e.parentFirst?"push":"unshift"](n),n=n.parent;return t}getCommonAncestor(e,t={}){const n=this.getAncestors(t),r=e.getAncestors(t);let o=0;for(;n[o]==r[o]&&n[o];)o++;return 0===o?null:n[o-1]}isBefore(e){if(this==e)return!1;if(this.root!==e.root)return!1;const t=this.getPath(),n=e.getPath(),r=Pt(t,n);switch(r){case"prefix":return!0;case"extension":return!1;default:return t[r]<n[r]}}isAfter(e){return this!=e&&this.root===e.root&&!this.isBefore(e)}hasAttribute(e){return this._attrs.has(e)}getAttribute(e){return this._attrs.get(e)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}toJSON(){const e={};return this._attrs.size&&(e.attributes=Array.from(this._attrs).reduce((e,t)=>(e[t[0]]=t[1],e),{})),e}is(e){return"node"==e||"model:node"==e}_clone(){return new Ao(this._attrs)}_remove(){this.parent._removeChildren(this.index)}_setAttribute(e,t){this._attrs.set(e,t)}_setAttributesTo(e){this._attrs=Oo(e)}_removeAttribute(e){return this._attrs.delete(e)}_clearAttributes(){this._attrs.clear()}}class No extends Ao{constructor(e,t){super(t),this._data=e||""}get offsetSize(){return this.data.length}get data(){return this._data}is(e){return"text"==e||"model:text"==e||super.is(e)}toJSON(){const e=super.toJSON();return e.data=this.data,e}_clone(){return new No(this.data,this.getAttributes())}static fromJSON(e){return new No(e.data,e.attributes)}}class Io{constructor(e,t,n){if(this.textNode=e,t<0||t>e.offsetSize)throw new _t.b("model-textproxy-wrong-offsetintext: Given offsetInText value is incorrect.",this);if(n<0||t+n>e.offsetSize)throw new _t.b("model-textproxy-wrong-length: Given length value is incorrect.",this);this.data=e.data.substring(t,t+n),this.offsetInText=t}get startOffset(){return null!==this.textNode.startOffset?this.textNode.startOffset+this.offsetInText:null}get offsetSize(){return this.data.length}get endOffset(){return null!==this.startOffset?this.startOffset+this.offsetSize:null}get isPartial(){return this.offsetSize!==this.textNode.offsetSize}get parent(){return this.textNode.parent}get root(){return this.textNode.root}get document(){return this.textNode.document}is(e){return"textProxy"==e||"model:textProxy"==e}getPath(){const e=this.textNode.getPath();return e.length>0&&(e[e.length-1]+=this.offsetInText),e}getAncestors(e={includeSelf:!1,parentFirst:!1}){const t=[];let n=e.includeSelf?this:this.parent;for(;n;)t[e.parentFirst?"push":"unshift"](n),n=n.parent;return t}hasAttribute(e){return this.textNode.hasAttribute(e)}getAttribute(e){return this.textNode.getAttribute(e)}getAttributes(){return this.textNode.getAttributes()}getAttributeKeys(){return this.textNode.getAttributeKeys()}}class Yo{constructor(e){this._nodes=[],e&&this._insertNodes(0,e)}[Symbol.iterator](){return this._nodes[Symbol.iterator]()}get length(){return this._nodes.length}get maxOffset(){return this._nodes.reduce((e,t)=>e+t.offsetSize,0)}getNode(e){return this._nodes[e]||null}getNodeIndex(e){const t=this._nodes.indexOf(e);return-1==t?null:t}getNodeStartOffset(e){const t=this.getNodeIndex(e);return null===t?null:this._nodes.slice(0,t).reduce((e,t)=>e+t.offsetSize,0)}indexToOffset(e){if(e==this._nodes.length)return this.maxOffset;const t=this._nodes[e];if(!t)throw new _t.b("model-nodelist-index-out-of-bounds: Given index cannot be found in the node list.",this);return this.getNodeStartOffset(t)}offsetToIndex(e){let t=0;for(const n of this._nodes){if(e>=t&&e<t+n.offsetSize)return this.getNodeIndex(n);t+=n.offsetSize}if(t!=e)throw new _t.b("model-nodelist-offset-out-of-bounds: Given offset cannot be found in the node list.",this,{offset:e,nodeList:this});return this.length}_insertNodes(e,t){for(const e of t)if(!(e instanceof Ao))throw new _t.b("model-nodelist-insertNodes-not-node: Trying to insert an object which is not a Node instance.",this);this._nodes.splice(e,0,...t)}_removeNodes(e,t=1){return this._nodes.splice(e,t)}toJSON(){return this._nodes.map(e=>e.toJSON())}}class Ro extends Ao{constructor(e,t,n){super(t),this.name=e,this._children=new Yo,n&&this._insertChild(0,n)}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}is(e,t=null){const n=e.replace(/^model:/,"");return t?"element"==n&&t==this.name:"element"==n||n==this.name||super.is(e)}getChild(e){return this._children.getNode(e)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(e){return this._children.getNodeIndex(e)}getChildStartOffset(e){return this._children.getNodeStartOffset(e)}offsetToIndex(e){return this._children.offsetToIndex(e)}getNodeByPath(e){let t=this;for(const n of e)t=t.getChild(t.offsetToIndex(n));return t}toJSON(){const e=super.toJSON();if(e.name=this.name,this._children.length>0){e.children=[];for(const t of this._children)e.children.push(t.toJSON())}return e}_clone(e=!1){const t=e?Array.from(this._children).map(e=>e._clone(!0)):null;return new Ro(this.name,this.getAttributes(),t)}_appendChild(e){this._insertChild(this.childCount,e)}_insertChild(e,t){const n=function(e){return"string"==typeof e?[new No(e)]:(Rt(e)||(e=[e]),Array.from(e).map(e=>"string"==typeof e?new No(e):e instanceof Io?new No(e.data,e.getAttributes()):e))}(t);for(const e of n)null!==e.parent&&e._remove(),e.parent=this;this._children._insertNodes(e,n)}_removeChildren(e,t=1){const n=this._children._removeNodes(e,t);for(const e of n)e.parent=null;return n}static fromJSON(e){let t=null;if(e.children){t=[];for(const n of e.children)n.name?t.push(Ro.fromJSON(n)):t.push(No.fromJSON(n))}return new Ro(e.name,e.attributes,t)}}class jo{constructor(e={}){if(!e.boundaries&&!e.startPosition)throw new _t.b("model-tree-walker-no-start-position: Neither boundaries nor starting position have been defined.",null);const t=e.direction||"forward";if("forward"!=t&&"backward"!=t)throw new _t.b("model-tree-walker-unknown-direction: Only `backward` and `forward` direction allowed.",e,{direction:t});this.direction=t,this.boundaries=e.boundaries||null,e.startPosition?this.position=e.startPosition.clone():this.position=Ho._createAt(this.boundaries["backward"==this.direction?"end":"start"]),this.position.stickiness="toNone",this.singleCharacters=!!e.singleCharacters,this.shallow=!!e.shallow,this.ignoreElementEnd=!!e.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null,this._visitedParent=this.position.parent}[Symbol.iterator](){return this}skip(e){let t,n,r,o;do{r=this.position,o=this._visitedParent,({done:t,value:n}=this.next())}while(!t&&e(n));t||(this.position=r,this._visitedParent=o)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){const e=this.position,t=this.position.clone(),n=this._visitedParent;if(null===n.parent&&t.offset===n.maxOffset)return{done:!0};if(n===this._boundaryEndParent&&t.offset==this.boundaries.end.offset)return{done:!0};const r=t.textNode?t.textNode:t.nodeAfter;if(r instanceof Ro)return this.shallow?t.offset++:(t.path.push(0),this._visitedParent=r),this.position=t,Fo("elementStart",r,e,t,1);if(r instanceof No){let o;if(this.singleCharacters)o=1;else{let e=r.endOffset;this._boundaryEndParent==n&&this.boundaries.end.offset<e&&(e=this.boundaries.end.offset),o=e-t.offset}const i=t.offset-r.startOffset,a=new Io(r,i,o);return t.offset+=o,this.position=t,Fo("text",a,e,t,o)}return t.path.pop(),t.offset++,this.position=t,this._visitedParent=n.parent,this.ignoreElementEnd?this._next():Fo("elementEnd",n,e,t)}_previous(){const e=this.position,t=this.position.clone(),n=this._visitedParent;if(null===n.parent&&0===t.offset)return{done:!0};if(n==this._boundaryStartParent&&t.offset==this.boundaries.start.offset)return{done:!0};const r=t.textNode?t.textNode:t.nodeBefore;if(r instanceof Ro)return t.offset--,this.shallow?(this.position=t,Fo("elementStart",r,e,t,1)):(t.path.push(r.maxOffset),this.position=t,this._visitedParent=r,this.ignoreElementEnd?this._previous():Fo("elementEnd",r,e,t));if(r instanceof No){let o;if(this.singleCharacters)o=1;else{let e=r.startOffset;this._boundaryStartParent==n&&this.boundaries.start.offset>e&&(e=this.boundaries.start.offset),o=t.offset-e}const i=t.offset-r.startOffset,a=new Io(r,i-o,o);return t.offset-=o,this.position=t,Fo("text",a,e,t,o)}return t.path.pop(),this.position=t,this._visitedParent=n.parent,Fo("elementStart",n,e,t,1)}}function Fo(e,t,n,r,o){return{done:!1,value:{type:e,item:t,previousPosition:n,nextPosition:r,length:o}}}class Ho{constructor(e,t,n="toNone"){if(!e.is("element")&&!e.is("documentFragment"))throw new _t.b("model-position-root-invalid: Position root invalid.",e);if(!(t instanceof Array)||0===t.length)throw new _t.b("model-position-path-incorrect-format: Position path must be an array with at least one item.",e,{path:t});t=e.getPath().concat(t),e=e.root,this.root=e,this.path=t,this.stickiness=n}get offset(){return function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}(this.path)}set offset(e){this.path[this.path.length-1]=e}get parent(){let e=this.root;for(let t=0;t<this.path.length-1;t++)if(!(e=e.getChild(e.offsetToIndex(this.path[t]))))throw new _t.b("model-position-path-incorrect: The position's path is incorrect.",this,{position:this});if(e.is("text"))throw new _t.b("model-position-path-incorrect: The position's path is incorrect.",this,{position:this});return e}get index(){return this.parent.offsetToIndex(this.offset)}get textNode(){const e=this.parent.getChild(this.index);return e instanceof No&&e.startOffset<this.offset?e:null}get nodeAfter(){return null===this.textNode?this.parent.getChild(this.index):null}get nodeBefore(){return null===this.textNode?this.parent.getChild(this.index-1):null}get isAtStart(){return 0===this.offset}get isAtEnd(){return this.offset==this.parent.maxOffset}compareWith(e){if(this.root!=e.root)return"different";const t=Pt(this.path,e.path);switch(t){case"same":return"same";case"prefix":return"before";case"extension":return"after";default:return this.path[t]<e.path[t]?"before":"after"}}getLastMatchingPosition(e,t={}){t.startPosition=this;const n=new jo(t);return n.skip(e),n.position}getParentPath(){return this.path.slice(0,-1)}getAncestors(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}getCommonPath(e){if(this.root!=e.root)return[];const t=Pt(this.path,e.path),n="string"==typeof t?Math.min(this.path.length,e.path.length):t;return this.path.slice(0,n)}getCommonAncestor(e){const t=this.getAncestors(),n=e.getAncestors();let r=0;for(;t[r]==n[r]&&t[r];)r++;return 0===r?null:t[r-1]}getShiftedBy(e){const t=this.clone(),n=t.offset+e;return t.offset=n<0?0:n,t}isAfter(e){return"after"==this.compareWith(e)}isBefore(e){return"before"==this.compareWith(e)}isEqual(e){return"same"==this.compareWith(e)}isTouching(e){let t=null,n=null;switch(this.compareWith(e)){case"same":return!0;case"before":t=Ho._createAt(this),n=Ho._createAt(e);break;case"after":t=Ho._createAt(e),n=Ho._createAt(this);break;default:return!1}let r=t.parent;for(;t.path.length+n.path.length;){if(t.isEqual(n))return!0;if(t.path.length>n.path.length){if(t.offset!==r.maxOffset)return!1;t.path=t.path.slice(0,-1),r=r.parent,t.offset++}else{if(0!==n.offset)return!1;n.path=n.path.slice(0,-1)}}}is(e){return"position"==e||"model:position"==e}hasSameParentAs(e){return this.root===e.root&&"same"==Pt(this.getParentPath(),e.getParentPath())}getTransformedByOperation(e){let t;switch(e.type){case"insert":t=this._getTransformedByInsertOperation(e);break;case"move":case"remove":case"reinsert":t=this._getTransformedByMoveOperation(e);break;case"split":t=this._getTransformedBySplitOperation(e);break;case"merge":t=this._getTransformedByMergeOperation(e);break;default:t=Ho._createAt(this)}return t}_getTransformedByInsertOperation(e){return this._getTransformedByInsertion(e.position,e.howMany)}_getTransformedByMoveOperation(e){return this._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany)}_getTransformedBySplitOperation(e){const t=e.movedRange;return t.containsPosition(this)||t.start.isEqual(this)&&"toNext"==this.stickiness?this._getCombined(e.splitPosition,e.moveTargetPosition):e.graveyardPosition?this._getTransformedByMove(e.graveyardPosition,e.insertionPosition,1):this._getTransformedByInsertion(e.insertionPosition,1)}_getTransformedByMergeOperation(e){const t=e.movedRange;let n;return t.containsPosition(this)||t.start.isEqual(this)?(n=this._getCombined(e.sourcePosition,e.targetPosition),e.sourcePosition.isBefore(e.targetPosition)&&(n=n._getTransformedByDeletion(e.deletionPosition,1))):n=this.isEqual(e.deletionPosition)?Ho._createAt(e.deletionPosition):this._getTransformedByMove(e.deletionPosition,e.graveyardPosition,1),n}_getTransformedByDeletion(e,t){const n=Ho._createAt(this);if(this.root!=e.root)return n;if("same"==Pt(e.getParentPath(),this.getParentPath())){if(e.offset<this.offset){if(e.offset+t>this.offset)return null;n.offset-=t}}else if("prefix"==Pt(e.getParentPath(),this.getParentPath())){const r=e.path.length-1;if(e.offset<=this.path[r]){if(e.offset+t>this.path[r])return null;n.path[r]-=t}}return n}_getTransformedByInsertion(e,t){const n=Ho._createAt(this);if(this.root!=e.root)return n;if("same"==Pt(e.getParentPath(),this.getParentPath()))(e.offset<this.offset||e.offset==this.offset&&"toPrevious"!=this.stickiness)&&(n.offset+=t);else if("prefix"==Pt(e.getParentPath(),this.getParentPath())){const r=e.path.length-1;e.offset<=this.path[r]&&(n.path[r]+=t)}return n}_getTransformedByMove(e,t,n){if(t=t._getTransformedByDeletion(e,n),e.isEqual(t))return Ho._createAt(this);const r=this._getTransformedByDeletion(e,n);return null===r||e.isEqual(this)&&"toNext"==this.stickiness||e.getShiftedBy(n).isEqual(this)&&"toPrevious"==this.stickiness?this._getCombined(e,t):r._getTransformedByInsertion(t,n)}_getCombined(e,t){const n=e.path.length-1,r=Ho._createAt(t);return r.stickiness=this.stickiness,r.offset=r.offset+this.path[n]-e.offset,r.path=r.path.concat(this.path.slice(n+1)),r}toJSON(){return{root:this.root.toJSON(),path:Array.from(this.path),stickiness:this.stickiness}}clone(){return new this.constructor(this.root,this.path,this.stickiness)}static _createAt(e,t,n="toNone"){if(e instanceof Ho)return new Ho(e.root,e.path,e.stickiness);{const r=e;if("end"==t)t=r.maxOffset;else{if("before"==t)return this._createBefore(r,n);if("after"==t)return this._createAfter(r,n);if(0!==t&&!t)throw new _t.b("model-createPositionAt-offset-required: Model#createPositionAt() requires the offset when the first parameter is a model item.",[this,e])}if(!r.is("element")&&!r.is("documentFragment"))throw new _t.b("model-position-parent-incorrect: Position parent have to be a element or document fragment.",[this,e]);const o=r.getPath();return o.push(t),new this(r.root,o,n)}}static _createAfter(e,t){if(!e.parent)throw new _t.b("model-position-after-root: You cannot make a position after root.",[this,e],{root:e});return this._createAt(e.parent,e.endOffset,t)}static _createBefore(e,t){if(!e.parent)throw new _t.b("model-position-before-root: You cannot make a position before root.",e,{root:e});return this._createAt(e.parent,e.startOffset,t)}static fromJSON(e,t){if("$graveyard"===e.root){const n=new Ho(t.graveyard,e.path);return n.stickiness=e.stickiness,n}if(!t.getRoot(e.root))throw new _t.b("model-position-fromjson-no-root: Cannot create position for document. Root with specified name does not exist.",t,{rootName:e.root});return new Ho(t.getRoot(e.root),e.path,e.stickiness)}}class zo{constructor(e,t=null){this.start=Ho._createAt(e),this.end=t?Ho._createAt(t):Ho._createAt(e),this.start.stickiness=this.isCollapsed?"toNone":"toNext",this.end.stickiness=this.isCollapsed?"toNone":"toPrevious"}*[Symbol.iterator](){yield*new jo({boundaries:this,ignoreElementEnd:!0})}get isCollapsed(){return this.start.isEqual(this.end)}get isFlat(){return"same"==Pt(this.start.getParentPath(),this.end.getParentPath())}get root(){return this.start.root}containsPosition(e){return e.isAfter(this.start)&&e.isBefore(this.end)}containsRange(e,t=!1){e.isCollapsed&&(t=!1);const n=this.containsPosition(e.start)||t&&this.start.isEqual(e.start),r=this.containsPosition(e.end)||t&&this.end.isEqual(e.end);return n&&r}containsItem(e){const t=Ho._createBefore(e);return this.containsPosition(t)||this.start.isEqual(t)}is(e){return"range"==e||"model:range"==e}isEqual(e){return this.start.isEqual(e.start)&&this.end.isEqual(e.end)}isIntersecting(e){return this.start.isBefore(e.end)&&this.end.isAfter(e.start)}getDifference(e){const t=[];return this.isIntersecting(e)?(this.containsPosition(e.start)&&t.push(new zo(this.start,e.start)),this.containsPosition(e.end)&&t.push(new zo(e.end,this.end))):t.push(new zo(this.start,this.end)),t}getIntersection(e){if(this.isIntersecting(e)){let t=this.start,n=this.end;return this.containsPosition(e.start)&&(t=e.start),this.containsPosition(e.end)&&(n=e.end),new zo(t,n)}return null}getMinimalFlatRanges(){const e=[],t=this.start.getCommonPath(this.end).length,n=Ho._createAt(this.start);let r=n.parent;for(;n.path.length>t+1;){const t=r.maxOffset-n.offset;0!==t&&e.push(new zo(n,n.getShiftedBy(t))),n.path=n.path.slice(0,-1),n.offset++,r=r.parent}for(;n.path.length<=this.end.path.length;){const t=this.end.path[n.path.length-1],r=t-n.offset;0!==r&&e.push(new zo(n,n.getShiftedBy(r))),n.offset=t,n.path.push(0)}return e}getWalker(e={}){return e.boundaries=this,new jo(e)}*getItems(e={}){e.boundaries=this,e.ignoreElementEnd=!0;const t=new jo(e);for(const e of t)yield e.item}*getPositions(e={}){e.boundaries=this;const t=new jo(e);yield t.position;for(const e of t)yield e.nextPosition}getTransformedByOperation(e){switch(e.type){case"insert":return this._getTransformedByInsertOperation(e);case"move":case"remove":case"reinsert":return this._getTransformedByMoveOperation(e);case"split":return[this._getTransformedBySplitOperation(e)];case"merge":return[this._getTransformedByMergeOperation(e)]}return[new zo(this.start,this.end)]}getTransformedByOperations(e){const t=[new zo(this.start,this.end)];for(const n of e)for(let e=0;e<t.length;e++){const r=t[e].getTransformedByOperation(n);t.splice(e,1,...r),e+=r.length-1}for(let e=0;e<t.length;e++){const n=t[e];for(let r=e+1;r<t.length;r++){const e=t[r];(n.containsRange(e)||e.containsRange(n)||n.isEqual(e))&&t.splice(r,1)}}return t}getCommonAncestor(){return this.start.getCommonAncestor(this.end)}toJSON(){return{start:this.start.toJSON(),end:this.end.toJSON()}}clone(){return new this.constructor(this.start,this.end)}_getTransformedByInsertOperation(e,t=!1){return this._getTransformedByInsertion(e.position,e.howMany,t)}_getTransformedByMoveOperation(e,t=!1){const n=e.sourcePosition,r=e.howMany,o=e.targetPosition;return this._getTransformedByMove(n,o,r,t)}_getTransformedBySplitOperation(e){const t=this.start._getTransformedBySplitOperation(e);let n=this.end._getTransformedBySplitOperation(e);return this.end.isEqual(e.insertionPosition)&&(n=this.end.getShiftedBy(1)),t.root!=n.root&&(n=this.end.getShiftedBy(-1)),new zo(t,n)}_getTransformedByMergeOperation(e){if(this.start.isEqual(e.targetPosition)&&this.end.isEqual(e.deletionPosition))return new zo(this.start);let t=this.start._getTransformedByMergeOperation(e),n=this.end._getTransformedByMergeOperation(e);return t.root!=n.root&&(n=this.end.getShiftedBy(-1)),t.isAfter(n)?(e.sourcePosition.isBefore(e.targetPosition)?(t=Ho._createAt(n)).offset=0:(e.deletionPosition.isEqual(t)||(n=e.deletionPosition),t=e.targetPosition),new zo(t,n)):new zo(t,n)}_getTransformedByInsertion(e,t,n=!1){if(n&&this.containsPosition(e))return[new zo(this.start,e),new zo(e.getShiftedBy(t),this.end._getTransformedByInsertion(e,t))];{const n=new zo(this.start,this.end);return n.start=n.start._getTransformedByInsertion(e,t),n.end=n.end._getTransformedByInsertion(e,t),[n]}}_getTransformedByMove(e,t,n,r=!1){if(this.isCollapsed){const r=this.start._getTransformedByMove(e,t,n);return[new zo(r)]}const o=zo._createFromPositionAndShift(e,n),i=t._getTransformedByDeletion(e,n);if(this.containsPosition(t)&&!r&&(o.containsPosition(this.start)||o.containsPosition(this.end))){const r=this.start._getTransformedByMove(e,t,n),o=this.end._getTransformedByMove(e,t,n);return[new zo(r,o)]}let a;const s=this.getDifference(o);let l=null;const c=this.getIntersection(o);if(1==s.length?l=new zo(s[0].start._getTransformedByDeletion(e,n),s[0].end._getTransformedByDeletion(e,n)):2==s.length&&(l=new zo(this.start,this.end._getTransformedByDeletion(e,n))),a=l?l._getTransformedByInsertion(i,n,null!==c||r):[],c){const e=new zo(c.start._getCombined(o.start,i),c.end._getCombined(o.start,i));2==a.length?a.splice(1,0,e):a.push(e)}return a}_getTransformedByDeletion(e,t){let n=this.start._getTransformedByDeletion(e,t),r=this.end._getTransformedByDeletion(e,t);return null==n&&null==r?null:(null==n&&(n=e),null==r&&(r=e),new zo(n,r))}static _createFromPositionAndShift(e,t){const n=e,r=e.getShiftedBy(t);return t>0?new this(n,r):new this(r,n)}static _createIn(e){return new this(Ho._createAt(e,0),Ho._createAt(e,e.maxOffset))}static _createOn(e){return this._createFromPositionAndShift(Ho._createBefore(e),e.offsetSize)}static _createFromRanges(e){if(0===e.length)throw new _t.b("range-create-from-ranges-empty-array: At least one range has to be passed.",null);if(1==e.length)return e[0].clone();const t=e[0];e.sort((e,t)=>e.start.isAfter(t.start)?1:-1);const n=e.indexOf(t),r=new this(t.start,t.end);if(n>0)for(let t=n-1;e[t].end.isEqual(r.start);t++)r.start=Ho._createAt(e[t].start);for(let t=n+1;t<e.length&&e[t].start.isEqual(r.end);t++)r.end=Ho._createAt(e[t].end);return r}static fromJSON(e,t){return new this(Ho.fromJSON(e.start,t),Ho.fromJSON(e.end,t))}}class Bo{constructor(){this._modelToViewMapping=new WeakMap,this._viewToModelMapping=new WeakMap,this._viewToModelLengthCallbacks=new Map,this._markerNameToElements=new Map,this._elementToMarkerNames=new Map,this._unboundMarkerNames=new Set,this.on("modelToViewPosition",(e,t)=>{if(t.viewPosition)return;const n=this._modelToViewMapping.get(t.modelPosition.parent);t.viewPosition=this._findPositionIn(n,t.modelPosition.offset)},{priority:"low"}),this.on("viewToModelPosition",(e,t)=>{if(t.modelPosition)return;const n=this.findMappedViewAncestor(t.viewPosition),r=this._viewToModelMapping.get(n),o=this._toModelOffset(t.viewPosition.parent,t.viewPosition.offset,n);t.modelPosition=Ho._createAt(r,o)},{priority:"low"})}bindElements(e,t){this._modelToViewMapping.set(e,t),this._viewToModelMapping.set(t,e)}unbindViewElement(e){const t=this.toModelElement(e);if(this._viewToModelMapping.delete(e),this._elementToMarkerNames.has(e))for(const t of this._elementToMarkerNames.get(e))this._unboundMarkerNames.add(t);this._modelToViewMapping.get(t)==e&&this._modelToViewMapping.delete(t)}unbindModelElement(e){const t=this.toViewElement(e);this._modelToViewMapping.delete(e),this._viewToModelMapping.get(t)==e&&this._viewToModelMapping.delete(t)}bindElementToMarker(e,t){const n=this._markerNameToElements.get(t)||new Set;n.add(e);const r=this._elementToMarkerNames.get(e)||new Set;r.add(t),this._markerNameToElements.set(t,n),this._elementToMarkerNames.set(e,r)}unbindElementFromMarkerName(e,t){const n=this._markerNameToElements.get(t);n&&(n.delete(e),0==n.size&&this._markerNameToElements.delete(t));const r=this._elementToMarkerNames.get(e);r&&(r.delete(t),0==r.size&&this._elementToMarkerNames.delete(e))}flushUnboundMarkerNames(){const e=Array.from(this._unboundMarkerNames);return this._unboundMarkerNames.clear(),e}clearBindings(){this._modelToViewMapping=new WeakMap,this._viewToModelMapping=new WeakMap,this._markerNameToElements=new Map,this._elementToMarkerNames=new Map,this._unboundMarkerNames=new Set}toModelElement(e){return this._viewToModelMapping.get(e)}toViewElement(e){return this._modelToViewMapping.get(e)}toModelRange(e){return new zo(this.toModelPosition(e.start),this.toModelPosition(e.end))}toViewRange(e){return new _n(this.toViewPosition(e.start),this.toViewPosition(e.end))}toModelPosition(e){const t={viewPosition:e,mapper:this};return this.fire("viewToModelPosition",t),t.modelPosition}toViewPosition(e,t={isPhantom:!1}){const n={modelPosition:e,mapper:this,isPhantom:t.isPhantom};return this.fire("modelToViewPosition",n),n.viewPosition}markerNameToElements(e){const t=this._markerNameToElements.get(e);if(!t)return null;const n=new Set;for(const e of t)if(e.is("attributeElement"))for(const t of e.getElementsWithSameId())n.add(t);else n.add(e);return n}registerViewToModelLength(e,t){this._viewToModelLengthCallbacks.set(e,t)}findMappedViewAncestor(e){let t=e.parent;for(;!this._viewToModelMapping.has(t);)t=t.parent;return t}_toModelOffset(e,t,n){if(n!=e)return this._toModelOffset(e.parent,e.index,n)+this._toModelOffset(e,t,e);if(e.is("text"))return t;let r=0;for(let n=0;n<t;n++)r+=this.getModelLength(e.getChild(n));return r}getModelLength(e){if(this._viewToModelLengthCallbacks.get(e.name))return this._viewToModelLengthCallbacks.get(e.name)(e);if(this._viewToModelMapping.has(e))return 1;if(e.is("text"))return e.data.length;if(e.is("uiElement"))return 0;{let t=0;for(const n of e.getChildren())t+=this.getModelLength(n);return t}}_findPositionIn(e,t){let n,r=0,o=0,i=0;if(e.is("text"))return new gn(e,t);for(;o<t;)n=e.getChild(i),o+=r=this.getModelLength(n),i++;return o==t?this._moveViewPositionToTextNode(new gn(e,i)):this._findPositionIn(n,t-(o-r))}_moveViewPositionToTextNode(e){const t=e.nodeBefore,n=e.nodeAfter;return t instanceof Nt?new gn(t,t.data.length):n instanceof Nt?new gn(n,0):e}}Ct(Bo,Mt);class Vo{constructor(){this._consumable=new Map,this._textProxyRegistry=new Map}add(e,t){t=Uo(t),e instanceof Io&&(e=this._getSymbolForTextProxy(e)),this._consumable.has(e)||this._consumable.set(e,new Map),this._consumable.get(e).set(t,!0)}consume(e,t){return t=Uo(t),e instanceof Io&&(e=this._getSymbolForTextProxy(e)),!!this.test(e,t)&&(this._consumable.get(e).set(t,!1),!0)}test(e,t){t=Uo(t),e instanceof Io&&(e=this._getSymbolForTextProxy(e));const n=this._consumable.get(e);if(void 0===n)return null;const r=n.get(t);return void 0===r?null:r}revert(e,t){t=Uo(t),e instanceof Io&&(e=this._getSymbolForTextProxy(e));const n=this.test(e,t);return!1===n?(this._consumable.get(e).set(t,!0),!0):!0!==n&&null}_getSymbolForTextProxy(e){let t=null;const n=this._textProxyRegistry.get(e.startOffset);if(n){const r=n.get(e.endOffset);r&&(t=r.get(e.parent))}return t||(t=this._addSymbolForTextProxy(e.startOffset,e.endOffset,e.parent)),t}_addSymbolForTextProxy(e,t,n){const r=Symbol("textProxySymbol");let o,i;return(o=this._textProxyRegistry.get(e))||(o=new Map,this._textProxyRegistry.set(e,o)),(i=o.get(t))||(i=new Map,o.set(t,i)),i.set(n,r),r}}function Uo(e){const t=e.split(":");return t.length>1?t[0]+":"+t[1]:t[0]}class Wo{constructor(e){this.conversionApi=Zt({dispatcher:this},e)}convertChanges(e,t,n){for(const t of e.getMarkersToRemove())this.convertMarkerRemove(t.name,t.range,n);for(const t of e.getChanges())"insert"==t.type?this.convertInsert(zo._createFromPositionAndShift(t.position,t.length),n):"remove"==t.type?this.convertRemove(t.position,t.length,t.name,n):this.convertAttribute(t.range,t.attributeKey,t.attributeOldValue,t.attributeNewValue,n);for(const e of this.conversionApi.mapper.flushUnboundMarkerNames()){const r=t.get(e).getRange();this.convertMarkerRemove(e,r,n),this.convertMarkerAdd(e,r,n)}for(const t of e.getMarkersToAdd())this.convertMarkerAdd(t.name,t.range,n)}convertInsert(e,t){this.conversionApi.writer=t,this.conversionApi.consumable=this._createInsertConsumable(e);for(const t of e){const e=t.item,n={item:e,range:zo._createFromPositionAndShift(t.previousPosition,t.length)};this._testAndFire("insert",n);for(const t of e.getAttributeKeys())n.attributeKey=t,n.attributeOldValue=null,n.attributeNewValue=e.getAttribute(t),this._testAndFire("attribute:"+t,n)}this._clearConversionApi()}convertRemove(e,t,n,r){this.conversionApi.writer=r,this.fire("remove:"+n,{position:e,length:t},this.conversionApi),this._clearConversionApi()}convertAttribute(e,t,n,r,o){this.conversionApi.writer=o,this.conversionApi.consumable=this._createConsumableForRange(e,"attribute:"+t);for(const o of e){const e={item:o.item,range:zo._createFromPositionAndShift(o.previousPosition,o.length),attributeKey:t,attributeOldValue:n,attributeNewValue:r};this._testAndFire("attribute:"+t,e)}this._clearConversionApi()}convertSelection(e,t,n){const r=Array.from(t.getMarkersAtPosition(e.getFirstPosition()));if(this.conversionApi.writer=n,this.conversionApi.consumable=this._createSelectionConsumable(e,r),this.fire("selection",{selection:e},this.conversionApi),e.isCollapsed){for(const t of r){const n=t.getRange();if(!qo(e.getFirstPosition(),t,this.conversionApi.mapper))continue;const r={item:e,markerName:t.name,markerRange:n};this.conversionApi.consumable.test(e,"addMarker:"+t.name)&&this.fire("addMarker:"+t.name,r,this.conversionApi)}for(const t of e.getAttributeKeys()){const n={item:e,range:e.getFirstRange(),attributeKey:t,attributeOldValue:null,attributeNewValue:e.getAttribute(t)};this.conversionApi.consumable.test(e,"attribute:"+n.attributeKey)&&this.fire("attribute:"+n.attributeKey+":$text",n,this.conversionApi)}this._clearConversionApi()}}convertMarkerAdd(e,t,n){if(!t.root.document||"$graveyard"==t.root.rootName)return;this.conversionApi.writer=n;const r="addMarker:"+e,o=new Vo;if(o.add(t,r),this.conversionApi.consumable=o,this.fire(r,{markerName:e,markerRange:t},this.conversionApi),o.test(t,r)){this.conversionApi.consumable=this._createConsumableForRange(t,r);for(const n of t.getItems()){if(!this.conversionApi.consumable.test(n,r))continue;const o={item:n,range:zo._createOn(n),markerName:e,markerRange:t};this.fire(r,o,this.conversionApi)}this._clearConversionApi()}}convertMarkerRemove(e,t,n){t.root.document&&"$graveyard"!=t.root.rootName&&(this.conversionApi.writer=n,this.fire("removeMarker:"+e,{markerName:e,markerRange:t},this.conversionApi),this._clearConversionApi())}_createInsertConsumable(e){const t=new Vo;for(const n of e){const e=n.item;t.add(e,"insert");for(const n of e.getAttributeKeys())t.add(e,"attribute:"+n)}return t}_createConsumableForRange(e,t){const n=new Vo;for(const r of e.getItems())n.add(r,t);return n}_createSelectionConsumable(e,t){const n=new Vo;n.add(e,"selection");for(const r of t)n.add(e,"addMarker:"+r.name);for(const t of e.getAttributeKeys())n.add(e,"attribute:"+t);return n}_testAndFire(e,t){if(!this.conversionApi.consumable.test(t.item,e))return;const n=t.item.name||"$text";this.fire(e+":"+n,t,this.conversionApi)}_clearConversionApi(){delete this.conversionApi.writer,delete this.conversionApi.consumable}}function qo(e,t,n){const r=t.getRange(),o=Array.from(e.getAncestors());return o.shift(),o.reverse(),!o.some(e=>{if(r.containsItem(e))return!!n.toViewElement(e).getCustomProperty("addHighlight")})}Ct(Wo,Mt);class Go{constructor(e,t,n){this._lastRangeBackward=!1,this._ranges=[],this._attrs=new Map,e&&this.setTo(e,t,n)}get anchor(){if(this._ranges.length>0){const e=this._ranges[this._ranges.length-1];return this._lastRangeBackward?e.end:e.start}return null}get focus(){if(this._ranges.length>0){const e=this._ranges[this._ranges.length-1];return this._lastRangeBackward?e.start:e.end}return null}get isCollapsed(){return 1===this._ranges.length&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}isEqual(e){if(this.rangeCount!=e.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(e.anchor)||!this.focus.isEqual(e.focus))return!1;for(const t of this._ranges){let n=!1;for(const r of e._ranges)if(t.isEqual(r)){n=!0;break}if(!n)return!1}return!0}*getRanges(){for(const e of this._ranges)yield new zo(e.start,e.end)}getFirstRange(){let e=null;for(const t of this._ranges)e&&!t.start.isBefore(e.start)||(e=t);return e?new zo(e.start,e.end):null}getLastRange(){let e=null;for(const t of this._ranges)e&&!t.end.isAfter(e.end)||(e=t);return e?new zo(e.start,e.end):null}getFirstPosition(){const e=this.getFirstRange();return e?e.start.clone():null}getLastPosition(){const e=this.getLastRange();return e?e.end.clone():null}setTo(e,t,n){if(null===e)this._setRanges([]);else if(e instanceof Go)this._setRanges(e.getRanges(),e.isBackward);else if(e&&"function"==typeof e.getRanges)this._setRanges(e.getRanges(),e.isBackward);else if(e instanceof zo)this._setRanges([e],!!t&&!!t.backward);else if(e instanceof Ho)this._setRanges([new zo(e)]);else if(e instanceof Ao){const r=!!n&&!!n.backward;let o;if("in"==t)o=zo._createIn(e);else if("on"==t)o=zo._createOn(e);else{if(void 0===t)throw new _t.b("model-selection-setTo-required-second-parameter: selection.setTo requires the second parameter when the first parameter is a node.",[this,e]);o=new zo(Ho._createAt(e,t))}this._setRanges([o],r)}else{if(!Rt(e))throw new _t.b("model-selection-setTo-not-selectable: Cannot set the selection to the given place.",[this,e]);this._setRanges(e,t&&!!t.backward)}}_setRanges(e,t=!1){const n=(e=Array.from(e)).some(t=>{if(!(t instanceof zo))throw new _t.b("model-selection-set-ranges-not-range: Selection range set to an object that is not an instance of model.Range.",[this,e]);return this._ranges.every(e=>!e.isEqual(t))});if(e.length!==this._ranges.length||n){this._removeAllRanges();for(const t of e)this._pushRange(t);this._lastRangeBackward=!!t,this.fire("change:range",{directChange:!0})}}setFocus(e,t){if(null===this.anchor)throw new _t.b("model-selection-setFocus-no-ranges: Cannot set selection focus if there are no ranges in selection.",[this,e]);const n=Ho._createAt(e,t);if("same"==n.compareWith(this.focus))return;const r=this.anchor;this._ranges.length&&this._popRange(),"before"==n.compareWith(r)?(this._pushRange(new zo(n,r)),this._lastRangeBackward=!0):(this._pushRange(new zo(r,n)),this._lastRangeBackward=!1),this.fire("change:range",{directChange:!0})}getAttribute(e){return this._attrs.get(e)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}hasAttribute(e){return this._attrs.has(e)}removeAttribute(e){this.hasAttribute(e)&&(this._attrs.delete(e),this.fire("change:attribute",{attributeKeys:[e],directChange:!0}))}setAttribute(e,t){this.getAttribute(e)!==t&&(this._attrs.set(e,t),this.fire("change:attribute",{attributeKeys:[e],directChange:!0}))}getSelectedElement(){if(1!==this.rangeCount)return null;const e=this.getFirstRange(),t=e.start.nodeAfter,n=e.end.nodeBefore;return t instanceof Ro&&t==n?t:null}is(e){return"selection"==e||"model:selection"==e}*getSelectedBlocks(){const e=new WeakSet;for(const t of this.getRanges()){const n=Jo(t.start,e);n&&(yield n);for(const n of t.getWalker())"elementEnd"==n.type&&Qo(n.item,e)&&(yield n.item);const r=Jo(t.end,e);r&&!t.end.isTouching(Ho._createAt(r,0))&&(yield r)}}*getTopMostBlocks(){const e=Array.from(this.getSelectedBlocks());for(const t of e){const n=Ko(t);n&&e.includes(n)||(yield t)}}containsEntireContent(e=this.anchor.root){const t=Ho._createAt(e,0),n=Ho._createAt(e,"end");return t.isTouching(this.getFirstPosition())&&n.isTouching(this.getLastPosition())}_pushRange(e){this._checkRange(e),this._ranges.push(new zo(e.start,e.end))}_checkRange(e){for(let t=0;t<this._ranges.length;t++)if(e.isIntersecting(this._ranges[t]))throw new _t.b("model-selection-range-intersects: Trying to add a range that intersects with another range in the selection.",[this,e],{addedRange:e,intersectingRange:this._ranges[t]})}_removeAllRanges(){for(;this._ranges.length>0;)this._popRange()}_popRange(){this._ranges.pop()}}function Qo(e,t){return!t.has(e)&&(t.add(e),e.document.model.schema.isBlock(e)&&e.parent)}function Jo(e,t){const n=e.parent.document.model.schema,r=e.parent.getAncestors({parentFirst:!0,includeSelf:!0});let o=!1;const i=r.find(e=>!o&&!(o=n.isLimit(e))&&Qo(e,t));return r.forEach(e=>t.add(e)),i}function Ko(e){const t=e.document.model.schema;let n=e.parent;for(;n;){if(t.isBlock(n))return n;n=n.parent}}Ct(Go,Mt);class Xo extends zo{constructor(e,t){super(e,t),function(){this.listenTo(this.root.document.model,"applyOperation",(e,t)=>{const n=t[0];n.isDocumentOperation&&function(e){const t=this.getTransformedByOperation(e),n=zo._createFromRanges(t),r=!n.isEqual(this),o=function(e,t){switch(t.type){case"insert":return e.containsPosition(t.position);case"move":case"remove":case"reinsert":case"merge":return e.containsPosition(t.sourcePosition)||e.start.isEqual(t.sourcePosition)||e.containsPosition(t.targetPosition);case"split":return e.containsPosition(t.splitPosition)||e.containsPosition(t.insertionPosition)}return!1}(this,e);let i=null;if(r){"$graveyard"==n.root.rootName&&(i="remove"==e.type?e.sourcePosition:e.deletionPosition);const t=this.toRange();this.start=n.start,this.end=n.end,this.fire("change:range",t,{deletionPosition:i})}else o&&this.fire("change:content",this.toRange(),{deletionPosition:i})}.call(this,n)},{priority:"low"})}.call(this)}detach(){this.stopListening()}is(e){return"liveRange"==e||"model:liveRange"==e||super.is(e)}toRange(){return new zo(this.start,this.end)}static fromRange(e){return new Xo(e.start,e.end)}}Ct(Xo,Mt);const $o="selection:";class Zo{constructor(e){this._selection=new ei(e),this._selection.delegate("change:range").to(this),this._selection.delegate("change:attribute").to(this)}get isCollapsed(){return this._selection.isCollapsed}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get rangeCount(){return this._selection.rangeCount}get hasOwnRange(){return this._selection.hasOwnRange}get isBackward(){return this._selection.isBackward}get isGravityOverridden(){return this._selection.isGravityOverridden}get markers(){return this._selection.markers}get _ranges(){return this._selection._ranges}getRanges(){return this._selection.getRanges()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getSelectedBlocks(){return this._selection.getSelectedBlocks()}getTopMostBlocks(){return this._selection.getTopMostBlocks()}getSelectedElement(){return this._selection.getSelectedElement()}containsEntireContent(e){return this._selection.containsEntireContent(e)}destroy(){this._selection.destroy()}getAttributeKeys(){return this._selection.getAttributeKeys()}getAttributes(){return this._selection.getAttributes()}getAttribute(e){return this._selection.getAttribute(e)}hasAttribute(e){return this._selection.hasAttribute(e)}refresh(){this._selection._updateMarkers(),this._selection._updateAttributes(!1)}is(e){return"selection"==e||"model:selection"==e||"documentSelection"==e||"model:documentSelection"==e}_setFocus(e,t){this._selection.setFocus(e,t)}_setTo(e,t,n){this._selection.setTo(e,t,n)}_setAttribute(e,t){this._selection.setAttribute(e,t)}_removeAttribute(e){this._selection.removeAttribute(e)}_getStoredAttributes(){return this._selection._getStoredAttributes()}_overrideGravity(){return this._selection.overrideGravity()}_restoreGravity(e){this._selection.restoreGravity(e)}static _getStoreAttributeKey(e){return $o+e}static _isStoreAttributeKey(e){return e.startsWith($o)}}Ct(Zo,Mt);class ei extends Go{constructor(e){super(),this.markers=new kn({idProperty:"name"}),this._model=e.model,this._document=e,this._attributePriority=new Map,this._fixGraveyardRangesData=[],this._hasChangedRange=!1,this._overriddenGravityRegister=new Set,this.listenTo(this._model,"applyOperation",(e,t)=>{const n=t[0];if(n.isDocumentOperation&&"marker"!=n.type&&"rename"!=n.type&&"noop"!=n.type){for(;this._fixGraveyardRangesData.length;){const{liveRange:e,sourcePosition:t}=this._fixGraveyardRangesData.shift();this._fixGraveyardSelection(e,t)}this._hasChangedRange&&(this._hasChangedRange=!1,this.fire("change:range",{directChange:!1}))}},{priority:"lowest"}),this.on("change:range",()=>{for(const e of this.getRanges())if(!this._document._validateSelectionRange(e))throw new _t.b("document-selection-wrong-position: Range from document selection starts or ends at incorrect position.",this,{range:e})}),this.listenTo(this._model.markers,"update",()=>this._updateMarkers()),this.listenTo(this._document,"change",(e,t)=>{!function(e,t){const n=e.document.differ;for(const r of n.getChanges()){if("insert"!=r.type)continue;const n=r.position.parent;r.length===n.maxOffset&&e.enqueueChange(t,e=>{const t=Array.from(n.getAttributeKeys()).filter(e=>e.startsWith($o));for(const r of t)e.removeAttribute(r,n)})}}(this._model,t)})}get isCollapsed(){return 0===this._ranges.length?this._document._getDefaultRange().isCollapsed:super.isCollapsed}get anchor(){return super.anchor||this._document._getDefaultRange().start}get focus(){return super.focus||this._document._getDefaultRange().end}get rangeCount(){return this._ranges.length?this._ranges.length:1}get hasOwnRange(){return this._ranges.length>0}get isGravityOverridden(){return!!this._overriddenGravityRegister.size}destroy(){for(let e=0;e<this._ranges.length;e++)this._ranges[e].detach();this.stopListening()}*getRanges(){this._ranges.length?yield*super.getRanges():yield this._document._getDefaultRange()}getFirstRange(){return super.getFirstRange()||this._document._getDefaultRange()}getLastRange(){return super.getLastRange()||this._document._getDefaultRange()}setTo(e,t,n){super.setTo(e,t,n),this._updateAttributes(!0)}setFocus(e,t){super.setFocus(e,t),this._updateAttributes(!0)}setAttribute(e,t){if(this._setAttribute(e,t)){const t=[e];this.fire("change:attribute",{attributeKeys:t,directChange:!0})}}removeAttribute(e){if(this._removeAttribute(e)){const t=[e];this.fire("change:attribute",{attributeKeys:t,directChange:!0})}}overrideGravity(){const e=vt();return this._overriddenGravityRegister.add(e),1===this._overriddenGravityRegister.size&&this._updateAttributes(!0),e}restoreGravity(e){if(!this._overriddenGravityRegister.has(e))throw new _t.b("document-selection-gravity-wrong-restore: Attempting to restore the selection gravity for an unknown UID.",this,{uid:e});this._overriddenGravityRegister.delete(e),this.isGravityOverridden||this._updateAttributes(!0)}_popRange(){this._ranges.pop().detach()}_pushRange(e){const t=this._prepareRange(e);t&&this._ranges.push(t)}_prepareRange(e){if(this._checkRange(e),e.root==this._document.graveyard)return;const t=Xo.fromRange(e);return t.on("change:range",(e,n,r)=>{this._hasChangedRange=!0,t.root==this._document.graveyard&&this._fixGraveyardRangesData.push({liveRange:t,sourcePosition:r.deletionPosition})}),t}_updateMarkers(){const e=[];for(const t of this._model.markers){const n=t.getRange();for(const r of this.getRanges())n.containsRange(r,!r.isCollapsed)&&e.push(t)}for(const t of e)this.markers.has(t)||this.markers.add(t);for(const t of Array.from(this.markers))e.includes(t)||this.markers.remove(t)}_updateAttributes(e){const t=Oo(this._getSurroundingAttributes()),n=Oo(this.getAttributes());if(e)this._attributePriority=new Map,this._attrs=new Map;else for(const[e,t]of this._attributePriority)"low"==t&&(this._attrs.delete(e),this._attributePriority.delete(e));this._setAttributesTo(t);const r=[];for(const[e,t]of this.getAttributes())n.has(e)&&n.get(e)===t||r.push(e);for(const[e]of n)this.hasAttribute(e)||r.push(e);r.length>0&&this.fire("change:attribute",{attributeKeys:r,directChange:!1})}_setAttribute(e,t,n=!0){const r=n?"normal":"low";return("low"!=r||"normal"!=this._attributePriority.get(e))&&super.getAttribute(e)!==t&&(this._attrs.set(e,t),this._attributePriority.set(e,r),!0)}_removeAttribute(e,t=!0){const n=t?"normal":"low";return!("low"==n&&"normal"==this._attributePriority.get(e)||(this._attributePriority.set(e,n),!super.hasAttribute(e)||(this._attrs.delete(e),0)))}_setAttributesTo(e){const t=new Set;for(const[t,n]of this.getAttributes())e.get(t)!==n&&this._removeAttribute(t,!1);for(const[n,r]of e)this._setAttribute(n,r,!1)&&t.add(n);return t}*_getStoredAttributes(){const e=this.getFirstPosition().parent;if(this.isCollapsed&&e.isEmpty)for(const t of e.getAttributeKeys())t.startsWith($o)&&(yield[t.substr($o.length),e.getAttribute(t)])}_getSurroundingAttributes(){const e=this.getFirstPosition(),t=this._model.schema;let n=null;if(this.isCollapsed){const t=e.textNode?e.textNode:e.nodeBefore,r=e.textNode?e.textNode:e.nodeAfter;if(this.isGravityOverridden||(n=ti(t)),n||(n=ti(r)),!this.isGravityOverridden&&!n){let e=t;for(;e&&!n;)n=ti(e=e.previousSibling)}if(!n){let e=r;for(;e&&!n;)n=ti(e=e.nextSibling)}n||(n=this._getStoredAttributes())}else{const e=this.getFirstRange();for(const r of e){if(r.item.is("element")&&t.isObject(r.item))break;if("text"==r.type){n=r.item.getAttributes();break}}}return n}_fixGraveyardSelection(e,t){const n=t.clone(),r=this._model.schema.getNearestSelectionRange(n),o=this._ranges.indexOf(e);if(this._ranges.splice(o,1),e.detach(),r){const e=this._prepareRange(r);this._ranges.splice(o,0,e)}}}function ti(e){return e instanceof Io||e instanceof No?e.getAttributes():null}class ni{constructor(e){this._dispatchers=e}add(e){for(const t of this._dispatchers)e(t);return this}}var ri=function(e){return ht(e,5)};class oi extends ni{elementToElement(e){return this.add(function(e){return(e=ri(e)).view=ai(e.view,"container"),t=>{t.on("insert:"+e.model,function(e){return(t,n,r)=>{const o=e(n.item,r.writer);if(!o)return;if(!r.consumable.consume(n.item,"insert"))return;const i=r.mapper.toViewPosition(n.range.start);r.mapper.bindElements(n.item,o),r.writer.insert(i,o)}}(e.view),{priority:e.converterPriority||"normal"})}}(e))}attributeToElement(e){return this.add(function(e){let t="attribute:"+((e=ri(e)).model.key?e.model.key:e.model);if(e.model.name&&(t+=":"+e.model.name),e.model.values)for(const t of e.model.values)e.view[t]=ai(e.view[t],"attribute");else e.view=ai(e.view,"attribute");const n=si(e);return r=>{r.on(t,function(e){return(t,n,r)=>{const o=e(n.attributeOldValue,r.writer),i=e(n.attributeNewValue,r.writer);if(!o&&!i)return;if(!r.consumable.consume(n.item,t.name))return;const a=r.writer,s=a.document.selection;if(n.item instanceof Go||n.item instanceof Zo)a.wrap(s.getFirstRange(),i);else{let e=r.mapper.toViewRange(n.range);null!==n.attributeOldValue&&o&&(e=a.unwrap(e,o)),null!==n.attributeNewValue&&i&&a.wrap(e,i)}}}(n),{priority:e.converterPriority||"normal"})}}(e))}attributeToAttribute(e){return this.add(function(e){let t="attribute:"+((e=ri(e)).model.key?e.model.key:e.model);if(e.model.name&&(t+=":"+e.model.name),e.model.values)for(const t of e.model.values)e.view[t]=li(e.view[t]);else e.view=li(e.view);const n=si(e);return r=>{r.on(t,function(e){return(t,n,r)=>{const o=e(n.attributeOldValue,n),i=e(n.attributeNewValue,n);if(!o&&!i)return;if(!r.consumable.consume(n.item,t.name))return;const a=r.mapper.toViewElement(n.item),s=r.writer;if(!a)throw new _t.b("conversion-attribute-to-attribute-on-text: Trying to convert text node's attribute with attribute-to-attribute converter.",[n,r]);if(null!==n.attributeOldValue&&o)if("class"==o.key){const e=Array.isArray(o.value)?o.value:[o.value];for(const t of e)s.removeClass(t,a)}else if("style"==o.key){const e=Object.keys(o.value);for(const t of e)s.removeStyle(t,a)}else s.removeAttribute(o.key,a);if(null!==n.attributeNewValue&&i)if("class"==i.key){const e=Array.isArray(i.value)?i.value:[i.value];for(const t of e)s.addClass(t,a)}else if("style"==i.key){const e=Object.keys(i.value);for(const t of e)s.setStyle(t,i.value[t],a)}else s.setAttribute(i.key,i.value,a)}}(n),{priority:e.converterPriority||"normal"})}}(e))}markerToElement(e){return this.add(function(e){return(e=ri(e)).view=ai(e.view,"ui"),t=>{t.on("addMarker:"+e.model,function(e){return(t,n,r)=>{n.isOpening=!0;const o=e(n,r.writer);n.isOpening=!1;const i=e(n,r.writer);if(!o||!i)return;const a=n.markerRange;if(a.isCollapsed&&!r.consumable.consume(a,t.name))return;for(const e of a)if(!r.consumable.consume(e.item,t.name))return;const s=r.mapper,l=r.writer;l.insert(s.toViewPosition(a.start),o),r.mapper.bindElementToMarker(o,n.markerName),a.isCollapsed||(l.insert(s.toViewPosition(a.end),i),r.mapper.bindElementToMarker(i,n.markerName)),t.stop()}}(e.view),{priority:e.converterPriority||"normal"}),t.on("removeMarker:"+e.model,(e.view,(e,t,n)=>{const r=n.mapper.markerNameToElements(t.markerName);if(r){for(const e of r)n.mapper.unbindElementFromMarkerName(e,t.markerName),n.writer.clear(n.writer.createRangeOn(e),e);n.writer.clearClonedElementsGroup(t.markerName),e.stop()}}),{priority:e.converterPriority||"normal"})}}(e))}markerToHighlight(e){return this.add(function(e){return t=>{t.on("addMarker:"+e.model,function(e){return(t,n,r)=>{if(!n.item)return;if(!(n.item instanceof Go||n.item instanceof Zo||n.item.is("textProxy")))return;const o=ci(e,n,r);if(!o)return;if(!r.consumable.consume(n.item,t.name))return;const i=ii(o),a=r.writer,s=a.document.selection;if(n.item instanceof Go||n.item instanceof Zo)a.wrap(s.getFirstRange(),i,s);else{const e=r.mapper.toViewRange(n.range),t=a.wrap(e,i);for(const e of t.getItems())if(e.is("attributeElement")&&e.isSimilar(i)){r.mapper.bindElementToMarker(e,n.markerName);break}}}}(e.view),{priority:e.converterPriority||"normal"}),t.on("addMarker:"+e.model,function(e){return(t,n,r)=>{if(!n.item)return;if(!(n.item instanceof Ro))return;const o=ci(e,n,r);if(!o)return;if(!r.consumable.test(n.item,t.name))return;const i=r.mapper.toViewElement(n.item);if(i&&i.getCustomProperty("addHighlight")){r.consumable.consume(n.item,t.name);for(const e of zo._createIn(n.item))r.consumable.consume(e.item,t.name);i.getCustomProperty("addHighlight")(i,o,r.writer),r.mapper.bindElementToMarker(i,n.markerName)}}}(e.view),{priority:e.converterPriority||"normal"}),t.on("removeMarker:"+e.model,function(e){return(t,n,r)=>{if(n.markerRange.isCollapsed)return;const o=ci(e,n,r);if(!o)return;const i=ii(o),a=r.mapper.markerNameToElements(n.markerName);if(a){for(const e of a)r.mapper.unbindElementFromMarkerName(e,n.markerName),e.is("attributeElement")?r.writer.unwrap(r.writer.createRangeOn(e),i):e.getCustomProperty("removeHighlight")(e,o.id,r.writer);r.writer.clearClonedElementsGroup(n.markerName),t.stop()}}}(e.view),{priority:e.converterPriority||"normal"})}}(e))}}function ii(e){const t=new xn("span",e.attributes);return e.classes&&t._addClass(e.classes),e.priority&&(t._priority=e.priority),t._id=e.id,t}function ai(e,t){return"function"==typeof e?e:(n,r)=>function(e,t,n){let r;"string"==typeof e&&(e={name:e});const o=Object.assign({},e.attributes);if("container"==n)r=t.createContainerElement(e.name,o);else if("attribute"==n){const n={priority:e.priority||xn.DEFAULT_PRIORITY};r=t.createAttributeElement(e.name,o,n)}else r=t.createUIElement(e.name,o);if(e.styles){const n=Object.keys(e.styles);for(const o of n)t.setStyle(o,e.styles[o],r)}if(e.classes){const n=e.classes;if("string"==typeof n)t.addClass(n,r);else for(const e of n)t.addClass(e,r)}return r}(e,r,t)}function si(e){return e.model.values?(t,n)=>{const r=e.view[t];return r?r(t,n):null}:e.view}function li(e){return"string"==typeof e?t=>({key:e,value:t}):"object"==typeof e?e.value?()=>e:t=>({key:e.key,value:t}):e}function ci(e,t,n){const r="function"==typeof e?e(t,n):e;return r?(r.priority||(r.priority=10),r.id||(r.id=t.markerName),r):null}class ui extends ni{elementToElement(e){return this.add(di(e))}elementToAttribute(e){return this.add(function(e){fi(e=ri(e));const t=pi(e,!1),n=hi(e),r=n?"element:"+n:"element";return n=>{n.on(r,t,{priority:e.converterPriority||"low"})}}(e))}attributeToAttribute(e){return this.add(function(e){let t=null;("string"==typeof(e=ri(e)).view||e.view.key)&&(t=function(e){"string"==typeof e.view&&(e.view={key:e.view});const t=e.view.key;let n;return n="class"==t||"style"==t?{["class"==t?"classes":"styles"]:e.view.value}:{attributes:{[t]:void 0===e.view.value?/[\s\S]*/:e.view.value}},e.view.name&&(n.name=e.view.name),e.view=n,t}(e)),fi(e,t);const n=pi(e,!0);return t=>{t.on("element",n,{priority:e.converterPriority||"low"})}}(e))}elementToMarker(e){return this.add(function(e){return function(e){const t=e.model;e.model=(e,n)=>{const r="string"==typeof t?t:t(e);return n.createElement("$marker",{"data-name":r})}}(e=ri(e)),di(e)}(e))}}function di(e){const t=function(e){const t=e.view?new jt(e.view):null;return(n,r,o)=>{let i={};if(t){const e=t.match(r.viewItem);if(!e)return;i=e.match}i.name=!0;const a=function(e,t,n){return e instanceof Function?e(t,n):n.createElement(e)}(e.model,r.viewItem,o.writer);if(!a)return;if(!o.consumable.test(r.viewItem,i))return;const s=o.splitToAllowedParent(a,r.modelCursor);if(!s)return;o.writer.insert(a,s.position),o.convertChildren(r.viewItem,o.writer.createPositionAt(a,0)),o.consumable.consume(r.viewItem,i);const l=o.getSplitParts(a);r.modelRange=new zo(o.writer.createPositionBefore(a),o.writer.createPositionAfter(l[l.length-1])),s.cursorParent?r.modelCursor=o.writer.createPositionAt(s.cursorParent,0):r.modelCursor=r.modelRange.end}}(e=ri(e)),n=hi(e),r=n?"element:"+n:"element";return n=>{n.on(r,t,{priority:e.converterPriority||"normal"})}}function hi(e){return"string"==typeof e.view?e.view:"object"==typeof e.view&&"string"==typeof e.view.name?e.view.name:null}function fi(e,t=null){const n=null===t||(e=>e.getAttribute(t)),r="object"!=typeof e.model?e.model:e.model.key,o="object"!=typeof e.model||void 0===e.model.value?n:e.model.value;e.model={key:r,value:o}}function pi(e,t){const n=new jt(e.view);return(r,o,i)=>{const a=n.match(o.viewItem);if(!a)return;const s=e.model.key,l="function"==typeof e.model.value?e.model.value(o.viewItem):e.model.value;null!==l&&(function(e){return!("object"==typeof e.view&&!hi(e)||e.view.classes||e.view.attributes||e.view.styles)}(e)?a.match.name=!0:delete a.match.name,i.consumable.test(o.viewItem,a.match)&&(o.modelRange||(o=Object.assign(o,i.convertChildren(o.viewItem,o.modelCursor))),function(e,t,n,r){let o=!1;for(const i of Array.from(e.getItems({shallow:n})))r.schema.checkAttribute(i,t.key)&&(r.writer.setAttribute(t.key,t.value,i),o=!0);return o}(o.modelRange,{key:s,value:l},t,i)&&i.consumable.consume(o.viewItem,a.match)))}}class mi{constructor(e){this.model=e,this.view=new Po,this.mapper=new Bo,this.downcastDispatcher=new Wo({mapper:this.mapper});const t=this.model.document,n=t.selection,r=this.model.markers;this.listenTo(this.model,"_beforeChanges",()=>{this.view._disableRendering(!0)},{priority:"highest"}),this.listenTo(this.model,"_afterChanges",()=>{this.view._disableRendering(!1)},{priority:"lowest"}),this.listenTo(t,"change",()=>{this.view.change(e=>{this.downcastDispatcher.convertChanges(t.differ,r,e),this.downcastDispatcher.convertSelection(n,r,e)})},{priority:"low"}),this.listenTo(this.view.document,"selectionChange",function(e,t){return(n,r)=>{const o=r.newSelection,i=new Go,a=[];for(const e of o.getRanges())a.push(t.toModelRange(e));i.setTo(a,{backward:o.isBackward}),i.isEqual(e.document.selection)||e.change(e=>{e.setSelection(i)})}}(this.model,this.mapper)),this.downcastDispatcher.on("insert:$text",(e,t,n)=>{if(!n.consumable.consume(t.item,"insert"))return;const r=n.writer,o=n.mapper.toViewPosition(t.range.start),i=r.createText(t.item.data);r.insert(o,i)},{priority:"lowest"}),this.downcastDispatcher.on("remove",(e,t,n)=>{const r=n.mapper.toViewPosition(t.position),o=t.position.getShiftedBy(t.length),i=n.mapper.toViewPosition(o,{isPhantom:!0}),a=n.writer.createRange(r,i),s=n.writer.remove(a.getTrimmed());for(const e of n.writer.createRangeIn(s).getItems())n.mapper.unbindViewElement(e)},{priority:"low"}),this.downcastDispatcher.on("selection",(e,t,n)=>{const r=n.writer,o=r.document.selection;for(const e of o.getRanges())e.isCollapsed&&e.end.parent.document&&n.writer.mergeAttributes(e.start);r.setSelection(null)},{priority:"low"}),this.downcastDispatcher.on("selection",(e,t,n)=>{const r=t.selection;if(r.isCollapsed)return;if(!n.consumable.consume(r,"selection"))return;const o=[];for(const e of r.getRanges()){const t=n.mapper.toViewRange(e);o.push(t)}n.writer.setSelection(o,{backward:r.isBackward})},{priority:"low"}),this.downcastDispatcher.on("selection",(e,t,n)=>{const r=t.selection;if(!r.isCollapsed)return;if(!n.consumable.consume(r,"selection"))return;const o=n.writer,i=r.getFirstPosition(),a=n.mapper.toViewPosition(i),s=o.breakAttributes(a);o.setSelection(s)},{priority:"low"}),this.view.document.roots.bindTo(this.model.document.roots).using(e=>{if("$graveyard"==e.rootName)return null;const t=new pn(e.name);return t.rootName=e.rootName,t._document=this.view.document,this.mapper.bindElements(e,t),t})}destroy(){this.view.destroy(),this.stopListening()}}Ct(mi,on);class gi{constructor(e,t=[]){this._editor=e,this._availablePlugins=new Map,this._plugins=new Map;for(const e of t)this._availablePlugins.set(e,e),e.pluginName&&this._availablePlugins.set(e.pluginName,e)}*[Symbol.iterator](){for(const e of this._plugins)"function"==typeof e[0]&&(yield e)}get(e){const t=this._plugins.get(e);if(!t){const t="plugincollection-plugin-not-loaded: The requested plugin is not loaded.";let n=e;throw"function"==typeof e&&(n=e.pluginName||e.name),new _t.b(t,this._editor,{plugin:n})}return t}has(e){return this._plugins.has(e)}init(e,t=[]){const n=this,r=this._editor,o=new Set,i=[],a=d(e),s=d(t),l=function(e){const t=[];for(const n of e)u(n)||t.push(n);return t.length?t:null}(e);if(l){const e="plugincollection-plugin-not-found: Some plugins are not available and could not be loaded.";return console.error(Object(_t.a)(e),{plugins:l}),Promise.reject(new _t.b(e,this._editor,{plugins:l}))}return Promise.all(a.map((function e(a){if(!s.includes(a)&&!n._plugins.has(a)&&!o.has(a))return function(a){return new Promise(s=>{o.add(a),a.requires&&a.requires.forEach(n=>{const o=u(n);if(t.includes(o))throw new _t.b("plugincollection-required: Cannot load a plugin because one of its dependencies is listed inthe `removePlugins` option.",r,{plugin:o,requiredBy:a});e(o)});const l=new a(r);n._add(a,l),i.push(l),s()})}(a).catch(e=>{throw console.error(Object(_t.a)("plugincollection-load: It was not possible to load the plugin."),{plugin:a}),e})}))).then(()=>c(i,"init")).then(()=>c(i,"afterInit")).then(()=>i);function c(e,t){return e.reduce((e,n)=>n[t]?e.then(n[t].bind(n)):e,Promise.resolve())}function u(e){return"function"==typeof e?e:n._availablePlugins.get(e)}function d(e){return e.map(e=>u(e)).filter(e=>!!e)}}destroy(){const e=Array.from(this).map(([,e])=>e).filter(e=>"function"==typeof e.destroy).map(e=>e.destroy());return Promise.all(e)}_add(e,t){this._plugins.set(e,t);const n=e.pluginName;if(n){if(this._plugins.has(n))throw new _t.b("plugincollection-plugin-name-conflict: Two plugins with the same name were loaded.",null,{pluginName:n,plugin1:this._plugins.get(n).constructor,plugin2:e});this._plugins.set(n,t)}}}Ct(gi,Mt);class _i{constructor(){this._commands=new Map}add(e,t){this._commands.set(e,t)}get(e){return this._commands.get(e)}execute(e,...t){const n=this.get(e);if(!n)throw new _t.b("commandcollection-command-not-found: Command does not exist.",this,{commandName:e});n.execute(...t)}*names(){yield*this._commands.keys()}*commands(){yield*this._commands.values()}[Symbol.iterator](){return this._commands[Symbol.iterator]()}destroy(){for(const e of this.commands())e.destroy()}}window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={});const bi=["ar","fa","he","ku","ug"];class vi{constructor(e={}){this.uiLanguage=e.uiLanguage||"en",this.contentLanguage=e.contentLanguage||this.uiLanguage,this.uiLanguageDirection=yi(this.uiLanguage),this.contentLanguageDirection=yi(this.contentLanguage),this.t=(...e)=>this._t(...e)}get language(){return console.warn("locale-deprecated-language-property: The Locale#language property has been deprecated and will be removed in the near future. Please use #uiLanguage and #contentLanguage properties instead."),this.uiLanguage}_t(e,t){let n=function(e,t){const n=Object.keys(window.CKEDITOR_TRANSLATIONS).length;return 1===n&&(e=Object.keys(window.CKEDITOR_TRANSLATIONS)[0]),0!==n&&function(e,t){return e in window.CKEDITOR_TRANSLATIONS&&t in window.CKEDITOR_TRANSLATIONS[e]}(e,t)?window.CKEDITOR_TRANSLATIONS[e][t].replace(/ \[context: [^\]]+\]$/,""):t.replace(/ \[context: [^\]]+\]$/,"")}(this.uiLanguage,e);return t&&(n=n.replace(/%(\d+)/g,(e,n)=>n<t.length?t[n]:e)),n}}function yi(e){return bi.includes(e)?"rtl":"ltr"}class wi{constructor(){this._consumables=new Map}add(e,t){let n;e.is("text")||e.is("documentFragment")?this._consumables.set(e,!0):(this._consumables.has(e)?n=this._consumables.get(e):(n=new ki,this._consumables.set(e,n)),n.add(t))}test(e,t){const n=this._consumables.get(e);return void 0===n?null:e.is("text")||e.is("documentFragment")?n:n.test(t)}consume(e,t){return!!this.test(e,t)&&(e.is("text")||e.is("documentFragment")?this._consumables.set(e,!1):this._consumables.get(e).consume(t),!0)}revert(e,t){const n=this._consumables.get(e);void 0!==n&&(e.is("text")||e.is("documentFragment")?this._consumables.set(e,!0):n.revert(t))}static consumablesFromElement(e){const t={name:!0,attributes:[],classes:[],styles:[]},n=e.getAttributeKeys();for(const e of n)"style"!=e&&"class"!=e&&t.attributes.push(e);const r=e.getClassNames();for(const e of r)t.classes.push(e);const o=e.getStyleNames();for(const e of o)t.styles.push(e);return t}static createFrom(e,t){if(t||(t=new wi),e.is("text"))return t.add(e),t;e.is("element")&&t.add(e,wi.consumablesFromElement(e)),e.is("documentFragment")&&t.add(e);for(const n of e.getChildren())t=wi.createFrom(n,t);return t}}class ki{constructor(){this._canConsumeName=null,this._consumables={attributes:new Map,styles:new Map,classes:new Map}}add(e){e.name&&(this._canConsumeName=!0);for(const t in this._consumables)t in e&&this._add(t,e[t])}test(e){if(e.name&&!this._canConsumeName)return this._canConsumeName;for(const t in this._consumables)if(t in e){const n=this._test(t,e[t]);if(!0!==n)return n}return!0}consume(e){e.name&&(this._canConsumeName=!1);for(const t in this._consumables)t in e&&this._consume(t,e[t])}revert(e){e.name&&(this._canConsumeName=!0);for(const t in this._consumables)t in e&&this._revert(t,e[t])}_add(e,t){const n=se(t)?t:[t],r=this._consumables[e];for(const t of n){if("attributes"===e&&("class"===t||"style"===t))throw new _t.b("viewconsumable-invalid-attribute: Classes and styles should be handled separately.",this);r.set(t,!0)}}_test(e,t){const n=se(t)?t:[t],r=this._consumables[e];for(const t of n)if("attributes"!==e||"class"!==t&&"style"!==t){const e=r.get(t);if(void 0===e)return null;if(!e)return!1}else{const e="class"==t?"classes":"styles",n=this._test(e,[...this._consumables[e].keys()]);if(!0!==n)return n}return!0}_consume(e,t){const n=se(t)?t:[t],r=this._consumables[e];for(const t of n)if("attributes"!==e||"class"!==t&&"style"!==t)r.set(t,!1);else{const e="class"==t?"classes":"styles";this._consume(e,[...this._consumables[e].keys()])}}_revert(e,t){const n=se(t)?t:[t],r=this._consumables[e];for(const t of n)if("attributes"!==e||"class"!==t&&"style"!==t)!1===r.get(t)&&r.set(t,!0);else{const e="class"==t?"classes":"styles";this._revert(e,[...this._consumables[e].keys()])}}}class Mi{constructor(){this._sourceDefinitions={},this._attributeProperties={},this.decorate("checkChild"),this.decorate("checkAttribute"),this.on("checkAttribute",(e,t)=>{t[0]=new xi(t[0])},{priority:"highest"}),this.on("checkChild",(e,t)=>{t[0]=new xi(t[0]),t[1]=this.getDefinition(t[1])},{priority:"highest"})}register(e,t){if(this._sourceDefinitions[e])throw new _t.b("schema-cannot-register-item-twice: A single item cannot be registered twice in the schema.",this,{itemName:e});this._sourceDefinitions[e]=[Object.assign({},t)],this._clearCache()}extend(e,t){if(!this._sourceDefinitions[e])throw new _t.b("schema-cannot-extend-missing-item: Cannot extend an item which was not registered yet.",this,{itemName:e});this._sourceDefinitions[e].push(Object.assign({},t)),this._clearCache()}getDefinitions(){return this._compiledDefinitions||this._compile(),this._compiledDefinitions}getDefinition(e){let t;return t="string"==typeof e?e:e.is&&(e.is("text")||e.is("textProxy"))?"$text":e.name,this.getDefinitions()[t]}isRegistered(e){return!!this.getDefinition(e)}isBlock(e){const t=this.getDefinition(e);return!(!t||!t.isBlock)}isLimit(e){const t=this.getDefinition(e);return!(!t||!t.isLimit&&!t.isObject)}isObject(e){const t=this.getDefinition(e);return!(!t||!t.isObject)}isInline(e){const t=this.getDefinition(e);return!(!t||!t.isInline)}checkChild(e,t){return!!t&&this._checkContextMatch(t,e)}checkAttribute(e,t){const n=this.getDefinition(e.last);return!!n&&n.allowAttributes.includes(t)}checkMerge(e,t=null){if(e instanceof Ho){const t=e.nodeBefore,n=e.nodeAfter;if(!(t instanceof Ro))throw new _t.b("schema-check-merge-no-element-before: The node before the merge position must be an element.",this);if(!(n instanceof Ro))throw new _t.b("schema-check-merge-no-element-after: The node after the merge position must be an element.",this);return this.checkMerge(t,n)}for(const n of t.getChildren())if(!this.checkChild(e,n))return!1;return!0}addChildCheck(e){this.on("checkChild",(t,[n,r])=>{if(!r)return;const o=e(n,r);"boolean"==typeof o&&(t.stop(),t.return=o)},{priority:"high"})}addAttributeCheck(e){this.on("checkAttribute",(t,[n,r])=>{const o=e(n,r);"boolean"==typeof o&&(t.stop(),t.return=o)},{priority:"high"})}setAttributeProperties(e,t){this._attributeProperties[e]=Object.assign(this.getAttributeProperties(e),t)}getAttributeProperties(e){return this._attributeProperties[e]||{}}getLimitElement(e){let t;for(t=e instanceof Ho?e.parent:(e instanceof zo?[e]:Array.from(e.getRanges())).reduce((e,t)=>{const n=t.getCommonAncestor();return e?e.getCommonAncestor(n,{includeSelf:!0}):n},null);!this.isLimit(t)&&t.parent;)t=t.parent;return t}checkAttributeInSelection(e,t){if(e.isCollapsed){const n=[...e.getFirstPosition().getAncestors(),new No("",e.getAttributes())];return this.checkAttribute(n,t)}{const n=e.getRanges();for(const e of n)for(const n of e)if(this.checkAttribute(n.item,t))return!0}return!1}*getValidRanges(e,t){e=function*(e){for(const t of e)yield*t.getMinimalFlatRanges()}(e);for(const n of e)yield*this._getValidRangesForRange(n,t)}getNearestSelectionRange(e,t="both"){if(this.checkChild(e,"$text"))return new zo(e);let n,r;"both"!=t&&"backward"!=t||(n=new jo({startPosition:e,direction:"backward"})),"both"!=t&&"forward"!=t||(r=new jo({startPosition:e}));for(const e of function*(e,t){let n=!1;for(;!n;){if(n=!0,e){const t=e.next();t.done||(n=!1,yield{walker:e,value:t.value})}if(t){const e=t.next();e.done||(n=!1,yield{walker:t,value:e.value})}}}(n,r)){const t=e.walker==n?"elementEnd":"elementStart",r=e.value;if(r.type==t&&this.isObject(r.item))return zo._createOn(r.item);if(this.checkChild(r.nextPosition,"$text"))return new zo(r.nextPosition)}return null}findAllowedParent(e,t){let n=e.parent;for(;n;){if(this.checkChild(n,t))return n;if(this.isLimit(n))return null;n=n.parent}return null}removeDisallowedAttributes(e,t){for(const n of e){for(const e of n.getAttributeKeys())this.checkAttribute(n,e)||t.removeAttribute(e,n);n.is("element")&&this.removeDisallowedAttributes(n.getChildren(),t)}}createContext(e){return new xi(e)}_clearCache(){this._compiledDefinitions=null}_compile(){const e={},t=this._sourceDefinitions,n=Object.keys(t);for(const r of n)e[r]=Ti(t[r],r);for(const t of n)Ei(e,t);for(const t of n)Si(e,t);for(const t of n)Di(e,t),Li(e,t);for(const t of n)Ci(e,t),Pi(e,t);this._compiledDefinitions=e}_checkContextMatch(e,t,n=t.length-1){const r=t.getItem(n);if(e.allowIn.includes(r.name)){if(0==n)return!0;{const e=this.getDefinition(r);return this._checkContextMatch(e,t,n-1)}}return!1}*_getValidRangesForRange(e,t){let n=e.start,r=e.start;for(const o of e.getItems({shallow:!0}))o.is("element")&&(yield*this._getValidRangesForRange(zo._createIn(o),t)),this.checkAttribute(o,t)||(n.isEqual(r)||(yield new zo(n,r)),n=Ho._createAfter(o)),r=Ho._createAfter(o);n.isEqual(r)||(yield new zo(n,r))}}Ct(Mi,on);class xi{constructor(e){if(e instanceof xi)return e;"string"==typeof e?e=[e]:Array.isArray(e)||(e=e.getAncestors({includeSelf:!0})),e[0]&&"string"!=typeof e[0]&&e[0].is("documentFragment")&&e.shift(),this._items=e.map(Ni)}get length(){return this._items.length}get last(){return this._items[this._items.length-1]}[Symbol.iterator](){return this._items[Symbol.iterator]()}push(e){const t=new xi([e]);return t._items=[...this._items,...t._items],t}getItem(e){return this._items[e]}*getNames(){yield*this._items.map(e=>e.name)}endsWith(e){return Array.from(this.getNames()).join(" ").endsWith(e)}}function Ti(e,t){const n={name:t,allowIn:[],allowContentOf:[],allowWhere:[],allowAttributes:[],allowAttributesOf:[],inheritTypesFrom:[]};return function(e,t){for(const n of e){const e=Object.keys(n).filter(e=>e.startsWith("is"));for(const r of e)t[r]=n[r]}}(e,n),Oi(e,n,"allowIn"),Oi(e,n,"allowContentOf"),Oi(e,n,"allowWhere"),Oi(e,n,"allowAttributes"),Oi(e,n,"allowAttributesOf"),Oi(e,n,"inheritTypesFrom"),function(e,t){for(const n of e){const e=n.inheritAllFrom;e&&(t.allowContentOf.push(e),t.allowWhere.push(e),t.allowAttributesOf.push(e),t.inheritTypesFrom.push(e))}}(e,n),n}function Ei(e,t){for(const n of e[t].allowContentOf)e[n]&&Ai(e,n).forEach(e=>{e.allowIn.push(t)});delete e[t].allowContentOf}function Si(e,t){for(const n of e[t].allowWhere){const r=e[n];if(r){const n=r.allowIn;e[t].allowIn.push(...n)}}delete e[t].allowWhere}function Di(e,t){for(const n of e[t].allowAttributesOf){const r=e[n];if(r){const n=r.allowAttributes;e[t].allowAttributes.push(...n)}}delete e[t].allowAttributesOf}function Li(e,t){const n=e[t];for(const t of n.inheritTypesFrom){const r=e[t];if(r){const e=Object.keys(r).filter(e=>e.startsWith("is"));for(const t of e)t in n||(n[t]=r[t])}}delete n.inheritTypesFrom}function Ci(e,t){const n=e[t],r=n.allowIn.filter(t=>e[t]);n.allowIn=Array.from(new Set(r))}function Pi(e,t){const n=e[t];n.allowAttributes=Array.from(new Set(n.allowAttributes))}function Oi(e,t,n){for(const r of e)"string"==typeof r[n]?t[n].push(r[n]):Array.isArray(r[n])&&t[n].push(...r[n])}function Ai(e,t){const n=e[t];return function(e){return Object.keys(e).map(t=>e[t])}(e).filter(e=>e.allowIn.includes(n.name))}function Ni(e){return"string"==typeof e?{name:e,*getAttributeKeys(){},getAttribute(){}}:{name:e.is("element")?e.name:"$text",*getAttributeKeys(){yield*e.getAttributeKeys()},getAttribute:t=>e.getAttribute(t)}}class Ii{constructor(e={}){this._splitParts=new Map,this._modelCursor=null,this.conversionApi=Object.assign({},e),this.conversionApi.convertItem=this._convertItem.bind(this),this.conversionApi.convertChildren=this._convertChildren.bind(this),this.conversionApi.splitToAllowedParent=this._splitToAllowedParent.bind(this),this.conversionApi.getSplitParts=this._getSplitParts.bind(this)}convert(e,t,n=["$root"]){this.fire("viewCleanup",e),this._modelCursor=function(e,t){let n;for(const r of new xi(e)){const e={};for(const t of r.getAttributeKeys())e[t]=r.getAttribute(t);const o=t.createElement(r.name,e);n&&t.append(o,n),n=Ho._createAt(o,0)}return n}(n,t),this.conversionApi.writer=t,this.conversionApi.consumable=wi.createFrom(e),this.conversionApi.store={};const{modelRange:r}=this._convertItem(e,this._modelCursor),o=t.createDocumentFragment();if(r){this._removeEmptyElements();for(const e of Array.from(this._modelCursor.parent.getChildren()))t.append(e,o);o.markers=function(e,t){const n=new Set,r=new Map,o=zo._createIn(e).getItems();for(const e of o)"$marker"==e.name&&n.add(e);for(const e of n){const n=e.getAttribute("data-name"),o=t.createPositionBefore(e);r.has(n)?r.get(n).end=o.clone():r.set(n,new zo(o.clone())),t.remove(e)}return r}(o,t)}return this._modelCursor=null,this._splitParts.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,o}_convertItem(e,t){const n=Object.assign({viewItem:e,modelCursor:t,modelRange:null});if(e.is("element")?this.fire("element:"+e.name,n,this.conversionApi):e.is("text")?this.fire("text",n,this.conversionApi):this.fire("documentFragment",n,this.conversionApi),n.modelRange&&!(n.modelRange instanceof zo))throw new _t.b("view-conversion-dispatcher-incorrect-result: Incorrect conversion result was dropped.",this);return{modelRange:n.modelRange,modelCursor:n.modelCursor}}_convertChildren(e,t){const n=new zo(t);let r=t;for(const t of Array.from(e.getChildren())){const e=this._convertItem(t,r);e.modelRange instanceof zo&&(n.end=e.modelRange.end,r=e.modelCursor)}return{modelRange:n,modelCursor:r}}_splitToAllowedParent(e,t){const n=this.conversionApi.schema.findAllowedParent(t,e);if(!n)return null;if(n===t.parent)return{position:t};if(this._modelCursor.parent.getAncestors().includes(n))return null;const r=this.conversionApi.writer.split(t,n),o=[];for(const e of r.range.getWalker())if("elementEnd"==e.type)o.push(e.item);else{const t=o.pop(),n=e.item;this._registerSplitPair(t,n)}return{position:r.position,cursorParent:r.range.end.parent}}_registerSplitPair(e,t){this._splitParts.has(e)||this._splitParts.set(e,[e]);const n=this._splitParts.get(e);this._splitParts.set(t,n),n.push(t)}_getSplitParts(e){return this._splitParts.has(e)?this._splitParts.get(e):[e]}_removeEmptyElements(){let e=!1;for(const t of this._splitParts.keys())t.isEmpty&&(this.conversionApi.writer.remove(t),this._splitParts.delete(t),e=!0);e&&this._removeEmptyElements()}}Ct(Ii,Mt);class Yi{constructor(e,t){this.model=e,this.processor=t,this.mapper=new Bo,this.downcastDispatcher=new Wo({mapper:this.mapper}),this.downcastDispatcher.on("insert:$text",(e,t,n)=>{if(!n.consumable.consume(t.item,"insert"))return;const r=n.writer,o=n.mapper.toViewPosition(t.range.start),i=r.createText(t.item.data);r.insert(o,i)},{priority:"lowest"}),this.upcastDispatcher=new Ii({schema:e.schema}),this.upcastDispatcher.on("text",(e,t,n)=>{if(n.schema.checkChild(t.modelCursor,"$text")&&n.consumable.consume(t.viewItem)){const e=n.writer.createText(t.viewItem.data);n.writer.insert(e,t.modelCursor),t.modelRange=zo._createFromPositionAndShift(t.modelCursor,e.offsetSize),t.modelCursor=t.modelRange.end}},{priority:"lowest"}),this.upcastDispatcher.on("element",(e,t,n)=>{if(!t.modelRange&&n.consumable.consume(t.viewItem,{name:!0})){const{modelRange:e,modelCursor:r}=n.convertChildren(t.viewItem,t.modelCursor);t.modelRange=e,t.modelCursor=r}},{priority:"lowest"}),this.upcastDispatcher.on("documentFragment",(e,t,n)=>{if(!t.modelRange&&n.consumable.consume(t.viewItem,{name:!0})){const{modelRange:e,modelCursor:r}=n.convertChildren(t.viewItem,t.modelCursor);t.modelRange=e,t.modelCursor=r}},{priority:"lowest"}),this.decorate("init"),this.on("init",()=>{this.fire("ready")},{priority:"lowest"})}get(e){const{rootName:t="main",trim:n="empty"}=e||{};if(!this._checkIfRootsExists([t]))throw new _t.b("datacontroller-get-non-existent-root: Attempting to get data from a non-existing root.",this);const r=this.model.document.getRoot(t);return"empty"!==n||this.model.hasContent(r,{ignoreWhitespaces:!0})?this.stringify(r):""}stringify(e){const t=this.toView(e);return this.processor.toData(t)}toView(e){this.mapper.clearBindings();const t=zo._createIn(e),n=new Vn,r=new Un(new Mn);if(this.mapper.bindElements(e,n),this.downcastDispatcher.convertInsert(t,r),!e.is("documentFragment")){const t=function(e){const t=[],n=e.root.document;if(!n)return[];const r=zo._createIn(e);for(const e of n.model.markers){const n=r.getIntersection(e.getRange());n&&t.push([e.name,n])}return t}(e);for(const[e,n]of t)this.downcastDispatcher.convertMarkerAdd(e,n,r)}return n}init(e){if(this.model.document.version)throw new _t.b("datacontroller-init-document-not-empty: Trying to set initial data to not empty document.",this);let t={};if("string"==typeof e?t.main=e:t=e,!this._checkIfRootsExists(Object.keys(t)))throw new _t.b("datacontroller-init-non-existent-root: Attempting to init data on a non-existing root.",this);return this.model.enqueueChange("transparent",e=>{for(const n of Object.keys(t)){const r=this.model.document.getRoot(n);e.insert(this.parse(t[n],r),r,0)}}),Promise.resolve()}set(e){let t={};if("string"==typeof e?t.main=e:t=e,!this._checkIfRootsExists(Object.keys(t)))throw new _t.b("datacontroller-set-non-existent-root: Attempting to set data on a non-existing root.",this);this.model.enqueueChange("transparent",e=>{e.setSelection(null),e.removeSelectionAttribute(this.model.document.selection.getAttributeKeys());for(const n of Object.keys(t)){const r=this.model.document.getRoot(n);e.remove(e.createRangeIn(r)),e.insert(this.parse(t[n],r),r,0)}})}parse(e,t="$root"){const n=this.processor.toView(e);return this.toModel(n,t)}toModel(e,t="$root"){return this.model.change(n=>this.upcastDispatcher.convert(e,n,t))}destroy(){this.stopListening()}_checkIfRootsExists(e){for(const t of e)if(!this.model.document.getRootNames().includes(t))return!1;return!0}}Ct(Yi,on);class Ri{constructor(e,t){this._helpers=new Map,this._downcast=Array.isArray(e)?e:[e],this._createConversionHelpers({name:"downcast",dispatchers:this._downcast,isDowncast:!0}),this._upcast=Array.isArray(t)?t:[t],this._createConversionHelpers({name:"upcast",dispatchers:this._upcast,isDowncast:!1})}addAlias(e,t){const n=this._downcast.includes(t);if(!this._upcast.includes(t)&&!n)throw new _t.b("conversion-add-alias-dispatcher-not-registered: Trying to register and alias for a dispatcher that nas not been registered.",this);this._createConversionHelpers({name:e,dispatchers:[t],isDowncast:n})}for(e){if(!this._helpers.has(e))throw new _t.b("conversion-for-unknown-group: Trying to add a converter to an unknown dispatchers group.",this);return this._helpers.get(e)}elementToElement(e){this.for("downcast").elementToElement(e);for(const{model:t,view:n}of ji(e))this.for("upcast").elementToElement({model:t,view:n,converterPriority:e.converterPriority})}attributeToElement(e){this.for("downcast").attributeToElement(e);for(const{model:t,view:n}of ji(e))this.for("upcast").elementToAttribute({view:n,model:t,converterPriority:e.converterPriority})}attributeToAttribute(e){this.for("downcast").attributeToAttribute(e);for(const{model:t,view:n}of ji(e))this.for("upcast").attributeToAttribute({view:n,model:t})}_createConversionHelpers({name:e,dispatchers:t,isDowncast:n}){if(this._helpers.has(e))throw new _t.b("conversion-group-exists: Trying to register a group name that has already been registered.",this);const r=n?new oi(t):new ui(t);this._helpers.set(e,r)}}function*ji(e){if(e.model.values)for(const t of e.model.values)yield*Fi({key:e.model.key,value:t},e.view[t],e.upcastAlso?e.upcastAlso[t]:void 0);else yield*Fi(e.model,e.view,e.upcastAlso)}function*Fi(e,t,n){if(yield{model:e,view:t},n){n=Array.isArray(n)?n:[n];for(const t of n)yield{model:e,view:t}}}class Hi{constructor(e="default"){this.operations=[],this.type=e}get baseVersion(){for(const e of this.operations)if(null!==e.baseVersion)return e.baseVersion;return null}addOperation(e){return e.batch=this,this.operations.push(e),e}}class zi{constructor(e){this.baseVersion=e,this.isDocumentOperation=null!==this.baseVersion,this.batch=null}_validate(){}toJSON(){const e=Object.assign({},this);return e.__className=this.constructor.className,delete e.batch,delete e.isDocumentOperation,e}static get className(){return"Operation"}static fromJSON(e){return new this(e.baseVersion)}}class Bi{constructor(e){this.markers=new Map,this._children=new Yo,e&&this._insertChild(0,e)}[Symbol.iterator](){return this.getChildren()}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}get root(){return this}get parent(){return null}is(e){return"documentFragment"==e||"model:documentFragment"==e}getChild(e){return this._children.getNode(e)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(e){return this._children.getNodeIndex(e)}getChildStartOffset(e){return this._children.getNodeStartOffset(e)}getPath(){return[]}getNodeByPath(e){let t=this;for(const n of e)t=t.getChild(t.offsetToIndex(n));return t}offsetToIndex(e){return this._children.offsetToIndex(e)}toJSON(){const e=[];for(const t of this._children)e.push(t.toJSON());return e}static fromJSON(e){const t=[];for(const n of e)n.name?t.push(Ro.fromJSON(n)):t.push(No.fromJSON(n));return new Bi(t)}_appendChild(e){this._insertChild(this.childCount,e)}_insertChild(e,t){const n=function(e){return"string"==typeof e?[new No(e)]:(Rt(e)||(e=[e]),Array.from(e).map(e=>"string"==typeof e?new No(e):e instanceof Io?new No(e.data,e.getAttributes()):e))}(t);for(const e of n)null!==e.parent&&e._remove(),e.parent=this;this._children._insertNodes(e,n)}_removeChildren(e,t=1){const n=this._children._removeNodes(e,t);for(const e of n)e.parent=null;return n}}function Vi(e,t){const n=(t=qi(t)).reduce((e,t)=>e+t.offsetSize,0),r=e.parent;Qi(e);const o=e.index;return r._insertChild(o,t),Gi(r,o+t.length),Gi(r,o),new zo(e,e.getShiftedBy(n))}function Ui(e){if(!e.isFlat)throw new _t.b("operation-utils-remove-range-not-flat: Trying to remove a range which starts and ends in different element.",this);const t=e.start.parent;Qi(e.start),Qi(e.end);const n=t._removeChildren(e.start.index,e.end.index-e.start.index);return Gi(t,e.start.index),n}function Wi(e,t){if(!e.isFlat)throw new _t.b("operation-utils-move-range-not-flat: Trying to move a range which starts and ends in different element.",this);const n=Ui(e);return Vi(t=t._getTransformedByDeletion(e.start,e.end.offset-e.start.offset),n)}function qi(e){const t=[];e instanceof Array||(e=[e]);for(let n=0;n<e.length;n++)if("string"==typeof e[n])t.push(new No(e[n]));else if(e[n]instanceof Io)t.push(new No(e[n].data,e[n].getAttributes()));else if(e[n]instanceof Bi||e[n]instanceof Yo)for(const r of e[n])t.push(r);else e[n]instanceof Ao&&t.push(e[n]);for(let e=1;e<t.length;e++){const n=t[e],r=t[e-1];n instanceof No&&r instanceof No&&Ji(n,r)&&(t.splice(e-1,2,new No(r.data+n.data,r.getAttributes())),e--)}return t}function Gi(e,t){const n=e.getChild(t-1),r=e.getChild(t);if(n&&r&&n.is("text")&&r.is("text")&&Ji(n,r)){const o=new No(n.data+r.data,n.getAttributes());e._removeChildren(t-1,2),e._insertChild(t-1,o)}}function Qi(e){const t=e.textNode,n=e.parent;if(t){const r=e.offset-t.startOffset,o=t.index;n._removeChildren(o,1);const i=new No(t.data.substr(0,r),t.getAttributes()),a=new No(t.data.substr(r),t.getAttributes());n._insertChild(o,[i,a])}}function Ji(e,t){const n=e.getAttributes(),r=t.getAttributes();for(const e of n){if(e[1]!==t.getAttribute(e[0]))return!1;r.next()}return r.next().done}var Ki=function(e,t){return qr(e,t)};class Xi extends zi{constructor(e,t,n,r,o){super(o),this.range=e.clone(),this.key=t,this.oldValue=void 0===n?null:n,this.newValue=void 0===r?null:r}get type(){return null===this.oldValue?"addAttribute":null===this.newValue?"removeAttribute":"changeAttribute"}clone(){return new Xi(this.range,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new Xi(this.range,this.key,this.newValue,this.oldValue,this.baseVersion+1)}toJSON(){const e=super.toJSON();return e.range=this.range.toJSON(),e}_validate(){if(!this.range.isFlat)throw new _t.b("attribute-operation-range-not-flat: The range to change is not flat.",this);for(const e of this.range.getItems({shallow:!0})){if(null!==this.oldValue&&!Ki(e.getAttribute(this.key),this.oldValue))throw new _t.b("attribute-operation-wrong-old-value: Changed node has different attribute value than operation's old attribute value.",this,{item:e,key:this.key,value:this.oldValue});if(null===this.oldValue&&null!==this.newValue&&e.hasAttribute(this.key))throw new _t.b("attribute-operation-attribute-exists: The attribute with given key already exists.",this,{node:e,key:this.key})}}_execute(){Ki(this.oldValue,this.newValue)||function(e,t,n){Qi(e.start),Qi(e.end);for(const r of e.getItems({shallow:!0})){const e=r.is("textProxy")?r.textNode:r;null!==n?e._setAttribute(t,n):e._removeAttribute(t),Gi(e.parent,e.index)}Gi(e.end.parent,e.end.index)}(this.range,this.key,this.newValue)}static get className(){return"AttributeOperation"}static fromJSON(e,t){return new Xi(zo.fromJSON(e.range,t),e.key,e.oldValue,e.newValue,e.baseVersion)}}class $i extends zi{constructor(e,t){super(null),this.sourcePosition=e.clone(),this.howMany=t}get type(){return"detach"}toJSON(){const e=super.toJSON();return e.sourcePosition=this.sourcePosition.toJSON(),e}_validate(){if(this.sourcePosition.root.document)throw new _t.b("detach-operation-on-document-node: Cannot detach document node.",this)}_execute(){Ui(zo._createFromPositionAndShift(this.sourcePosition,this.howMany))}static get className(){return"DetachOperation"}}class Zi extends zi{constructor(e,t,n,r){super(r),this.sourcePosition=e.clone(),this.sourcePosition.stickiness="toNext",this.howMany=t,this.targetPosition=n.clone(),this.targetPosition.stickiness="toNone"}get type(){return"$graveyard"==this.targetPosition.root.rootName?"remove":"$graveyard"==this.sourcePosition.root.rootName?"reinsert":"move"}clone(){return new this.constructor(this.sourcePosition,this.howMany,this.targetPosition,this.baseVersion)}getMovedRangeStart(){return this.targetPosition._getTransformedByDeletion(this.sourcePosition,this.howMany)}getReversed(){const e=this.sourcePosition._getTransformedByInsertion(this.targetPosition,this.howMany);return new this.constructor(this.getMovedRangeStart(),this.howMany,e,this.baseVersion+1)}_validate(){const e=this.sourcePosition.parent,t=this.targetPosition.parent,n=this.sourcePosition.offset,r=this.targetPosition.offset;if(n+this.howMany>e.maxOffset)throw new _t.b("move-operation-nodes-do-not-exist: The nodes which should be moved do not exist.",this);if(e===t&&n<r&&r<n+this.howMany)throw new _t.b("move-operation-range-into-itself: Trying to move a range of nodes to the inside of that range.",this);if(this.sourcePosition.root==this.targetPosition.root&&"prefix"==Pt(this.sourcePosition.getParentPath(),this.targetPosition.getParentPath())){const e=this.sourcePosition.path.length-1;if(this.targetPosition.path[e]>=n&&this.targetPosition.path[e]<n+this.howMany)throw new _t.b("move-operation-node-into-itself: Trying to move a range of nodes into one of nodes from that range.",this)}}_execute(){Wi(zo._createFromPositionAndShift(this.sourcePosition,this.howMany),this.targetPosition)}toJSON(){const e=super.toJSON();return e.sourcePosition=this.sourcePosition.toJSON(),e.targetPosition=this.targetPosition.toJSON(),e}static get className(){return"MoveOperation"}static fromJSON(e,t){const n=Ho.fromJSON(e.sourcePosition,t),r=Ho.fromJSON(e.targetPosition,t);return new this(n,e.howMany,r,e.baseVersion)}}class ea extends zi{constructor(e,t,n){super(n),this.position=e.clone(),this.position.stickiness="toNone",this.nodes=new Yo(qi(t)),this.shouldReceiveAttributes=!1}get type(){return"insert"}get howMany(){return this.nodes.maxOffset}clone(){const e=new Yo([...this.nodes].map(e=>e._clone(!0))),t=new ea(this.position,e,this.baseVersion);return t.shouldReceiveAttributes=this.shouldReceiveAttributes,t}getReversed(){const e=this.position.root.document.graveyard,t=new Ho(e,[0]);return new Zi(this.position,this.nodes.maxOffset,t,this.baseVersion+1)}_validate(){const e=this.position.parent;if(!e||e.maxOffset<this.position.offset)throw new _t.b("insert-operation-position-invalid: Insertion position is invalid.",this)}_execute(){const e=this.nodes;this.nodes=new Yo([...e].map(e=>e._clone(!0))),Vi(this.position,e)}toJSON(){const e=super.toJSON();return e.position=this.position.toJSON(),e.nodes=this.nodes.toJSON(),e}static get className(){return"InsertOperation"}static fromJSON(e,t){const n=[];for(const t of e.nodes)t.name?n.push(Ro.fromJSON(t)):n.push(No.fromJSON(t));const r=new ea(Ho.fromJSON(e.position,t),n,e.baseVersion);return r.shouldReceiveAttributes=e.shouldReceiveAttributes,r}}class ta extends zi{constructor(e,t,n,r,o,i){super(i),this.name=e,this.oldRange=t?t.clone():null,this.newRange=n?n.clone():null,this.affectsData=o,this._markers=r}get type(){return"marker"}clone(){return new ta(this.name,this.oldRange,this.newRange,this._markers,this.affectsData,this.baseVersion)}getReversed(){return new ta(this.name,this.newRange,this.oldRange,this._markers,this.affectsData,this.baseVersion+1)}_execute(){const e=this.newRange?"_set":"_remove";this._markers[e](this.name,this.newRange,!0,this.affectsData)}toJSON(){const e=super.toJSON();return this.oldRange&&(e.oldRange=this.oldRange.toJSON()),this.newRange&&(e.newRange=this.newRange.toJSON()),delete e._markers,e}static get className(){return"MarkerOperation"}static fromJSON(e,t){return new ta(e.name,e.oldRange?zo.fromJSON(e.oldRange,t):null,e.newRange?zo.fromJSON(e.newRange,t):null,t.model.markers,e.affectsData,e.baseVersion)}}class na extends zi{constructor(e,t,n,r){super(r),this.position=e,this.position.stickiness="toNext",this.oldName=t,this.newName=n}get type(){return"rename"}clone(){return new na(this.position.clone(),this.oldName,this.newName,this.baseVersion)}getReversed(){return new na(this.position.clone(),this.newName,this.oldName,this.baseVersion+1)}_validate(){const e=this.position.nodeAfter;if(!(e instanceof Ro))throw new _t.b("rename-operation-wrong-position: Given position is invalid or node after it is not an instance of Element.",this);if(e.name!==this.oldName)throw new _t.b("rename-operation-wrong-name: Element to change has different name than operation's old name.",this)}_execute(){this.position.nodeAfter.name=this.newName}toJSON(){const e=super.toJSON();return e.position=this.position.toJSON(),e}static get className(){return"RenameOperation"}static fromJSON(e,t){return new na(Ho.fromJSON(e.position,t),e.oldName,e.newName,e.baseVersion)}}class ra extends zi{constructor(e,t,n,r,o){super(o),this.root=e,this.key=t,this.oldValue=n,this.newValue=r}get type(){return null===this.oldValue?"addRootAttribute":null===this.newValue?"removeRootAttribute":"changeRootAttribute"}clone(){return new ra(this.root,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new ra(this.root,this.key,this.newValue,this.oldValue,this.baseVersion+1)}_validate(){if(this.root!=this.root.root||this.root.is("documentFragment"))throw new _t.b("rootattribute-operation-not-a-root: The element to change is not a root element.",this,{root:this.root,key:this.key});if(null!==this.oldValue&&this.root.getAttribute(this.key)!==this.oldValue)throw new _t.b("rootattribute-operation-wrong-old-value: Changed node has different attribute value than operation's old attribute value.",this,{root:this.root,key:this.key});if(null===this.oldValue&&null!==this.newValue&&this.root.hasAttribute(this.key))throw new _t.b("rootattribute-operation-attribute-exists: The attribute with given key already exists.",this,{root:this.root,key:this.key})}_execute(){null!==this.newValue?this.root._setAttribute(this.key,this.newValue):this.root._removeAttribute(this.key)}toJSON(){const e=super.toJSON();return e.root=this.root.toJSON(),e}static get className(){return"RootAttributeOperation"}static fromJSON(e,t){if(!t.getRoot(e.root))throw new _t.b("rootattribute-operation-fromjson-no-root: Cannot create RootAttributeOperation. Root with specified name does not exist.",this,{rootName:e.root});return new ra(t.getRoot(e.root),e.key,e.oldValue,e.newValue,e.baseVersion)}}class oa extends zi{constructor(e,t,n,r,o){super(o),this.sourcePosition=e.clone(),this.sourcePosition.stickiness="toPrevious",this.howMany=t,this.targetPosition=n.clone(),this.targetPosition.stickiness="toNext",this.graveyardPosition=r.clone()}get type(){return"merge"}get deletionPosition(){return new Ho(this.sourcePosition.root,this.sourcePosition.path.slice(0,-1))}get movedRange(){const e=this.sourcePosition.getShiftedBy(Number.POSITIVE_INFINITY);return new zo(this.sourcePosition,e)}clone(){return new this.constructor(this.sourcePosition,this.howMany,this.targetPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const e=this.targetPosition._getTransformedByMergeOperation(this),t=this.sourcePosition.path.slice(0,-1),n=new Ho(this.sourcePosition.root,t)._getTransformedByMergeOperation(this),r=new ia(e,this.howMany,this.graveyardPosition,this.baseVersion+1);return r.insertionPosition=n,r}_validate(){const e=this.sourcePosition.parent,t=this.targetPosition.parent;if(!e.parent)throw new _t.b("merge-operation-source-position-invalid: Merge source position is invalid.",this);if(!t.parent)throw new _t.b("merge-operation-target-position-invalid: Merge target position is invalid.",this);if(this.howMany!=e.maxOffset)throw new _t.b("merge-operation-how-many-invalid: Merge operation specifies wrong number of nodes to move.",this)}_execute(){const e=this.sourcePosition.parent;Wi(zo._createIn(e),this.targetPosition),Wi(zo._createOn(e),this.graveyardPosition)}toJSON(){const e=super.toJSON();return e.sourcePosition=e.sourcePosition.toJSON(),e.targetPosition=e.targetPosition.toJSON(),e.graveyardPosition=e.graveyardPosition.toJSON(),e}static get className(){return"MergeOperation"}static fromJSON(e,t){const n=Ho.fromJSON(e.sourcePosition,t),r=Ho.fromJSON(e.targetPosition,t),o=Ho.fromJSON(e.graveyardPosition,t);return new this(n,e.howMany,r,o,e.baseVersion)}}class ia extends zi{constructor(e,t,n,r){super(r),this.splitPosition=e.clone(),this.splitPosition.stickiness="toNext",this.howMany=t,this.insertionPosition=ia.getInsertionPosition(e),this.insertionPosition.stickiness="toNone",this.graveyardPosition=n?n.clone():null,this.graveyardPosition&&(this.graveyardPosition.stickiness="toNext")}get type(){return"split"}get moveTargetPosition(){const e=this.insertionPosition.path.slice();return e.push(0),new Ho(this.insertionPosition.root,e)}get movedRange(){const e=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new zo(this.splitPosition,e)}clone(){const e=new this.constructor(this.splitPosition,this.howMany,this.graveyardPosition,this.baseVersion);return e.insertionPosition=this.insertionPosition,e}getReversed(){const e=this.splitPosition.root.document.graveyard,t=new Ho(e,[0]);return new oa(this.moveTargetPosition,this.howMany,this.splitPosition,t,this.baseVersion+1)}_validate(){const e=this.splitPosition.parent,t=this.splitPosition.offset;if(!e||e.maxOffset<t)throw new _t.b("split-operation-position-invalid: Split position is invalid.",this);if(!e.parent)throw new _t.b("split-operation-split-in-root: Cannot split root element.",this);if(this.howMany!=e.maxOffset-this.splitPosition.offset)throw new _t.b("split-operation-how-many-invalid: Split operation specifies wrong number of nodes to move.",this);if(this.graveyardPosition&&!this.graveyardPosition.nodeAfter)throw new _t.b("split-operation-graveyard-position-invalid: Graveyard position invalid.",this)}_execute(){const e=this.splitPosition.parent;if(this.graveyardPosition)Wi(zo._createFromPositionAndShift(this.graveyardPosition,1),this.insertionPosition);else{const t=e._clone();Vi(this.insertionPosition,t)}Wi(new zo(Ho._createAt(e,this.splitPosition.offset),Ho._createAt(e,e.maxOffset)),this.moveTargetPosition)}toJSON(){const e=super.toJSON();return e.splitPosition=this.splitPosition.toJSON(),e.insertionPosition=this.insertionPosition.toJSON(),this.graveyardPosition&&(e.graveyardPosition=this.graveyardPosition.toJSON()),e}static get className(){return"SplitOperation"}static getInsertionPosition(e){const t=e.path.slice(0,-1);return t[t.length-1]++,new Ho(e.root,t)}static fromJSON(e,t){const n=Ho.fromJSON(e.splitPosition,t),r=Ho.fromJSON(e.insertionPosition,t),o=e.graveyardPosition?Ho.fromJSON(e.graveyardPosition,t):null,i=new this(n,e.howMany,o,e.baseVersion);return i.insertionPosition=r,i}}class aa extends Ro{constructor(e,t,n="main"){super(t),this._doc=e,this.rootName=n}get document(){return this._doc}is(e,t){const n=e.replace("model:","");return t?"rootElement"==n&&t==this.name||super.is(e,t):"rootElement"==n||super.is(e)}toJSON(){return this.rootName}}class sa{constructor(e,t){this.model=e,this.batch=t}createText(e,t){return new No(e,t)}createElement(e,t){return new Ro(e,t)}createDocumentFragment(){return new Bi}insert(e,t,n=0){if(this._assertWriterUsedCorrectly(),e instanceof No&&""==e.data)return;const r=Ho._createAt(t,n);if(e.parent){if(ha(e.root,r.root))return void this.move(zo._createOn(e),r);if(e.root.document)throw new _t.b("model-writer-insert-forbidden-move: Cannot move a node from a document to a different tree. It is forbidden to move a node that was already in a document outside of it.",this);this.remove(e)}const o=r.root.document?r.root.document.version:null,i=new ea(r,e,o);if(e instanceof No&&(i.shouldReceiveAttributes=!0),this.batch.addOperation(i),this.model.applyOperation(i),e instanceof Bi)for(const[t,n]of e.markers){const e=Ho._createAt(n.root,0),o={range:new zo(n.start._getCombined(e,r),n.end._getCombined(e,r)),usingOperation:!0,affectsData:!0};this.model.markers.has(t)?this.updateMarker(t,o):this.addMarker(t,o)}}insertText(e,t,n,r){t instanceof Bi||t instanceof Ro||t instanceof Ho?this.insert(this.createText(e),t,n):this.insert(this.createText(e,t),n,r)}insertElement(e,t,n,r){t instanceof Bi||t instanceof Ro||t instanceof Ho?this.insert(this.createElement(e),t,n):this.insert(this.createElement(e,t),n,r)}append(e,t){this.insert(e,t,"end")}appendText(e,t,n){t instanceof Bi||t instanceof Ro?this.insert(this.createText(e),t,"end"):this.insert(this.createText(e,t),n,"end")}appendElement(e,t,n){t instanceof Bi||t instanceof Ro?this.insert(this.createElement(e),t,"end"):this.insert(this.createElement(e,t),n,"end")}setAttribute(e,t,n){if(this._assertWriterUsedCorrectly(),n instanceof zo){const r=n.getMinimalFlatRanges();for(const n of r)la(this,e,t,n)}else ca(this,e,t,n)}setAttributes(e,t){for(const[n,r]of Oo(e))this.setAttribute(n,r,t)}removeAttribute(e,t){if(this._assertWriterUsedCorrectly(),t instanceof zo){const n=t.getMinimalFlatRanges();for(const t of n)la(this,e,null,t)}else ca(this,e,null,t)}clearAttributes(e){this._assertWriterUsedCorrectly();const t=e=>{for(const t of e.getAttributeKeys())this.removeAttribute(t,e)};if(e instanceof zo)for(const n of e.getItems())t(n);else t(e)}move(e,t,n){if(this._assertWriterUsedCorrectly(),!(e instanceof zo))throw new _t.b("writer-move-invalid-range: Invalid range to move.",this);if(!e.isFlat)throw new _t.b("writer-move-range-not-flat: Range to move is not flat.",this);const r=Ho._createAt(t,n);if(r.isEqual(e.start))return;if(this._addOperationForAffectedMarkers("move",e),!ha(e.root,r.root))throw new _t.b("writer-move-different-document: Range is going to be moved between different documents.",this);const o=e.root.document?e.root.document.version:null,i=new Zi(e.start,e.end.offset-e.start.offset,r,o);this.batch.addOperation(i),this.model.applyOperation(i)}remove(e){this._assertWriterUsedCorrectly();const t=(e instanceof zo?e:zo._createOn(e)).getMinimalFlatRanges().reverse();for(const e of t)this._addOperationForAffectedMarkers("move",e),da(e.start,e.end.offset-e.start.offset,this.batch,this.model)}merge(e){this._assertWriterUsedCorrectly();const t=e.nodeBefore,n=e.nodeAfter;if(this._addOperationForAffectedMarkers("merge",e),!(t instanceof Ro))throw new _t.b("writer-merge-no-element-before: Node before merge position must be an element.",this);if(!(n instanceof Ro))throw new _t.b("writer-merge-no-element-after: Node after merge position must be an element.",this);e.root.document?this._merge(e):this._mergeDetached(e)}createPositionFromPath(e,t,n){return this.model.createPositionFromPath(e,t,n)}createPositionAt(e,t){return this.model.createPositionAt(e,t)}createPositionAfter(e){return this.model.createPositionAfter(e)}createPositionBefore(e){return this.model.createPositionBefore(e)}createRange(e,t){return this.model.createRange(e,t)}createRangeIn(e){return this.model.createRangeIn(e)}createRangeOn(e){return this.model.createRangeOn(e)}createSelection(e,t,n){return this.model.createSelection(e,t,n)}_mergeDetached(e){const t=e.nodeBefore,n=e.nodeAfter;this.move(zo._createIn(n),Ho._createAt(t,"end")),this.remove(n)}_merge(e){const t=Ho._createAt(e.nodeBefore,"end"),n=Ho._createAt(e.nodeAfter,0),r=e.root.document.graveyard,o=new Ho(r,[0]),i=e.root.document.version,a=new oa(n,e.nodeAfter.maxOffset,t,o,i);this.batch.addOperation(a),this.model.applyOperation(a)}rename(e,t){if(this._assertWriterUsedCorrectly(),!(e instanceof Ro))throw new _t.b("writer-rename-not-element-instance: Trying to rename an object which is not an instance of Element.",this);const n=e.root.document?e.root.document.version:null,r=new na(Ho._createBefore(e),e.name,t,n);this.batch.addOperation(r),this.model.applyOperation(r)}split(e,t){this._assertWriterUsedCorrectly();let n,r,o=e.parent;if(!o.parent)throw new _t.b("writer-split-element-no-parent: Element with no parent can not be split.",this);if(t||(t=o.parent),!e.parent.getAncestors({includeSelf:!0}).includes(t))throw new _t.b("writer-split-invalid-limit-element: Limit element is not a position ancestor.",this);do{const t=o.root.document?o.root.document.version:null,i=o.maxOffset-e.offset,a=new ia(e,i,null,t);this.batch.addOperation(a),this.model.applyOperation(a),n||r||(n=o,r=e.parent.nextSibling),o=(e=this.createPositionAfter(e.parent)).parent}while(o!==t);return{position:e,range:new zo(Ho._createAt(n,"end"),Ho._createAt(r,0))}}wrap(e,t){if(this._assertWriterUsedCorrectly(),!e.isFlat)throw new _t.b("writer-wrap-range-not-flat: Range to wrap is not flat.",this);const n=t instanceof Ro?t:new Ro(t);if(n.childCount>0)throw new _t.b("writer-wrap-element-not-empty: Element to wrap with is not empty.",this);if(null!==n.parent)throw new _t.b("writer-wrap-element-attached: Element to wrap with is already attached to tree model.",this);this.insert(n,e.start);const r=new zo(e.start.getShiftedBy(1),e.end.getShiftedBy(1));this.move(r,Ho._createAt(n,0))}unwrap(e){if(this._assertWriterUsedCorrectly(),null===e.parent)throw new _t.b("writer-unwrap-element-no-parent: Trying to unwrap an element which has no parent.",this);this.move(zo._createIn(e),this.createPositionAfter(e)),this.remove(e)}addMarker(e,t){if(this._assertWriterUsedCorrectly(),!t||"boolean"!=typeof t.usingOperation)throw new _t.b("writer-addMarker-no-usingOperation: The options.usingOperation parameter is required when adding a new marker.",this);const n=t.usingOperation,r=t.range,o=void 0!==t.affectsData&&t.affectsData;if(this.model.markers.has(e))throw new _t.b("writer-addMarker-marker-exists: Marker with provided name already exists.",this);if(!r)throw new _t.b("writer-addMarker-no-range: Range parameter is required when adding a new marker.",this);return n?(ua(this,e,null,r,o),this.model.markers.get(e)):this.model.markers._set(e,r,n,o)}updateMarker(e,t){this._assertWriterUsedCorrectly();const n="string"==typeof e?e:e.name,r=this.model.markers.get(n);if(!r)throw new _t.b("writer-updateMarker-marker-not-exists: Marker with provided name does not exists.",this);if(!t)return void this.model.markers._refresh(r);const o="boolean"==typeof t.usingOperation,i="boolean"==typeof t.affectsData,a=i?t.affectsData:r.affectsData;if(!o&&!t.range&&!i)throw new _t.b("writer-updateMarker-wrong-options: One of the options is required - provide range, usingOperations or affectsData.",this);const s=r.getRange(),l=t.range?t.range:s;o&&t.usingOperation!==r.managedUsingOperations?t.usingOperation?ua(this,n,null,l,a):(ua(this,n,s,null,a),this.model.markers._set(n,l,void 0,a)):r.managedUsingOperations?ua(this,n,s,l,a):this.model.markers._set(n,l,void 0,a)}removeMarker(e){this._assertWriterUsedCorrectly();const t="string"==typeof e?e:e.name;if(!this.model.markers.has(t))throw new _t.b("writer-removeMarker-no-marker: Trying to remove marker which does not exist.",this);const n=this.model.markers.get(t);n.managedUsingOperations?ua(this,t,n.getRange(),null,n.affectsData):this.model.markers._remove(t)}setSelection(e,t,n){this._assertWriterUsedCorrectly(),this.model.document.selection._setTo(e,t,n)}setSelectionFocus(e,t){this._assertWriterUsedCorrectly(),this.model.document.selection._setFocus(e,t)}setSelectionAttribute(e,t){if(this._assertWriterUsedCorrectly(),"string"==typeof e)this._setSelectionAttribute(e,t);else for(const[t,n]of Oo(e))this._setSelectionAttribute(t,n)}removeSelectionAttribute(e){if(this._assertWriterUsedCorrectly(),"string"==typeof e)this._removeSelectionAttribute(e);else for(const t of e)this._removeSelectionAttribute(t)}overrideSelectionGravity(){return this.model.document.selection._overrideGravity()}restoreSelectionGravity(e){this.model.document.selection._restoreGravity(e)}_setSelectionAttribute(e,t){const n=this.model.document.selection;if(n.isCollapsed&&n.anchor.parent.isEmpty){const r=Zo._getStoreAttributeKey(e);this.setAttribute(r,t,n.anchor.parent)}n._setAttribute(e,t)}_removeSelectionAttribute(e){const t=this.model.document.selection;if(t.isCollapsed&&t.anchor.parent.isEmpty){const n=Zo._getStoreAttributeKey(e);this.removeAttribute(n,t.anchor.parent)}t._removeAttribute(e)}_assertWriterUsedCorrectly(){if(this.model._currentWriter!==this)throw new _t.b("writer-incorrect-use: Trying to use a writer outside the change() block.",this)}_addOperationForAffectedMarkers(e,t){for(const n of this.model.markers){if(!n.managedUsingOperations)continue;const r=n.getRange();let o=!1;if("move"==e)o=t.containsPosition(r.start)||t.start.isEqual(r.start)||t.containsPosition(r.end)||t.end.isEqual(r.end);else{const e=t.nodeBefore,n=t.nodeAfter,i=r.start.parent==e&&r.start.isAtEnd,a=r.end.parent==n&&0==r.end.offset,s=r.end.nodeAfter==n,l=r.start.nodeAfter==n;o=i||a||s||l}o&&this.updateMarker(n.name,{range:r})}}}function la(e,t,n,r){const o=e.model,i=o.document;let a,s,l,c=r.start;for(const e of r.getWalker({shallow:!0}))l=e.item.getAttribute(t),a&&s!=l&&(s!=n&&u(),c=a),a=e.nextPosition,s=l;function u(){const r=new zo(c,a),l=r.root.document?i.version:null,u=new Xi(r,t,s,n,l);e.batch.addOperation(u),o.applyOperation(u)}a instanceof Ho&&a!=c&&s!=n&&u()}function ca(e,t,n,r){const o=e.model,i=o.document,a=r.getAttribute(t);let s,l;if(a!=n){if(r.root===r){const e=r.document?i.version:null;l=new ra(r,t,a,n,e)}else{const o=(s=new zo(Ho._createBefore(r),e.createPositionAfter(r))).root.document?i.version:null;l=new Xi(s,t,a,n,o)}e.batch.addOperation(l),o.applyOperation(l)}}function ua(e,t,n,r,o){const i=e.model,a=i.document,s=new ta(t,n,r,i.markers,o,a.version);e.batch.addOperation(s),i.applyOperation(s)}function da(e,t,n,r){let o;if(e.root.document){const n=r.document,i=new Ho(n.graveyard,[0]);o=new Zi(e,t,i,n.version)}else o=new $i(e,t);n.addOperation(o),r.applyOperation(o)}function ha(e,t){return e===t||e instanceof aa&&t instanceof aa}class fa{constructor(e){this._markerCollection=e,this._changesInElement=new Map,this._elementSnapshots=new Map,this._changedMarkers=new Map,this._changeCount=0,this._cachedChanges=null,this._cachedChangesWithGraveyard=null}get isEmpty(){return 0==this._changesInElement.size&&0==this._changedMarkers.size}refreshItem(e){if(this._isInInsertedElement(e.parent))return;this._markRemove(e.parent,e.startOffset,e.offsetSize),this._markInsert(e.parent,e.startOffset,e.offsetSize);const t=zo._createOn(e);for(const e of this._markerCollection.getMarkersIntersectingRange(t)){const t=e.getRange();this.bufferMarkerChange(e.name,t,t,e.affectsData)}this._cachedChanges=null}bufferOperation(e){switch(e.type){case"insert":if(this._isInInsertedElement(e.position.parent))return;this._markInsert(e.position.parent,e.position.offset,e.nodes.maxOffset);break;case"addAttribute":case"removeAttribute":case"changeAttribute":for(const t of e.range.getItems({shallow:!0}))this._isInInsertedElement(t.parent)||this._markAttribute(t);break;case"remove":case"move":case"reinsert":{if(e.sourcePosition.isEqual(e.targetPosition)||e.sourcePosition.getShiftedBy(e.howMany).isEqual(e.targetPosition))return;const t=this._isInInsertedElement(e.sourcePosition.parent),n=this._isInInsertedElement(e.targetPosition.parent);t||this._markRemove(e.sourcePosition.parent,e.sourcePosition.offset,e.howMany),n||this._markInsert(e.targetPosition.parent,e.getMovedRangeStart().offset,e.howMany);break}case"rename":{if(this._isInInsertedElement(e.position.parent))return;this._markRemove(e.position.parent,e.position.offset,1),this._markInsert(e.position.parent,e.position.offset,1);const t=zo._createFromPositionAndShift(e.position,1);for(const e of this._markerCollection.getMarkersIntersectingRange(t)){const t=e.getRange();this.bufferMarkerChange(e.name,t,t,e.affectsData)}break}case"split":{const t=e.splitPosition.parent;this._isInInsertedElement(t)||this._markRemove(t,e.splitPosition.offset,e.howMany),this._isInInsertedElement(e.insertionPosition.parent)||this._markInsert(e.insertionPosition.parent,e.insertionPosition.offset,1),e.graveyardPosition&&this._markRemove(e.graveyardPosition.parent,e.graveyardPosition.offset,1);break}case"merge":{const t=e.sourcePosition.parent;this._isInInsertedElement(t.parent)||this._markRemove(t.parent,t.startOffset,1);const n=e.graveyardPosition.parent;this._markInsert(n,e.graveyardPosition.offset,1);const r=e.targetPosition.parent;this._isInInsertedElement(r)||this._markInsert(r,e.targetPosition.offset,t.maxOffset);break}}this._cachedChanges=null}bufferMarkerChange(e,t,n,r){const o=this._changedMarkers.get(e);o?(o.newRange=n,o.affectsData=r,null==o.oldRange&&null==o.newRange&&this._changedMarkers.delete(e)):this._changedMarkers.set(e,{oldRange:t,newRange:n,affectsData:r})}getMarkersToRemove(){const e=[];for(const[t,n]of this._changedMarkers)null!=n.oldRange&&e.push({name:t,range:n.oldRange});return e}getMarkersToAdd(){const e=[];for(const[t,n]of this._changedMarkers)null!=n.newRange&&e.push({name:t,range:n.newRange});return e}getChangedMarkers(){return Array.from(this._changedMarkers).map(e=>({name:e[0],data:{oldRange:e[1].oldRange,newRange:e[1].newRange}}))}hasDataChanges(){for(const[,e]of this._changedMarkers)if(e.affectsData)return!0;return this._changesInElement.size>0}getChanges(e={includeChangesInGraveyard:!1}){if(this._cachedChanges)return e.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice();const t=[];for(const e of this._changesInElement.keys()){const n=this._changesInElement.get(e).sort((e,t)=>e.offset===t.offset?e.type!=t.type?"remove"==e.type?-1:1:0:e.offset<t.offset?-1:1),r=this._elementSnapshots.get(e),o=pa(e.getChildren()),i=ma(r.length,n);let a=0,s=0;for(const n of i)if("i"===n)t.push(this._getInsertDiff(e,a,o[a].name)),a++;else if("r"===n)t.push(this._getRemoveDiff(e,a,r[s].name)),s++;else if("a"===n){const n=o[a].attributes,i=r[s].attributes;let l;if("$text"==o[a].name)l=new zo(Ho._createAt(e,a),Ho._createAt(e,a+1));else{const t=e.offsetToIndex(a);l=new zo(Ho._createAt(e,a),Ho._createAt(e.getChild(t),0))}t.push(...this._getAttributesDiff(l,i,n)),a++,s++}else a++,s++}t.sort((e,t)=>e.position.root!=t.position.root?e.position.root.rootName<t.position.root.rootName?-1:1:e.position.isEqual(t.position)?e.changeCount-t.changeCount:e.position.isBefore(t.position)?-1:1);for(let e=1;e<t.length;e++){const n=t[e-1],r=t[e],o="remove"==n.type&&"remove"==r.type&&"$text"==n.name&&"$text"==r.name&&n.position.isEqual(r.position),i="insert"==n.type&&"insert"==r.type&&"$text"==n.name&&"$text"==r.name&&n.position.parent==r.position.parent&&n.position.offset+n.length==r.position.offset,a="attribute"==n.type&&"attribute"==r.type&&n.position.parent==r.position.parent&&n.range.isFlat&&r.range.isFlat&&n.position.offset+n.length==r.position.offset&&n.attributeKey==r.attributeKey&&n.attributeOldValue==r.attributeOldValue&&n.attributeNewValue==r.attributeNewValue;(o||i||a)&&(t[e-1].length++,a&&(t[e-1].range.end=t[e-1].range.end.getShiftedBy(1)),t.splice(e,1),e--)}for(const e of t)delete e.changeCount,"attribute"==e.type&&(delete e.position,delete e.length);return this._changeCount=0,this._cachedChangesWithGraveyard=t.slice(),this._cachedChanges=t.slice().filter(ga),e.includeChangesInGraveyard?this._cachedChangesWithGraveyard:this._cachedChanges}reset(){this._changesInElement.clear(),this._elementSnapshots.clear(),this._changedMarkers.clear(),this._cachedChanges=null}_markInsert(e,t,n){const r={type:"insert",offset:t,howMany:n,count:this._changeCount++};this._markChange(e,r)}_markRemove(e,t,n){const r={type:"remove",offset:t,howMany:n,count:this._changeCount++};this._markChange(e,r),this._removeAllNestedChanges(e,t,n)}_markAttribute(e){const t={type:"attribute",offset:e.startOffset,howMany:e.offsetSize,count:this._changeCount++};this._markChange(e.parent,t)}_markChange(e,t){this._makeSnapshot(e);const n=this._getChangesForElement(e);this._handleChange(t,n),n.push(t);for(let e=0;e<n.length;e++)n[e].howMany<1&&(n.splice(e,1),e--)}_getChangesForElement(e){let t;return this._changesInElement.has(e)?t=this._changesInElement.get(e):(t=[],this._changesInElement.set(e,t)),t}_makeSnapshot(e){this._elementSnapshots.has(e)||this._elementSnapshots.set(e,pa(e.getChildren()))}_handleChange(e,t){e.nodesToHandle=e.howMany;for(const n of t){const r=e.offset+e.howMany,o=n.offset+n.howMany;if("insert"==e.type&&("insert"==n.type&&(e.offset<=n.offset?n.offset+=e.howMany:e.offset<o&&(n.howMany+=e.nodesToHandle,e.nodesToHandle=0)),"remove"==n.type&&e.offset<n.offset&&(n.offset+=e.howMany),"attribute"==n.type))if(e.offset<=n.offset)n.offset+=e.howMany;else if(e.offset<o){const o=n.howMany;n.howMany=e.offset-n.offset,t.unshift({type:"attribute",offset:r,howMany:o-n.howMany,count:this._changeCount++})}if("remove"==e.type){if("insert"==n.type)if(r<=n.offset)n.offset-=e.howMany;else if(r<=o)if(e.offset<n.offset){const t=r-n.offset;n.offset=e.offset,n.howMany-=t,e.nodesToHandle-=t}else n.howMany-=e.nodesToHandle,e.nodesToHandle=0;else if(e.offset<=n.offset)e.nodesToHandle-=n.howMany,n.howMany=0;else if(e.offset<o){const t=o-e.offset;n.howMany-=t,e.nodesToHandle-=t}if("remove"==n.type&&(r<=n.offset?n.offset-=e.howMany:e.offset<n.offset&&(e.nodesToHandle+=n.howMany,n.howMany=0)),"attribute"==n.type)if(r<=n.offset)n.offset-=e.howMany;else if(e.offset<n.offset){const t=r-n.offset;n.offset=e.offset,n.howMany-=t}else if(e.offset<o)if(r<=o){const r=n.howMany;n.howMany=e.offset-n.offset;const o=r-n.howMany-e.nodesToHandle;t.unshift({type:"attribute",offset:e.offset,howMany:o,count:this._changeCount++})}else n.howMany-=o-e.offset}if("attribute"==e.type){if("insert"==n.type)if(e.offset<n.offset&&r>n.offset){if(r>o){const e={type:"attribute",offset:o,howMany:r-o,count:this._changeCount++};this._handleChange(e,t),t.push(e)}e.nodesToHandle=n.offset-e.offset,e.howMany=e.nodesToHandle}else e.offset>=n.offset&&e.offset<o&&(r>o?(e.nodesToHandle=r-o,e.offset=o):e.nodesToHandle=0);if("remove"==n.type&&e.offset<n.offset&&r>n.offset){const o={type:"attribute",offset:n.offset,howMany:r-n.offset,count:this._changeCount++};this._handleChange(o,t),t.push(o),e.nodesToHandle=n.offset-e.offset,e.howMany=e.nodesToHandle}"attribute"==n.type&&(e.offset>=n.offset&&r<=o?(e.nodesToHandle=0,e.howMany=0,e.offset=0):e.offset<=n.offset&&r>=o&&(n.howMany=0))}}e.howMany=e.nodesToHandle,delete e.nodesToHandle}_getInsertDiff(e,t,n){return{type:"insert",position:Ho._createAt(e,t),name:n,length:1,changeCount:this._changeCount++}}_getRemoveDiff(e,t,n){return{type:"remove",position:Ho._createAt(e,t),name:n,length:1,changeCount:this._changeCount++}}_getAttributesDiff(e,t,n){const r=[];n=new Map(n);for(const[o,i]of t){const t=n.has(o)?n.get(o):null;t!==i&&r.push({type:"attribute",position:e.start,range:e.clone(),length:1,attributeKey:o,attributeOldValue:i,attributeNewValue:t,changeCount:this._changeCount++}),n.delete(o)}for(const[t,o]of n)r.push({type:"attribute",position:e.start,range:e.clone(),length:1,attributeKey:t,attributeOldValue:null,attributeNewValue:o,changeCount:this._changeCount++});return r}_isInInsertedElement(e){const t=e.parent;if(!t)return!1;const n=this._changesInElement.get(t),r=e.startOffset;if(n)for(const e of n)if("insert"==e.type&&r>=e.offset&&r<e.offset+e.howMany)return!0;return this._isInInsertedElement(t)}_removeAllNestedChanges(e,t,n){const r=new zo(Ho._createAt(e,t),Ho._createAt(e,t+n));for(const e of r.getItems({shallow:!0}))e.is("element")&&(this._elementSnapshots.delete(e),this._changesInElement.delete(e),this._removeAllNestedChanges(e,0,e.maxOffset))}}function pa(e){const t=[];for(const n of e)if(n.is("text"))for(let e=0;e<n.data.length;e++)t.push({name:"$text",attributes:new Map(n.getAttributes())});else t.push({name:n.name,attributes:new Map(n.getAttributes())});return t}function ma(e,t){const n=[];let r=0,o=0;for(const e of t){if(e.offset>r){for(let t=0;t<e.offset-r;t++)n.push("e");o+=e.offset-r}if("insert"==e.type){for(let t=0;t<e.howMany;t++)n.push("i");r=e.offset+e.howMany}else if("remove"==e.type){for(let t=0;t<e.howMany;t++)n.push("r");r=e.offset,o+=e.howMany}else n.push(..."a".repeat(e.howMany).split("")),r=e.offset+e.howMany,o+=e.howMany}if(o<e)for(let t=0;t<e-o-r;t++)n.push("e");return n}function ga(e){const t=e.position&&"$graveyard"==e.position.root.rootName,n=e.range&&"$graveyard"==e.range.root.rootName;return!t&&!n}class _a{constructor(){this._operations=[],this._undoPairs=new Map,this._undoneOperations=new Set}addOperation(e){this._operations.includes(e)||this._operations.push(e)}getOperations(e=0,t=Number.POSITIVE_INFINITY){return e<0?[]:this._operations.slice(e,t)}getOperation(e){return this._operations[e]}setOperationAsUndone(e,t){this._undoPairs.set(t,e),this._undoneOperations.add(e)}isUndoingOperation(e){return this._undoPairs.has(e)}isUndoneOperation(e){return this._undoneOperations.has(e)}getUndoneOperation(e){return this._undoPairs.get(e)}}function ba(e,t){return function(e){return!!e&&1==e.length&&/[\ud800-\udbff]/.test(e)}(e.charAt(t-1))&&function(e){return!!e&&1==e.length&&/[\udc00-\udfff]/.test(e)}(e.charAt(t))}function va(e,t){return function(e){return!!e&&1==e.length&&/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20d0-\u20ff\ufe20-\ufe2f]/.test(e)}(e.charAt(t))}const ya="$graveyard";class wa{constructor(e){this.model=e,this.version=0,this.history=new _a(this),this.selection=new Zo(this),this.roots=new kn({idProperty:"rootName"}),this.differ=new fa(e.markers),this._postFixers=new Set,this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot("$root",ya),this.listenTo(e,"applyOperation",(e,t)=>{const n=t[0];if(n.isDocumentOperation&&n.baseVersion!==this.version)throw new _t.b("model-document-applyOperation-wrong-version: Only operations with matching versions can be applied.",this,{operation:n})},{priority:"highest"}),this.listenTo(e,"applyOperation",(e,t)=>{const n=t[0];n.isDocumentOperation&&this.differ.bufferOperation(n)},{priority:"high"}),this.listenTo(e,"applyOperation",(e,t)=>{const n=t[0];n.isDocumentOperation&&(this.version++,this.history.addOperation(n))},{priority:"low"}),this.listenTo(this.selection,"change",()=>{this._hasSelectionChangedFromTheLastChangeBlock=!0}),this.listenTo(e.markers,"update",(e,t,n,r)=>{this.differ.bufferMarkerChange(t.name,n,r,t.affectsData),null===n&&t.on("change",(e,n)=>{this.differ.bufferMarkerChange(t.name,n,t.getRange(),t.affectsData)})})}get graveyard(){return this.getRoot(ya)}createRoot(e="$root",t="main"){if(this.roots.get(t))throw new _t.b("model-document-createRoot-name-exists: Root with specified name already exists.",this,{name:t});const n=new aa(this,e,t);return this.roots.add(n),n}destroy(){this.selection.destroy(),this.stopListening()}getRoot(e="main"){return this.roots.get(e)}getRootNames(){return Array.from(this.roots,e=>e.rootName).filter(e=>e!=ya)}registerPostFixer(e){this._postFixers.add(e)}toJSON(){const e=Ot(this);return e.selection="[engine.model.DocumentSelection]",e.model="[engine.model.Model]",e}_handleChangeBlock(e){this._hasDocumentChangedFromTheLastChangeBlock()&&(this._callPostFixers(e),this.selection.refresh(),this.differ.hasDataChanges()?this.fire("change:data",e.batch):this.fire("change",e.batch),this.selection.refresh(),this.differ.reset()),this._hasSelectionChangedFromTheLastChangeBlock=!1}_hasDocumentChangedFromTheLastChangeBlock(){return!this.differ.isEmpty||this._hasSelectionChangedFromTheLastChangeBlock}_getDefaultRoot(){for(const e of this.roots)if(e!==this.graveyard)return e;return this.graveyard}_getDefaultRange(){const e=this._getDefaultRoot(),t=this.model,n=t.schema,r=t.createPositionFromPath(e,[0]);return n.getNearestSelectionRange(r)||t.createRange(r)}_validateSelectionRange(e){return ka(e.start)&&ka(e.end)}_callPostFixers(e){let t=!1;do{for(const n of this._postFixers)if(this.selection.refresh(),t=n(e))break}while(t)}}function ka(e){const t=e.textNode;if(t){const n=t.data,r=e.offset-t.startOffset;return!ba(n,r)&&!va(n,r)}return!0}Ct(wa,Mt);class Ma{constructor(){this._markers=new Map}[Symbol.iterator](){return this._markers.values()}has(e){return this._markers.has(e)}get(e){return this._markers.get(e)||null}_set(e,t,n=!1,r=!1){const o=e instanceof xa?e.name:e,i=this._markers.get(o);if(i){const e=i.getRange();let a=!1;return e.isEqual(t)||(i._attachLiveRange(Xo.fromRange(t)),a=!0),n!=i.managedUsingOperations&&(i._managedUsingOperations=n,a=!0),"boolean"==typeof r&&r!=i.affectsData&&(i._affectsData=r,a=!0),a&&this.fire("update:"+o,i,e,t),i}const a=Xo.fromRange(t),s=new xa(o,a,n,r);return this._markers.set(o,s),this.fire("update:"+o,s,null,t),s}_remove(e){const t=e instanceof xa?e.name:e,n=this._markers.get(t);return!!n&&(this._markers.delete(t),this.fire("update:"+t,n,n.getRange(),null),this._destroyMarker(n),!0)}_refresh(e){const t=e instanceof xa?e.name:e,n=this._markers.get(t);if(!n)throw new _t.b("markercollection-refresh-marker-not-exists: Marker with provided name does not exists.",this);const r=n.getRange();this.fire("update:"+t,n,r,r,n.managedUsingOperations,n.affectsData)}*getMarkersAtPosition(e){for(const t of this)t.getRange().containsPosition(e)&&(yield t)}*getMarkersIntersectingRange(e){for(const t of this)null!==t.getRange().getIntersection(e)&&(yield t)}destroy(){for(const e of this._markers.values())this._destroyMarker(e);this._markers=null,this.stopListening()}*getMarkersGroup(e){for(const t of this._markers.values())t.name.startsWith(e+":")&&(yield t)}_destroyMarker(e){e.stopListening(),e._detachLiveRange()}}Ct(Ma,Mt);class xa{constructor(e,t,n,r){this.name=e,this._liveRange=this._attachLiveRange(t),this._managedUsingOperations=n,this._affectsData=r}get managedUsingOperations(){if(!this._liveRange)throw new _t.b("marker-destroyed: Cannot use a destroyed marker instance.",this);return this._managedUsingOperations}get affectsData(){if(!this._liveRange)throw new _t.b("marker-destroyed: Cannot use a destroyed marker instance.",this);return this._affectsData}getStart(){if(!this._liveRange)throw new _t.b("marker-destroyed: Cannot use a destroyed marker instance.",this);return this._liveRange.start.clone()}getEnd(){if(!this._liveRange)throw new _t.b("marker-destroyed: Cannot use a destroyed marker instance.",this);return this._liveRange.end.clone()}getRange(){if(!this._liveRange)throw new _t.b("marker-destroyed: Cannot use a destroyed marker instance.",this);return this._liveRange.toRange()}is(e){return"marker"==e||"model:marker"==e}_attachLiveRange(e){return this._liveRange&&this._detachLiveRange(),e.delegate("change:range").to(this),e.delegate("change:content").to(this),this._liveRange=e,e}_detachLiveRange(){this._liveRange.stopDelegating("change:range",this),this._liveRange.stopDelegating("change:content",this),this._liveRange.detach(),this._liveRange=null}}Ct(xa,Mt);class Ta extends Ho{constructor(e,t,n="toNone"){if(super(e,t,n),!this.root.is("rootElement"))throw new _t.b("model-liveposition-root-not-rootelement: LivePosition's root has to be an instance of RootElement.",e);(function(){this.listenTo(this.root.document.model,"applyOperation",(e,t)=>{const n=t[0];n.isDocumentOperation&&function(e){const t=this.getTransformedByOperation(e);if(!this.isEqual(t)){const e=this.toPosition();this.path=t.path,this.root=t.root,this.fire("change",e)}}.call(this,n)},{priority:"low"})}).call(this)}detach(){this.stopListening()}is(e){return"livePosition"==e||"model:livePosition"==e||super.is(e)}toPosition(){return new Ho(this.root,this.path.slice(),this.stickiness)}static fromPosition(e,t){return new this(e.root,e.path.slice(),t||e.stickiness)}}Ct(Ta,Mt);class Ea{constructor(e,t,n){this.model=e,this.writer=t,this.position=n,this.canMergeWith=new Set([this.position.parent]),this.schema=e.schema,this._filterAttributesOf=[],this._affectedStart=null,this._affectedEnd=null}handleNodes(e,t){e=Array.from(e);for(let n=0;n<e.length;n++){const r=e[n];this._handleNode(r,{isFirst:0===n&&t.isFirst,isLast:n===e.length-1&&t.isLast})}this.schema.removeDisallowedAttributes(this._filterAttributesOf,this.writer),this._filterAttributesOf=[]}getSelectionRange(){return this.nodeToSelect?zo._createOn(this.nodeToSelect):this.model.schema.getNearestSelectionRange(this.position)}getAffectedRange(){return this._affectedStart?new zo(this._affectedStart,this._affectedEnd):null}destroy(){this._affectedStart&&this._affectedStart.detach(),this._affectedEnd&&this._affectedEnd.detach()}_handleNode(e,t){this.schema.isObject(e)?this._handleObject(e,t):this._checkAndSplitToAllowedPosition(e,t)?(this._insert(e),this._mergeSiblingsOf(e,t)):this._handleDisallowedNode(e,t)}_handleObject(e,t){this._checkAndSplitToAllowedPosition(e)?this._insert(e):this._tryAutoparagraphing(e,t)}_handleDisallowedNode(e,t){e.is("element")?this.handleNodes(e.getChildren(),t):this._tryAutoparagraphing(e,t)}_insert(e){if(!this.schema.checkChild(this.position,e))throw new _t.b("insertcontent-wrong-position: Given node cannot be inserted on the given position.",this,{node:e,position:this.position});const t=Ta.fromPosition(this.position,"toNext");this._setAffectedBoundaries(this.position),this.writer.insert(e,this.position),this.position=t.toPosition(),t.detach(),this.schema.isObject(e)&&!this.schema.checkChild(this.position,"$text")?this.nodeToSelect=e:this.nodeToSelect=null,this._filterAttributesOf.push(e)}_setAffectedBoundaries(e){this._affectedStart||(this._affectedStart=Ta.fromPosition(e,"toPrevious")),this._affectedEnd&&!this._affectedEnd.isBefore(e)||(this._affectedEnd&&this._affectedEnd.detach(),this._affectedEnd=Ta.fromPosition(e,"toNext"))}_mergeSiblingsOf(e,t){if(!(e instanceof Ro))return;const n=this._canMergeLeft(e,t),r=this._canMergeRight(e,t),o=Ta._createBefore(e);o.stickiness="toNext";const i=Ta._createAfter(e);if(i.stickiness="toNext",n){const e=Ta.fromPosition(this.position);e.stickiness="toNext",this._affectedStart.isEqual(o)&&(this._affectedStart.detach(),this._affectedStart=Ta._createAt(o.nodeBefore,"end","toPrevious")),this.writer.merge(o),o.isEqual(this._affectedEnd)&&t.isLast&&(this._affectedEnd.detach(),this._affectedEnd=Ta._createAt(o.nodeBefore,"end","toNext")),this.position=e.toPosition(),e.detach()}if(r){if(!this.position.isEqual(i))throw new _t.b("insertcontent-invalid-insertion-position",this);this.position=Ho._createAt(i.nodeBefore,"end");const e=Ta.fromPosition(this.position,"toPrevious");this._affectedEnd.isEqual(i)&&(this._affectedEnd.detach(),this._affectedEnd=Ta._createAt(i.nodeBefore,"end","toNext")),this.writer.merge(i),i.getShiftedBy(-1).isEqual(this._affectedStart)&&t.isFirst&&(this._affectedStart.detach(),this._affectedStart=Ta._createAt(i.nodeBefore,0,"toPrevious")),this.position=e.toPosition(),e.detach()}(n||r)&&this._filterAttributesOf.push(this.position.parent),o.detach(),i.detach()}_canMergeLeft(e,t){const n=e.previousSibling;return t.isFirst&&n instanceof Ro&&this.canMergeWith.has(n)&&this.model.schema.checkMerge(n,e)}_canMergeRight(e,t){const n=e.nextSibling;return t.isLast&&n instanceof Ro&&this.canMergeWith.has(n)&&this.model.schema.checkMerge(e,n)}_tryAutoparagraphing(e,t){const n=this.writer.createElement("paragraph");this._getAllowedIn(n,this.position.parent)&&this.schema.checkChild(n,e)&&(n._appendChild(e),this._handleNode(n,t))}_checkAndSplitToAllowedPosition(e){const t=this._getAllowedIn(e,this.position.parent);if(!t)return!1;for(;t!=this.position.parent;){if(this.schema.isLimit(this.position.parent))return!1;if(this.position.isAtStart){const e=this.position.parent;this.position=this.writer.createPositionBefore(e),e.isEmpty&&e.parent===t&&this.writer.remove(e)}else if(this.position.isAtEnd)this.position=this.writer.createPositionAfter(this.position.parent);else{const e=this.writer.createPositionAfter(this.position.parent);this._setAffectedBoundaries(this.position),this.writer.split(this.position),this.position=e,this.canMergeWith.add(this.position.nodeAfter)}}return!0}_getAllowedIn(e,t){return this.schema.checkChild(t,e)?t:t.parent?this._getAllowedIn(e,t.parent):null}}function Sa(e,t,n){const r=e.createElement("paragraph");e.insert(r,t),Da(e,n,e.createPositionAt(r,0))}function Da(e,t,n){t instanceof Zo?e.setSelection(n):t.setTo(n)}const La=' ,.?!:;"-()';function Ca(e,t){if("text"==t.type)return"word"===e.unit?function(e,t){let n=e.position.textNode;if(n){let r=e.position.offset-n.startOffset;for(;!Pa(n.data,r,t)&&!Oa(n,r,t);){e.next();const o=t?e.position.nodeAfter:e.position.nodeBefore;if(o&&o.is("text")){const r=o.data.charAt(t?0:o.data.length-1);La.includes(r)||(e.next(),n=e.position.textNode)}r=e.position.offset-n.startOffset}}return e.position}(e.walker,e.isForward):function(e,t){const n=e.position.textNode;if(n){const r=n.data;let o=e.position.offset-n.startOffset;for(;ba(r,o)||"character"==t&&va(r,o);)e.next(),o=e.position.offset-n.startOffset}return e.position}(e.walker,e.unit,e.isForward);if(t.type==(e.isForward?"elementStart":"elementEnd")){if(e.schema.isObject(t.item))return Ho._createAt(t.item,e.isForward?"after":"before");if(e.schema.checkChild(t.nextPosition,"$text"))return t.nextPosition}else{if(e.schema.isLimit(t.item))return void e.walker.skip(()=>!0);if(e.schema.checkChild(t.nextPosition,"$text"))return t.nextPosition}}function Pa(e,t,n){const r=t+(n?0:-1);return La.includes(e.charAt(r))}function Oa(e,t,n){return t===(n?e.endOffset:0)}function Aa(e,t){const n=[];Array.from(e.getItems({direction:"backward"})).map(e=>t.createRangeOn(e)).filter(t=>(t.start.isAfter(e.start)||t.start.isEqual(e.start))&&(t.end.isBefore(e.end)||t.end.isEqual(e.end))).forEach(e=>{n.push(e.start.parent),t.remove(e)}),n.forEach(e=>{let n=e;for(;n.parent&&n.isEmpty;){const e=t.createRangeOn(n);n=n.parent,t.remove(e)}})}function Na(e,t){return e.isCollapsed?function(e,t){const n=e.start,r=t.getNearestSelectionRange(n);if(!r)return null;const o=r.start;return n.isEqual(o)?null:o.nodeAfter&&t.isLimit(o.nodeAfter)?new zo(o,Ho._createAfter(o.nodeAfter)):new zo(o)}(e,t):function(e,t){const n=e.start,r=e.end,o=t.checkChild(n,"$text"),i=t.checkChild(r,"$text"),a=t.getLimitElement(n),s=t.getLimitElement(r);if(a===s){if(o&&i)return null;if(function(e,t,n){const r=e.nodeAfter&&!n.isLimit(e.nodeAfter)||n.checkChild(e,"$text"),o=t.nodeBefore&&!n.isLimit(t.nodeBefore)||n.checkChild(t,"$text");return r||o}(n,r,t)){const e=n.nodeAfter&&t.isObject(n.nodeAfter)?null:t.getNearestSelectionRange(n,"forward"),o=r.nodeBefore&&t.isObject(r.nodeBefore)?null:t.getNearestSelectionRange(r,"backward"),i=e?e.start:n,a=o?o.start:r;return new zo(i,a)}}const l=a&&!a.is("rootElement"),c=s&&!s.is("rootElement");if(l||c){const e=n.nodeAfter&&r.nodeBefore&&n.nodeAfter.parent===r.nodeBefore.parent,o=l&&(!e||!Ya(n.nodeAfter,t)),i=c&&(!e||!Ya(r.nodeBefore,t));let u=n,d=r;return o&&(u=Ho._createBefore(Ia(a,t))),i&&(d=Ho._createAfter(Ia(s,t))),new zo(u,d)}return null}(e,t)}function Ia(e,t){let n=e,r=n;for(;t.isLimit(r)&&r.parent;)n=r,r=r.parent;return n}function Ya(e,t){return e&&t.isObject(e)}class Ra{constructor(){this.markers=new Ma,this.document=new wa(this),this.schema=new Mi,this._pendingChanges=[],this._currentWriter=null,["insertContent","deleteContent","modifySelection","getSelectedContent","applyOperation"].forEach(e=>this.decorate(e)),this.on("applyOperation",(e,t)=>{t[0]._validate()},{priority:"highest"}),this.schema.register("$root",{isLimit:!0}),this.schema.register("$block",{allowIn:"$root",isBlock:!0}),this.schema.register("$text",{allowIn:"$block",isInline:!0}),this.schema.register("$clipboardHolder",{allowContentOf:"$root",isLimit:!0}),this.schema.extend("$text",{allowIn:"$clipboardHolder"}),this.schema.register("$marker"),this.schema.addChildCheck((e,t)=>{if("$marker"===t.name)return!0}),function(e){e.document.registerPostFixer(t=>function(e,t){const n=t.document.selection,r=t.schema,o=[];let i=!1;for(const e of n.getRanges()){const t=Na(e,r);t?(o.push(t),i=!0):o.push(e)}if(i){let t=o;if(o.length>1){const e=o[0].start,n=o[o.length-1].end;t=[new zo(e,n)]}e.setSelection(t,{backward:n.isBackward})}}(t,e))}(this)}change(e){return 0===this._pendingChanges.length?(this._pendingChanges.push({batch:new Hi,callback:e}),this._runPendingChanges()[0]):e(this._currentWriter)}enqueueChange(e,t){"string"==typeof e?e=new Hi(e):"function"==typeof e&&(t=e,e=new Hi),this._pendingChanges.push({batch:e,callback:t}),1==this._pendingChanges.length&&this._runPendingChanges()}applyOperation(e){e._execute()}insertContent(e,t,n){return function(e,t,n,r){return e.change(o=>{let i;const a=(i=n?n instanceof Go||n instanceof Zo?n:o.createSelection(n,r):e.document.selection).getFirstPosition();i.isCollapsed||e.deleteContent(i,{doNotAutoparagraph:!0});const s=new Ea(e,o,a);let l;l=t.is("documentFragment")?t.getChildren():[t],s.handleNodes(l,{isFirst:!0,isLast:!0});const c=s.getSelectionRange();c&&(i instanceof Zo?o.setSelection(c):i.setTo(c));const u=s.getAffectedRange()||e.createRange(a);return s.destroy(),u})}(this,e,t,n)}deleteContent(e,t){!function(e,t,n={}){if(t.isCollapsed)return;const r=t.getFirstRange();if("$graveyard"==r.root.rootName)return;const o=e.schema;e.change(e=>{if(!n.doNotResetEntireContent&&function(e,t){const n=e.getLimitElement(t);if(!t.containsEntireContent(n))return!1;const r=t.getFirstRange();return r.start.parent!=r.end.parent&&e.checkChild(n,"paragraph")}(o,t))return void function(e,t){const n=e.model.schema.getLimitElement(t);e.remove(e.createRangeIn(n)),Sa(e,e.createPositionAt(n,0),t)}(e,t);const i=r.start,a=Ta.fromPosition(r.end,"toNext");if(r.start.isTouching(r.end)||e.remove(r),n.leaveUnmerged||(function e(t,n,r){const o=n.parent,i=r.parent;if(o!=i&&!t.model.schema.isLimit(o)&&!t.model.schema.isLimit(i)&&function(e,t,n){const r=new zo(e,t);for(const e of r.getWalker())if(n.isLimit(e.item))return!1;return!0}(n,r,t.model.schema)){for(n=t.createPositionAfter(o),(r=t.createPositionBefore(i)).isEqual(n)||t.insert(i,n),t.merge(n);r.parent.isEmpty;){const e=r.parent;r=t.createPositionBefore(e),t.remove(e)}e(t,n,r)}}(e,i,a),o.removeDisallowedAttributes(i.parent.getChildren(),e)),Da(e,t,i),function(e,t){const n=e.checkChild(t,"$text"),r=e.checkChild(t,"paragraph");return!n&&r}(o,i)){const r=o.getNearestSelectionRange(i);n.doNotAutoparagraph&&r?Da(e,t,r):Sa(e,i,t)}a.detach()})}(this,e,t)}modifySelection(e,t){!function(e,t,n={}){const r=e.schema,o="backward"!=n.direction,i=n.unit?n.unit:"character",a=t.focus,s=new jo({boundaries:function(e,t){const n=e.root,r=Ho._createAt(n,t?"end":0);return t?new zo(e,r):new zo(r,e)}(a,o),singleCharacters:!0,direction:o?"forward":"backward"}),l={walker:s,schema:r,isForward:o,unit:i};let c;for(;c=s.next();){if(c.done)return;const n=Ca(l,c.value);if(n)return void(t instanceof Zo?e.change(e=>{e.setSelectionFocus(n)}):t.setFocus(n))}}(this,e,t)}getSelectedContent(e){return function(e,t){return e.change(e=>{const n=e.createDocumentFragment(),r=t.getFirstRange();if(!r||r.isCollapsed)return n;const o=r.start.root,i=r.start.getCommonPath(r.end),a=o.getNodeByPath(i);let s;const l=(s=r.start.parent==r.end.parent?r:e.createRange(e.createPositionAt(a,r.start.path[i.length]),e.createPositionAt(a,r.end.path[i.length]+1))).end.offset-s.start.offset;for(const t of s.getItems({shallow:!0}))t.is("textProxy")?e.appendText(t.data,t.getAttributes(),n):e.append(t._clone(!0),n);if(s!=r){const t=r._getTransformedByMove(s.start,e.createPositionAt(n,0),l)[0],o=e.createRange(e.createPositionAt(n,0),t.start);Aa(e.createRange(t.end,e.createPositionAt(n,"end")),e),Aa(o,e)}return n})}(this,e)}hasContent(e,t){const n=e instanceof Ro?zo._createIn(e):e;if(n.isCollapsed)return!1;for(const e of this.markers.getMarkersIntersectingRange(n))if(e.affectsData)return!0;const{ignoreWhitespaces:r=!1}=t||{};for(const e of n.getItems())if(e.is("textProxy")){if(!r)return!0;if(-1!==e.data.search(/\S/))return!0}else if(this.schema.isObject(e))return!0;return!1}createPositionFromPath(e,t,n){return new Ho(e,t,n)}createPositionAt(e,t){return Ho._createAt(e,t)}createPositionAfter(e){return Ho._createAfter(e)}createPositionBefore(e){return Ho._createBefore(e)}createRange(e,t){return new zo(e,t)}createRangeIn(e){return zo._createIn(e)}createRangeOn(e){return zo._createOn(e)}createSelection(e,t,n){return new Go(e,t,n)}createBatch(e){return new Hi(e)}destroy(){this.document.destroy(),this.stopListening()}_runPendingChanges(){const e=[];for(this.fire("_beforeChanges");this._pendingChanges.length;){const t=this._pendingChanges[0].batch;this._currentWriter=new sa(this,t);const n=this._pendingChanges[0].callback(this._currentWriter);e.push(n),this.document._handleChangeBlock(this._currentWriter),this._pendingChanges.shift(),this._currentWriter=null}return this.fire("_afterChanges"),e}}Ct(Ra,on);class ja{constructor(){this._listener=Object.create(Sr)}listenTo(e){this._listener.listenTo(e,"keydown",(e,t)=>{this._listener.fire("_keydown:"+jn(t),t)})}set(e,t,n={}){const r=Fn(e),o=n.priority;this._listener.listenTo(this._listener,"_keydown:"+r,(e,n)=>{t(n,()=>{n.preventDefault(),n.stopPropagation(),e.stop()}),e.return=!0},{priority:o})}press(e){return!!this._listener.fire("_keydown:"+jn(e),e)}destroy(){this._listener.stopListening()}}class Fa extends ja{constructor(e){super(),this.editor=e}set(e,t,n={}){if("string"==typeof t){const e=t;t=(t,n)=>{this.editor.execute(e),n()}}super.set(e,t,n)}}class Ha{constructor(e){const t=this.constructor.builtinPlugins;this.config=new mt(e,this.constructor.defaultConfig),this.config.define("plugins",t),this.plugins=new gi(this,t),this.commands=new _i;const n=this.config.get("language")||{};this.locale=new vi({uiLanguage:"string"==typeof n?n:n.ui,contentLanguage:this.config.get("language.content")}),this.t=this.locale.t,this.set("state","initializing"),this.once("ready",()=>this.state="ready",{priority:"high"}),this.once("destroy",()=>this.state="destroyed",{priority:"high"}),this.set("isReadOnly",!1),this.model=new Ra,this.data=new Yi(this.model),this.editing=new mi(this.model),this.editing.view.document.bind("isReadOnly").to(this),this.conversion=new Ri([this.editing.downcastDispatcher,this.data.downcastDispatcher],this.data.upcastDispatcher),this.conversion.addAlias("dataDowncast",this.data.downcastDispatcher),this.conversion.addAlias("editingDowncast",this.editing.downcastDispatcher),this.keystrokes=new Fa(this),this.keystrokes.listenTo(this.editing.view.document)}initPlugins(){const e=this.config,t=e.get("plugins")||[],n=e.get("removePlugins")||[],r=e.get("extraPlugins")||[];return this.plugins.init(t.concat(r),n)}destroy(){let e=Promise.resolve();return"initializing"==this.state&&(e=new Promise(e=>this.once("ready",e))),e.then(()=>{this.fire("destroy"),this.stopListening(),this.commands.destroy()}).then(()=>this.plugins.destroy()).then(()=>{this.model.destroy(),this.data.destroy(),this.editing.destroy(),this.keystrokes.destroy()})}execute(...e){this.commands.execute(...e)}}Ct(Ha,on);var za={setData(e){this.data.set(e)},getData(e){return this.data.get(e)}},Ba={updateSourceElement(){if(!this.sourceElement)throw new _t.b("editor-missing-sourceelement: Cannot update the source element of a detached editor.",this);!function(e,t){e instanceof HTMLTextAreaElement&&(e.value=t),e.innerHTML=t}(this.sourceElement,this.data.get())}};class Va{getHtml(e){const t=document.implementation.createHTMLDocument("").createElement("div");return t.appendChild(e),t.innerHTML}}class Ua{constructor(){this._domParser=new DOMParser,this._domConverter=new Mr({blockFiller:nr}),this._htmlWriter=new Va}toData(e){const t=this._domConverter.viewToDom(e,document);return this._htmlWriter.getHtml(t)}toView(e){const t=this._toDom(e);return this._domConverter.domToView(t)}_toDom(e){const t=this._domParser.parseFromString(e,"text/html"),n=t.createDocumentFragment(),r=t.body.childNodes;for(;r.length>0;)n.appendChild(r[0]);return n}}class Wa{constructor(e){this.editor=e,this._components=new Map}*names(){for(const e of this._components.values())yield e.originalName}add(e,t){if(this.has(e))throw new _t.b("componentfactory-item-exists: The item already exists in the component factory.",this,{name:e});this._components.set(qa(e),{callback:t,originalName:e})}create(e){if(!this.has(e))throw new _t.b("componentfactory-item-missing: The required component is not registered in the factory.",this,{name:e});return this._components.get(qa(e)).callback(this.editor.locale)}has(e){return this._components.has(qa(e))}}function qa(e){return String(e).toLowerCase()}class Ga{constructor(){this.set("isFocused",!1),this.set("focusedElement",null),this._elements=new Set,this._nextEventLoopTimeout=null}add(e){if(this._elements.has(e))throw new _t.b("focusTracker-add-element-already-exist",this);this.listenTo(e,"focus",()=>this._focus(e),{useCapture:!0}),this.listenTo(e,"blur",()=>this._blur(),{useCapture:!0}),this._elements.add(e)}remove(e){e===this.focusedElement&&this._blur(e),this._elements.has(e)&&(this.stopListening(e),this._elements.delete(e))}destroy(){this.stopListening()}_focus(e){clearTimeout(this._nextEventLoopTimeout),this.focusedElement=e,this.isFocused=!0}_blur(){clearTimeout(this._nextEventLoopTimeout),this._nextEventLoopTimeout=setTimeout(()=>{this.focusedElement=null,this.isFocused=!1},0)}}Ct(Ga,Sr),Ct(Ga,on);class Qa{constructor(e){this.editor=e,this.componentFactory=new Wa(e),this.focusTracker=new Ga,this._editableElementsMap=new Map,this.listenTo(e.editing.view.document,"layoutChanged",()=>this.update())}get element(){return null}update(){this.fire("update")}destroy(){this.stopListening(),this.focusTracker.destroy();for(const e of this._editableElementsMap.values())e.ckeditorInstance=null;this._editableElementsMap=new Map}setEditableElement(e,t){this._editableElementsMap.set(e,t),t.ckeditorInstance||(t.ckeditorInstance=this.editor)}getEditableElement(e="main"){return this._editableElementsMap.get(e)}getEditableElementsNames(){return this._editableElementsMap.keys()}get _editableElements(){return console.warn("editor-ui-deprecated-editable-elements: The EditorUI#_editableElements property has been deprecated and will be removed in the near future.",{editorUI:this}),this._editableElementsMap}}Ct(Qa,Mt),n(14);const Ja=new WeakMap;function Ka(e){const{view:t,element:n,text:r,isDirectHost:o=!0}=e,i=t.document;Ja.has(i)||(Ja.set(i,new Map),i.registerPostFixer(e=>Xa(i,e))),Ja.get(i).set(n,{text:r,isDirectHost:o}),t.change(e=>Xa(i,e))}function Xa(e,t){const n=Ja.get(e);let r=!1;for(const[e,o]of n)$a(t,e,o)&&(r=!0);return r}function $a(e,t,n){const{text:r,isDirectHost:o}=n,i=o?t:function(e){if(1===e.childCount){const t=e.getChild(0);if(t.is("element")&&!t.is("uiElement"))return t}return null}(t);let a=!1;return!!i&&(n.hostElement=i,i.getAttribute("data-placeholder")!==r&&(e.setAttribute("data-placeholder",r,i),a=!0),function(e){const t=e.document;if(!t)return!1;const n=!Array.from(e.getChildren()).some(e=>!e.is("uiElement"));if(!t.isFocused&&n)return!0;const r=t.selection.anchor;return!(!n||!r||r.parent===e)}(i)?function(e,t){return!t.hasClass("ck-placeholder")&&(e.addClass("ck-placeholder",t),!0)}(e,i)&&(a=!0):function(e,t){return!!t.hasClass("ck-placeholder")&&(e.removeClass("ck-placeholder",t),!0)}(e,i)&&(a=!0),a)}class Za{constructor(){this._replacedElements=[]}replace(e,t){this._replacedElements.push({element:e,newElement:t}),e.style.display="none",t&&e.parentNode.insertBefore(t,e.nextSibling)}restore(){this._replacedElements.forEach(({element:e,newElement:t})=>{e.style.display="",t&&t.remove()}),this._replacedElements=[]}}class es extends Qa{constructor(e,t){super(e),this.view=t,this._toolbarConfig=function(e){return Array.isArray(e)?{items:e}:e?Object.assign({items:[]},e):{items:[]}}(e.config.get("toolbar")),this._elementReplacer=new Za}get element(){return this.view.element}init(e){const t=this.editor,n=this.view,r=t.editing.view,o=n.editable,i=r.document.getRoot();o.name=i.rootName,n.render();const a=o.element;this.setEditableElement(o.name,a),this.focusTracker.add(a),n.editable.bind("isFocused").to(this.focusTracker),r.attachDomRoot(a),e&&this._elementReplacer.replace(e,this.element),this._initPlaceholder(),this._initToolbar(),this.fire("ready")}destroy(){const e=this.view,t=this.editor.editing.view;this._elementReplacer.restore(),t.detachDomRoot(e.editable.name),e.destroy(),super.destroy()}_initToolbar(){const e=this.editor,t=this.view,n=e.editing.view;t.stickyPanel.bind("isActive").to(this.focusTracker,"isFocused"),t.stickyPanel.limiterElement=t.element,this._toolbarConfig.viewportTopOffset&&(t.stickyPanel.viewportTopOffset=this._toolbarConfig.viewportTopOffset),t.toolbar.fillFromConfig(this._toolbarConfig.items,this.componentFactory),function({origin:e,originKeystrokeHandler:t,originFocusTracker:n,toolbar:r,beforeFocus:o,afterBlur:i}){n.add(r.element),t.set("Alt+F10",(e,t)=>{n.isFocused&&!r.focusTracker.isFocused&&(o&&o(),r.focus(),t())}),r.keystrokes.set("Esc",(t,n)=>{r.focusTracker.isFocused&&(e.focus(),i&&i(),n())})}({origin:n,originFocusTracker:this.focusTracker,originKeystrokeHandler:e.keystrokes,toolbar:t.toolbar})}_initPlaceholder(){const e=this.editor,t=e.editing.view,n=t.document.getRoot(),r=e.sourceElement,o=e.config.get("placeholder")||r&&"textarea"===r.tagName.toLowerCase()&&r.getAttribute("placeholder");o&&Ka({view:t,element:n,text:o,isDirectHost:!1})}}class ts extends kn{constructor(e){super({idProperty:"viewUid"}),this.on("add",(e,t,n)=>{t.isRendered||t.render(),t.element&&this._parentElement&&this._parentElement.insertBefore(t.element,this._parentElement.children[n])}),this.on("remove",(e,t)=>{t.element&&this._parentElement&&t.element.remove()}),this.locale=e,this._parentElement=null}destroy(){this.map(e=>e.destroy())}setParent(e){this._parentElement=e}delegate(...e){if(!e.length||!function(e){return e.every(e=>"string"==typeof e)}(e))throw new _t.b("ui-viewcollection-delegate-wrong-events: All event names must be strings.",this);return{to:t=>{for(const n of this)for(const r of e)n.delegate(r).to(t);this.on("add",(n,r)=>{for(const n of e)r.delegate(n).to(t)}),this.on("remove",(n,r)=>{for(const n of e)r.stopDelegating(n,t)})}}}}class ns{constructor(e){Object.assign(this,ds(us(e))),this._isRendered=!1,this._revertData=null}render(){const e=this._renderNode({intoFragment:!0});return this._isRendered=!0,e}apply(e){return this._revertData={children:[],bindings:[],attributes:{}},this._renderNode({node:e,isApplying:!0,revertData:this._revertData}),e}revert(e){if(!this._revertData)throw new _t.b("ui-template-revert-not-applied: Attempting to revert a template which has not been applied yet.",[this,e]);this._revertTemplateFromNode(e,this._revertData)}*getViews(){yield*function*e(t){if(t.children)for(const n of t.children)gs(n)?yield n:_s(n)&&(yield*e(n))}(this)}static bind(e,t){return{to:(n,r)=>new os({eventNameOrFunction:n,attribute:n,observable:e,emitter:t,callback:r}),if:(n,r,o)=>new is({observable:e,emitter:t,attribute:n,valueIfTrue:r,callback:o})}}static extend(e,t){if(e._isRendered)throw new _t.b("template-extend-render: Attempting to extend a template which has already been rendered.",[this,e]);!function e(t,n){if(n.attributes&&(t.attributes||(t.attributes={}),ps(t.attributes,n.attributes)),n.eventListeners&&(t.eventListeners||(t.eventListeners={}),ps(t.eventListeners,n.eventListeners)),n.text&&t.text.push(...n.text),n.children&&n.children.length){if(t.children.length!=n.children.length)throw new _t.b("ui-template-extend-children-mismatch: The number of children in extended definition does not match.",t);let r=0;for(const o of n.children)e(t.children[r++],o)}}(e,ds(us(t)))}_renderNode(e){let t;if(t=e.node?this.tag&&this.text:this.tag?this.text:!this.text)throw new _t.b('ui-template-wrong-syntax: Node definition must have either "tag" or "text" when rendering a new Node.',this);return this.text?this._renderText(e):this._renderElement(e)}_renderElement(e){let t=e.node;return t||(t=e.node=document.createElementNS(this.ns||"http://www.w3.org/1999/xhtml",this.tag)),this._renderAttributes(e),this._renderElementChildren(e),this._setUpListeners(e),t}_renderText(e){let t=e.node;return t?e.revertData.text=t.textContent:t=e.node=document.createTextNode(""),as(this.text)?this._bindToObservable({schema:this.text,updater:function(e){return{set(t){e.textContent=t},remove(){e.textContent=""}}}(t),data:e}):t.textContent=this.text.join(""),t}_renderAttributes(e){let t,n,r,o;if(!this.attributes)return;const i=e.node,a=e.revertData;for(t in this.attributes)if(r=i.getAttribute(t),n=this.attributes[t],a&&(a.attributes[t]=r),o=E(n[0])&&n[0].ns?n[0].ns:null,as(n)){const s=o?n[0].value:n;a&&vs(t)&&s.unshift(r),this._bindToObservable({schema:s,updater:ls(i,t,o),data:e})}else"style"==t&&"string"!=typeof n[0]?this._renderStyleAttribute(n[0],e):(a&&r&&vs(t)&&n.unshift(r),ms(n=n.map(e=>e&&e.value||e).reduce((e,t)=>e.concat(t),[]).reduce(fs,""))||i.setAttributeNS(o,t,n))}_renderStyleAttribute(e,t){const n=t.node;for(const r in e){const o=e[r];as(o)?this._bindToObservable({schema:[o],updater:cs(n,r),data:t}):n.style[r]=o}}_renderElementChildren(e){const t=e.node,n=e.intoFragment?document.createDocumentFragment():t,r=e.isApplying;let o=0;for(const i of this.children)if(bs(i)){if(!r){i.setParent(t);for(const e of i)n.appendChild(e.element)}}else if(gs(i))r||(i.isRendered||i.render(),n.appendChild(i.element));else if(gr(i))n.appendChild(i);else if(r){const t={children:[],bindings:[],attributes:{}};e.revertData.children.push(t),i._renderNode({node:n.childNodes[o++],isApplying:!0,revertData:t})}else n.appendChild(i.render());e.intoFragment&&t.appendChild(n)}_setUpListeners(e){if(this.eventListeners)for(const t in this.eventListeners){const n=this.eventListeners[t].map(n=>{const[r,o]=t.split("@");return n.activateDomEventListener(r,o,e)});e.revertData&&e.revertData.bindings.push(n)}}_bindToObservable({schema:e,updater:t,data:n}){const r=n.revertData;ss(e,t,n);const o=e.filter(e=>!ms(e)).filter(e=>e.observable).map(r=>r.activateAttributeListener(e,t,n));r&&r.bindings.push(o)}_revertTemplateFromNode(e,t){for(const e of t.bindings)for(const t of e)t();if(t.text)e.textContent=t.text;else{for(const n in t.attributes){const r=t.attributes[n];null===r?e.removeAttribute(n):e.setAttribute(n,r)}for(let n=0;n<t.children.length;++n)this._revertTemplateFromNode(e.childNodes[n],t.children[n])}}}Ct(ns,Mt);class rs{constructor(e){Object.assign(this,e)}getValue(e){const t=this.observable[this.attribute];return this.callback?this.callback(t,e):t}activateAttributeListener(e,t,n){const r=()=>ss(e,t,n);return this.emitter.listenTo(this.observable,"change:"+this.attribute,r),()=>{this.emitter.stopListening(this.observable,"change:"+this.attribute,r)}}}class os extends rs{activateDomEventListener(e,t,n){const r=(e,n)=>{t&&!n.target.matches(t)||("function"==typeof this.eventNameOrFunction?this.eventNameOrFunction(n):this.observable.fire(this.eventNameOrFunction,n))};return this.emitter.listenTo(n.node,e,r),()=>{this.emitter.stopListening(n.node,e,r)}}}class is extends rs{getValue(e){return!ms(super.getValue(e))&&(this.valueIfTrue||!0)}}function as(e){return!!e&&(e.value&&(e=e.value),Array.isArray(e)?e.some(as):e instanceof rs)}function ss(e,t,{node:n}){let r=function(e,t){return e.map(e=>e instanceof rs?e.getValue(t):e)}(e,n);ms(r=1==e.length&&e[0]instanceof is?r[0]:r.reduce(fs,""))?t.remove():t.set(r)}function ls(e,t,n){return{set(r){e.setAttributeNS(n,t,r)},remove(){e.removeAttributeNS(n,t)}}}function cs(e,t){return{set(n){e.style[t]=n},remove(){e.style[t]=null}}}function us(e){return ft(e,e=>{if(e&&(e instanceof rs||_s(e)||gs(e)||bs(e)))return e})}function ds(e){if("string"==typeof e?e=function(e){return{text:[e]}}(e):e.text&&function(e){Array.isArray(e.text)||(e.text=[e.text])}(e),e.on&&(e.eventListeners=function(e){for(const t in e)hs(e,t);return e}(e.on),delete e.on),!e.text){e.attributes&&function(e){for(const t in e)e[t].value&&(e[t].value=[].concat(e[t].value)),hs(e,t)}(e.attributes);const t=[];if(e.children)if(bs(e.children))t.push(e.children);else for(const n of e.children)_s(n)||gs(n)||gr(n)?t.push(n):t.push(new ns(n));e.children=t}return e}function hs(e,t){Array.isArray(e[t])||(e[t]=[e[t]])}function fs(e,t){return ms(t)?e:ms(e)?t:`${e} ${t}`}function ps(e,t){for(const n in t)e[n]?e[n].push(...t[n]):e[n]=t[n]}function ms(e){return!e&&0!==e}function gs(e){return e instanceof ys}function _s(e){return e instanceof ns}function bs(e){return e instanceof ts}function vs(e){return"class"==e||"style"==e}n(16);class ys{constructor(e){this.element=null,this.isRendered=!1,this.locale=e,this.t=e&&e.t,this._viewCollections=new kn,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",(t,n)=>{n.locale=e}),this.decorate("render")}get bindTemplate(){return this._bindTemplate?this._bindTemplate:this._bindTemplate=ns.bind(this,this)}createCollection(){const e=new ts;return this._viewCollections.add(e),e}registerChild(e){Rt(e)||(e=[e]);for(const t of e)this._unboundChildren.add(t)}deregisterChild(e){Rt(e)||(e=[e]);for(const t of e)this._unboundChildren.remove(t)}setTemplate(e){this.template=new ns(e)}extendTemplate(e){ns.extend(this.template,e)}render(){if(this.isRendered)throw new _t.b("ui-view-render-already-rendered: This View has already been rendered.",this);this.template&&(this.element=this.template.render(),this.registerChild(this.template.getViews())),this.isRendered=!0}destroy(){this.stopListening(),this._viewCollections.map(e=>e.destroy()),this.template&&this.template._revertData&&this.template.revert(this.element)}}Ct(ys,Sr),Ct(ys,on),n(18);class ws extends ys{constructor(e){super(e),this.body=this.createCollection()}render(){super.render(),this._renderBodyCollection()}destroy(){return this._bodyCollectionContainer.remove(),super.destroy()}_renderBodyCollection(){const e=this.locale,t=this._bodyCollectionContainer=new ns({tag:"div",attributes:{class:["ck","ck-reset_all","ck-body","ck-rounded-corners"],dir:e.uiLanguageDirection},children:this.body}).render();document.body.appendChild(t)}}n(20);class ks extends ys{constructor(e){super(e),this.set("text"),this.set("for");const t=this.bindTemplate;this.setTemplate({tag:"label",attributes:{class:["ck","ck-label"],for:t.to("for")},children:[{text:t.to("text")}]})}}class Ms extends ws{constructor(e){super(e);const t=vt();this.top=this.createCollection(),this.main=this.createCollection(),this._voiceLabelView=this._createVoiceLabel(t),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-editor","ck-rounded-corners"],role:"application",dir:e.uiLanguageDirection,lang:e.uiLanguage,"aria-labelledby":"ck-editor__aria-label_"+t},children:[this._voiceLabelView,{tag:"div",attributes:{class:["ck","ck-editor__top","ck-reset_all"],role:"presentation"},children:this.top},{tag:"div",attributes:{class:["ck","ck-editor__main"],role:"presentation"},children:this.main}]})}_createVoiceLabel(e){const t=this.t,n=new ks;return n.text=t("bn"),n.extendTemplate({attributes:{id:"ck-editor__aria-label_"+e,class:"ck-voice-label"}}),n}}class xs extends ys{constructor(e,t,n){super(e),this.setTemplate({tag:"div",attributes:{class:["ck","ck-content","ck-editor__editable","ck-rounded-corners"],lang:e.contentLanguage,dir:e.contentLanguageDirection}}),this.name=null,this.set("isFocused",!1),this._editableElement=n,this._hasExternalElement=!!this._editableElement,this._editingView=t}render(){super.render(),this._hasExternalElement?this.template.apply(this.element=this._editableElement):this._editableElement=this.element,this.on("change:isFocused",()=>this._updateIsFocusedClasses()),this._updateIsFocusedClasses()}destroy(){this._hasExternalElement&&this.template.revert(this._editableElement),super.destroy()}_updateIsFocusedClasses(){const e=this._editingView;function t(t){e.change(n=>{const r=e.document.getRoot(t.name);n.addClass(t.isFocused?"ck-focused":"ck-blurred",r),n.removeClass(t.isFocused?"ck-blurred":"ck-focused",r)})}e.isRenderingInProgress?function n(r){e.once("change:isRenderingInProgress",(e,o,i)=>{i?n(r):t(r)})}(this):t(this)}}class Ts extends xs{constructor(e,t,n){super(e,t,n),this.extendTemplate({attributes:{role:"textbox",class:"ck-editor__editable_inline"}})}render(){super.render();const e=this._editingView,t=this.t;e.change(n=>{const r=e.document.getRoot(this.name);n.setAttribute("aria-label",t("bm",[this.name]),r)})}}function Es(e){return t=>t+e}n(22);const Ss=Es("px");class Ds extends ys{constructor(e){super(e);const t=this.bindTemplate;this.set("isActive",!1),this.set("isSticky",!1),this.set("limiterElement",null),this.set("limiterBottomOffset",50),this.set("viewportTopOffset",0),this.set("_marginLeft",null),this.set("_isStickyToTheLimiter",!1),this.set("_hasViewportTopOffset",!1),this.content=this.createCollection(),this._contentPanelPlaceholder=new ns({tag:"div",attributes:{class:["ck","ck-sticky-panel__placeholder"],style:{display:t.to("isSticky",e=>e?"block":"none"),height:t.to("isSticky",e=>e?Ss(this._panelRect.height):null)}}}).render(),this._contentPanel=new ns({tag:"div",attributes:{class:["ck","ck-sticky-panel__content",t.if("isSticky","ck-sticky-panel__content_sticky"),t.if("_isStickyToTheLimiter","ck-sticky-panel__content_sticky_bottom-limit")],style:{width:t.to("isSticky",e=>e?Ss(this._contentPanelPlaceholder.getBoundingClientRect().width):null),top:t.to("_hasViewportTopOffset",e=>e?Ss(this.viewportTopOffset):null),bottom:t.to("_isStickyToTheLimiter",e=>e?Ss(this.limiterBottomOffset):null),marginLeft:t.to("_marginLeft")}},children:this.content}).render(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-sticky-panel"]},children:[this._contentPanelPlaceholder,this._contentPanel]})}render(){super.render(),this._checkIfShouldBeSticky(),this.listenTo(yr.window,"scroll",()=>{this._checkIfShouldBeSticky()}),this.listenTo(this,"change:isActive",()=>{this._checkIfShouldBeSticky()})}_checkIfShouldBeSticky(){const e=this._panelRect=this._contentPanel.getBoundingClientRect();let t;this.limiterElement?(t=this._limiterRect=this.limiterElement.getBoundingClientRect(),this.isSticky=this.isActive&&t.top<this.viewportTopOffset&&this._panelRect.height+this.limiterBottomOffset<t.height):this.isSticky=!1,this.isSticky?(this._isStickyToTheLimiter=t.bottom<e.height+this.limiterBottomOffset+this.viewportTopOffset,this._hasViewportTopOffset=!this._isStickyToTheLimiter&&!!this.viewportTopOffset,this._marginLeft=this._isStickyToTheLimiter?null:Ss(-yr.window.scrollX)):(this._isStickyToTheLimiter=!1,this._hasViewportTopOffset=!1,this._marginLeft=null)}}class Ls{constructor(e){if(Object.assign(this,e),e.actions&&e.keystrokeHandler)for(const t in e.actions){let n=e.actions[t];"string"==typeof n&&(n=[n]);for(const r of n)e.keystrokeHandler.set(r,(e,n)=>{this[t](),n()})}}get first(){return this.focusables.find(Cs)||null}get last(){return this.focusables.filter(Cs).slice(-1)[0]||null}get next(){return this._getFocusableItem(1)}get previous(){return this._getFocusableItem(-1)}get current(){let e=null;return null===this.focusTracker.focusedElement?null:(this.focusables.find((t,n)=>{const r=t.element===this.focusTracker.focusedElement;return r&&(e=n),r}),e)}focusFirst(){this._focus(this.first)}focusLast(){this._focus(this.last)}focusNext(){this._focus(this.next)}focusPrevious(){this._focus(this.previous)}_focus(e){e&&e.focus()}_getFocusableItem(e){const t=this.current,n=this.focusables.length;if(!n)return null;if(null===t)return this[1===e?"first":"last"];let r=(t+n+e)%n;do{const t=this.focusables.get(r);if(Cs(t))return t;r=(r+n+e)%n}while(r!==t);return null}}function Cs(e){return!(!e.focus||"none"==yr.window.getComputedStyle(e.element).display)}class Ps extends ys{constructor(e){super(e),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__separator"]}})}}n(24);class Os extends ys{constructor(e){super(e);const t=this.bindTemplate,n=this.t;this.set("ariaLabel",n("bl")),this.items=this.createCollection(),this.focusTracker=new Ga,this.keystrokes=new ja,this.set("isVertical",!1),this.set("class"),this._focusCycler=new Ls({focusables:this.items,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:["arrowleft","arrowup"],focusNext:["arrowright","arrowdown"]}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar",t.if("isVertical","ck-toolbar_vertical"),t.to("class")],role:"toolbar","aria-label":t.to("ariaLabel")},children:this.items,on:{mousedown:function(e){return e.bindTemplate.to(t=>{t.target===e.element&&t.preventDefault()})}(this)}})}render(){super.render();for(const e of this.items)this.focusTracker.add(e.element);this.items.on("add",(e,t)=>{this.focusTracker.add(t.element)}),this.items.on("remove",(e,t)=>{this.focusTracker.remove(t.element)}),this.keystrokes.listenTo(this.element)}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}fillFromConfig(e,t){e.map(e=>{"|"==e?this.items.add(new Ps):t.has(e)?this.items.add(t.create(e)):console.warn(Object(_t.a)("toolbarview-item-unavailable: The requested toolbar item is unavailable."),{name:e})})}}n(26);class As extends Ms{constructor(e,t){super(e),this.stickyPanel=new Ds(e),this.toolbar=new Os(e),this.editable=new Ts(e,t)}render(){super.render(),this.stickyPanel.content.add(this.toolbar),this.top.add(this.stickyPanel),this.main.add(this.editable)}}class Ns extends Ha{constructor(e,t){super(t),pt(e)&&(this.sourceElement=e),this.data.processor=new Ua,this.model.document.createRoot(),this.ui=new es(this,new As(this.locale,this.editing.view)),function(e){if(!S(e.updateSourceElement))throw new _t.b("attachtoform-missing-elementapi-interface: Editor passed to attachToForm() must implement ElementApi.",e);const t=e.sourceElement;if(t&&"textarea"===t.tagName.toLowerCase()&&t.form){let n;const r=t.form,o=()=>e.updateSourceElement();S(r.submit)&&(n=r.submit,r.submit=()=>{o(),n.apply(r)}),r.addEventListener("submit",o),e.on("destroy",()=>{r.removeEventListener("submit",o),n&&(r.submit=n)})}}(this)}destroy(){return this.sourceElement&&this.updateSourceElement(),this.ui.destroy(),super.destroy()}static create(e,t={}){return new Promise(n=>{const r=new this(e,t);n(r.initPlugins().then(()=>r.ui.init(pt(e)?e:null)).then(()=>{if(!pt(e)&&t.initialData)throw new _t.b("editor-create-initial-data: The config.initialData option cannot be used together with initial data passed in Editor.create().",null);const n=t.initialData||function(e){return pt(e)?function(e){return e instanceof HTMLTextAreaElement?e.value:e.innerHTML}(e):e}(e);return r.data.init(n)}).then(()=>r.fire("ready")).then(()=>r))})}}Ct(Ns,za),Ct(Ns,Ba);class Is{constructor(e){this.editor=e}destroy(){this.stopListening()}}Ct(Is,on);class Ys{constructor(e){this.files=function(e){const t=e.files?Array.from(e.files):[],n=e.items?Array.from(e.items):[];return t.length?t:n.filter(e=>"file"===e.kind).map(e=>e.getAsFile())}(e),this._native=e}get types(){return this._native.types}getData(e){return this._native.getData(e)}setData(e,t){this._native.setData(e,t)}}class Rs extends Kr{constructor(e){super(e);const t=this.document;function n(e,n){n.preventDefault();const r=n.dropRange?[n.dropRange]:Array.from(t.selection.getRanges()),o=new bt(t,"clipboardInput");t.fire(o,{dataTransfer:n.dataTransfer,targetRanges:r}),o.stop.called&&n.stopPropagation()}this.domEventType=["paste","copy","cut","drop","dragover"],this.listenTo(t,"paste",n,{priority:"low"}),this.listenTo(t,"drop",n,{priority:"low"})}onDomEvent(e){const t={dataTransfer:new Ys(e.clipboardData?e.clipboardData:e.dataTransfer)};"drop"==e.type&&(t.dropRange=function(e,t){const n=t.target.ownerDocument,r=t.clientX,o=t.clientY;let i;return n.caretRangeFromPoint&&n.caretRangeFromPoint(r,o)?i=n.caretRangeFromPoint(r,o):t.rangeParent&&((i=n.createRange()).setStart(t.rangeParent,t.rangeOffset),i.collapse(!0)),i?e.domConverter.domRangeToView(i):e.document.selection.getFirstRange()}(this.view,e)),this.fire(e.type,e,t)}}const js=["figcaption","li"];class Fs extends Is{static get pluginName(){return"Clipboard"}init(){const e=this.editor,t=e.model.document,n=e.editing.view,r=n.document;function o(n,o){const i=o.dataTransfer;o.preventDefault();const a=e.data.toView(e.model.getSelectedContent(t.selection));r.fire("clipboardOutput",{dataTransfer:i,content:a,method:n.name})}this._htmlDataProcessor=new Ua,n.addObserver(Rs),this.listenTo(r,"clipboardInput",t=>{e.isReadOnly&&t.stop()},{priority:"highest"}),this.listenTo(r,"clipboardInput",(e,t)=>{const r=t.dataTransfer;let o="";r.getData("text/html")?o=function(e){return e.replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,(e,t)=>1==t.length?" ":t)}(r.getData("text/html")):r.getData("text/plain")&&(o=function(e){return(e=e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\n/g,"</p><p>").replace(/^\s/,"&nbsp;").replace(/\s$/,"&nbsp;").replace(/\s\s/g," &nbsp;")).indexOf("</p><p>")>-1&&(e=`<p>${e}</p>`),e}(r.getData("text/plain"))),o=this._htmlDataProcessor.toView(o),this.fire("inputTransformation",{content:o,dataTransfer:r}),n.scrollToTheSelection()},{priority:"low"}),this.listenTo(this,"inputTransformation",(e,t)=>{if(!t.content.isEmpty){const e=this.editor.data,n=this.editor.model,r=e.toModel(t.content,"$clipboardHolder");if(0==r.childCount)return;n.insertContent(r)}},{priority:"low"}),this.listenTo(r,"copy",o,{priority:"low"}),this.listenTo(r,"cut",(t,n)=>{e.isReadOnly?n.preventDefault():o(t,n)},{priority:"low"}),this.listenTo(r,"clipboardOutput",(n,r)=>{r.content.isEmpty||(r.dataTransfer.setData("text/html",this._htmlDataProcessor.toData(r.content)),r.dataTransfer.setData("text/plain",function e(t){let n="";if(t.is("text")||t.is("textProxy"))n=t.data;else if(t.is("img")&&t.hasAttribute("alt"))n=t.getAttribute("alt");else{let r=null;for(const o of t.getChildren()){const t=e(o);r&&(r.is("containerElement")||o.is("containerElement"))&&(js.includes(r.name)||js.includes(o.name)?n+="\n":n+="\n\n"),n+=t,r=o}}return n}(r.content))),"cut"==r.method&&e.model.deleteContent(t.selection)},{priority:"low"})}}class Hs{constructor(e){this.editor=e,this.set("value",void 0),this.set("isEnabled",!1),this._disableStack=new Set,this.decorate("execute"),this.listenTo(this.editor.model.document,"change",()=>{this.refresh()}),this.on("execute",e=>{this.isEnabled||e.stop()},{priority:"high"}),this.listenTo(e,"change:isReadOnly",(e,t,n)=>{n?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")})}refresh(){this.isEnabled=!0}forceDisabled(e){this._disableStack.add(e),1==this._disableStack.size&&(this.on("set:isEnabled",zs,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(e){this._disableStack.delete(e),0==this._disableStack.size&&(this.off("set:isEnabled",zs),this.refresh())}execute(){}destroy(){this.stopListening()}}function zs(e){e.return=!1,e.stop()}function*Bs(e,t){for(const n of t)n&&e.getAttributeProperties(n[0]).copyOnEnter&&(yield n)}Ct(Hs,on);class Vs extends Hs{execute(){const e=this.editor.model,t=e.document;e.change(n=>{!function(e,t,n,r){const o=n.isCollapsed,i=n.getFirstRange(),a=i.start.parent,s=i.end.parent;if(r.isLimit(a)||r.isLimit(s))o||a!=s||e.deleteContent(n);else if(o){const e=Bs(t.model.schema,n.getAttributes());Us(t,i.start),t.setSelectionAttribute(e)}else{const r=!(i.start.isAtStart&&i.end.isAtEnd),o=a==s;e.deleteContent(n,{leaveUnmerged:r}),r&&(o?Us(t,n.focus):t.setSelection(s,0))}}(this.editor.model,n,t.selection,e.schema),this.fire("afterExecute",{writer:n})})}}function Us(e,t){e.split(t),e.setSelection(t.parent.nextSibling,0)}class Ws extends Cr{constructor(e){super(e);const t=this.document;t.on("keydown",(e,n)=>{if(this.isEnabled&&n.keyCode==Rn.enter){let r;t.once("enter",e=>r=e,{priority:"highest"}),t.fire("enter",new Jr(t,n.domEvent,{isSoft:n.shiftKey})),r&&r.stop.called&&e.stop()}})}observe(){}}class qs extends Is{static get pluginName(){return"Enter"}init(){const e=this.editor,t=e.editing.view,n=t.document;t.addObserver(Ws),e.commands.add("enter",new Vs(e)),this.listenTo(n,"enter",(n,r)=>{r.preventDefault(),r.isSoft||(e.execute("enter"),t.scrollToTheSelection())},{priority:"low"})}}class Gs extends Hs{execute(){const e=this.editor.model,t=e.document;e.change(n=>{!function(e,t,n){const r=n.isCollapsed,o=n.getFirstRange(),i=o.start.parent,a=o.end.parent,s=i==a;if(r){const r=Bs(e.schema,n.getAttributes());Qs(t,o.end),t.removeSelectionAttribute(n.getAttributeKeys()),t.setSelectionAttribute(r)}else{const r=!(o.start.isAtStart&&o.end.isAtEnd);e.deleteContent(n,{leaveUnmerged:r}),s?Qs(t,n.focus):r&&t.setSelection(a,0)}}(e,n,t.selection),this.fire("afterExecute",{writer:n})})}refresh(){const e=this.editor.model,t=e.document;this.isEnabled=function(e,t){if(t.rangeCount>1)return!1;const n=t.anchor;if(!n||!e.checkChild(n,"softBreak"))return!1;const r=t.getFirstRange(),o=r.start.parent,i=r.end.parent;return!Js(o,e)&&!Js(i,e)||o===i}(e.schema,t.selection)}}function Qs(e,t){const n=e.createElement("softBreak");e.insert(n,t),e.setSelection(n,"after")}function Js(e,t){return!e.is("rootElement")&&(t.isLimit(e)||Js(e.parent,t))}class Ks extends Is{static get pluginName(){return"ShiftEnter"}init(){const e=this.editor,t=e.model.schema,n=e.conversion,r=e.editing.view,o=r.document;t.register("softBreak",{allowWhere:"$text",isInline:!0}),n.for("upcast").elementToElement({model:"softBreak",view:"br"}),n.for("downcast").elementToElement({model:"softBreak",view:(e,t)=>t.createEmptyElement("br")}),r.addObserver(Ws),e.commands.add("shiftEnter",new Gs(e)),this.listenTo(o,"enter",(t,n)=>{n.preventDefault(),n.isSoft&&(e.execute("shiftEnter"),r.scrollToTheSelection())},{priority:"low"})}}class Xs{constructor(e,t=20){this.model=e,this.size=0,this.limit=t,this.isLocked=!1,this._changeCallback=(e,t)=>{"transparent"!=t.type&&t!==this._batch&&this._reset(!0)},this._selectionChangeCallback=()=>{this._reset()},this.model.document.on("change",this._changeCallback),this.model.document.selection.on("change:range",this._selectionChangeCallback),this.model.document.selection.on("change:attribute",this._selectionChangeCallback)}get batch(){return this._batch||(this._batch=this.model.createBatch()),this._batch}input(e){this.size+=e,this.size>=this.limit&&this._reset(!0)}lock(){this.isLocked=!0}unlock(){this.isLocked=!1}destroy(){this.model.document.off("change",this._changeCallback),this.model.document.selection.off("change:range",this._selectionChangeCallback),this.model.document.selection.off("change:attribute",this._selectionChangeCallback)}_reset(e){this.isLocked&&!e||(this._batch=null,this.size=0)}}class $s extends Hs{constructor(e,t){super(e),this._buffer=new Xs(e.model,t),this._batches=new WeakSet}get buffer(){return this._buffer}destroy(){super.destroy(),this._buffer.destroy()}execute(e={}){const t=this.editor.model,n=t.document,r=e.text||"",o=r.length,i=e.range||n.selection.getFirstRange(),a=e.resultRange;t.enqueueChange(this._buffer.batch,e=>{const s=i.isCollapsed;this._buffer.lock(),t.deleteContent(t.createSelection(i)),r&&t.insertContent(e.createText(r,n.selection.getAttributes()),i.start),a?e.setSelection(a):s&&e.setSelection(i.start.getShiftedBy(o)),this._buffer.unlock(),this._buffer.input(o),this._batches.add(this._buffer.batch)})}}const Zs=[jn("arrowUp"),jn("arrowRight"),jn("arrowDown"),jn("arrowLeft"),9,16,17,18,19,20,27,33,34,35,36,45,91,93,144,145,173,174,175,176,177,178,179,255];for(let e=112;e<=135;e++)Zs.push(e);function el(e){if(e.newChildren.length-e.oldChildren.length!=1)return;const t=function(e,t){const n=[];let r,o=0;return e.forEach(e=>{"equal"==e?(i(),o++):"insert"==e?(a("insert")?r.values.push(t[o]):(i(),r={type:"insert",index:o,values:[t[o]]}),o++):a("delete")?r.howMany++:(i(),r={type:"delete",index:o,howMany:1})}),i(),n;function i(){r&&(n.push(r),r=null)}function a(e){return r&&r.type==e}}(fr(e.oldChildren,e.newChildren,tl),e.newChildren);if(t.length>1)return;const n=t[0];return n.values[0]&&n.values[0].is("text")?n:void 0}function tl(e,t){return e&&e.is("text")&&t&&t.is("text")?e.data===t.data:e===t}class nl{constructor(e){this.editor=e,this.editing=this.editor.editing}handle(e,t){if(function(e){if(0==e.length)return!1;for(const t of e)if("children"===t.type&&!el(t))return!0;return!1}(e))this._handleContainerChildrenMutations(e,t);else for(const n of e)this._handleTextMutation(n,t),this._handleTextNodeInsertion(n)}_handleContainerChildrenMutations(e,t){const n=function(e){const t=e.map(e=>e.node).reduce((e,t)=>e.getCommonAncestor(t,{includeSelf:!0}));if(t)return t.getAncestors({includeSelf:!0,parentFirst:!0}).find(e=>e.is("containerElement")||e.is("rootElement"))}(e);if(!n)return;const r=this.editor.editing.view.domConverter.mapViewToDom(n),o=new Mr,i=this.editor.data.toModel(o.domToView(r)).getChild(0),a=this.editor.editing.mapper.toModelElement(n);if(!a)return;const s=Array.from(i.getChildren()),l=Array.from(a.getChildren()),c=s[s.length-1],u=l[l.length-1];c&&c.is("softBreak")&&u&&!u.is("softBreak")&&s.pop();const d=this.editor.model.schema;if(!rl(s,d)||!rl(l,d))return;const h=s.map(e=>e.is("text")?e.data:"@").join("").replace(/\u00A0/g," "),f=l.map(e=>e.is("text")?e.data:"@").join("").replace(/\u00A0/g," ");if(f===h)return;const p=fr(f,h),{firstChangeAt:m,insertions:g,deletions:_}=ol(p);let b=null;t&&(b=this.editing.mapper.toModelRange(t.getFirstRange()));const v=h.substr(m,g),y=this.editor.model.createRange(this.editor.model.createPositionAt(a,m),this.editor.model.createPositionAt(a,m+_));this.editor.execute("input",{text:v,range:y,resultRange:b})}_handleTextMutation(e,t){if("text"!=e.type)return;const n=e.newText.replace(/\u00A0/g," "),r=e.oldText.replace(/\u00A0/g," ");if(r===n)return;const o=fr(r,n),{firstChangeAt:i,insertions:a,deletions:s}=ol(o);let l=null;t&&(l=this.editing.mapper.toModelRange(t.getFirstRange()));const c=this.editing.view.createPositionAt(e.node,i),u=this.editing.mapper.toModelPosition(c),d=this.editor.model.createRange(u,u.getShiftedBy(s)),h=n.substr(i,a);this.editor.execute("input",{text:h,range:d,resultRange:l})}_handleTextNodeInsertion(e){if("children"!=e.type)return;const t=el(e),n=this.editing.view.createPositionAt(e.node,t.index),r=this.editing.mapper.toModelPosition(n),o=t.values[0].data;this.editor.execute("input",{text:o.replace(/\u00A0/g," "),range:this.editor.model.createRange(r)})}}function rl(e,t){return e.every(e=>t.isInline(e))}function ol(e){let t=null,n=null;for(let r=0;r<e.length;r++)"equal"!=e[r]&&(t=null===t?r:t,n=r);let r=0,o=0;for(let i=t;i<=n;i++)"insert"!=e[i]&&r++,"delete"!=e[i]&&o++;return{insertions:o,deletions:r,firstChangeAt:t}}class il extends Is{static get pluginName(){return"Input"}init(){const e=this.editor,t=new $s(e,e.config.get("typing.undoStep")||20);e.commands.add("input",t),function(e){let t=null;const n=e.model,r=e.editing.view,o=e.commands.get("input");function i(e){const i=n.document,s=r.document.isComposing,l=t&&t.isEqual(i.selection);t=null,o.isEnabled&&(function(e){return!!e.ctrlKey||Zs.includes(e.keyCode)}(e)||i.selection.isCollapsed||s&&229===e.keyCode||!s&&229===e.keyCode&&l||a())}function a(){const e=o.buffer;e.lock(),n.enqueueChange(e.batch,()=>{n.deleteContent(n.document.selection)}),e.unlock()}Nn?r.document.on("beforeinput",(e,t)=>i(t),{priority:"lowest"}):r.document.on("keydown",(e,t)=>i(t),{priority:"lowest"}),r.document.on("compositionstart",(function(){const e=n.document,t=1!==e.selection.rangeCount||e.selection.getFirstRange().isFlat;e.selection.isCollapsed||t||a()}),{priority:"lowest"}),r.document.on("compositionend",()=>{t=n.createSelection(n.document.selection)},{priority:"lowest"})}(e),function(e){e.editing.view.document.on("mutations",(t,n,r)=>{new nl(e).handle(n,r)})}(e)}isInput(e){return this.editor.commands.get("input")._batches.has(e)}}class al extends Hs{constructor(e,t){super(e),this.direction=t,this._buffer=new Xs(e.model,e.config.get("typing.undoStep"))}get buffer(){return this._buffer}execute(e={}){const t=this.editor.model,n=t.document;t.enqueueChange(this._buffer.batch,r=>{this._buffer.lock();const o=r.createSelection(e.selection||n.selection),i=o.isCollapsed;if(o.isCollapsed&&t.modifySelection(o,{direction:this.direction,unit:e.unit}),this._shouldEntireContentBeReplacedWithParagraph(e.sequence||1))return void this._replaceEntireContentWithParagraph(r);if(o.isCollapsed)return;let a=0;o.getFirstRange().getMinimalFlatRanges().forEach(e=>{a+=vn(e.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}))}),t.deleteContent(o,{doNotResetEntireContent:i}),this._buffer.input(a),r.setSelection(o),this._buffer.unlock()})}_shouldEntireContentBeReplacedWithParagraph(e){if(e>1)return!1;const t=this.editor.model,n=t.document.selection,r=t.schema.getLimitElement(n);if(!n.isCollapsed||!n.containsEntireContent(r))return!1;if(!t.schema.checkChild(r,"paragraph"))return!1;const o=r.getChild(0);return!o||"paragraph"!==o.name}_replaceEntireContentWithParagraph(e){const t=this.editor.model,n=t.document.selection,r=t.schema.getLimitElement(n),o=e.createElement("paragraph");e.remove(e.createRangeIn(r)),e.insert(o,r),e.setSelection(o,0)}}class sl extends Cr{constructor(e){super(e);const t=e.document;let n=0;function r(e,n,r){let o;t.once("delete",e=>o=e,{priority:Number.POSITIVE_INFINITY}),t.fire("delete",new Jr(t,n,r)),o&&o.stop.called&&e.stop()}t.on("keyup",(e,t)=>{t.keyCode!=Rn.delete&&t.keyCode!=Rn.backspace||(n=0)}),t.on("keydown",(e,t)=>{const o={};if(t.keyCode==Rn.delete)o.direction="forward",o.unit="character";else{if(t.keyCode!=Rn.backspace)return;o.direction="backward",o.unit="codePoint"}const i=Cn?t.altKey:t.ctrlKey;o.unit=i?"word":o.unit,o.sequence=++n,r(e,t.domEvent,o)}),Nn&&t.on("beforeinput",(t,n)=>{if("deleteContentBackward"!=n.domEvent.inputType)return;const o={unit:"codepoint",direction:"backward",sequence:1},i=n.domTarget.ownerDocument.defaultView.getSelection();i.anchorNode==i.focusNode&&i.anchorOffset+1!=i.focusOffset&&(o.selectionToRemove=e.domConverter.domSelectionToView(i)),r(t,n.domEvent,o)})}observe(){}}class ll extends Is{static get pluginName(){return"Delete"}init(){const e=this.editor,t=e.editing.view,n=t.document;if(t.addObserver(sl),e.commands.add("forwardDelete",new al(e,"forward")),e.commands.add("delete",new al(e,"backward")),this.listenTo(n,"delete",(n,r)=>{const o={unit:r.unit,sequence:r.sequence};if(r.selectionToRemove){const t=e.model.createSelection(),n=[];for(const t of r.selectionToRemove.getRanges())n.push(e.editing.mapper.toModelRange(t));t.setTo(n),o.selection=t}e.execute("forward"==r.direction?"forwardDelete":"delete",o),r.preventDefault(),t.scrollToTheSelection()}),Nn){let e=null;this.listenTo(n,"delete",(t,n)=>{const r=n.domTarget.ownerDocument.defaultView.getSelection();e={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}},{priority:"lowest"}),this.listenTo(n,"keyup",(t,n)=>{if(e){const t=n.domTarget.ownerDocument.defaultView.getSelection();t.collapse(e.anchorNode,e.anchorOffset),t.extend(e.focusNode,e.focusOffset),e=null}})}}}class cl extends Is{static get requires(){return[il,ll]}static get pluginName(){return"Typing"}}class ul extends zi{get type(){return"noop"}clone(){return new ul(this.baseVersion)}getReversed(){return new ul(this.baseVersion+1)}_execute(){}static get className(){return"NoOperation"}}const dl=new Map;function hl(e,t,n){let r=dl.get(e);r||(r=new Map,dl.set(e,r)),r.set(t,n)}function fl(e){return[e]}function pl(e,t,n={}){const r=function(e,t){const n=dl.get(e);return n&&n.has(t)?n.get(t):fl}(e.constructor,t.constructor);try{return r(e=e.clone(),t,n)}catch(e){throw e}}function ml(e,t,n){e=e.slice(),t=t.slice();const r=new gl(n.document,n.useRelations,n.forceWeakRemove);r.setOriginalOperations(e),r.setOriginalOperations(t);const o=r.originalOperations;if(0==e.length||0==t.length)return{operationsA:e,operationsB:t,originalOperations:o};const i=new WeakMap;for(const t of e)i.set(t,0);const a={nextBaseVersionA:e[e.length-1].baseVersion+1,nextBaseVersionB:t[t.length-1].baseVersion+1,originalOperationsACount:e.length,originalOperationsBCount:t.length};let s=0;for(;s<e.length;){const n=e[s],o=i.get(n);if(o==t.length){s++;continue}const a=t[o],l=pl(n,a,r.getContext(n,a,!0)),c=pl(a,n,r.getContext(a,n,!1));r.updateRelation(n,a),r.setOriginalOperations(l,n),r.setOriginalOperations(c,a);for(const e of l)i.set(e,o+c.length);e.splice(s,1,...l),t.splice(o,1,...c)}if(n.padWithNoOps){const n=e.length-a.originalOperationsACount,r=t.length-a.originalOperationsBCount;bl(e,r-n),bl(t,n-r)}return _l(e,a.nextBaseVersionB),_l(t,a.nextBaseVersionA),{operationsA:e,operationsB:t,originalOperations:o}}class gl{constructor(e,t,n=!1){this.originalOperations=new Map,this._history=e.history,this._useRelations=t,this._forceWeakRemove=!!n,this._relations=new Map}setOriginalOperations(e,t=null){const n=t?this.originalOperations.get(t):null;for(const t of e)this.originalOperations.set(t,n||t)}updateRelation(e,t){switch(e.constructor){case Zi:switch(t.constructor){case oa:e.targetPosition.isEqual(t.sourcePosition)||t.movedRange.containsPosition(e.targetPosition)?this._setRelation(e,t,"insertAtSource"):e.targetPosition.isEqual(t.deletionPosition)?this._setRelation(e,t,"insertBetween"):e.targetPosition.isAfter(t.sourcePosition)&&this._setRelation(e,t,"moveTargetAfter");break;case Zi:e.targetPosition.isEqual(t.sourcePosition)||e.targetPosition.isBefore(t.sourcePosition)?this._setRelation(e,t,"insertBefore"):this._setRelation(e,t,"insertAfter")}break;case ia:switch(t.constructor){case oa:e.splitPosition.isBefore(t.sourcePosition)&&this._setRelation(e,t,"splitBefore");break;case Zi:(e.splitPosition.isEqual(t.sourcePosition)||e.splitPosition.isBefore(t.sourcePosition))&&this._setRelation(e,t,"splitBefore")}break;case oa:switch(t.constructor){case oa:e.targetPosition.isEqual(t.sourcePosition)||this._setRelation(e,t,"mergeTargetNotMoved"),e.sourcePosition.isEqual(t.targetPosition)&&this._setRelation(e,t,"mergeSourceNotMoved"),e.sourcePosition.isEqual(t.sourcePosition)&&this._setRelation(e,t,"mergeSameElement");break;case ia:e.sourcePosition.isEqual(t.splitPosition)&&this._setRelation(e,t,"splitAtSource")}break;case ta:{const n=e.newRange;if(!n)return;switch(t.constructor){case Zi:{const r=zo._createFromPositionAndShift(t.sourcePosition,t.howMany),o=r.containsPosition(n.start)||r.start.isEqual(n.start),i=r.containsPosition(n.end)||r.end.isEqual(n.end);!o&&!i||r.containsRange(n)||this._setRelation(e,t,{side:o?"left":"right",path:o?n.start.path.slice():n.end.path.slice()});break}case oa:{const r=n.start.isEqual(t.targetPosition),o=n.start.isEqual(t.deletionPosition),i=n.end.isEqual(t.deletionPosition),a=n.end.isEqual(t.sourcePosition);(r||o||i||a)&&this._setRelation(e,t,{wasInLeftElement:r,wasStartBeforeMergedElement:o,wasEndBeforeMergedElement:i,wasInRightElement:a});break}}break}}}getContext(e,t,n){return{aIsStrong:n,aWasUndone:this._wasUndone(e),bWasUndone:this._wasUndone(t),abRelation:this._useRelations?this._getRelation(e,t):null,baRelation:this._useRelations?this._getRelation(t,e):null,forceWeakRemove:this._forceWeakRemove}}_wasUndone(e){const t=this.originalOperations.get(e);return t.wasUndone||this._history.isUndoneOperation(t)}_getRelation(e,t){const n=this.originalOperations.get(t),r=this._history.getUndoneOperation(n);if(!r)return null;const o=this.originalOperations.get(e),i=this._relations.get(o);return i&&i.get(r)||null}_setRelation(e,t,n){const r=this.originalOperations.get(e),o=this.originalOperations.get(t);let i=this._relations.get(r);i||(i=new Map,this._relations.set(r,i)),i.set(o,n)}}function _l(e,t){for(const n of e)n.baseVersion=t++}function bl(e,t){for(let n=0;n<t;n++)e.push(new ul(0))}function vl(e,t,n){const r=e.nodes.getNode(0).getAttribute(t);if(r==n)return null;const o=new zo(e.position,e.position.getShiftedBy(e.howMany));return new Xi(o,t,r,n,0)}function yl(e,t){return null===e.targetPosition._getTransformedByDeletion(t.sourcePosition,t.howMany)}function wl(e,t){const n=[];for(let r=0;r<e.length;r++){const o=e[r],i=new Zi(o.start,o.end.offset-o.start.offset,t,0);n.push(i);for(let t=r+1;t<e.length;t++)e[t]=e[t]._getTransformedByMove(i.sourcePosition,i.targetPosition,i.howMany)[0];t=t._getTransformedByMove(i.sourcePosition,i.targetPosition,i.howMany)}return n}hl(Xi,Xi,(e,t,n)=>{if(e.key===t.key){const r=e.range.getDifference(t.range).map(t=>new Xi(t,e.key,e.oldValue,e.newValue,0)),o=e.range.getIntersection(t.range);return o&&n.aIsStrong&&r.push(new Xi(o,t.key,t.newValue,e.newValue,0)),0==r.length?[new ul(0)]:r}return[e]}),hl(Xi,ea,(e,t)=>{if(e.range.start.hasSameParentAs(t.position)&&e.range.containsPosition(t.position)){const n=e.range._getTransformedByInsertion(t.position,t.howMany,!t.shouldReceiveAttributes).map(t=>new Xi(t,e.key,e.oldValue,e.newValue,e.baseVersion));if(t.shouldReceiveAttributes){const r=vl(t,e.key,e.oldValue);r&&n.unshift(r)}return n}return e.range=e.range._getTransformedByInsertion(t.position,t.howMany,!1)[0],[e]}),hl(Xi,oa,(e,t)=>{const n=[];e.range.start.hasSameParentAs(t.deletionPosition)&&(e.range.containsPosition(t.deletionPosition)||e.range.start.isEqual(t.deletionPosition))&&n.push(zo._createFromPositionAndShift(t.graveyardPosition,1));const r=e.range._getTransformedByMergeOperation(t);return r.isCollapsed||n.push(r),n.map(t=>new Xi(t,e.key,e.oldValue,e.newValue,e.baseVersion))}),hl(Xi,Zi,(e,t)=>function(e,t){const n=zo._createFromPositionAndShift(t.sourcePosition,t.howMany);let r=null,o=[];n.containsRange(e,!0)?r=e:e.start.hasSameParentAs(n.start)?(o=e.getDifference(n),r=e.getIntersection(n)):o=[e];const i=[];for(let e of o){e=e._getTransformedByDeletion(t.sourcePosition,t.howMany);const n=t.getMovedRangeStart(),r=e.start.hasSameParentAs(n);e=e._getTransformedByInsertion(n,t.howMany,r),i.push(...e)}return r&&i.push(r._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany,!1)[0]),i}(e.range,t).map(t=>new Xi(t,e.key,e.oldValue,e.newValue,e.baseVersion))),hl(Xi,ia,(e,t)=>{if(e.range.end.isEqual(t.insertionPosition))return t.graveyardPosition||e.range.end.offset++,[e];if(e.range.start.hasSameParentAs(t.splitPosition)&&e.range.containsPosition(t.splitPosition)){const n=e.clone();return n.range=new zo(t.moveTargetPosition.clone(),e.range.end._getCombined(t.splitPosition,t.moveTargetPosition)),e.range.end=t.splitPosition.clone(),e.range.end.stickiness="toPrevious",[e,n]}return e.range=e.range._getTransformedBySplitOperation(t),[e]}),hl(ea,Xi,(e,t)=>{const n=[e];if(e.shouldReceiveAttributes&&e.position.hasSameParentAs(t.range.start)&&t.range.containsPosition(e.position)){const r=vl(e,t.key,t.newValue);r&&n.push(r)}return n}),hl(ea,ea,(e,t,n)=>(e.position.isEqual(t.position)&&n.aIsStrong||(e.position=e.position._getTransformedByInsertOperation(t)),[e])),hl(ea,Zi,(e,t)=>(e.position=e.position._getTransformedByMoveOperation(t),[e])),hl(ea,ia,(e,t)=>(e.position=e.position._getTransformedBySplitOperation(t),[e])),hl(ea,oa,(e,t)=>(e.position=e.position._getTransformedByMergeOperation(t),[e])),hl(ta,ea,(e,t)=>(e.oldRange&&(e.oldRange=e.oldRange._getTransformedByInsertOperation(t)[0]),e.newRange&&(e.newRange=e.newRange._getTransformedByInsertOperation(t)[0]),[e])),hl(ta,ta,(e,t,n)=>{if(e.name==t.name){if(!n.aIsStrong)return[new ul(0)];e.oldRange=t.newRange?t.newRange.clone():null}return[e]}),hl(ta,oa,(e,t)=>(e.oldRange&&(e.oldRange=e.oldRange._getTransformedByMergeOperation(t)),e.newRange&&(e.newRange=e.newRange._getTransformedByMergeOperation(t)),[e])),hl(ta,Zi,(e,t,n)=>{if(e.oldRange&&(e.oldRange=zo._createFromRanges(e.oldRange._getTransformedByMoveOperation(t))),e.newRange){if(n.abRelation){const r=zo._createFromRanges(e.newRange._getTransformedByMoveOperation(t));if("left"==n.abRelation.side&&t.targetPosition.isEqual(e.newRange.start))return e.newRange.start.path=n.abRelation.path,e.newRange.end=r.end,[e];if("right"==n.abRelation.side&&t.targetPosition.isEqual(e.newRange.end))return e.newRange.start=r.start,e.newRange.end.path=n.abRelation.path,[e]}e.newRange=zo._createFromRanges(e.newRange._getTransformedByMoveOperation(t))}return[e]}),hl(ta,ia,(e,t,n)=>{if(e.oldRange&&(e.oldRange=e.oldRange._getTransformedBySplitOperation(t)),e.newRange){if(n.abRelation){const r=e.newRange._getTransformedBySplitOperation(t);return e.newRange.start.isEqual(t.splitPosition)&&n.abRelation.wasStartBeforeMergedElement?e.newRange.start=Ho._createAt(t.insertionPosition):e.newRange.start.isEqual(t.splitPosition)&&!n.abRelation.wasInLeftElement&&(e.newRange.start=Ho._createAt(t.moveTargetPosition)),e.newRange.end.isEqual(t.splitPosition)&&n.abRelation.wasInRightElement?e.newRange.end=Ho._createAt(t.moveTargetPosition):e.newRange.end.isEqual(t.splitPosition)&&n.abRelation.wasEndBeforeMergedElement?e.newRange.end=Ho._createAt(t.insertionPosition):e.newRange.end=r.end,[e]}e.newRange=e.newRange._getTransformedBySplitOperation(t)}return[e]}),hl(oa,ea,(e,t)=>(e.sourcePosition.hasSameParentAs(t.position)&&(e.howMany+=t.howMany),e.sourcePosition=e.sourcePosition._getTransformedByInsertOperation(t),e.targetPosition=e.targetPosition._getTransformedByInsertOperation(t),[e])),hl(oa,oa,(e,t,n)=>{if(e.sourcePosition.isEqual(t.sourcePosition)&&e.targetPosition.isEqual(t.targetPosition)){if(n.bWasUndone){const n=t.graveyardPosition.path.slice();return n.push(0),e.sourcePosition=new Ho(t.graveyardPosition.root,n),e.howMany=0,[e]}return[new ul(0)]}if(e.sourcePosition.isEqual(t.sourcePosition)&&!e.targetPosition.isEqual(t.targetPosition)&&!n.bWasUndone&&"splitAtSource"!=n.abRelation){const r="$graveyard"==e.targetPosition.root.rootName,o="$graveyard"==t.targetPosition.root.rootName;if(o&&!r||(!r||o)&&n.aIsStrong){const n=t.targetPosition._getTransformedByMergeOperation(t),r=e.targetPosition._getTransformedByMergeOperation(t);return[new Zi(n,e.howMany,r,0)]}return[new ul(0)]}return e.sourcePosition.hasSameParentAs(t.targetPosition)&&(e.howMany+=t.howMany),e.sourcePosition=e.sourcePosition._getTransformedByMergeOperation(t),e.targetPosition=e.targetPosition._getTransformedByMergeOperation(t),e.graveyardPosition.isEqual(t.graveyardPosition)&&n.aIsStrong||(e.graveyardPosition=e.graveyardPosition._getTransformedByMergeOperation(t)),[e]}),hl(oa,Zi,(e,t,n)=>{const r=zo._createFromPositionAndShift(t.sourcePosition,t.howMany);return"remove"==t.type&&!n.bWasUndone&&!n.forceWeakRemove&&e.deletionPosition.hasSameParentAs(t.sourcePosition)&&r.containsPosition(e.sourcePosition)?[new ul(0)]:(e.sourcePosition.hasSameParentAs(t.targetPosition)&&(e.howMany+=t.howMany),e.sourcePosition.hasSameParentAs(t.sourcePosition)&&(e.howMany-=t.howMany),e.sourcePosition=e.sourcePosition._getTransformedByMoveOperation(t),e.targetPosition=e.targetPosition._getTransformedByMoveOperation(t),e.graveyardPosition.isEqual(t.targetPosition)||(e.graveyardPosition=e.graveyardPosition._getTransformedByMoveOperation(t)),[e])}),hl(oa,ia,(e,t,n)=>{if(t.graveyardPosition&&(e.graveyardPosition=e.graveyardPosition._getTransformedByDeletion(t.graveyardPosition,1),e.deletionPosition.isEqual(t.graveyardPosition)&&(e.howMany=t.howMany)),e.targetPosition.isEqual(t.splitPosition)){const r=0!=t.howMany,o=t.graveyardPosition&&e.deletionPosition.isEqual(t.graveyardPosition);if(r||o||"mergeTargetNotMoved"==n.abRelation)return e.sourcePosition=e.sourcePosition._getTransformedBySplitOperation(t),[e]}if(e.sourcePosition.isEqual(t.splitPosition)){if("mergeSourceNotMoved"==n.abRelation)return e.howMany=0,e.targetPosition=e.targetPosition._getTransformedBySplitOperation(t),[e];if("mergeSameElement"==n.abRelation||e.sourcePosition.offset>0)return e.sourcePosition=t.moveTargetPosition.clone(),e.targetPosition=e.targetPosition._getTransformedBySplitOperation(t),[e]}return e.sourcePosition.hasSameParentAs(t.splitPosition)&&(e.howMany=t.splitPosition.offset),e.sourcePosition=e.sourcePosition._getTransformedBySplitOperation(t),e.targetPosition=e.targetPosition._getTransformedBySplitOperation(t),[e]}),hl(Zi,ea,(e,t)=>{const n=zo._createFromPositionAndShift(e.sourcePosition,e.howMany)._getTransformedByInsertOperation(t,!1)[0];return e.sourcePosition=n.start,e.howMany=n.end.offset-n.start.offset,e.targetPosition.isEqual(t.position)||(e.targetPosition=e.targetPosition._getTransformedByInsertOperation(t)),[e]}),hl(Zi,Zi,(e,t,n)=>{const r=zo._createFromPositionAndShift(e.sourcePosition,e.howMany),o=zo._createFromPositionAndShift(t.sourcePosition,t.howMany);let i,a=n.aIsStrong,s=!n.aIsStrong;if("insertBefore"==n.abRelation||"insertAfter"==n.baRelation?s=!0:"insertAfter"!=n.abRelation&&"insertBefore"!=n.baRelation||(s=!1),i=e.targetPosition.isEqual(t.targetPosition)&&s?e.targetPosition._getTransformedByDeletion(t.sourcePosition,t.howMany):e.targetPosition._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),yl(e,t)&&yl(t,e))return[t.getReversed()];if(r.containsPosition(t.targetPosition)&&r.containsRange(o,!0))return r.start=r.start._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),r.end=r.end._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),wl([r],i);if(o.containsPosition(e.targetPosition)&&o.containsRange(r,!0))return r.start=r.start._getCombined(t.sourcePosition,t.getMovedRangeStart()),r.end=r.end._getCombined(t.sourcePosition,t.getMovedRangeStart()),wl([r],i);const l=Pt(e.sourcePosition.getParentPath(),t.sourcePosition.getParentPath());if("prefix"==l||"extension"==l)return r.start=r.start._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),r.end=r.end._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany),wl([r],i);"remove"!=e.type||"remove"==t.type||n.aWasUndone||n.forceWeakRemove?"remove"==e.type||"remove"!=t.type||n.bWasUndone||n.forceWeakRemove||(a=!1):a=!0;const c=[],u=r.getDifference(o);for(const e of u){e.start=e.start._getTransformedByDeletion(t.sourcePosition,t.howMany),e.end=e.end._getTransformedByDeletion(t.sourcePosition,t.howMany);const n="same"==Pt(e.start.getParentPath(),t.getMovedRangeStart().getParentPath()),r=e._getTransformedByInsertion(t.getMovedRangeStart(),t.howMany,n);c.push(...r)}const d=r.getIntersection(o);return null!==d&&a&&(d.start=d.start._getCombined(t.sourcePosition,t.getMovedRangeStart()),d.end=d.end._getCombined(t.sourcePosition,t.getMovedRangeStart()),0===c.length?c.push(d):1==c.length?o.start.isBefore(r.start)||o.start.isEqual(r.start)?c.unshift(d):c.push(d):c.splice(1,0,d)),0===c.length?[new ul(e.baseVersion)]:wl(c,i)}),hl(Zi,ia,(e,t,n)=>{let r=e.targetPosition.clone();e.targetPosition.isEqual(t.insertionPosition)&&t.graveyardPosition&&"moveTargetAfter"!=n.abRelation||(r=e.targetPosition._getTransformedBySplitOperation(t));const o=zo._createFromPositionAndShift(e.sourcePosition,e.howMany);if(o.end.isEqual(t.insertionPosition))return t.graveyardPosition||e.howMany++,e.targetPosition=r,[e];if(o.start.hasSameParentAs(t.splitPosition)&&o.containsPosition(t.splitPosition)){let e=new zo(t.splitPosition,o.end);return e=e._getTransformedBySplitOperation(t),wl([new zo(o.start,t.splitPosition),e],r)}e.targetPosition.isEqual(t.splitPosition)&&"insertAtSource"==n.abRelation&&(r=t.moveTargetPosition),e.targetPosition.isEqual(t.insertionPosition)&&"insertBetween"==n.abRelation&&(r=e.targetPosition);const i=[o._getTransformedBySplitOperation(t)];if(t.graveyardPosition){const r=o.start.isEqual(t.graveyardPosition)||o.containsPosition(t.graveyardPosition);e.howMany>1&&r&&!n.aWasUndone&&i.push(zo._createFromPositionAndShift(t.insertionPosition,1))}return wl(i,r)}),hl(Zi,oa,(e,t,n)=>{const r=zo._createFromPositionAndShift(e.sourcePosition,e.howMany);if(t.deletionPosition.hasSameParentAs(e.sourcePosition)&&r.containsPosition(t.sourcePosition))if("remove"!=e.type||n.forceWeakRemove){if(1==e.howMany)return n.bWasUndone?(e.sourcePosition=t.graveyardPosition.clone(),e.targetPosition=e.targetPosition._getTransformedByMergeOperation(t),[e]):[new ul(0)]}else if(!n.aWasUndone){const n=[];let r=t.graveyardPosition.clone(),o=t.targetPosition._getTransformedByMergeOperation(t);e.howMany>1&&(n.push(new Zi(e.sourcePosition,e.howMany-1,e.targetPosition,0)),r=r._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany-1),o=o._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany-1));const i=t.deletionPosition._getCombined(e.sourcePosition,e.targetPosition),a=new Zi(r,1,i,0),s=a.getMovedRangeStart().path.slice();s.push(0);const l=new Ho(a.targetPosition.root,s);o=o._getTransformedByMove(r,i,1);const c=new Zi(o,t.howMany,l,0);return n.push(a),n.push(c),n}const o=zo._createFromPositionAndShift(e.sourcePosition,e.howMany)._getTransformedByMergeOperation(t);return e.sourcePosition=o.start,e.howMany=o.end.offset-o.start.offset,e.targetPosition=e.targetPosition._getTransformedByMergeOperation(t),[e]}),hl(na,ea,(e,t)=>(e.position=e.position._getTransformedByInsertOperation(t),[e])),hl(na,oa,(e,t)=>e.position.isEqual(t.deletionPosition)?(e.position=t.graveyardPosition.clone(),e.position.stickiness="toNext",[e]):(e.position=e.position._getTransformedByMergeOperation(t),[e])),hl(na,Zi,(e,t)=>(e.position=e.position._getTransformedByMoveOperation(t),[e])),hl(na,na,(e,t,n)=>{if(e.position.isEqual(t.position)){if(!n.aIsStrong)return[new ul(0)];e.oldName=t.newName}return[e]}),hl(na,ia,(e,t)=>"same"!=Pt(e.position.path,t.splitPosition.getParentPath())||t.graveyardPosition?(e.position=e.position._getTransformedBySplitOperation(t),[e]):[e,new na(e.position.getShiftedBy(1),e.oldName,e.newName,0)]),hl(ra,ra,(e,t,n)=>{if(e.root===t.root&&e.key===t.key){if(!n.aIsStrong||e.newValue===t.newValue)return[new ul(0)];e.oldValue=t.newValue}return[e]}),hl(ia,ea,(e,t)=>(e.splitPosition.hasSameParentAs(t.position)&&e.splitPosition.offset<t.position.offset&&(e.howMany+=t.howMany),e.splitPosition=e.splitPosition._getTransformedByInsertOperation(t),e.insertionPosition=ia.getInsertionPosition(e.splitPosition),[e])),hl(ia,oa,(e,t,n)=>{if(!e.graveyardPosition&&!n.bWasUndone&&e.splitPosition.hasSameParentAs(t.sourcePosition)){const n=t.graveyardPosition.path.slice();n.push(0);const r=new Ho(t.graveyardPosition.root,n),o=ia.getInsertionPosition(new Ho(t.graveyardPosition.root,n)),i=new ia(r,0,null,0);return i.insertionPosition=o,e.splitPosition=e.splitPosition._getTransformedByMergeOperation(t),e.insertionPosition=ia.getInsertionPosition(e.splitPosition),e.graveyardPosition=i.insertionPosition.clone(),e.graveyardPosition.stickiness="toNext",[i,e]}return e.splitPosition.hasSameParentAs(t.deletionPosition)&&!e.splitPosition.isAfter(t.deletionPosition)&&e.howMany--,e.splitPosition.hasSameParentAs(t.targetPosition)&&(e.howMany+=t.howMany),e.splitPosition=e.splitPosition._getTransformedByMergeOperation(t),e.insertionPosition=ia.getInsertionPosition(e.splitPosition),e.graveyardPosition&&(e.graveyardPosition=e.graveyardPosition._getTransformedByMergeOperation(t)),[e]}),hl(ia,Zi,(e,t,n)=>{const r=zo._createFromPositionAndShift(t.sourcePosition,t.howMany);if(e.graveyardPosition){const o=r.start.isEqual(e.graveyardPosition)||r.containsPosition(e.graveyardPosition);if(!n.bWasUndone&&o){const n=e.splitPosition._getTransformedByMoveOperation(t),r=e.graveyardPosition._getTransformedByMoveOperation(t),o=r.path.slice();o.push(0);const i=new Ho(r.root,o);return[new Zi(n,e.howMany,i,0)]}e.graveyardPosition=e.graveyardPosition._getTransformedByMoveOperation(t)}if(e.splitPosition.hasSameParentAs(t.sourcePosition)&&r.containsPosition(e.splitPosition)){const n=t.howMany-(e.splitPosition.offset-t.sourcePosition.offset);return e.howMany-=n,e.splitPosition.hasSameParentAs(t.targetPosition)&&e.splitPosition.offset<t.targetPosition.offset&&(e.howMany+=t.howMany),e.splitPosition=t.sourcePosition.clone(),e.insertionPosition=ia.getInsertionPosition(e.splitPosition),[e]}return!e.splitPosition.isEqual(t.targetPosition)||"insertAtSource"!=n.baRelation&&"splitBefore"!=n.abRelation?(t.sourcePosition.isEqual(t.targetPosition)||(e.splitPosition.hasSameParentAs(t.sourcePosition)&&e.splitPosition.offset<=t.sourcePosition.offset&&(e.howMany-=t.howMany),e.splitPosition.hasSameParentAs(t.targetPosition)&&e.splitPosition.offset<t.targetPosition.offset&&(e.howMany+=t.howMany)),e.splitPosition.stickiness="toNone",e.splitPosition=e.splitPosition._getTransformedByMoveOperation(t),e.splitPosition.stickiness="toNext",e.graveyardPosition?e.insertionPosition=e.insertionPosition._getTransformedByMoveOperation(t):e.insertionPosition=ia.getInsertionPosition(e.splitPosition),[e]):(e.howMany+=t.howMany,e.splitPosition=e.splitPosition._getTransformedByDeletion(t.sourcePosition,t.howMany),e.insertionPosition=ia.getInsertionPosition(e.splitPosition),[e])}),hl(ia,ia,(e,t,n)=>{if(e.splitPosition.isEqual(t.splitPosition)){if(!e.graveyardPosition&&!t.graveyardPosition)return[new ul(0)];if(e.graveyardPosition&&t.graveyardPosition&&e.graveyardPosition.isEqual(t.graveyardPosition))return[new ul(0)];if("splitBefore"==n.abRelation)return e.howMany=0,e.graveyardPosition=e.graveyardPosition._getTransformedBySplitOperation(t),[e]}if(e.graveyardPosition&&t.graveyardPosition&&e.graveyardPosition.isEqual(t.graveyardPosition)){const r="$graveyard"==e.splitPosition.root.rootName,o="$graveyard"==t.splitPosition.root.rootName;if(o&&!r||(!r||o)&&n.aIsStrong){const n=[];return t.howMany&&n.push(new Zi(t.moveTargetPosition,t.howMany,t.splitPosition,0)),e.howMany&&n.push(new Zi(e.splitPosition,e.howMany,e.moveTargetPosition,0)),n}return[new ul(0)]}if(e.graveyardPosition&&(e.graveyardPosition=e.graveyardPosition._getTransformedBySplitOperation(t)),e.splitPosition.isEqual(t.insertionPosition)&&"splitBefore"==n.abRelation)return e.howMany++,[e];if(t.splitPosition.isEqual(e.insertionPosition)&&"splitBefore"==n.baRelation){const n=t.insertionPosition.path.slice();n.push(0);const r=new Ho(t.insertionPosition.root,n);return[e,new Zi(e.insertionPosition,1,r,0)]}return e.splitPosition.hasSameParentAs(t.splitPosition)&&e.splitPosition.offset<t.splitPosition.offset&&(e.howMany-=t.howMany),e.splitPosition=e.splitPosition._getTransformedBySplitOperation(t),e.insertionPosition=ia.getInsertionPosition(e.splitPosition),[e]});class kl extends Hs{constructor(e){super(e),this._stack=[],this._createdBatches=new WeakSet,this.refresh()}refresh(){this.isEnabled=this._stack.length>0}addBatch(e){const t=this.editor.model.document.selection,n={ranges:t.hasOwnRange?Array.from(t.getRanges()):[],isBackward:t.isBackward};this._stack.push({batch:e,selection:n}),this.refresh()}clearStack(){this._stack=[],this.refresh()}_restoreSelection(e,t,n){const r=this.editor.model,o=r.document,i=[];for(const t of e){const e=Ml(t,n).find(e=>e.start.root!=o.graveyard);e&&i.push(e)}i.length&&r.change(e=>{e.setSelection(i,{backward:t})})}_undo(e,t){const n=this.editor.model,r=n.document;this._createdBatches.add(t);const o=e.operations.slice().filter(e=>e.isDocumentOperation);o.reverse();for(const e of o){const o=e.baseVersion+1,i=Array.from(r.history.getOperations(o)),a=ml([e.getReversed()],i,{useRelations:!0,document:this.editor.model.document,padWithNoOps:!1,forceWeakRemove:!0}).operationsA;for(const o of a)t.addOperation(o),n.applyOperation(o),r.history.setOperationAsUndone(e,o)}}}function Ml(e,t){const n=e.getTransformedByOperations(t);n.sort((e,t)=>e.start.isBefore(t.start)?-1:1);for(let e=1;e<n.length;e++){const t=n[e-1],r=n[e];t.end.isTouching(r.start)&&(t.end=r.end,n.splice(e,1),e--)}return n}class xl extends kl{execute(e=null){const t=e?this._stack.findIndex(t=>t.batch==e):this._stack.length-1,n=this._stack.splice(t,1)[0],r=this.editor.model.createBatch("transparent");this.editor.model.enqueueChange(r,()=>{this._undo(n.batch,r);const e=this.editor.model.document.history.getOperations(n.batch.baseVersion);this._restoreSelection(n.selection.ranges,n.selection.isBackward,e),this.fire("revert",n.batch,r)}),this.refresh()}}class Tl extends kl{execute(){const e=this._stack.pop(),t=this.editor.model.createBatch("transparent");this.editor.model.enqueueChange(t,()=>{const n=e.batch.operations[e.batch.operations.length-1].baseVersion+1,r=this.editor.model.document.history.getOperations(n);this._restoreSelection(e.selection.ranges,e.selection.isBackward,r),this._undo(e.batch,t)}),this.refresh()}}class El extends Is{constructor(e){super(e),this._batchRegistry=new WeakSet}init(){const e=this.editor;this._undoCommand=new xl(e),this._redoCommand=new Tl(e),e.commands.add("undo",this._undoCommand),e.commands.add("redo",this._redoCommand),this.listenTo(e.model,"applyOperation",(e,t)=>{const n=t[0];if(!n.isDocumentOperation)return;const r=n.batch,o=this._redoCommand._createdBatches.has(r),i=this._undoCommand._createdBatches.has(r);this._batchRegistry.has(r)||"transparent"==r.type&&!o&&!i||(o?this._undoCommand.addBatch(r):i||(this._undoCommand.addBatch(r),this._redoCommand.clearStack()),this._batchRegistry.add(r))},{priority:"highest"}),this.listenTo(this._undoCommand,"revert",(e,t,n)=>{this._redoCommand.addBatch(n)}),e.keystrokes.set("CTRL+Z","undo"),e.keystrokes.set("CTRL+Y","redo"),e.keystrokes.set("CTRL+SHIFT+Z","redo")}}n(28);class Sl extends ys{constructor(){super();const e=this.bindTemplate;this.set("content",""),this.set("viewBox","0 0 20 20"),this.set("fillColor",""),this.setTemplate({tag:"svg",ns:"http://www.w3.org/2000/svg",attributes:{class:["ck","ck-icon"],viewBox:e.to("viewBox")}})}render(){super.render(),this._updateXMLContent(),this._colorFillPaths(),this.on("change:content",()=>{this._updateXMLContent(),this._colorFillPaths()}),this.on("change:fillColor",()=>{this._colorFillPaths()})}_updateXMLContent(){if(this.content){const e=(new DOMParser).parseFromString(this.content.trim(),"image/svg+xml").querySelector("svg"),t=e.getAttribute("viewBox");for(t&&(this.viewBox=t),this.element.innerHTML="";e.childNodes.length>0;)this.element.appendChild(e.childNodes[0])}}_colorFillPaths(){this.fillColor&&this.element.querySelectorAll(".ck-icon__fill").forEach(e=>{e.style.fill=this.fillColor})}}n(30);class Dl extends ys{constructor(e){super(e),this.set("text",""),this.set("position","s");const t=this.bindTemplate;this.setTemplate({tag:"span",attributes:{class:["ck","ck-tooltip",t.to("position",e=>"ck-tooltip_"+e),t.if("text","ck-hidden",e=>!e.trim())]},children:[{tag:"span",attributes:{class:["ck","ck-tooltip__text"]},children:[{text:t.to("text")}]}]})}}n(32);class Ll extends ys{constructor(e){super(e);const t=this.bindTemplate,n=vt();this.set("class"),this.set("labelStyle"),this.set("icon"),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isVisible",!0),this.set("isToggleable",!1),this.set("keystroke"),this.set("label"),this.set("tabindex",-1),this.set("tooltip"),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.children=this.createCollection(),this.tooltipView=this._createTooltipView(),this.labelView=this._createLabelView(n),this.iconView=new Sl,this.iconView.extendTemplate({attributes:{class:"ck-button__icon"}}),this.bind("_tooltipString").to(this,"tooltip",this,"label",this,"keystroke",this._getTooltipString.bind(this)),this.setTemplate({tag:"button",attributes:{class:["ck","ck-button",t.to("class"),t.if("isEnabled","ck-disabled",e=>!e),t.if("isVisible","ck-hidden",e=>!e),t.to("isOn",e=>e?"ck-on":"ck-off"),t.if("withText","ck-button_with-text")],type:t.to("type",e=>e||"button"),tabindex:t.to("tabindex"),"aria-labelledby":"ck-editor__aria-label_"+n,"aria-disabled":t.if("isEnabled",!0,e=>!e),"aria-pressed":t.to("isOn",e=>!!this.isToggleable&&String(e))},children:this.children,on:{mousedown:t.to(e=>{e.preventDefault()}),click:t.to(e=>{this.isEnabled?this.fire("execute"):e.preventDefault()})}})}render(){super.render(),this.icon&&(this.iconView.bind("content").to(this,"icon"),this.children.add(this.iconView)),this.children.add(this.tooltipView),this.children.add(this.labelView)}focus(){this.element.focus()}_createTooltipView(){const e=new Dl;return e.bind("text").to(this,"_tooltipString"),e.bind("position").to(this,"tooltipPosition"),e}_createLabelView(e){const t=new ys,n=this.bindTemplate;return t.setTemplate({tag:"span",attributes:{class:["ck","ck-button__label"],style:n.to("labelStyle"),id:"ck-editor__aria-label_"+e},children:[{text:this.bindTemplate.to("label")}]}),t}_getTooltipString(e,t,n){return e?"string"==typeof e?e:(n&&(n=function(e){return Cn?Hn(e).map(e=>Yn[e.toLowerCase()]||e).reduce((e,t)=>e.slice(-1)in In?e+t:e+"+"+t):e}(n)),e instanceof Function?e(t,n):`${t}${n?` (${n})`:""}`):""}}var Cl='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.042 9.367l2.189 1.837a.75.75 0 0 1-.965 1.149l-3.788-3.18a.747.747 0 0 1-.21-.284.75.75 0 0 1 .17-.945L6.23 4.762a.75.75 0 1 1 .964 1.15L4.863 7.866h8.917A.75.75 0 0 1 14 7.9a4 4 0 1 1-1.477 7.718l.344-1.489a2.5 2.5 0 1 0 1.094-4.73l.008-.032H5.042z"/></svg>',Pl='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M14.958 9.367l-2.189 1.837a.75.75 0 0 0 .965 1.149l3.788-3.18a.747.747 0 0 0 .21-.284.75.75 0 0 0-.17-.945L13.77 4.762a.75.75 0 1 0-.964 1.15l2.331 1.955H6.22A.75.75 0 0 0 6 7.9a4 4 0 1 0 1.477 7.718l-.344-1.489A2.5 2.5 0 1 1 6.039 9.4l-.008-.032h8.927z"/></svg>';class Ol extends Is{init(){const e=this.editor,t=e.locale,n=e.t,r="ltr"==t.uiLanguageDirection?Cl:Pl,o="ltr"==t.uiLanguageDirection?Pl:Cl;this._addButton("undo",n("bj"),"CTRL+Z",r),this._addButton("redo",n("bk"),"CTRL+Y",o)}_addButton(e,t,n,r){const o=this.editor;o.ui.componentFactory.add(e,i=>{const a=o.commands.get(e),s=new Ll(i);return s.set({label:t,icon:r,keystroke:n,tooltip:!0}),s.bind("isEnabled").to(a,"isEnabled"),this.listenTo(s,"execute",()=>o.execute(e)),s})}}class Al extends Is{static get requires(){return[El,Ol]}static get pluginName(){return"Undo"}}class Nl extends Is{static get pluginName(){return"PendingActions"}init(){this.set("hasAny",!1),this._actions=new kn({idProperty:"_id"}),this._actions.delegate("add","remove").to(this)}add(e){if("string"!=typeof e)throw new _t.b("pendingactions-add-invalid-message: The message must be a string.",this);const t=Object.create(on);return t.set("message",e),this._actions.add(t),this.hasAny=!0,t}remove(e){this._actions.remove(e),this.hasAny=!!this._actions.length}get first(){return this._actions.get(0)}[Symbol.iterator](){return this._actions[Symbol.iterator]()}}class Il{constructor(){const e=new window.FileReader;this._reader=e,this._data=void 0,this.set("loaded",0),e.onprogress=e=>{this.loaded=e.loaded}}get error(){return this._reader.error}get data(){return this._data}read(e){const t=this._reader;return this.total=e.size,new Promise((n,r)=>{t.onload=()=>{const e=t.result;this._data=e,n(e)},t.onerror=()=>{r("error")},t.onabort=()=>{r("aborted")},this._reader.readAsDataURL(e)})}abort(){this._reader.abort()}}Ct(Il,on);class Yl extends Is{static get pluginName(){return"FileRepository"}static get requires(){return[Nl]}init(){this.loaders=new kn,this.loaders.on("add",()=>this._updatePendingAction()),this.loaders.on("remove",()=>this._updatePendingAction()),this._loadersMap=new Map,this._pendingAction=null,this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",(e,t)=>t?e/t*100:0)}getLoader(e){return this._loadersMap.get(e)||null}createLoader(e){if(!this.createUploadAdapter)return console.warn(Object(_t.a)("filerepository-no-upload-adapter: Upload adapter is not defined.")),null;const t=new Rl(Promise.resolve(e),this.createUploadAdapter);return this.loaders.add(t),this._loadersMap.set(e,t),e instanceof Promise&&t.file.then(e=>{this._loadersMap.set(e,t)}),t.file.catch(()=>{}),t.on("change:uploaded",()=>{let e=0;for(const t of this.loaders)e+=t.uploaded;this.uploaded=e}),t.on("change:uploadTotal",()=>{let e=0;for(const t of this.loaders)t.uploadTotal&&(e+=t.uploadTotal);this.uploadTotal=e}),t}destroyLoader(e){const t=e instanceof Rl?e:this.getLoader(e);t._destroy(),this.loaders.remove(t),this._loadersMap.forEach((e,n)=>{e===t&&this._loadersMap.delete(n)})}_updatePendingAction(){const e=this.editor.plugins.get(Nl);if(this.loaders.length){if(!this._pendingAction){const t=this.editor.t,n=e=>`${t("aw")} ${parseInt(e)}%.`;this._pendingAction=e.add(n(this.uploadedPercent)),this._pendingAction.bind("message").to(this,"uploadedPercent",n)}}else e.remove(this._pendingAction),this._pendingAction=null}}Ct(Yl,on);class Rl{constructor(e,t){this.id=vt(),this._filePromiseWrapper=this._createFilePromiseWrapper(e),this._adapter=t(this),this._reader=new Il,this.set("status","idle"),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",(e,t)=>t?e/t*100:0),this.set("uploadResponse",null)}get file(){return this._filePromiseWrapper?this._filePromiseWrapper.promise.then(e=>this._filePromiseWrapper?e:null):Promise.resolve(null)}get data(){return this._reader.data}read(){if("idle"!=this.status)throw new _t.b("filerepository-read-wrong-status: You cannot call read if the status is different than idle.",this);return this.status="reading",this._filePromiseWrapper.promise.then(e=>this._reader.read(e)).then(e=>(this.status="idle",e)).catch(e=>{if("aborted"===e)throw this.status="aborted","aborted";throw this.status="error",this._reader.error?this._reader.error:e})}upload(){if("idle"!=this.status)throw new _t.b("filerepository-upload-wrong-status: You cannot call upload if the status is different than idle.",this);return this.status="uploading",this._filePromiseWrapper.promise.then(()=>this._adapter.upload()).then(e=>(this.uploadResponse=e,this.status="idle",e)).catch(e=>{if("aborted"===this.status)throw"aborted";throw this.status="error",e})}abort(){const e=this.status;this.status="aborted",this._filePromiseWrapper.isFulfilled?"reading"==e?this._reader.abort():"uploading"==e&&this._adapter.abort&&this._adapter.abort():this._filePromiseWrapper.rejecter("aborted"),this._destroy()}_destroy(){this._filePromiseWrapper=void 0,this._reader=void 0,this._adapter=void 0,this.uploadResponse=void 0}_createFilePromiseWrapper(e){const t={};return t.promise=new Promise((n,r)=>{t.resolver=n,t.rejecter=r,t.isFulfilled=!1,e.then(e=>{t.isFulfilled=!0,n(e)}).catch(e=>{t.isFulfilled=!0,r(e)})}),t}}Ct(Rl,on);const jl="ckCsrfToken",Fl="abcdefghijklmnopqrstuvwxyz0123456789";class Hl extends Is{static get requires(){return[Yl]}static get pluginName(){return"CKFinderUploadAdapter"}init(){const e=this.editor.config.get("ckfinder.uploadUrl");e&&(this.editor.plugins.get(Yl).createUploadAdapter=t=>new zl(t,e,this.editor.t))}}class zl{constructor(e,t,n){this.loader=e,this.url=t,this.t=n}upload(){return this.loader.file.then(e=>new Promise((t,n)=>{this._initRequest(),this._initListeners(t,n,e),this._sendRequest(e)}))}abort(){this.xhr&&this.xhr.abort()}_initRequest(){const e=this.xhr=new XMLHttpRequest;e.open("POST",this.url,!0),e.responseType="json"}_initListeners(e,t,n){const r=this.xhr,o=this.loader,i=(0,this.t)("a")+` ${n.name}.`;r.addEventListener("error",()=>t(i)),r.addEventListener("abort",()=>t()),r.addEventListener("load",()=>{const n=r.response;if(!n||!n.uploaded)return t(n&&n.error&&n.error.message?n.error.message:i);e({default:n.url})}),r.upload&&r.upload.addEventListener("progress",e=>{e.lengthComputable&&(o.uploadTotal=e.total,o.uploaded=e.loaded)})}_sendRequest(e){const t=new FormData;t.append("upload",e),t.append("ckCsrfToken",function(){let e=function(e){e=e.toLowerCase();const t=document.cookie.split(";");for(const n of t){const t=n.split("=");if(decodeURIComponent(t[0].trim().toLowerCase())===e)return decodeURIComponent(t[1])}return null}(jl);return e&&40==e.length||(e=function(e){let t="";const n=new Uint8Array(40);window.crypto.getRandomValues(n);for(let e=0;e<n.length;e++){const r=Fl.charAt(n[e]%Fl.length);t+=Math.random()>.5?r.toUpperCase():r}return t}(),function(e,t){document.cookie=encodeURIComponent("ckCsrfToken")+"="+encodeURIComponent(t)+";path=/"}(0,e)),e}()),this.xhr.send(t)}}class Bl{constructor(e,t,n){let r,o=null;"function"==typeof n?r=n:(o=e.commands.get(n),r=()=>{e.execute(n)}),e.model.document.on("change",(n,i)=>{if(o&&!o.isEnabled)return;if("transparent"==i.type)return;const a=Array.from(e.model.document.differ.getChanges()),s=a[0];if(1!=a.length||"insert"!==s.type||"$text"!=s.name||1!=s.length)return;const l=s.position.textNode||s.position.nodeAfter;if(!l.parent.is("paragraph"))return;const c=t.exec(l.data);c&&e.model.enqueueChange(e=>{const t=e.createPositionAt(l.parent,0),n=e.createPositionAt(l.parent,c[0].length),o=new Xo(t,n);!1!==r({match:c})&&e.remove(o),o.detach()})})}}class Vl{constructor(e,t,n){let r,o,i,a;t instanceof RegExp?r=t:i=t,"string"==typeof n?o=n:a=n,i=i||(e=>{let t;const n=[],o=[];for(;null!==(t=r.exec(e))&&!(t&&t.length<4);){let{index:e,1:r,2:i,3:a}=t;const s=r+i+a,l=[e+=t[0].length-s.length,e+r.length],c=[e+r.length+i.length,e+r.length+i.length+a.length];n.push(l),n.push(c),o.push([e+r.length,e+r.length+i.length])}return{remove:n,format:o}}),a=a||((t,n)=>{const r=e.model.schema.getValidRanges(n,o);for(const e of r)t.setAttribute(o,!0,e);t.removeSelectionAttribute(o)}),e.model.document.on("change",(t,n)=>{if("transparent"==n.type)return;const r=e.model.document.selection;if(!r.isCollapsed)return;const o=Array.from(e.model.document.differ.getChanges()),s=o[0];if(1!=o.length||"insert"!==s.type||"$text"!=s.name||1!=s.length)return;const l=r.focus.parent,c=function(e){return Array.from(e.getChildren()).reduce((e,t)=>e+t.data,"")}(l).slice(0,r.focus.offset),u=i(c),d=Ul(l,u.format,e.model),h=Ul(l,u.remove,e.model);d.length&&h.length&&e.model.enqueueChange(e=>{if(!1!==a(e,d))for(const t of h.reverse())e.remove(t)})})}}function Ul(e,t,n){return t.filter(e=>void 0!==e[0]&&void 0!==e[1]).map(t=>n.createRange(n.createPositionAt(e,t[0]),n.createPositionAt(e,t[1])))}function Wl(e,t){return(n,r)=>{if(!e.commands.get(t).isEnabled)return!1;const o=e.model.schema.getValidRanges(r,t);for(const e of o)n.setAttribute(t,!0,e);n.removeSelectionAttribute(t)}}class ql extends Hs{constructor(e,t){super(e),this.attributeKey=t}refresh(){const e=this.editor.model,t=e.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,this.attributeKey)}execute(e={}){const t=this.editor.model,n=t.document.selection,r=void 0===e.forceValue?!this.value:e.forceValue;t.change(e=>{if(n.isCollapsed)r?e.setSelectionAttribute(this.attributeKey,!0):e.removeSelectionAttribute(this.attributeKey);else{const o=t.schema.getValidRanges(n.getRanges(),this.attributeKey);for(const t of o)r?e.setAttribute(this.attributeKey,r,t):e.removeAttribute(this.attributeKey,t)}})}_getValueFromFirstAllowedNode(){const e=this.editor.model,t=e.schema,n=e.document.selection;if(n.isCollapsed)return n.hasAttribute(this.attributeKey);for(const e of n.getRanges())for(const n of e.getItems())if(t.checkAttribute(n,this.attributeKey))return n.hasAttribute(this.attributeKey);return!1}}const Gl="bold";class Ql extends Is{init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:Gl}),e.model.schema.setAttributeProperties(Gl,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:Gl,view:"strong",upcastAlso:["b",{styles:{"font-weight":"bold"}}]}),e.commands.add(Gl,new ql(e,Gl)),e.keystrokes.set("CTRL+B",Gl)}}const Jl="bold";class Kl extends Is{init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(Jl,n=>{const r=e.commands.get(Jl),o=new Ll(n);return o.set({label:t("d"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.187 17H5.773c-.637 0-1.092-.138-1.364-.415-.273-.277-.409-.718-.409-1.323V4.738c0-.617.14-1.062.419-1.332.279-.27.73-.406 1.354-.406h4.68c.69 0 1.288.041 1.793.124.506.083.96.242 1.36.478.341.197.644.447.906.75a3.262 3.262 0 0 1 .808 2.162c0 1.401-.722 2.426-2.167 3.075C15.05 10.175 16 11.315 16 13.01a3.756 3.756 0 0 1-2.296 3.504 6.1 6.1 0 0 1-1.517.377c-.571.073-1.238.11-2 .11zm-.217-6.217H7v4.087h3.069c1.977 0 2.965-.69 2.965-2.072 0-.707-.256-1.22-.768-1.537-.512-.319-1.277-.478-2.296-.478zM7 5.13v3.619h2.606c.729 0 1.292-.067 1.69-.2a1.6 1.6 0 0 0 .91-.765c.165-.267.247-.566.247-.897 0-.707-.26-1.176-.778-1.409-.519-.232-1.31-.348-2.375-.348H7z"/></svg>',keystroke:"CTRL+B",tooltip:!0,isToggleable:!0}),o.bind("isOn","isEnabled").to(r,"value","isEnabled"),this.listenTo(o,"execute",()=>e.execute(Jl)),o})}}const Xl="italic";class $l extends Is{init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:Xl}),e.model.schema.setAttributeProperties(Xl,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:Xl,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),e.commands.add(Xl,new ql(e,Xl)),e.keystrokes.set("CTRL+I",Xl)}}const Zl="italic";class ec extends Is{init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(Zl,n=>{const r=e.commands.get(Zl),o=new Ll(n);return o.set({label:t("e"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.586 14.633l.021.004c-.036.335.095.655.393.962.082.083.173.15.274.201h1.474a.6.6 0 1 1 0 1.2H5.304a.6.6 0 0 1 0-1.2h1.15c.474-.07.809-.182 1.005-.334.157-.122.291-.32.404-.597l2.416-9.55a1.053 1.053 0 0 0-.281-.823 1.12 1.12 0 0 0-.442-.296H8.15a.6.6 0 0 1 0-1.2h6.443a.6.6 0 1 1 0 1.2h-1.195c-.376.056-.65.155-.823.296-.215.175-.423.439-.623.79l-2.366 9.347z"/></svg>',keystroke:"CTRL+I",tooltip:!0,isToggleable:!0}),o.bind("isOn","isEnabled").to(r,"value","isEnabled"),this.listenTo(o,"execute",()=>e.execute(Zl)),o})}}function tc(e){const t=e.next();return t.done?null:t.value}class nc extends Hs{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,n=t.schema,r=t.document.selection,o=Array.from(r.getTopMostBlocks()),i=void 0===e.forceValue?!this.value:e.forceValue;t.change(e=>{if(i){const t=o.filter(e=>rc(e)||ic(n,e));this._applyQuote(e,t)}else this._removeQuote(e,o.filter(rc))})}_getValue(){const e=tc(this.editor.model.document.selection.getTopMostBlocks());return!(!e||!rc(e))}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,t=this.editor.model.schema,n=tc(e.getSelectedBlocks());return!!n&&ic(t,n)}_removeQuote(e,t){oc(e,t).reverse().forEach(t=>{if(t.start.isAtStart&&t.end.isAtEnd)return void e.unwrap(t.start.parent);if(t.start.isAtStart){const n=e.createPositionBefore(t.start.parent);return void e.move(t,n)}t.end.isAtEnd||e.split(t.end);const n=e.createPositionAfter(t.end.parent);e.move(t,n)})}_applyQuote(e,t){const n=[];oc(e,t).reverse().forEach(t=>{let r=rc(t.start);r||(r=e.createElement("blockQuote"),e.wrap(t,r)),n.push(r)}),n.reverse().reduce((t,n)=>t.nextSibling==n?(e.merge(e.createPositionAfter(t)),t):n)}}function rc(e){return"blockQuote"==e.parent.name?e.parent:null}function oc(e,t){let n,r=0;const o=[];for(;r<t.length;){const i=t[r],a=t[r+1];n||(n=e.createPositionBefore(i)),a&&i.nextSibling==a||(o.push(e.createRange(n,e.createPositionAfter(i))),n=null),r++}return o}function ic(e,t){const n=e.checkChild(t.parent,"blockQuote"),r=e.checkChild(["$root","blockQuote"],t);return n&&r}class ac extends Is{init(){const e=this.editor,t=e.model.schema;e.commands.add("blockQuote",new nc(e)),t.register("blockQuote",{allowWhere:"$block",allowContentOf:"$root"}),t.addChildCheck((e,t)=>{if(e.endsWith("blockQuote")&&"blockQuote"==t.name)return!1}),e.conversion.elementToElement({model:"blockQuote",view:"blockquote"}),e.model.document.registerPostFixer(n=>{const r=e.model.document.differ.getChanges();for(const e of r)if("insert"==e.type){const r=e.position.nodeAfter;if(!r)continue;if(r.is("blockQuote")&&r.isEmpty)return n.remove(r),!0;if(r.is("blockQuote")&&!t.checkChild(e.position,r))return n.unwrap(r),!0;if(r.is("element")){const e=n.createRangeIn(r);for(const r of e.getItems())if(r.is("blockQuote")&&!t.checkChild(n.createPositionBefore(r),r))return n.unwrap(r),!0}}else if("remove"==e.type){const t=e.position.parent;if(t.is("blockQuote")&&t.isEmpty)return n.remove(t),!0}return!1})}afterInit(){const e=this.editor.commands.get("blockQuote");this.listenTo(this.editor.editing.view.document,"enter",(t,n)=>{const r=this.editor.model.document,o=r.selection.getLastPosition().parent;r.selection.isCollapsed&&o.isEmpty&&e.value&&(this.editor.execute("blockQuote"),this.editor.editing.view.scrollToTheSelection(),n.preventDefault(),t.stop())})}}n(34);class sc extends Is{init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("blockQuote",n=>{const r=e.commands.get("blockQuote"),o=new Ll(n);return o.set({label:t("f"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 10.423a6.5 6.5 0 0 1 6.056-6.408l.038.67C6.448 5.423 5.354 7.663 5.22 10H9c.552 0 .5.432.5.986v4.511c0 .554-.448.503-1 .503h-5c-.552 0-.5-.449-.5-1.003v-4.574zm8 0a6.5 6.5 0 0 1 6.056-6.408l.038.67c-2.646.739-3.74 2.979-3.873 5.315H17c.552 0 .5.432.5.986v4.511c0 .554-.448.503-1 .503h-5c-.552 0-.5-.449-.5-1.003v-4.574z"/></svg>',tooltip:!0,isToggleable:!0}),o.bind("isOn","isEnabled").to(r,"value","isEnabled"),this.listenTo(o,"execute",()=>e.execute("blockQuote")),o})}}class lc extends Is{static get pluginName(){return"CKFinderUI"}init(){const e=this.editor,t=e.ui.componentFactory,n=e.t;t.add("ckfinder",t=>{const r=e.commands.get("ckfinder"),o=new Ll(t);return o.set({label:n("g"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.627 16.5zm5.873-.196zm0-7.001V8h-13v8.5h4.341c.191.54.457 1.044.785 1.5H2a1.5 1.5 0 0 1-1.5-1.5v-13A1.5 1.5 0 0 1 2 2h4.5a1.5 1.5 0 0 1 1.06.44L9.122 4H16a1.5 1.5 0 0 1 1.5 1.5v1A1.5 1.5 0 0 1 19 8v2.531a6.027 6.027 0 0 0-1.5-1.228zM16 6.5v-1H8.5l-2-2H2v13h1V8a1.5 1.5 0 0 1 1.5-1.5H16z"/><path d="M14.5 19.5a5 5 0 1 1 0-10 5 5 0 0 1 0 10zM15 14v-2h-1v2h-2v1h2v2h1v-2h2v-1h-2z"/></svg>',tooltip:!0}),o.bind("isEnabled").to(r),o.on("execute",()=>{e.execute("ckfinder"),e.editing.view.focus()}),o})}}class cc extends Is{static get pluginName(){return"Notification"}init(){this.on("show:warning",(e,t)=>{window.alert(t.message)},{priority:"lowest"})}showSuccess(e,t={}){this._showNotification({message:e,type:"success",namespace:t.namespace,title:t.title})}showInfo(e,t={}){this._showNotification({message:e,type:"info",namespace:t.namespace,title:t.title})}showWarning(e,t={}){this._showNotification({message:e,type:"warning",namespace:t.namespace,title:t.title})}_showNotification(e){const t="show:"+e.type+(e.namespace?":"+e.namespace:"");this.fire(t,{message:e.message,type:e.type,title:e.title||""})}}class uc extends Hs{constructor(e){super(e),this.stopListening(this.editor.model.document,"change"),this.listenTo(this.editor.model.document,"change",()=>this.refresh(),{priority:"low"})}refresh(){const e=this.editor.commands.get("imageUpload"),t=this.editor.commands.get("link");this.isEnabled=e&&t&&(e.isEnabled||t.isEnabled)}execute(){const e=this.editor,t=this.editor.config.get("ckfinder.openerMethod")||"modal";if("popup"!=t&&"modal"!=t)throw new _t.b('ckfinder-unknown-openerMethod: The openerMethod config option must by "popup" or "modal".',e);const n=this.editor.config.get("ckfinder.options")||{};n.chooseFiles=!0;const r=n.onInit;n.language||(n.language=e.locale.uiLanguage),n.onInit=t=>{r&&r(t),t.on("files:choose",n=>{const r=n.data.files.toArray(),o=r.filter(e=>!e.isImage()),i=r.filter(e=>e.isImage());for(const t of o)e.execute("link",t.getUrl());const a=[];for(const e of i){const n=e.getUrl();a.push(n||t.request("file:getProxyUrl",{file:e}))}a.length&&dc(e,a)}),t.on("file:choose:resizedImage",t=>{const n=t.data.resizedUrl;if(n)dc(e,[n]);else{const t=e.plugins.get("Notification"),n=e.locale.t;t.showWarning(n("ar"),{title:n("as"),namespace:"ckfinder"})}})},window.CKFinder[t](n)}}function dc(e,t){if(e.commands.get("imageUpload").isEnabled)e.execute("imageInsert",{source:t});else{const t=e.plugins.get("Notification"),n=e.locale.t;t.showWarning(n("at"),{title:n("au"),namespace:"ckfinder"})}}class hc extends Is{static get pluginName(){return"CKFinderEditing"}static get requires(){return[cc]}init(){const e=this.editor;e.commands.add("ckfinder",new uc(e))}}const fc=/^data:(\S*?);base64,/;class pc{constructor(e,t,n){if(!e)throw new _t.b("fileuploader-missing-file: File must be provided as the first argument",null);if(!t)throw new _t.b("fileuploader-missing-token: Token must be provided as the second argument.",null);if(!n)throw new _t.b("fileuploader-missing-api-address: Api address must be provided as the third argument.",null);this.file=function(e){if("string"!=typeof e)return!1;const t=e.match(fc);return!(!t||!t.length)}(e)?function(e,t=512){try{const n=e.match(fc)[1],r=atob(e.replace(fc,"")),o=[];for(let e=0;e<r.length;e+=t){const n=r.slice(e,e+t),i=new Array(n.length);for(let e=0;e<n.length;e++)i[e]=n.charCodeAt(e);o.push(new Uint8Array(i))}return new Blob(o,{type:n})}catch(e){throw new _t.b("fileuploader-decoding-image-data-error: Problem with decoding Base64 image data.",null)}}(e):e,this._token=t,this._apiAddress=n}onProgress(e){return this.on("progress",(t,n)=>e(n)),this}onError(e){return this.once("error",(t,n)=>e(n)),this}abort(){this.xhr.abort()}send(){return this._prepareRequest(),this._attachXHRListeners(),this._sendRequest()}_prepareRequest(){const e=new XMLHttpRequest;e.open("POST",this._apiAddress),e.setRequestHeader("Authorization",this._token.value),e.responseType="json",this.xhr=e}_attachXHRListeners(){const e=this,t=this.xhr;function n(t){return()=>e.fire("error",t)}t.addEventListener("error",n("Network Error")),t.addEventListener("abort",n("Abort")),t.upload&&t.upload.addEventListener("progress",e=>{e.lengthComputable&&this.fire("progress",{total:e.total,uploaded:e.loaded})}),t.addEventListener("load",()=>{const e=t.status,n=t.response;if(e<200||e>299)return this.fire("error",n.message||n.error)})}_sendRequest(){const e=new FormData,t=this.xhr;return e.append("file",this.file),new Promise((n,r)=>{t.addEventListener("load",()=>{const e=t.status,o=t.response;return e<200||e>299?o.message?r(new _t.b("fileuploader-uploading-data-failed: Uploading file failed.",this,{message:o.message})):r(o.error):n(o)}),t.addEventListener("error",()=>r(new Error("Network Error"))),t.addEventListener("abort",()=>r(new Error("Abort"))),t.send(e)})}}Ct(pc,Mt);const mc={refreshInterval:36e5,autoRefresh:!0};class gc{constructor(e,t=mc){if(!e)throw new _t.b("token-missing-token-url: A `tokenUrl` must be provided as the first constructor argument.",this);this.set("value",t.initValue),this._refresh="function"==typeof e?e:()=>function(e){return new Promise((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e),r.addEventListener("load",()=>{const e=r.status,o=r.response;return e<200||e>299?n(new _t.b("token-cannot-download-new-token: Cannot download new token from the provided url.",null)):t(o)}),r.addEventListener("error",()=>n(new Error("Network Error"))),r.addEventListener("abort",()=>n(new Error("Abort"))),r.send()})}(e),this._options=Object.assign({},mc,t)}init(){return new Promise((e,t)=>{this._options.autoRefresh&&this._startRefreshing(),this.value?e(this):this._refreshToken().then(e).catch(t)})}_refreshToken(){return this._refresh().then(e=>this.set("value",e)).then(()=>this)}destroy(){this._stopRefreshing()}_startRefreshing(){this._refreshInterval=setInterval(()=>this._refreshToken(),this._options.refreshInterval)}_stopRefreshing(){clearInterval(this._refreshInterval)}static create(e,t=mc){return new gc(e,t).init()}}Ct(gc,on);var _c=gc;class bc extends Is{static get pluginName(){return"CloudServices"}init(){const e=this.editor.config.get("cloudServices")||{};for(const t in e)this[t]=e[t];if(this.tokenUrl)return this.token=new bc.Token(this.tokenUrl),this.token.init();this.token=null}}bc.Token=_c;class vc extends Is{static get requires(){return[Yl,bc]}init(){const e=this.editor,t=e.plugins.get(bc),n=t.token,r=t.uploadUrl;n&&(this._uploadGateway=new vc._UploadGateway(n,r),e.plugins.get(Yl).createUploadAdapter=e=>new yc(this._uploadGateway,e))}}class yc{constructor(e,t){this.uploadGateway=e,this.loader=t}upload(){return this.loader.file.then(e=>(this.fileUploader=this.uploadGateway.upload(e),this.fileUploader.on("progress",(e,t)=>{this.loader.uploadTotal=t.total,this.loader.uploaded=t.uploaded}),this.fileUploader.send()))}abort(){this.fileUploader.abort()}}vc._UploadGateway=class{constructor(e,t){if(!e)throw new _t.b("uploadgateway-missing-token: Token must be provided.",null);if(!t)throw new _t.b("uploadgateway-missing-api-address: Api address must be provided.",null);this._token=e,this._apiAddress=t}upload(e){return new pc(e,this._token,this._apiAddress)}};class wc extends Cr{constructor(e){super(e),this._observedElements=new Set}observe(e,t){this.document.getRoot(t).on("change:children",(t,n)=>{this.view.once("render",()=>this._updateObservedElements(e,n))})}_updateObservedElements(e,t){if(!t.is("element")||t.is("attributeElement"))return;const n=this.view.domConverter.mapViewToDom(t);if(n){for(const e of n.querySelectorAll("img"))this._observedElements.has(e)||(this.listenTo(e,"load",(e,t)=>this._fireEvents(t)),this._observedElements.add(e));for(const t of this._observedElements)e.contains(t)||(this.stopListening(t),this._observedElements.delete(t))}}_fireEvents(e){this.isEnabled&&(this.document.fire("layoutChanged"),this.document.fire("imageLoaded",e))}destroy(){this._observedElements.clear(),super.destroy()}}function kc(e){return n=>{n.on(`attribute:${e}:image`,t)};function t(e,t,n){if(!n.consumable.consume(t.item,e.name))return;const r=n.writer,o=n.mapper.toViewElement(t.item).getChild(0);null!==t.attributeNewValue?r.setAttribute(t.attributeKey,t.attributeNewValue,o):r.removeAttribute(t.attributeKey,o)}}class Mc{constructor(){this._stack=[]}add(e,t){const n=this._stack,r=n[0];this._insertDescriptor(e);const o=n[0];r===o||xc(r,o)||this.fire("change:top",{oldDescriptor:r,newDescriptor:o,writer:t})}remove(e,t){const n=this._stack,r=n[0];this._removeDescriptor(e);const o=n[0];r===o||xc(r,o)||this.fire("change:top",{oldDescriptor:r,newDescriptor:o,writer:t})}_insertDescriptor(e){const t=this._stack,n=t.findIndex(t=>t.id===e.id);if(xc(e,t[n]))return;n>-1&&t.splice(n,1);let r=0;for(;t[r]&&Tc(t[r],e);)r++;t.splice(r,0,e)}_removeDescriptor(e){const t=this._stack,n=t.findIndex(t=>t.id===e);n>-1&&t.splice(n,1)}}function xc(e,t){return e&&t&&e.priority==t.priority&&Ec(e.classes)==Ec(t.classes)}function Tc(e,t){return e.priority>t.priority||!(e.priority<t.priority)&&Ec(e.classes)>Ec(t.classes)}function Ec(e){return Array.isArray(e)?e.sort().join(","):e}Ct(Mc,Mt);const Sc="ck-widget_selected";function Dc(e){return!!e.is("element")&&!!e.getCustomProperty("widget")}function Lc(e,t,n={}){return Pn||t.setAttribute("contenteditable","false",e),t.addClass("ck-widget",e),t.setCustomProperty("widget",!0,e),e.getFillerOffset=Ac,n.label&&function(e,t,n){n.setCustomProperty("widgetLabel",t,e)}(e,n.label,t),n.hasSelectionHandler&&function(e,t){const n=t.createUIElement("div",{class:"ck ck-widget__selection-handler"},(function(e){const t=this.toDomElement(e),n=new Sl;return n.set("content",'<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M4 0v1H1v3H0V.5A.5.5 0 0 1 .5 0H4zm8 0h3.5a.5.5 0 0 1 .5.5V4h-1V1h-3V0zM4 16H.5a.5.5 0 0 1-.5-.5V12h1v3h3v1zm8 0v-1h3v-3h1v3.5a.5.5 0 0 1-.5.5H12z"/><path fill-opacity=".256" d="M1 1h14v14H1z"/><g class="ck-icon__selected-indicator"><path d="M7 0h2v1H7V0zM0 7h1v2H0V7zm15 0h1v2h-1V7zm-8 8h2v1H7v-1z"/><path fill-opacity=".254" d="M1 1h14v14H1z"/></g></svg>'),n.render(),t.appendChild(n.element),t}));t.insert(t.createPositionAt(e,0),n),t.addClass(["ck-widget_with-selection-handler"],e)}(e,t),function(e,t,n,r){const o=new Mc;o.on("change:top",(t,o)=>{o.oldDescriptor&&r(e,o.oldDescriptor,o.writer),o.newDescriptor&&n(e,o.newDescriptor,o.writer)}),t.setCustomProperty("addHighlight",(e,t,n)=>o.add(t,n),e),t.setCustomProperty("removeHighlight",(e,t,n)=>o.remove(t,n),e)}(e,t,(e,t,n)=>n.addClass(r(t.classes),e),(e,t,n)=>n.removeClass(r(t.classes),e)),e;function r(e){return Array.isArray(e)?e:[e]}}function Cc(e){const t=e.getCustomProperty("widgetLabel");return t?"function"==typeof t?t():t:""}function Pc(e,t){return t.addClass(["ck-editor__editable","ck-editor__nested-editable"],e),Pn||(t.setAttribute("contenteditable",e.isReadOnly?"false":"true",e),e.on("change:isReadOnly",(n,r,o)=>{t.setAttribute("contenteditable",o?"false":"true",e)})),e.on("change:isFocused",(n,r,o)=>{o?t.addClass("ck-editor__nested-editable_focused",e):t.removeClass("ck-editor__nested-editable_focused",e)}),e}function Oc(e,t){const n=e.getSelectedElement();if(n&&t.schema.isBlock(n))return t.createPositionAfter(n);const r=e.getSelectedBlocks().next().value;if(r){if(r.isEmpty)return t.createPositionAt(r,0);const n=t.createPositionAfter(r);return e.focus.isTouching(n)?n:t.createPositionBefore(r)}return e.focus}function Ac(){return null}function Nc(e){const t=e.getSelectedElement();return t&&function(e){return!!e.getCustomProperty("image")&&Dc(e)}(t)?t:null}function Ic(e){return!!e&&e.is("image")}function Yc(e,t,n={}){const r=e.createElement("image",n),o=Oc(t.document.selection,t);t.insertContent(r,o),r.parent&&e.setSelection(r,"on")}function Rc(e){const t=e.schema,n=e.document.selection;return function(e,t,n){const r=function(e,t){const n=Oc(e,t).parent;return n.isEmpty&&!n.is("$root")?n.parent:n}(e,n);return t.checkChild(r,"image")}(n,t,e)&&!function(e,t){const n=e.getSelectedElement();return n&&t.isObject(n)}(n,t)&&function(e){return[...e.focus.getAncestors()].every(e=>!e.is("image"))}(n)}class jc extends Hs{refresh(){this.isEnabled=Rc(this.editor.model)}execute(e){const t=this.editor.model;t.change(n=>{const r=Array.isArray(e.source)?e.source:[e.source];for(const e of r)Yc(n,t,{src:e})})}}class Fc extends Is{init(){const e=this.editor,t=e.model.schema,n=e.t,r=e.conversion;e.editing.view.addObserver(wc),t.register("image",{isObject:!0,isBlock:!0,allowWhere:"$block",allowAttributes:["alt","src","srcset"]}),r.for("dataDowncast").elementToElement({model:"image",view:(e,t)=>Hc(t)}),r.for("editingDowncast").elementToElement({model:"image",view:(e,t)=>function(e,t,n){return t.setCustomProperty("image",!0,e),Lc(e,t,{label:function(){const t=e.getChild(0).getAttribute("alt");return t?`${t} ${n}`:n}})}(Hc(t),t,n("j"))}),r.for("downcast").add(kc("src")).add(kc("alt")).add(function(){return t=>{t.on("attribute:srcset:image",e)};function e(e,t,n){if(!n.consumable.consume(t.item,e.name))return;const r=n.writer,o=n.mapper.toViewElement(t.item).getChild(0);if(null===t.attributeNewValue){const e=t.attributeOldValue;e.data&&(r.removeAttribute("srcset",o),r.removeAttribute("sizes",o),e.width&&r.removeAttribute("width",o))}else{const e=t.attributeNewValue;e.data&&(r.setAttribute("srcset",e.data,o),r.setAttribute("sizes","100vw",o),e.width&&r.setAttribute("width",e.width,o))}}}()),r.for("upcast").elementToElement({view:{name:"img",attributes:{src:!0}},model:(e,t)=>t.createElement("image",{src:e.getAttribute("src")})}).attributeToAttribute({view:{name:"img",key:"alt"},model:"alt"}).attributeToAttribute({view:{name:"img",key:"srcset"},model:{key:"srcset",value:e=>{const t={data:e.getAttribute("srcset")};return e.hasAttribute("width")&&(t.width=e.getAttribute("width")),t}}}).add(function(){return t=>{t.on("element:figure",e)};function e(e,t,n){if(!n.consumable.test(t.viewItem,{name:!0,classes:"image"}))return;const r=Array.from(t.viewItem.getChildren()).find(e=>e.is("img"));if(!r||!r.hasAttribute("src")||!n.consumable.test(r,{name:!0}))return;const o=n.convertItem(r,t.modelCursor),i=tc(o.modelRange.getItems());i&&(n.convertChildren(t.viewItem,n.writer.createPositionAt(i,0)),t.modelRange=o.modelRange,t.modelCursor=o.modelCursor)}}()),e.commands.add("imageInsert",new jc(e))}}function Hc(e){const t=e.createEmptyElement("img"),n=e.createContainerElement("figure",{class:"image"});return e.insert(e.createPositionAt(n,0),t),n}class zc extends Kr{constructor(e){super(e),this.domEventType="mousedown"}onDomEvent(e){this.fire(e.type,e)}}n(36);const Bc=Fn("Ctrl+A");class Vc extends Is{static get pluginName(){return"Widget"}init(){const e=this.editor.editing.view,t=e.document;this._previouslySelected=new Set,this.editor.editing.downcastDispatcher.on("selection",(e,t,n)=>{this._clearPreviouslySelectedWidgets(n.writer);const r=n.writer,o=r.document.selection,i=o.getSelectedElement();let a=null;for(const e of o.getRanges())for(const t of e){const e=t.item;Dc(e)&&!Uc(e,a)&&(r.addClass(Sc,e),this._previouslySelected.add(e),a=e,e==i&&r.setSelection(o.getRanges(),{fake:!0,label:Cc(i)}))}},{priority:"low"}),e.addObserver(zc),this.listenTo(t,"mousedown",(...e)=>this._onMousedown(...e)),this.listenTo(t,"keydown",(...e)=>this._onKeydown(...e),{priority:"high"}),this.listenTo(t,"delete",(e,t)=>{this._handleDelete("forward"==t.direction)&&(t.preventDefault(),e.stop())},{priority:"high"})}_onMousedown(e,t){const n=this.editor,r=n.editing.view,o=r.document;let i=t.target;if(function(e){for(;e;){if(e.is("editableElement")&&!e.is("rootElement"))return!0;if(Dc(e))return!1;e=e.parent}return!1}(i)){if(An&&t.domEvent.detail>=3){const e=n.editing.mapper.toModelElement(i);this.editor.model.change(n=>{t.preventDefault(),n.setSelection(e,"in")})}return}if(!Dc(i)&&!(i=i.findAncestor(Dc)))return;t.preventDefault(),o.isFocused||r.focus();const a=n.editing.mapper.toModelElement(i);this._setSelectionOverElement(a)}_onKeydown(e,t){const n=t.keyCode,r=n==Rn.arrowdown||n==Rn.arrowright;let o=!1;!function(e){return e==Rn.arrowright||e==Rn.arrowleft||e==Rn.arrowup||e==Rn.arrowdown}(n)?function(e){return jn(e)==Bc}(t)?o=this._selectAllNestedEditableContent()||this._selectAllContent():n===Rn.enter&&(o=this._handleEnterKey(t.shiftKey)):o=this._handleArrowKeys(r),o&&(t.preventDefault(),e.stop())}_handleDelete(e){if(this.editor.isReadOnly)return;const t=this.editor.model.document.selection;if(!t.isCollapsed)return;const n=this._getObjectElementNextToSelection(e);return n?(this.editor.model.change(e=>{let r=t.anchor.parent;for(;r.isEmpty;){const t=r;r=t.parent,e.remove(t)}this._setSelectionOverElement(n)}),!0):void 0}_handleArrowKeys(e){const t=this.editor.model,n=t.schema,r=t.document.selection,o=r.getSelectedElement();if(o&&n.isObject(o)){const o=e?r.getLastPosition():r.getFirstPosition(),i=n.getNearestSelectionRange(o,e?"forward":"backward");return i&&t.change(e=>{e.setSelection(i)}),!0}if(!r.isCollapsed)return;const i=this._getObjectElementNextToSelection(e);return i&&n.isObject(i)?(this._setSelectionOverElement(i),!0):void 0}_handleEnterKey(e){const t=this.editor.model,n=t.document.selection.getSelectedElement();if(function(e,t){return e&&t.isObject(e)&&!t.isInline(e)}(n,t.schema))return t.change(r=>{let o=r.createPositionAt(n,e?"before":"after");const i=r.createElement("paragraph");if(t.schema.isBlock(n.parent)){const e=t.schema.findAllowedParent(o,i);o=r.split(o,e).position}r.insert(i,o),r.setSelection(i,"in")}),!0}_selectAllNestedEditableContent(){const e=this.editor.model,t=e.document.selection,n=e.schema.getLimitElement(t);return t.getFirstRange().root!=n&&(e.change(e=>{e.setSelection(e.createRangeIn(n))}),!0)}_selectAllContent(){const e=this.editor.model,t=this.editor.editing,n=t.view.document.selection.getSelectedElement();if(n&&Dc(n)){const r=t.mapper.toModelElement(n.parent);return e.change(e=>{e.setSelection(e.createRangeIn(r))}),!0}return!1}_setSelectionOverElement(e){this.editor.model.change(t=>{t.setSelection(t.createRangeOn(e))})}_getObjectElementNextToSelection(e){const t=this.editor.model,n=t.schema,r=t.document.selection,o=t.createSelection(r);t.modifySelection(o,{direction:e?"forward":"backward"});const i=e?o.focus.nodeBefore:o.focus.nodeAfter;return i&&n.isObject(i)?i:null}_clearPreviouslySelectedWidgets(e){for(const t of this._previouslySelected)e.removeClass(Sc,t);this._previouslySelected.clear()}}function Uc(e,t){return!!t&&Array.from(e.getAncestors()).includes(t)}class Wc extends Hs{refresh(){const e=this.editor.model.document.selection.getSelectedElement();this.isEnabled=Ic(e),Ic(e)&&e.hasAttribute("alt")?this.value=e.getAttribute("alt"):this.value=!1}execute(e){const t=this.editor.model,n=t.document.selection.getSelectedElement();t.change(t=>{t.setAttribute("alt",e.newValue,n)})}}class qc extends Is{init(){this.editor.commands.add("imageTextAlternative",new Wc(this.editor))}}function Gc({emitter:e,activator:t,callback:n,contextElements:r}){e.listenTo(document,"mousedown",(e,{target:o})=>{if(t()){for(const e of r)if(e.contains(o))return;n()}})}n(38);class Qc extends ys{constructor(e,t){super(e);const n="ck-input-"+vt(),r="ck-status-"+vt();this.set("label"),this.set("value"),this.set("isReadOnly",!1),this.set("errorText",null),this.set("infoText",null),this.labelView=this._createLabelView(n),this.inputView=this._createInputView(t,n,r),this.statusView=this._createStatusView(r),this.bind("_statusText").to(this,"errorText",this,"infoText",(e,t)=>e||t);const o=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-input",o.if("isReadOnly","ck-disabled")]},children:[this.labelView,this.inputView,this.statusView]})}_createLabelView(e){const t=new ks(this.locale);return t.for=e,t.bind("text").to(this,"label"),t}_createInputView(e,t,n){const r=new e(this.locale,n);return r.id=t,r.ariaDescribedById=n,r.bind("value").to(this),r.bind("isReadOnly").to(this),r.bind("hasError").to(this,"errorText",e=>!!e),r.on("input",()=>{this.errorText=null}),r}_createStatusView(e){const t=new ys(this.locale),n=this.bindTemplate;return t.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-input__status",n.if("errorText","ck-labeled-input__status_error"),n.if("_statusText","ck-hidden",e=>!e)],id:e,role:n.if("errorText","alert")},children:[{text:n.to("_statusText")}]}),t}select(){this.inputView.select()}focus(){this.inputView.focus()}}n(40);class Jc extends ys{constructor(e){super(e),this.set("value"),this.set("id"),this.set("placeholder"),this.set("isReadOnly",!1),this.set("hasError",!1),this.set("ariaDescribedById");const t=this.bindTemplate;this.setTemplate({tag:"input",attributes:{type:"text",class:["ck","ck-input","ck-input-text",t.if("hasError","ck-error")],id:t.to("id"),placeholder:t.to("placeholder"),readonly:t.to("isReadOnly"),"aria-invalid":t.if("hasError",!0),"aria-describedby":t.to("ariaDescribedById")},on:{input:t.to("input")}})}render(){super.render();const e=e=>{this.element.value=e||0===e?e:""};e(this.value),this.on("change:value",(t,n,r)=>{e(r)})}select(){this.element.select()}focus(){this.element.focus()}}function Kc({view:e}){e.listenTo(e.element,"submit",(t,n)=>{n.preventDefault(),e.fire("submit")},{useCapture:!0})}var Xc='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.972 16.615a.997.997 0 0 1-.744-.292l-4.596-4.596a1 1 0 1 1 1.414-1.414l3.926 3.926 9.937-9.937a1 1 0 0 1 1.414 1.415L7.717 16.323a.997.997 0 0 1-.745.292z"/></svg>',$c='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.591 10.177l4.243 4.242a1 1 0 0 1-1.415 1.415l-4.242-4.243-4.243 4.243a1 1 0 0 1-1.414-1.415l4.243-4.242L4.52 5.934A1 1 0 0 1 5.934 4.52l4.243 4.243 4.242-4.243a1 1 0 1 1 1.415 1.414l-4.243 4.243z"/></svg>';n(42);class Zc extends ys{constructor(e){super(e);const t=this.locale.t;this.focusTracker=new Ga,this.keystrokes=new ja,this.labeledInput=this._createLabeledInputView(),this.saveButtonView=this._createButton(t("bd"),Xc,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(t("be"),$c,"ck-button-cancel","cancel"),this._focusables=new ts,this._focusCycler=new Ls({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-text-alternative-form"],tabindex:"-1"},children:[this.labeledInput,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),this.keystrokes.listenTo(this.element),Kc({view:this}),[this.labeledInput,this.saveButtonView,this.cancelButtonView].forEach(e=>{this._focusables.add(e),this.focusTracker.add(e.element)})}_createButton(e,t,n,r){const o=new Ll(this.locale);return o.set({label:e,icon:t,tooltip:!0}),o.extendTemplate({attributes:{class:n}}),r&&o.delegate("execute").to(this,r),o}_createLabeledInputView(){const e=this.locale.t,t=new Qc(this.locale,Jc);return t.label=e("ca"),t.inputView.placeholder=e("ca"),t}}function eu({element:e,target:t,positions:n,limiter:r,fitInViewport:o}){S(t)&&(t=t()),S(r)&&(r=r());const i=function(e){for(;e&&"html"!=e.tagName.toLowerCase();){if("static"!=yr.window.getComputedStyle(e).position)return e;e=e.parentElement}return null}(e.parentElement),a=new bo(e),s=new bo(t);let l,c;if(r||o){const e=r&&new bo(r).getVisible(),t=o&&new bo(yr.window);[c,l]=function(e,t,n,r,o){let i,a,s=0,l=0;const c=n.getArea();return e.some(e=>{const[u,d]=tu(e,t,n);let h,f;if(r)if(o){const e=r.getIntersection(o);h=e?e.getIntersectionArea(d):0}else h=r.getIntersectionArea(d);function p(){l=f,s=h,i=d,a=u}return o&&(f=o.getIntersectionArea(d)),o&&!r?f>l&&p():!o&&r?h>s&&p():(f>l&&h>=s||f>=l&&h>s)&&p(),h===c}),i?[a,i]:null}(n,s,a,e,t)||tu(n[0],s,a)}else[c,l]=tu(n[0],s,a);let{left:u,top:d}=nu(l);if(i){const e=nu(new bo(i)),t=go(i);u-=e.left,d-=e.top,u+=i.scrollLeft,d+=i.scrollTop,u-=t.left,d-=t.top}return{left:u,top:d,name:c}}function tu(e,t,n){const{left:r,top:o,name:i}=e(t,n);return[i,n.clone().moveTo(r,o)]}function nu({left:e,top:t}){const{scrollX:n,scrollY:r}=yr.window;return{left:e+n,top:t+r}}n(44);const ru=Es("px"),ou=yr.document.body;class iu extends ys{constructor(e){super(e);const t=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("position","arrow_nw"),this.set("isVisible",!1),this.set("withArrow",!0),this.set("class"),this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-panel",t.to("position",e=>"ck-balloon-panel_"+e),t.if("isVisible","ck-balloon-panel_visible"),t.if("withArrow","ck-balloon-panel_with-arrow"),t.to("class")],style:{top:t.to("top",ru),left:t.to("left",ru)}},children:this.content})}show(){this.isVisible=!0}hide(){this.isVisible=!1}attachTo(e){this.show();const t=iu.defaultPositions,n=Object.assign({},{element:this.element,positions:[t.southArrowNorth,t.southArrowNorthWest,t.southArrowNorthEast,t.northArrowSouth,t.northArrowSouthWest,t.northArrowSouthEast],limiter:ou,fitInViewport:!0},e),r=iu._getOptimalPosition(n),o=parseInt(r.left),i=parseInt(r.top),a=r.name;Object.assign(this,{top:i,left:o,position:a})}pin(e){this.unpin(),this._pinWhenIsVisibleCallback=()=>{this.isVisible?this._startPinning(e):this._stopPinning()},this._startPinning(e),this.listenTo(this,"change:isVisible",this._pinWhenIsVisibleCallback)}unpin(){this._pinWhenIsVisibleCallback&&(this._stopPinning(),this.stopListening(this,"change:isVisible",this._pinWhenIsVisibleCallback),this._pinWhenIsVisibleCallback=null,this.hide())}_startPinning(e){this.attachTo(e);const t=au(e.target),n=e.limiter?au(e.limiter):ou;this.listenTo(yr.document,"scroll",(r,o)=>{const i=o.target,a=t&&i.contains(t),s=n&&i.contains(n);!a&&!s&&t&&n||this.attachTo(e)},{useCapture:!0}),this.listenTo(yr.window,"resize",()=>{this.attachTo(e)})}_stopPinning(){this.stopListening(yr.document,"scroll"),this.stopListening(yr.window,"resize")}}function au(e){return pt(e)?e:mo(e)?e.commonAncestorContainer:"function"==typeof e?au(e()):null}function su(e,t){return e.top-t.height-iu.arrowVerticalOffset}function lu(e){return e.bottom+iu.arrowVerticalOffset}iu.arrowHorizontalOffset=25,iu.arrowVerticalOffset=10,iu._getOptimalPosition=eu,iu.defaultPositions={northArrowSouth:(e,t)=>({top:su(e,t),left:e.left+e.width/2-t.width/2,name:"arrow_s"}),northArrowSouthEast:(e,t)=>({top:su(e,t),left:e.left+e.width/2-t.width+iu.arrowHorizontalOffset,name:"arrow_se"}),northArrowSouthWest:(e,t)=>({top:su(e,t),left:e.left+e.width/2-iu.arrowHorizontalOffset,name:"arrow_sw"}),northWestArrowSouth:(e,t)=>({top:su(e,t),left:e.left-t.width/2,name:"arrow_s"}),northWestArrowSouthWest:(e,t)=>({top:su(e,t),left:e.left-iu.arrowHorizontalOffset,name:"arrow_sw"}),northWestArrowSouthEast:(e,t)=>({top:su(e,t),left:e.left-t.width+iu.arrowHorizontalOffset,name:"arrow_se"}),northEastArrowSouth:(e,t)=>({top:su(e,t),left:e.right-t.width/2,name:"arrow_s"}),northEastArrowSouthEast:(e,t)=>({top:su(e,t),left:e.right-t.width+iu.arrowHorizontalOffset,name:"arrow_se"}),northEastArrowSouthWest:(e,t)=>({top:su(e,t),left:e.right-iu.arrowHorizontalOffset,name:"arrow_sw"}),southArrowNorth:(e,t)=>({top:lu(e),left:e.left+e.width/2-t.width/2,name:"arrow_n"}),southArrowNorthEast:(e,t)=>({top:lu(e),left:e.left+e.width/2-t.width+iu.arrowHorizontalOffset,name:"arrow_ne"}),southArrowNorthWest:(e,t)=>({top:lu(e),left:e.left+e.width/2-iu.arrowHorizontalOffset,name:"arrow_nw"}),southWestArrowNorth:(e,t)=>({top:lu(e),left:e.left-t.width/2,name:"arrow_n"}),southWestArrowNorthWest:(e,t)=>({top:lu(e),left:e.left-iu.arrowHorizontalOffset,name:"arrow_nw"}),southWestArrowNorthEast:(e,t)=>({top:lu(e),left:e.left-t.width+iu.arrowHorizontalOffset,name:"arrow_ne"}),southEastArrowNorth:(e,t)=>({top:lu(e),left:e.right-t.width/2,name:"arrow_n"}),southEastArrowNorthEast:(e,t)=>({top:lu(e),left:e.right-t.width+iu.arrowHorizontalOffset,name:"arrow_ne"}),southEastArrowNorthWest:(e,t)=>({top:lu(e),left:e.right-iu.arrowHorizontalOffset,name:"arrow_nw"})},n(46),n(48);const cu=Es("px");class uu extends Is{static get pluginName(){return"ContextualBalloon"}constructor(e){super(e),this.positionLimiter=()=>{const e=this.editor.editing.view,t=e.document.selection.editableElement;return t?e.domConverter.mapViewToDom(t.root):null},this.set("visibleView",null),this.view=new iu(e.locale),e.ui.view.body.add(this.view),e.ui.focusTracker.add(this.view.element),this._viewToStack=new Map,this._idToStack=new Map,this.set("_numberOfStacks",0),this.set("_singleViewMode",!1),this._rotatorView=this._createRotatorView(),this._fakePanelsView=this._createFakePanelsView()}hasView(e){return Array.from(this._viewToStack.keys()).includes(e)}add(e){if(this.hasView(e.view))throw new _t.b("contextualballoon-add-view-exist: Cannot add configuration of the same view twice.",[this,e]);const t=e.stackId||"main";if(!this._idToStack.has(t))return this._idToStack.set(t,new Map([[e.view,e]])),this._viewToStack.set(e.view,this._idToStack.get(t)),this._numberOfStacks=this._idToStack.size,void(this._visibleStack&&!e.singleViewMode||this.showStack(t));const n=this._idToStack.get(t);e.singleViewMode&&this.showStack(t),n.set(e.view,e),this._viewToStack.set(e.view,n),n===this._visibleStack&&this._showView(e)}remove(e){if(!this.hasView(e))throw new _t.b("contextualballoon-remove-view-not-exist: Cannot remove the configuration of a non-existent view.",[this,e]);const t=this._viewToStack.get(e);this._singleViewMode&&this.visibleView===e&&(this._singleViewMode=!1),this.visibleView===e&&(1===t.size?this._idToStack.size>1?this._showNextStack():(this.view.hide(),this.visibleView=null,this._rotatorView.hideView()):this._showView(Array.from(t.values())[t.size-2])),1===t.size?(this._idToStack.delete(this._getStackId(t)),this._numberOfStacks=this._idToStack.size):t.delete(e),this._viewToStack.delete(e)}updatePosition(e){e&&(this._visibleStack.get(this.visibleView).position=e),this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition()}showStack(e){this.visibleStack=e;const t=this._idToStack.get(e);if(!t)throw new _t.b("contextualballoon-showstack-stack-not-exist: Cannot show a stack that does not exist.",this);this._visibleStack!==t&&this._showView(Array.from(t.values()).pop())}get _visibleStack(){return this._viewToStack.get(this.visibleView)}_getStackId(e){return Array.from(this._idToStack.entries()).find(t=>t[1]===e)[0]}_showNextStack(){const e=Array.from(this._idToStack.values());let t=e.indexOf(this._visibleStack)+1;e[t]||(t=0),this.showStack(this._getStackId(e[t]))}_showPrevStack(){const e=Array.from(this._idToStack.values());let t=e.indexOf(this._visibleStack)-1;e[t]||(t=e.length-1),this.showStack(this._getStackId(e[t]))}_createRotatorView(){const e=new du(this.editor.locale),t=this.editor.locale.t;return this.view.content.add(e),e.bind("isNavigationVisible").to(this,"_numberOfStacks",this,"_singleViewMode",(e,t)=>!t&&e>1),e.on("change:isNavigationVisible",()=>this.updatePosition(),{priority:"low"}),e.bind("counter").to(this,"visibleView",this,"_numberOfStacks",(e,n)=>{if(n<2)return"";const r=Array.from(this._idToStack.values()).indexOf(this._visibleStack)+1;return t("bp",[r,n])}),e.buttonNextView.on("execute",()=>{e.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showNextStack()}),e.buttonPrevView.on("execute",()=>{e.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showPrevStack()}),e}_createFakePanelsView(){const e=new hu(this.editor.locale,this.view);return e.bind("numberOfPanels").to(this,"_numberOfStacks",this,"_singleViewMode",(e,t)=>!t&&e>=2?Math.min(e-1,2):0),e.listenTo(this.view,"change:top",()=>e.updatePosition()),e.listenTo(this.view,"change:left",()=>e.updatePosition()),this.editor.ui.view.body.add(e),e}_showView({view:e,balloonClassName:t="",withArrow:n=!0,singleViewMode:r=!1}){this.view.class=t,this.view.withArrow=n,this._rotatorView.showView(e),this.visibleView=e,this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition(),r&&(this._singleViewMode=!0)}_getBalloonPosition(){let e=Array.from(this._visibleStack.values()).pop().position;return e&&!e.limiter&&(e=Object.assign({},e,{limiter:this.positionLimiter})),e}}class du extends ys{constructor(e){super(e);const t=e.t,n=this.bindTemplate;this.set("isNavigationVisible",!0),this.focusTracker=new Ga,this.buttonPrevView=this._createButtonView(t("bq"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.463 5.187a.888.888 0 1 1 1.254 1.255L9.16 10l3.557 3.557a.888.888 0 1 1-1.254 1.255L7.26 10.61a.888.888 0 0 1 .16-1.382l4.043-4.042z" /></svg>\n'),this.buttonNextView=this._createButtonView(t("br"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8.537 14.813a.888.888 0 1 1-1.254-1.255L10.84 10 7.283 6.442a.888.888 0 1 1 1.254-1.255L12.74 9.39a.888.888 0 0 1-.16 1.382l-4.043 4.042z"/></svg>\n'),this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-rotator"],"z-index":"-1"},children:[{tag:"div",attributes:{class:["ck-balloon-rotator__navigation",n.to("isNavigationVisible",e=>e?"":"ck-hidden")]},children:[this.buttonPrevView,{tag:"span",attributes:{class:["ck-balloon-rotator__counter"]},children:[{text:n.to("counter")}]},this.buttonNextView]},{tag:"div",attributes:{class:"ck-balloon-rotator__content"},children:this.content}]})}render(){super.render(),this.focusTracker.add(this.element)}showView(e){this.hideView(),this.content.add(e)}hideView(){this.content.clear()}_createButtonView(e,t){const n=new Ll(this.locale);return n.set({label:e,icon:t,tooltip:!0}),n}}class hu extends ys{constructor(e,t){super(e);const n=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("height",0),this.set("width",0),this.set("numberOfPanels",0),this.content=this.createCollection(),this._balloonPanelView=t,this.setTemplate({tag:"div",attributes:{class:["ck-fake-panel",n.to("numberOfPanels",e=>e?"":"ck-hidden")],style:{top:n.to("top",cu),left:n.to("left",cu),width:n.to("width",cu),height:n.to("height",cu)}},children:this.content}),this.on("change:numberOfPanels",(e,t,n,r)=>{n>r?this._addPanels(n-r):this._removePanels(r-n),this.updatePosition()})}_addPanels(e){for(;e--;){const e=new ys;e.setTemplate({tag:"div"}),this.content.add(e),this.registerChild(e)}}_removePanels(e){for(;e--;){const e=this.content.last;this.content.remove(e),this.deregisterChild(e),e.destroy()}}updatePosition(){if(this.numberOfPanels){const{top:e,left:t}=this._balloonPanelView,{width:n,height:r}=new bo(this._balloonPanelView.element);Object.assign(this,{top:e,left:t,width:n,height:r})}}}function fu(e){const t=e.editing.view,n=iu.defaultPositions;return{target:t.domConverter.viewToDom(t.document.selection.getSelectedElement()),positions:[n.northArrowSouth,n.northArrowSouthWest,n.northArrowSouthEast,n.southArrowNorth,n.southArrowNorthWest,n.southArrowNorthEast]}}class pu extends Is{static get requires(){return[uu]}static get pluginName(){return"ImageTextAlternativeUI"}init(){this._createButton(),this._createForm()}destroy(){super.destroy(),this._form.destroy()}_createButton(){const e=this.editor,t=e.t;e.ui.componentFactory.add("imageTextAlternative",n=>{const r=e.commands.get("imageTextAlternative"),o=new Ll(n);return o.set({label:t("bs"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.085 6.22L2.943 4.078a.75.75 0 1 1 1.06-1.06l2.592 2.59A11.094 11.094 0 0 1 10 5.068c4.738 0 8.578 3.101 8.578 5.083 0 1.197-1.401 2.803-3.555 3.887l1.714 1.713a.75.75 0 0 1-.09 1.138.488.488 0 0 1-.15.084.75.75 0 0 1-.821-.16L6.17 7.304c-.258.11-.51.233-.757.365l6.239 6.24-.006.005.78.78c-.388.094-.78.166-1.174.215l-1.11-1.11h.011L4.55 8.197a7.2 7.2 0 0 0-.665.514l-.112.098 4.897 4.897-.005.006 1.276 1.276a10.164 10.164 0 0 1-1.477-.117l-.479-.479-.009.009-4.863-4.863-.022.031a2.563 2.563 0 0 0-.124.2c-.043.077-.08.158-.108.241a.534.534 0 0 0-.028.133.29.29 0 0 0 .008.072.927.927 0 0 0 .082.226c.067.133.145.26.234.379l3.242 3.365.025.01.59.623c-3.265-.918-5.59-3.155-5.59-4.668 0-1.194 1.448-2.838 3.663-3.93zm7.07.531a4.632 4.632 0 0 1 1.108 5.992l.345.344.046-.018a9.313 9.313 0 0 0 2-1.112c.256-.187.5-.392.727-.613.137-.134.27-.277.392-.431.072-.091.141-.185.203-.286.057-.093.107-.19.148-.292a.72.72 0 0 0 .036-.12.29.29 0 0 0 .008-.072.492.492 0 0 0-.028-.133.999.999 0 0 0-.036-.096 2.165 2.165 0 0 0-.071-.145 2.917 2.917 0 0 0-.125-.2 3.592 3.592 0 0 0-.263-.335 5.444 5.444 0 0 0-.53-.523 7.955 7.955 0 0 0-1.054-.768 9.766 9.766 0 0 0-1.879-.891c-.337-.118-.68-.219-1.027-.301zm-2.85.21l-.069.002a.508.508 0 0 0-.254.097.496.496 0 0 0-.104.679.498.498 0 0 0 .326.199l.045.005c.091.003.181.003.272.012a2.45 2.45 0 0 1 2.017 1.513c.024.061.043.125.069.185a.494.494 0 0 0 .45.287h.008a.496.496 0 0 0 .35-.158.482.482 0 0 0 .13-.335.638.638 0 0 0-.048-.219 3.379 3.379 0 0 0-.36-.723 3.438 3.438 0 0 0-2.791-1.543l-.028-.001h-.013z"/></svg>',tooltip:!0}),o.bind("isEnabled").to(r,"isEnabled"),this.listenTo(o,"execute",()=>this._showForm()),o})}_createForm(){const e=this.editor,t=e.editing.view.document;this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new Zc(e.locale),this._form.render(),this.listenTo(this._form,"submit",()=>{e.execute("imageTextAlternative",{newValue:this._form.labeledInput.inputView.element.value}),this._hideForm(!0)}),this.listenTo(this._form,"cancel",()=>{this._hideForm(!0)}),this._form.keystrokes.set("Esc",(e,t)=>{this._hideForm(!0),t()}),this.listenTo(e.ui,"update",()=>{Nc(t.selection)?this._isVisible&&function(e){const t=e.plugins.get("ContextualBalloon");if(Nc(e.editing.view.document.selection)){const n=fu(e);t.updatePosition(n)}}(e):this._hideForm(!0)}),Gc({emitter:this._form,activator:()=>this._isVisible,contextElements:[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(){if(this._isVisible)return;const e=this.editor,t=e.commands.get("imageTextAlternative"),n=this._form.labeledInput;this._isInBalloon||this._balloon.add({view:this._form,position:fu(e)}),n.value=n.inputView.element.value=t.value||"",this._form.labeledInput.select()}_hideForm(e){this._isInBalloon&&(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),e&&this.editor.editing.view.focus())}get _isVisible(){return this._balloon.visibleView===this._form}get _isInBalloon(){return this._balloon.hasView(this._form)}}class mu extends Is{static get requires(){return[qc,pu]}static get pluginName(){return"ImageTextAlternative"}}n(50);class gu extends Is{static get requires(){return[Fc,Vc,mu]}static get pluginName(){return"Image"}}class _u extends ys{constructor(e){super(e),this.buttonView=new Ll(e),this._fileInputView=new bu(e),this._fileInputView.bind("acceptedType").to(this),this._fileInputView.bind("allowMultipleFiles").to(this),this._fileInputView.delegate("done").to(this),this.setTemplate({tag:"span",attributes:{class:"ck-file-dialog-button"},children:[this.buttonView,this._fileInputView]}),this.buttonView.on("execute",()=>{this._fileInputView.open()})}focus(){this.buttonView.focus()}}class bu extends ys{constructor(e){super(e),this.set("acceptedType"),this.set("allowMultipleFiles",!1);const t=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck-hidden"],type:"file",tabindex:"-1",accept:t.to("acceptedType"),multiple:t.to("allowMultipleFiles")},on:{change:t.to(()=>{this.element&&this.element.files&&this.element.files.length&&this.fire("done",this.element.files),this.element.value=""})}})}open(){this.element.click()}}function vu(e){return/^image\/(jpeg|png|gif|bmp)$/.test(e.type)}function yu(e){return new Promise((t,n)=>{const r=e.getAttribute("src");fetch(r).then(e=>e.blob()).then(e=>{const o=function(e,t){return e.type?e.type:t.match(/data:(image\/\w+);base64/)?t.match(/data:(image\/\w+);base64/)[1].toLowerCase():"image/jpeg"}(e,r),i=function(e,t,n){try{return new File([e],t,{type:n})}catch(e){return null}}(e,"image."+o.replace("image/",""),o);i?t(i):n()}).catch(n)})}class wu extends Is{init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("imageUpload",n=>{const r=new _u(n),o=e.commands.get("imageUpload");return r.set({acceptedType:"image/*",allowMultipleFiles:!0}),r.buttonView.set({label:t("p"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.91 10.54c.26-.23.64-.21.88.03l3.36 3.14 2.23-2.06a.64.64 0 0 1 .87 0l2.52 2.97V4.5H3.2v10.12l3.71-4.08zm10.27-7.51c.6 0 1.09.47 1.09 1.05v11.84c0 .59-.49 1.06-1.09 1.06H2.79c-.6 0-1.09-.47-1.09-1.06V4.08c0-.58.49-1.05 1.1-1.05h14.38zm-5.22 5.56a1.96 1.96 0 1 1 3.4-1.96 1.96 1.96 0 0 1-3.4 1.96z"/></svg>',tooltip:!0}),r.buttonView.bind("isEnabled").to(o),r.on("done",(t,n)=>{const r=Array.from(n).filter(vu);r.length&&e.execute("imageUpload",{file:r})}),r})}}n(52),n(54),n(56);class ku extends Is{constructor(e){super(e),this.placeholder="data:image/svg+xml;utf8,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 250"><rect rx="4"/></svg>')}init(){this.editor.editing.downcastDispatcher.on("attribute:uploadStatus:image",(...e)=>this.uploadStatusChange(...e))}uploadStatusChange(e,t,n){const r=this.editor,o=t.item,i=o.getAttribute("uploadId");if(!n.consumable.consume(t.item,e.name))return;const a=r.plugins.get(Yl),s=i?t.attributeNewValue:null,l=this.placeholder,c=r.editing.mapper.toViewElement(o),u=n.writer;if("reading"==s)return Mu(c,u),void xu(l,c,u);if("uploading"==s){const e=a.loaders.get(i);return Mu(c,u),void(e?(Tu(c,u),function(e,t,n,r){const o=function(e){const t=e.createUIElement("div",{class:"ck-progress-bar"});return e.setCustomProperty("progressBar",!0,t),t}(t);t.insert(t.createPositionAt(e,"end"),o),n.on("change:uploadedPercent",(e,t,n)=>{r.change(e=>{e.setStyle("width",n+"%",o)})})}(c,u,e,r.editing.view),function(e,t,n){if(n.data){const r=e.getChild(0);t.setAttribute("src",n.data,r)}}(c,u,e)):xu(l,c,u))}"complete"==s&&a.loaders.get(i)&&!Pn&&function(e,t,n){const r=t.createUIElement("div",{class:"ck-image-upload-complete-icon"});t.insert(t.createPositionAt(e,"end"),r),setTimeout(()=>{n.change(e=>e.remove(e.createRangeOn(r)))},3e3)}(c,u,r.editing.view),function(e,t){Su(e,t,"progressBar")}(c,u),Tu(c,u),function(e,t){t.removeClass("ck-appear",e)}(c,u)}}function Mu(e,t){e.hasClass("ck-appear")||t.addClass("ck-appear",e)}function xu(e,t,n){t.hasClass("ck-image-upload-placeholder")||n.addClass("ck-image-upload-placeholder",t);const r=t.getChild(0);r.getAttribute("src")!==e&&n.setAttribute("src",e,r),Eu(t,"placeholder")||n.insert(n.createPositionAfter(r),function(e){const t=e.createUIElement("div",{class:"ck-upload-placeholder-loader"});return e.setCustomProperty("placeholder",!0,t),t}(n))}function Tu(e,t){e.hasClass("ck-image-upload-placeholder")&&t.removeClass("ck-image-upload-placeholder",e),Su(e,t,"placeholder")}function Eu(e,t){for(const n of e.getChildren())if(n.getCustomProperty(t))return n}function Su(e,t,n){const r=Eu(e,n);r&&t.remove(t.createRangeOn(r))}class Du{createDocumentFragment(e){return new Vn(e)}createElement(e,t,n){return new Ht(e,t,n)}createText(e){return new Nt(e)}clone(e,t=!1){return e._clone(t)}appendChild(e,t){return t._appendChild(e)}insertChild(e,t,n){return n._insertChild(e,t)}removeChildren(e,t,n){return n._removeChildren(e,t)}remove(e){const t=e.parent;return t?this.removeChildren(t.getChildIndex(e),1,t):[]}replace(e,t){const n=e.parent;if(n){const r=n.getChildIndex(e);return this.removeChildren(r,1,n),this.insertChild(r,t,n),!0}return!1}unwrapElement(e){const t=e.parent;if(t){const n=t.getChildIndex(e);this.remove(e),this.insertChild(n,e.getChildren(),t)}}rename(e,t){const n=new Ht(e,t.getAttributes(),t.getChildren());return this.replace(t,n)?n:null}setAttribute(e,t,n){n._setAttribute(e,t)}removeAttribute(e,t){t._removeAttribute(e)}addClass(e,t){t._addClass(e)}removeClass(e,t){t._removeClass(e)}setStyle(e,t,n){y(e)&&void 0===n&&(n=t),n._setStyle(e,t)}removeStyle(e,t){t._removeStyle(e)}setCustomProperty(e,t,n){n._setCustomProperty(e,t)}removeCustomProperty(e,t){return t._removeCustomProperty(e)}createPositionAt(e,t){return gn._createAt(e,t)}createPositionAfter(e){return gn._createAfter(e)}createPositionBefore(e){return gn._createBefore(e)}createRange(e,t){return new _n(e,t)}createRangeOn(e){return _n._createOn(e)}createRangeIn(e){return _n._createIn(e)}createSelection(e,t,n){return new yn(e,t,n)}}class Lu extends Hs{refresh(){this.isEnabled=Rc(this.editor.model)}execute(e){const t=this.editor,n=t.model,r=t.plugins.get(Yl);n.change(t=>{const o=Array.isArray(e.file)?e.file:[e.file];for(const e of o)Cu(t,n,r,e)})}}function Cu(e,t,n,r){const o=n.createLoader(r);o&&Yc(e,t,{uploadId:o.id})}class Pu extends Is{static get requires(){return[Yl,cc]}init(){const e=this.editor,t=e.model.document,n=e.model.schema,r=e.conversion,o=e.plugins.get(Yl);n.extend("image",{allowAttributes:["uploadId","uploadStatus"]}),e.commands.add("imageUpload",new Lu(e)),r.for("upcast").attributeToAttribute({view:{name:"img",key:"uploadId"},model:"uploadId"}),this.listenTo(e.editing.view.document,"clipboardInput",(t,n)=>{if(function(e){return Array.from(e.types).includes("text/html")&&""!==e.getData("text/html")}(n.dataTransfer))return;const r=Array.from(n.dataTransfer.files).filter(e=>!!e&&vu(e)),o=n.targetRanges.map(t=>e.editing.mapper.toModelRange(t));e.model.change(n=>{n.setSelection(o),r.length&&(t.stop(),e.model.enqueueChange("default",()=>{e.execute("imageUpload",{file:r})}))})}),e.plugins.has("Clipboard")&&this.listenTo(e.plugins.get("Clipboard"),"inputTransformation",(t,n)=>{const r=Array.from(e.editing.view.createRangeIn(n.content)).filter(e=>function(e){return!(!e.is("element","img")||!e.getAttribute("src"))&&(e.getAttribute("src").match(/^data:image\/\w+;base64,/g)||e.getAttribute("src").match(/^blob:/g))}(e.item)&&!e.item.getAttribute("uploadProcessed")).map(e=>({promise:yu(e.item),imageElement:e.item}));if(!r.length)return;const i=new Du;for(const e of r){i.setAttribute("uploadProcessed",!0,e.imageElement);const t=o.createLoader(e.promise);t&&(i.setAttribute("src","",e.imageElement),i.setAttribute("uploadId",t.id,e.imageElement))}}),e.editing.view.document.on("dragover",(e,t)=>{t.preventDefault()}),t.on("change",()=>{const n=t.differ.getChanges({includeChangesInGraveyard:!0});for(const t of n)if("insert"==t.type&&"$text"!=t.name){const n=t.position.nodeAfter,r="$graveyard"==t.position.root.rootName;for(const t of Ou(e,n)){const e=t.getAttribute("uploadId");if(!e)continue;const n=o.loaders.get(e);n&&(r?n.abort():"idle"==n.status&&this._readAndUpload(n,t))}}})}_readAndUpload(e,t){const n=this.editor,r=n.model,o=n.locale.t,i=n.plugins.get(Yl),a=n.plugins.get(cc);return r.enqueueChange("transparent",e=>{e.setAttribute("uploadStatus","reading",t)}),e.read().then(()=>{const o=e.upload();if(An){const e=n.editing.mapper.toViewElement(t).getChild(0);n.editing.view.once("render",()=>{if(!e.parent)return;const t=n.editing.view.domConverter.mapViewToDom(e.parent);if(!t)return;const r=t.style.display;t.style.display="none",t._ckHack=t.offsetHeight,t.style.display=r})}return r.enqueueChange("transparent",e=>{e.setAttribute("uploadStatus","uploading",t)}),o}).then(e=>{r.enqueueChange("transparent",n=>{n.setAttributes({uploadStatus:"complete",src:e.default},t),this._parseAndSetSrcsetAttributeOnImage(e,t,n)}),s()}).catch(n=>{if("error"!==e.status&&"aborted"!==e.status)throw n;"error"==e.status&&n&&a.showWarning(n,{title:o("al"),namespace:"upload"}),s(),r.enqueueChange("transparent",e=>{e.remove(t)})});function s(){r.enqueueChange("transparent",e=>{e.removeAttribute("uploadId",t),e.removeAttribute("uploadStatus",t)}),i.destroyLoader(e)}}_parseAndSetSrcsetAttributeOnImage(e,t,n){let r=0;const o=Object.keys(e).filter(e=>{const t=parseInt(e,10);if(!isNaN(t))return r=Math.max(r,t),!0}).map(t=>`${e[t]} ${t}w`).join(", ");""!=o&&n.setAttribute("srcset",{data:o,width:r},t)}}function Ou(e,t){return Array.from(e.model.createRangeOn(t)).filter(e=>e.item.is("image")).map(e=>e.item)}class Au extends Is{static get pluginName(){return"ImageUpload"}static get requires(){return[Pu,wu,ku]}}class Nu extends Hs{refresh(){const e=this.editor.model,t=tc(e.document.selection.getSelectedBlocks());this.value=!!t&&t.is("paragraph"),this.isEnabled=!!t&&Iu(t,e.schema)}execute(e={}){const t=this.editor.model,n=t.document;t.change(r=>{const o=(e.selection||n.selection).getSelectedBlocks();for(const e of o)!e.is("paragraph")&&Iu(e,t.schema)&&r.rename(e,"paragraph")})}}function Iu(e,t){return t.checkChild(e.parent,"paragraph")&&!t.isObject(e)}class Yu extends Is{static get pluginName(){return"Paragraph"}init(){const e=this.editor,t=e.model,n=e.data;e.commands.add("paragraph",new Nu(e)),t.schema.register("paragraph",{inheritAllFrom:"$block"}),e.conversion.elementToElement({model:"paragraph",view:"p"}),e.conversion.for("upcast").elementToElement({model:(e,t)=>Yu.paragraphLikeElements.has(e.name)?e.isEmpty?null:t.createElement("paragraph"):null,converterPriority:"low"}),n.upcastDispatcher.on("element",(e,t,n)=>{n.consumable.test(t.viewItem,{name:t.viewItem.name})&&ju(t.viewItem,t.modelCursor,n.schema)&&Object.assign(t,Ru(t.viewItem,t.modelCursor,n))},{priority:"low"}),n.upcastDispatcher.on("text",(e,t,n)=>{t.modelRange||ju(t.viewItem,t.modelCursor,n.schema)&&Object.assign(t,Ru(t.viewItem,t.modelCursor,n))},{priority:"lowest"}),t.document.registerPostFixer(e=>this._autoparagraphEmptyRoots(e)),e.data.on("ready",()=>{t.enqueueChange("transparent",e=>this._autoparagraphEmptyRoots(e))},{priority:"lowest"})}_autoparagraphEmptyRoots(e){const t=this.editor.model;for(const n of t.document.getRootNames()){const r=t.document.getRoot(n);if(r.isEmpty&&"$graveyard"!=r.rootName&&t.schema.checkChild(r,"paragraph"))return e.insertElement("paragraph",r),!0}}}function Ru(e,t,n){const r=n.writer.createElement("paragraph");return n.writer.insert(r,t),n.convertItem(e,n.writer.createPositionAt(r,0))}function ju(e,t,n){const r=n.createContext(t);return!!n.checkChild(r,"paragraph")&&!!n.checkChild(r.push("paragraph"),e)}Yu.paragraphLikeElements=new Set(["blockquote","dd","div","dt","h1","h2","h3","h4","h5","h6","li","p","td"]);class Fu extends Hs{constructor(e,t){super(e),this.modelElements=t}refresh(){const e=tc(this.editor.model.document.selection.getSelectedBlocks());this.value=!!e&&this.modelElements.includes(e.name)&&e.name,this.isEnabled=!!e&&this.modelElements.some(t=>Hu(e,t,this.editor.model.schema))}execute(e){const t=this.editor.model,n=t.document,r=e.value;t.change(e=>{const o=Array.from(n.selection.getSelectedBlocks()).filter(e=>Hu(e,r,t.schema));for(const t of o)t.is(r)||e.rename(t,r)})}}function Hu(e,t,n){return n.checkChild(e.parent,t)&&!n.isObject(e)}const zu="paragraph";class Bu extends Is{constructor(e){super(e),e.config.define("heading",{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h2",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h3",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h4",title:"Heading 3",class:"ck-heading_heading3"}]})}static get requires(){return[Yu]}init(){const e=this.editor,t=e.config.get("heading.options"),n=[];for(const r of t)r.model!==zu&&(e.model.schema.register(r.model,{inheritAllFrom:"$block"}),e.conversion.elementToElement(r),n.push(r.model));this._addDefaultH1Conversion(e),e.commands.add("heading",new Fu(e,n))}afterInit(){const e=this.editor,t=e.commands.get("enter"),n=e.config.get("heading.options");t&&this.listenTo(t,"afterExecute",(t,r)=>{const o=e.model.document.selection.getFirstPosition().parent;n.some(e=>o.is(e.model))&&!o.is(zu)&&0===o.childCount&&r.writer.rename(o,zu)})}_addDefaultH1Conversion(e){e.conversion.for("upcast").elementToElement({model:"heading1",view:"h1",converterPriority:yt.get("low")+1})}}class Vu{constructor(e,t){t&&Zt(this,t),e&&this.set(e)}}Ct(Vu,on);class Uu extends ys{constructor(e){super(e);const t=this.bindTemplate;this.set("isVisible",!1),this.set("position","se"),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-dropdown__panel",t.to("position",e=>"ck-dropdown__panel_"+e),t.if("isVisible","ck-dropdown__panel-visible")]},children:this.children,on:{selectstart:t.to(e=>e.preventDefault())}})}focus(){this.children.length&&this.children.first.focus()}focusLast(){if(this.children.length){const e=this.children.last;"function"==typeof e.focusLast?e.focusLast():e.focus()}}}n(58);class Wu extends ys{constructor(e,t,n){super(e);const r=this.bindTemplate;this.buttonView=t,this.panelView=n,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("class"),this.set("panelPosition","auto"),this.focusTracker=new Ga,this.keystrokes=new ja,this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown",r.to("class"),r.if("isEnabled","ck-disabled",e=>!e)]},children:[t,n]}),t.extendTemplate({attributes:{class:["ck-dropdown__button"]}})}render(){super.render(),this.listenTo(this.buttonView,"open",()=>{this.isOpen=!this.isOpen}),this.panelView.bind("isVisible").to(this,"isOpen"),this.on("change:isOpen",()=>{this.isOpen&&("auto"===this.panelPosition?this.panelView.position=Wu._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions}).name:this.panelView.position=this.panelPosition)}),this.keystrokes.listenTo(this.element),this.focusTracker.add(this.element);const e=(e,t)=>{this.isOpen&&(this.buttonView.focus(),this.isOpen=!1,t())};this.keystrokes.set("arrowdown",(e,t)=>{this.buttonView.isEnabled&&!this.isOpen&&(this.isOpen=!0,t())}),this.keystrokes.set("arrowright",(e,t)=>{this.isOpen&&t()}),this.keystrokes.set("arrowleft",e),this.keystrokes.set("esc",e)}focus(){this.buttonView.focus()}get _panelPositions(){const{southEast:e,southWest:t,northEast:n,northWest:r}=Wu.defaultPanelPositions;return"ltr"===this.locale.uiLanguageDirection?[e,t,n,r]:[t,e,r,n]}}Wu.defaultPanelPositions={southEast:e=>({top:e.bottom,left:e.left,name:"se"}),southWest:(e,t)=>({top:e.bottom,left:e.left-t.width+e.width,name:"sw"}),northEast:(e,t)=>({top:e.top-t.height,left:e.left,name:"ne"}),northWest:(e,t)=>({top:e.bottom-t.height,left:e.left-t.width+e.width,name:"nw"})},Wu._getOptimalPosition=eu;class qu extends Ll{constructor(e){super(e),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{"aria-haspopup":!0}}),this.delegate("execute").to(this,"open")}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const e=new Sl;return e.content='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/></svg>',e.extendTemplate({attributes:{class:"ck-dropdown__arrow"}}),e}}n(60);class Gu extends ys{constructor(){super(),this.items=this.createCollection(),this.focusTracker=new Ga,this.keystrokes=new ja,this._focusCycler=new Ls({focusables:this.items,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"arrowup",focusNext:"arrowdown"}}),this.setTemplate({tag:"ul",attributes:{class:["ck","ck-reset","ck-list"]},children:this.items})}render(){super.render();for(const e of this.items)this.focusTracker.add(e.element);this.items.on("add",(e,t)=>{this.focusTracker.add(t.element)}),this.items.on("remove",(e,t)=>{this.focusTracker.remove(t.element)}),this.keystrokes.listenTo(this.element)}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}class Qu extends ys{constructor(e){super(e),this.children=this.createCollection(),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__item"]},children:this.children})}focus(){this.children.first.focus()}}class Ju extends ys{constructor(e){super(e),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__separator"]}})}}n(62);class Ku extends Ll{constructor(e){super(e),this.isToggleable=!0,this.toggleSwitchView=this._createToggleView(),this.extendTemplate({attributes:{class:"ck-switchbutton"}})}render(){super.render(),this.children.add(this.toggleSwitchView)}_createToggleView(){const e=new ys;return e.setTemplate({tag:"span",attributes:{class:["ck","ck-button__toggle"]},children:[{tag:"span",attributes:{class:["ck","ck-button__toggle__inner"]}}]}),e}}function Xu(e,t=qu){const n=new t(e),r=new Uu(e),o=new Wu(e,n,r);return n.bind("isEnabled").to(o),n instanceof qu?n.bind("isOn").to(o,"isOpen"):n.arrowView.bind("isOn").to(o,"isOpen"),function(e){(function(e){e.on("render",()=>{Gc({emitter:e,activator:()=>e.isOpen,callback:()=>{e.isOpen=!1},contextElements:[e.element]})})})(e),function(e){e.on("execute",t=>{t.source instanceof Ku||(e.isOpen=!1)})}(e),function(e){e.keystrokes.set("arrowdown",(t,n)=>{e.isOpen&&(e.panelView.focus(),n())}),e.keystrokes.set("arrowup",(t,n)=>{e.isOpen&&(e.panelView.focusLast(),n())})}(e)}(o),o}function $u(e,t){const n=e.locale,r=e.listView=new Gu(n);r.items.bindTo(t).using(({type:e,model:t})=>{if("separator"===e)return new Ju(n);if("button"===e||"switchbutton"===e){const r=new Qu(n);let o;return(o="button"===e?new Ll(n):new Ku(n)).bind(...Object.keys(t)).to(t),o.delegate("execute").to(r),r.children.add(o),r}}),e.panelView.children.add(r),r.items.delegate("execute").to(e)}n(64),n(66),n(10);class Zu extends Is{init(){const e=this.editor,t=e.t,n=function(e){const t=e.t,n={Paragraph:t("bt"),"Heading 1":t("bu"),"Heading 2":t("bv"),"Heading 3":t("bw"),"Heading 4":t("bx"),"Heading 5":t("by"),"Heading 6":t("bz")};return e.config.get("heading.options").map(e=>{const t=n[e.title];return t&&t!=e.title&&(e.title=t),e})}(e),r=t("h"),o=t("i");e.ui.componentFactory.add("heading",t=>{const i={},a=new kn,s=e.commands.get("heading"),l=e.commands.get("paragraph"),c=[s];for(const e of n){const t={type:"button",model:new Vu({label:e.title,class:e.class,withText:!0})};"paragraph"===e.model?(t.model.bind("isOn").to(l,"value"),t.model.set("commandName","paragraph"),c.push(l)):(t.model.bind("isOn").to(s,"value",t=>t===e.model),t.model.set({commandName:"heading",commandValue:e.model})),a.add(t),i[e.model]=e.title}const u=Xu(t);return $u(u,a),u.buttonView.set({isOn:!1,withText:!0,tooltip:o}),u.extendTemplate({attributes:{class:["ck-heading-dropdown"]}}),u.bind("isEnabled").toMany(c,"isEnabled",(...e)=>e.some(e=>e)),u.buttonView.bind("label").to(s,"value",l,"value",(e,t)=>{const n=e||t&&"paragraph";return i[n]?i[n]:r}),this.listenTo(u,"execute",t=>{e.execute(t.source.commandName,t.source.commandValue?{value:t.source.commandValue}:void 0),e.editing.view.focus()}),u})}}function ed(e){for(const t of e.getChildren())if(t&&t.is("caption"))return t;return null}function td(e){const t=e.parent;return"figcaption"==e.name&&t&&"figure"==t.name&&t.hasClass("image")?{name:!0}:null}class nd extends Is{init(){const e=this.editor,t=e.editing.view,n=e.model.schema,r=e.data,o=e.editing,i=e.t;n.register("caption",{allowIn:"image",allowContentOf:"$block",isLimit:!0}),e.model.document.registerPostFixer(e=>this._insertMissingModelCaptionElement(e)),e.conversion.for("upcast").elementToElement({view:td,model:"caption"}),r.downcastDispatcher.on("insert:caption",rd(e=>e.createContainerElement("figcaption"),!1));const a=function(e,t){return n=>{const r=n.createEditableElement("figcaption");return n.setCustomProperty("imageCaption",!0,r),Ka({view:e,element:r,text:t}),Pc(r,n)}}(t,i("ak"));o.downcastDispatcher.on("insert:caption",rd(a)),o.downcastDispatcher.on("insert",this._fixCaptionVisibility(e=>e.item),{priority:"high"}),o.downcastDispatcher.on("remove",this._fixCaptionVisibility(e=>e.position.parent),{priority:"high"}),t.document.registerPostFixer(e=>this._updateCaptionVisibility(e))}_updateCaptionVisibility(e){const t=this.editor.editing.mapper,n=this._lastSelectedCaption;let r;const o=this.editor.model.document.selection,i=o.getSelectedElement();if(i&&i.is("image")){const e=ed(i);r=t.toViewElement(e)}const a=od(o.getFirstPosition().parent);if(a&&(r=t.toViewElement(a)),r)return n?(n===r||(id(n,e),this._lastSelectedCaption=r),ad(r,e)):(this._lastSelectedCaption=r,ad(r,e));if(n){const t=id(n,e);return this._lastSelectedCaption=null,t}return!1}_fixCaptionVisibility(e){return(t,n,r)=>{const o=od(e(n)),i=this.editor.editing.mapper,a=r.writer;if(o){const e=i.toViewElement(o);e&&(o.childCount?a.removeClass("ck-hidden",e):a.addClass("ck-hidden",e))}}}_insertMissingModelCaptionElement(e){const t=this.editor.model,n=t.document.differ.getChanges(),r=[];for(const e of n)if("insert"==e.type&&"$text"!=e.name){const n=e.position.nodeAfter;if(n.is("image")&&!ed(n)&&r.push(n),!n.is("image")&&n.childCount)for(const e of t.createRangeIn(n).getItems())e.is("image")&&!ed(e)&&r.push(e)}for(const t of r)e.appendElement("caption",t);return!!r.length}}function rd(e,t=!0){return(n,r,o)=>{const i=r.item;if((i.childCount||t)&&Ic(i.parent)){if(!o.consumable.consume(r.item,"insert"))return;const t=o.mapper.toViewElement(r.range.start.parent),n=e(o.writer),a=o.writer;i.childCount||a.addClass("ck-hidden",n),function(e,t,n,r){const o=r.writer.createPositionAt(n,"end");r.writer.insert(o,e),r.mapper.bindElements(t,e)}(n,r.item,t,o)}}}function od(e){const t=e.getAncestors({includeSelf:!0}).find(e=>"caption"==e.name);return t&&t.parent&&"image"==t.parent.name?t:null}function id(e,t){return!e.childCount&&!e.hasClass("ck-hidden")&&(t.addClass("ck-hidden",e),!0)}function ad(e,t){return!!e.hasClass("ck-hidden")&&(t.removeClass("ck-hidden",e),!0)}n(69);class sd extends Hs{constructor(e,t){super(e),this.defaultStyle=!1,this.styles=t.reduce((e,t)=>(e[t.name]=t,t.isDefault&&(this.defaultStyle=t.name),e),{})}refresh(){const e=this.editor.model.document.selection.getSelectedElement();if(this.isEnabled=Ic(e),e)if(e.hasAttribute("imageStyle")){const t=e.getAttribute("imageStyle");this.value=!!this.styles[t]&&t}else this.value=this.defaultStyle;else this.value=!1}execute(e){const t=e.value,n=this.editor.model,r=n.document.selection.getSelectedElement();n.change(e=>{this.styles[t].isDefault?e.removeAttribute("imageStyle",r):e.setAttribute("imageStyle",t,r)})}}function ld(e,t){for(const n of t)if(n.name===e)return n}var cd='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 4.5V3h16v1.5zm2.5 3V12h11V7.5h-11zM4.061 6H15.94c.586 0 1.061.407 1.061.91v5.68c0 .503-.475.91-1.061.91H4.06c-.585 0-1.06-.407-1.06-.91V6.91C3 6.406 3.475 6 4.061 6zM2 16.5V15h16v1.5z"/></svg>',ud='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M18 4.5V3H2v1.5h16zm0 3V6h-5.674v1.5H18zm0 3V9h-5.674v1.5H18zm0 3V12h-5.674v1.5H18zm-8.5-6V12h-6V7.5h6zm.818-1.5H2.682C2.305 6 2 6.407 2 6.91v5.68c0 .503.305.91.682.91h7.636c.377 0 .682-.407.682-.91V6.91c0-.503-.305-.91-.682-.91zM18 16.5V15H2v1.5h16z"/></svg>',dd='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 4.5V3h16v1.5zm4.5 3V12h7V7.5h-7zM5.758 6h8.484c.419 0 .758.407.758.91v5.681c0 .502-.34.909-.758.909H5.758c-.419 0-.758-.407-.758-.91V6.91c0-.503.34-.91.758-.91zM2 16.5V15h16v1.5z"/></svg>',hd='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 4.5V3h16v1.5zm0 3V6h5.674v1.5zm0 3V9h5.674v1.5zm0 3V12h5.674v1.5zm8.5-6V12h6V7.5h-6zM9.682 6h7.636c.377 0 .682.407.682.91v5.68c0 .503-.305.91-.682.91H9.682c-.377 0-.682-.407-.682-.91V6.91c0-.503.305-.91.682-.91zM2 16.5V15h16v1.5z"/></svg>';const fd={full:{name:"full",title:"Full size image",icon:cd,isDefault:!0},side:{name:"side",title:"Side image",icon:hd,className:"image-style-side"},alignLeft:{name:"alignLeft",title:"Left aligned image",icon:ud,className:"image-style-align-left"},alignCenter:{name:"alignCenter",title:"Centered image",icon:dd,className:"image-style-align-center"},alignRight:{name:"alignRight",title:"Right aligned image",icon:hd,className:"image-style-align-right"}},pd={full:cd,left:ud,right:hd,center:dd};function md(e=[]){return e.map(gd)}function gd(e){if("string"==typeof e){const t=e;fd[t]?e=Object.assign({},fd[t]):(console.warn(Object(_t.a)("image-style-not-found: There is no such image style of given name."),{name:t}),e={name:t})}else if(fd[e.name]){const t=fd[e.name],n=Object.assign({},e);for(const r in t)e.hasOwnProperty(r)||(n[r]=t[r]);e=n}return"string"==typeof e.icon&&pd[e.icon]&&(e.icon=pd[e.icon]),e}class _d extends Is{static get pluginName(){return"ImageStyleEditing"}init(){const e=this.editor,t=e.model.schema,n=e.data,r=e.editing;e.config.define("image.styles",["full","side"]);const o=md(e.config.get("image.styles"));t.extend("image",{allowAttributes:"imageStyle"});const i=function(e){return(t,n,r)=>{if(!r.consumable.consume(n.item,t.name))return;const o=ld(n.attributeNewValue,e),i=ld(n.attributeOldValue,e),a=r.mapper.toViewElement(n.item),s=r.writer;i&&s.removeClass(i.className,a),o&&s.addClass(o.className,a)}}(o);r.downcastDispatcher.on("attribute:imageStyle:image",i),n.downcastDispatcher.on("attribute:imageStyle:image",i),n.upcastDispatcher.on("element:figure",function(e){const t=e.filter(e=>!e.isDefault);return(e,n,r)=>{if(!n.modelRange)return;const o=n.viewItem,i=tc(n.modelRange.getItems());if(r.schema.checkAttribute(i,"imageStyle"))for(const e of t)r.consumable.consume(o,{classes:e.className})&&r.writer.setAttribute("imageStyle",e.name,i)}}(o),{priority:"low"}),e.commands.add("imageStyle",new sd(e,o))}}n(71);class bd extends Is{static get pluginName(){return"ImageStyleUI"}get localizedDefaultStylesTitles(){const e=this.editor.t;return{"Full size image":e("k"),"Side image":e("l"),"Left aligned image":e("m"),"Centered image":e("n"),"Right aligned image":e("o")}}init(){const e=function(e,t){for(const n of e)t[n.title]&&(n.title=t[n.title]);return e}(md(this.editor.config.get("image.styles")),this.localizedDefaultStylesTitles);for(const t of e)this._createButton(t)}_createButton(e){const t=this.editor,n="imageStyle:"+e.name;t.ui.componentFactory.add(n,n=>{const r=t.commands.get("imageStyle"),o=new Ll(n);return o.set({label:e.title,icon:e.icon,tooltip:!0,isToggleable:!0}),o.bind("isEnabled").to(r,"isEnabled"),o.bind("isOn").to(r,"value",t=>t===e.name),this.listenTo(o,"execute",()=>t.execute("imageStyle",{value:e.name})),o})}}class vd extends Is{static get requires(){return[uu]}static get pluginName(){return"WidgetToolbarRepository"}init(){const e=this.editor;if(e.plugins.has("BalloonToolbar")){const t=e.plugins.get("BalloonToolbar");this.listenTo(t,"show",t=>{(function(e){const t=e.getSelectedElement();return!(!t||!Dc(t))})(e.editing.view.document.selection)&&t.stop()},{priority:"high"})}this._toolbarDefinitions=new Map,this._balloon=this.editor.plugins.get("ContextualBalloon"),this.listenTo(e.ui,"update",()=>{this._updateToolbarsVisibility()}),this.listenTo(e.ui.focusTracker,"change:isFocused",()=>{this._updateToolbarsVisibility()},{priority:"low"})}destroy(){super.destroy();for(const e of this._toolbarDefinitions.values())e.view.destroy()}register(e,{ariaLabel:t,items:n,getRelatedElement:r,balloonClassName:o="ck-toolbar-container"}){const i=this.editor,a=i.t,s=new Os(i.locale);if(s.ariaLabel=t||a("av"),this._toolbarDefinitions.has(e))throw new _t.b("widget-toolbar-duplicated: Toolbar with the given id was already added.",this,{toolbarId:e});s.fillFromConfig(n,i.ui.componentFactory),this._toolbarDefinitions.set(e,{view:s,getRelatedElement:r,balloonClassName:o})}_updateToolbarsVisibility(){let e=0,t=null,n=null;for(const r of this._toolbarDefinitions.values()){const o=r.getRelatedElement(this.editor.editing.view.document.selection);if(this.editor.ui.focusTracker.isFocused)if(o){const i=o.getAncestors().length;i>e&&(e=i,t=o,n=r)}else this._isToolbarInBalloon(r)&&this._hideToolbar(r);else this._isToolbarVisible(r)&&this._hideToolbar(r)}n&&this._showToolbar(n,t)}_hideToolbar(e){this._balloon.remove(e.view),this.stopListening(this._balloon,"change:visibleView")}_showToolbar(e,t){this._isToolbarVisible(e)?yd(this.editor,t):this._isToolbarInBalloon(e)||(this._balloon.add({view:e.view,position:wd(this.editor,t),balloonClassName:e.balloonClassName}),this.listenTo(this._balloon,"change:visibleView",()=>{for(const e of this._toolbarDefinitions.values())if(this._isToolbarVisible(e)){const t=e.getRelatedElement(this.editor.editing.view.document.selection);yd(this.editor,t)}}))}_isToolbarVisible(e){return this._balloon.visibleView===e.view}_isToolbarInBalloon(e){return this._balloon.hasView(e.view)}}function yd(e,t){const n=e.plugins.get("ContextualBalloon"),r=wd(e,t);n.updatePosition(r)}function wd(e,t){const n=e.editing.view,r=iu.defaultPositions;return{target:n.domConverter.mapViewToDom(t),positions:[r.northArrowSouth,r.northArrowSouthWest,r.northArrowSouthEast,r.southArrowNorth,r.southArrowNorthWest,r.southArrowNorthEast]}}function kd(e,t,n){return n.createRange(Md(e,t,!0,n),Md(e,t,!1,n))}function Md(e,t,n,r){let o=e.textNode||(n?e.nodeBefore:e.nodeAfter),i=null;for(;o&&o.getAttribute("linkHref")==t;)i=o,o=n?o.previousSibling:o.nextSibling;return i?r.createPositionAt(i,n?"before":"after"):e}class xd extends Hs{constructor(e){super(e),this.manualDecorators=new kn}restoreManualDecoratorStates(){for(const e of this.manualDecorators)e.value=this._getDecoratorStateFromModel(e.id)}refresh(){const e=this.editor.model,t=e.document;this.value=t.selection.getAttribute("linkHref");for(const e of this.manualDecorators)e.value=this._getDecoratorStateFromModel(e.id);this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"linkHref")}execute(e,t={}){const n=this.editor.model,r=n.document.selection,o=[],i=[];for(const e in t)t[e]?o.push(e):i.push(e);n.change(t=>{if(r.isCollapsed){const a=r.getFirstPosition();if(r.hasAttribute("linkHref")){const s=kd(a,r.getAttribute("linkHref"),n);t.setAttribute("linkHref",e,s),o.forEach(e=>{t.setAttribute(e,!0,s)}),i.forEach(e=>{t.removeAttribute(e,s)}),t.setSelection(s)}else if(""!==e){const i=Oo(r.getAttributes());i.set("linkHref",e),o.forEach(e=>{i.set(e,!0)});const s=t.createText(e,i);n.insertContent(s,a),t.setSelection(t.createRangeOn(s))}}else{const a=n.schema.getValidRanges(r.getRanges(),"linkHref");for(const n of a)t.setAttribute("linkHref",e,n),o.forEach(e=>{t.setAttribute(e,!0,n)}),i.forEach(e=>{t.removeAttribute(e,n)})}})}_getDecoratorStateFromModel(e){return this.editor.model.document.selection.getAttribute(e)||!1}}class Td extends Hs{refresh(){this.isEnabled=this.editor.model.document.selection.hasAttribute("linkHref")}execute(){const e=this.editor,t=this.editor.model,n=t.document.selection,r=e.commands.get("link");t.change(e=>{const o=n.isCollapsed?[kd(n.getFirstPosition(),n.getAttribute("linkHref"),t)]:n.getRanges();for(const t of o)if(e.removeAttribute("linkHref",t),r)for(const n of r.manualDecorators)e.removeAttribute(n.id,t)})}}var Ed=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}(e,t,n)},Sd=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),Dd=function(e){return Sd.test(e)},Ld="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Cd="\\ud83c[\\udffb-\\udfff]",Pd="[^\\ud800-\\udfff]",Od="(?:\\ud83c[\\udde6-\\uddff]){2}",Ad="[\\ud800-\\udbff][\\udc00-\\udfff]",Nd="(?:"+Ld+"|"+Cd+")?",Id="[\\ufe0e\\ufe0f]?"+Nd+"(?:\\u200d(?:"+[Pd,Od,Ad].join("|")+")[\\ufe0e\\ufe0f]?"+Nd+")*",Yd="(?:"+[Pd+Ld+"?",Ld,Od,Ad,"[\\ud800-\\udfff]"].join("|")+")",Rd=RegExp(Cd+"(?="+Cd+")|"+Yd+Id,"g"),jd=function(e){return Dd(e)?function(e){return e.match(Rd)||[]}(e):function(e){return e.split("")}(e)},Fd=o?o.prototype:void 0,Hd=Fd?Fd.toString:void 0,zd=function e(t){if("string"==typeof t)return t;if(se(t))return function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}(t,e)+"";if(Zr(t))return Hd?Hd.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},Bd=function(e){e=function(e){return null==e?"":zd(e)}(e);var t=Dd(e)?jd(e):void 0,n=t?t[0]:e.charAt(0),r=t?Ed(t,1).join(""):e.slice(1);return n.toUpperCase()+r};const Vd=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,Ud=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i;function Wd(e,t){const n=t.createAttributeElement("a",{href:e},{priority:5});return t.setCustomProperty("link",!0,n),n}function qd(e){return function(e){return e.replace(Vd,"").match(Ud)}(e=String(e))?e:"#"}class Gd{constructor(){this._definitions=new Set}get length(){return this._definitions.size}add(e){Array.isArray(e)?e.forEach(e=>this._definitions.add(e)):this._definitions.add(e)}getDispatcher(){return e=>{e.on("attribute:linkHref",(e,t,n)=>{if(!n.consumable.test(t.item,"attribute:linkHref"))return;const r=n.writer,o=r.document.selection;for(const e of this._definitions){const i=r.createAttributeElement("a",e.attributes,{priority:5});r.setCustomProperty("link",!0,i),e.callback(t.attributeNewValue)?t.item.is("selection")?r.wrap(o.getFirstRange(),i):r.wrap(n.mapper.toViewRange(t.range),i):r.unwrap(n.mapper.toViewRange(t.range),i)}},{priority:"high"})}}}class Qd{constructor({id:e,label:t,attributes:n}){this.id=e,this.set("value"),this.label=t,this.attributes=n}}Ct(Qd,on);class Jd{constructor(e,t,n){this.model=e,this.attribute=n,this._modelSelection=e.document.selection,this._overrideUid=null,this._isNextGravityRestorationSkipped=!1,t.listenTo(this._modelSelection,"change:range",(e,t)=>{this._isNextGravityRestorationSkipped?this._isNextGravityRestorationSkipped=!1:this._isGravityOverridden&&(!t.directChange&&Kd(this._modelSelection.getFirstPosition(),n)||this._restoreGravity())})}handleForwardMovement(e,t){const n=this.attribute;if(!(this._isGravityOverridden||e.isAtStart&&this._hasSelectionAttribute))return Zd(e,n)&&this._hasSelectionAttribute?(this._preventCaretMovement(t),this._removeSelectionAttribute(),!0):Xd(e,n)||$d(e,n)&&this._hasSelectionAttribute?(this._preventCaretMovement(t),this._overrideGravity(),!0):void 0}handleBackwardMovement(e,t){const n=this.attribute;return this._isGravityOverridden?Zd(e,n)&&this._hasSelectionAttribute?(this._preventCaretMovement(t),this._restoreGravity(),this._removeSelectionAttribute(),!0):(this._preventCaretMovement(t),this._restoreGravity(),e.isAtStart&&this._removeSelectionAttribute(),!0):Zd(e,n)&&!this._hasSelectionAttribute?(this._preventCaretMovement(t),this._setSelectionAttributeFromTheNodeBefore(e),!0):e.isAtEnd&&$d(e,n)?this._hasSelectionAttribute?void(eh(e,n)&&(this._skipNextAutomaticGravityRestoration(),this._overrideGravity())):(this._preventCaretMovement(t),this._setSelectionAttributeFromTheNodeBefore(e),!0):e.isAtStart?this._hasSelectionAttribute?(this._removeSelectionAttribute(),this._preventCaretMovement(t),!0):void 0:void(eh(e,n)&&(this._skipNextAutomaticGravityRestoration(),this._overrideGravity()))}get _isGravityOverridden(){return!!this._overrideUid}get _hasSelectionAttribute(){return this._modelSelection.hasAttribute(this.attribute)}_overrideGravity(){this._overrideUid=this.model.change(e=>e.overrideSelectionGravity())}_restoreGravity(){this.model.change(e=>{e.restoreSelectionGravity(this._overrideUid),this._overrideUid=null})}_preventCaretMovement(e){e.preventDefault()}_removeSelectionAttribute(){this.model.change(e=>{e.removeSelectionAttribute(this.attribute)})}_setSelectionAttributeFromTheNodeBefore(e){const t=this.attribute;this.model.change(n=>{n.setSelectionAttribute(this.attribute,e.nodeBefore.getAttribute(t))})}_skipNextAutomaticGravityRestoration(){this._isNextGravityRestorationSkipped=!0}}function Kd(e,t){return Xd(e,t)||$d(e,t)}function Xd(e,t){const{nodeBefore:n,nodeAfter:r}=e,o=!!n&&n.hasAttribute(t);return!!r&&r.hasAttribute(t)&&(!o||n.getAttribute(t)!==r.getAttribute(t))}function $d(e,t){const{nodeBefore:n,nodeAfter:r}=e,o=!!n&&n.hasAttribute(t),i=!!r&&r.hasAttribute(t);return o&&(!i||n.getAttribute(t)!==r.getAttribute(t))}function Zd(e,t){const{nodeBefore:n,nodeAfter:r}=e,o=!!n&&n.hasAttribute(t);if(r&&r.hasAttribute(t)&&o)return r.getAttribute(t)!==n.getAttribute(t)}function eh(e,t){return Kd(e.getShiftedBy(-1),t)}n(73);const th="ck-link_selected",nh="automatic",rh=/^(https?:)?\/\//;class oh extends Is{constructor(e){super(e),e.config.define("link",{addTargetToExternalLinks:!1})}init(){const e=this.editor,t=e.locale;e.model.schema.extend("$text",{allowAttributes:"linkHref"}),e.conversion.for("dataDowncast").attributeToElement({model:"linkHref",view:Wd}),e.conversion.for("editingDowncast").attributeToElement({model:"linkHref",view:(e,t)=>Wd(qd(e),t)}),e.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:{href:!0}},model:{key:"linkHref",value:e=>e.getAttribute("href")}}),e.commands.add("link",new xd(e)),e.commands.add("unlink",new Td(e));const n=function(e,t){const n={"Open in a new tab":e("ax"),Downloadable:e("ay")};return t.forEach(e=>(e.label&&n[e.label]&&(e.label=n[e.label]),e)),t}(e.t,function(e){const t=[];if(e)for(const[n,r]of Object.entries(e)){const e=Object.assign({},r,{id:"link"+Bd(n)});t.push(e)}return t}(e.config.get("link.decorators")));this._enableAutomaticDecorators(n.filter(e=>e.mode===nh)),this._enableManualDecorators(n.filter(e=>"manual"===e.mode)),function({view:e,model:t,emitter:n,attribute:r,locale:o}){const i=new Jd(t,n,r),a=t.document.selection;n.listenTo(e.document,"keydown",(e,t)=>{if(!a.isCollapsed)return;if(t.shiftKey||t.altKey||t.ctrlKey)return;const n=t.keyCode==Rn.arrowright,r=t.keyCode==Rn.arrowleft;if(!n&&!r)return;const s=a.getFirstPosition(),l=o.contentLanguageDirection;let c;(c="ltr"===l&&n||"rtl"===l&&r?i.handleForwardMovement(s,t):i.handleBackwardMovement(s,t))&&e.stop()},{priority:yt.get("high")+1})}({view:e.editing.view,model:e.model,emitter:this,attribute:"linkHref",locale:t}),this._setupLinkHighlight()}_enableAutomaticDecorators(e){const t=this.editor,n=new Gd;t.config.get("link.addTargetToExternalLinks")&&n.add({id:"linkIsExternal",mode:nh,callback:e=>rh.test(e),attributes:{target:"_blank",rel:"noopener noreferrer"}}),n.add(e),n.length&&t.conversion.for("downcast").add(n.getDispatcher())}_enableManualDecorators(e){if(!e.length)return;const t=this.editor,n=t.commands.get("link").manualDecorators;e.forEach(e=>{t.model.schema.extend("$text",{allowAttributes:e.id}),n.add(new Qd(e)),t.conversion.for("downcast").attributeToElement({model:e.id,view:(t,r)=>{if(t){const t=n.get(e.id).attributes,o=r.createAttributeElement("a",t,{priority:5});return r.setCustomProperty("link",!0,o),o}}}),t.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:n.get(e.id).attributes},model:{key:e.id}})})}_setupLinkHighlight(){const e=this.editor,t=e.editing.view,n=new Set;t.document.registerPostFixer(t=>{const r=e.model.document.selection;let o=!1;if(r.hasAttribute("linkHref")){const i=kd(r.getFirstPosition(),r.getAttribute("linkHref"),e.model),a=e.editing.mapper.toViewRange(i);for(const e of a.getItems())e.is("a")&&!e.hasClass(th)&&(t.addClass(th,e),n.add(e),o=!0)}return o}),e.conversion.for("editingDowncast").add(e=>{function r(){t.change(e=>{for(const t of n.values())e.removeClass(th,t),n.delete(t)})}e.on("insert",r,{priority:"highest"}),e.on("remove",r,{priority:"highest"}),e.on("attribute",r,{priority:"highest"}),e.on("selection",r,{priority:"highest"})})}}class ih extends Kr{constructor(e){super(e),this.domEventType="click"}onDomEvent(e){this.fire(e.type,e)}}n(75);class ah extends ys{constructor(e,t=[]){super(e);const n=e.t;this.focusTracker=new Ga,this.keystrokes=new ja,this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(n("bd"),Xc,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(n("be"),$c,"ck-button-cancel","cancel"),this._manualDecoratorSwitches=this._createManualDecoratorSwitches(t),this.children=this._createFormChildren(t),this._focusables=new ts,this._focusCycler=new Ls({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});const r=["ck","ck-link-form"];t.length&&r.push("ck-link-form_layout-vertical"),this.setTemplate({tag:"form",attributes:{class:r,tabindex:"-1"},children:this.children})}getDecoratorSwitchesState(){return Array.from(this._manualDecoratorSwitches).reduce((e,t)=>(e[t.name]=t.isOn,e),{})}render(){super.render(),Kc({view:this}),[this.urlInputView,...this._manualDecoratorSwitches,this.saveButtonView,this.cancelButtonView].forEach(e=>{this._focusables.add(e),this.focusTracker.add(e.element)}),this.keystrokes.listenTo(this.element)}focus(){this._focusCycler.focusFirst()}_createUrlInput(){const e=this.locale.t,t=new Qc(this.locale,Jc);return t.label=e("bf"),t.inputView.placeholder="https://example.com",t}_createButton(e,t,n,r){const o=new Ll(this.locale);return o.set({label:e,icon:t,tooltip:!0}),o.extendTemplate({attributes:{class:n}}),r&&o.delegate("execute").to(this,r),o}_createManualDecoratorSwitches(e){const t=this.createCollection();for(const n of e){const e=new Ku(this.locale);e.set({name:n.id,label:n.label,withText:!0}),e.bind("isOn").to(n,"value"),e.on("execute",()=>{n.set("value",!e.isOn)}),t.add(e)}return t}_createFormChildren(e){const t=this.createCollection();if(t.add(this.urlInputView),e.length){const e=new ys;e.setTemplate({tag:"ul",children:this._manualDecoratorSwitches.map(e=>({tag:"li",children:[e],attributes:{class:["ck","ck-list__item"]}})),attributes:{class:["ck","ck-reset","ck-list"]}}),t.add(e)}return t.add(this.saveButtonView),t.add(this.cancelButtonView),t}}n(77);class sh extends ys{constructor(e){super(e);const t=e.t;this.focusTracker=new Ga,this.keystrokes=new ja,this.previewButtonView=this._createPreviewButton(),this.unlinkButtonView=this._createButton(t("az"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.077 15l.991-1.416a.75.75 0 1 1 1.229.86l-1.148 1.64a.748.748 0 0 1-.217.206 5.251 5.251 0 0 1-8.503-5.955.741.741 0 0 1 .12-.274l1.147-1.639a.75.75 0 1 1 1.228.86L4.933 10.7l.006.003a3.75 3.75 0 0 0 6.132 4.294l.006.004zm5.494-5.335a.748.748 0 0 1-.12.274l-1.147 1.639a.75.75 0 1 1-1.228-.86l.86-1.23a3.75 3.75 0 0 0-6.144-4.301l-.86 1.229a.75.75 0 0 1-1.229-.86l1.148-1.64a.748.748 0 0 1 .217-.206 5.251 5.251 0 0 1 8.503 5.955zm-4.563-2.532a.75.75 0 0 1 .184 1.045l-3.155 4.505a.75.75 0 1 1-1.229-.86l3.155-4.506a.75.75 0 0 1 1.045-.184zm4.919 10.562l-1.414 1.414a.75.75 0 1 1-1.06-1.06l1.414-1.415-1.415-1.414a.75.75 0 0 1 1.061-1.06l1.414 1.414 1.414-1.415a.75.75 0 0 1 1.061 1.061l-1.414 1.414 1.414 1.415a.75.75 0 0 1-1.06 1.06l-1.415-1.414z"/></svg>',"unlink"),this.editButtonView=this._createButton(t("ba"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7.3 17.37l-.061.088a1.518 1.518 0 0 1-.934.535l-4.178.663-.806-4.153a1.495 1.495 0 0 1 .187-1.058l.056-.086L8.77 2.639c.958-1.351 2.803-1.076 4.296-.03 1.497 1.047 2.387 2.693 1.433 4.055L7.3 17.37zM9.14 4.728l-5.545 8.346 3.277 2.294 5.544-8.346L9.14 4.728zM6.07 16.512l-3.276-2.295.53 2.73 2.746-.435zM9.994 3.506L13.271 5.8c.316-.452-.16-1.333-1.065-1.966-.905-.634-1.895-.78-2.212-.328zM8 18.5L9.375 17H19v1.5H8z"/></svg>',"edit"),this.set("href"),this._focusables=new ts,this._focusCycler=new Ls({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-link-actions"],tabindex:"-1"},children:[this.previewButtonView,this.editButtonView,this.unlinkButtonView]})}render(){super.render(),[this.previewButtonView,this.editButtonView,this.unlinkButtonView].forEach(e=>{this._focusables.add(e),this.focusTracker.add(e.element)}),this.keystrokes.listenTo(this.element)}focus(){this._focusCycler.focusFirst()}_createButton(e,t,n){const r=new Ll(this.locale);return r.set({label:e,icon:t,tooltip:!0}),r.delegate("execute").to(this,n),r}_createPreviewButton(){const e=new Ll(this.locale),t=this.bindTemplate,n=this.t;return e.set({withText:!0,tooltip:n("bb")}),e.extendTemplate({attributes:{class:["ck","ck-link-actions__preview"],href:t.to("href",e=>e&&qd(e)),target:"_blank"}}),e.bind("label").to(this,"href",e=>e||n("bc")),e.bind("isEnabled").to(this,"href",e=>!!e),e.template.tag="a",e.template.eventListeners={},e}}const lh="Ctrl+K";class ch extends Is{static get requires(){return[uu]}static get pluginName(){return"LinkUI"}init(){const e=this.editor;e.editing.view.addObserver(ih),this.actionsView=this._createActionsView(),this.formView=this._createFormView(),this._balloon=e.plugins.get(uu),this._createToolbarLinkButton(),this._enableUserBalloonInteractions()}destroy(){super.destroy(),this.formView.destroy()}_createActionsView(){const e=this.editor,t=new sh(e.locale),n=e.commands.get("link"),r=e.commands.get("unlink");return t.bind("href").to(n,"value"),t.editButtonView.bind("isEnabled").to(n),t.unlinkButtonView.bind("isEnabled").to(r),this.listenTo(t,"edit",()=>{this._addFormView()}),this.listenTo(t,"unlink",()=>{e.execute("unlink"),this._hideUI()}),t.keystrokes.set("Esc",(e,t)=>{this._hideUI(),t()}),t.keystrokes.set(lh,(e,t)=>{this._addFormView(),t()}),t}_createFormView(){const e=this.editor,t=e.commands.get("link"),n=new ah(e.locale,t.manualDecorators);return n.urlInputView.bind("value").to(t,"value"),n.urlInputView.bind("isReadOnly").to(t,"isEnabled",e=>!e),n.saveButtonView.bind("isEnabled").to(t),this.listenTo(n,"submit",()=>{e.execute("link",n.urlInputView.inputView.element.value,n.getDecoratorSwitchesState()),this._closeFormView()}),this.listenTo(n,"cancel",()=>{this._closeFormView()}),n.keystrokes.set("Esc",(e,t)=>{this._closeFormView(),t()}),n}_createToolbarLinkButton(){const e=this.editor,t=e.commands.get("link"),n=e.t;e.keystrokes.set(lh,(e,n)=>{n(),t.isEnabled&&this._showUI(!0)}),e.ui.componentFactory.add("link",e=>{const r=new Ll(e);return r.isEnabled=!0,r.label=n("aq"),r.icon='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.077 15l.991-1.416a.75.75 0 1 1 1.229.86l-1.148 1.64a.748.748 0 0 1-.217.206 5.251 5.251 0 0 1-8.503-5.955.741.741 0 0 1 .12-.274l1.147-1.639a.75.75 0 1 1 1.228.86L4.933 10.7l.006.003a3.75 3.75 0 0 0 6.132 4.294l.006.004zm5.494-5.335a.748.748 0 0 1-.12.274l-1.147 1.639a.75.75 0 1 1-1.228-.86l.86-1.23a3.75 3.75 0 0 0-6.144-4.301l-.86 1.229a.75.75 0 0 1-1.229-.86l1.148-1.64a.748.748 0 0 1 .217-.206 5.251 5.251 0 0 1 8.503 5.955zm-4.563-2.532a.75.75 0 0 1 .184 1.045l-3.155 4.505a.75.75 0 1 1-1.229-.86l3.155-4.506a.75.75 0 0 1 1.045-.184z"/></svg>',r.keystroke=lh,r.tooltip=!0,r.isToggleable=!0,r.bind("isEnabled").to(t,"isEnabled"),r.bind("isOn").to(t,"value",e=>!!e),this.listenTo(r,"execute",()=>this._showUI(!0)),r})}_enableUserBalloonInteractions(){const e=this.editor.editing.view.document;this.listenTo(e,"click",()=>{this._getSelectedLinkElement()&&this._showUI()}),this.editor.keystrokes.set("Tab",(e,t)=>{this._areActionsVisible&&!this.actionsView.focusTracker.isFocused&&(this.actionsView.focus(),t())},{priority:"high"}),this.editor.keystrokes.set("Esc",(e,t)=>{this._isUIVisible&&(this._hideUI(),t())}),Gc({emitter:this.formView,activator:()=>this._isUIInPanel,contextElements:[this._balloon.view.element],callback:()=>this._hideUI()})}_addActionsView(){this._areActionsInPanel||this._balloon.add({view:this.actionsView,position:this._getBalloonPositionData()})}_addFormView(){if(this._isFormInPanel)return;const e=this.editor.commands.get("link");this._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this._balloon.visibleView===this.formView&&this.formView.urlInputView.select(),this.formView.urlInputView.inputView.element.value=e.value||""}_closeFormView(){const e=this.editor.commands.get("link");e.restoreManualDecoratorStates(),void 0!==e.value?this._removeFormView():this._hideUI()}_removeFormView(){this._isFormInPanel&&(this.formView.saveButtonView.focus(),this._balloon.remove(this.formView),this.editor.editing.view.focus())}_showUI(e=!1){this.editor.commands.get("link").isEnabled&&(this._getSelectedLinkElement()?(this._areActionsVisible?this._addFormView():this._addActionsView(),e&&this._balloon.showStack("main")):(this._addActionsView(),e&&this._balloon.showStack("main"),this._addFormView()),this._startUpdatingUI())}_hideUI(){if(!this._isUIInPanel)return;const e=this.editor;this.stopListening(e.ui,"update"),this.stopListening(this._balloon,"change:visibleView"),e.editing.view.focus(),this._removeFormView(),this._balloon.remove(this.actionsView)}_startUpdatingUI(){const e=this.editor,t=e.editing.view.document;let n=this._getSelectedLinkElement(),r=i();const o=()=>{const e=this._getSelectedLinkElement(),t=i();n&&!e||!n&&t!==r?this._hideUI():this._isUIVisible&&this._balloon.updatePosition(this._getBalloonPositionData()),n=e,r=t};function i(){return t.selection.focus.getAncestors().reverse().find(e=>e.is("element"))}this.listenTo(e.ui,"update",o),this.listenTo(this._balloon,"change:visibleView",o)}get _isFormInPanel(){return this._balloon.hasView(this.formView)}get _areActionsInPanel(){return this._balloon.hasView(this.actionsView)}get _areActionsVisible(){return this._balloon.visibleView===this.actionsView}get _isUIInPanel(){return this._isFormInPanel||this._areActionsInPanel}get _isUIVisible(){return this._balloon.visibleView==this.formView||this._areActionsVisible}_getBalloonPositionData(){const e=this.editor.editing.view,t=e.document,n=this._getSelectedLinkElement();return{target:n?e.domConverter.mapViewToDom(n):e.domConverter.viewRangeToDom(t.selection.getFirstRange())}}_getSelectedLinkElement(){const e=this.editor.editing.view,t=e.document.selection;if(t.isCollapsed)return uh(t.getFirstPosition());{const n=t.getFirstRange().getTrimmed(),r=uh(n.start),o=uh(n.end);return r&&r==o&&e.createRangeIn(r).getTrimmed().isEqual(n)?r:null}}}function uh(e){return e.getAncestors().find(e=>function(e){return e.is("attributeElement")&&!!e.getCustomProperty("link")}(e))}class dh extends Hs{constructor(e,t){super(e),this.type=t}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(){const e=this.editor.model,t=e.document,n=Array.from(t.selection.getSelectedBlocks()).filter(t=>fh(t,e.schema)),r=!0===this.value;e.change(e=>{if(r){let t=n[n.length-1].nextSibling,r=Number.POSITIVE_INFINITY,o=[];for(;t&&"listItem"==t.name&&0!==t.getAttribute("listIndent");){const e=t.getAttribute("listIndent");e<r&&(r=e);const n=e-r;o.push({element:t,listIndent:n}),t=t.nextSibling}o=o.reverse();for(const t of o)e.setAttribute("listIndent",t.listIndent,t.element)}if(!r){let e=Number.POSITIVE_INFINITY;for(const t of n)t.is("listItem")&&t.getAttribute("listIndent")<e&&(e=t.getAttribute("listIndent"));hh(n,!0,e=0===e?1:e),hh(n,!1,e)}for(const t of n.reverse())r&&"listItem"==t.name?e.rename(t,"paragraph"):r||"listItem"==t.name?r||"listItem"!=t.name||t.getAttribute("listType")==this.type||e.setAttribute("listType",this.type,t):(e.setAttributes({listType:this.type,listIndent:0},t),e.rename(t,"listItem"))})}_getValue(){const e=tc(this.editor.model.document.selection.getSelectedBlocks());return!!e&&e.is("listItem")&&e.getAttribute("listType")==this.type}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,t=this.editor.model.schema,n=tc(e.getSelectedBlocks());return!!n&&fh(n,t)}}function hh(e,t,n){const r=t?e[0]:e[e.length-1];if(r.is("listItem")){let o=r[t?"previousSibling":"nextSibling"],i=r.getAttribute("listIndent");for(;o&&o.is("listItem")&&o.getAttribute("listIndent")>=n;)i>o.getAttribute("listIndent")&&(i=o.getAttribute("listIndent")),o.getAttribute("listIndent")==i&&e[t?"unshift":"push"](o),o=o[t?"previousSibling":"nextSibling"]}}function fh(e,t){return t.checkChild(e.parent,"listItem")&&!t.isObject(e)}class ph extends Hs{constructor(e,t){super(e),this._indentBy="forward"==t?1:-1}refresh(){this.isEnabled=this._checkEnabled()}execute(){const e=this.editor.model,t=e.document;let n=Array.from(t.selection.getSelectedBlocks());e.change(e=>{const t=n[n.length-1];let r=t.nextSibling;for(;r&&"listItem"==r.name&&r.getAttribute("listIndent")>t.getAttribute("listIndent");)n.push(r),r=r.nextSibling;this._indentBy<0&&(n=n.reverse());for(const t of n){const n=t.getAttribute("listIndent")+this._indentBy;n<0?e.rename(t,"paragraph"):e.setAttribute("listIndent",n,t)}})}_checkEnabled(){const e=tc(this.editor.model.document.selection.getSelectedBlocks());if(!e||!e.is("listItem"))return!1;if(this._indentBy>0){const t=e.getAttribute("listIndent"),n=e.getAttribute("listType");let r=e.previousSibling;for(;r&&r.is("listItem")&&r.getAttribute("listIndent")>=t;){if(r.getAttribute("listIndent")==t)return r.getAttribute("listType")==n;r=r.previousSibling}return!1}return!0}}function mh(e,t,n,r){const o=t.parent,i=n.mapper,a=n.writer;let s=i.toViewPosition(r.createPositionBefore(e));const l=bh(e.previousSibling,{sameIndent:!0,smallerIndent:!0,listIndent:e.getAttribute("listIndent")}),c=e.previousSibling;if(l&&l.getAttribute("listIndent")==e.getAttribute("listIndent")){const e=i.toViewElement(l);s=a.breakContainer(a.createPositionAfter(e))}else s=c&&"listItem"==c.name?i.toViewPosition(r.createPositionAt(c,"end")):i.toViewPosition(r.createPositionBefore(e));if(s=_h(s),a.insert(s,o),c&&"listItem"==c.name){const e=i.toViewElement(c),n=a.createRange(a.createPositionAt(e,0),s).getWalker({ignoreElementEnd:!0});for(const e of n)if(e.item.is("li")){const r=a.breakContainer(a.createPositionBefore(e.item)),o=e.item.parent,i=a.createPositionAt(t,"end");gh(a,i.nodeBefore,i.nodeAfter),a.move(a.createRangeOn(o),i),n.position=r}}else{const n=o.nextSibling;if(n&&(n.is("ul")||n.is("ol"))){let r=null;for(const t of n.getChildren()){const n=i.toModelElement(t);if(!(n&&n.getAttribute("listIndent")>e.getAttribute("listIndent")))break;r=t}r&&(a.breakContainer(a.createPositionAfter(r)),a.move(a.createRangeOn(r.parent),a.createPositionAt(t,"end")))}}gh(a,o,o.nextSibling),gh(a,o.previousSibling,o)}function gh(e,t,n){return!t||!n||"ul"!=t.name&&"ol"!=t.name||t.name!=n.name||t.getAttribute("class")!==n.getAttribute("class")?null:e.mergeContainers(e.createPositionAfter(t))}function _h(e){return e.getLastMatchingPosition(e=>e.item.is("uiElement"))}function bh(e,t){const n=!!t.sameIndent,r=!!t.smallerIndent,o=t.listIndent;let i=e;for(;i&&"listItem"==i.name;){const e=i.getAttribute("listIndent");if(n&&o==e||r&&o>e)return i;i=i.previousSibling}return null}function vh(e,t,n,r){e.ui.componentFactory.add(t,o=>{const i=e.commands.get(t),a=new Ll(o);return a.set({label:n,icon:r,tooltip:!0,isToggleable:!0}),a.bind("isOn","isEnabled").to(i,"value","isEnabled"),a.on("execute",()=>e.execute(t)),a})}function yh(){const e=!this.isEmpty&&("ul"==this.getChild(0).name||"ol"==this.getChild(0).name);return this.isEmpty||e?0:Ut.call(this)}function wh(e){return(t,n,r)=>{const o=r.consumable;if(!o.test(n.item,"insert")||!o.test(n.item,"attribute:listType")||!o.test(n.item,"attribute:listIndent"))return;o.consume(n.item,"insert"),o.consume(n.item,"attribute:listType"),o.consume(n.item,"attribute:listIndent");const i=n.item;mh(i,function(e,t){const n=t.mapper,r=t.writer,o="numbered"==e.getAttribute("listType")?"ol":"ul",i=function(e){const t=e.createContainerElement("li");return t.getFillerOffset=yh,t}(r),a=r.createContainerElement(o,null);return r.insert(r.createPositionAt(a,0),i),n.bindElements(e,i),i}(i,r),r,e)}}function kh(e,t,n){if(!n.consumable.consume(t.item,"attribute:listType"))return;const r=n.mapper.toViewElement(t.item),o=n.writer;o.breakContainer(o.createPositionBefore(r)),o.breakContainer(o.createPositionAfter(r));const i=r.parent,a="numbered"==t.attributeNewValue?"ol":"ul";o.rename(a,i)}function Mh(e,t,n){const r=n.mapper.toViewElement(t.item).parent,o=n.writer;gh(o,r,r.nextSibling),gh(o,r.previousSibling,r);for(const e of t.item.getChildren())n.consumable.consume(e,"insert")}function xh(e,t,n){if("listItem"!=t.item.name){let e=n.mapper.toViewPosition(t.range.start);const r=n.writer,o=[];for(;("ul"==e.parent.name||"ol"==e.parent.name)&&"li"==(e=r.breakContainer(e)).parent.name;){const t=e,n=r.createPositionAt(e.parent,"end");if(!t.isEqual(n)){const e=r.remove(r.createRange(t,n));o.push(e)}e=r.createPositionAfter(e.parent)}if(o.length>0){for(let t=0;t<o.length;t++){const n=e.nodeBefore;if(e=r.insert(e,o[t]).end,t>0){const t=gh(r,n,n.nextSibling);t&&t.parent==n&&e.offset--}}gh(r,e.nodeBefore,e.nodeAfter)}}}function Th(e,t,n){const r=n.mapper.toViewPosition(t.position),o=r.nodeBefore,i=r.nodeAfter;gh(n.writer,o,i)}function Eh(e,t,n){if(n.consumable.consume(t.viewItem,{name:!0})){const e=n.writer,r=this.conversionApi.store,o=e.createElement("listItem");r.indent=r.indent||0,e.setAttribute("listIndent",r.indent,o);const i=t.viewItem.parent&&"ol"==t.viewItem.parent.name?"numbered":"bulleted";e.setAttribute("listType",i,o),r.indent++;const a=n.splitToAllowedParent(o,t.modelCursor);if(!a)return;e.insert(o,a.position);const s=function(e,t,n){const{writer:r,schema:o}=n;let i=r.createPositionAfter(e);for(const a of t)if("ul"==a.name||"ol"==a.name)i=n.convertItem(a,i).modelCursor;else{const t=n.convertItem(a,r.createPositionAt(e,"end")),s=t.modelRange.start.nodeAfter;s&&s.is("element")&&!o.checkChild(e,s.name)&&(e=t.modelCursor.parent.is("listItem")?t.modelCursor.parent:Ph(t.modelCursor),i=r.createPositionAfter(e))}return i}(o,t.viewItem.getChildren(),n);r.indent--,t.modelRange=e.createRange(t.modelCursor,s),a.cursorParent?t.modelCursor=e.createPositionAt(a.cursorParent,0):t.modelCursor=t.modelRange.end}}function Sh(e,t,n){if(n.consumable.test(t.viewItem,{name:!0})){const e=Array.from(t.viewItem.getChildren());for(const t of e)t.is("li")||t._remove()}}function Dh(e,t,n){if(n.consumable.test(t.viewItem,{name:!0})){if(0===t.viewItem.childCount)return;const e=[...t.viewItem.getChildren()];let n=!1,r=!0;for(const t of e)!n||t.is("ul")||t.is("ol")||t._remove(),t.is("text")?(r&&(t._data=t.data.replace(/^\s+/,"")),(!t.nextSibling||t.nextSibling.is("ul")||t.nextSibling.is("ol"))&&(t._data=t.data.replace(/\s+$/,""))):(t.is("ul")||t.is("ol"))&&(n=!0),r=!1}}function Lh(e){return(t,n)=>{if(n.isPhantom)return;const r=n.modelPosition.nodeBefore;if(r&&r.is("listItem")){const t=n.mapper.toViewElement(r),o=t.getAncestors().find(e=>e.is("ul")||e.is("ol")),i=e.createPositionAt(t,0).getWalker();for(const e of i){if("elementStart"==e.type&&e.item.is("li")){n.viewPosition=e.previousPosition;break}if("elementEnd"==e.type&&e.item==o){n.viewPosition=e.nextPosition;break}}}}}function Ch(e,[t,n]){let r,o=t.is("documentFragment")?t.getChild(0):t;if(r=n?this.createSelection(n):this.document.selection,o&&o.is("listItem")){const e=r.getFirstPosition();let t=null;if(e.parent.is("listItem")?t=e.parent:e.nodeBefore&&e.nodeBefore.is("listItem")&&(t=e.nodeBefore),t){const e=t.getAttribute("listIndent");if(e>0)for(;o&&o.is("listItem");)o._setAttribute("listIndent",o.getAttribute("listIndent")+e),o=o.nextSibling}}}function Ph(e){const t=new jo({startPosition:e});let n;do{n=t.next()}while(!n.value.item.is("listItem"));return n.value.item}function Oh(e,t,n,r,o,i){const a=bh(t.nodeBefore,{sameIndent:!0,smallerIndent:!0,listIndent:e,foo:"b"}),s=o.mapper,l=o.writer,c=a?a.getAttribute("listIndent"):null;let u;if(a)if(c==e){const e=s.toViewElement(a).parent;u=l.createPositionAfter(e)}else{const e=i.createPositionAt(a,"end");u=s.toViewPosition(e)}else u=n;u=_h(u);for(const e of[...r.getChildren()])(e.is("ul")||e.is("ol"))&&(u=l.move(l.createRangeOn(e),u).end,gh(l,e,e.nextSibling),gh(l,e.previousSibling,e))}class Ah extends Is{static get requires(){return[Yu]}init(){const e=this.editor;e.model.schema.register("listItem",{inheritAllFrom:"$block",allowAttributes:["listType","listIndent"]});const t=e.data,n=e.editing;e.model.document.registerPostFixer(t=>function(e,t){const n=e.document.differ.getChanges(),r=new Map;let o=!1;for(const e of n)if("insert"==e.type&&"listItem"==e.name)i(e.position);else if("insert"==e.type&&"listItem"!=e.name){if("$text"!=e.name){const n=e.position.nodeAfter;n.hasAttribute("listIndent")&&(t.removeAttribute("listIndent",n),o=!0),n.hasAttribute("listType")&&(t.removeAttribute("listType",n),o=!0)}i(e.position.getShiftedBy(e.length))}else"remove"==e.type&&"listItem"==e.name?i(e.position):("attribute"==e.type&&"listIndent"==e.attributeKey||"attribute"==e.type&&"listType"==e.attributeKey)&&i(e.range.start);for(const e of r.values())a(e),s(e);return o;function i(e){const t=e.nodeBefore;if(t&&t.is("listItem")){let n=t;if(r.has(n))return;for(;n.previousSibling&&n.previousSibling.is("listItem");)if(n=n.previousSibling,r.has(n))return;r.set(e.nodeBefore,n)}else{const t=e.nodeAfter;t&&t.is("listItem")&&r.set(t,t)}}function a(e){let n=0,r=null;for(;e&&e.is("listItem");){const i=e.getAttribute("listIndent");if(i>n){let a;null===r?(r=i-n,a=n):(r>i&&(r=i),a=i-r),t.setAttribute("listIndent",a,e),o=!0}else r=null,n=e.getAttribute("listIndent")+1;e=e.nextSibling}}function s(e){let n=[],r=null;for(;e&&e.is("listItem");){const i=e.getAttribute("listIndent");if(r&&r.getAttribute("listIndent")>i&&(n=n.slice(0,i+1)),0!=i)if(n[i]){const r=n[i];e.getAttribute("listType")!=r&&(t.setAttribute("listType",r,e),o=!0)}else n[i]=e.getAttribute("listType");r=e,e=e.nextSibling}}}(e.model,t)),n.mapper.registerViewToModelLength("li",Nh),t.mapper.registerViewToModelLength("li",Nh),n.mapper.on("modelToViewPosition",Lh(n.view)),n.mapper.on("viewToModelPosition",function(e){return(t,n)=>{const r=n.viewPosition,o=r.parent,i=n.mapper;if("ul"==o.name||"ol"==o.name){if(r.isAtEnd){const t=i.toModelElement(r.nodeBefore),o=i.getModelLength(r.nodeBefore);n.modelPosition=e.createPositionBefore(t).getShiftedBy(o)}else{const t=i.toModelElement(r.nodeAfter);n.modelPosition=e.createPositionBefore(t)}t.stop()}else if("li"==o.name&&r.nodeBefore&&("ul"==r.nodeBefore.name||"ol"==r.nodeBefore.name)){const a=i.toModelElement(o);let s=1,l=r.nodeBefore;for(;l&&(l.is("ul")||l.is("ol"));)s+=i.getModelLength(l),l=l.previousSibling;n.modelPosition=e.createPositionBefore(a).getShiftedBy(s),t.stop()}}}(e.model)),t.mapper.on("modelToViewPosition",Lh(n.view)),n.downcastDispatcher.on("insert",xh,{priority:"high"}),n.downcastDispatcher.on("insert:listItem",wh(e.model)),t.downcastDispatcher.on("insert",xh,{priority:"high"}),t.downcastDispatcher.on("insert:listItem",wh(e.model)),n.downcastDispatcher.on("attribute:listType:listItem",kh,{priority:"high"}),n.downcastDispatcher.on("attribute:listType:listItem",Mh,{priority:"low"}),n.downcastDispatcher.on("attribute:listIndent:listItem",function(e){return(t,n,r)=>{if(!r.consumable.consume(n.item,"attribute:listIndent"))return;const o=r.mapper.toViewElement(n.item),i=r.writer;i.breakContainer(i.createPositionBefore(o)),i.breakContainer(i.createPositionAfter(o));const a=o.parent,s=a.previousSibling,l=i.createRangeOn(a);i.remove(l),s&&s.nextSibling&&gh(i,s,s.nextSibling),Oh(n.attributeOldValue+1,n.range.start,l.start,o,r,e),mh(n.item,o,r,e);for(const e of n.item.getChildren())r.consumable.consume(e,"insert")}}(e.model)),n.downcastDispatcher.on("remove:listItem",function(e){return(t,n,r)=>{const o=r.mapper.toViewPosition(n.position).getLastMatchingPosition(e=>!e.item.is("li")).nodeAfter,i=r.writer;i.breakContainer(i.createPositionBefore(o)),i.breakContainer(i.createPositionAfter(o));const a=o.parent,s=a.previousSibling,l=i.createRangeOn(a),c=i.remove(l);s&&s.nextSibling&&gh(i,s,s.nextSibling),Oh(r.mapper.toModelElement(o).getAttribute("listIndent")+1,n.position,l.start,o,r,e);for(const e of i.createRangeIn(c).getItems())r.mapper.unbindViewElement(e);t.stop()}}(e.model)),n.downcastDispatcher.on("remove",Th,{priority:"low"}),t.upcastDispatcher.on("element:ul",Sh,{priority:"high"}),t.upcastDispatcher.on("element:ol",Sh,{priority:"high"}),t.upcastDispatcher.on("element:li",Dh,{priority:"high"}),t.upcastDispatcher.on("element:li",Eh),e.model.on("insertContent",Ch,{priority:"high"}),e.commands.add("numberedList",new dh(e,"numbered")),e.commands.add("bulletedList",new dh(e,"bulleted")),e.commands.add("indentList",new ph(e,"forward")),e.commands.add("outdentList",new ph(e,"backward"));const r=n.view.document;this.listenTo(r,"enter",(e,t)=>{const n=this.editor.model.document,r=n.selection.getLastPosition().parent;n.selection.isCollapsed&&"listItem"==r.name&&r.isEmpty&&(this.editor.execute("outdentList"),t.preventDefault(),e.stop())}),this.listenTo(r,"delete",(e,t)=>{if("backward"!==t.direction)return;const n=this.editor.model.document.selection;if(!n.isCollapsed)return;const r=n.getFirstPosition();if(!r.isAtStart)return;const o=r.parent;"listItem"===o.name&&(o.previousSibling&&"listItem"===o.previousSibling.name||(this.editor.execute("outdentList"),t.preventDefault(),e.stop()))},{priority:"high"});const o=e=>(t,n)=>{this.editor.commands.get(e).isEnabled&&(this.editor.execute(e),n())};e.keystrokes.set("Tab",o("indentList")),e.keystrokes.set("Shift+Tab",o("outdentList"))}afterInit(){const e=this.editor.commands,t=e.get("indent"),n=e.get("outdent");t&&t.registerChildCommand(e.get("indentList")),n&&n.registerChildCommand(e.get("outdentList"))}}function Nh(e){let t=1;for(const n of e.getChildren())if("ul"==n.na
1
+ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=449)}([function(e,t,n){"use strict";e.exports=n(253)},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,"a",(function(){return r}))},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function o(){return t.apply(null,arguments)}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function f(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,n,r){return Tt(e,t,n,r,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function g(e){if(null==e._isValid){var t=m(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function _(e){var t=p(NaN);return null!=e?f(m(t),e):m(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var b=o.momentProperties=[],v=!1;function y(e,t){var n,r,o;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=m(t)),c(t._locale)||(e._locale=t._locale),b.length>0)for(n=0;n<b.length;n++)c(o=t[r=b[n]])||(e[r]=o);return e}function w(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,o.updateOffset(this),v=!1)}function k(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function M(e){!1===o.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var n=!0;return f((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,e),n){var r,i,a,l=[];for(i=0;i<arguments.length;i++){if(r="","object"==typeof arguments[i]){for(a in r+="\n["+i+"] ",arguments[0])s(arguments[0],a)&&(r+=a+": "+arguments[0][a]+", ");r=r.slice(0,-2)}else r=arguments[i];l.push(r)}M(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var T,E={};function S(e,t){null!=o.deprecationHandler&&o.deprecationHandler(e,t),E[e]||(M(t),E[e]=!0)}function D(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function L(e,t){var n,r=f({},e);for(n in t)s(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&a(e[n])&&(r[n]=f({},r[n]));return r}function C(e){null!=e&&this.set(e)}function P(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var O=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,A=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,N={},I={};function Y(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(I[e]=o),t&&(I[t[0]]=function(){return P(o.apply(this,arguments),t[1],t[2])}),n&&(I[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function R(e,t){return e.isValid()?(t=j(t,e.localeData()),N[t]=N[t]||function(e){var t,n,r,o=e.match(O);for(t=0,n=o.length;t<n;t++)I[o[t]]?o[t]=I[o[t]]:o[t]=(r=o[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,i="";for(r=0;r<n;r++)i+=D(o[r])?o[r].call(t,e):o[r];return i}}(t),N[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(A.lastIndex=0;n>=0&&A.test(e);)e=e.replace(A,r),A.lastIndex=0,n-=1;return e}var F={};function H(e,t){var n=e.toLowerCase();F[n]=F[n+"s"]=F[t]=e}function z(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function B(e){var t,n,r={};for(n in e)s(e,n)&&(t=z(n))&&(r[t]=e[n]);return r}var V={};function U(e,t){V[e]=t}function W(e){return e%4==0&&e%100!=0||e%400==0}function q(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function G(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=q(t)),n}function Q(e,t){return function(n){return null!=n?(K(this,e,n),o.updateOffset(this,t),this):J(this,e)}}function J(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function K(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&W(e.year())&&1===e.month()&&29===e.date()?(n=G(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ke(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X,$=/\d/,Z=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,re=/\d\d?/,oe=/\d\d\d\d?/,ie=/\d\d\d\d\d\d?/,ae=/\d{1,3}/,se=/\d{1,4}/,le=/[+-]?\d{1,6}/,ce=/\d+/,ue=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,he=/Z|[+-]\d\d(?::?\d\d)?/gi,fe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function pe(e,t,n){X[e]=D(t)?t:function(e,r){return e&&n?n:t}}function me(e,t){return s(X,e)?X[e](t._strict,t._locale):new RegExp(ge(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o}))))}function ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}X={};var _e,be={};function ve(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=G(e)}),n=0;n<e.length;n++)be[e[n]]=r}function ye(e,t){ve(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function we(e,t,n){null!=t&&s(be,e)&&be[e](t,n._a,n,e)}function ke(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?W(e)?29:28:31-r%7%2}_e=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},Y("M",["MM",2],"Mo",(function(){return this.month()+1})),Y("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),Y("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),H("month","M"),U("month",8),pe("M",re),pe("MM",re,Z),pe("MMM",(function(e,t){return t.monthsShortRegex(e)})),pe("MMMM",(function(e,t){return t.monthsRegex(e)})),ve(["M","MM"],(function(e,t){t[1]=G(e)-1})),ve(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[1]=o:m(n).invalidMonth=e}));var Me="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),xe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Te=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ee=fe,Se=fe;function De(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=_e.call(this._shortMonthsParse,a))?o:null:-1!==(o=_e.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=_e.call(this._shortMonthsParse,a))||-1!==(o=_e.call(this._longMonthsParse,a))?o:null:-1!==(o=_e.call(this._longMonthsParse,a))||-1!==(o=_e.call(this._shortMonthsParse,a))?o:null}function Le(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=G(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),ke(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ce(e){return null!=e?(Le(this,e),o.updateOffset(this,!0),this):J(this,"Month")}function Pe(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=p([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=ge(r[t]),o[t]=ge(o[t]);for(t=0;t<24;t++)i[t]=ge(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Oe(e){return W(e)?366:365}Y("Y",0,0,(function(){var e=this.year();return e<=9999?P(e,4):"+"+e})),Y(0,["YY",2],0,(function(){return this.year()%100})),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),H("year","y"),U("year",1),pe("Y",ue),pe("YY",re,Z),pe("YYYY",se,te),pe("YYYYY",le,ne),pe("YYYYYY",le,ne),ve(["YYYYY","YYYYYY"],0),ve("YYYY",(function(e,t){t[0]=2===e.length?o.parseTwoDigitYear(e):G(e)})),ve("YY",(function(e,t){t[0]=o.parseTwoDigitYear(e)})),ve("Y",(function(e,t){t[0]=parseInt(e,10)})),o.parseTwoDigitYear=function(e){return G(e)+(G(e)>68?1900:2e3)};var Ae=Q("FullYear",!0);function Ne(e,t,n,r,o,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function Ie(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ye(e,t,n){var r=7+t-n;return-(7+Ie(e,0,r).getUTCDay()-t)%7+r-1}function Re(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+Ye(e,r,o);return s<=0?a=Oe(i=e-1)+s:s>Oe(e)?(i=e+1,a=s-Oe(e)):(i=e,a=s),{year:i,dayOfYear:a}}function je(e,t,n){var r,o,i=Ye(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+Fe(o=e.year()-1,t,n):a>Fe(e.year(),t,n)?(r=a-Fe(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function Fe(e,t,n){var r=Ye(e,t,n),o=Ye(e+1,t,n);return(Oe(e)-r+o)/7}function He(e,t){return e.slice(t,7).concat(e.slice(0,t))}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),U("week",5),U("isoWeek",5),pe("w",re),pe("ww",re,Z),pe("W",re),pe("WW",re,Z),ye(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=G(e)})),Y("d",0,"do","day"),Y("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),Y("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),Y("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),U("day",11),U("weekday",11),U("isoWeekday",11),pe("d",re),pe("e",re),pe("E",re),pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),ye(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:m(n).invalidWeekday=e})),ye(["d","e","E"],(function(e,t,n,r){t[r]=G(e)}));var ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Be="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ve="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ue=fe,We=fe,qe=fe;function Ge(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=_e.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=_e.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=_e.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=_e.call(this._weekdaysParse,a))||-1!==(o=_e.call(this._shortWeekdaysParse,a))||-1!==(o=_e.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=_e.call(this._shortWeekdaysParse,a))||-1!==(o=_e.call(this._weekdaysParse,a))||-1!==(o=_e.call(this._minWeekdaysParse,a))?o:null:-1!==(o=_e.call(this._minWeekdaysParse,a))||-1!==(o=_e.call(this._weekdaysParse,a))||-1!==(o=_e.call(this._shortWeekdaysParse,a))?o:null}function Qe(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),r=ge(this.weekdaysMin(n,"")),o=ge(this.weekdaysShort(n,"")),i=ge(this.weekdays(n,"")),a.push(r),s.push(o),l.push(i),c.push(r),c.push(o),c.push(i);a.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Je(){return this.hours()%12||12}function Ke(e,t){Y(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Xe(e,t){return t._meridiemParse}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Je),Y("k",["kk",2],0,(function(){return this.hours()||24})),Y("hmm",0,0,(function(){return""+Je.apply(this)+P(this.minutes(),2)})),Y("hmmss",0,0,(function(){return""+Je.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)})),Y("Hmm",0,0,(function(){return""+this.hours()+P(this.minutes(),2)})),Y("Hmmss",0,0,(function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),H("hour","h"),U("hour",13),pe("a",Xe),pe("A",Xe),pe("H",re),pe("h",re),pe("k",re),pe("HH",re,Z),pe("hh",re,Z),pe("kk",re,Z),pe("hmm",oe),pe("hmmss",ie),pe("Hmm",oe),pe("Hmmss",ie),ve(["H","HH"],3),ve(["k","kk"],(function(e,t,n){var r=G(e);t[3]=24===r?0:r})),ve(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ve(["h","hh"],(function(e,t,n){t[3]=G(e),m(n).bigHour=!0})),ve("hmm",(function(e,t,n){var r=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r)),m(n).bigHour=!0})),ve("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r,2)),t[5]=G(e.substr(o)),m(n).bigHour=!0})),ve("Hmm",(function(e,t,n){var r=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r))})),ve("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r,2)),t[5]=G(e.substr(o))}));var $e,Ze=Q("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Me,monthsShort:xe,week:{dow:0,doy:6},weekdays:ze,weekdaysMin:Ve,weekdaysShort:Be,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function rt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function ot(e){return e?e.toLowerCase().replace("_","-"):e}function it(t){var r=null;if(void 0===tt[t]&&void 0!==e&&e&&e.exports)try{r=$e._abbr,n(296)("./"+t),at(r)}catch(e){tt[t]=null}return tt[t]}function at(e,t){var n;return e&&((n=c(t)?lt(e):st(e,t))?$e=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),$e._abbr}function st(e,t){if(null!==t){var n,r=et;if(t.abbr=e,null!=tt[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])r=tt[t.parentLocale]._config;else{if(null==(n=it(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return tt[e]=new C(L(r,t)),nt[e]&&nt[e].forEach((function(e){st(e.name,e.config)})),at(e),tt[e]}return delete tt[e],null}function lt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return $e;if(!i(e)){if(t=it(e))return t;e=[e]}return function(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=ot(e[i]).split("-")).length,n=(n=ot(e[i+1]))?n.split("-"):null;t>0;){if(r=it(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&rt(o,n)>=t-1)break;t--}i++}return $e}(e)}function ct(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ke(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,m(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),m(e)._overflowWeeks&&-1===t&&(t=7),m(e)._overflowWeekday&&-1===t&&(t=8),m(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ht=/Z|[+-]\d\d(?::?\d\d)?/,ft=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],pt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],mt=/^\/?Date\((-?\d+)/i,gt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,_t={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function bt(e){var t,n,r,o,i,a,s=e._i,l=ut.exec(s)||dt.exec(s);if(l){for(m(e).iso=!0,t=0,n=ft.length;t<n;t++)if(ft[t][1].exec(l[1])){o=ft[t][0],r=!1!==ft[t][2];break}if(null==o)return void(e._isValid=!1);if(l[3]){for(t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(l[3])){i=(l[2]||" ")+pt[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(l[4]){if(!ht.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),Mt(e)}else e._isValid=!1}function vt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function yt(e){var t,n,r,o,i,a,s,l,c=gt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[4],r=c[3],o=c[2],i=c[5],a=c[6],s=c[7],l=[vt(n),xe.indexOf(r),parseInt(o,10),parseInt(i,10),parseInt(a,10)],s&&l.push(parseInt(s,10)),t=l,!function(e,t,n){return!e||Be.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(m(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return _t[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}(c[8],c[9],c[10]),e._d=Ie.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function wt(e,t,n){return null!=e?e:null!=t?t:n}function kt(e){var t,n,r,i,a,s=[];if(!e._d){for(r=function(e){var t=new Date(o.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,o,i,a,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,a=4,n=wt(t.GG,e._a[0],je(Et(),1,4).year),r=wt(t.W,1),((o=wt(t.E,1))<1||o>7)&&(l=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,c=je(Et(),i,a),n=wt(t.gg,e._a[0],c.year),r=wt(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(l=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(l=!0)):o=i),r<1||r>Fe(n,i,a)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(s=Re(n,r,o,i,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=wt(e._a[0],r[0]),(e._dayOfYear>Oe(a)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=Ie(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ie:Ne).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(m(e).weekdayMismatch=!0)}}function Mt(e){if(e._f!==o.ISO_8601)if(e._f!==o.RFC_2822){e._a=[],m(e).empty=!0;var t,n,r,i,a,s,l=""+e._i,c=l.length,u=0;for(r=j(e._f,e._locale).match(O)||[],t=0;t<r.length;t++)i=r[t],(n=(l.match(me(i,e))||[])[0])&&((a=l.substr(0,l.indexOf(n))).length>0&&m(e).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),u+=n.length),I[i]?(n?m(e).empty=!1:m(e).unusedTokens.push(i),we(i,n,e)):e._strict&&!n&&m(e).unusedTokens.push(i);m(e).charsLeftOver=c-u,l.length>0&&m(e).unusedInput.push(l),e._a[3]<=12&&!0===m(e).bigHour&&e._a[3]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=m(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),kt(e),ct(e)}else yt(e);else bt(e)}function xt(e){var t=e._i,n=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===n&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new w(ct(t)):(d(t)?e._d=t:i(n)?function(e){var t,n,r,o,i,a,s=!1;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)i=0,a=!1,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Mt(t),g(t)&&(a=!0),i+=m(t).charsLeftOver,i+=10*m(t).unusedTokens.length,m(t).score=i,s?i<r&&(r=i,n=t):(null==r||i<r||a)&&(r=i,n=t,a&&(s=!0));f(e,n||t)}(e):n?Mt(e):function(e){var t=e._i;c(t)?e._d=new Date(o.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=mt.exec(e._i);null===t?(bt(e),!1===e._isValid&&(delete e._isValid,yt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:o.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):i(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),kt(e)):a(t)?function(e){if(!e._d){var t=B(e._i),n=void 0===t.day?t.date:t.day;e._a=h([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),kt(e)}}(e):u(t)?e._d=new Date(t):o.createFromInputFallback(e)}(e),g(e)||(e._d=null),e))}function Tt(e,t,n,r,o){var s,c={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&l(e)||i(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=o,c._l=n,c._i=e,c._f=t,c._strict=r,(s=new w(ct(xt(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Et(e,t,n,r){return Tt(e,t,n,r,!1)}o.createFromInputFallback=x("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var St=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Et.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:_()})),Dt=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Et.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:_()}));function Lt(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Et();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Ct=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var t=B(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,l=t.hour||0,c=t.minute||0,u=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(s(e,t)&&(-1===_e.call(Ct,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Ct.length;++n)if(e[Ct[n]]){if(r)return!1;parseFloat(e[Ct[n]])!==G(e[Ct[n]])&&(r=!0)}return!0}(t),this._milliseconds=+d+1e3*u+6e4*c+1e3*l*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=lt(),this._bubble()}function Ot(e){return e instanceof Pt}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Nt(e,t){Y(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+P(~~(e/60),2)+t+P(~~e%60,2)}))}Nt("Z",":"),Nt("ZZ",""),pe("Z",he),pe("ZZ",he),ve(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Yt(he,e)}));var It=/([\+\-]|\d\d)/gi;function Yt(e,t){var n,r,o=(t||"").match(e);return null===o?null:0===(r=60*(n=((o[o.length-1]||[])+"").match(It)||["-",0,0])[1]+G(n[2]))?0:"+"===n[0]?r:-r}function Rt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(k(e)||d(e)?e.valueOf():Et(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),o.updateOffset(n,!1),n):Et(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function Ft(){return!!this.isValid()&&this._isUTC&&0===this._offset}o.updateOffset=function(){};var Ht=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Bt(e,t){var n,r,o,i,a,l,c=e,d=null;return Ot(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(d=Ht.exec(e))?(n="-"===d[1]?-1:1,c={y:0,d:G(d[2])*n,h:G(d[3])*n,m:G(d[4])*n,s:G(d[5])*n,ms:G(At(1e3*d[6]))*n}):(d=zt.exec(e))?(n="-"===d[1]?-1:1,c={y:Vt(d[2],n),M:Vt(d[3],n),w:Vt(d[4],n),d:Vt(d[5],n),h:Vt(d[6],n),m:Vt(d[7],n),s:Vt(d[8],n)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(i=Et(c.from),a=Et(c.to),o=i.isValid()&&a.isValid()?(a=Rt(a,i),i.isBefore(a)?l=Ut(i,a):((l=Ut(a,i)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=o.milliseconds,c.M=o.months),r=new Pt(c),Ot(e)&&s(e,"_locale")&&(r._locale=e._locale),Ot(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Vt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ut(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Wt(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),qt(this,Bt(n,r),e),this}}function qt(e,t,n,r){var i=t._milliseconds,a=At(t._days),s=At(t._months);e.isValid()&&(r=null==r||r,s&&Le(e,J(e,"Month")+s*n),a&&K(e,"Date",J(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&o.updateOffset(e,a||s))}Bt.fn=Pt.prototype,Bt.invalid=function(){return Bt(NaN)};var Gt=Wt(1,"add"),Qt=Wt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Kt(e){return k(e)||d(e)||Jt(e)||u(e)||function(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Jt(e)})).length),t&&n}(e)||function(e){var t,n,r=a(e)&&!l(e),o=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<i.length;t+=1)n=i[t],o=o||s(e,n);return r&&o}(e)||null==e}function Xt(e){var t,n=a(e)&&!l(e),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)r=r||s(e,o[t]);return n&&r}function $t(e,t){if(e.date()<t.date())return-$t(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Zt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=lt(e))&&(this._locale=t),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var en=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function tn(){return this._locale}function nn(e,t){return(e%t+t)%t}function rn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function on(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function sn(){var e,t,n=[],r=[],o=[],i=[],a=this.eras();for(e=0,t=a.length;e<t;++e)r.push(ge(a[e].name)),n.push(ge(a[e].abbr)),o.push(ge(a[e].narrow)),i.push(ge(a[e].name)),i.push(ge(a[e].abbr)),i.push(ge(a[e].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function ln(e,t){Y(0,[e,e.length],0,t)}function cn(e,t,n,r,o){var i;return null==e?je(this,r,o).year:(t>(i=Fe(e,r,o))&&(t=i),un.call(this,e,t,n,r,o))}function un(e,t,n,r,o){var i=Re(e,t,n,r,o),a=Ie(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),pe("N",an),pe("NN",an),pe("NNN",an),pe("NNNN",(function(e,t){return t.erasNameRegex(e)})),pe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ve(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?m(n).era=o:m(n).invalidEra=e})),pe("y",ce),pe("yy",ce),pe("yyy",ce),pe("yyyy",ce),pe("yo",(function(e,t){return t._eraYearOrdinalRegex||ce})),ve(["y","yy","yyy","yyyy"],0),ve(["yo"],(function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,o):t[0]=parseInt(e,10)})),Y(0,["gg",2],0,(function(){return this.weekYear()%100})),Y(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),H("weekYear","gg"),H("isoWeekYear","GG"),U("weekYear",1),U("isoWeekYear",1),pe("G",ue),pe("g",ue),pe("GG",re,Z),pe("gg",re,Z),pe("GGGG",se,te),pe("gggg",se,te),pe("GGGGG",le,ne),pe("ggggg",le,ne),ye(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=G(e)})),ye(["gg","GG"],(function(e,t,n,r){t[r]=o.parseTwoDigitYear(e)})),Y("Q",0,"Qo","quarter"),H("quarter","Q"),U("quarter",7),pe("Q",$),ve("Q",(function(e,t){t[1]=3*(G(e)-1)})),Y("D",["DD",2],"Do","date"),H("date","D"),U("date",9),pe("D",re),pe("DD",re,Z),pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ve(["D","DD"],2),ve("Do",(function(e,t){t[2]=G(e.match(re)[0])}));var dn=Q("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),U("dayOfYear",4),pe("DDD",ae),pe("DDDD",ee),ve(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=G(e)})),Y("m",["mm",2],0,"minute"),H("minute","m"),U("minute",14),pe("m",re),pe("mm",re,Z),ve(["m","mm"],4);var hn=Q("Minutes",!1);Y("s",["ss",2],0,"second"),H("second","s"),U("second",15),pe("s",re),pe("ss",re,Z),ve(["s","ss"],5);var fn,pn,mn=Q("Seconds",!1);for(Y("S",0,0,(function(){return~~(this.millisecond()/100)})),Y(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),Y(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),Y(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),Y(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),Y(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),Y(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),H("millisecond","ms"),U("millisecond",16),pe("S",ae,$),pe("SS",ae,Z),pe("SSS",ae,ee),fn="SSSS";fn.length<=9;fn+="S")pe(fn,ce);function gn(e,t){t[6]=G(1e3*("0."+e))}for(fn="S";fn.length<=9;fn+="S")ve(fn,gn);pn=Q("Milliseconds",!1),Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var _n=w.prototype;function bn(e){return e}_n.add=Gt,_n.calendar=function(e,t){1===arguments.length&&(Kt(arguments[0])?(e=arguments[0],t=void 0):Xt(arguments[0])&&(t=arguments[0],e=void 0));var n=e||Et(),r=Rt(n,this).startOf("day"),i=o.calendarFormat(this,r)||"sameElse",a=t&&(D(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,Et(n)))},_n.clone=function(){return new w(this)},_n.diff=function(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=Rt(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=z(t)){case"year":i=$t(this,r)/12;break;case"month":i=$t(this,r);break;case"quarter":i=$t(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:q(i)},_n.endOf=function(e){var t,n;if(void 0===(e=z(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?on:rn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),o.updateOffset(this,!0),this},_n.format=function(e){e||(e=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var t=R(this,e);return this.localeData().postformat(t)},_n.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Et(e).isValid())?Bt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},_n.fromNow=function(e){return this.from(Et(),e)},_n.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Et(e).isValid())?Bt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},_n.toNow=function(e){return this.to(Et(),e)},_n.get=function(e){return D(this[e=z(e)])?this[e]():this},_n.invalidAt=function(){return m(this).overflow},_n.isAfter=function(e,t){var n=k(e)?e:Et(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},_n.isBefore=function(e,t){var n=k(e)?e:Et(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},_n.isBetween=function(e,t,n,r){var o=k(e)?e:Et(e),i=k(t)?t:Et(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n)))},_n.isSame=function(e,t){var n,r=k(e)?e:Et(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},_n.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},_n.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},_n.isValid=function(){return g(this)},_n.lang=en,_n.locale=Zt,_n.localeData=tn,_n.max=Dt,_n.min=St,_n.parsingFlags=function(){return f({},m(this))},_n.set=function(e,t){if("object"==typeof e){var n,r=function(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:V[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=B(e));for(n=0;n<r.length;n++)this[r[n].unit](e[r[n].unit])}else if(D(this[e=z(e)]))return this[e](t);return this},_n.startOf=function(e){var t,n;if(void 0===(e=z(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?on:rn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=nn(t,6e4);break;case"second":t=this._d.valueOf(),t-=nn(t,1e3)}return this._d.setTime(t),o.updateOffset(this,!0),this},_n.subtract=Qt,_n.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},_n.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},_n.toDate=function(){return new Date(this.valueOf())},_n.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?R(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(n,"Z")):R(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},_n.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",o="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=o+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(_n[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),_n.toJSON=function(){return this.isValid()?this.toISOString():null},_n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},_n.unix=function(){return Math.floor(this.valueOf()/1e3)},_n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},_n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},_n.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""},_n.eraNarrow=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""},_n.eraAbbr=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""},_n.eraYear=function(){var e,t,n,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,r=this.startOf("day").valueOf(),i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-o(i[e].since).year())*n+i[e].offset;return this.year()},_n.year=Ae,_n.isLeapYear=function(){return W(this.year())},_n.weekYear=function(e){return cn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},_n.isoWeekYear=function(e){return cn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},_n.quarter=_n.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},_n.month=Ce,_n.daysInMonth=function(){return ke(this.year(),this.month())},_n.week=_n.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},_n.isoWeek=_n.isoWeeks=function(e){var t=je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},_n.weeksInYear=function(){var e=this.localeData()._week;return Fe(this.year(),e.dow,e.doy)},_n.weeksInWeekYear=function(){var e=this.localeData()._week;return Fe(this.weekYear(),e.dow,e.doy)},_n.isoWeeksInYear=function(){return Fe(this.year(),1,4)},_n.isoWeeksInISOWeekYear=function(){return Fe(this.isoWeekYear(),1,4)},_n.date=dn,_n.day=_n.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},_n.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},_n.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},_n.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},_n.hour=_n.hours=Ze,_n.minute=_n.minutes=hn,_n.second=_n.seconds=mn,_n.millisecond=_n.milliseconds=pn,_n.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Yt(he,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=jt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?qt(this,Bt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:jt(this)},_n.utc=function(e){return this.utcOffset(0,e)},_n.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},_n.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Yt(de,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},_n.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Et(e).utcOffset():0,(this.utcOffset()-e)%60==0)},_n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},_n.isLocal=function(){return!!this.isValid()&&!this._isUTC},_n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},_n.isUtc=Ft,_n.isUTC=Ft,_n.zoneAbbr=function(){return this._isUTC?"UTC":""},_n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},_n.dates=x("dates accessor is deprecated. Use date instead.",dn),_n.months=x("months accessor is deprecated. Use month instead",Ce),_n.years=x("years accessor is deprecated. Use year instead",Ae),_n.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),_n.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return y(t,this),(t=xt(t))._a?(e=t._isUTC?p(t._a):Et(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&G(e[r])!==G(t[r]))&&a++;return a+i}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var vn=C.prototype;function yn(e,t,n,r){var o=lt(),i=p().set(r,t);return o[n](i,e)}function wn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return yn(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=yn(e,r,n,"month");return o}function kn(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var o,i=lt(),a=e?i._week.dow:0,s=[];if(null!=n)return yn(t,(n+a)%7,r,"day");for(o=0;o<7;o++)s[o]=yn(t,(o+a)%7,r,"day");return s}vn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return D(r)?r.call(t,n):r},vn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(O).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},vn.invalidDate=function(){return this._invalidDate},vn.ordinal=function(e){return this._ordinal.replace("%d",e)},vn.preparse=bn,vn.postformat=bn,vn.relativeTime=function(e,t,n,r){var o=this._relativeTime[n];return D(o)?o(e,t,n,r):o.replace(/%d/i,e)},vn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)},vn.set=function(e){var t,n;for(n in e)s(e,n)&&(D(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},vn.eras=function(e,t){var n,r,i,a=this._eras||lt("en")._eras;for(n=0,r=a.length;n<r;++n){switch(typeof a[n].since){case"string":i=o(a[n].since).startOf("day"),a[n].since=i.valueOf()}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":i=o(a[n].until).startOf("day").valueOf(),a[n].until=i.valueOf()}}return a},vn.erasParse=function(e,t,n){var r,o,i,a,s,l=this.eras();for(e=e.toUpperCase(),r=0,o=l.length;r<o;++r)if(i=l[r].name.toUpperCase(),a=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[r];break;case"NNNN":if(i===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([i,a,s].indexOf(e)>=0)return l[r]},vn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?o(e.since).year():o(e.since).year()+(t-e.offset)*n},vn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},vn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},vn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},vn.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Te).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},vn.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Te.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},vn.monthsParse=function(e,t,n){var r,o,i;if(this._monthsParseExact)return De.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},vn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Pe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Se),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},vn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Pe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Ee),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},vn.week=function(e){return je(e,this._week.dow,this._week.doy).week},vn.firstDayOfYear=function(){return this._week.doy},vn.firstDayOfWeek=function(){return this._week.dow},vn.weekdays=function(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?He(n,this._week.dow):e?n[e.day()]:n},vn.weekdaysMin=function(e){return!0===e?He(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},vn.weekdaysShort=function(e){return!0===e?He(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},vn.weekdaysParse=function(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Ge.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},vn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},vn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=We),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},vn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},vn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},vn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},at("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===G(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),o.lang=x("moment.lang is deprecated. Use moment.locale instead.",at),o.langData=x("moment.langData is deprecated. Use moment.localeData instead.",lt);var Mn=Math.abs;function xn(e,t,n,r){var o=Bt(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function Tn(e){return e<0?Math.floor(e):Math.ceil(e)}function En(e){return 4800*e/146097}function Sn(e){return 146097*e/4800}function Dn(e){return function(){return this.as(e)}}var Ln=Dn("ms"),Cn=Dn("s"),Pn=Dn("m"),On=Dn("h"),An=Dn("d"),Nn=Dn("w"),In=Dn("M"),Yn=Dn("Q"),Rn=Dn("y");function jn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Fn=jn("milliseconds"),Hn=jn("seconds"),zn=jn("minutes"),Bn=jn("hours"),Vn=jn("days"),Un=jn("months"),Wn=jn("years"),qn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Qn(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}var Jn=Math.abs;function Kn(e){return(e>0)-(e<0)||+e}function Xn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,s,l=Jn(this._milliseconds)/1e3,c=Jn(this._days),u=Jn(this._months),d=this.asSeconds();return d?(e=q(l/60),t=q(e/60),l%=60,e%=60,n=q(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",i=Kn(this._months)!==Kn(d)?"-":"",a=Kn(this._days)!==Kn(d)?"-":"",s=Kn(this._milliseconds)!==Kn(d)?"-":"",o+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var $n=Pt.prototype;return $n.isValid=function(){return this._isValid},$n.abs=function(){var e=this._data;return this._milliseconds=Mn(this._milliseconds),this._days=Mn(this._days),this._months=Mn(this._months),e.milliseconds=Mn(e.milliseconds),e.seconds=Mn(e.seconds),e.minutes=Mn(e.minutes),e.hours=Mn(e.hours),e.months=Mn(e.months),e.years=Mn(e.years),this},$n.add=function(e,t){return xn(this,e,t,1)},$n.subtract=function(e,t){return xn(this,e,t,-1)},$n.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=z(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+En(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Sn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},$n.asMilliseconds=Ln,$n.asSeconds=Cn,$n.asMinutes=Pn,$n.asHours=On,$n.asDays=An,$n.asWeeks=Nn,$n.asMonths=In,$n.asQuarters=Yn,$n.asYears=Rn,$n.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*G(this._months/12):NaN},$n._bubble=function(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,l=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*Tn(Sn(s)+a),a=0,s=0),l.milliseconds=i%1e3,e=q(i/1e3),l.seconds=e%60,t=q(e/60),l.minutes=t%60,n=q(t/60),l.hours=n%24,a+=q(n/24),o=q(En(a)),s+=o,a-=Tn(Sn(o)),r=q(s/12),s%=12,l.days=a,l.months=s,l.years=r,this},$n.clone=function(){return Bt(this)},$n.get=function(e){return e=z(e),this.isValid()?this[e+"s"]():NaN},$n.milliseconds=Fn,$n.seconds=Hn,$n.minutes=zn,$n.hours=Bn,$n.days=Vn,$n.weeks=function(){return q(this.days()/7)},$n.months=Un,$n.years=Wn,$n.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o=!1,i=Gn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(o=e),"object"==typeof t&&(i=Object.assign({},Gn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var o=Bt(e).abs(),i=qn(o.as("s")),a=qn(o.as("m")),s=qn(o.as("h")),l=qn(o.as("d")),c=qn(o.as("M")),u=qn(o.as("w")),d=qn(o.as("y")),h=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||u<=1&&["w"]||u<n.w&&["ww",u]),(h=h||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,h[3]=+e>0,h[4]=r,Qn.apply(null,h)}(this,!o,i,n),o&&(r=n.pastFuture(+this,r)),n.postformat(r)},$n.toISOString=Xn,$n.toString=Xn,$n.toJSON=Xn,$n.locale=Zt,$n.localeData=tn,$n.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Xn),$n.lang=en,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),pe("x",ue),pe("X",/[+-]?\d+(\.\d{1,3})?/),ve("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ve("x",(function(e,t,n){n._d=new Date(G(e))})),
2
  //! moment.js
3
+ o.version="2.26.0",t=Et,o.fn=_n,o.min=function(){var e=[].slice.call(arguments,0);return Lt("isBefore",e)},o.max=function(){var e=[].slice.call(arguments,0);return Lt("isAfter",e)},o.now=function(){return Date.now?Date.now():+new Date},o.utc=p,o.unix=function(e){return Et(1e3*e)},o.months=function(e,t){return wn(e,t,"months")},o.isDate=d,o.locale=at,o.invalid=_,o.duration=Bt,o.isMoment=k,o.weekdays=function(e,t,n){return kn(e,t,n,"weekdays")},o.parseZone=function(){return Et.apply(null,arguments).parseZone()},o.localeData=lt,o.isDuration=Ot,o.monthsShort=function(e,t){return wn(e,t,"monthsShort")},o.weekdaysMin=function(e,t,n){return kn(e,t,n,"weekdaysMin")},o.defineLocale=st,o.updateLocale=function(e,t){if(null!=t){var n,r,o=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(L(tt[e]._config,t)):(null!=(r=it(e))&&(o=r._config),t=L(o,t),null==r&&(t.abbr=e),(n=new C(t)).parentLocale=tt[e],tt[e]=n),at(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===at()&&at(e)):null!=tt[e]&&delete tt[e]);return tt[e]},o.locales=function(){return T(tt)},o.weekdaysShort=function(e,t,n){return kn(e,t,n,"weekdaysShort")},o.normalizeUnits=z,o.relativeTimeRounding=function(e){return void 0===e?qn:"function"==typeof e&&(qn=e,!0)},o.relativeTimeThreshold=function(e,t){return void 0!==Gn[e]&&(void 0===t?Gn[e]:(Gn[e]=t,"s"===e&&(Gn.ss=t-1),!0))},o.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},o.prototype=_n,o.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},o}()}).call(this,n(63)(e))},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return o}));var r=n(2);function o(e){Object(r.a)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},function(e,t,n){e.exports=n(259)},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,"a",(function(){return r}))},function(e,t){function n(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,l,"next",e)}function l(e){n(a,o,i,s,l,"throw",e)}s(void 0)}))}}},function(e,t,n){e.exports=n(261)},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r=n(257);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(258),o=n(10);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t,n){"use strict";t.__esModule=!0;var r=l(n(278));t.ToastContainer=r.default;var o=n(90);t.Bounce=o.Bounce,t.Slide=o.Slide,t.Zoom=o.Zoom,t.Flip=o.Flip;var i=n(34);t.ToastPosition=i.POSITION,t.ToastType=i.TYPE;var a=l(n(288));t.toast=a.default;var s=l(n(91));function l(e){return e&&e.__esModule?e:{default:e}}t.cssTransition=s.default},function(e,t,n){e.exports=n(279)()},function(e,t,n){"use strict";var r=n(83),o=n(262),i=Object.prototype.toString;function a(e){return"[object Array]"===i.call(e)}function s(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===i.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:o,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:l,isStream:function(e){return s(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:c,merge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,o=arguments.length;r<o;r++)c(arguments[r],n);return t},extend:function(e,t,n){return c(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(4),o=n(7),i=n(2);function a(e,t){Object(i.a)(1,arguments);var n=t||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,l=null==s?0:Object(o.a)(s),c=null==n.weekStartsOn?l:Object(o.a)(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=Object(r.default)(e),d=u.getDay(),h=(d<c?7:0)+d-c;return u.setDate(u.getDate()-h),u.setHours(0,0,0,0),u}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(7),o=n(4),i=n(2);function a(e,t){Object(i.a)(1,arguments);var n=t||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,l=null==s?0:Object(r.a)(s),c=null==n.weekStartsOn?l:Object(r.a)(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=Object(o.default)(e),d=u.getUTCDay(),h=(d<c?7:0)+d-c;return u.setUTCDate(u.getUTCDate()-h),u.setUTCHours(0,0,0,0),u}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));function r(e){return e.getTime()%6e4}function o(e){var t=new Date(e.getTime()),n=Math.ceil(t.getTimezoneOffset());return t.setSeconds(0,0),6e4*n+(n>0?(6e4+r(t))%6e4:r(t))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(4),o=n(2);function i(e){Object(o.a)(1,arguments);var t=1,n=Object(r.default)(e),i=n.getUTCDay(),a=(i<t?7:0)+i-t;return n.setUTCDate(n.getUTCDate()-a),n.setUTCHours(0,0,0,0),n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s}));var r=["D","DD"],o=["YY","YYYY"];function i(e){return-1!==r.indexOf(e)}function a(e){return-1!==o.indexOf(e)}function s(e){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` for formatting years; see: https://git.io/fxCyr");if("YY"===e)throw new RangeError("Use `yy` instead of `YY` for formatting years; see: https://git.io/fxCyr");if("D"===e)throw new RangeError("Use `d` instead of `D` for formatting days of the month; see: https://git.io/fxCyr");if("DD"===e)throw new RangeError("Use `dd` instead of `DD` for formatting days of the month; see: https://git.io/fxCyr")}},function(e,t,n){var r=n(236),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(365),o=n(370);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return i}));var r=n(4),o=n(2);function i(e){Object(o.a)(1,arguments);var t=Object(r.default)(e);return t.setHours(0,0,0,0),t}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(7),o=n(4),i=n(2);function a(e,t){Object(i.a)(2,arguments);var n=Object(o.default)(e).getTime(),a=Object(r.a)(t);return new Date(n+a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(7),o=n(4),i=n(19),a=n(2);function s(e,t){Object(a.a)(1,arguments);var n=Object(o.default)(e,t),s=n.getUTCFullYear(),l=t||{},c=l.locale,u=c&&c.options&&c.options.firstWeekContainsDate,d=null==u?1:Object(r.a)(u),h=null==l.firstWeekContainsDate?d:Object(r.a)(l.firstWeekContainsDate);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=new Date(0);f.setUTCFullYear(s+1,0,h),f.setUTCHours(0,0,0,0);var p=Object(i.a)(f,t),m=new Date(0);m.setUTCFullYear(s,0,h),m.setUTCHours(0,0,0,0);var g=Object(i.a)(m,t);return n.getTime()>=p.getTime()?s+1:n.getTime()>=g.getTime()?s:s-1}},function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},function(e,t,n){
4
  /*!
5
  * Chart.js v2.9.3
6
  * https://www.chartjs.org
13
  * Copyright(c) 2012-2014 Roman Shtylman
14
  * Copyright(c) 2015 Douglas Christopher Wilson
15
  * MIT Licensed
16
+ */t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},o=t||{},a=e.split(i),l=o.decode||r,c=0;c<a.length;c++){var u=a[c],d=u.indexOf("=");if(!(d<0)){var h=u.substr(0,d).trim(),f=u.substr(++d,u.length).trim();'"'==f[0]&&(f=f.slice(1,-1)),null==n[h]&&(n[h]=s(f,l))}}return n},t.serialize=function(e,t,n){var r=n||{},i=r.encode||o;if("function"!=typeof i)throw new TypeError("option encode is invalid");if(!a.test(e))throw new TypeError("argument name is invalid");var s=i(t);if(s&&!a.test(s))throw new TypeError("argument val is invalid");var l=e+"="+s;if(null!=r.maxAge){var c=r.maxAge-0;if(isNaN(c))throw new Error("maxAge should be a Number");l+="; Max-Age="+Math.floor(c)}if(r.domain){if(!a.test(r.domain))throw new TypeError("option domain is invalid");l+="; Domain="+r.domain}if(r.path){if(!a.test(r.path))throw new TypeError("option path is invalid");l+="; Path="+r.path}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invalid");l+="; Expires="+r.expires.toUTCString()}r.httpOnly&&(l+="; HttpOnly");r.secure&&(l+="; Secure");if(r.sameSite){switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;default:throw new TypeError("option sameSite is invalid")}}return l};var r=decodeURIComponent,o=encodeURIComponent,i=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function s(e,t){try{return t(e)}catch(t){return e}}},function(e,t,n){var r=n(65);e.exports=function(e,t){return r(e,t)}},function(e,t,n){"use strict";t.__esModule=!0,t.ACTION=t.TYPE=t.POSITION=void 0;t.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"};t.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"};t.ACTION={SHOW:0,CLEAR:1,DID_MOUNT:2,WILL_UNMOUNT:3,ON_CHANGE:4}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(226),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,l=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),c=function(e,t,n,r){var o;(!(t in e)||"function"==typeof(o=r)&&"[object Function]"===i.call(o)&&r())&&(l?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)c(e,i[s],t[i[s]],n[i[s]])};u.supportsDescriptors=!!l,e.exports=u},function(e,t,n){var r=n(47),o=n(366),i=n(367),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(254)},function(e,t,n){(function(e){!function(t,n,r,o,i,a,s,l,c,u,d,h,f,p,m,g,_,b,v,y,w,k,M,x,T,E,S,D,L,C,P,O,A,N,I,Y,R,j,F,H,z,B,V,U,W,q,G,Q,J,K,X,$,Z,ee,te,ne,re,oe,ie,ae,se,le){"use strict";function ce(e){return(ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function he(e,t,n){return t&&de(e.prototype,t),n&&de(e,n),e}function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pe(){return(pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _e(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&function(e,t){(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(e,t)}function be(e){return(be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ve(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ye(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?ve(e):t}function we(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=be(e);if(t){var o=be(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ye(this,n)}}function ke(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function Me(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n,r=r&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,o=o&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o,i=i&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i,a=a&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a,s=s&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s,l=l&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l,c=c&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c,u=u&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u,d=d&&Object.prototype.hasOwnProperty.call(d,"default")?d.default:d,h=h&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h,f=f&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f,p=p&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p,m=m&&Object.prototype.hasOwnProperty.call(m,"default")?m.default:m,g=g&&Object.prototype.hasOwnProperty.call(g,"default")?g.default:g,_=_&&Object.prototype.hasOwnProperty.call(_,"default")?_.default:_,b=b&&Object.prototype.hasOwnProperty.call(b,"default")?b.default:b,v=v&&Object.prototype.hasOwnProperty.call(v,"default")?v.default:v,y=y&&Object.prototype.hasOwnProperty.call(y,"default")?y.default:y,w=w&&Object.prototype.hasOwnProperty.call(w,"default")?w.default:w,k=k&&Object.prototype.hasOwnProperty.call(k,"default")?k.default:k,M=M&&Object.prototype.hasOwnProperty.call(M,"default")?M.default:M,x=x&&Object.prototype.hasOwnProperty.call(x,"default")?x.default:x,T=T&&Object.prototype.hasOwnProperty.call(T,"default")?T.default:T,E=E&&Object.prototype.hasOwnProperty.call(E,"default")?E.default:E,S=S&&Object.prototype.hasOwnProperty.call(S,"default")?S.default:S,D=D&&Object.prototype.hasOwnProperty.call(D,"default")?D.default:D,L=L&&Object.prototype.hasOwnProperty.call(L,"default")?L.default:L,C=C&&Object.prototype.hasOwnProperty.call(C,"default")?C.default:C,P=P&&Object.prototype.hasOwnProperty.call(P,"default")?P.default:P,O=O&&Object.prototype.hasOwnProperty.call(O,"default")?O.default:O,A=A&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A,N=N&&Object.prototype.hasOwnProperty.call(N,"default")?N.default:N,I=I&&Object.prototype.hasOwnProperty.call(I,"default")?I.default:I,Y=Y&&Object.prototype.hasOwnProperty.call(Y,"default")?Y.default:Y,R=R&&Object.prototype.hasOwnProperty.call(R,"default")?R.default:R,j=j&&Object.prototype.hasOwnProperty.call(j,"default")?j.default:j,F=F&&Object.prototype.hasOwnProperty.call(F,"default")?F.default:F,H=H&&Object.prototype.hasOwnProperty.call(H,"default")?H.default:H,z=z&&Object.prototype.hasOwnProperty.call(z,"default")?z.default:z,B=B&&Object.prototype.hasOwnProperty.call(B,"default")?B.default:B,V=V&&Object.prototype.hasOwnProperty.call(V,"default")?V.default:V,U=U&&Object.prototype.hasOwnProperty.call(U,"default")?U.default:U,W=W&&Object.prototype.hasOwnProperty.call(W,"default")?W.default:W,q=q&&Object.prototype.hasOwnProperty.call(q,"default")?q.default:q,G=G&&Object.prototype.hasOwnProperty.call(G,"default")?G.default:G,Q=Q&&Object.prototype.hasOwnProperty.call(Q,"default")?Q.default:Q,J=J&&Object.prototype.hasOwnProperty.call(J,"default")?J.default:J,K=K&&Object.prototype.hasOwnProperty.call(K,"default")?K.default:K,X=X&&Object.prototype.hasOwnProperty.call(X,"default")?X.default:X,$=$&&Object.prototype.hasOwnProperty.call($,"default")?$.default:$,Z=Z&&Object.prototype.hasOwnProperty.call(Z,"default")?Z.default:Z,ee=ee&&Object.prototype.hasOwnProperty.call(ee,"default")?ee.default:ee,te=te&&Object.prototype.hasOwnProperty.call(te,"default")?te.default:te,ne=ne&&Object.prototype.hasOwnProperty.call(ne,"default")?ne.default:ne,re=re&&Object.prototype.hasOwnProperty.call(re,"default")?re.default:re,oe=oe&&Object.prototype.hasOwnProperty.call(oe,"default")?oe.default:oe,ie=ie&&Object.prototype.hasOwnProperty.call(ie,"default")?ie.default:ie,ae=ae&&Object.prototype.hasOwnProperty.call(ae,"default")?ae.default:ae,se=se&&Object.prototype.hasOwnProperty.call(se,"default")?se.default:se;var xe={p:Me,P:function(e,t){var n,r=e.match(/(P+)(p+)?/),o=r[1],i=r[2];if(!i)return ke(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",ke(o,t)).replace("{{time}}",Me(i,t))}},Te=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;function Ee(e){var t=e?"string"==typeof e||e instanceof String?ae(e):oe(e):new Date;return De(t)?t:null}function Se(e,t,n,r){var o=null,i=Ue(n)||Ve(),a=!0;return Array.isArray(t)?(t.forEach((function(t){var n=ie(e,t,new Date,{locale:i});r&&(a=De(n)&&e===s(n,t,{awareOfUnicodeTokens:!0})),De(n)&&a&&(o=n)})),o):(o=ie(e,t,new Date,{locale:i}),r?a=De(o)&&e===s(o,t,{awareOfUnicodeTokens:!0}):De(o)||(t=t.match(Te).map((function(e){var t=e[0];return"p"===t||"P"===t?i?(0,xe[t])(e,i.formatLong):t:e})).join(""),e.length>0&&(o=ie(e,t.slice(0,e.length),new Date)),De(o)||(o=new Date(e))),De(o)&&a?o:null)}function De(e){return a(e)&&te(e,new Date("1/1/1000"))}function Le(e,t,n){if("en"===n)return s(e,t,{awareOfUnicodeTokens:!0});var r=Ue(n);return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&Ve()&&Ue(Ve())&&(r=Ue(Ve())),s(e,t,{locale:r||null,awareOfUnicodeTokens:!0})}function Ce(e,t){var n=t.hour,r=void 0===n?0:n,o=t.minute,i=void 0===o?0:o,a=t.second;return O(P(C(e,void 0===a?0:a),i),r)}function Pe(e,t){var n=t&&Ue(t)||Ve()&&Ue(Ve());return T(e,n?{locale:n}:null)}function Oe(e,t){return Le(e,"ddd",t)}function Ae(e){return B(e)}function Ne(e,t){var n=Ue(t||Ve());return V(e,{locale:n})}function Ie(e){return U(e)}function Ye(e){return W(e)}function Re(e,t){return e&&t?Z(e,t):!e&&!t}function je(e,t){return e&&t?$(e,t):!e&&!t}function Fe(e,t){return e&&t?ee(e,t):!e&&!t}function He(e,t){return e&&t?X(e,t):!e&&!t}function ze(e,t){return e&&t?K(e,t):!e&&!t}function Be(e,t,n){var r,o=B(t),i=G(n);try{r=re(e,{start:o,end:i})}catch(e){r=!1}return r}function Ve(){return("undefined"!=typeof window?window:e).__localeId__}function Ue(t){if("string"==typeof t){var n="undefined"!=typeof window?window:e;return n.__localeData__?n.__localeData__[t]:null}return t}function We(e,t){return Le(A(Ee(),e),"LLLL",t)}function qe(e,t){return Le(A(Ee(),e),"LLL",t)}function Ge(e,t){return Le(N(Ee(),e),"QQQ",t)}function Qe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.includeDates,a=t.filterDate;return et(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return He(e,t)}))||i&&!i.some((function(t){return He(e,t)}))||a&&!a(Ee(e))||!1}function Je(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeDates;return n&&n.some((function(t){return He(e,t)}))||!1}function Ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.includeDates,a=t.filterDate;return et(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return je(e,t)}))||i&&!i.some((function(t){return je(e,t)}))||a&&!a(Ee(e))||!1}function Xe(e,t,n,r){var o=D(e),i=E(e),a=D(t),s=E(t),l=D(r);return o===a&&o===l?i<=n&&n<=s:o<a?l===o&&i<=n||l===a&&s>=n||l<a&&l>o:void 0}function $e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.includeDates,a=t.filterDate;return et(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return Fe(e,t)}))||i&&!i.some((function(t){return Fe(e,t)}))||a&&!a(Ee(e))||!1}function Ze(e,t,n,r){var o=D(e),i=S(e),a=D(t),s=S(t),l=D(r);return o===a&&o===l?i<=n&&n<=s:o<a?l===o&&i<=n||l===a&&s>=n||l<a&&l>o:void 0}function et(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate;return n&&j(e,n)<0||r&&j(e,r)>0}function tt(e,t){for(var n=t.length,r=0;r<n;r++)if(k(t[r])===k(e)&&w(t[r])===w(e))return!0;return!1}function nt(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var o,i=Ee(),a=O(P(i,w(e)),k(e)),s=O(P(i,w(n)),k(n)),l=O(P(i,w(r)),k(r));try{o=!re(a,{start:s,end:l})}catch(e){o=!1}return o}function rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,o=b(e,1);return n&&F(n,o)>0||r&&r.every((function(e){return F(e,o)>0}))||!1}function ot(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,o=h(e,1);return n&&F(o,n)>0||r&&r.every((function(e){return F(o,e)>0}))||!1}function it(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,o=v(e,1);return n&&z(n,o)>0||r&&r.every((function(e){return z(e,o)>0}))||!1}function at(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,o=f(e,1);return n&&z(o,n)>0||r&&r.every((function(e){return z(o,e)>0}))||!1}function st(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return j(e,t)>=0}));return Y(r)}return n?Y(n):t}function lt(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return j(e,t)<=0}));return R(r)}return n?R(n):t}function ct(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--highlighted",n=new Map,r=0,o=e.length;r<o;r++){var a=e[r];if(i(a)){var s=Le(a,"MM.dd.yyyy"),l=n.get(s)||[];l.includes(t)||(l.push(t),n.set(s,l))}else if("object"===ce(a)){var c=Object.keys(a),u=c[0],d=a[c[0]];if("string"==typeof u&&d.constructor===Array)for(var h=0,f=d.length;h<f;h++){var p=Le(d[h],"MM.dd.yyyy"),m=n.get(p)||[];m.includes(u)||(m.push(u),n.set(p,m))}}}return n}function ut(e,t,n,r,o){for(var i=o.length,a=[],s=0;s<i;s++){var u=l(c(e,k(o[s])),w(o[s])),d=l(e,(n+1)*r);te(u,t)&&ne(u,d)&&a.push(o[s])}return a}function dt(e){return e<10?"0".concat(e):"".concat(e)}function ht(e,t,n,r){for(var o=[],i=0;i<2*t+1;i++){var a=e+t-i,s=!0;n&&(s=D(n)<=a),r&&s&&(s=D(r)>=a),s&&o.push(a)}return o}var ft=se(function(e){_e(r,e);var t=we(r);function r(e){var o;ue(this,r),fe(ve(o=t.call(this,e)),"renderOptions",(function(){var e=o.props.year,t=o.state.yearsList.map((function(t){return n.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:o.onChange.bind(ve(o),t)},e===t?n.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",t)})),r=o.props.minDate?D(o.props.minDate):null,i=o.props.maxDate?D(o.props.maxDate):null;return i&&o.state.yearsList.find((function(e){return e===i}))||t.unshift(n.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:o.incrementYears},n.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),r&&o.state.yearsList.find((function(e){return e===r}))||t.push(n.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:o.decrementYears},n.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t})),fe(ve(o),"onChange",(function(e){o.props.onChange(e)})),fe(ve(o),"handleClickOutside",(function(){o.props.onCancel()})),fe(ve(o),"shiftYears",(function(e){var t=o.state.yearsList.map((function(t){return t+e}));o.setState({yearsList:t})})),fe(ve(o),"incrementYears",(function(){return o.shiftYears(1)})),fe(ve(o),"decrementYears",(function(){return o.shiftYears(-1)}));var i=e.yearDropdownItemNumber,a=e.scrollableYearDropdown,s=i||(a?10:5);return o.state={yearsList:ht(o.props.year,s,o.props.minDate,o.props.maxDate)},o}return he(r,[{key:"render",value:function(){var e=o({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return n.createElement("div",{className:e},this.renderOptions())}}]),r}(n.Component)),pt=function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return fe(ve(e=t.call.apply(t,[this].concat(i))),"state",{dropdownVisible:!1}),fe(ve(e),"renderSelectOptions",(function(){for(var t=e.props.minDate?D(e.props.minDate):1900,r=e.props.maxDate?D(e.props.maxDate):2100,o=[],i=t;i<=r;i++)o.push(n.createElement("option",{key:i,value:i},i));return o})),fe(ve(e),"onSelectChange",(function(t){e.onChange(t.target.value)})),fe(ve(e),"renderSelectMode",(function(){return n.createElement("select",{value:e.props.year,className:"react-datepicker__year-select",onChange:e.onSelectChange},e.renderSelectOptions())})),fe(ve(e),"renderReadView",(function(t){return n.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(t){return e.toggleDropdown(t)}},n.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),n.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},e.props.year))})),fe(ve(e),"renderDropdown",(function(){return n.createElement(ft,{key:"dropdown",year:e.props.year,onChange:e.onChange,onCancel:e.toggleDropdown,minDate:e.props.minDate,maxDate:e.props.maxDate,scrollableYearDropdown:e.props.scrollableYearDropdown,yearDropdownItemNumber:e.props.yearDropdownItemNumber})})),fe(ve(e),"renderScrollMode",(function(){var t=e.state.dropdownVisible,n=[e.renderReadView(!t)];return t&&n.unshift(e.renderDropdown()),n})),fe(ve(e),"onChange",(function(t){e.toggleDropdown(),t!==e.props.year&&e.props.onChange(t)})),fe(ve(e),"toggleDropdown",(function(t){e.setState({dropdownVisible:!e.state.dropdownVisible},(function(){e.props.adjustDateOnChange&&e.handleYearChange(e.props.date,t)}))})),fe(ve(e),"handleYearChange",(function(t,n){e.onSelect(t,n),e.setOpen()})),fe(ve(e),"onSelect",(function(t,n){e.props.onSelect&&e.props.onSelect(t,n)})),fe(ve(e),"setOpen",(function(){e.props.setOpen&&e.props.setOpen(!0)})),e}return he(r,[{key:"render",value:function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return n.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),r}(n.Component),mt=se(function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return fe(ve(e=t.call.apply(t,[this].concat(i))),"renderOptions",(function(){return e.props.monthNames.map((function(t,r){return n.createElement("div",{className:e.props.month===r?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:t,onClick:e.onChange.bind(ve(e),r)},e.props.month===r?n.createElement("span",{className:"react-datepicker__month-option--selected"},"✓"):"",t)}))})),fe(ve(e),"onChange",(function(t){return e.props.onChange(t)})),fe(ve(e),"handleClickOutside",(function(){return e.props.onCancel()})),e}return he(r,[{key:"render",value:function(){return n.createElement("div",{className:"react-datepicker__month-dropdown"},this.renderOptions())}}]),r}(n.Component)),gt=function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return fe(ve(e=t.call.apply(t,[this].concat(i))),"state",{dropdownVisible:!1}),fe(ve(e),"renderSelectOptions",(function(e){return e.map((function(e,t){return n.createElement("option",{key:t,value:t},e)}))})),fe(ve(e),"renderSelectMode",(function(t){return n.createElement("select",{value:e.props.month,className:"react-datepicker__month-select",onChange:function(t){return e.onChange(t.target.value)}},e.renderSelectOptions(t))})),fe(ve(e),"renderReadView",(function(t,r){return n.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:e.toggleDropdown},n.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),n.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},r[e.props.month]))})),fe(ve(e),"renderDropdown",(function(t){return n.createElement(mt,{key:"dropdown",month:e.props.month,monthNames:t,onChange:e.onChange,onCancel:e.toggleDropdown})})),fe(ve(e),"renderScrollMode",(function(t){var n=e.state.dropdownVisible,r=[e.renderReadView(!n,t)];return n&&r.unshift(e.renderDropdown(t)),r})),fe(ve(e),"onChange",(function(t){e.toggleDropdown(),t!==e.props.month&&e.props.onChange(t)})),fe(ve(e),"toggleDropdown",(function(){return e.setState({dropdownVisible:!e.state.dropdownVisible})})),e}return he(r,[{key:"render",value:function(){var e,t=this,r=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(e){return qe(e,t.props.locale)}:function(e){return We(e,t.props.locale)});switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode(r);break;case"select":e=this.renderSelectMode(r)}return n.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),r}(n.Component);function _t(e,t){for(var n=[],r=Ie(e),o=Ie(t);!te(r,o);)n.push(Ee(r)),r=h(r,1);return n}var bt=se(function(e){_e(r,e);var t=we(r);function r(e){var o;return ue(this,r),fe(ve(o=t.call(this,e)),"renderOptions",(function(){return o.state.monthYearsList.map((function(e){var t=L(e),r=Re(o.props.date,e)&&je(o.props.date,e);return n.createElement("div",{className:r?"react-datepicker__month-year-option --selected_month-year":"react-datepicker__month-year-option",key:t,onClick:o.onChange.bind(ve(o),t)},r?n.createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",Le(e,o.props.dateFormat))}))})),fe(ve(o),"onChange",(function(e){return o.props.onChange(e)})),fe(ve(o),"handleClickOutside",(function(){o.props.onCancel()})),o.state={monthYearsList:_t(o.props.minDate,o.props.maxDate)},o}return he(r,[{key:"render",value:function(){var e=o({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return n.createElement("div",{className:e},this.renderOptions())}}]),r}(n.Component)),vt=function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return fe(ve(e=t.call.apply(t,[this].concat(i))),"state",{dropdownVisible:!1}),fe(ve(e),"renderSelectOptions",(function(){for(var t=Ie(e.props.minDate),r=Ie(e.props.maxDate),o=[];!te(t,r);){var i=L(t);o.push(n.createElement("option",{key:i,value:i},Le(t,e.props.dateFormat,e.props.locale))),t=h(t,1)}return o})),fe(ve(e),"onSelectChange",(function(t){e.onChange(t.target.value)})),fe(ve(e),"renderSelectMode",(function(){return n.createElement("select",{value:L(Ie(e.props.date)),className:"react-datepicker__month-year-select",onChange:e.onSelectChange},e.renderSelectOptions())})),fe(ve(e),"renderReadView",(function(t){var r=Le(e.props.date,e.props.dateFormat,e.props.locale);return n.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:function(t){return e.toggleDropdown(t)}},n.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),n.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},r))})),fe(ve(e),"renderDropdown",(function(){return n.createElement(bt,{key:"dropdown",date:e.props.date,dateFormat:e.props.dateFormat,onChange:e.onChange,onCancel:e.toggleDropdown,minDate:e.props.minDate,maxDate:e.props.maxDate,scrollableMonthYearDropdown:e.props.scrollableMonthYearDropdown})})),fe(ve(e),"renderScrollMode",(function(){var t=e.state.dropdownVisible,n=[e.renderReadView(!t)];return t&&n.unshift(e.renderDropdown()),n})),fe(ve(e),"onChange",(function(t){e.toggleDropdown();var n=Ee(parseInt(t));Re(e.props.date,n)&&je(e.props.date,n)||e.props.onChange(n)})),fe(ve(e),"toggleDropdown",(function(){return e.setState({dropdownVisible:!e.state.dropdownVisible})})),e}return he(r,[{key:"render",value:function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return n.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),r}(n.Component),yt=function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return fe(ve(e=t.call.apply(t,[this].concat(a))),"dayEl",n.createRef()),fe(ve(e),"handleClick",(function(t){!e.isDisabled()&&e.props.onClick&&e.props.onClick(t)})),fe(ve(e),"handleMouseEnter",(function(t){!e.isDisabled()&&e.props.onMouseEnter&&e.props.onMouseEnter(t)})),fe(ve(e),"handleOnKeyDown",(function(t){" "===t.key&&(t.preventDefault(),t.key="Enter"),e.props.handleOnKeyDown(t)})),fe(ve(e),"isSameDay",(function(t){return He(e.props.day,t)})),fe(ve(e),"isKeyboardSelected",(function(){return!e.props.disabledKeyboardNavigation&&!e.props.inline&&!e.isSameDay(e.props.selected)&&e.isSameDay(e.props.preSelection)})),fe(ve(e),"isDisabled",(function(){return Qe(e.props.day,e.props)})),fe(ve(e),"isExcluded",(function(){return Je(e.props.day,e.props)})),fe(ve(e),"getHighLightedClass",(function(t){var n=e.props,r=n.day,o=n.highlightDates;if(!o)return!1;var i=Le(r,"MM.dd.yyyy");return o.get(i)})),fe(ve(e),"isInRange",(function(){var t=e.props,n=t.day,r=t.startDate,o=t.endDate;return!(!r||!o)&&Be(n,r,o)})),fe(ve(e),"isInSelectingRange",(function(){var t=e.props,n=t.day,r=t.selectsStart,o=t.selectsEnd,i=t.selectingDate,a=t.startDate,s=t.endDate;return!(!r&&!o||!i||e.isDisabled())&&(r&&s&&(ne(i,s)||ze(i,s))?Be(n,i,s):!(!o||!a||!te(i,a)&&!ze(i,a))&&Be(n,a,i))})),fe(ve(e),"isSelectingRangeStart",(function(){if(!e.isInSelectingRange())return!1;var t=e.props,n=t.day,r=t.selectingDate,o=t.startDate;return He(n,t.selectsStart?r:o)})),fe(ve(e),"isSelectingRangeEnd",(function(){if(!e.isInSelectingRange())return!1;var t=e.props,n=t.day,r=t.selectingDate,o=t.endDate;return He(n,t.selectsEnd?r:o)})),fe(ve(e),"isRangeStart",(function(){var t=e.props,n=t.day,r=t.startDate,o=t.endDate;return!(!r||!o)&&He(r,n)})),fe(ve(e),"isRangeEnd",(function(){var t=e.props,n=t.day,r=t.startDate,o=t.endDate;return!(!r||!o)&&He(o,n)})),fe(ve(e),"isWeekend",(function(){var t=M(e.props.day);return 0===t||6===t})),fe(ve(e),"isOutsideMonth",(function(){return void 0!==e.props.month&&e.props.month!==E(e.props.day)})),fe(ve(e),"getClassNames",(function(t){var n=e.props.dayClassName?e.props.dayClassName(t):void 0;return o("react-datepicker__day",n,"react-datepicker__day--"+Oe(e.props.day),{"react-datepicker__day--disabled":e.isDisabled(),"react-datepicker__day--excluded":e.isExcluded(),"react-datepicker__day--selected":e.isSameDay(e.props.selected),"react-datepicker__day--keyboard-selected":e.isKeyboardSelected(),"react-datepicker__day--range-start":e.isRangeStart(),"react-datepicker__day--range-end":e.isRangeEnd(),"react-datepicker__day--in-range":e.isInRange(),"react-datepicker__day--in-selecting-range":e.isInSelectingRange(),"react-datepicker__day--selecting-range-start":e.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":e.isSelectingRangeEnd(),"react-datepicker__day--today":e.isSameDay(Ee()),"react-datepicker__day--weekend":e.isWeekend(),"react-datepicker__day--outside-month":e.isOutsideMonth()},e.getHighLightedClass("react-datepicker__day--highlighted"))})),fe(ve(e),"getAriaLabel",(function(){var t=e.props,n=t.day,r=t.ariaLabelPrefixWhenEnabled,o=void 0===r?"Choose":r,i=t.ariaLabelPrefixWhenDisabled,a=void 0===i?"Not available":i,s=e.isDisabled()||e.isExcluded()?a:o;return"".concat(s," ").concat(Le(n,"PPPP"))})),fe(ve(e),"getTabIndex",(function(t,n){var r=t||e.props.selected,o=n||e.props.preSelection;return e.isKeyboardSelected()||e.isSameDay(r)&&He(o,r)?0:-1})),fe(ve(e),"handleFocusDay",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!1;0===e.getTabIndex()&&!t.isInputFocused&&e.isSameDay(e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(n=!0)),n&&e.dayEl.current.focus()})),fe(ve(e),"render",(function(){return n.createElement("div",{ref:e.dayEl,className:e.getClassNames(e.props.day),onKeyDown:e.handleOnKeyDown,onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,tabIndex:e.getTabIndex(),"aria-label":e.getAriaLabel(),role:"button","aria-disabled":e.isDisabled()},e.props.renderDayContents?e.props.renderDayContents(x(e.props.day),e.props.day):x(e.props.day))})),e}return he(r,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(e){this.handleFocusDay(e)}}]),r}(n.Component),wt=function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return fe(ve(e=t.call.apply(t,[this].concat(o))),"handleClick",(function(t){e.props.onClick&&e.props.onClick(t)})),e}return he(r,[{key:"render",value:function(){var e=this.props,t=e.weekNumber,r=e.ariaLabelPrefix,i=void 0===r?"week ":r,a={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!e.onClick};return n.createElement("div",{className:o(a),"aria-label":"".concat(i," ").concat(this.props.weekNumber),onClick:this.handleClick},t)}}]),r}(n.Component),kt=function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return fe(ve(e=t.call.apply(t,[this].concat(i))),"handleDayClick",(function(t,n){e.props.onDayClick&&e.props.onDayClick(t,n)})),fe(ve(e),"handleDayMouseEnter",(function(t){e.props.onDayMouseEnter&&e.props.onDayMouseEnter(t)})),fe(ve(e),"handleWeekClick",(function(t,n,r){"function"==typeof e.props.onWeekSelect&&e.props.onWeekSelect(t,n,r),e.props.shouldCloseOnSelect&&e.props.setOpen(!1)})),fe(ve(e),"formatWeekNumber",(function(t){return e.props.formatWeekNumber?e.props.formatWeekNumber(t):Pe(t,e.props.locale)})),fe(ve(e),"renderDays",(function(){var t=Ne(e.props.day,e.props.locale),r=[],o=e.formatWeekNumber(t);if(e.props.showWeekNumber){var i=e.props.onWeekSelect?e.handleWeekClick.bind(ve(e),t,o):void 0;r.push(n.createElement(wt,{key:"W",weekNumber:o,onClick:i,ariaLabelPrefix:e.props.ariaLabelPrefix}))}return r.concat([0,1,2,3,4,5,6].map((function(r){var o=u(t,r);return n.createElement(yt,{ariaLabelPrefixWhenEnabled:e.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:e.props.disabledDayAriaLabelPrefix,key:o.valueOf(),day:o,month:e.props.month,onClick:e.handleDayClick.bind(ve(e),o),onMouseEnter:e.handleDayMouseEnter.bind(ve(e),o),minDate:e.props.minDate,maxDate:e.props.maxDate,excludeDates:e.props.excludeDates,includeDates:e.props.includeDates,inline:e.props.inline,highlightDates:e.props.highlightDates,selectingDate:e.props.selectingDate,filterDate:e.props.filterDate,preSelection:e.props.preSelection,selected:e.props.selected,selectsStart:e.props.selectsStart,selectsEnd:e.props.selectsEnd,startDate:e.props.startDate,endDate:e.props.endDate,dayClassName:e.props.dayClassName,renderDayContents:e.props.renderDayContents,disabledKeyboardNavigation:e.props.disabledKeyboardNavigation,handleOnKeyDown:e.props.handleOnKeyDown,isInputFocused:e.props.isInputFocused,containerRef:e.props.containerRef})})))})),e}return he(r,[{key:"render",value:function(){return n.createElement("div",{className:"react-datepicker__week"},this.renderDays())}}],[{key:"defaultProps",get:function(){return{shouldCloseOnSelect:!0}}}]),r}(n.Component),Mt=function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return fe(ve(e=t.call.apply(t,[this].concat(a))),"handleDayClick",(function(t,n){e.props.onDayClick&&e.props.onDayClick(t,n,e.props.orderInDisplay)})),fe(ve(e),"handleDayMouseEnter",(function(t){e.props.onDayMouseEnter&&e.props.onDayMouseEnter(t)})),fe(ve(e),"handleMouseLeave",(function(){e.props.onMouseLeave&&e.props.onMouseLeave()})),fe(ve(e),"isRangeStartMonth",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&je(A(r,t),o)})),fe(ve(e),"isRangeStartQuarter",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&Fe(N(r,t),o)})),fe(ve(e),"isRangeEndMonth",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&je(A(r,t),i)})),fe(ve(e),"isRangeEndQuarter",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&Fe(N(r,t),i)})),fe(ve(e),"isWeekInMonth",(function(t){var n=e.props.day,r=u(t,6);return je(t,n)||je(r,n)})),fe(ve(e),"renderWeeks",(function(){for(var t=[],r=e.props.fixedHeight,o=Ne(Ie(e.props.day),e.props.locale),i=0,a=!1;t.push(n.createElement(kt,{ariaLabelPrefix:e.props.weekAriaLabelPrefix,chooseDayAriaLabelPrefix:e.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:e.props.disabledDayAriaLabelPrefix,key:i,day:o,month:E(e.props.day),onDayClick:e.handleDayClick,onDayMouseEnter:e.handleDayMouseEnter,onWeekSelect:e.props.onWeekSelect,formatWeekNumber:e.props.formatWeekNumber,locale:e.props.locale,minDate:e.props.minDate,maxDate:e.props.maxDate,excludeDates:e.props.excludeDates,includeDates:e.props.includeDates,inline:e.props.inline,highlightDates:e.props.highlightDates,selectingDate:e.props.selectingDate,filterDate:e.props.filterDate,preSelection:e.props.preSelection,selected:e.props.selected,selectsStart:e.props.selectsStart,selectsEnd:e.props.selectsEnd,showWeekNumber:e.props.showWeekNumbers,startDate:e.props.startDate,endDate:e.props.endDate,dayClassName:e.props.dayClassName,setOpen:e.props.setOpen,shouldCloseOnSelect:e.props.shouldCloseOnSelect,disabledKeyboardNavigation:e.props.disabledKeyboardNavigation,renderDayContents:e.props.renderDayContents,handleOnKeyDown:e.props.handleOnKeyDown,isInputFocused:e.props.isInputFocused,containerRef:e.props.containerRef})),!a;){i++,o=d(o,1);var s=r&&i>=6,l=!r&&!e.isWeekInMonth(o);if(s||l){if(!e.props.peekNextMonth)break;a=!0}}return t})),fe(ve(e),"onMonthClick",(function(t,n){e.handleDayClick(Ie(A(e.props.day,n)),t)})),fe(ve(e),"onQuarterClick",(function(t,n){e.handleDayClick(Ye(N(e.props.day,n)),t)})),fe(ve(e),"getMonthClassNames",(function(t){var n=e.props,r=n.day,i=n.startDate,a=n.endDate,s=n.selected,l=n.minDate,c=n.maxDate;return o("react-datepicker__month-text","react-datepicker__month-".concat(t),{"react-datepicker__month--disabled":(l||c)&&Ke(A(r,t),e.props),"react-datepicker__month--selected":E(r)===t&&D(r)===D(s),"react-datepicker__month--in-range":Xe(i,a,t,r),"react-datepicker__month--range-start":e.isRangeStartMonth(t),"react-datepicker__month--range-end":e.isRangeEndMonth(t)})})),fe(ve(e),"getQuarterClassNames",(function(t){var n=e.props,r=n.day,i=n.startDate,a=n.endDate,s=n.selected,l=n.minDate,c=n.maxDate;return o("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter--disabled":(l||c)&&$e(N(r,t),e.props),"react-datepicker__quarter--selected":S(r)===t&&D(r)===D(s),"react-datepicker__quarter--in-range":Ze(i,a,t,r),"react-datepicker__quarter--range-start":e.isRangeStartQuarter(t),"react-datepicker__quarter--range-end":e.isRangeEndQuarter(t)})})),fe(ve(e),"renderMonths",(function(){var t=e.props,r=t.showFullMonthYearPicker,o=t.locale;return[[0,1,2],[3,4,5],[6,7,8],[9,10,11]].map((function(t,i){return n.createElement("div",{className:"react-datepicker__month-wrapper",key:i},t.map((function(t,i){return n.createElement("div",{key:i,onClick:function(n){e.onMonthClick(n,t)},className:e.getMonthClassNames(t)},r?We(t,o):qe(t,o))})))}))})),fe(ve(e),"renderQuarters",(function(){return n.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map((function(t,r){return n.createElement("div",{key:r,onClick:function(n){e.onQuarterClick(n,t)},className:e.getQuarterClassNames(t)},Ge(t,e.props.locale))})))})),fe(ve(e),"getClassNames",(function(){var t=e.props,n=t.selectingDate,r=t.selectsStart,i=t.selectsEnd,a=t.showMonthYearPicker,s=t.showQuarterYearPicker;return o("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(r||i)},{"react-datepicker__monthPicker":a},{"react-datepicker__quarterPicker":s})})),e}return he(r,[{key:"render",value:function(){var e=this.props,t=e.showMonthYearPicker,r=e.showQuarterYearPicker,o=e.day,i=e.ariaLabelPrefix,a=void 0===i?"month ":i;return n.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,"aria-label":"".concat(a," ").concat(Le(o,"yyyy-MM"))},t?this.renderMonths():r?this.renderQuarters():this.renderWeeks())}}]),r}(n.Component),xt=function(e){_e(r,e);var t=we(r);function r(){var e;ue(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return fe(ve(e=t.call.apply(t,[this].concat(i))),"state",{height:null}),fe(ve(e),"handleClick",(function(t){(e.props.minTime||e.props.maxTime)&&nt(t,e.props)||e.props.excludeTimes&&tt(t,e.props.excludeTimes)||e.props.includeTimes&&!tt(t,e.props.includeTimes)||e.props.onChange(t)})),fe(ve(e),"liClasses",(function(t,n,r){var o=["react-datepicker__time-list-item",e.props.timeClassName?e.props.timeClassName(t,n,r):void 0];return e.props.selected&&n===k(t)&&r===w(t)&&o.push("react-datepicker__time-list-item--selected"),((e.props.minTime||e.props.maxTime)&&nt(t,e.props)||e.props.excludeTimes&&tt(t,e.props.excludeTimes)||e.props.includeTimes&&!tt(t,e.props.includeTimes))&&o.push("react-datepicker__time-list-item--disabled"),e.props.injectTimes&&(60*k(t)+w(t))%e.props.intervals!=0&&o.push("react-datepicker__time-list-item--injected"),o.join(" ")})),fe(ve(e),"renderTimes",(function(){for(var t=[],r=e.props.format?e.props.format:"p",o=e.props.intervals,i=e.props.selected||e.props.openToDate||Ee(),a=k(i),s=w(i),c=Ae(Ee()),u=1440/o,d=e.props.injectTimes&&e.props.injectTimes.sort((function(e,t){return e-t})),h=0;h<u;h++){var f=l(c,h*o);if(t.push(f),d){var p=ut(c,f,h,o,d);t=t.concat(p)}}return t.map((function(t,o){return n.createElement("li",{key:o,onClick:e.handleClick.bind(ve(e),t),className:e.liClasses(t,a,s),ref:function(n){a===k(t)&&s>=w(t)&&(e.centerLi=n)}},Le(t,r,e.props.locale))}))})),e}return he(r,[{key:"componentDidMount",value:function(){this.list.scrollTop=r.calcCenterPosition(this.props.monthRef?this.props.monthRef.clientHeight-this.header.clientHeight:this.list.clientHeight,this.centerLi),this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})}},{key:"render",value:function(){var e=this,t=this.state.height;return n.createElement("div",{className:"react-datepicker__time-container ".concat(this.props.todayButton?"react-datepicker__time-container--with-today-button":"")},n.createElement("div",{className:"react-datepicker__header react-datepicker__header--time",ref:function(t){e.header=t}},n.createElement("div",{className:"react-datepicker-time__header"},this.props.timeCaption)),n.createElement("div",{className:"react-datepicker__time"},n.createElement("div",{className:"react-datepicker__time-box"},n.createElement("ul",{className:"react-datepicker__time-list",ref:function(t){e.list=t},style:t?{height:t}:{}},this.renderTimes()))))}}],[{key:"defaultProps",get:function(){return{intervals:30,onTimeChange:function(){},todayButton:null,timeCaption:"Time"}}}]),r}(n.Component);fe(xt,"calcCenterPosition",(function(e,t){return t.offsetTop-(e/2-t.clientHeight/2)}));var Tt=function(e){_e(r,e);var t=we(r);function r(e){var n;return ue(this,r),fe(ve(n=t.call(this,e)),"handleYearClick",(function(e,t){n.props.onDayClick&&n.props.onDayClick(e,t)})),fe(ve(n),"onYearClick",(function(e,t){var r;n.handleYearClick((r=I(n.props.date,t),q(r)),e)})),n}return he(r,[{key:"render",value:function(){for(var e=this,t=[],r=this.props.date,o=function(r,o){t.push(n.createElement("div",{onClick:function(t){e.onYearClick(t,r)},className:"react-datepicker__year-container-text",key:r},r))},i=D(r)-11,a=0;i<=D(r);i++,a++)o(i);return n.createElement("div",{className:"react-datepicker__year-container"},t)}}]),r}(n.Component),Et=function(e){_e(r,e);var t=we(r);function r(e){var o;return ue(this,r),fe(ve(o=t.call(this,e)),"onTimeChange",(function(e){o.setState({time:e});var t=new Date;t.setHours(e.split(":")[0]),t.setMinutes(e.split(":")[1]),o.props.onChange(t)})),fe(ve(o),"renderTimeInput",(function(){var e=o.state.time,t=o.props,r=t.timeString,i=t.customTimeInput;return i?n.cloneElement(i,{value:e,onChange:o.onTimeChange}):n.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",required:!0,value:e,onChange:function(e){o.onTimeChange(e.target.value||r)}})})),o.state={time:o.props.timeString},o}return he(r,[{key:"render",value:function(){return n.createElement("div",{className:"react-datepicker__input-time-container"},n.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),n.createElement("div",{className:"react-datepicker-time__input-container"},n.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))}}]),r}(n.Component);function St(e){var t=e.className,r=e.children,o=e.showPopperArrow,i=e.arrowProps,a=void 0===i?{}:i;return n.createElement("div",{className:t},o&&n.createElement("div",pe({className:"react-datepicker__triangle"},a)),r)}var Dt=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],Lt=function(e){_e(r,e);var t=we(r);function r(e){var i;return ue(this,r),fe(ve(i=t.call(this,e)),"handleClickOutside",(function(e){i.props.onClickOutside(e)})),fe(ve(i),"setClickOutsideRef",(function(){return i.containerRef.current})),fe(ve(i),"handleDropdownFocus",(function(e){(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.className||"").split(/\s+/);return Dt.some((function(e){return t.indexOf(e)>=0}))})(e.target)&&i.props.onDropdownFocus()})),fe(ve(i),"getDateInView",(function(){var e=i.props,t=e.preSelection,n=e.selected,r=e.openToDate,o=st(i.props),a=lt(i.props),s=Ee();return r||n||t||(o&&ne(s,o)?o:a&&te(s,a)?a:s)})),fe(ve(i),"increaseMonth",(function(){i.setState((function(e){var t=e.date;return{date:h(t,1)}}),(function(){return i.handleMonthChange(i.state.date)}))})),fe(ve(i),"decreaseMonth",(function(){i.setState((function(e){var t=e.date;return{date:b(t,1)}}),(function(){return i.handleMonthChange(i.state.date)}))})),fe(ve(i),"handleDayClick",(function(e,t,n){return i.props.onSelect(e,t,n)})),fe(ve(i),"handleDayMouseEnter",(function(e){i.setState({selectingDate:e}),i.props.onDayMouseEnter&&i.props.onDayMouseEnter(e)})),fe(ve(i),"handleMonthMouseLeave",(function(){i.setState({selectingDate:null}),i.props.onMonthMouseLeave&&i.props.onMonthMouseLeave()})),fe(ve(i),"handleYearChange",(function(e){i.props.onYearChange&&i.props.onYearChange(e)})),fe(ve(i),"handleMonthChange",(function(e){i.props.onMonthChange&&i.props.onMonthChange(e),i.props.adjustDateOnChange&&(i.props.onSelect&&i.props.onSelect(e),i.props.setOpen&&i.props.setOpen(!0)),i.props.setPreSelection&&i.props.setPreSelection(e)})),fe(ve(i),"handleMonthYearChange",(function(e){i.handleYearChange(e),i.handleMonthChange(e)})),fe(ve(i),"changeYear",(function(e){i.setState((function(t){var n=t.date;return{date:I(n,e)}}),(function(){return i.handleYearChange(i.state.date)}))})),fe(ve(i),"changeMonth",(function(e){i.setState((function(t){var n=t.date;return{date:A(n,e)}}),(function(){return i.handleMonthChange(i.state.date)}))})),fe(ve(i),"changeMonthYear",(function(e){i.setState((function(t){var n=t.date;return{date:I(A(n,E(e)),D(e))}}),(function(){return i.handleMonthYearChange(i.state.date)}))})),fe(ve(i),"header",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.state.date,t=Ne(e,i.props.locale),r=[];return i.props.showWeekNumbers&&r.push(n.createElement("div",{key:"W",className:"react-datepicker__day-name"},i.props.weekLabel||"#")),r.concat([0,1,2,3,4,5,6].map((function(e){var r=u(t,e),a=i.formatWeekday(r,i.props.locale),s=i.props.weekDayClassName?i.props.weekDayClassName(r):void 0;return n.createElement("div",{key:e,className:o("react-datepicker__day-name",s)},a)})))})),fe(ve(i),"formatWeekday",(function(e,t){return i.props.formatWeekDay?function(e,t,n){return t(Le(e,"EEEE",n))}(e,i.props.formatWeekDay,t):i.props.useWeekdaysShort?function(e,t){return Le(e,"EEE",t)}(e,t):function(e,t){return Le(e,"EEEEEE",t)}(e,t)})),fe(ve(i),"decreaseYear",(function(){i.setState((function(e){var t=e.date;return{date:v(t,i.props.showYearPicker?11:1)}}),(function(){return i.handleYearChange(i.state.date)}))})),fe(ve(i),"renderPreviousButton",(function(){if(!i.props.renderCustomHeader){var e=i.props.showMonthYearPicker?it(i.state.date,i.props):rt(i.state.date,i.props);if((i.props.forceShowMonthNavigation||i.props.showDisabledMonthNavigation||!e)&&!i.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--previous"],r=i.decreaseMonth;(i.props.showMonthYearPicker||i.props.showQuarterYearPicker||i.props.showYearPicker)&&(r=i.decreaseYear),e&&i.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--previous--disabled"),r=null);var o=i.props.showMonthYearPicker||i.props.showQuarterYearPicker,a=i.props,s=a.previousMonthAriaLabel,l=void 0===s?"Previous Month":s,c=a.previousYearAriaLabel,u=void 0===c?"Previous Year":c;return n.createElement("button",{type:"button",className:t.join(" "),onClick:r,"aria-label":o?u:l},o?i.props.previousYearButtonLabel:i.props.previousMonthButtonLabel)}}})),fe(ve(i),"increaseYear",(function(){i.setState((function(e){var t=e.date;return{date:f(t,i.props.showYearPicker?11:1)}}),(function(){return i.handleYearChange(i.state.date)}))})),fe(ve(i),"renderNextButton",(function(){if(!i.props.renderCustomHeader){var e=i.props.showMonthYearPicker?at(i.state.date,i.props):ot(i.state.date,i.props);if((i.props.forceShowMonthNavigation||i.props.showDisabledMonthNavigation||!e)&&!i.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--next"];i.props.showTimeSelect&&t.push("react-datepicker__navigation--next--with-time"),i.props.todayButton&&t.push("react-datepicker__navigation--next--with-today-button");var r=i.increaseMonth;(i.props.showMonthYearPicker||i.props.showQuarterYearPicker||i.props.showYearPicker)&&(r=i.increaseYear),e&&i.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--next--disabled"),r=null);var o=i.props.showMonthYearPicker||i.props.showQuarterYearPicker,a=i.props,s=a.nextMonthAriaLabel,l=void 0===s?"Next Month":s,c=a.nextYearAriaLabel,u=void 0===c?"Next Year":c;return n.createElement("button",{type:"button",className:t.join(" "),onClick:r,"aria-label":o?u:l},o?i.props.nextYearButtonLabel:i.props.nextMonthButtonLabel)}}})),fe(ve(i),"renderCurrentMonth",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.state.date,t=["react-datepicker__current-month"];return i.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),i.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),i.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),n.createElement("div",{className:t.join(" ")},Le(e,i.props.dateFormat,i.props.locale))})),fe(ve(i),"renderYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(i.props.showYearDropdown&&!e)return n.createElement(pt,{adjustDateOnChange:i.props.adjustDateOnChange,date:i.state.date,onSelect:i.props.onSelect,setOpen:i.props.setOpen,dropdownMode:i.props.dropdownMode,onChange:i.changeYear,minDate:i.props.minDate,maxDate:i.props.maxDate,year:D(i.state.date),scrollableYearDropdown:i.props.scrollableYearDropdown,yearDropdownItemNumber:i.props.yearDropdownItemNumber})})),fe(ve(i),"renderMonthDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(i.props.showMonthDropdown&&!e)return n.createElement(gt,{dropdownMode:i.props.dropdownMode,locale:i.props.locale,onChange:i.changeMonth,month:E(i.state.date),useShortMonthInDropdown:i.props.useShortMonthInDropdown})})),fe(ve(i),"renderMonthYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(i.props.showMonthYearDropdown&&!e)return n.createElement(vt,{dropdownMode:i.props.dropdownMode,locale:i.props.locale,dateFormat:i.props.dateFormat,onChange:i.changeMonthYear,minDate:i.props.minDate,maxDate:i.props.maxDate,date:i.state.date,scrollableMonthYearDropdown:i.props.scrollableMonthYearDropdown})})),fe(ve(i),"renderTodayButton",(function(){if(i.props.todayButton&&!i.props.showTimeSelectOnly)return n.createElement("div",{className:"react-datepicker__today-button",onClick:function(e){return i.props.onSelect(B(Ee()),e)}},i.props.todayButton)})),fe(ve(i),"renderDefaultHeader",(function(e){var t=e.monthDate,r=e.i;return n.createElement("div",{className:"react-datepicker__header"},i.renderCurrentMonth(t),n.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(i.props.dropdownMode),onFocus:i.handleDropdownFocus},i.renderMonthDropdown(0!==r),i.renderMonthYearDropdown(0!==r),i.renderYearDropdown(0!==r)),n.createElement("div",{className:"react-datepicker__day-names"},i.header(t)))})),fe(ve(i),"renderCustomHeader",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.monthDate,r=e.i;if(0!==r&&void 0!==r)return null;var o=rt(i.state.date,i.props),a=ot(i.state.date,i.props),s=it(i.state.date,i.props),l=at(i.state.date,i.props),c=!i.props.showMonthYearPicker&&!i.props.showQuarterYearPicker&&!i.props.showYearPicker;return n.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:i.props.onDropdownFocus},i.props.renderCustomHeader(ge(ge({},i.state),{},{changeMonth:i.changeMonth,changeYear:i.changeYear,decreaseMonth:i.decreaseMonth,increaseMonth:i.increaseMonth,decreaseYear:i.decreaseYear,increaseYear:i.increaseYear,prevMonthButtonDisabled:o,nextMonthButtonDisabled:a,prevYearButtonDisabled:s,nextYearButtonDisabled:l})),c&&n.createElement("div",{className:"react-datepicker__day-names"},i.header(t)))})),fe(ve(i),"renderYearHeader",(function(){return n.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},i.props.showYearPicker?"".concat(D(i.state.date)-11," - ").concat(D(i.state.date)):D(i.state.date))})),fe(ve(i),"renderHeader",(function(e){switch(!0){case void 0!==i.props.renderCustomHeader:return i.renderCustomHeader(e);case i.props.showMonthYearPicker||i.props.showQuarterYearPicker||i.props.showYearPicker:return i.renderYearHeader(e);default:return i.renderDefaultHeader(e)}})),fe(ve(i),"renderMonths",(function(){if(!i.props.showTimeSelectOnly&&!i.props.showYearPicker){for(var e=[],t=i.props.showPreviousMonths?i.props.monthsShown-1:0,r=b(i.state.date,t),o=0;o<i.props.monthsShown;++o){var a=o-i.props.monthSelectedIn,s=h(r,a),l="month-".concat(o);e.push(n.createElement("div",{key:l,ref:function(e){i.monthContainer=e},className:"react-datepicker__month-container"},i.renderHeader({monthDate:s,i:o}),n.createElement(Mt,{chooseDayAriaLabelPrefix:i.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:i.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:i.props.weekAriaLabelPrefix,onChange:i.changeMonthYear,day:s,dayClassName:i.props.dayClassName,monthClassName:i.props.monthClassName,onDayClick:i.handleDayClick,handleOnKeyDown:i.props.handleOnKeyDown,onDayMouseEnter:i.handleDayMouseEnter,onMouseLeave:i.handleMonthMouseLeave,onWeekSelect:i.props.onWeekSelect,orderInDisplay:o,formatWeekNumber:i.props.formatWeekNumber,locale:i.props.locale,minDate:i.props.minDate,maxDate:i.props.maxDate,excludeDates:i.props.excludeDates,highlightDates:i.props.highlightDates,selectingDate:i.state.selectingDate,includeDates:i.props.includeDates,inline:i.props.inline,fixedHeight:i.props.fixedHeight,filterDate:i.props.filterDate,preSelection:i.props.preSelection,selected:i.props.selected,selectsStart:i.props.selectsStart,selectsEnd:i.props.selectsEnd,showWeekNumbers:i.props.showWeekNumbers,startDate:i.props.startDate,endDate:i.props.endDate,peekNextMonth:i.props.peekNextMonth,setOpen:i.props.setOpen,shouldCloseOnSelect:i.props.shouldCloseOnSelect,renderDayContents:i.props.renderDayContents,disabledKeyboardNavigation:i.props.disabledKeyboardNavigation,showMonthYearPicker:i.props.showMonthYearPicker,showFullMonthYearPicker:i.props.showFullMonthYearPicker,showYearPicker:i.props.showYearPicker,showQuarterYearPicker:i.props.showQuarterYearPicker,isInputFocused:i.props.isInputFocused,containerRef:i.containerRef})))}return e}})),fe(ve(i),"renderYears",(function(){if(!i.props.showTimeSelectOnly)return i.props.showYearPicker?n.createElement("div",{className:"react-datepicker__year"},i.renderHeader(),n.createElement(Tt,{onDayClick:i.handleDayClick,date:i.state.date})):void 0})),fe(ve(i),"renderTimeSection",(function(){if(i.props.showTimeSelect&&(i.state.monthContainer||i.props.showTimeSelectOnly))return n.createElement(xt,{selected:i.props.selected,openToDate:i.props.openToDate,onChange:i.props.onTimeChange,timeClassName:i.props.timeClassName,format:i.props.timeFormat,includeTimes:i.props.includeTimes,intervals:i.props.timeIntervals,minTime:i.props.minTime,maxTime:i.props.maxTime,excludeTimes:i.props.excludeTimes,timeCaption:i.props.timeCaption,todayButton:i.props.todayButton,showMonthDropdown:i.props.showMonthDropdown,showMonthYearDropdown:i.props.showMonthYearDropdown,showYearDropdown:i.props.showYearDropdown,withPortal:i.props.withPortal,monthRef:i.state.monthContainer,injectTimes:i.props.injectTimes,locale:i.props.locale})})),fe(ve(i),"renderInputTimeSection",(function(){var e=new Date(i.props.selected),t="".concat(dt(e.getHours()),":").concat(dt(e.getMinutes()));if(i.props.showTimeInput)return n.createElement(Et,{timeString:t,timeInputLabel:i.props.timeInputLabel,onChange:i.props.onTimeChange,customTimeInput:i.props.customTimeInput})})),i.containerRef=n.createRef(),i.state={date:i.getDateInView(),selectingDate:null,monthContainer:null},i}return he(r,null,[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},monthsShown:1,monthSelectedIn:0,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",customTimeInput:null}}}]),he(r,[{key:"componentDidMount",value:function(){this.props.showTimeSelect&&(this.assignMonthContainer=void this.setState({monthContainer:this.monthContainer}))}},{key:"componentDidUpdate",value:function(e){this.props.preSelection&&!He(this.props.preSelection,e.preSelection)?this.setState({date:this.props.preSelection}):this.props.openToDate&&!He(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate})}},{key:"render",value:function(){var e=this.props.container||St;return n.createElement("div",{ref:this.containerRef},n.createElement(e,{className:o("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showPopperArrow:this.props.showPopperArrow},this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.props.children))}}]),r}(n.Component),Ct=function(e){return!e.disabled&&-1!==e.tabIndex},Pt=function(e){_e(r,e);var t=we(r);function r(e){var o;return ue(this,r),fe(ve(o=t.call(this,e)),"getTabChildren",(function(){return Array.prototype.slice.call(o.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(Ct)})),fe(ve(o),"handleFocusStart",(function(e){var t=o.getTabChildren();t&&t.length>1&&t[t.length-1].focus()})),fe(ve(o),"handleFocusEnd",(function(e){var t=o.getTabChildren();t&&t.length>1&&t[0].focus()})),o.tabLoopRef=n.createRef(),o}return he(r,null,[{key:"defaultProps",get:function(){return{enableTabLoop:!0}}}]),he(r,[{key:"render",value:function(){return this.props.enableTabLoop?n.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},n.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,n.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:"0",onFocus:this.handleFocusEnd})):this.props.children}}]),r}(n.Component),Ot=function(e){_e(r,e);var t=we(r);function r(){return ue(this,r),t.apply(this,arguments)}return he(r,[{key:"render",value:function(){var e,t=this.props,r=t.className,i=t.wrapperClassName,a=t.hidePopper,s=t.popperComponent,l=t.popperModifiers,c=t.popperPlacement,u=t.popperProps,d=t.targetComponent,h=t.enableTabLoop,f=t.popperOnKeyDown;if(!a){var p=o("react-datepicker-popper",r);e=n.createElement(le.Popper,pe({modifiers:l,placement:c},u),(function(e){var t=e.ref,r=e.style,o=e.placement,i=e.arrowProps;return n.createElement(Pt,{enableTabLoop:h},n.createElement("div",pe({ref:t,style:r},{className:p,"data-placement":o,onKeyDown:f}),n.cloneElement(s,{arrowProps:i})))}))}this.props.popperContainer&&(e=n.createElement(this.props.popperContainer,{},e));var m=o("react-datepicker-wrapper",i);return n.createElement(le.Manager,{className:"react-datepicker-manager"},n.createElement(le.Reference,null,(function(e){var t=e.ref;return n.createElement("div",{ref:t,className:m},d)})),e)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0,popperModifiers:{preventOverflow:{enabled:!0,escapeWithReference:!0,boundariesElement:"viewport"}},popperProps:{},popperPlacement:"bottom-start"}}}]),r}(n.Component),At=se(Lt),Nt=function(e){_e(r,e);var t=we(r);function r(e){var a;return ue(this,r),fe(ve(a=t.call(this,e)),"getPreSelection",(function(){return a.props.openToDate?a.props.openToDate:a.props.selectsEnd&&a.props.startDate?a.props.startDate:a.props.selectsStart&&a.props.endDate?a.props.endDate:Ee()})),fe(ve(a),"calcInitialState",(function(){var e=a.getPreSelection(),t=st(a.props),n=lt(a.props),r=t&&ne(e,t)?t:n&&te(e,n)?n:e;return{open:a.props.startOpen||!1,preventFocus:!1,preSelection:a.props.selected?a.props.selected:r,highlightDates:ct(a.props.highlightDates),focused:!1}})),fe(ve(a),"clearPreventFocusTimeout",(function(){a.preventFocusTimeout&&clearTimeout(a.preventFocusTimeout)})),fe(ve(a),"setFocus",(function(){a.input&&a.input.focus&&a.input.focus()})),fe(ve(a),"setBlur",(function(){a.input&&a.input.blur&&a.input.blur(),a.cancelFocusInput()})),fe(ve(a),"setOpen",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];a.setState({open:e,preSelection:e&&a.state.open?a.state.preSelection:a.calcInitialState().preSelection,lastPreSelectChange:Yt},(function(){e||a.setState((function(e){return{focused:!!t&&e.focused}}),(function(){!t&&a.setBlur(),a.setState({inputValue:null})}))}))})),fe(ve(a),"inputOk",(function(){return i(a.state.preSelection)})),fe(ve(a),"isCalendarOpen",(function(){return void 0===a.props.open?a.state.open&&!a.props.disabled&&!a.props.readOnly:a.props.open})),fe(ve(a),"handleFocus",(function(e){a.state.preventFocus||(a.props.onFocus(e),a.props.preventOpenOnFocus||a.props.readOnly||a.setOpen(!0)),a.setState({focused:!0})})),fe(ve(a),"cancelFocusInput",(function(){clearTimeout(a.inputFocusTimeout),a.inputFocusTimeout=null})),fe(ve(a),"deferFocusInput",(function(){a.cancelFocusInput(),a.inputFocusTimeout=setTimeout((function(){return a.setFocus()}),1)})),fe(ve(a),"handleDropdownFocus",(function(){a.cancelFocusInput()})),fe(ve(a),"handleBlur",(function(e){(!a.state.open||a.props.withPortal||a.props.showTimeInput)&&a.props.onBlur(e),a.setState({focused:!1})})),fe(ve(a),"handleCalendarClickOutside",(function(e){a.props.inline||a.setOpen(!1),a.props.onClickOutside(e),a.props.withPortal&&e.preventDefault()})),fe(ve(a),"handleChange",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0];if(!a.props.onChangeRaw||(a.props.onChangeRaw.apply(ve(a),t),"function"==typeof r.isDefaultPrevented&&!r.isDefaultPrevented())){a.setState({inputValue:r.target.value,lastPreSelectChange:It});var o=Se(r.target.value,a.props.dateFormat,a.props.locale,a.props.strictParsing);!o&&r.target.value||a.setSelected(o,r,!0)}})),fe(ve(a),"handleSelect",(function(e,t,n){a.setState({preventFocus:!0},(function(){return a.preventFocusTimeout=setTimeout((function(){return a.setState({preventFocus:!1})}),50),a.preventFocusTimeout})),a.setSelected(e,t,!1,n),!a.props.shouldCloseOnSelect||a.props.showTimeSelect?a.setPreSelection(e):a.props.inline||a.setOpen(!1)})),fe(ve(a),"setSelected",(function(e,t,n,r){var o=e;null!==o&&Qe(o,a.props)||(ze(a.props.selected,o)&&!a.props.allowSameDay||(null!==o&&(!a.props.selected||n&&(a.props.showTimeSelect||a.props.showTimeSelectOnly||a.props.showTimeInput)||(o=Ce(o,{hour:k(a.props.selected),minute:w(a.props.selected),second:y(a.props.selected)})),a.props.inline||a.setState({preSelection:o}),a.props.inline&&a.props.monthsShown>1&&!a.props.inlineFocusSelectedMonth&&a.setState({monthSelectedIn:r})),a.props.onChange(o,t)),a.props.onSelect(o,t),n||a.setState({inputValue:null}))})),fe(ve(a),"setPreSelection",(function(e){var t=void 0!==a.props.minDate,n=void 0!==a.props.maxDate,r=!0;e&&(t&&n?r=Be(e,a.props.minDate,a.props.maxDate):t?r=te(e,a.props.minDate):n&&(r=ne(e,a.props.maxDate))),r&&a.setState({preSelection:e})})),fe(ve(a),"handleTimeChange",(function(e){var t=Ce(a.props.selected?a.props.selected:a.getPreSelection(),{hour:k(e),minute:w(e)});a.setState({preSelection:t}),a.props.onChange(t),a.props.shouldCloseOnSelect&&a.setOpen(!1),a.props.showTimeInput&&a.setOpen(!0),a.setState({inputValue:null})})),fe(ve(a),"onInputClick",(function(){a.props.disabled||a.props.readOnly||a.setOpen(!0),a.props.onInputClick()})),fe(ve(a),"onInputKeyDown",(function(e){a.props.onKeyDown(e);var t=e.key;if(a.state.open||a.props.inline||a.props.preventOpenOnFocus){if(a.state.open){if("ArrowDown"===t||"ArrowUp"===t){e.preventDefault();var n=a.calendar.componentNode&&a.calendar.componentNode.querySelector('.react-datepicker__day[tabindex="0"]');return void(n&&n.focus())}var r=Ee(a.state.preSelection);"Enter"===t?(e.preventDefault(),a.inputOk()&&a.state.lastPreSelectChange===Yt?(a.handleSelect(r,e),!a.props.shouldCloseOnSelect&&a.setPreSelection(r)):a.setOpen(!1)):"Escape"===t&&(e.preventDefault(),a.setOpen(!1)),a.inputOk()||a.props.onInputError({code:1,msg:"Date input not valid."})}}else"ArrowDown"!==t&&"ArrowUp"!==t&&"Enter"!==t||a.onInputClick()})),fe(ve(a),"onDayKeyDown",(function(e){a.props.onKeyDown(e);var t=e.key,n=Ee(a.state.preSelection);if("Enter"===t)e.preventDefault(),a.handleSelect(n,e),!a.props.shouldCloseOnSelect&&a.setPreSelection(n);else if("Escape"===t)e.preventDefault(),a.setOpen(!1),a.inputOk()||a.props.onInputError({code:1,msg:"Date input not valid."});else if(!a.props.disabledKeyboardNavigation){var r;switch(t){case"ArrowLeft":r=g(n,1);break;case"ArrowRight":r=u(n,1);break;case"ArrowUp":r=_(n,1);break;case"ArrowDown":r=d(n,1);break;case"PageUp":r=b(n,1);break;case"PageDown":r=h(n,1);break;case"Home":r=v(n,1);break;case"End":r=f(n,1)}if(!r)return void(a.props.onInputError&&a.props.onInputError({code:1,msg:"Date input not valid."}));e.preventDefault(),a.setState({lastPreSelectChange:Yt}),a.props.adjustDateOnChange&&a.setSelected(r),a.setPreSelection(r)}})),fe(ve(a),"onPopperKeyDown",(function(e){"Escape"===e.key&&(e.preventDefault(),a.setState({preventFocus:!0},(function(){a.setOpen(!1),setTimeout((function(){a.setFocus(),a.setState({preventFocus:!1})}))})))})),fe(ve(a),"onClearClick",(function(e){e&&e.preventDefault&&e.preventDefault(),a.props.onChange(null,e),a.setState({inputValue:null})})),fe(ve(a),"clear",(function(){a.onClearClick()})),fe(ve(a),"renderCalendar",(function(){return a.props.inline||a.isCalendarOpen()?n.createElement(At,{ref:function(e){a.calendar=e},locale:a.props.locale,chooseDayAriaLabelPrefix:a.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:a.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:a.props.weekAriaLabelPrefix,adjustDateOnChange:a.props.adjustDateOnChange,setOpen:a.setOpen,shouldCloseOnSelect:a.props.shouldCloseOnSelect,dateFormat:a.props.dateFormatCalendar,useWeekdaysShort:a.props.useWeekdaysShort,formatWeekDay:a.props.formatWeekDay,dropdownMode:a.props.dropdownMode,selected:a.props.selected,preSelection:a.state.preSelection,onSelect:a.handleSelect,onWeekSelect:a.props.onWeekSelect,openToDate:a.props.openToDate,minDate:a.props.minDate,maxDate:a.props.maxDate,selectsStart:a.props.selectsStart,selectsEnd:a.props.selectsEnd,startDate:a.props.startDate,endDate:a.props.endDate,excludeDates:a.props.excludeDates,filterDate:a.props.filterDate,onClickOutside:a.handleCalendarClickOutside,formatWeekNumber:a.props.formatWeekNumber,highlightDates:a.state.highlightDates,includeDates:a.props.includeDates,includeTimes:a.props.includeTimes,injectTimes:a.props.injectTimes,inline:a.props.inline,peekNextMonth:a.props.peekNextMonth,showMonthDropdown:a.props.showMonthDropdown,showPreviousMonths:a.props.showPreviousMonths,useShortMonthInDropdown:a.props.useShortMonthInDropdown,showMonthYearDropdown:a.props.showMonthYearDropdown,showWeekNumbers:a.props.showWeekNumbers,showYearDropdown:a.props.showYearDropdown,withPortal:a.props.withPortal,forceShowMonthNavigation:a.props.forceShowMonthNavigation,showDisabledMonthNavigation:a.props.showDisabledMonthNavigation,scrollableYearDropdown:a.props.scrollableYearDropdown,scrollableMonthYearDropdown:a.props.scrollableMonthYearDropdown,todayButton:a.props.todayButton,weekLabel:a.props.weekLabel,outsideClickIgnoreClass:"react-datepicker-ignore-onclickoutside",fixedHeight:a.props.fixedHeight,monthsShown:a.props.monthsShown,monthSelectedIn:a.state.monthSelectedIn,onDropdownFocus:a.handleDropdownFocus,onMonthChange:a.props.onMonthChange,onYearChange:a.props.onYearChange,dayClassName:a.props.dayClassName,weekDayClassName:a.props.weekDayClassName,monthClassName:a.props.monthClassName,timeClassName:a.props.timeClassName,showTimeSelect:a.props.showTimeSelect,showTimeSelectOnly:a.props.showTimeSelectOnly,onTimeChange:a.handleTimeChange,timeFormat:a.props.timeFormat,timeIntervals:a.props.timeIntervals,minTime:a.props.minTime,maxTime:a.props.maxTime,excludeTimes:a.props.excludeTimes,timeCaption:a.props.timeCaption,className:a.props.calendarClassName,container:a.props.calendarContainer,yearDropdownItemNumber:a.props.yearDropdownItemNumber,previousMonthButtonLabel:a.props.previousMonthButtonLabel,nextMonthButtonLabel:a.props.nextMonthButtonLabel,previousYearButtonLabel:a.props.previousYearButtonLabel,nextYearButtonLabel:a.props.nextYearButtonLabel,timeInputLabel:a.props.timeInputLabel,disabledKeyboardNavigation:a.props.disabledKeyboardNavigation,renderCustomHeader:a.props.renderCustomHeader,popperProps:a.props.popperProps,renderDayContents:a.props.renderDayContents,onDayMouseEnter:a.props.onDayMouseEnter,onMonthMouseLeave:a.props.onMonthMouseLeave,showTimeInput:a.props.showTimeInput,showMonthYearPicker:a.props.showMonthYearPicker,showFullMonthYearPicker:a.props.showFullMonthYearPicker,showYearPicker:a.props.showYearPicker,showQuarterYearPicker:a.props.showQuarterYearPicker,showPopperArrow:a.props.showPopperArrow,excludeScrollbar:a.props.excludeScrollbar,handleOnKeyDown:a.onDayKeyDown,isInputFocused:a.state.focused,customTimeInput:a.props.customTimeInput,setPreSelection:a.setPreSelection},a.props.children):null})),fe(ve(a),"renderDateInput",(function(){var e,t,r,i,s,l=o(a.props.className,fe({},"react-datepicker-ignore-onclickoutside",a.state.open)),c=a.props.customInput||n.createElement("input",{type:"text"}),u=a.props.customInputRef||"ref",d="string"==typeof a.props.value?a.props.value:"string"==typeof a.state.inputValue?a.state.inputValue:(t=a.props.selected,i=(r=a.props).dateFormat,s=r.locale,t&&Le(t,Array.isArray(i)?i[0]:i,s)||"");return n.cloneElement(c,(fe(e={},u,(function(e){a.input=e})),fe(e,"value",d),fe(e,"onBlur",a.handleBlur),fe(e,"onChange",a.handleChange),fe(e,"onClick",a.onInputClick),fe(e,"onFocus",a.handleFocus),fe(e,"onKeyDown",a.onInputKeyDown),fe(e,"id",a.props.id),fe(e,"name",a.props.name),fe(e,"autoFocus",a.props.autoFocus),fe(e,"placeholder",a.props.placeholderText),fe(e,"disabled",a.props.disabled),fe(e,"autoComplete",a.props.autoComplete),fe(e,"className",o(c.props.className,l)),fe(e,"title",a.props.title),fe(e,"readOnly",a.props.readOnly),fe(e,"required",a.props.required),fe(e,"tabIndex",a.props.tabIndex),fe(e,"aria-labelledby",a.props.ariaLabelledBy),e))})),fe(ve(a),"renderClearButton",(function(){var e=a.props,t=e.isClearable,r=e.selected,o=e.clearButtonTitle,i=e.ariaLabelClose,s=void 0===i?"Close":i;return t&&null!=r?n.createElement("button",{type:"button",className:"react-datepicker__close-icon","aria-label":s,onClick:a.onClearClick,title:o,tabIndex:-1}):null})),a.state=a.calcInitialState(),a}return he(r,null,[{key:"defaultProps",get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onInputClick:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},onCalendarOpen:function(){},onCalendarClose:function(){},preventOpenOnFocus:!1,onYearChange:function(){},onInputError:function(){},monthsShown:1,readOnly:!1,withPortal:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,strictParsing:!1,timeIntervals:30,timeCaption:"Time",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,renderDayContents:function(e){return e},inlineFocusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null}}}]),he(r,[{key:"componentDidUpdate",value:function(e,t){var n,r;e.inline&&(n=e.selected,r=this.props.selected,n&&r?E(n)!==E(r)||D(n)!==D(r):n!==r)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:ct(this.props.highlightDates)}),t.focused||ze(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&this.props.onCalendarOpen(),!0===t.open&&!1===this.state.open&&this.props.onCalendarClose())}},{key:"componentWillUnmount",value:function(){this.clearPreventFocusTimeout()}},{key:"render",value:function(){var e=this.renderCalendar();return this.props.inline&&!this.props.withPortal?e:this.props.withPortal?n.createElement("div",null,this.props.inline?null:n.createElement("div",{className:"react-datepicker__input-container"},this.renderDateInput(),this.renderClearButton()),this.state.open||this.props.inline?n.createElement("div",{className:"react-datepicker__portal"},e):null):n.createElement(Ot,{className:this.props.popperClassName,wrapperClassName:this.props.wrapperClassName,hidePopper:!this.isCalendarOpen(),popperModifiers:this.props.popperModifiers,targetComponent:n.createElement("div",{className:"react-datepicker__input-container"},this.renderDateInput(),this.renderClearButton()),popperContainer:this.props.popperContainer,popperComponent:e,popperPlacement:this.props.popperPlacement,popperProps:this.props.popperProps,popperOnKeyDown:this.onPopperKeyDown,enableTabLoop:this.props.enableTabLoop})}}]),r}(n.Component),It="input",Yt="navigate";t.CalendarContainer=St,t.default=Nt,t.getDefaultLocale=Ve,t.registerLocale=function(t,n){var r="undefined"!=typeof window?window:e;r.__localeData__||(r.__localeData__={}),r.__localeData__[t]=n},t.setDefaultLocale=function(t){("undefined"!=typeof window?window:e).__localeId__=t},Object.defineProperty(t,"__esModule",{value:!0})}(t,n(0),n(16),n(44),n(297),n(73),n(451),n(74),n(75),n(41),n(76),n(42),n(77),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(453),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(79),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(26),n(18),n(324),n(55),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),n(334),n(335),n(336),n(4),n(450),n(337),n(338),n(452))}).call(this,n(35))},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(7),o=n(4),i=n(2);function a(e,t){Object(i.a)(2,arguments);var n=Object(o.default)(e),a=Object(r.a)(t);return isNaN(a)?new Date(NaN):a?(n.setDate(n.getDate()+a),n):n}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(7),o=n(4),i=n(2);function a(e,t){Object(i.a)(2,arguments);var n=Object(o.default)(e),a=Object(r.a)(t);if(isNaN(a))return new Date(NaN);if(!a)return n;var s=n.getDate(),l=new Date(n.getTime());l.setMonth(n.getMonth()+a+1,0);var c=l.getDate();return s>=c?l:(n.setFullYear(l.getFullYear(),l.getMonth(),s),n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Draggable",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"Droppable",{enumerable:!0,get:function(){return o.default}});var r=i(n(289)),o=i(n(290));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){var r;
17
  /*!
18
  Copyright (c) 2017 Jed Watson.
19
  Licensed under the MIT License (MIT), see
20
  http://jedwatson.github.io/classnames
21
+ */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r=n(355),o=n(356),i=n(357),a=n(358),s=n(359);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(234);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(23).Symbol;e.exports=r},function(e,t,n){var r=n(25)(Object,"create");e.exports=r},function(e,t,n){var r=n(379);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(72);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){"use strict";
22
  /*!
23
  * react-filepond v5.0.0
24
  * A handy FilePond adapter component for React
27
  * https://pqina.nl/filepond
28
  *
29
  * Licensed under the MIT license.
30
+ */Object.defineProperty(t,"__esModule",{value:!0}),t.File=t.FilePond=t.registerPlugin=void 0;var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=(r=i)&&r.__esModule?r:{default:r},s=n(260);function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.registerPlugin=s.registerPlugin;var d=(0,s.supported)(),h=function(e){return e?a.default.Children.map(e,(function(e){var t=e.props;if(t.src){var n={};return t.origin&&(n.type=t.origin),t.name&&(n.file={name:t.name,size:t.size,type:t.type}),t.metadata&&(n.metadata=t.metadata),{source:t.src,options:n}}return t.source&&t.type?{source:t.source,options:{type:t.type}}:t.source})):[]},f=["setOptions","on","off","onOnce","appendTo","insertAfter","insertBefore","isAttachedTo","replaceElement","restoreElement","destroy"];t.FilePond=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return u(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this;d&&(this._pond=(0,s.create)(this._element,Object.assign({},this.props,{files:h(this.props.children)})),Object.keys(this._pond).filter((function(e){return!f.includes(e)})).forEach((function(t){e[t]=e._pond[t]})))}},{key:"componentWillUnmount",value:function(){this._pond&&this._pond.destroy()}},{key:"componentDidUpdate",value:function(e){if(this._pond){var t=Object.assign({},this.props),n=h(e.children),r=h(this.props.children);JSON.stringify(n)!==JSON.stringify(r)&&(t.files=r),this._pond.setOptions(t)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.id,r=t.name,o=t.className,a=t.allowMultiple,s=t.required,l=t.captureMethod,c=t.acceptedFileTypes;return(0,i.createElement)("div",{className:"filepond--wrapper"},(0,i.createElement)("input",{type:"file",name:r,id:n,accept:c,multiple:a,required:s,className:o,capture:l,ref:function(t){return e._element=t}}))}}]),t}(a.default.Component),t.File=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return u(t,e),t}(a.default.Component)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(7),o=n(28),i=n(2);function a(e,t){Object(i.a)(2,arguments);var n=Object(r.a)(t);return Object(o.a)(e,-n)}},function(e,t,n){"use strict";function r(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function o(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}var i={p:o,P:function(e,t){var n,i=e.match(/(P+)(p+)?/),a=i[1],s=i[2];if(!s)return r(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",r(a,t)).replace("{{time}}",o(s,t))}};t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(4),o=n(21),i=n(2);function a(e){Object(i.a)(1,arguments);var t=Object(r.default)(e),n=t.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var s=Object(o.a)(a),l=new Date(0);l.setUTCFullYear(n,0,4),l.setUTCHours(0,0,0,0);var c=Object(o.a)(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return i}));var r=n(4),o=n(2);function i(e){Object(o.a)(1,arguments);var t=Object(r.default)(e),n=t.getMonth(),i=n-n%3;return t.setMonth(i,1),t.setHours(0,0,0,0),t}},function(e,t,n){"use strict";var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function o(e){return function(t){var n=t||{},r=n.width?String(n.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var i={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function s(e){return function(t,n){var r,o=n||{};if("formatting"===(o.context?String(o.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=o.width?String(o.width):i;r=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,l=o.width?String(o.width):e.defaultWidth;r=e.values[l]||e.values[s]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function l(e){return function(t,n){var r=String(t),o=n||{},i=o.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=r.match(a);if(!s)return null;var l,c=s[0],u=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth];return l="[object Array]"===Object.prototype.toString.call(u)?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}(u,(function(e){return e.test(c)})):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}(u,(function(e){return e.test(c)})),l=e.valueCallback?e.valueCallback(l):l,{value:l=o.valueCallback?o.valueCallback(l):l,rest:r.slice(c.length)}}}var c,u={code:"en-US",formatDistance:function(e,t,n){var o;return n=n||{},o="string"==typeof r[e]?r[e]:1===t?r[e].one:r[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"in "+o:o+" ago":o},formatLong:i,formatRelative:function(e,t,n,r){return a[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:s({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:s({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:s({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:s({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:s({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(c={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e,t){var n=String(e),r=t||{},o=n.match(c.matchPattern);if(!o)return null;var i=o[0],a=n.match(c.parsePattern);if(!a)return null;var s=c.valueCallback?c.valueCallback(a[0]):a[0];return{value:s=r.valueCallback?r.valueCallback(s):s,rest:n.slice(i.length)}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};t.a=u},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(4),o=n(19),i=n(7),a=n(29),s=n(2);function l(e,t){Object(s.a)(1,arguments);var n=t||{},r=n.locale,l=r&&r.options&&r.options.firstWeekContainsDate,c=null==l?1:Object(i.a)(l),u=null==n.firstWeekContainsDate?c:Object(i.a)(n.firstWeekContainsDate),d=Object(a.a)(e,t),h=new Date(0);h.setUTCFullYear(d,0,u),h.setUTCHours(0,0,0,0);var f=Object(o.a)(h,t);return f}function c(e,t){Object(s.a)(1,arguments);var n=Object(r.default)(e),i=Object(o.a)(n,t).getTime()-l(n,t).getTime();return Math.round(i/6048e5)+1}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(4),o=n(21),i=n(54),a=n(2);function s(e){Object(a.a)(1,arguments);var t=Object(i.a)(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=Object(o.a)(n);return r}function l(e){Object(a.a)(1,arguments);var t=Object(r.default)(e),n=Object(o.a)(t).getTime()-s(t).getTime();return Math.round(n/6048e5)+1}},function(e,t,n){var r=n(444),o=n(445),i=n(446),a=n(448);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},function(e,t,n){"use strict";
31
  /*
32
  object-assign
33
  (c) Sindre Sorhus
34
  @license MIT
35
+ */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=a(e),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))o.call(n,u)&&(l[u]=n[u]);if(r){s=r(n);for(var d=0;d<s.length;d++)i.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(e,t,n){"use strict";(function(t){var r=n(17),o=n(264),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,l={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==t)&&(s=n(85)),s),transformRequest:[function(e,t){return o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(i)})),e.exports=l}).call(this,n(84))},function(e,t,n){"use strict";t.__esModule=!0,t.isValidDelay=o,t.objectValues=function(e){return Object.keys(e).map((function(t){return e[t]}))},t.falseOrElement=t.falseOrDelay=void 0;var r=n(0);function o(e){return"number"==typeof e&&!isNaN(e)&&e>0}function i(e){return e.isRequired=function(t,n,r){if(void 0===t[n])return new Error("The prop "+n+" is marked as required in \n "+r+", but its value is undefined.");e(t,n,r)},e}var a=i((function(e,t,n){var r=e[t];return!1===r||o(r)?null:new Error(n+" expect "+t+" \n to be a valid Number > 0 or equal to false. "+r+" given.")}));t.falseOrDelay=a;var s=i((function(e,t,n){var o=e[t];return!1===o||(0,r.isValidElement)(o)?null:new Error(n+" expect "+t+" \n to be a valid react element or equal to false. "+o+" given.")}));t.falseOrElement=s},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";var r=n(342);e.exports=Function.prototype.bind||r},function(e,t,n){var r=n(354),o=n(38);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,s))}},function(e,t,n){var r=n(25)(n(23),"Map");e.exports=r},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(371),o=n(378),i=n(380),a=n(381),s=n(382);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(399),o=n(406),i=n(243);e.exports=function(e){return i(e)?r(e):o(e)}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){var r=n(24),o=n(72),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(37),o=n(38);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return i}));var r=n(4),o=n(2);function i(e){Object(o.a)(1,arguments);var t=Object(r.default)(e);return!isNaN(t)}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(7),o=n(28),i=n(2);function a(e,t){Object(i.a)(2,arguments);var n=Object(r.a)(t);return Object(o.a)(e,6e4*n)}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(7),o=n(28),i=n(2);function a(e,t){Object(i.a)(2,arguments);var n=Object(r.a)(t);return Object(o.a)(e,36e5*n)}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(7),o=n(41),i=n(2);function a(e,t){Object(i.a)(2,arguments);var n=Object(r.a)(t),a=7*n;return Object(o.default)(e,a)}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(7),o=n(42),i=n(2);function a(e,t){Object(i.a)(2,arguments);var n=Object(r.a)(t);return Object(o.default)(e,12*n)}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return s}));var r=n(7),o=n(4),i=n(2);function a(e){Object(i.a)(1,arguments);var t=Object(o.default)(e),n=t.getFullYear(),r=t.getMonth(),a=new Date(0);return a.setFullYear(n,r+1,0),a.setHours(0,0,0,0),a.getDate()}function s(e,t){Object(i.a)(2,arguments);var n=Object(o.default)(e),s=Object(r.a)(t),l=n.getFullYear(),c=n.getDate(),u=new Date(0);u.setFullYear(l,s,15),u.setHours(0,0,0,0);var d=a(u);return n.setMonth(s,Math.min(c,d)),n}},function(e,t,n){"use strict";(function(e){
36
  /**!
37
  * @fileOverview Kickass library to create and place poppers near their reference elements.
38
  * @version 1.16.1
57
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
58
  * SOFTWARE.
59
  */
60
+ var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var o=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),r))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:l(s(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function h(e){return 11===e?u:10===e?d:u||d}function f(e){if(!e)return document.documentElement;for(var t=h(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?f(n):n:e?e.ownerDocument.documentElement:document.documentElement}function p(e){return null!==e.parentNode?p(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&f(a.firstElementChild)!==a?f(l):l;var c=p(e);return c.host?m(c.host,t):m(e,p(t).host)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(t,"top"),o=g(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function b(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function v(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],h(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function y(e){var t=e.body,n=e.documentElement,r=h(10)&&getComputedStyle(n);return{height:v("Height",t,n,r),width:v("Width",t,n,r)}}var w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},k=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),M=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function T(e){return x({},e,{right:e.left+e.width,bottom:e.top+e.height})}function E(e){var t={};try{if(h(10)){t=e.getBoundingClientRect();var n=g(e,"top"),r=g(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?y(e.ownerDocument):{},s=i.width||e.clientWidth||o.width,l=i.height||e.clientHeight||o.height,c=e.offsetWidth-s,u=e.offsetHeight-l;if(c||u){var d=a(e);c-=b(d,"x"),u-=b(d,"y"),o.width-=c,o.height-=u}return T(o)}function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=h(10),o="HTML"===t.nodeName,i=E(e),s=E(t),c=l(e),u=a(t),d=parseFloat(u.borderTopWidth),f=parseFloat(u.borderLeftWidth);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var p=T({top:i.top-s.top-d,left:i.left-s.left-f,width:i.width,height:i.height});if(p.marginTop=0,p.marginLeft=0,!r&&o){var m=parseFloat(u.marginTop),g=parseFloat(u.marginLeft);p.top-=d-m,p.bottom-=d-m,p.left-=f-g,p.right-=f-g,p.marginTop=m,p.marginLeft=g}return(r&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(p=_(p,t)),p}function D(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=S(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:g(n),s=t?0:g(n,"left"),l={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return T(l)}function L(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var n=s(e);return!!n&&L(n)}function C(e){if(!e||!e.parentElement||h())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function P(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?C(e):m(e,c(t));if("viewport"===r)i=D(a,o);else{var u=void 0;"scrollParent"===r?"BODY"===(u=l(s(t))).nodeName&&(u=e.ownerDocument.documentElement):u="window"===r?e.ownerDocument.documentElement:r;var d=S(u,a,o);if("HTML"!==u.nodeName||L(a))i=d;else{var h=y(e.ownerDocument),f=h.height,p=h.width;i.top+=d.top-d.marginTop,i.bottom=f+d.top,i.left+=d.left-d.marginLeft,i.right=p+d.left}}var g="number"==typeof(n=n||0);return i.left+=g?n:n.left||0,i.top+=g?n:n.top||0,i.right-=g?n:n.right||0,i.bottom-=g?n:n.bottom||0,i}function O(e){return e.width*e.height}function A(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=P(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return x({key:e},s[e],{area:O(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function N(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?C(t):m(t,c(n));return S(n,o,r)}function I(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function Y(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function R(e,t,n){n=n.split("-")[0];var r=I(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[s]=n===s?t[s]-r[c]:t[Y(s)],o}function j(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function F(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=j(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=T(t.offsets.popper),t.offsets.reference=T(t.offsets.reference),t=n(t,e))})),t}function H(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=N(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=A(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=R(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=F(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function z(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function B(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function V(){return this.state.isDestroyed=!0,z(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[B("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function U(e){var t=e.ownerDocument;return t?t.defaultView:window}function W(e,t,n,r){n.updateBound=r,U(e).addEventListener("resize",n.updateBound,{passive:!0});var o=l(e);return function e(t,n,r,o){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,r,{passive:!0}),i||e(l(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function q(){this.state.eventsEnabled||(this.state=W(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,U(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Q(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function J(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Q(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var K=n&&/Firefox/i.test(navigator.userAgent);function X(e,t,n){var r=j(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var $=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Z=$.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Z.indexOf(e),r=Z.slice(n+1).concat(Z.slice(0,n));return t?r.reverse():r}var te="flip",ne="clockwise",re="counterclockwise";function oe(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(j(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return T(s)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){Q(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var ie={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:M({},l,i[l]),end:M({},l,i[l]+i[c]-a[c])};e.offsets.popper=x({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],l=void 0;return l=Q(+n)?[+n,0]:oe(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||f(e.instance.popper);e.instance.reference===n&&(n=f(n));var r=B("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=P(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),M({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),M({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=x({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[c]),n[l]>i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!X(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,s=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",d=c?"Top":"Left",h=d.toLowerCase(),f=c?"left":"top",p=c?"bottom":"right",m=I(r)[u];l[p]-m<s[h]&&(e.offsets.popper[h]-=s[h]-(l[p]-m)),l[h]+m>s[p]&&(e.offsets.popper[h]+=l[h]+m-s[p]),e.offsets.popper=T(e.offsets.popper);var g=l[h]+l[u]/2-m/2,_=a(e.instance.popper),b=parseFloat(_["margin"+d]),v=parseFloat(_["border"+d+"Width"]),y=g-e.offsets.popper[h]-b-v;return y=Math.max(Math.min(s[u]-m,y),0),e.arrowElement=r,e.offsets.arrow=(M(n={},h,Math.round(y)),M(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(z(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=P(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=Y(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te:a=[r,o];break;case ne:a=ee(r);break;case re:a=ee(r,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],o=Y(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,h="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),p=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),_="left"===r&&f||"right"===r&&p||"top"===r&&m||"bottom"===r&&g,b=-1!==["top","bottom"].indexOf(r),v=!!t.flipVariations&&(b&&"start"===i&&f||b&&"end"===i&&p||!b&&"start"===i&&m||!b&&"end"===i&&g),y=!!t.flipVariationsByContent&&(b&&"start"===i&&p||b&&"end"===i&&f||!b&&"start"===i&&g||!b&&"end"===i&&m),w=v||y;(h||_||w)&&(e.flipped=!0,(h||_)&&(r=a[l+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=x({},e.offsets.popper,R(e.instance.popper,e.offsets.reference,e.placement)),e=F(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=Y(t),e.offsets.popper=T(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!X(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=j(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=j(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=f(e.instance.popper),l=E(s),c={position:o.position},u=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(o.width),c=i(r.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),h=t?u||d||l%2==c%2?i:a:s,f=t?i:s;return{left:h(l%2==1&&c%2==1&&!d&&t?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:h(r.right)}}(e,window.devicePixelRatio<2||!K),d="bottom"===n?"top":"bottom",h="right"===r?"left":"right",p=B("transform"),m=void 0,g=void 0;if(g="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===h?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&p)c[p]="translate3d("+m+"px, "+g+"px, 0)",c[d]=0,c[h]=0,c.willChange="transform";else{var _="bottom"===d?-1:1,b="right"===h?-1:1;c[d]=g*_,c[h]=m*b,c.willChange=d+", "+h}var v={"x-placement":e.placement};return e.attributes=x({},v,e.attributes),e.styles=x({},c,e.styles),e.arrowStyles=x({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return J(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&J(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=N(o,t,e,n.positionFixed),a=A(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),J(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ae=function(){function e(t,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=x({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(x({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){r.options.modifiers[t]=x({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return x({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return k(e,[{key:"update",value:function(){return H.call(this)}},{key:"destroy",value:function(){return V.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),e}();ae.Utils=("undefined"!=typeof window?window:e).PopperUtils,ae.placements=$,ae.Defaults=ie,t.a=ae}).call(this,n(35))},function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(0)),o=i(n(352));function i(e){return e&&e.__esModule?e:{default:e}}t.default=r.default.createContext||o.default,e.exports=t.default},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return y})),n.d(t,"a",(function(){return w}));var r=n(0),o=n.n(r),i=n(16),a=n.n(i),s=n(31),l=n.n(s),c=n(33),u=n.n(c),d=n(252),h=n.n(d),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function p(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function _(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var b=void 0!==e&&e.env&&"production",v=function(e){function t(){m(this,t);var n=g(this,e.call(this));return n.handleOnClick=function(e){var t=n.chartInstance,r=n.props,o=r.getDatasetAtEvent,i=r.getElementAtEvent,a=r.getElementsAtEvent,s=r.onElementsClick;o&&o(t.getDatasetAtEvent(e),e),i&&i(t.getElementAtEvent(e),e),a&&a(t.getElementsAtEvent(e),e),s&&s(t.getElementsAtEvent(e),e)},n.ref=function(e){n.element=e},n.chartInstance=void 0,n}return _(t,e),t.prototype.componentDidMount=function(){this.renderChart()},t.prototype.componentDidUpdate=function(){if(this.props.redraw)return this.destroyChart(),void this.renderChart();this.updateChart()},t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=(t.redraw,t.type),r=t.options,o=t.plugins,i=t.legend,a=t.height,s=t.width;if(!0===e.redraw)return!0;if(a!==e.height||s!==e.width)return!0;if(n!==e.type)return!0;if(!u()(i,e.legend))return!0;if(!u()(r,e.options))return!0;var l=this.transformDataProp(e);return!u()(this.shadowDataProp,l)||!u()(o,e.plugins)},t.prototype.componentWillUnmount=function(){this.destroyChart()},t.prototype.transformDataProp=function(e){var t=e.data;return"function"==typeof t?t(this.element):t},t.prototype.memoizeDataProps=function(){if(this.props.data){var e=this.transformDataProp(this.props);return this.shadowDataProp=f({},e,{datasets:e.datasets&&e.datasets.map((function(e){return f({},e)}))}),this.saveCurrentDatasets(),e}},t.prototype.checkDatasets=function(e){var n="production"!==b&&"prod"!==b,r=this.props.datasetKeyProvider!==t.getLabelAsKey,o=e.length>1;if(n&&o&&!r){var i=!1;e.forEach((function(e){e.label||(i=!0)})),i&&console.error('[react-chartjs-2] Warning: Each dataset needs a unique key. By default, the "label" property on each dataset is used. Alternatively, you may provide a "datasetKeyProvider" as a prop that returns a unique key.')}},t.prototype.getCurrentDatasets=function(){return this.chartInstance&&this.chartInstance.config.data&&this.chartInstance.config.data.datasets||[]},t.prototype.saveCurrentDatasets=function(){var e=this;this.datasets=this.datasets||{},this.getCurrentDatasets().forEach((function(t){e.datasets[e.props.datasetKeyProvider(t)]=t}))},t.prototype.updateChart=function(){var e=this,t=this.props.options,n=this.memoizeDataProps(this.props);if(this.chartInstance){t&&(this.chartInstance.options=l.a.helpers.configMerge(this.chartInstance.options,t));var r=this.getCurrentDatasets(),o=n.datasets||[];this.checkDatasets(r);var i=h()(r,this.props.datasetKeyProvider);this.chartInstance.config.data.datasets=o.map((function(t){var n=i[e.props.datasetKeyProvider(t)];if(n&&n.type===t.type&&t.data){n.data.splice(t.data.length),t.data.forEach((function(e,r){n.data[r]=t.data[r]}));t.data;var r=p(t,["data"]);return f({},n,r)}return t}));n.datasets;var a=p(n,["datasets"]);this.chartInstance.config.data=f({},this.chartInstance.config.data,a),this.chartInstance.update()}},t.prototype.renderChart=function(){var e=this.props,n=e.options,r=e.legend,o=e.type,i=e.plugins,a=this.element,s=this.memoizeDataProps();void 0===r||u()(t.defaultProps.legend,r)||(n.legend=r),this.chartInstance=new l.a(a,{type:o,data:s,options:n,plugins:i})},t.prototype.destroyChart=function(){if(this.chartInstance){this.saveCurrentDatasets();var e=Object.values(this.datasets);this.chartInstance.config.data.datasets=e,this.chartInstance.destroy()}},t.prototype.render=function(){var e=this.props,t=e.height,n=e.width,r=e.id;return o.a.createElement("canvas",{ref:this.ref,height:t,width:n,id:r,onClick:this.handleOnClick})},t}(o.a.Component);v.getLabelAsKey=function(e){return e.label},v.propTypes={data:a.a.oneOfType([a.a.object,a.a.func]).isRequired,getDatasetAtEvent:a.a.func,getElementAtEvent:a.a.func,getElementsAtEvent:a.a.func,height:a.a.number,legend:a.a.object,onElementsClick:a.a.func,options:a.a.object,plugins:a.a.arrayOf(a.a.object),redraw:a.a.bool,type:function(e,t,n){if(!l.a.controllers[e[t]])return new Error("Invalid chart type `"+e[t]+"` supplied to `"+n+"`.")},width:a.a.number,datasetKeyProvider:a.a.func},v.defaultProps={legend:{display:!0,position:"bottom"},type:"doughnut",height:150,width:300,redraw:!1,options:{},datasetKeyProvider:v.getLabelAsKey};(function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}_(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"doughnut"}))}})(o.a.Component),function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}_(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"pie"}))}}(o.a.Component);var y=function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}return _(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"line"}))},t}(o.a.Component),w=function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}return _(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bar"}))},t}(o.a.Component);(function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}_(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"horizontalBar"}))}})(o.a.Component),function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}_(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"radar"}))}}(o.a.Component),function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}_(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"polarArea"}))}}(o.a.Component),function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}_(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bubble"}))}}(o.a.Component),function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}_(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(v,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"scatter"}))}}(o.a.Component),l.a.defaults}).call(this,n(84))},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,c=[],u=!1,d=-1;function h(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&f())}function f(){if(!u){var e=s(h);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new p(e,t)),1!==c.length||u||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(17),o=n(265),i=n(267),a=n(268),s=n(269),l=n(86);e.exports=function(e){return new Promise((function(t,c){var u=e.data,d=e.headers;r.isFormData(u)&&delete d["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",p=e.auth.password||"";d.Authorization="Basic "+btoa(f+":"+p)}if(h.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?a(h.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};o(t,c,r),h=null}},h.onerror=function(){c(l("Network Error",e,null,h)),h=null},h.ontimeout=function(){c(l("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var m=n(270),g=(e.withCredentials||s(e.url))&&e.xsrfCookieName?m.read(e.xsrfCookieName):void 0;g&&(d[e.xsrfHeaderName]=g)}if("setRequestHeader"in h&&r.forEach(d,(function(e,t){void 0===u&&"content-type"===t.toLowerCase()?delete d[t]:h.setRequestHeader(t,e)})),e.withCredentials&&(h.withCredentials=!0),e.responseType)try{h.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),c(e),h=null)})),void 0===u&&(u=null),h.send(u)}))}},function(e,t,n){"use strict";var r=n(266);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var l=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",(function(){return a})),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";t.__esModule=!0,t.Flip=t.Zoom=t.Slide=t.Bounce=void 0;var r,o=(r=n(91))&&r.__esModule?r:{default:r};var i=(0,o.default)({enter:"Toastify__bounce-enter",exit:"Toastify__bounce-exit",appendPosition:!0});t.Bounce=i;var a=(0,o.default)({enter:"Toastify__slide-enter",exit:"Toastify__slide-exit",duration:[450,750],appendPosition:!0});t.Slide=a;var s=(0,o.default)({enter:"Toastify__zoom-enter",exit:"Toastify__zoom-exit"});t.Zoom=s;var l=(0,o.default)({enter:"Toastify__flip-enter",exit:"Toastify__flip-exit"});t.Flip=l},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=e.enter,n=e.exit,i=e.duration,l=void 0===i?750:i,c=e.appendPosition,u=void 0!==c&&c;return function(e){var i,c,d=e.children,h=e.position,f=e.preventExitTransition,p=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["children","position","preventExitTransition"]),m=u?t+"--"+h:t,g=u?n+"--"+h:n;Array.isArray(l)&&2===l.length?(i=l[0],c=l[1]):i=c=l;return r.default.createElement(o.default,a({},p,{timeout:f?0:{enter:i,exit:c},onEnter:function(e){e.classList.add(m),e.style.animationFillMode="forwards",e.style.animationDuration=.001*i+"s"},onEntered:function(e){e.classList.remove(m),e.style.cssText=""},onExit:f?s:function(e){e.classList.add(g),e.style.animationFillMode="forwards",e.style.animationDuration=.001*c+"s"}}),d)}};var r=i(n(0)),o=i(n(286));function i(e){return e&&e.__esModule?e:{default:e}}function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var s=function(){}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r={list:new Map,on:function(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off:function(e){return this.list.delete(e),this},emit:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return!!this.list.has(e)&&(this.list.get(e).forEach((function(e){return setTimeout((function(){return e.call.apply(e,[null].concat(n))}),0)})),!0)}};t.default=r},function(e,t,n){var r=n(292);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(294)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){!function(e){"use strict";
61
  //! moment.js locale configuration
62
  e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
63
  //! moment.js locale configuration
64
  var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},o={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,n,i,a){var s=r(t),l=o[e][r(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(3))},function(e,t,n){!function(e){"use strict";
65
  //! moment.js locale configuration
66
+ var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(r,o,i,a){var s=t(r),l=n[e][t(r)];return 2===s&&(l=l[o?0:1]),l.replace(/%d/i,r)}},o=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-dz",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
67
  //! moment.js locale configuration
68
  e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(3))},function(e,t,n){!function(e){"use strict";
69
  //! moment.js locale configuration
87
  //! moment.js locale configuration
88
  var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
89
  //! moment.js locale configuration
90
+ function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}var n=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],r=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,o=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:o,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:o,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n(3))},function(e,t,n){!function(e){"use strict";
91
  //! moment.js locale configuration
92
  function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
93
  //! moment.js locale configuration
111
  //! moment.js locale configuration
112
  e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,r=this._calendarEl[e],o=t&&t.hours();return n=r,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(t)),r.replace("{}",o%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
113
  //! moment.js locale configuration
114
+ e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
115
  //! moment.js locale configuration
116
  e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(3))},function(e,t,n){!function(e){"use strict";
117
  //! moment.js locale configuration
121
  //! moment.js locale configuration
122
  e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(3))},function(e,t,n){!function(e){"use strict";
123
  //! moment.js locale configuration
124
+ e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
125
  //! moment.js locale configuration
126
  e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
127
  //! moment.js locale configuration
177
  //! moment.js locale configuration
178
  e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
179
  //! moment.js locale configuration
180
+ e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
181
  //! moment.js locale configuration
182
  function t(e){return e%100==11||e%10!=1}function n(e,n,r,o){var i=e+" ";switch(r){case"s":return n||o?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?i+(n||o?"sekúndur":"sekúndum"):i+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?i+(n||o?"mínútur":"mínútum"):n?i+"mínúta":i+"mínútu";case"hh":return t(e)?i+(n||o?"klukkustundir":"klukkustundum"):i+"klukkustund";case"d":return n?"dagur":o?"dag":"degi";case"dd":return t(e)?n?i+"dagar":i+(o?"daga":"dögum"):n?i+"dagur":i+(o?"dag":"degi");case"M":return n?"mánuður":o?"mánuð":"mánuði";case"MM":return t(e)?n?i+"mánuðir":i+(o?"mánuði":"mánuðum"):n?i+"mánuður":i+(o?"mánuð":"mánuði");case"y":return n||o?"ár":"ári";case"yy":return t(e)?i+(n||o?"ár":"árum"):i+(n||o?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
183
  //! moment.js locale configuration
253
  //! moment.js locale configuration
254
  function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
255
  //! moment.js locale configuration
256
+ function t(e,t,n){var r,o;return"m"===n?t?"минута":"минуту":e+" "+(r=+e,o={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),r%10==1&&r%100!=11?o[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?o[1]:o[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
257
  //! moment.js locale configuration
258
  var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
259
  //! moment.js locale configuration
275
  //! moment.js locale configuration
276
  e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
277
  //! moment.js locale configuration
278
+ e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
279
  //! moment.js locale configuration
280
  var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
281
  //! moment.js locale configuration
291
  //! moment.js locale configuration
292
  var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,r,o){var i=function(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),o=e%10,i="";return n>0&&(i+=t[n]+"vatlh"),r>0&&(i+=(""!==i?" ":"")+t[r]+"maH"),o>0&&(i+=(""!==i?" ":"")+t[o]),""===i?"pagh":i}(e);switch(r){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
293
  //! moment.js locale configuration
294
+ var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10;return e+(t[r]||t[e%100-r]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
295
  //! moment.js locale configuration
296
  function t(e,t,n,r){var o={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?o[n][0]:o[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
297
  //! moment.js locale configuration
315
  //! moment.js locale configuration
316
  e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
317
  //! moment.js locale configuration
318
+ e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
319
  //! moment.js locale configuration
320
  e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(3))},function(e,t,n){!function(e){"use strict";
321
  //! moment.js locale configuration
322
  e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(3))},function(e,t,n){!function(e){"use strict";
323
  //! moment.js locale configuration