Contact Form 7 Skins - Version 2.5.3

Version Description

  • 2022-04-20 =

TWEAK: Dont use variables or defines as text domain shortcuts

Download this release

Release Info

Developer buzztone
Plugin Icon 128x128 Contact Form 7 Skins
Version 2.5.3
Comparing to
See all releases

Code changes from version 2.5.2 to 2.5.3

includes/admin-notice.php CHANGED
@@ -83,12 +83,12 @@ class CF7_Skins_Admin_Notice {
83
  ?>
84
  <div id="cf7skins-update-notice" class="notice notice-success is-dismissible">
85
  <img class="logo" src="<?php echo CF7SKINS_URL . 'images/cf7skins-icon-128x128.png'; ?>" alt="" />
86
- <h3><?php _e( 'Introducing our new drag & drop Visual Editor for Contact Form 7 forms.', CF7SKINS_TEXTDOMAIN ); ?></h3>
87
  <p>
88
- <?php _e( 'Fast, easy form creation on the new CF7 Skins Form tab. Try it out on a new form.', CF7SKINS_TEXTDOMAIN ); ?>
89
  <br />
90
- <a href="http://kb.cf7skins.com/cf7-skins-visual-editor-tour/?utm_source=plugin&utm_medium=link&utm_campaign=update-notice"><?php _e( 'Take a tour', CF7SKINS_TEXTDOMAIN ); ?></a> –
91
- <a href="http://kb.cf7skins.com/edit-cf7-skins-form-visual-editor/?utm_source=plugin&utm_medium=link&utm_campaign=update-notice"><?php _e( 'Visit our documentation', CF7SKINS_TEXTDOMAIN ); ?></a>
92
  </p>
93
  </div>
94
  <?php
@@ -104,13 +104,13 @@ class CF7_Skins_Admin_Notice {
104
  if ( ! class_exists( 'DOMDocument' ) ) {
105
  ?>
106
  <div class="notice notice-error">
107
- <h3><?php _e( 'Contact Form 7 Skins', CF7SKINS_TEXTDOMAIN ); ?></h3>
108
  <p>
109
- <?php _e( 'Your server does not have PHP DOM or disabled it.', CF7SKINS_TEXTDOMAIN ); ?>
110
  <br />
111
- <?php _e( 'Please ask your server provider to install or enable it to be able to use this plugin.', CF7SKINS_TEXTDOMAIN ); ?>
112
  <br />
113
- <a href="https://www.php.net/manual/en/dom.setup.php" target="_blank"><?php _e( 'Read this documentation for installing DOM extension.', CF7SKINS_TEXTDOMAIN ); ?></a>
114
  </p>
115
  </div>
116
  <?php
83
  ?>
84
  <div id="cf7skins-update-notice" class="notice notice-success is-dismissible">
85
  <img class="logo" src="<?php echo CF7SKINS_URL . 'images/cf7skins-icon-128x128.png'; ?>" alt="" />
86
+ <h3><?php _e( 'Introducing our new drag & drop Visual Editor for Contact Form 7 forms.', 'contact-form-7-skins' ); ?></h3>
87
  <p>
88
+ <?php _e( 'Fast, easy form creation on the new CF7 Skins Form tab. Try it out on a new form.', 'contact-form-7-skins' ); ?>
89
  <br />
90
+ <a href="http://kb.cf7skins.com/cf7-skins-visual-editor-tour/?utm_source=plugin&utm_medium=link&utm_campaign=update-notice"><?php _e( 'Take a tour', 'contact-form-7-skins' ); ?></a> –
91
+ <a href="http://kb.cf7skins.com/edit-cf7-skins-form-visual-editor/?utm_source=plugin&utm_medium=link&utm_campaign=update-notice"><?php _e( 'Visit our documentation', 'contact-form-7-skins' ); ?></a>
92
  </p>
93
  </div>
94
  <?php
104
  if ( ! class_exists( 'DOMDocument' ) ) {
105
  ?>
106
  <div class="notice notice-error">
107
+ <h3><?php _e( 'Contact Form 7 Skins', 'contact-form-7-skins' ); ?></h3>
108
  <p>
109
+ <?php _e( 'Your server does not have PHP DOM or disabled it.', 'contact-form-7-skins' ); ?>
110
  <br />
111
+ <?php _e( 'Please ask your server provider to install or enable it to be able to use this plugin.', 'contact-form-7-skins' ); ?>
112
  <br />
113
+ <a href="https://www.php.net/manual/en/dom.setup.php" target="_blank"><?php _e( 'Read this documentation for installing DOM extension.', 'contact-form-7-skins' ); ?></a>
114
  </p>
115
  </div>
116
  <?php
includes/admin-visual.php CHANGED
@@ -11,7 +11,6 @@
11
  Class CF7_Skins_Admin_Visual {
12
 
13
  var $dom;
14
- var $textdomain;
15
  var $form_id; // @since 2.3.0
16
 
17
  /**
@@ -28,7 +27,6 @@ Class CF7_Skins_Admin_Visual {
28
  }
29
 
30
  $this->nonce = CF7SKINS_OPTIONS;
31
- $this->textdomain = CF7SKINS_TEXTDOMAIN;
32
  $this->version = CF7SKINS_VERSION;
33
  $this->url = CF7SKINS_URL;
34
  $this->path = CF7SKINS_PATH; // @since 2.3.0
@@ -62,9 +60,9 @@ Class CF7_Skins_Admin_Visual {
62
  return array ( 'visual' => array(
63
  'name' => 'visual',
64
  'order' => 1,
65
- 'label' => __( 'Form', $this->textdomain ),
66
- 'note' => __( 'Drag and drop fields up and down to re-order them. Any field content can be changed by clicking Edit on the field. Click Save Visual to update your Contact Form 7 form.', $this->textdomain ),
67
- 'help' => __( 'Create a new form by selecting a template. Or, build your own. Drag and drop fields into the visual form editor from the Fields section. Edit, duplicate, or delete a field using the field’s icons.', $this->textdomain )
68
  ) ) + $tabs;
69
  }
70
 
@@ -946,18 +944,18 @@ JS;
946
  function setting_fields( $fields ) {
947
  $fields['show_copy_paste'] = array( // @ since 2.1
948
  'section' => 'advanced',
949
- 'label' => __( 'Visual Data', $this->textdomain ),
950
  'type' => 'checkbox',
951
  'default' => false,
952
- 'detail' => __( 'Enable copy & paste of visual data.', $this->textdomain ),
953
  );
954
 
955
  $fields['show_name'] = array(
956
  'section' => 'advanced',
957
- 'label' => __( 'Show Field Names', $this->textdomain ),
958
  'type' => 'checkbox',
959
  'default' => false,
960
- 'detail' => __( 'Show field names on each form field.', $this->textdomain ),
961
  );
962
 
963
  return $fields;
11
  Class CF7_Skins_Admin_Visual {
12
 
13
  var $dom;
 
14
  var $form_id; // @since 2.3.0
15
 
16
  /**
27
  }
28
 
29
  $this->nonce = CF7SKINS_OPTIONS;
 
30
  $this->version = CF7SKINS_VERSION;
31
  $this->url = CF7SKINS_URL;
32
  $this->path = CF7SKINS_PATH; // @since 2.3.0
60
  return array ( 'visual' => array(
61
  'name' => 'visual',
62
  'order' => 1,
63
+ 'label' => __( 'Form', 'contact-form-7-skins' ),
64
+ 'note' => __( 'Drag and drop fields up and down to re-order them. Any field content can be changed by clicking Edit on the field. Click Save Visual to update your Contact Form 7 form.', 'contact-form-7-skins' ),
65
+ 'help' => __( 'Create a new form by selecting a template. Or, build your own. Drag and drop fields into the visual form editor from the Fields section. Edit, duplicate, or delete a field using the field’s icons.', 'contact-form-7-skins' )
66
  ) ) + $tabs;
67
  }
68
 
944
  function setting_fields( $fields ) {
945
  $fields['show_copy_paste'] = array( // @ since 2.1
946
  'section' => 'advanced',
947
+ 'label' => __( 'Visual Data', 'contact-form-7-skins' ),
948
  'type' => 'checkbox',
949
  'default' => false,
950
+ 'detail' => __( 'Enable copy & paste of visual data.', 'contact-form-7-skins' ),
951
  );
952
 
953
  $fields['show_name'] = array(
954
  'section' => 'advanced',
955
+ 'label' => __( 'Show Field Names', 'contact-form-7-skins' ),
956
  'type' => 'checkbox',
957
  'default' => false,
958
+ 'detail' => __( 'Show field names on each form field.', 'contact-form-7-skins' ),
959
  );
960
 
961
  return $fields;
includes/admin.php CHANGED
@@ -180,14 +180,14 @@ class CF7_Skins_Admin {
180
  'load' => 'load_template', // post action for reading and loading selected template
181
  'sort' => 'cf7s_sort_skin', // post action for sorting skin
182
  'l10n' => array(
183
- 'loading' => __('Loading template...', CF7SKINS_TEXTDOMAIN ),
184
- 'emptyfilter' => __('Empty filter, please select a filter.', CF7SKINS_TEXTDOMAIN ),
185
- 'select' => __('Select', CF7SKINS_TEXTDOMAIN ),
186
- 'selected' => __('Selected', CF7SKINS_TEXTDOMAIN ),
187
- 'deselect' => __('Deselect', CF7SKINS_TEXTDOMAIN ),
188
- 'expanded' => __('Expanded View', CF7SKINS_TEXTDOMAIN ),
189
- 'deselect_style' => __('Click to remove this Style from your form.', CF7SKINS_TEXTDOMAIN ),
190
- 'deselect_template' => __('Click to remove this Template from your form.', CF7SKINS_TEXTDOMAIN ),
191
  )
192
  ));
193
 
@@ -205,7 +205,7 @@ class CF7_Skins_Admin {
205
  * @since 0.1.0
206
  */
207
  function add_meta_boxes( $post_id ) {
208
- add_meta_box( 'cf7s', __( 'Skins', CF7SKINS_TEXTDOMAIN ),
209
  array( &$this, 'skins_meta_box' ), null, 'mail', 'core' );
210
  }
211
 
@@ -234,8 +234,8 @@ class CF7_Skins_Admin {
234
  echo '<div class="wrap">';
235
  echo '<div id="cf7skins-42" class="cf7skins-metabox postbox '. esc_attr( $postbox_class ) .'">';
236
  echo '<input type="hidden" value="'. esc_attr( $postbox_class ) .'" class="cf7skins-42 cf7s-postbox" name="cf7s-postbox['. CF7SKINS_OPTIONS .']" />'; // postbox expand/collapse
237
- echo '<div title="'. __('Click to toggle', CF7SKINS_TEXTDOMAIN ) .'" class="handlediv"><br></div>';
238
- echo '<h3 class="hndle"><span>'. __('Skins', CF7SKINS_TEXTDOMAIN ) .'</span></h3>';
239
  echo '<div class="inside">';
240
  echo '<div id="cf7s" class="cf7-42">';
241
  $this->generate_tab( $cf7, null ); // in tab.php
@@ -271,10 +271,10 @@ class CF7_Skins_Admin {
271
  <div class="meta-box-sortables">
272
  <div id="cf7skins-metabox" class="cf7skins-metabox postbox">
273
  <div class="postbox-header">
274
- <h2 class="hndle ui-sortable-handle"><?php _e( 'Skins', CF7SKINS_TEXTDOMAIN ); ?></h2>
275
  <div class="handle-actions hide-if-no-js">
276
  <button type="button" class="handlediv" aria-expanded="true">
277
- <span class="screen-reader-text"><?php _e( 'Toggle panel', CF7SKINS_TEXTDOMAIN ); ?></span>
278
  <span class="toggle-indicator" aria-hidden="true"></span>
279
  </button>
280
  </div>
180
  'load' => 'load_template', // post action for reading and loading selected template
181
  'sort' => 'cf7s_sort_skin', // post action for sorting skin
182
  'l10n' => array(
183
+ 'loading' => __('Loading template...', 'contact-form-7-skins' ),
184
+ 'emptyfilter' => __('Empty filter, please select a filter.', 'contact-form-7-skins' ),
185
+ 'select' => __('Select', 'contact-form-7-skins' ),
186
+ 'selected' => __('Selected', 'contact-form-7-skins' ),
187
+ 'deselect' => __('Deselect', 'contact-form-7-skins' ),
188
+ 'expanded' => __('Expanded View', 'contact-form-7-skins' ),
189
+ 'deselect_style' => __('Click to remove this Style from your form.', 'contact-form-7-skins' ),
190
+ 'deselect_template' => __('Click to remove this Template from your form.', 'contact-form-7-skins' ),
191
  )
192
  ));
193
 
205
  * @since 0.1.0
206
  */
207
  function add_meta_boxes( $post_id ) {
208
+ add_meta_box( 'cf7s', __( 'Skins', 'contact-form-7-skins' ),
209
  array( &$this, 'skins_meta_box' ), null, 'mail', 'core' );
210
  }
211
 
234
  echo '<div class="wrap">';
235
  echo '<div id="cf7skins-42" class="cf7skins-metabox postbox '. esc_attr( $postbox_class ) .'">';
236
  echo '<input type="hidden" value="'. esc_attr( $postbox_class ) .'" class="cf7skins-42 cf7s-postbox" name="cf7s-postbox['. CF7SKINS_OPTIONS .']" />'; // postbox expand/collapse
237
+ echo '<div title="'. __('Click to toggle', 'contact-form-7-skins' ) .'" class="handlediv"><br></div>';
238
+ echo '<h3 class="hndle"><span>'. __('Skins', 'contact-form-7-skins' ) .'</span></h3>';
239
  echo '<div class="inside">';
240
  echo '<div id="cf7s" class="cf7-42">';
241
  $this->generate_tab( $cf7, null ); // in tab.php
271
  <div class="meta-box-sortables">
272
  <div id="cf7skins-metabox" class="cf7skins-metabox postbox">
273
  <div class="postbox-header">
274
+ <h2 class="hndle ui-sortable-handle"><?php _e( 'Skins', 'contact-form-7-skins' ); ?></h2>
275
  <div class="handle-actions hide-if-no-js">
276
  <button type="button" class="handlediv" aria-expanded="true">
277
+ <span class="screen-reader-text"><?php _e( 'Toggle panel', 'contact-form-7-skins' ); ?></span>
278
  <span class="toggle-indicator" aria-hidden="true"></span>
279
  </button>
280
  </div>
includes/export.php CHANGED
@@ -17,16 +17,13 @@
17
 
18
  class CF7_Skins_Export {
19
 
20
- var $textdomain;
21
-
22
  /**
23
  * Class constructor
24
  *
25
  * @since 2.1.3
26
  */
27
  function __construct() {
28
- $this->textdomain = CF7SKINS_TEXTDOMAIN;
29
-
30
  add_action( 'wpcf7_admin_misc_pub_section', array( $this, 'export_button' ), 1, 1 );
31
  add_action( 'wpcf7_admin_init', array( $this, 'export_wxr' ) );
32
 
@@ -52,8 +49,8 @@ class CF7_Skins_Export {
52
  ?>
53
  <div style="padding:0 10px 10px 10px; text-align:right">
54
  <input type="submit" name="cf7skins-export"
55
- title="<?php esc_attr_e( 'Export this form and data to WXR format.', $this->textdomain ); ?>"
56
- class="button" value="<?php esc_attr_e( 'Export Form', $this->textdomain ); ?>"
57
  onclick="this.form.action.value = 'export'; return true;"
58
  />
59
  </div>
17
 
18
  class CF7_Skins_Export {
19
 
 
 
20
  /**
21
  * Class constructor
22
  *
23
  * @since 2.1.3
24
  */
25
  function __construct() {
26
+
 
27
  add_action( 'wpcf7_admin_misc_pub_section', array( $this, 'export_button' ), 1, 1 );
28
  add_action( 'wpcf7_admin_init', array( $this, 'export_wxr' ) );
29
 
49
  ?>
50
  <div style="padding:0 10px 10px 10px; text-align:right">
51
  <input type="submit" name="cf7skins-export"
52
+ title="<?php esc_attr_e( 'Export this form and data to WXR format.', 'contact-form-7-skins' ); ?>"
53
+ class="button" value="<?php esc_attr_e( 'Export Form', 'contact-form-7-skins' ); ?>"
54
  onclick="this.form.action.value = 'export'; return true;"
55
  />
56
  </div>
includes/front-visual.php CHANGED
@@ -7,7 +7,6 @@
7
  Class CF7_Skins_Front_Visual {
8
 
9
  var $form_id; // CF7 form ID
10
- var $textdomain; // translation
11
 
12
  /**
13
  * Sets properties and hooks.
7
  Class CF7_Skins_Front_Visual {
8
 
9
  var $form_id; // CF7 form ID
 
10
 
11
  /**
12
  * Sets properties and hooks.
includes/getting-started.php CHANGED
@@ -8,203 +8,203 @@
8
  */
9
  ?>
10
  <div class="cf7s-info">
11
- <h2><?php _e( 'Quick Start Guide', CF7SKINS_TEXTDOMAIN ); ?></h2>
12
 
13
- <p><?php _e( 'To get started using <strong>CF7 Skins</strong>:', CF7SKINS_TEXTDOMAIN ); ?></p>
14
 
15
  <ul>
16
  <li>
17
- <?php _e( 'Click on <strong>Contact</strong> in the WordPress admin menu.', CF7SKINS_TEXTDOMAIN ); ?>
18
  </li>
19
  <li>
20
- <?php _e( 'Select an existing Contact Form 7 form or create a new one.', CF7SKINS_TEXTDOMAIN ); ?>
21
  </li>
22
  <li>
23
- <?php _e( 'Scroll down to the <strong>Skins</strong> section.', CF7SKINS_TEXTDOMAIN ); ?>
24
  </li>
25
  </ul>
26
 
27
- <h3><?php _e( 'Using CF7 Skins', CF7SKINS_TEXTDOMAIN ); ?></h3>
28
 
29
- <p>1. <a href="http://cf7skins.com/visual-editor/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _ex('CF7 Skins','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?><?php _e( ' Visual Editor', CF7SKINS_TEXTDOMAIN ); ?></strong></a><?php _e( ' – where you edit and build your form.', CF7SKINS_TEXTDOMAIN ); ?></p>
30
 
31
- <p><img src="<?php echo CF7SKINS_URL; ?>images/cf7skins-visual-ui.png" alt="CF7 Skins Visual Editor UI" width="600" height="449" class="alignright" /><em><?php _e( 'Start with a CF7 Skins Template.', CF7SKINS_TEXTDOMAIN ); ?> </em></p>
32
 
33
  <ul>
34
  <li>
35
- <?php _e( 'Select a <strong>Template</strong> to add it to the <strong>Form</strong> tab.', CF7SKINS_TEXTDOMAIN ); ?>
36
  </li>
37
  <li>
38
- <?php _e( 'The <strong>Form</strong> tab is where you build your form.', CF7SKINS_TEXTDOMAIN ); ?>
39
  </li>
40
  </ul>
41
 
42
- <p><em><?php _e( 'Add fields and arrange them using drag and drop.', CF7SKINS_TEXTDOMAIN ); ?> </em></p>
43
 
44
  <ul>
45
  <li>
46
- <?php _e( '<strong>Drag-and-drop</strong> new fields onto your form.', CF7SKINS_TEXTDOMAIN ); ?>
47
  </li>
48
  <li>
49
- <?php _e( 'Rearrange fields into the correct position.', CF7SKINS_TEXTDOMAIN ); ?>
50
  </li>
51
  </ul>
52
 
53
- <p><em><?php _e( 'Edit the form to match your requirements.', CF7SKINS_TEXTDOMAIN ); ?> </em></p>
54
 
55
  <ul>
56
  <li>
57
- <?php _e( 'Click <strong>Edit</strong>, <strong>Duplicate</strong> & <strong>Delete</strong> to adjust fields.', CF7SKINS_TEXTDOMAIN ); ?>
58
  </li>
59
  <li>
60
- <?php _e( 'Add <strong>CF7 Tag</strong> options in the <strong>Edit</strong> dialog.', CF7SKINS_TEXTDOMAIN ); ?>
61
  </li>
62
  </ul>
63
 
64
- <p><em><?php _e( 'Review & save your Form.', CF7SKINS_TEXTDOMAIN ); ?> </em></p>
65
 
66
  <ul>
67
  <li>
68
- <?php _e( '<strong>Duplicate</strong> groups of fields to speed form creation.', CF7SKINS_TEXTDOMAIN ); ?>
69
  </li>
70
  <li>
71
- <?php _e( 'Click <strong>Save Visual</strong> - your changes are added in the <strong>CF7 Form</strong> tab.', CF7SKINS_TEXTDOMAIN ); ?>
72
  </li>
73
  </ul>
74
 
75
- <p><a class="cf7s-btn" target="_blank" href="http://kb.cf7skins.com/category/visual-editor/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _e( 'Learn More', CF7SKINS_TEXTDOMAIN ); ?></a></p>
76
 
77
  <div class="wp-clearfix"></div>
78
 
79
- <p>2. <a href="http://cf7skins.com/templates/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _e( ' Templates', CF7SKINS_TEXTDOMAIN ); ?></strong></a><?php _e( ' – give you a starting point for your form.', CF7SKINS_TEXTDOMAIN ); ?></p>
80
 
81
 
82
- <p><img src="<?php echo CF7SKINS_URL; ?>images/cf7skins-templates.png" alt="CF7 Skins Templates" width="600" height="238" class="alignright" /><em><?php _e( 'Each <strong>Template</strong> acts as an easy to follow guide, which can be adapted to your particular requirements.', CF7SKINS_TEXTDOMAIN ); ?></em></p>
83
 
84
  <ul>
85
  <li>
86
- <?php _e( 'The <strong>Template</strong> tab displays the available templates.', CF7SKINS_TEXTDOMAIN ); ?>
87
  </li>
88
  <li>
89
- <?php _e( 'Click <strong>Select</strong> to add this template in the <strong>Form</strong> tab.', CF7SKINS_TEXTDOMAIN ); ?>
90
  </li>
91
  <li>
92
- <?php _e( 'Then use the <strong>Visual Editor</strong> to adjust the form to your requirements.', CF7SKINS_TEXTDOMAIN ); ?>
93
  </li>
94
  </ul>
95
 
96
- <p><a class="cf7s-btn" target="_blank" href="http://kb.cf7skins.com/category/templates/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _e( 'Learn More', CF7SKINS_TEXTDOMAIN ); ?></a></p>
97
 
98
  <div class="wp-clearfix"></div>
99
 
100
- <p>3. <a href="http://cf7skins.com/styles/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _e( ' Styles', CF7SKINS_TEXTDOMAIN ); ?></strong></a><?php _e( ' – control the appearance for your form.', CF7SKINS_TEXTDOMAIN ); ?></p>
101
 
102
- <p><img src="<?php echo CF7SKINS_URL; ?>images/cf7skins-styles.png" alt="CF7 Skins Styles" width="600" height="239" class="alignright" /><em><?php _e( 'Every <strong>Style</strong> covers the full range of Contact Form 7 form elements.', CF7SKINS_TEXTDOMAIN ); ?></em></p>
103
 
104
  <ul>
105
  <li>
106
- <?php _e( 'View the <strong>Style</strong> tab to see the available styles.', CF7SKINS_TEXTDOMAIN ); ?>
107
  </li>
108
  <li>
109
- <?php _e( 'Find a style you like and click <strong>Select</strong>.', CF7SKINS_TEXTDOMAIN ); ?>
110
  </li>
111
  <li>
112
- <?php _e( 'Then press <strong>Save</strong> or <strong>Save Visual</strong> to apply the style to your form.', CF7SKINS_TEXTDOMAIN ); ?>
113
  </li>
114
  </ul>
115
 
116
- <p><a class="cf7s-btn" target="_blank" href="http://kb.cf7skins.com/category/styles/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _e( 'Learn More', CF7SKINS_TEXTDOMAIN ); ?></a></p>
117
 
118
  <div class="wp-clearfix"></div>
119
 
120
- <h3><?php _e( 'Doing more with CF7 Skins', CF7SKINS_TEXTDOMAIN ); ?></h3>
121
- <p><?php _e( 'To take advantage of the full functionality of CF7 Skins we recommend reading the following items.', CF7SKINS_TEXTDOMAIN ); ?></p>
122
 
123
  <ul>
124
  <li>
125
- <a href="http://kb.cf7skins.com/getting-started-using-cf7-skins/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Getting Started – Using CF7 Skins', CF7SKINS_TEXTDOMAIN ); ?></a>
126
  </li>
127
  <li>
128
- <a href="http://kb.cf7skins.com/edit-cf7-skins-form-visual-editor/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Edit your CF7 Skins Form', CF7SKINS_TEXTDOMAIN ); ?></a>
129
  </li>
130
  <li>
131
- <a href="http://kb.cf7skins.com/why-we-use-fieldset-legend-lists-in-cf7-skins/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Fieldset, Legend & Lists in CF7 Skins', CF7SKINS_TEXTDOMAIN ); ?></a>
132
  </li>
133
  <li>
134
- <a href="http://kb.cf7skins.com/use-custom-css-plugin/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Modify your CF7 Skins Style', CF7SKINS_TEXTDOMAIN ); ?></a>
135
  </li>
136
  </ul>
137
 
138
- <p><a class="cf7s-btn" target="_blank" href="http://kb.cf7skins.com/category/using-cf7skins/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _e( 'Learn More', CF7SKINS_TEXTDOMAIN ); ?></a></p>
139
 
140
  </div>
141
 
142
  <div class="cf7s-info-sidebar">
143
- <h2><?php _e( 'Do you enjoy using this plugin?', CF7SKINS_TEXTDOMAIN ); ?></h2>
144
- <p><?php _e( 'You can help fellow WordPress users in the following simple ways', CF7SKINS_TEXTDOMAIN ); ?></p>
145
  <ul>
146
  <li>
147
- <strong><a href="https://wordpress.org/support/plugin/contact-form-7-skins/reviews/#new-post" target="_blank"><?php _e( 'Review', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'leave a plugin review on WordPress.org', CF7SKINS_TEXTDOMAIN ); ?>
148
  </li>
149
  <li>
150
- <strong><a href="http://cf7skins.com/testimonials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Testimonial', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'add your Testimonial to those listed', CF7SKINS_TEXTDOMAIN ); ?>
151
  </li>
152
  <li>
153
- <strong><a href="http://cf7skins.com/support/#feedback?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Feedback', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'help us to improve CF7 Skins by offering feedback', CF7SKINS_TEXTDOMAIN ); ?>
154
  </li>
155
  </ul>
156
 
157
- <h2><?php _e( 'Documentation', CF7SKINS_TEXTDOMAIN ); ?></h2>
158
- <p><?php _e( 'Our in-depth documentation is a great place to find detailed answers', CF7SKINS_TEXTDOMAIN ); ?></p>
159
  <ul>
160
  <li>
161
- <strong><a href="http://kb.cf7skins.com/faq/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'FAQ', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'browse over some commonly asked questions.', CF7SKINS_TEXTDOMAIN ); ?>
162
  </li>
163
  <li>
164
- <strong><a href="http://kb.cf7skins.com/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Documentation', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'search by Categories & Tags or Keywords.', CF7SKINS_TEXTDOMAIN ); ?>
165
  </li>
166
  <li>
167
- <strong><a href="http://kb.cf7skins.com/category/tutorials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Tutorials', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'to help you get started quickly with CF7 Skins.', CF7SKINS_TEXTDOMAIN ); ?>
168
  </li>
169
  </ul>
170
 
171
- <h2><?php _e( 'Need some help?', CF7SKINS_TEXTDOMAIN ); ?></h2>
172
- <p><?php _e( 'You have a number of options to help you use CF7 Skins', CF7SKINS_TEXTDOMAIN ); ?></p>
173
  <ul>
174
- <li><strong><?php _e( 'Free Version', CF7SKINS_TEXTDOMAIN ); ?></strong></li>
175
  <ul>
176
  <li>
177
- <strong><a href="https://wordpress.org/support/plugin/contact-form-7-skins" target="_blank"><?php _e( 'WordPress.org Support Forum', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'community based support offered by other CF7 Skin users (we visit the forum intermittently to assist with plugin bugs only).', CF7SKINS_TEXTDOMAIN ); ?>
178
  </li>
179
  </ul>
180
- <li><strong><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></strong></li>
181
  <ul>
182
  <li>
183
- <strong><a href="http://cf7skins.com/support/#premium-email-support?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Premium Email Support', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'available (for current paid licenses) to deal with users questions and problems.', CF7SKINS_TEXTDOMAIN ); ?>
184
  </li>
185
  </ul>
186
  </ul>
187
- <p><a href="http://cf7skins.com?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Website', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/faq/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'FAQ', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Documentation', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/category/tutorials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Tutorials', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></a></p>
188
 
189
- <h2><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></h2>
190
 
191
- <p><?php printf( __( 'Ongoing development of CF7 Skins is made possible by sales of renewable annual licenses of our %1$s.', CF7SKINS_TEXTDOMAIN), '<a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank">'. __( 'Add-ons', CF7SKINS_TEXTDOMAIN ) .'</a>' ); ?></p>
192
 
193
  <ul>
194
  <li>
195
- <strong><a href="http://cf7skins.com/add-ons/pro/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'CF7 Skins Pro', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'Extra Templates & Styles', CF7SKINS_TEXTDOMAIN ); ?>
196
  </li>
197
  <li>
198
- <strong><a href="http://cf7skins.com/add-ons/ready/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'CF7 Skins Ready', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'Useful styling options', CF7SKINS_TEXTDOMAIN ); ?>
199
  </li>
200
  <li>
201
- <strong><a href="http://cf7skins.com/add-ons/multi/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'CF7 Skins Multi', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'Multi-part forms', CF7SKINS_TEXTDOMAIN ); ?>
202
  </li>
203
  <li>
204
- <strong><a href="http://cf7skins.com/add-ons/logic/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'CF7 Skins Logic', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'Conditional logic for your forms', CF7SKINS_TEXTDOMAIN ); ?>
205
  </li>
206
  </ul>
207
 
208
- <p><em><?php _e( 'Our range of', CF7SKINS_TEXTDOMAIN ); ?> <a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _ex( 'Add-ons','Subject form. Add conjugations if needed.', CF7SKINS_TEXTDOMAIN ); ?></strong></a> <?php _e( 'brings the functionality available in other premium WordPress form plugins directly within Contact Form 7.', CF7SKINS_TEXTDOMAIN ); ?></em></p>
209
 
210
  </div>
8
  */
9
  ?>
10
  <div class="cf7s-info">
11
+ <h2><?php _e( 'Quick Start Guide', 'contact-form-7-skins' ); ?></h2>
12
 
13
+ <p><?php _e( 'To get started using <strong>CF7 Skins</strong>:', 'contact-form-7-skins' ); ?></p>
14
 
15
  <ul>
16
  <li>
17
+ <?php _e( 'Click on <strong>Contact</strong> in the WordPress admin menu.', 'contact-form-7-skins' ); ?>
18
  </li>
19
  <li>
20
+ <?php _e( 'Select an existing Contact Form 7 form or create a new one.', 'contact-form-7-skins' ); ?>
21
  </li>
22
  <li>
23
+ <?php _e( 'Scroll down to the <strong>Skins</strong> section.', 'contact-form-7-skins' ); ?>
24
  </li>
25
  </ul>
26
 
27
+ <h3><?php _e( 'Using CF7 Skins', 'contact-form-7-skins' ); ?></h3>
28
 
29
+ <p>1. <a href="http://cf7skins.com/visual-editor/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _ex('CF7 Skins','Stand-alone form. No conjugations needed.','contact-form-7-skins'); ?><?php _e( ' Visual Editor', 'contact-form-7-skins' ); ?></strong></a><?php _e( ' – where you edit and build your form.', 'contact-form-7-skins' ); ?></p>
30
 
31
+ <p><img src="<?php echo CF7SKINS_URL; ?>images/cf7skins-visual-ui.png" alt="CF7 Skins Visual Editor UI" width="600" height="449" class="alignright" /><em><?php _e( 'Start with a CF7 Skins Template.', 'contact-form-7-skins' ); ?> </em></p>
32
 
33
  <ul>
34
  <li>
35
+ <?php _e( 'Select a <strong>Template</strong> to add it to the <strong>Form</strong> tab.', 'contact-form-7-skins' ); ?>
36
  </li>
37
  <li>
38
+ <?php _e( 'The <strong>Form</strong> tab is where you build your form.', 'contact-form-7-skins' ); ?>
39
  </li>
40
  </ul>
41
 
42
+ <p><em><?php _e( 'Add fields and arrange them using drag and drop.', 'contact-form-7-skins' ); ?> </em></p>
43
 
44
  <ul>
45
  <li>
46
+ <?php _e( '<strong>Drag-and-drop</strong> new fields onto your form.', 'contact-form-7-skins' ); ?>
47
  </li>
48
  <li>
49
+ <?php _e( 'Rearrange fields into the correct position.', 'contact-form-7-skins' ); ?>
50
  </li>
51
  </ul>
52
 
53
+ <p><em><?php _e( 'Edit the form to match your requirements.', 'contact-form-7-skins' ); ?> </em></p>
54
 
55
  <ul>
56
  <li>
57
+ <?php _e( 'Click <strong>Edit</strong>, <strong>Duplicate</strong> & <strong>Delete</strong> to adjust fields.', 'contact-form-7-skins' ); ?>
58
  </li>
59
  <li>
60
+ <?php _e( 'Add <strong>CF7 Tag</strong> options in the <strong>Edit</strong> dialog.', 'contact-form-7-skins' ); ?>
61
  </li>
62
  </ul>
63
 
64
+ <p><em><?php _e( 'Review & save your Form.', 'contact-form-7-skins' ); ?> </em></p>
65
 
66
  <ul>
67
  <li>
68
+ <?php _e( '<strong>Duplicate</strong> groups of fields to speed form creation.', 'contact-form-7-skins' ); ?>
69
  </li>
70
  <li>
71
+ <?php _e( 'Click <strong>Save Visual</strong> - your changes are added in the <strong>CF7 Form</strong> tab.', 'contact-form-7-skins' ); ?>
72
  </li>
73
  </ul>
74
 
75
+ <p><a class="cf7s-btn" target="_blank" href="http://kb.cf7skins.com/category/visual-editor/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _e( 'Learn More', 'contact-form-7-skins' ); ?></a></p>
76
 
77
  <div class="wp-clearfix"></div>
78
 
79
+ <p>2. <a href="http://cf7skins.com/templates/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _e( ' Templates', 'contact-form-7-skins' ); ?></strong></a><?php _e( ' – give you a starting point for your form.', 'contact-form-7-skins' ); ?></p>
80
 
81
 
82
+ <p><img src="<?php echo CF7SKINS_URL; ?>images/cf7skins-templates.png" alt="CF7 Skins Templates" width="600" height="238" class="alignright" /><em><?php _e( 'Each <strong>Template</strong> acts as an easy to follow guide, which can be adapted to your particular requirements.', 'contact-form-7-skins' ); ?></em></p>
83
 
84
  <ul>
85
  <li>
86
+ <?php _e( 'The <strong>Template</strong> tab displays the available templates.', 'contact-form-7-skins' ); ?>
87
  </li>
88
  <li>
89
+ <?php _e( 'Click <strong>Select</strong> to add this template in the <strong>Form</strong> tab.', 'contact-form-7-skins' ); ?>
90
  </li>
91
  <li>
92
+ <?php _e( 'Then use the <strong>Visual Editor</strong> to adjust the form to your requirements.', 'contact-form-7-skins' ); ?>
93
  </li>
94
  </ul>
95
 
96
+ <p><a class="cf7s-btn" target="_blank" href="http://kb.cf7skins.com/category/templates/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _e( 'Learn More', 'contact-form-7-skins' ); ?></a></p>
97
 
98
  <div class="wp-clearfix"></div>
99
 
100
+ <p>3. <a href="http://cf7skins.com/styles/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _e( ' Styles', 'contact-form-7-skins' ); ?></strong></a><?php _e( ' – control the appearance for your form.', 'contact-form-7-skins' ); ?></p>
101
 
102
+ <p><img src="<?php echo CF7SKINS_URL; ?>images/cf7skins-styles.png" alt="CF7 Skins Styles" width="600" height="239" class="alignright" /><em><?php _e( 'Every <strong>Style</strong> covers the full range of Contact Form 7 form elements.', 'contact-form-7-skins' ); ?></em></p>
103
 
104
  <ul>
105
  <li>
106
+ <?php _e( 'View the <strong>Style</strong> tab to see the available styles.', 'contact-form-7-skins' ); ?>
107
  </li>
108
  <li>
109
+ <?php _e( 'Find a style you like and click <strong>Select</strong>.', 'contact-form-7-skins' ); ?>
110
  </li>
111
  <li>
112
+ <?php _e( 'Then press <strong>Save</strong> or <strong>Save Visual</strong> to apply the style to your form.', 'contact-form-7-skins' ); ?>
113
  </li>
114
  </ul>
115
 
116
+ <p><a class="cf7s-btn" target="_blank" href="http://kb.cf7skins.com/category/styles/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _e( 'Learn More', 'contact-form-7-skins' ); ?></a></p>
117
 
118
  <div class="wp-clearfix"></div>
119
 
120
+ <h3><?php _e( 'Doing more with CF7 Skins', 'contact-form-7-skins' ); ?></h3>
121
+ <p><?php _e( 'To take advantage of the full functionality of CF7 Skins we recommend reading the following items.', 'contact-form-7-skins' ); ?></p>
122
 
123
  <ul>
124
  <li>
125
+ <a href="http://kb.cf7skins.com/getting-started-using-cf7-skins/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Getting Started – Using CF7 Skins', 'contact-form-7-skins' ); ?></a>
126
  </li>
127
  <li>
128
+ <a href="http://kb.cf7skins.com/edit-cf7-skins-form-visual-editor/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Edit your CF7 Skins Form', 'contact-form-7-skins' ); ?></a>
129
  </li>
130
  <li>
131
+ <a href="http://kb.cf7skins.com/why-we-use-fieldset-legend-lists-in-cf7-skins/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Fieldset, Legend & Lists in CF7 Skins', 'contact-form-7-skins' ); ?></a>
132
  </li>
133
  <li>
134
+ <a href="http://kb.cf7skins.com/use-custom-css-plugin/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Modify your CF7 Skins Style', 'contact-form-7-skins' ); ?></a>
135
  </li>
136
  </ul>
137
 
138
+ <p><a class="cf7s-btn" target="_blank" href="http://kb.cf7skins.com/category/using-cf7skins/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _e( 'Learn More', 'contact-form-7-skins' ); ?></a></p>
139
 
140
  </div>
141
 
142
  <div class="cf7s-info-sidebar">
143
+ <h2><?php _e( 'Do you enjoy using this plugin?', 'contact-form-7-skins' ); ?></h2>
144
+ <p><?php _e( 'You can help fellow WordPress users in the following simple ways', 'contact-form-7-skins' ); ?></p>
145
  <ul>
146
  <li>
147
+ <strong><a href="https://wordpress.org/support/plugin/contact-form-7-skins/reviews/#new-post" target="_blank"><?php _e( 'Review', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'leave a plugin review on WordPress.org', 'contact-form-7-skins' ); ?>
148
  </li>
149
  <li>
150
+ <strong><a href="http://cf7skins.com/testimonials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Testimonial', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'add your Testimonial to those listed', 'contact-form-7-skins' ); ?>
151
  </li>
152
  <li>
153
+ <strong><a href="http://cf7skins.com/support/#feedback?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Feedback', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'help us to improve CF7 Skins by offering feedback', 'contact-form-7-skins' ); ?>
154
  </li>
155
  </ul>
156
 
157
+ <h2><?php _e( 'Documentation', 'contact-form-7-skins' ); ?></h2>
158
+ <p><?php _e( 'Our in-depth documentation is a great place to find detailed answers', 'contact-form-7-skins' ); ?></p>
159
  <ul>
160
  <li>
161
+ <strong><a href="http://kb.cf7skins.com/faq/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'FAQ', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'browse over some commonly asked questions.', 'contact-form-7-skins' ); ?>
162
  </li>
163
  <li>
164
+ <strong><a href="http://kb.cf7skins.com/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Documentation', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'search by Categories & Tags or Keywords.', 'contact-form-7-skins' ); ?>
165
  </li>
166
  <li>
167
+ <strong><a href="http://kb.cf7skins.com/category/tutorials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Tutorials', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'to help you get started quickly with CF7 Skins.', 'contact-form-7-skins' ); ?>
168
  </li>
169
  </ul>
170
 
171
+ <h2><?php _e( 'Need some help?', 'contact-form-7-skins' ); ?></h2>
172
+ <p><?php _e( 'You have a number of options to help you use CF7 Skins', 'contact-form-7-skins' ); ?></p>
173
  <ul>
174
+ <li><strong><?php _e( 'Free Version', 'contact-form-7-skins' ); ?></strong></li>
175
  <ul>
176
  <li>
177
+ <strong><a href="https://wordpress.org/support/plugin/contact-form-7-skins" target="_blank"><?php _e( 'WordPress.org Support Forum', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'community based support offered by other CF7 Skin users (we visit the forum intermittently to assist with plugin bugs only).', 'contact-form-7-skins' ); ?>
178
  </li>
179
  </ul>
180
+ <li><strong><?php _e( 'Add-ons', 'contact-form-7-skins' ); ?></strong></li>
181
  <ul>
182
  <li>
183
+ <strong><a href="http://cf7skins.com/support/#premium-email-support?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Premium Email Support', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'available (for current paid licenses) to deal with users questions and problems.', 'contact-form-7-skins' ); ?>
184
  </li>
185
  </ul>
186
  </ul>
187
+ <p><a href="http://cf7skins.com?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Website', 'contact-form-7-skins' ); ?></a> | <a href="http://kb.cf7skins.com/faq/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'FAQ', 'contact-form-7-skins' ); ?></a> | <a href="http://kb.cf7skins.com/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Documentation', 'contact-form-7-skins' ); ?></a> | <a href="http://kb.cf7skins.com/category/tutorials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Tutorials', 'contact-form-7-skins' ); ?></a> | <a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Add-ons', 'contact-form-7-skins' ); ?></a></p>
188
 
189
+ <h2><?php _e( 'Add-ons', 'contact-form-7-skins' ); ?></h2>
190
 
191
+ <p><?php printf( __( 'Ongoing development of CF7 Skins is made possible by sales of renewable annual licenses of our %1$s.', 'contact-form-7-skins'), '<a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank">'. __( 'Add-ons', 'contact-form-7-skins' ) .'</a>' ); ?></p>
192
 
193
  <ul>
194
  <li>
195
+ <strong><a href="http://cf7skins.com/add-ons/pro/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'CF7 Skins Pro', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'Extra Templates & Styles', 'contact-form-7-skins' ); ?>
196
  </li>
197
  <li>
198
+ <strong><a href="http://cf7skins.com/add-ons/ready/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'CF7 Skins Ready', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'Useful styling options', 'contact-form-7-skins' ); ?>
199
  </li>
200
  <li>
201
+ <strong><a href="http://cf7skins.com/add-ons/multi/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'CF7 Skins Multi', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'Multi-part forms', 'contact-form-7-skins' ); ?>
202
  </li>
203
  <li>
204
+ <strong><a href="http://cf7skins.com/add-ons/logic/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'CF7 Skins Logic', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'Conditional logic for your forms', 'contact-form-7-skins' ); ?>
205
  </li>
206
  </ul>
207
 
208
+ <p><em><?php _e( 'Our range of', 'contact-form-7-skins' ); ?> <a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _ex( 'Add-ons','Subject form. Add conjugations if needed.', 'contact-form-7-skins' ); ?></strong></a> <?php _e( 'brings the functionality available in other premium WordPress form plugins directly within Contact Form 7.', 'contact-form-7-skins' ); ?></em></p>
209
 
210
  </div>
includes/pro-version.php CHANGED
@@ -8,170 +8,170 @@
8
  */
9
  ?>
10
  <div class="cf7s-info">
11
- <h2><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></h2>
12
 
13
- <img title="CF7 Skins" src="<?php echo CF7SKINS_URL; ?>images/cf7skins-logo.png" alt="CF7 Skins Logo" width="400" height="150" class="alignright" /><p><?php printf( __( 'Ongoing development of CF7 Skins is made possible by sales of renewable annual licenses of our %1$s.', CF7SKINS_TEXTDOMAIN), '<a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank">'. __( 'Add-ons', CF7SKINS_TEXTDOMAIN ) .'</a>' ); ?></p>
14
 
15
- <h4><?php _e( 'CF7 Skins Add-ons offer a number of advantages:', CF7SKINS_TEXTDOMAIN ); ?></h4>
16
  <ul>
17
  <li>
18
- <?php _e( 'Your existing familiarity with using Contact Form 7 - you don\'t need to learn another WordPress form plugin', CF7SKINS_TEXTDOMAIN ); ?>
19
  </li>
20
  <li>
21
- <?php _e( 'You can still use the many plugins available that extend Contact Form 7 - both free & premium', CF7SKINS_TEXTDOMAIN ); ?>
22
  </li>
23
  <li>
24
- <?php _e( 'Purchase only the CF7 Skins Add-ons your require - mix and match to suit your needs', CF7SKINS_TEXTDOMAIN ); ?>
25
  </li>
26
  </ul>
27
 
28
- <p><em><?php _e( 'Our range of', CF7SKINS_TEXTDOMAIN ); ?> <a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _ex( 'Add-ons','Subject form. Add conjugations if needed.', CF7SKINS_TEXTDOMAIN ); ?></strong></a> <?php _e( 'brings the functionality available in other premium WordPress form plugins directly within Contact Form 7.', CF7SKINS_TEXTDOMAIN ); ?></em></p>
29
 
30
- <h3><?php _ex('CF7 Skins Pro','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></h3>
31
 
32
  <a target="_blank" href="http://cf7skins.com/add-ons/pro/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><img title="CF7 Skins Pro" src="<?php echo CF7SKINS_URL; ?>
33
  images/cf7skins-pro-logo.png" alt="CF7 Skins Pro Logo" width="400" height="150" class="alignright" /></a>
34
 
35
- <p><a href="http://cf7skins.com/add-ons/pro/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _ex( 'CF7 Skins Pro', 'Subject form. Add conjugations if needed.' , CF7SKINS_TEXTDOMAIN ); ?></strong></a> <?php _e( '- offers a wider range of Templates & Styles for commonly used forms', CF7SKINS_TEXTDOMAIN ); ?>.</p>
36
 
37
- <p><a href="http://cf7skins.com/support/#premium-email-support?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _ex( 'Premium Email Support','Subject form. Add conjugations if needed.', CF7SKINS_TEXTDOMAIN ); ?></strong></a> <?php _e( 'is provided by paid staff to deal with Premium users questions and problems', CF7SKINS_TEXTDOMAIN ); ?>.</p>
38
 
39
- <p><a class="cf7s-btn" target="_blank" href="http://cf7skins.com/add-ons/pro/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Pro','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></a></p>
40
 
41
- <h3><?php _ex('CF7 Skins Ready','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></h3>
42
 
43
  <a target="_blank" href="http://cf7skins.com/add-ons/ready/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><img title="CF7 Skins Ready" src="<?php echo CF7SKINS_URL; ?>images/cf7skins-ready-logo.png" alt="CF7 Skins Ready Logo" width="400" height="150" class="alignright" /></a>
44
 
45
- <p><a target="_blank" href="http://cf7skins.com/add-ons/ready/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Ready','Subject form. Add conjugations if needed.',CF7SKINS_TEXTDOMAIN); ?></a> <?php _e( '- provides a range of useful pre-defined styles that can be used in all Contact Form 7 forms:', CF7SKINS_TEXTDOMAIN ); ?></p>
46
 
47
  <ul>
48
  <li>
49
- <strong><?php _e( 'box', CF7SKINS_TEXTDOMAIN ); ?></strong> - <?php _e( 'displays enclosed elements in a surrounding box', CF7SKINS_TEXTDOMAIN ); ?>
50
  </li>
51
  <li>
52
- <strong><?php _e( 'column', CF7SKINS_TEXTDOMAIN ); ?></strong> - <?php _e( 'displays enclosed elements in a vertical column', CF7SKINS_TEXTDOMAIN ); ?>
53
  </li>
54
  <li>
55
- <strong><?php _e( 'grid', CF7SKINS_TEXTDOMAIN ); ?></strong> - <?php _e( 'implements a CSS form grid', CF7SKINS_TEXTDOMAIN ); ?>
56
  </li>
57
  <li>
58
- <strong><?php _e( 'singleline', CF7SKINS_TEXTDOMAIN ); ?></strong> - <?php _e( 'displays enclosed elements on a single line', CF7SKINS_TEXTDOMAIN ); ?>
59
  </li>
60
  <li>
61
- <strong><?php _e( 'horizontal', CF7SKINS_TEXTDOMAIN ); ?></strong> - <?php _e( 'displays checkbox & radio button elements in horizontal line', CF7SKINS_TEXTDOMAIN ); ?>
62
  </li>
63
  </ul>
64
 
65
- <p><a class="cf7s-btn" target="_blank" href="http://cf7skins.com/add-ons/ready/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Ready','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></a></p>
66
 
67
- <h3><?php _ex('CF7 Skins Multi','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></h3>
68
 
69
  <a target="_blank" href="http://cf7skins.com/add-ons/multi/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><img title="CF7 Skins Multi" src="<?php echo CF7SKINS_URL; ?>images/cf7skins-multi-logo.png" alt="CF7 Skins Multi Logo" width="400" height="150" class="alignright" /></a>
70
 
71
- <p><a target="_blank" href="http://cf7skins.com/add-ons/multi/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Multi','Subject form. Add conjugations if needed.',CF7SKINS_TEXTDOMAIN); ?></a> <?php _e( '- includes the features you need to make user friendly multi-part Contact Form 7 forms:', CF7SKINS_TEXTDOMAIN ); ?></p>
72
 
73
  <ul>
74
  <li>
75
- <strong><?php _e( 'Tab Titles', CF7SKINS_TEXTDOMAIN ); ?></strong> - <?php _e( 'with click Navigation', CF7SKINS_TEXTDOMAIN ); ?>
76
  </li>
77
  <li>
78
- <strong><?php _e( 'Progress Bar', CF7SKINS_TEXTDOMAIN ); ?></strong> - <?php _e( 'indicates to users where they are', CF7SKINS_TEXTDOMAIN ); ?>
79
  </li>
80
  <li>
81
- <strong><?php _e( 'Navigation Buttons', CF7SKINS_TEXTDOMAIN ); ?></strong> - <?php _e( 'Previous & Next on each Tab', CF7SKINS_TEXTDOMAIN ); ?>
82
  </li>
83
  <li>
84
- <strong><?php _e( 'Pagination', CF7SKINS_TEXTDOMAIN ); ?></strong> - <?php _e( 'current page / total no.', CF7SKINS_TEXTDOMAIN ); ?>
85
  </li>
86
  <li>
87
- <strong><?php _e( 'Start & End Tabs', CF7SKINS_TEXTDOMAIN ); ?></strong> - <?php _e( 'additional Navigation Buttons', CF7SKINS_TEXTDOMAIN ); ?>
88
  </li>
89
  <li>
90
- <strong><?php _e( 'Thank You Tab', CF7SKINS_TEXTDOMAIN ); ?></strong> - <?php _e( 'extra page displayed only after completed form submission', CF7SKINS_TEXTDOMAIN ); ?>
91
  </li>
92
  <li>
93
- <strong><?php _e( 'Design Matches CF7 Skins Style', CF7SKINS_TEXTDOMAIN ); ?></strong> - <?php _e( 'styling of multi-form elements matches selected CF7 Skins Style', CF7SKINS_TEXTDOMAIN ); ?>
94
  </li>
95
  </ul>
96
 
97
- <p><a class="cf7s-btn" target="_blank" href="http://cf7skins.com/add-ons/multi/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Multi','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></a></p>
98
 
99
- <h3><?php _ex('CF7 Skins Logic','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></h3>
100
 
101
  <a target="_blank" href="http://cf7skins.com/add-ons/logic/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><img title="CF7 Skins Logic" src="<?php echo CF7SKINS_URL; ?>images/cf7skins-logic-logo.png" alt="CF7 Skins Logic Logo" width="400" height="150" class="alignright" /></a>
102
 
103
- <p><a target="_blank" href="http://cf7skins.com/add-ons/logic/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Logic','Subject form. Add conjugations if needed.',CF7SKINS_TEXTDOMAIN); ?></a> <?php _e( '- provides Conditional Logic for Contact Form 7 forms:', CF7SKINS_TEXTDOMAIN ); ?></p>
104
 
105
  <ul>
106
  <li>
107
- <strong><?php _e( 'Show or Hide', CF7SKINS_TEXTDOMAIN ); ?></strong> - <?php _e( 'fields', CF7SKINS_TEXTDOMAIN ); ?>
108
  </li>
109
  <li>
110
- <strong><?php _e( 'Criteria', CF7SKINS_TEXTDOMAIN ); ?></strong> - <?php _e( 'field, user and post info', CF7SKINS_TEXTDOMAIN ); ?>
111
  </li>
112
  <li>
113
- <strong><?php _e( 'Value', CF7SKINS_TEXTDOMAIN ); ?></strong> - <?php _e( 'equals, not equals, contains or changed', CF7SKINS_TEXTDOMAIN ); ?>
114
  </li>
115
  <li>
116
- <strong><?php _e( 'Compare', CF7SKINS_TEXTDOMAIN ); ?></strong> - <?php _e( 'numeric or text values', CF7SKINS_TEXTDOMAIN ); ?>
117
  </li>
118
  <li>
119
- <strong><?php _e( 'Multiple logic statements', CF7SKINS_TEXTDOMAIN ); ?></strong> - <?php _e( 'if all & if any', CF7SKINS_TEXTDOMAIN ); ?>
120
  </li>
121
  <li>
122
- <strong><?php _e( 'Multiple fields', CF7SKINS_TEXTDOMAIN ); ?></strong> <?php _e( 'with varying logic', CF7SKINS_TEXTDOMAIN ); ?>
123
  </li>
124
  </ul>
125
 
126
- <p><a class="cf7s-btn" target="_blank" href="http://cf7skins.com/add-ons/logic/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Logic','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></a></p>
127
 
128
  </div>
129
 
130
  <div class="cf7s-info-sidebar">
131
- <h2><?php _e( 'Do you enjoy using this plugin?', CF7SKINS_TEXTDOMAIN ); ?></h2>
132
- <p><?php _e( 'You can help fellow WordPress users in the following simple ways', CF7SKINS_TEXTDOMAIN ); ?></p>
133
  <ul>
134
  <li>
135
- <strong><a href="https://wordpress.org/support/plugin/contact-form-7-skins/reviews/#new-post" target="_blank"><?php _e( 'Review', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'leave a plugin review on WordPress.org', CF7SKINS_TEXTDOMAIN ); ?>
136
  </li>
137
  <li>
138
- <strong><a href="http://cf7skins.com/testimonials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Testimonial', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'add your Testimonial to those listed', CF7SKINS_TEXTDOMAIN ); ?>
139
  </li>
140
  <li>
141
- <strong><a href="http://cf7skins.com/support/#feedback?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Feedback', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'help us to improve CF7 Skins by offering feedback', CF7SKINS_TEXTDOMAIN ); ?>
142
  </li>
143
  </ul>
144
 
145
- <h2><?php _e( 'Documentation', CF7SKINS_TEXTDOMAIN ); ?></h2>
146
- <p><?php _e( 'Our in-depth documentation is a great place to find detailed answers', CF7SKINS_TEXTDOMAIN ); ?></p>
147
  <ul>
148
  <li>
149
- <strong><a href="http://kb.cf7skins.com/faq/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'FAQ', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'browse over some commonly asked questions.', CF7SKINS_TEXTDOMAIN ); ?>
150
  </li>
151
  <li>
152
- <strong><a href="http://kb.cf7skins.com/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Documentation', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'search by Categories & Tags or Keywords.', CF7SKINS_TEXTDOMAIN ); ?>
153
  </li>
154
  <li>
155
- <strong><a href="http://kb.cf7skins.com/category/tutorials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Tutorials', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'to help you get started quickly with CF7 Skins.', CF7SKINS_TEXTDOMAIN ); ?>
156
  </li>
157
  </ul>
158
 
159
- <h2><?php _e( 'Need some help?', CF7SKINS_TEXTDOMAIN ); ?></h2>
160
- <p><?php _e( 'You have a number of options to help you use CF7 Skins', CF7SKINS_TEXTDOMAIN ); ?></p>
161
  <ul>
162
- <li><strong><?php _e( 'Free Version', CF7SKINS_TEXTDOMAIN ); ?></strong></li>
163
  <ul>
164
  <li>
165
- <strong><a href="https://wordpress.org/support/plugin/contact-form-7-skins" target="_blank"><?php _e( 'WordPress.org Support Forum', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'community based support offered by other CF7 Skin users (we visit the forum intermittently to assist with plugin bugs only).', CF7SKINS_TEXTDOMAIN ); ?>
166
  </li>
167
  </ul>
168
- <li><strong><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></strong></li>
169
  <ul>
170
  <li>
171
- <strong><a href="http://cf7skins.com/support/#premium-email-support?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Premium Email Support', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'available (for current paid licenses) to deal with users questions and problems.', CF7SKINS_TEXTDOMAIN ); ?>
172
  </li>
173
  </ul>
174
  </ul>
175
- <p><a href="http://cf7skins.com?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Website', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/faq/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'FAQ', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Documentation', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/category/tutorials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Tutorials', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></a></p>
176
 
177
  </div>
8
  */
9
  ?>
10
  <div class="cf7s-info">
11
+ <h2><?php _e( 'Add-ons', 'contact-form-7-skins' ); ?></h2>
12
 
13
+ <img title="CF7 Skins" src="<?php echo CF7SKINS_URL; ?>images/cf7skins-logo.png" alt="CF7 Skins Logo" width="400" height="150" class="alignright" /><p><?php printf( __( 'Ongoing development of CF7 Skins is made possible by sales of renewable annual licenses of our %1$s.', 'contact-form-7-skins'), '<a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank">'. __( 'Add-ons', 'contact-form-7-skins' ) .'</a>' ); ?></p>
14
 
15
+ <h4><?php _e( 'CF7 Skins Add-ons offer a number of advantages:', 'contact-form-7-skins' ); ?></h4>
16
  <ul>
17
  <li>
18
+ <?php _e( 'Your existing familiarity with using Contact Form 7 - you don\'t need to learn another WordPress form plugin', 'contact-form-7-skins' ); ?>
19
  </li>
20
  <li>
21
+ <?php _e( 'You can still use the many plugins available that extend Contact Form 7 - both free & premium', 'contact-form-7-skins' ); ?>
22
  </li>
23
  <li>
24
+ <?php _e( 'Purchase only the CF7 Skins Add-ons your require - mix and match to suit your needs', 'contact-form-7-skins' ); ?>
25
  </li>
26
  </ul>
27
 
28
+ <p><em><?php _e( 'Our range of', 'contact-form-7-skins' ); ?> <a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _ex( 'Add-ons','Subject form. Add conjugations if needed.', 'contact-form-7-skins' ); ?></strong></a> <?php _e( 'brings the functionality available in other premium WordPress form plugins directly within Contact Form 7.', 'contact-form-7-skins' ); ?></em></p>
29
 
30
+ <h3><?php _ex('CF7 Skins Pro','Stand-alone form. No conjugations needed.','contact-form-7-skins'); ?></h3>
31
 
32
  <a target="_blank" href="http://cf7skins.com/add-ons/pro/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><img title="CF7 Skins Pro" src="<?php echo CF7SKINS_URL; ?>
33
  images/cf7skins-pro-logo.png" alt="CF7 Skins Pro Logo" width="400" height="150" class="alignright" /></a>
34
 
35
+ <p><a href="http://cf7skins.com/add-ons/pro/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _ex( 'CF7 Skins Pro', 'Subject form. Add conjugations if needed.' , 'contact-form-7-skins' ); ?></strong></a> <?php _e( '- offers a wider range of Templates & Styles for commonly used forms', 'contact-form-7-skins' ); ?>.</p>
36
 
37
+ <p><a href="http://cf7skins.com/support/#premium-email-support?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _ex( 'Premium Email Support','Subject form. Add conjugations if needed.', 'contact-form-7-skins' ); ?></strong></a> <?php _e( 'is provided by paid staff to deal with Premium users questions and problems', 'contact-form-7-skins' ); ?>.</p>
38
 
39
+ <p><a class="cf7s-btn" target="_blank" href="http://cf7skins.com/add-ons/pro/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Pro','Stand-alone form. No conjugations needed.','contact-form-7-skins'); ?></a></p>
40
 
41
+ <h3><?php _ex('CF7 Skins Ready','Stand-alone form. No conjugations needed.','contact-form-7-skins'); ?></h3>
42
 
43
  <a target="_blank" href="http://cf7skins.com/add-ons/ready/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><img title="CF7 Skins Ready" src="<?php echo CF7SKINS_URL; ?>images/cf7skins-ready-logo.png" alt="CF7 Skins Ready Logo" width="400" height="150" class="alignright" /></a>
44
 
45
+ <p><a target="_blank" href="http://cf7skins.com/add-ons/ready/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Ready','Subject form. Add conjugations if needed.','contact-form-7-skins'); ?></a> <?php _e( '- provides a range of useful pre-defined styles that can be used in all Contact Form 7 forms:', 'contact-form-7-skins' ); ?></p>
46
 
47
  <ul>
48
  <li>
49
+ <strong><?php _e( 'box', 'contact-form-7-skins' ); ?></strong> - <?php _e( 'displays enclosed elements in a surrounding box', 'contact-form-7-skins' ); ?>
50
  </li>
51
  <li>
52
+ <strong><?php _e( 'column', 'contact-form-7-skins' ); ?></strong> - <?php _e( 'displays enclosed elements in a vertical column', 'contact-form-7-skins' ); ?>
53
  </li>
54
  <li>
55
+ <strong><?php _e( 'grid', 'contact-form-7-skins' ); ?></strong> - <?php _e( 'implements a CSS form grid', 'contact-form-7-skins' ); ?>
56
  </li>
57
  <li>
58
+ <strong><?php _e( 'singleline', 'contact-form-7-skins' ); ?></strong> - <?php _e( 'displays enclosed elements on a single line', 'contact-form-7-skins' ); ?>
59
  </li>
60
  <li>
61
+ <strong><?php _e( 'horizontal', 'contact-form-7-skins' ); ?></strong> - <?php _e( 'displays checkbox & radio button elements in horizontal line', 'contact-form-7-skins' ); ?>
62
  </li>
63
  </ul>
64
 
65
+ <p><a class="cf7s-btn" target="_blank" href="http://cf7skins.com/add-ons/ready/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Ready','Stand-alone form. No conjugations needed.','contact-form-7-skins'); ?></a></p>
66
 
67
+ <h3><?php _ex('CF7 Skins Multi','Stand-alone form. No conjugations needed.','contact-form-7-skins'); ?></h3>
68
 
69
  <a target="_blank" href="http://cf7skins.com/add-ons/multi/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><img title="CF7 Skins Multi" src="<?php echo CF7SKINS_URL; ?>images/cf7skins-multi-logo.png" alt="CF7 Skins Multi Logo" width="400" height="150" class="alignright" /></a>
70
 
71
+ <p><a target="_blank" href="http://cf7skins.com/add-ons/multi/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Multi','Subject form. Add conjugations if needed.','contact-form-7-skins'); ?></a> <?php _e( '- includes the features you need to make user friendly multi-part Contact Form 7 forms:', 'contact-form-7-skins' ); ?></p>
72
 
73
  <ul>
74
  <li>
75
+ <strong><?php _e( 'Tab Titles', 'contact-form-7-skins' ); ?></strong> - <?php _e( 'with click Navigation', 'contact-form-7-skins' ); ?>
76
  </li>
77
  <li>
78
+ <strong><?php _e( 'Progress Bar', 'contact-form-7-skins' ); ?></strong> - <?php _e( 'indicates to users where they are', 'contact-form-7-skins' ); ?>
79
  </li>
80
  <li>
81
+ <strong><?php _e( 'Navigation Buttons', 'contact-form-7-skins' ); ?></strong> - <?php _e( 'Previous & Next on each Tab', 'contact-form-7-skins' ); ?>
82
  </li>
83
  <li>
84
+ <strong><?php _e( 'Pagination', 'contact-form-7-skins' ); ?></strong> - <?php _e( 'current page / total no.', 'contact-form-7-skins' ); ?>
85
  </li>
86
  <li>
87
+ <strong><?php _e( 'Start & End Tabs', 'contact-form-7-skins' ); ?></strong> - <?php _e( 'additional Navigation Buttons', 'contact-form-7-skins' ); ?>
88
  </li>
89
  <li>
90
+ <strong><?php _e( 'Thank You Tab', 'contact-form-7-skins' ); ?></strong> - <?php _e( 'extra page displayed only after completed form submission', 'contact-form-7-skins' ); ?>
91
  </li>
92
  <li>
93
+ <strong><?php _e( 'Design Matches CF7 Skins Style', 'contact-form-7-skins' ); ?></strong> - <?php _e( 'styling of multi-form elements matches selected CF7 Skins Style', 'contact-form-7-skins' ); ?>
94
  </li>
95
  </ul>
96
 
97
+ <p><a class="cf7s-btn" target="_blank" href="http://cf7skins.com/add-ons/multi/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Multi','Stand-alone form. No conjugations needed.','contact-form-7-skins'); ?></a></p>
98
 
99
+ <h3><?php _ex('CF7 Skins Logic','Stand-alone form. No conjugations needed.','contact-form-7-skins'); ?></h3>
100
 
101
  <a target="_blank" href="http://cf7skins.com/add-ons/logic/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><img title="CF7 Skins Logic" src="<?php echo CF7SKINS_URL; ?>images/cf7skins-logic-logo.png" alt="CF7 Skins Logic Logo" width="400" height="150" class="alignright" /></a>
102
 
103
+ <p><a target="_blank" href="http://cf7skins.com/add-ons/logic/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Logic','Subject form. Add conjugations if needed.','contact-form-7-skins'); ?></a> <?php _e( '- provides Conditional Logic for Contact Form 7 forms:', 'contact-form-7-skins' ); ?></p>
104
 
105
  <ul>
106
  <li>
107
+ <strong><?php _e( 'Show or Hide', 'contact-form-7-skins' ); ?></strong> - <?php _e( 'fields', 'contact-form-7-skins' ); ?>
108
  </li>
109
  <li>
110
+ <strong><?php _e( 'Criteria', 'contact-form-7-skins' ); ?></strong> - <?php _e( 'field, user and post info', 'contact-form-7-skins' ); ?>
111
  </li>
112
  <li>
113
+ <strong><?php _e( 'Value', 'contact-form-7-skins' ); ?></strong> - <?php _e( 'equals, not equals, contains or changed', 'contact-form-7-skins' ); ?>
114
  </li>
115
  <li>
116
+ <strong><?php _e( 'Compare', 'contact-form-7-skins' ); ?></strong> - <?php _e( 'numeric or text values', 'contact-form-7-skins' ); ?>
117
  </li>
118
  <li>
119
+ <strong><?php _e( 'Multiple logic statements', 'contact-form-7-skins' ); ?></strong> - <?php _e( 'if all & if any', 'contact-form-7-skins' ); ?>
120
  </li>
121
  <li>
122
+ <strong><?php _e( 'Multiple fields', 'contact-form-7-skins' ); ?></strong> <?php _e( 'with varying logic', 'contact-form-7-skins' ); ?>
123
  </li>
124
  </ul>
125
 
126
+ <p><a class="cf7s-btn" target="_blank" href="http://cf7skins.com/add-ons/logic/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Logic','Stand-alone form. No conjugations needed.','contact-form-7-skins'); ?></a></p>
127
 
128
  </div>
129
 
130
  <div class="cf7s-info-sidebar">
131
+ <h2><?php _e( 'Do you enjoy using this plugin?', 'contact-form-7-skins' ); ?></h2>
132
+ <p><?php _e( 'You can help fellow WordPress users in the following simple ways', 'contact-form-7-skins' ); ?></p>
133
  <ul>
134
  <li>
135
+ <strong><a href="https://wordpress.org/support/plugin/contact-form-7-skins/reviews/#new-post" target="_blank"><?php _e( 'Review', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'leave a plugin review on WordPress.org', 'contact-form-7-skins' ); ?>
136
  </li>
137
  <li>
138
+ <strong><a href="http://cf7skins.com/testimonials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Testimonial', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'add your Testimonial to those listed', 'contact-form-7-skins' ); ?>
139
  </li>
140
  <li>
141
+ <strong><a href="http://cf7skins.com/support/#feedback?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Feedback', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'help us to improve CF7 Skins by offering feedback', 'contact-form-7-skins' ); ?>
142
  </li>
143
  </ul>
144
 
145
+ <h2><?php _e( 'Documentation', 'contact-form-7-skins' ); ?></h2>
146
+ <p><?php _e( 'Our in-depth documentation is a great place to find detailed answers', 'contact-form-7-skins' ); ?></p>
147
  <ul>
148
  <li>
149
+ <strong><a href="http://kb.cf7skins.com/faq/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'FAQ', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'browse over some commonly asked questions.', 'contact-form-7-skins' ); ?>
150
  </li>
151
  <li>
152
+ <strong><a href="http://kb.cf7skins.com/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Documentation', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'search by Categories & Tags or Keywords.', 'contact-form-7-skins' ); ?>
153
  </li>
154
  <li>
155
+ <strong><a href="http://kb.cf7skins.com/category/tutorials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Tutorials', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'to help you get started quickly with CF7 Skins.', 'contact-form-7-skins' ); ?>
156
  </li>
157
  </ul>
158
 
159
+ <h2><?php _e( 'Need some help?', 'contact-form-7-skins' ); ?></h2>
160
+ <p><?php _e( 'You have a number of options to help you use CF7 Skins', 'contact-form-7-skins' ); ?></p>
161
  <ul>
162
+ <li><strong><?php _e( 'Free Version', 'contact-form-7-skins' ); ?></strong></li>
163
  <ul>
164
  <li>
165
+ <strong><a href="https://wordpress.org/support/plugin/contact-form-7-skins" target="_blank"><?php _e( 'WordPress.org Support Forum', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'community based support offered by other CF7 Skin users (we visit the forum intermittently to assist with plugin bugs only).', 'contact-form-7-skins' ); ?>
166
  </li>
167
  </ul>
168
+ <li><strong><?php _e( 'Add-ons', 'contact-form-7-skins' ); ?></strong></li>
169
  <ul>
170
  <li>
171
+ <strong><a href="http://cf7skins.com/support/#premium-email-support?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Premium Email Support', 'contact-form-7-skins' ); ?></a></strong> - <?php _e( 'available (for current paid licenses) to deal with users questions and problems.', 'contact-form-7-skins' ); ?>
172
  </li>
173
  </ul>
174
  </ul>
175
+ <p><a href="http://cf7skins.com?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Website', 'contact-form-7-skins' ); ?></a> | <a href="http://kb.cf7skins.com/faq/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'FAQ', 'contact-form-7-skins' ); ?></a> | <a href="http://kb.cf7skins.com/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Documentation', 'contact-form-7-skins' ); ?></a> | <a href="http://kb.cf7skins.com/category/tutorials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Tutorials', 'contact-form-7-skins' ); ?></a> | <a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Add-ons', 'contact-form-7-skins' ); ?></a></p>
176
 
177
  </div>
includes/settings.php CHANGED
@@ -16,7 +16,7 @@ class CF7_Skins_Settings {
16
  private $options;
17
 
18
  // Define class variables
19
- var $tabs, $section, $fields, $slug, $textdomain;
20
 
21
  /**
22
  * Class constructor
@@ -30,7 +30,6 @@ class CF7_Skins_Settings {
30
  */
31
  function __construct() {
32
  $this->slug = CF7SKINS_OPTIONS;
33
- $this->textdomain = CF7SKINS_TEXTDOMAIN;
34
 
35
  $this->section = isset( $_GET['tab'] ) ? sanitize_text_field( $_GET['tab'] ) : 'advanced';
36
  $this->options = get_option( $this->slug );
@@ -54,16 +53,16 @@ class CF7_Skins_Settings {
54
 
55
  // Apply filter to allow other functions to add tabs
56
  $this->tabs = apply_filters( 'cf7skins_setting_tabs', array(
57
- /* 'general' => __( 'General', $this->textdomain ), */
58
- 'advanced' => __( 'Options', $this->textdomain ),
59
- 'add-ons' => __( 'Add-ons', $this->textdomain ),
60
- 'getting-started' => __( 'Getting Started', $this->textdomain )
61
  ) );
62
 
63
  // Add the submenu page under the CF7 page
64
  $page = add_submenu_page( 'wpcf7',
65
- __( 'CF7 Skins Settings', $this->textdomain ),
66
- __( 'CF7 Skins Settings', $this->textdomain ), 'manage_options', 'cf7skins', array( $this, 'create_settings' ) );
67
 
68
  // Display our admin scripts
69
  add_action( 'admin_print_scripts-' . $page, array( &$this, 'enqueue_script' ) );
@@ -105,7 +104,7 @@ class CF7_Skins_Settings {
105
  ?>
106
  <div id="cf7skins-settings" class="wrap">
107
  <?php //echo '<pre style="font-size:10px;line-height:10px;">'. print_r( $this->options, true ) .'</pre>'; ?>
108
- <h2><?php _e( 'CF7 Skins Settings', $this->textdomain ); ?></h2><br />
109
  <h2 class="nav-tab-wrapper">
110
  <?php
111
  foreach( $this->tabs as $tab => $name ) {
@@ -132,7 +131,7 @@ class CF7_Skins_Settings {
132
  */
133
  do_action( "cf7skins_section_{$this->section}" );
134
 
135
- submit_button( __( 'Save Changes', $this->textdomain ) );
136
  ?>
137
  </form>
138
  </div>
@@ -178,67 +177,67 @@ class CF7_Skins_Settings {
178
  $fields = apply_filters( 'cf7skins_setting_fields', array(
179
  'add_asterisk' => array( // @since 2.1.3
180
  'section' => 'advanced',
181
- 'label' => __( 'Asterisk', $this->textdomain ),
182
  'type' => 'checkbox',
183
  'default' => true,
184
- 'detail' => __( 'Add asterisk to required fields.', $this->textdomain ),
185
  ),
186
  'color_scheme' => array(
187
  'section' => 'advanced',
188
- 'label' => __( 'Admin Color Scheme', $this->textdomain ),
189
  'type' => 'color-scheme',
190
  'default' => 'default',
191
- 'description' => __( 'Select color scheme for CF7 Skins admin interface. (WP Admin only not form colors) ', $this->textdomain ),
192
  ),
193
  /*'custom' => array(
194
  'section' => 'advanced',
195
- 'label' => __( 'Custom Styles & Scripts', $this->textdomain ),
196
  'type' => 'textarea',
197
- 'description' => __( 'Print your custom scripts or styles with the tag to push to the wp_head().', $this->textdomain ),
198
  ),
199
  'enqueue_styles' => array(
200
  'section' => 'advanced',
201
- 'label' => __( 'Enqueue Styles', $this->textdomain ),
202
  'type' => 'checkbox',
203
  'default' => array(),
204
  'detail' => $styles,
205
- 'description' => __( 'Enqueue selected styles for whole site pages header.', $this->textdomain ),
206
  ),
207
 
208
  'cf7_stylesheet_dependency' => array(
209
  'section' => 'advanced',
210
- 'label' => __( 'Stylesheet Dependency', $this->textdomain ),
211
  'type' => 'checkbox',
212
  'default' => false,
213
- 'detail' => __( 'Remove CF7 default CSS stylesheet dependency.', $this->textdomain ),
214
  ),
215
  'display_log' => array(
216
  'section' => 'advanced',
217
- 'label' => __( 'Display Log', $this->textdomain ),
218
  'type' => 'checkbox',
219
  'default' => false,
220
- 'detail' => __( 'Displays plugin log tab.', $this->textdomain ),
221
  ),
222
  */
223
  'export' => array( /* @since 2.1.3 */
224
  'section' => 'advanced',
225
- 'label' => __( 'Export Form', $this->textdomain ),
226
  'type' => 'checkbox',
227
  'default' => false,
228
- 'detail' => __( 'Enable export of individual CF7 Skins form.', $this->textdomain ),
229
  ),
230
  'delete_data' => array(
231
  'section' => 'advanced',
232
- 'label' => __( 'Delete Settings', $this->textdomain ),
233
  'type' => 'checkbox',
234
  'default' => false,
235
- 'detail' => __( 'Remove all plugin data on plugin deletion.', $this->textdomain ),
236
  ),
237
  ) );
238
 
239
  $this->fields = $fields; // @since 0.5.0 set class object
240
 
241
- // add_settings_field( 'color_scheme', __('Color Scheme', $this->textdomain), array( $this, 'setting_field' ), $this->slug, 'general', array( 'label_for' => 'color_scheme', 'type' => 'color-scheme', 'default' => true, 'detail' => __('Color Scheme', $this->textdomain) ) );
242
 
243
  // Set function setting_field () as callback for each field
244
  foreach( $fields as $key => $field ) {
@@ -382,15 +381,15 @@ class CF7_Skins_Settings {
382
 
383
  if ( $status !== false && $status == 'valid' ) {
384
  $deactivate_name = $this->slug . '[' . $id . '_deactivate]';
385
- echo '<span style="color:green;padding:0 10px;font-size:12px">'. __( 'active', CF7SKINS_TEXTDOMAIN ) .'</span>';
386
- echo '<input type="submit" class="button" name="'. esc_attr( $deactivate_name ) . '" value="'. __('Deactivate License',CF7SKINS_TEXTDOMAIN) .'"/>';
387
  } else {
388
  if ( $status == 'invalid' ) {
389
- echo '<span style="color:red;padding:0 10px;font-size:12px">'. __( 'invalid', CF7SKINS_TEXTDOMAIN ) .'</span>';
390
  }
391
 
392
  $activate_name = $this->slug . '[' . $id . '_activate]';
393
- echo '&nbsp;<input type="submit" class="button" name="' . esc_attr( $activate_name ) . '" value="'. __('Activate License',CF7SKINS_TEXTDOMAIN) .'"/>';
394
  }
395
 
396
  } else { // license key is not exist or broken
@@ -398,7 +397,7 @@ class CF7_Skins_Settings {
398
  esc_attr( $id ), isset( $this->options[$id] ) ? esc_attr( $this->options[$id] ) : '', esc_attr( $type ) );
399
 
400
  $activate_name = $this->slug . '[' . $id . '_activate]';
401
- echo '&nbsp;<input type="submit" class="button" name="' . esc_attr( $activate_name ) . '" value="'. __('Activate License',CF7SKINS_TEXTDOMAIN) .'"/>';
402
  }
403
 
404
  break;
@@ -449,21 +448,21 @@ class CF7_Skins_Settings {
449
 
450
  // Default color scheme
451
  $color = new stdClass();
452
- $color->name = __('Default', $this->textdomain);
453
  $color->url = CF7SKINS_URL . 'css/admin.css';
454
  $color->colors = array( '#94B2CE', '#C4D9EE', '#70A74A', '#C9F4B0' );
455
  $colors['default'] = $color;
456
 
457
  // Wheat color scheme
458
  $color = new stdClass();
459
- $color->name = __('Wheat', $this->textdomain);
460
  $color->url = CF7SKINS_URL . 'css/admin.css';
461
  $color->colors = array( '#EEEEEE', '#E5E5E5', '#E5EAA8', '#DAE193' );
462
  $colors['wheat'] = $color;
463
 
464
  // Ocean color scheme
465
  $color = new stdClass();
466
- $color->name = __('Ocean', $this->textdomain);
467
  $color->url = CF7SKINS_URL . 'css/admin.css';
468
  $color->colors = array( '#ECF7FB', '#CDE8F1', '#D6F9C1', '#C2F0A5' );
469
  $colors['ocean'] = $color;
16
  private $options;
17
 
18
  // Define class variables
19
+ var $tabs, $section, $fields, $slug;
20
 
21
  /**
22
  * Class constructor
30
  */
31
  function __construct() {
32
  $this->slug = CF7SKINS_OPTIONS;
 
33
 
34
  $this->section = isset( $_GET['tab'] ) ? sanitize_text_field( $_GET['tab'] ) : 'advanced';
35
  $this->options = get_option( $this->slug );
53
 
54
  // Apply filter to allow other functions to add tabs
55
  $this->tabs = apply_filters( 'cf7skins_setting_tabs', array(
56
+ /* 'general' => __( 'General', 'contact-form-7-skins' ), */
57
+ 'advanced' => __( 'Options', 'contact-form-7-skins' ),
58
+ 'add-ons' => __( 'Add-ons', 'contact-form-7-skins' ),
59
+ 'getting-started' => __( 'Getting Started', 'contact-form-7-skins' )
60
  ) );
61
 
62
  // Add the submenu page under the CF7 page
63
  $page = add_submenu_page( 'wpcf7',
64
+ __( 'CF7 Skins Settings', 'contact-form-7-skins' ),
65
+ __( 'CF7 Skins Settings', 'contact-form-7-skins' ), 'manage_options', 'cf7skins', array( $this, 'create_settings' ) );
66
 
67
  // Display our admin scripts
68
  add_action( 'admin_print_scripts-' . $page, array( &$this, 'enqueue_script' ) );
104
  ?>
105
  <div id="cf7skins-settings" class="wrap">
106
  <?php //echo '<pre style="font-size:10px;line-height:10px;">'. print_r( $this->options, true ) .'</pre>'; ?>
107
+ <h2><?php _e( 'CF7 Skins Settings', 'contact-form-7-skins' ); ?></h2><br />
108
  <h2 class="nav-tab-wrapper">
109
  <?php
110
  foreach( $this->tabs as $tab => $name ) {
131
  */
132
  do_action( "cf7skins_section_{$this->section}" );
133
 
134
+ submit_button( __( 'Save Changes', 'contact-form-7-skins' ) );
135
  ?>
136
  </form>
137
  </div>
177
  $fields = apply_filters( 'cf7skins_setting_fields', array(
178
  'add_asterisk' => array( // @since 2.1.3
179
  'section' => 'advanced',
180
+ 'label' => __( 'Asterisk', 'contact-form-7-skins' ),
181
  'type' => 'checkbox',
182
  'default' => true,
183
+ 'detail' => __( 'Add asterisk to required fields.', 'contact-form-7-skins' ),
184
  ),
185
  'color_scheme' => array(
186
  'section' => 'advanced',
187
+ 'label' => __( 'Admin Color Scheme', 'contact-form-7-skins' ),
188
  'type' => 'color-scheme',
189
  'default' => 'default',
190
+ 'description' => __( 'Select color scheme for CF7 Skins admin interface. (WP Admin only not form colors) ', 'contact-form-7-skins' ),
191
  ),
192
  /*'custom' => array(
193
  'section' => 'advanced',
194
+ 'label' => __( 'Custom Styles & Scripts', 'contact-form-7-skins' ),
195
  'type' => 'textarea',
196
+ 'description' => __( 'Print your custom scripts or styles with the tag to push to the wp_head().', 'contact-form-7-skins' ),
197
  ),
198
  'enqueue_styles' => array(
199
  'section' => 'advanced',
200
+ 'label' => __( 'Enqueue Styles', 'contact-form-7-skins' ),
201
  'type' => 'checkbox',
202
  'default' => array(),
203
  'detail' => $styles,
204
+ 'description' => __( 'Enqueue selected styles for whole site pages header.', 'contact-form-7-skins' ),
205
  ),
206
 
207
  'cf7_stylesheet_dependency' => array(
208
  'section' => 'advanced',
209
+ 'label' => __( 'Stylesheet Dependency', 'contact-form-7-skins' ),
210
  'type' => 'checkbox',
211
  'default' => false,
212
+ 'detail' => __( 'Remove CF7 default CSS stylesheet dependency.', 'contact-form-7-skins' ),
213
  ),
214
  'display_log' => array(
215
  'section' => 'advanced',
216
+ 'label' => __( 'Display Log', 'contact-form-7-skins' ),
217
  'type' => 'checkbox',
218
  'default' => false,
219
+ 'detail' => __( 'Displays plugin log tab.', 'contact-form-7-skins' ),
220
  ),
221
  */
222
  'export' => array( /* @since 2.1.3 */
223
  'section' => 'advanced',
224
+ 'label' => __( 'Export Form', 'contact-form-7-skins' ),
225
  'type' => 'checkbox',
226
  'default' => false,
227
+ 'detail' => __( 'Enable export of individual CF7 Skins form.', 'contact-form-7-skins' ),
228
  ),
229
  'delete_data' => array(
230
  'section' => 'advanced',
231
+ 'label' => __( 'Delete Settings', 'contact-form-7-skins' ),
232
  'type' => 'checkbox',
233
  'default' => false,
234
+ 'detail' => __( 'Remove all plugin data on plugin deletion.', 'contact-form-7-skins' ),
235
  ),
236
  ) );
237
 
238
  $this->fields = $fields; // @since 0.5.0 set class object
239
 
240
+ // add_settings_field( 'color_scheme', __('Color Scheme', 'contact-form-7-skins'), array( $this, 'setting_field' ), $this->slug, 'general', array( 'label_for' => 'color_scheme', 'type' => 'color-scheme', 'default' => true, 'detail' => __('Color Scheme', 'contact-form-7-skins') ) );
241
 
242
  // Set function setting_field () as callback for each field
243
  foreach( $fields as $key => $field ) {
381
 
382
  if ( $status !== false && $status == 'valid' ) {
383
  $deactivate_name = $this->slug . '[' . $id . '_deactivate]';
384
+ echo '<span style="color:green;padding:0 10px;font-size:12px">'. __( 'active', 'contact-form-7-skins' ) .'</span>';
385
+ echo '<input type="submit" class="button" name="'. esc_attr( $deactivate_name ) . '" value="'. __('Deactivate License','contact-form-7-skins') .'"/>';
386
  } else {
387
  if ( $status == 'invalid' ) {
388
+ echo '<span style="color:red;padding:0 10px;font-size:12px">'. __( 'invalid', 'contact-form-7-skins' ) .'</span>';
389
  }
390
 
391
  $activate_name = $this->slug . '[' . $id . '_activate]';
392
+ echo '&nbsp;<input type="submit" class="button" name="' . esc_attr( $activate_name ) . '" value="'. __('Activate License','contact-form-7-skins') .'"/>';
393
  }
394
 
395
  } else { // license key is not exist or broken
397
  esc_attr( $id ), isset( $this->options[$id] ) ? esc_attr( $this->options[$id] ) : '', esc_attr( $type ) );
398
 
399
  $activate_name = $this->slug . '[' . $id . '_activate]';
400
+ echo '&nbsp;<input type="submit" class="button" name="' . esc_attr( $activate_name ) . '" value="'. __('Activate License','contact-form-7-skins') .'"/>';
401
  }
402
 
403
  break;
448
 
449
  // Default color scheme
450
  $color = new stdClass();
451
+ $color->name = __('Default', 'contact-form-7-skins');
452
  $color->url = CF7SKINS_URL . 'css/admin.css';
453
  $color->colors = array( '#94B2CE', '#C4D9EE', '#70A74A', '#C9F4B0' );
454
  $colors['default'] = $color;
455
 
456
  // Wheat color scheme
457
  $color = new stdClass();
458
+ $color->name = __('Wheat', 'contact-form-7-skins');
459
  $color->url = CF7SKINS_URL . 'css/admin.css';
460
  $color->colors = array( '#EEEEEE', '#E5E5E5', '#E5EAA8', '#DAE193' );
461
  $colors['wheat'] = $color;
462
 
463
  // Ocean color scheme
464
  $color = new stdClass();
465
+ $color->name = __('Ocean', 'contact-form-7-skins');
466
  $color->url = CF7SKINS_URL . 'css/admin.css';
467
  $color->colors = array( '#ECF7FB', '#CDE8F1', '#D6F9C1', '#C2F0A5' );
468
  $colors['ocean'] = $color;
includes/skin.php CHANGED
@@ -22,7 +22,7 @@ if ( class_exists( 'CF7_Skin' ) ) {
22
  class CF7_Skin {
23
 
24
  // Class variables
25
- var $name, $version, $textdomain;
26
 
27
  /**
28
  * Class constructor
@@ -33,7 +33,6 @@ class CF7_Skin {
33
  // Set class variables
34
  $this->name = CF7SKINS_OPTIONS;
35
  $this->version = CF7SKINS_VERSION;
36
- $this->textdomain = CF7SKINS_TEXTDOMAIN;
37
  }
38
 
39
 
@@ -123,8 +122,8 @@ class CF7_Skin {
123
  $templates = CF7_Skin_Template::cf7s_get_template_list();
124
  $template_name = isset( $templates[$template] ) ?
125
  $templates[$template]['details']['Template Name'] :
126
- sprintf( __( "%s-missing", CF7SKINS_TEXTDOMAIN ), $template ) .
127
- '<span class="help balloon-hover balloon" title="'. __( 'Selected CF7 Skins Template is not available', CF7SKINS_TEXTDOMAIN ) .'">?</span>';
128
  }
129
 
130
  // Get style name
@@ -132,8 +131,8 @@ class CF7_Skin {
132
  $styles = CF7_Skin_Style::cf7s_get_style_list();
133
  $style_name = isset( $styles[$style] ) ?
134
  $styles[$style]['details']['Style Name'] :
135
- sprintf( __( "%s-missing", CF7SKINS_TEXTDOMAIN ), $style ) .
136
- '<span class="help balloon-hover balloon" title="'. __( 'Selected CF7 Skins Style is not available', CF7SKINS_TEXTDOMAIN ) .'">?</span>';
137
  }
138
 
139
  switch ($skin) {
22
  class CF7_Skin {
23
 
24
  // Class variables
25
+ var $name, $version;
26
 
27
  /**
28
  * Class constructor
33
  // Set class variables
34
  $this->name = CF7SKINS_OPTIONS;
35
  $this->version = CF7SKINS_VERSION;
 
36
  }
37
 
38
 
122
  $templates = CF7_Skin_Template::cf7s_get_template_list();
123
  $template_name = isset( $templates[$template] ) ?
124
  $templates[$template]['details']['Template Name'] :
125
+ sprintf( __( "%s-missing", 'contact-form-7-skins' ), $template ) .
126
+ '<span class="help balloon-hover balloon" title="'. __( 'Selected CF7 Skins Template is not available', 'contact-form-7-skins' ) .'">?</span>';
127
  }
128
 
129
  // Get style name
131
  $styles = CF7_Skin_Style::cf7s_get_style_list();
132
  $style_name = isset( $styles[$style] ) ?
133
  $styles[$style]['details']['Style Name'] :
134
+ sprintf( __( "%s-missing", 'contact-form-7-skins' ), $style ) .
135
+ '<span class="help balloon-hover balloon" title="'. __( 'Selected CF7 Skins Style is not available', 'contact-form-7-skins' ) .'">?</span>';
136
  }
137
 
138
  switch ($skin) {
includes/style-instructions.php CHANGED
@@ -8,10 +8,10 @@
8
  * @since 0.2.0
9
  */
10
  ?>
11
- <?php _e( 'Click <strong>Expanded View</strong> for more information on the color and formatting used, and what this style looks like applied to all types of Contact Form 7 form fields.', CF7SKINS_TEXTDOMAIN ); ?>
12
 
13
- <?php _e( 'To choose this <strong>Style</strong> click <strong>Select</strong>.', CF7SKINS_TEXTDOMAIN ); ?>
14
 
15
- <?php _e( 'You can move on to choosing a <strong>Template</strong> or, if you already have a template, scroll up to the top of the page and click the <strong>Save</strong> button.', CF7SKINS_TEXTDOMAIN ); ?>
16
 
17
- <a href="http://docs.cf7skins.com/" target="_blank"><?php _e( 'Documentation', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/faq/" target="_blank"><?php _e( 'FAQ', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/category/tutorials/" target="_blank"><?php _e( 'Tutorials', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/" target="_blank"><?php _e( 'Knowledge Base', CF7SKINS_TEXTDOMAIN ); ?></a>
8
  * @since 0.2.0
9
  */
10
  ?>
11
+ <?php _e( 'Click <strong>Expanded View</strong> for more information on the color and formatting used, and what this style looks like applied to all types of Contact Form 7 form fields.', 'contact-form-7-skins' ); ?>
12
 
13
+ <?php _e( 'To choose this <strong>Style</strong> click <strong>Select</strong>.', 'contact-form-7-skins' ); ?>
14
 
15
+ <?php _e( 'You can move on to choosing a <strong>Template</strong> or, if you already have a template, scroll up to the top of the page and click the <strong>Save</strong> button.', 'contact-form-7-skins' ); ?>
16
 
17
+ <a href="http://docs.cf7skins.com/" target="_blank"><?php _e( 'Documentation', 'contact-form-7-skins' ); ?></a> | <a href="http://kb.cf7skins.com/faq/" target="_blank"><?php _e( 'FAQ', 'contact-form-7-skins' ); ?></a> | <a href="http://kb.cf7skins.com/category/tutorials/" target="_blank"><?php _e( 'Tutorials', 'contact-form-7-skins' ); ?></a> | <a href="http://kb.cf7skins.com/" target="_blank"><?php _e( 'Knowledge Base', 'contact-form-7-skins' ); ?></a>
includes/style.php CHANGED
@@ -143,44 +143,44 @@ class CF7_Skin_Style extends CF7_Skin {
143
  function filter_tags() {
144
  $filter_tags = array(
145
 
146
- __( 'Colors', $this->textdomain ) => array (
147
- 'black' => __( 'Black', $this->textdomain ),
148
- 'brown' => __( 'Brown', $this->textdomain ),
149
- 'gray' => __( 'Gray', $this->textdomain ),
150
- 'green' => __( 'Green', $this->textdomain ),
151
- 'orange' => __( 'Orange', $this->textdomain ),
152
- 'pink' => __( 'Pink', $this->textdomain ),
153
- 'purple' => __( 'Purple', $this->textdomain ),
154
- 'red' => __( 'Red', $this->textdomain ),
155
- 'silver' => __( 'Silver', $this->textdomain ),
156
- 'tan' => __( 'Tan', $this->textdomain ),
157
- 'white' => __( 'White', $this->textdomain ),
158
- 'yellow' => __( 'Yellow', $this->textdomain ),
159
- 'dark' => __( 'Dark', $this->textdomain ),
160
- 'light' => __( 'Light', $this->textdomain ),
161
  ),
162
 
163
- __( 'Layout', $this->textdomain ) => array (
164
- 'fixed-layout' => __( 'Fixed Layout', $this->textdomain ),
165
- 'fluid-layout' => __( 'Fluid Layout', $this->textdomain ),
166
- 'responsive-layout' => __( 'Responsive Layout', $this->textdomain ),
167
- 'one-column' => __( 'One Column', $this->textdomain ),
168
- 'one-two-columns' => __( 'One or Two Column', $this->textdomain ),
169
- 'one-two-three-columns' => __( 'One, Two or Three Column', $this->textdomain ),
170
  ),
171
 
172
- __( 'Features', $this->textdomain ) => array (
173
- 'Fieldsets' => __( 'Fieldsets', $this->textdomain ),
174
- 'Background' => __( 'Background', $this->textdomain ),
175
- 'Gradients' => __( 'Gradients', $this->textdomain ),
176
  ),
177
 
178
- __( 'Subject', $this->textdomain ) => array (
179
- 'business' => __( 'Business', $this->textdomain ),
180
- 'event' => __( 'Event', $this->textdomain ),
181
- 'holiday' => __( 'Holiday', $this->textdomain ),
182
- 'individual' => __( 'Individual', $this->textdomain ),
183
- 'seasonal' => __( 'Seasonal', $this->textdomain ),
184
  )
185
  );
186
 
@@ -200,20 +200,20 @@ class CF7_Skin_Style extends CF7_Skin {
200
  ?>
201
  <div class="theme-navigation theme-install-php">
202
  <span class="theme-count"><?php echo count( $this->cf7s_get_style_list() ); ?></span>
203
- <a class="theme-section skin-sort current balloon" href="#" data-sort="all" title="<?php _e( 'All available Styles', $this->textdomain ); ?>"><?php _e('All', $this->textdomain); ?></a>
204
- <a class="theme-section skin-sort balloon" href="#" data-sort="featured" title="<?php _e( 'Selected by the CF7 Skins team', $this->textdomain ); ?>"><?php _e('Featured', $this->textdomain); ?></a>
205
- <a class="theme-section skin-sort balloon" href="#" data-sort="popular" title="<?php _e( 'Commonly used', $this->textdomain ); ?>"><?php _e('Popular', $this->textdomain); ?></a>
206
- <a class="theme-section skin-sort balloon" href="#" data-sort="new" title="<?php _e( 'Recently added', $this->textdomain ); ?>"><?php _e('Latest', $this->textdomain); ?></a>
207
 
208
  <div class="theme-top-filters">
209
  <?php if( CF7SKINS_FEATURE_FILTER ) : ?>
210
- <a class="more-filters balloon" title="<?php _e( 'Narrow your choices based on your specific requirements', $this->textdomain ); ?>" href="#">Feature Filter</a>
211
  <?php endif; ?>
212
  </div>
213
 
214
  <div class="more-filters-container">
215
- <a class="apply-filters button button-secondary balloon" href="#" title="<?php _e('Check all the boxes that meet your specific requirements and then click apply filters.', $this->textdomain); ?>"><?php _e('Apply Filters', $this->textdomain); ?><span></span></a>
216
- <a class="clear-filters button button-secondary balloon" href="#"><?php _e('Clear', $this->textdomain); ?></a>
217
  <br class="clear">
218
 
219
  <?php
@@ -238,23 +238,23 @@ class CF7_Skin_Style extends CF7_Skin {
238
  }
239
  ?>
240
  <div class="filtering-by filtered-by">
241
- <span><?php _e('Filtering by:', $this->textdomain); ?></span>
242
  <div class="tags"></div>
243
- <a href="#"><?php _e('Edit', $this->textdomain); ?></a>
244
  </div>
245
  </div>
246
 
247
  <div class="skins-sort">
248
- <label class="balloon" for="skins-sort" title="<?php _e( 'Sort by Name, Date and License (free or pro) – use arrow to reverse sort order', $this->textdomain ); ?>"><?php _e('Sort by', $this->textdomain); ?></label>
249
  <select class="sort-by balloon" name="sort-by" title="" autocomplete="off">
250
- <option value="name" selected="selected"><?php _e( 'Name', $this->textdomain ); ?></option>
251
- <option value="date"><?php _e( 'Date', $this->textdomain ); ?></option>
252
- <option value="license"><?php _e( 'License', $this->textdomain ); ?></option>
253
  </select>
254
  <a href="javascript:void(0)" class="dashicons dashicons-arrow-down-alt"></a>
255
  </div>
256
- <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Styles', $this->textdomain); ?></label>
257
- <input type="search" class="theme-search skins-search" id="theme-search-input" placeholder="<?php _e('Search styles...', $this->textdomain); ?>" />
258
  </div>
259
 
260
  <div class="skin-list wp-clearfix">
@@ -284,35 +284,35 @@ class CF7_Skin_Style extends CF7_Skin {
284
  <div class="filter-count"><span class="count"><?php echo count( $this->cf7s_get_style_list() ); ?></span></div>
285
 
286
  <ul class="filter-links">
287
- <li><a class="theme-section skin-sort current balloon" href="#" data-sort="all" title="<?php _e( 'All available Styles', $this->textdomain ); ?>"><?php _e('All', $this->textdomain); ?></a></li>
288
- <li><a class="theme-section skin-sort balloon" href="#" data-sort="featured" title="<?php _e( 'Selected by the CF7 Skins team', $this->textdomain ); ?>"><?php _e('Featured', $this->textdomain); ?></a></li>
289
- <li><a class="theme-section skin-sort balloon" href="#" data-sort="popular" title="<?php _e( 'Commonly used', $this->textdomain ); ?>"><?php _e('Popular', $this->textdomain); ?></a></li>
290
- <li><a class="theme-section skin-sort balloon" href="#" data-sort="new" title="<?php _e( 'Recently added', $this->textdomain ); ?>"><?php _e('Latest', $this->textdomain); ?></a></li>
291
  </ul>
292
 
293
  <div class="selected-skin">
294
- <span class="selected-template"><?php _e( 'Template', CF7SKINS_TEXTDOMAIN ); ?>: [<span><?php echo esc_attr( $this->get_skin_name( 'template' ) ); ?></span>]</span>
295
- <span class="selected-style"><?php _e( 'Style', CF7SKINS_TEXTDOMAIN ); ?>: [<span><?php echo esc_attr( $this->get_skin_name( 'style' ) ); ?></span>]</span>
296
  </div>
297
 
298
  <?php if( CF7SKINS_FEATURE_FILTER ) : ?>
299
- <a class="drawer-toggle balloon" title="<?php _e( 'Narrow your choices based on your specific requirements', $this->textdomain ); ?>" href="#">
300
- <?php _e('Feature Filter', $this->textdomain); ?>
301
  </a>
302
  <?php endif; ?>
303
 
304
  <div class="search-form">
305
- <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Styles', $this->textdomain); ?></label>
306
- <input type="search" class="theme-search skins-search" id="theme-search-input" placeholder="<?php _e('Search styles...', $this->textdomain); ?>" />
307
  </div>
308
 
309
  <div class="filter-drawer">
310
  <div class="buttons">
311
- <a class="apply-filters button button-secondary balloon" href="#" title="<?php _e('Check all the boxes that meet your specific requirements and then click apply filters.', $this->textdomain); ?>">
312
- <?php _e('Apply Filters', $this->textdomain); ?>
313
  <span></span>
314
  </a>
315
- <a class="clear-filters button button-secondary balloon" href="#"><?php _e('Clear', $this->textdomain); ?></a>
316
  </div>
317
 
318
  <?php
@@ -335,20 +335,20 @@ class CF7_Skin_Style extends CF7_Skin {
335
  }
336
  ?>
337
  <div class="filtered-by">
338
- <span><?php _e('Filtering by:', $this->textdomain); ?></span>
339
  <div class="tags"></div>
340
- <a href="#"><?php _e('Edit', $this->textdomain); ?></a>
341
  </div>
342
  </div>
343
 
344
  <div class="skins-sort">
345
- <label class="balloon" for="skins-sort" title="<?php _e( 'Sort by Name, Date and License (free or pro) – use arrow to reverse sort order', $this->textdomain ); ?>">
346
- <?php _e('Sort by', $this->textdomain); ?>
347
  </label>
348
  <select class="sort-by balloon" name="sort-by" title="" autocomplete="off">
349
- <option value="name" selected="selected"><?php _e( 'Name', $this->textdomain ); ?></option>
350
- <option value="date"><?php _e( 'Date', $this->textdomain ); ?></option>
351
- <option value="license"><?php _e( 'License', $this->textdomain ); ?></option>
352
  </select>
353
  <a href="javascript:void(0)" class="dashicons dashicons-arrow-down-alt"></a>
354
  </div>
@@ -386,7 +386,7 @@ class CF7_Skin_Style extends CF7_Skin {
386
 
387
  foreach( $styles as $key => $style ) {
388
  $class = $style['dir'] == get_post_meta( $id, 'cf7s_style', true ) ? ' selected' : '';
389
- $select_text = $style['dir'] == get_post_meta( $id, 'cf7s_style', true ) ? __( 'Selected', $this->textdomain ) : __( 'Select', $this->textdomain );
390
 
391
  $skin_class = $style['dir'] == get_post_meta( $id, 'cf7s_style', true ) ? 'skin skin-selected' : 'skin';
392
  $style_date = explode( "//", $style['details']['Version Date'] );
@@ -406,8 +406,8 @@ class CF7_Skin_Style extends CF7_Skin {
406
  <img src="<?php echo file_exists( $imgpath ) ? esc_url( $imgurl ) : CF7SKINS_URL . 'images/no-preview.png'; ?>" />
407
  </div>
408
  <ul class="wp-clearfix skin-action">
409
- <li><a class="select<?php echo esc_attr( $class ); ?> balloon" title="<?php _e( 'Select to apply the Style to your form - is applied to your form once you Save.',$this->textdomain ); ?>" data-value="<?php $this->get_slug_name( $style ); ?>" href="#cf7s-style"><?php echo esc_attr( $select_text ); ?></a></li>
410
- <li><a class="detail balloon" title="<?php _e( 'Show detailed information about this Style - overview of the appearance and layout with description and usage details.' ,$this->textdomain ); ?>" href="#<?php $this->get_slug_name( $style ); ?>"><?php _e('Details', $this->textdomain ); ?></a></li>
411
  </ul>
412
  </div>
413
  </div>
@@ -427,7 +427,7 @@ class CF7_Skin_Style extends CF7_Skin {
427
  function cf7s_details_view( $style ) {
428
  global $themes_allowedtags;
429
  $class = $style['dir'] == get_post_meta( $this->get_id(), 'cf7s_style', true ) ? ' selected' : ''; // set link class
430
- $select_text = $style['dir'] == get_post_meta( $this->get_id(), 'cf7s_style', true ) ? __('Selected', $this->textdomain) : __('Select', $this->textdomain);
431
  ?>
432
  <div id="<?php esc_attr( $this->get_slug_name( $style ) ); ?>" class="details hidden">
433
  <div class="details-view">
@@ -436,26 +436,26 @@ class CF7_Skin_Style extends CF7_Skin {
436
  </div>
437
  <div class="block-details"><div>
438
  <ul class="wp-clearfix skin-action">
439
- <li><a class="balloon view" data-value="<?php esc_attr( $this->get_slug_name( $style ) ); ?>" href="#cf7s-style" title="<?php _e( 'Use Expanded View to view Styles features - shows all form fields available in Contact Form 7.', $this->textdomain ); ?>"><?php _e('Expanded View', $this->textdomain ); ?></a></li>
440
- <li><a class="balloon select<?php echo esc_attr( $class ); ?>" data-value="<?php esc_attr( $this->get_slug_name( $style ) ); ?>" href="#cf7s-style" title="<?php _e( 'Select to apply the Style to your form - is applied to your form once you Save.', $this->textdomain ); ?>"><?php echo esc_attr( $select_text ); ?></a></li>
441
- <li><a class="balloon close" href="#" title="<?php _e( 'Return to Style Gallery/Grid view.', $this->textdomain ); ?>"><?php _e('Close', $this->textdomain ); ?></a></li>
442
  </ul>
443
  <?php // print_r( $style ); ?>
444
  <h1><?php echo esc_attr( $style['details']['Style Name'] ); ?></h1>
445
 
446
- <h4><strong><?php _e('Description', $this->textdomain ); ?></strong></h4>
447
  <p class="description"><?php echo wp_kses( $style['details']['Description'], $themes_allowedtags ); ?></p>
448
 
449
- <h4><strong><?php _e('Instructions', $this->textdomain ); ?></strong></h4>
450
  <p class="description"><?php echo wp_kses( $style['details']['Instructions'], $themes_allowedtags ); ?></p>
451
  </div></div>
452
  </div>
453
 
454
  <div class="expanded-view">
455
  <ul class="wp-clearfix skin-action">
456
- <li><a class="balloon view" data-value="<?php esc_attr( $this->get_slug_name( $style ) ); ?>" href="#cf7s-style" title="<?php _e( 'Return to Details View', $this->textdomain ); ?>"><?php _e('Details View', $this->textdomain ); ?></a></li>
457
- <li><a class="balloon select<?php echo esc_attr( $class ); ?>" data-value="<?php esc_attr( $this->get_slug_name( $style ) ); ?>" href="#cf7s-style" title="<?php _e( 'Select to apply the Style to your form - is applied to your form once you Save', $this->textdomain ); ?>"><?php echo esc_attr( $select_text ); ?></a></li>
458
- <li><a class="balloon close" href="#" title="<?php _e( 'Return to Style Gallery/Grid View', $this->textdomain ); ?>"><?php _e('Close', $this->textdomain ); ?></a></li>
459
  </ul>
460
 
461
  <h1><?php echo esc_attr( $style['details']['Style Name'] ); ?></h1>
@@ -463,10 +463,10 @@ class CF7_Skin_Style extends CF7_Skin {
463
  <div class="large-thumbnail">
464
  <img src="<?php echo esc_attr( $this->get_skin_modal( $style ) ); ?>" />
465
  </div>
466
- <h4><strong><?php _e('Description', $this->textdomain ); ?></strong></h4>
467
  <p class="description"><?php echo wp_kses( $style['details']['Description'], $themes_allowedtags ); ?></p>
468
 
469
- <h4><strong><?php _e('Instructions', $this->textdomain ); ?></strong></h4>
470
  <p class="description"><?php echo wp_kses( $style['details']['Instructions'], $themes_allowedtags ); ?></p>
471
  </div>
472
  </div>
@@ -486,9 +486,9 @@ class CF7_Skin_Style extends CF7_Skin {
486
  return array ( 'style' => array(
487
  'name' => 'style',
488
  'order' => 4,
489
- 'label' => __( 'Style', CF7SKINS_TEXTDOMAIN ),
490
- 'note' => __( 'Styles are pre-created designs (CSS code) that are automatically applied to your entire form. They cover all standard Contact Form 7 elements.', CF7SKINS_TEXTDOMAIN ),
491
- 'help' => __( 'Select a style that aligns with your site’s design. To see the style applied, save and go to the page that has the form. To change the style, select another any time.', CF7SKINS_TEXTDOMAIN )
492
  ) ) + $tabs;
493
  }
494
 
143
  function filter_tags() {
144
  $filter_tags = array(
145
 
146
+ __( 'Colors', 'contact-form-7-skins' ) => array (
147
+ 'black' => __( 'Black', 'contact-form-7-skins' ),
148
+ 'brown' => __( 'Brown', 'contact-form-7-skins' ),
149
+ 'gray' => __( 'Gray', 'contact-form-7-skins' ),
150
+ 'green' => __( 'Green', 'contact-form-7-skins' ),
151
+ 'orange' => __( 'Orange', 'contact-form-7-skins' ),
152
+ 'pink' => __( 'Pink', 'contact-form-7-skins' ),
153
+ 'purple' => __( 'Purple', 'contact-form-7-skins' ),
154
+ 'red' => __( 'Red', 'contact-form-7-skins' ),
155
+ 'silver' => __( 'Silver', 'contact-form-7-skins' ),
156
+ 'tan' => __( 'Tan', 'contact-form-7-skins' ),
157
+ 'white' => __( 'White', 'contact-form-7-skins' ),
158
+ 'yellow' => __( 'Yellow', 'contact-form-7-skins' ),
159
+ 'dark' => __( 'Dark', 'contact-form-7-skins' ),
160
+ 'light' => __( 'Light', 'contact-form-7-skins' ),
161
  ),
162
 
163
+ __( 'Layout', 'contact-form-7-skins' ) => array (
164
+ 'fixed-layout' => __( 'Fixed Layout', 'contact-form-7-skins' ),
165
+ 'fluid-layout' => __( 'Fluid Layout', 'contact-form-7-skins' ),
166
+ 'responsive-layout' => __( 'Responsive Layout', 'contact-form-7-skins' ),
167
+ 'one-column' => __( 'One Column', 'contact-form-7-skins' ),
168
+ 'one-two-columns' => __( 'One or Two Column', 'contact-form-7-skins' ),
169
+ 'one-two-three-columns' => __( 'One, Two or Three Column', 'contact-form-7-skins' ),
170
  ),
171
 
172
+ __( 'Features', 'contact-form-7-skins' ) => array (
173
+ 'Fieldsets' => __( 'Fieldsets', 'contact-form-7-skins' ),
174
+ 'Background' => __( 'Background', 'contact-form-7-skins' ),
175
+ 'Gradients' => __( 'Gradients', 'contact-form-7-skins' ),
176
  ),
177
 
178
+ __( 'Subject', 'contact-form-7-skins' ) => array (
179
+ 'business' => __( 'Business', 'contact-form-7-skins' ),
180
+ 'event' => __( 'Event', 'contact-form-7-skins' ),
181
+ 'holiday' => __( 'Holiday', 'contact-form-7-skins' ),
182
+ 'individual' => __( 'Individual', 'contact-form-7-skins' ),
183
+ 'seasonal' => __( 'Seasonal', 'contact-form-7-skins' ),
184
  )
185
  );
186
 
200
  ?>
201
  <div class="theme-navigation theme-install-php">
202
  <span class="theme-count"><?php echo count( $this->cf7s_get_style_list() ); ?></span>
203
+ <a class="theme-section skin-sort current balloon" href="#" data-sort="all" title="<?php _e( 'All available Styles', 'contact-form-7-skins' ); ?>"><?php _e('All', 'contact-form-7-skins'); ?></a>
204
+ <a class="theme-section skin-sort balloon" href="#" data-sort="featured" title="<?php _e( 'Selected by the CF7 Skins team', 'contact-form-7-skins' ); ?>"><?php _e('Featured', 'contact-form-7-skins'); ?></a>
205
+ <a class="theme-section skin-sort balloon" href="#" data-sort="popular" title="<?php _e( 'Commonly used', 'contact-form-7-skins' ); ?>"><?php _e('Popular', 'contact-form-7-skins'); ?></a>
206
+ <a class="theme-section skin-sort balloon" href="#" data-sort="new" title="<?php _e( 'Recently added', 'contact-form-7-skins' ); ?>"><?php _e('Latest', 'contact-form-7-skins'); ?></a>
207
 
208
  <div class="theme-top-filters">
209
  <?php if( CF7SKINS_FEATURE_FILTER ) : ?>
210
+ <a class="more-filters balloon" title="<?php _e( 'Narrow your choices based on your specific requirements', 'contact-form-7-skins' ); ?>" href="#">Feature Filter</a>
211
  <?php endif; ?>
212
  </div>
213
 
214
  <div class="more-filters-container">
215
+ <a class="apply-filters button button-secondary balloon" href="#" title="<?php _e('Check all the boxes that meet your specific requirements and then click apply filters.', 'contact-form-7-skins'); ?>"><?php _e('Apply Filters', 'contact-form-7-skins'); ?><span></span></a>
216
+ <a class="clear-filters button button-secondary balloon" href="#"><?php _e('Clear', 'contact-form-7-skins'); ?></a>
217
  <br class="clear">
218
 
219
  <?php
238
  }
239
  ?>
240
  <div class="filtering-by filtered-by">
241
+ <span><?php _e('Filtering by:', 'contact-form-7-skins'); ?></span>
242
  <div class="tags"></div>
243
+ <a href="#"><?php _e('Edit', 'contact-form-7-skins'); ?></a>
244
  </div>
245
  </div>
246
 
247
  <div class="skins-sort">
248
+ <label class="balloon" for="skins-sort" title="<?php _e( 'Sort by Name, Date and License (free or pro) – use arrow to reverse sort order', 'contact-form-7-skins' ); ?>"><?php _e('Sort by', 'contact-form-7-skins'); ?></label>
249
  <select class="sort-by balloon" name="sort-by" title="" autocomplete="off">
250
+ <option value="name" selected="selected"><?php _e( 'Name', 'contact-form-7-skins' ); ?></option>
251
+ <option value="date"><?php _e( 'Date', 'contact-form-7-skins' ); ?></option>
252
+ <option value="license"><?php _e( 'License', 'contact-form-7-skins' ); ?></option>
253
  </select>
254
  <a href="javascript:void(0)" class="dashicons dashicons-arrow-down-alt"></a>
255
  </div>
256
+ <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Styles', 'contact-form-7-skins'); ?></label>
257
+ <input type="search" class="theme-search skins-search" id="theme-search-input" placeholder="<?php _e('Search styles...', 'contact-form-7-skins'); ?>" />
258
  </div>
259
 
260
  <div class="skin-list wp-clearfix">
284
  <div class="filter-count"><span class="count"><?php echo count( $this->cf7s_get_style_list() ); ?></span></div>
285
 
286
  <ul class="filter-links">
287
+ <li><a class="theme-section skin-sort current balloon" href="#" data-sort="all" title="<?php _e( 'All available Styles', 'contact-form-7-skins' ); ?>"><?php _e('All', 'contact-form-7-skins'); ?></a></li>
288
+ <li><a class="theme-section skin-sort balloon" href="#" data-sort="featured" title="<?php _e( 'Selected by the CF7 Skins team', 'contact-form-7-skins' ); ?>"><?php _e('Featured', 'contact-form-7-skins'); ?></a></li>
289
+ <li><a class="theme-section skin-sort balloon" href="#" data-sort="popular" title="<?php _e( 'Commonly used', 'contact-form-7-skins' ); ?>"><?php _e('Popular', 'contact-form-7-skins'); ?></a></li>
290
+ <li><a class="theme-section skin-sort balloon" href="#" data-sort="new" title="<?php _e( 'Recently added', 'contact-form-7-skins' ); ?>"><?php _e('Latest', 'contact-form-7-skins'); ?></a></li>
291
  </ul>
292
 
293
  <div class="selected-skin">
294
+ <span class="selected-template"><?php _e( 'Template', 'contact-form-7-skins' ); ?>: [<span><?php echo esc_attr( $this->get_skin_name( 'template' ) ); ?></span>]</span>
295
+ <span class="selected-style"><?php _e( 'Style', 'contact-form-7-skins' ); ?>: [<span><?php echo esc_attr( $this->get_skin_name( 'style' ) ); ?></span>]</span>
296
  </div>
297
 
298
  <?php if( CF7SKINS_FEATURE_FILTER ) : ?>
299
+ <a class="drawer-toggle balloon" title="<?php _e( 'Narrow your choices based on your specific requirements', 'contact-form-7-skins' ); ?>" href="#">
300
+ <?php _e('Feature Filter', 'contact-form-7-skins'); ?>
301
  </a>
302
  <?php endif; ?>
303
 
304
  <div class="search-form">
305
+ <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Styles', 'contact-form-7-skins'); ?></label>
306
+ <input type="search" class="theme-search skins-search" id="theme-search-input" placeholder="<?php _e('Search styles...', 'contact-form-7-skins'); ?>" />
307
  </div>
308
 
309
  <div class="filter-drawer">
310
  <div class="buttons">
311
+ <a class="apply-filters button button-secondary balloon" href="#" title="<?php _e('Check all the boxes that meet your specific requirements and then click apply filters.', 'contact-form-7-skins'); ?>">
312
+ <?php _e('Apply Filters', 'contact-form-7-skins'); ?>
313
  <span></span>
314
  </a>
315
+ <a class="clear-filters button button-secondary balloon" href="#"><?php _e('Clear', 'contact-form-7-skins'); ?></a>
316
  </div>
317
 
318
  <?php
335
  }
336
  ?>
337
  <div class="filtered-by">
338
+ <span><?php _e('Filtering by:', 'contact-form-7-skins'); ?></span>
339
  <div class="tags"></div>
340
+ <a href="#"><?php _e('Edit', 'contact-form-7-skins'); ?></a>
341
  </div>
342
  </div>
343
 
344
  <div class="skins-sort">
345
+ <label class="balloon" for="skins-sort" title="<?php _e( 'Sort by Name, Date and License (free or pro) – use arrow to reverse sort order', 'contact-form-7-skins' ); ?>">
346
+ <?php _e('Sort by', 'contact-form-7-skins'); ?>
347
  </label>
348
  <select class="sort-by balloon" name="sort-by" title="" autocomplete="off">
349
+ <option value="name" selected="selected"><?php _e( 'Name', 'contact-form-7-skins' ); ?></option>
350
+ <option value="date"><?php _e( 'Date', 'contact-form-7-skins' ); ?></option>
351
+ <option value="license"><?php _e( 'License', 'contact-form-7-skins' ); ?></option>
352
  </select>
353
  <a href="javascript:void(0)" class="dashicons dashicons-arrow-down-alt"></a>
354
  </div>
386
 
387
  foreach( $styles as $key => $style ) {
388
  $class = $style['dir'] == get_post_meta( $id, 'cf7s_style', true ) ? ' selected' : '';
389
+ $select_text = $style['dir'] == get_post_meta( $id, 'cf7s_style', true ) ? __( 'Selected', 'contact-form-7-skins' ) : __( 'Select', 'contact-form-7-skins' );
390
 
391
  $skin_class = $style['dir'] == get_post_meta( $id, 'cf7s_style', true ) ? 'skin skin-selected' : 'skin';
392
  $style_date = explode( "//", $style['details']['Version Date'] );
406
  <img src="<?php echo file_exists( $imgpath ) ? esc_url( $imgurl ) : CF7SKINS_URL . 'images/no-preview.png'; ?>" />
407
  </div>
408
  <ul class="wp-clearfix skin-action">
409
+ <li><a class="select<?php echo esc_attr( $class ); ?> balloon" title="<?php _e( 'Select to apply the Style to your form - is applied to your form once you Save.','contact-form-7-skins' ); ?>" data-value="<?php $this->get_slug_name( $style ); ?>" href="#cf7s-style"><?php echo esc_attr( $select_text ); ?></a></li>
410
+ <li><a class="detail balloon" title="<?php _e( 'Show detailed information about this Style - overview of the appearance and layout with description and usage details.' ,'contact-form-7-skins' ); ?>" href="#<?php $this->get_slug_name( $style ); ?>"><?php _e('Details', 'contact-form-7-skins' ); ?></a></li>
411
  </ul>
412
  </div>
413
  </div>
427
  function cf7s_details_view( $style ) {
428
  global $themes_allowedtags;
429
  $class = $style['dir'] == get_post_meta( $this->get_id(), 'cf7s_style', true ) ? ' selected' : ''; // set link class
430
+ $select_text = $style['dir'] == get_post_meta( $this->get_id(), 'cf7s_style', true ) ? __('Selected', 'contact-form-7-skins') : __('Select', 'contact-form-7-skins');
431
  ?>
432
  <div id="<?php esc_attr( $this->get_slug_name( $style ) ); ?>" class="details hidden">
433
  <div class="details-view">
436
  </div>
437
  <div class="block-details"><div>
438
  <ul class="wp-clearfix skin-action">
439
+ <li><a class="balloon view" data-value="<?php esc_attr( $this->get_slug_name( $style ) ); ?>" href="#cf7s-style" title="<?php _e( 'Use Expanded View to view Styles features - shows all form fields available in Contact Form 7.', 'contact-form-7-skins' ); ?>"><?php _e('Expanded View', 'contact-form-7-skins' ); ?></a></li>
440
+ <li><a class="balloon select<?php echo esc_attr( $class ); ?>" data-value="<?php esc_attr( $this->get_slug_name( $style ) ); ?>" href="#cf7s-style" title="<?php _e( 'Select to apply the Style to your form - is applied to your form once you Save.', 'contact-form-7-skins' ); ?>"><?php echo esc_attr( $select_text ); ?></a></li>
441
+ <li><a class="balloon close" href="#" title="<?php _e( 'Return to Style Gallery/Grid view.', 'contact-form-7-skins' ); ?>"><?php _e('Close', 'contact-form-7-skins' ); ?></a></li>
442
  </ul>
443
  <?php // print_r( $style ); ?>
444
  <h1><?php echo esc_attr( $style['details']['Style Name'] ); ?></h1>
445
 
446
+ <h4><strong><?php _e('Description', 'contact-form-7-skins' ); ?></strong></h4>
447
  <p class="description"><?php echo wp_kses( $style['details']['Description'], $themes_allowedtags ); ?></p>
448
 
449
+ <h4><strong><?php _e('Instructions', 'contact-form-7-skins' ); ?></strong></h4>
450
  <p class="description"><?php echo wp_kses( $style['details']['Instructions'], $themes_allowedtags ); ?></p>
451
  </div></div>
452
  </div>
453
 
454
  <div class="expanded-view">
455
  <ul class="wp-clearfix skin-action">
456
+ <li><a class="balloon view" data-value="<?php esc_attr( $this->get_slug_name( $style ) ); ?>" href="#cf7s-style" title="<?php _e( 'Return to Details View', 'contact-form-7-skins' ); ?>"><?php _e('Details View', 'contact-form-7-skins' ); ?></a></li>
457
+ <li><a class="balloon select<?php echo esc_attr( $class ); ?>" data-value="<?php esc_attr( $this->get_slug_name( $style ) ); ?>" href="#cf7s-style" title="<?php _e( 'Select to apply the Style to your form - is applied to your form once you Save', 'contact-form-7-skins' ); ?>"><?php echo esc_attr( $select_text ); ?></a></li>
458
+ <li><a class="balloon close" href="#" title="<?php _e( 'Return to Style Gallery/Grid View', 'contact-form-7-skins' ); ?>"><?php _e('Close', 'contact-form-7-skins' ); ?></a></li>
459
  </ul>
460
 
461
  <h1><?php echo esc_attr( $style['details']['Style Name'] ); ?></h1>
463
  <div class="large-thumbnail">
464
  <img src="<?php echo esc_attr( $this->get_skin_modal( $style ) ); ?>" />
465
  </div>
466
+ <h4><strong><?php _e('Description', 'contact-form-7-skins' ); ?></strong></h4>
467
  <p class="description"><?php echo wp_kses( $style['details']['Description'], $themes_allowedtags ); ?></p>
468
 
469
+ <h4><strong><?php _e('Instructions', 'contact-form-7-skins' ); ?></strong></h4>
470
  <p class="description"><?php echo wp_kses( $style['details']['Instructions'], $themes_allowedtags ); ?></p>
471
  </div>
472
  </div>
486
  return array ( 'style' => array(
487
  'name' => 'style',
488
  'order' => 4,
489
+ 'label' => __( 'Style', 'contact-form-7-skins' ),
490
+ 'note' => __( 'Styles are pre-created designs (CSS code) that are automatically applied to your entire form. They cover all standard Contact Form 7 elements.', 'contact-form-7-skins' ),
491
+ 'help' => __( 'Select a style that aligns with your site’s design. To see the style applied, save and go to the page that has the form. To change the style, select another any time.', 'contact-form-7-skins' )
492
  ) ) + $tabs;
493
  }
494
 
includes/tab.php CHANGED
@@ -118,7 +118,7 @@ class CF7_Skins_Admin_Tab extends CF7_Skins_Admin {
118
  if( $new_templates )
119
  $this->template->templates_list( $new_templates );
120
  else
121
- echo '<p class="no-themes no-skins">'. __( 'No templates found. Try a different search.', CF7SKINS_TEXTDOMAIN ) . '</p>';
122
 
123
  } elseif( strpos( $_POST['tab'], 'style' ) ) { // styles
124
 
@@ -194,7 +194,7 @@ class CF7_Skins_Admin_Tab extends CF7_Skins_Admin {
194
  if( $new_styles )
195
  $this->style->styles_list( $new_styles );
196
  else
197
- echo '<p class="no-themes no-skins">'. __( 'No styles found. Try a different search.', CF7SKINS_TEXTDOMAIN ) . '</p>';
198
  }
199
 
200
  exit();
@@ -248,8 +248,8 @@ class CF7_Skins_Admin_Tab extends CF7_Skins_Admin {
248
  </a>
249
  <?php endforeach; ?>
250
 
251
- <a class="nav-tab nav-tab-add-ons" href="#tab-add-ons"><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></a>
252
- <a class="nav-tab nav-tab-getting-started" href="#tab-getting-started"><?php _e( 'Getting Started', CF7SKINS_TEXTDOMAIN ); ?></a>
253
 
254
  </h2>
255
 
118
  if( $new_templates )
119
  $this->template->templates_list( $new_templates );
120
  else
121
+ echo '<p class="no-themes no-skins">'. __( 'No templates found. Try a different search.', 'contact-form-7-skins' ) . '</p>';
122
 
123
  } elseif( strpos( $_POST['tab'], 'style' ) ) { // styles
124
 
194
  if( $new_styles )
195
  $this->style->styles_list( $new_styles );
196
  else
197
+ echo '<p class="no-themes no-skins">'. __( 'No styles found. Try a different search.', 'contact-form-7-skins' ) . '</p>';
198
  }
199
 
200
  exit();
248
  </a>
249
  <?php endforeach; ?>
250
 
251
+ <a class="nav-tab nav-tab-add-ons" href="#tab-add-ons"><?php _e( 'Add-ons', 'contact-form-7-skins' ); ?></a>
252
+ <a class="nav-tab nav-tab-getting-started" href="#tab-getting-started"><?php _e( 'Getting Started', 'contact-form-7-skins' ); ?></a>
253
 
254
  </h2>
255
 
includes/template-instructions.php CHANGED
@@ -8,10 +8,10 @@
8
  * @since 0.2.0
9
  */
10
  ?>
11
- <?php _e( 'Click <strong>Expanded View</strong> for more detailed information about this Template.', CF7SKINS_TEXTDOMAIN ); ?>
12
 
13
- <?php _e( 'To choose this <strong>Template</strong>, click <strong>Select</strong>.', CF7SKINS_TEXTDOMAIN ); ?>
14
 
15
- <?php _e( 'You can move on to choosing a <strong>Style</strong> or, if you already have a style, scroll up to the top of the page and click the <strong>Save</strong> button.', CF7SKINS_TEXTDOMAIN ); ?>
16
 
17
- <a href="http://docs.cf7skins.com/" target="_blank"><?php _e( 'Documentation', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/faq/" target="_blank"><?php _e( 'FAQ', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/category/tutorials/" target="_blank"><?php _e( 'Tutorials', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/" target="_blank"><?php _e( 'Knowledge Base', CF7SKINS_TEXTDOMAIN ); ?></a>
8
  * @since 0.2.0
9
  */
10
  ?>
11
+ <?php _e( 'Click <strong>Expanded View</strong> for more detailed information about this Template.', 'contact-form-7-skins' ); ?>
12
 
13
+ <?php _e( 'To choose this <strong>Template</strong>, click <strong>Select</strong>.', 'contact-form-7-skins' ); ?>
14
 
15
+ <?php _e( 'You can move on to choosing a <strong>Style</strong> or, if you already have a style, scroll up to the top of the page and click the <strong>Save</strong> button.', 'contact-form-7-skins' ); ?>
16
 
17
+ <a href="http://docs.cf7skins.com/" target="_blank"><?php _e( 'Documentation', 'contact-form-7-skins' ); ?></a> | <a href="http://kb.cf7skins.com/faq/" target="_blank"><?php _e( 'FAQ', 'contact-form-7-skins' ); ?></a> | <a href="http://kb.cf7skins.com/category/tutorials/" target="_blank"><?php _e( 'Tutorials', 'contact-form-7-skins' ); ?></a> | <a href="http://kb.cf7skins.com/" target="_blank"><?php _e( 'Knowledge Base', 'contact-form-7-skins' ); ?></a>
includes/template.php CHANGED
@@ -177,26 +177,26 @@ class CF7_Skin_Template extends CF7_Skin {
177
  $filter_tags = array(
178
 
179
  'Layout' => array (
180
- 'fixed-layout' => __( 'Fixed Layout', $this->textdomain ),
181
- 'fluid-layout' => __( 'Fluid Layout', $this->textdomain ),
182
- 'responsive-layout' => __( 'Responsive Layout', $this->textdomain ),
183
- 'one-column' => __( 'One Column', $this->textdomain ),
184
- 'one-two-columns' => __( 'One or Two Column', $this->textdomain ),
185
- 'one-two-three-columns' => __( 'One, Two or Three Column', $this->textdomain ),
186
  ),
187
 
188
  'Features' => array (
189
- 'fieldsets' => __( 'Fieldsets', $this->textdomain ),
190
- 'background' => __( 'Background', $this->textdomain ),
191
- 'gradients' => __( 'Gradients', $this->textdomain ),
192
  ),
193
 
194
  'Subject' => array (
195
- 'business' => __( 'Business', $this->textdomain ),
196
- 'event' => __( 'Event', $this->textdomain ),
197
- 'holiday' => __( 'Holiday', $this->textdomain ),
198
- 'individual' => __( 'Individual', $this->textdomain ),
199
- 'seasonal' => __( 'Seasonal', $this->textdomain ),
200
  )
201
  );
202
 
@@ -216,20 +216,20 @@ class CF7_Skin_Template extends CF7_Skin {
216
  ?>
217
  <div class="theme-navigation theme-install-php">
218
  <span class="theme-count"><?php echo count( $this->cf7s_get_template_list() ); ?></span>
219
- <a class="theme-section skin-sort balloon current" title="<?php _e( 'All available Templates', $this->textdomain ); ?>" href="#" data-sort="all"><?php _e('All', $this->textdomain); ?></a>
220
- <a class="theme-section skin-sort balloon" title="<?php _e( 'Selected by CF7 Skins Team', $this->textdomain ); ?>" href="#" data-sort="featured"><?php _e('Featured', $this->textdomain); ?></a>
221
- <a class="theme-section skin-sort balloon" title="<?php _e( 'Commonly used', $this->textdomain ); ?>" href="#" data-sort="popular"><?php _e('Popular', $this->textdomain); ?></a>
222
- <a class="theme-section skin-sort balloon" title="<?php _e( 'Recently added', $this->textdomain ); ?>" href="#" data-sort="new"><?php _e('Latest', $this->textdomain); ?></a>
223
 
224
  <div class="theme-top-filters">
225
  <?php if( CF7SKINS_FEATURE_FILTER ) : ?>
226
- <a class="more-filters balloon" title="<?php _e( 'Narrow your choices based on your specific requirements', $this->textdomain ); ?>" href="#"><?php _e('Feature Filter', $this->textdomain); ?></a>
227
  <?php endif; ?>
228
  </div>
229
 
230
  <div class="more-filters-container">
231
- <a class="apply-filters button button-secondary" href="#"><?php _e('Apply Filters', $this->textdomain); ?><span></span></a>
232
- <a class="clear-filters button button-secondary" href="#"><?php _e('Clear', $this->textdomain); ?></a>
233
  <br class="clear">
234
 
235
  <?php
@@ -251,23 +251,23 @@ class CF7_Skin_Template extends CF7_Skin {
251
  ?>
252
 
253
  <div class="filtering-by filtered-by">
254
- <span><?php _e('Filtering by:', $this->textdomain); ?></span>
255
  <div class="tags"></div>
256
- <a href="#"><?php _e('Edit', $this->textdomain); ?></a>
257
  </div>
258
  </div>
259
 
260
  <div class="skins-sort">
261
- <label class="balloon" title="<?php _e( 'Sort by Name, Date and License (free or pro) – use arrow to reverse sort order', $this->textdomain ); ?>" for="skins-sort"><?php _e('Sort by', $this->textdomain); ?></label>
262
  <select class="balloon sort-by" name="sort-by" title="" autocomplete="off">
263
- <option value="name" selected="selected"><?php _e( 'Name', $this->textdomain ); ?></option>
264
- <option value="date"><?php _e( 'Date', $this->textdomain ); ?></option>
265
- <option value="license"><?php _e( 'License', $this->textdomain ); ?></option>
266
  </select>
267
  <a href="javascript:void(0)" class="dashicons dashicons-arrow-down-alt"></a>
268
  </div>
269
- <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Templates', $this->textdomain); ?></label>
270
- <input type="search" class="theme-search skins-search" id="theme-search-input" placeholder="<?php _e('Search templates...', $this->textdomain); ?>" />
271
  </div>
272
 
273
  <div class="skin-list wp-clearfix">
@@ -297,30 +297,30 @@ class CF7_Skin_Template extends CF7_Skin {
297
  <div class="filter-count"><span class="count"><?php echo count( $this->cf7s_get_template_list() ); ?></span></div>
298
 
299
  <ul class="filter-links">
300
- <li><a class="theme-section skin-sort balloon current" title="<?php _e( 'All available Templates', $this->textdomain ); ?>" href="#" data-sort="all"><?php _e('All', $this->textdomain); ?></a></li>
301
- <li><a class="theme-section skin-sort balloon" title="<?php _e( 'Selected by CF7 Skins Team', $this->textdomain ); ?>" href="#" data-sort="featured"><?php _e('Featured', $this->textdomain); ?></a></li>
302
- <li><a class="theme-section skin-sort balloon" title="<?php _e( 'Commonly used', $this->textdomain ); ?>" href="#" data-sort="popular"><?php _e('Popular', $this->textdomain); ?></a></li>
303
- <li><a class="theme-section skin-sort balloon" title="<?php _e( 'Recently added', $this->textdomain ); ?>" href="#" data-sort="new"><?php _e('Latest', $this->textdomain); ?></a></li>
304
  </ul>
305
 
306
  <div class="selected-skin">
307
- <span class="selected-template"><?php _e( 'Template', CF7SKINS_TEXTDOMAIN ); ?>: [<span><?php echo esc_attr( $this->get_skin_name( 'template' ) ); ?></span>]</span>
308
- <span class="selected-style"><?php _e( 'Style', CF7SKINS_TEXTDOMAIN ); ?>: [<span><?php echo esc_attr( $this->get_skin_name( 'style' ) ); ?></span>]</span>
309
  </div>
310
 
311
  <?php if( CF7SKINS_FEATURE_FILTER ) : ?>
312
- <a class="drawer-toggle balloon" title="<?php _e( 'Narrow your choices based on your specific requirements', $this->textdomain ); ?>" href="#"><?php _e('Feature Filter', $this->textdomain); ?></a>
313
  <?php endif; ?>
314
 
315
  <div class="search-form">
316
- <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Templates', $this->textdomain); ?></label>
317
- <input type="search" class="theme-search skins-search" id="theme-search-input" placeholder="<?php _e('Search templates...', $this->textdomain); ?>" />
318
  </div>
319
 
320
  <div class="filter-drawer">
321
  <div class="buttons">
322
- <a class="apply-filters button button-secondary" href="#"><?php _e('Apply Filters', $this->textdomain); ?><span></span></a>
323
- <a class="clear-filters button button-secondary" href="#"><?php _e('Clear', $this->textdomain); ?></a>
324
  </div>
325
 
326
  <?php
@@ -340,18 +340,18 @@ class CF7_Skin_Template extends CF7_Skin {
340
  }
341
  ?>
342
  <div class="filtered-by">
343
- <span><?php _e('Filtering by:', $this->textdomain); ?></span>
344
  <div class="tags"></div>
345
- <a href="#"><?php _e('Edit', $this->textdomain); ?></a>
346
  </div>
347
  </div>
348
 
349
  <div class="skins-sort">
350
- <label class="balloon" title="<?php _e( 'Sort by Name, Date and License (free or pro) – use arrow to reverse sort order', $this->textdomain ); ?>" for="skins-sort"><?php _e('Sort by', $this->textdomain); ?></label>
351
  <select class="balloon sort-by" name="sort-by" title="" autocomplete="off">
352
- <option value="name" selected="selected"><?php _e( 'Name', $this->textdomain ); ?></option>
353
- <option value="date"><?php _e( 'Date', $this->textdomain ); ?></option>
354
- <option value="license"><?php _e( 'License', $this->textdomain ); ?></option>
355
  </select>
356
  <a href="javascript:void(0)" class="dashicons dashicons-arrow-down-alt"></a>
357
  </div>
@@ -389,7 +389,7 @@ class CF7_Skin_Template extends CF7_Skin {
389
 
390
  foreach( $templates as $key => $template ) {
391
  $class = $template['dir'] == get_post_meta( $id, 'cf7s_template', true ) ? ' selected' : '';
392
- $select_text = $template['dir'] == get_post_meta( $id, 'cf7s_template', true ) ? __('Selected', $this->textdomain ) : __('Select', $this->textdomain );
393
  $locale = isset( $_GET['locale'] ) ? sanitize_text_field( $_GET['locale'] ) : '';
394
  $post = isset( $_GET['post'] ) ? (int) $_GET['post'] : '';
395
 
@@ -410,8 +410,8 @@ class CF7_Skin_Template extends CF7_Skin {
410
  <img src="<?php echo file_exists( $imgpath ) ? esc_url( $imgurl ) : CF7SKINS_URL . 'images/no-preview.png'; ?>" />
411
  </div>
412
  <ul class="wp-clearfix skin-action">
413
- <li><a class="select<?php echo esc_attr( $class ); ?> balloon" title="<?php _e( 'Select to apply the Template to your form - appears in the form editing area, where you can edit your requirements.',$this->textdomain ); ?>" data-post="<?php echo esc_attr( $post ); ?>" data-locale="<?php echo esc_attr( $locale ); ?>" data-value="<?php esc_attr( $this->get_slug_name( $template ) ); ?>" href="#cf7s-template"><?php echo esc_attr( $select_text ); ?></a></li>
414
- <li><a class="detail balloon" title="<?php _e( 'Show detailed information about this Template, with layout, description and usage details.' ,$this->textdomain ); ?>" href="#tpl-<?php esc_attr( $this->get_slug_name( $template ) ); ?>-detail"><?php _e('Details', $this->textdomain ); ?></a></li>
415
  </ul>
416
  </div>
417
  </div>
@@ -431,7 +431,7 @@ class CF7_Skin_Template extends CF7_Skin {
431
  function cf7s_details_view( $template ) {
432
  global $themes_allowedtags;
433
  $class = $template['dir'] == get_post_meta( $this->get_id(), 'cf7s_template', true ) ? ' selected' : ''; // set link class
434
- $select_text = $template['dir'] == get_post_meta( $this->get_id(), 'cf7s_template', true ) ? __('Selected', $this->textdomain) : __('Select', $this->textdomain);
435
  ?>
436
  <div id="tpl-<?php esc_attr( $this->get_slug_name( $template ) ); ?>-detail" class="details hidden">
437
  <div class="details-view">
@@ -440,26 +440,26 @@ class CF7_Skin_Template extends CF7_Skin {
440
  </div>
441
  <div class="block-details"><div>
442
  <ul class="wp-clearfix skin-action">
443
- <li><a class="balloon view" data-value="<?php esc_attr( $this->get_slug_name( $template ) ); ?>" href="#cf7s-template" title="<?php _e( 'Use Expanded View to view Template features - shows layout, description & usage details.', $this->textdomain ); ?>"><?php _e('Expanded View', $this->textdomain ); ?></a></li>
444
- <li><a class="balloon select<?php echo esc_attr( $class ); ?>" data-value="<?php esc_attr( $this->get_slug_name( $template ) ); ?>" href="#cf7s-template" title="<?php _e( 'Select to apply the Template to your form - appears in the Form Editing area, where you can edit to your requirements.', $this->textdomain ); ?>"><?php echo esc_attr( $select_text ); ?></a></li>
445
- <li><a class="balloon close" href="#" title="<?php _e( 'Return to Template Gallery/Grid view.', $this->textdomain ); ?>"><?php _e( 'Close', $this->textdomain ); ?></a></li>
446
  </ul>
447
  <?php // print_r( $template ); ?>
448
  <h1><?php echo esc_attr( $template['details']['Template Name'] ); ?></h1>
449
 
450
- <h4><strong><?php _e('Description', $this->textdomain ); ?></strong></h4>
451
  <p class="description"><?php echo wp_kses( $template['details']['Description'], $themes_allowedtags ); ?></p>
452
 
453
- <h4><strong><?php _e('Instructions', $this->textdomain ); ?></strong></h4>
454
  <p class="description"><?php echo wp_kses( $template['details']['Instructions'], $themes_allowedtags ); ?></p>
455
  </div></div>
456
  </div>
457
 
458
  <div class="expanded-view">
459
  <ul class="wp-clearfix skin-action">
460
- <li><a class="balloon view" data-value="<?php esc_attr( $this->get_slug_name( $template ) ); ?>" href="#cf7s-template" title="<?php _e( 'Return to Details View', $this->textdomain ); ?>"><?php _e('Details View', $this->textdomain ); ?></a></li>
461
- <li><a class="balloon select<?php echo esc_attr( $class ); ?>" data-value="<?php esc_attr( $this->get_slug_name( $template ) ); ?>" href="#cf7s-template" title="<?php _e( 'Select to apply the Template to your form - appears in the Form editing area, where you can edit to your requirements.', $this->textdomain ); ?>"><?php echo esc_attr( $select_text ); ?></a></li>
462
- <li><a class="balloon close" href="#" title="<?php _e( 'Return to Template Gallery/ Grid View', $this->textdomain ); ?>"><?php _e('Close', $this->textdomain ); ?></a></li>
463
  </ul>
464
 
465
  <h1><?php echo esc_attr( $template['details']['Template Name'] ); ?></h1>
@@ -467,10 +467,10 @@ class CF7_Skin_Template extends CF7_Skin {
467
  <div class="large-thumbnail">
468
  <img src="<?php echo esc_url( $this->get_skin_modal( $template ) ); ?>" />
469
  </div>
470
- <h4><strong><?php _e('Description', $this->textdomain ); ?></strong></h4>
471
  <p class="description"><?php echo wp_kses( $template['details']['Description'], $themes_allowedtags ); ?></p>
472
 
473
- <h4><strong><?php _e('Instructions', $this->textdomain ); ?></strong></h4>
474
  <p class="description"><?php echo wp_kses( $template['details']['Instructions'], $themes_allowedtags ); ?></p>
475
  </div>
476
  </div>
@@ -490,9 +490,9 @@ class CF7_Skin_Template extends CF7_Skin {
490
  return array ( 'template' => array(
491
  'name' => 'template',
492
  'order' => 3,
493
- 'label' => __( 'Template', CF7SKINS_TEXTDOMAIN ),
494
- 'note' => __( 'Templates are pre-created forms that automatically create the form’s structure and content for you. Each template works as an easy to follow guide.', CF7SKINS_TEXTDOMAIN ),
495
- 'help' => __( 'Select a template that closely matches your needs then switch to the CF7 Skins Form tab to add, duplicate or remove fields to match your requirements. Any field content can be changed by clicking Edit on the field.', CF7SKINS_TEXTDOMAIN ),
496
  ) ) + $tabs;
497
  }
498
 
177
  $filter_tags = array(
178
 
179
  'Layout' => array (
180
+ 'fixed-layout' => __( 'Fixed Layout', 'contact-form-7-skins' ),
181
+ 'fluid-layout' => __( 'Fluid Layout', 'contact-form-7-skins' ),
182
+ 'responsive-layout' => __( 'Responsive Layout', 'contact-form-7-skins' ),
183
+ 'one-column' => __( 'One Column', 'contact-form-7-skins' ),
184
+ 'one-two-columns' => __( 'One or Two Column', 'contact-form-7-skins' ),
185
+ 'one-two-three-columns' => __( 'One, Two or Three Column', 'contact-form-7-skins' ),
186
  ),
187
 
188
  'Features' => array (
189
+ 'fieldsets' => __( 'Fieldsets', 'contact-form-7-skins' ),
190
+ 'background' => __( 'Background', 'contact-form-7-skins' ),
191
+ 'gradients' => __( 'Gradients', 'contact-form-7-skins' ),
192
  ),
193
 
194
  'Subject' => array (
195
+ 'business' => __( 'Business', 'contact-form-7-skins' ),
196
+ 'event' => __( 'Event', 'contact-form-7-skins' ),
197
+ 'holiday' => __( 'Holiday', 'contact-form-7-skins' ),
198
+ 'individual' => __( 'Individual', 'contact-form-7-skins' ),
199
+ 'seasonal' => __( 'Seasonal', 'contact-form-7-skins' ),
200
  )
201
  );
202
 
216
  ?>
217
  <div class="theme-navigation theme-install-php">
218
  <span class="theme-count"><?php echo count( $this->cf7s_get_template_list() ); ?></span>
219
+ <a class="theme-section skin-sort balloon current" title="<?php _e( 'All available Templates', 'contact-form-7-skins' ); ?>" href="#" data-sort="all"><?php _e('All', 'contact-form-7-skins'); ?></a>
220
+ <a class="theme-section skin-sort balloon" title="<?php _e( 'Selected by CF7 Skins Team', 'contact-form-7-skins' ); ?>" href="#" data-sort="featured"><?php _e('Featured', 'contact-form-7-skins'); ?></a>
221
+ <a class="theme-section skin-sort balloon" title="<?php _e( 'Commonly used', 'contact-form-7-skins' ); ?>" href="#" data-sort="popular"><?php _e('Popular', 'contact-form-7-skins'); ?></a>
222
+ <a class="theme-section skin-sort balloon" title="<?php _e( 'Recently added', 'contact-form-7-skins' ); ?>" href="#" data-sort="new"><?php _e('Latest', 'contact-form-7-skins'); ?></a>
223
 
224
  <div class="theme-top-filters">
225
  <?php if( CF7SKINS_FEATURE_FILTER ) : ?>
226
+ <a class="more-filters balloon" title="<?php _e( 'Narrow your choices based on your specific requirements', 'contact-form-7-skins' ); ?>" href="#"><?php _e('Feature Filter', 'contact-form-7-skins'); ?></a>
227
  <?php endif; ?>
228
  </div>
229
 
230
  <div class="more-filters-container">
231
+ <a class="apply-filters button button-secondary" href="#"><?php _e('Apply Filters', 'contact-form-7-skins'); ?><span></span></a>
232
+ <a class="clear-filters button button-secondary" href="#"><?php _e('Clear', 'contact-form-7-skins'); ?></a>
233
  <br class="clear">
234
 
235
  <?php
251
  ?>
252
 
253
  <div class="filtering-by filtered-by">
254
+ <span><?php _e('Filtering by:', 'contact-form-7-skins'); ?></span>
255
  <div class="tags"></div>
256
+ <a href="#"><?php _e('Edit', 'contact-form-7-skins'); ?></a>
257
  </div>
258
  </div>
259
 
260
  <div class="skins-sort">
261
+ <label class="balloon" title="<?php _e( 'Sort by Name, Date and License (free or pro) – use arrow to reverse sort order', 'contact-form-7-skins' ); ?>" for="skins-sort"><?php _e('Sort by', 'contact-form-7-skins'); ?></label>
262
  <select class="balloon sort-by" name="sort-by" title="" autocomplete="off">
263
+ <option value="name" selected="selected"><?php _e( 'Name', 'contact-form-7-skins' ); ?></option>
264
+ <option value="date"><?php _e( 'Date', 'contact-form-7-skins' ); ?></option>
265
+ <option value="license"><?php _e( 'License', 'contact-form-7-skins' ); ?></option>
266
  </select>
267
  <a href="javascript:void(0)" class="dashicons dashicons-arrow-down-alt"></a>
268
  </div>
269
+ <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Templates', 'contact-form-7-skins'); ?></label>
270
+ <input type="search" class="theme-search skins-search" id="theme-search-input" placeholder="<?php _e('Search templates...', 'contact-form-7-skins'); ?>" />
271
  </div>
272
 
273
  <div class="skin-list wp-clearfix">
297
  <div class="filter-count"><span class="count"><?php echo count( $this->cf7s_get_template_list() ); ?></span></div>
298
 
299
  <ul class="filter-links">
300
+ <li><a class="theme-section skin-sort balloon current" title="<?php _e( 'All available Templates', 'contact-form-7-skins' ); ?>" href="#" data-sort="all"><?php _e('All', 'contact-form-7-skins'); ?></a></li>
301
+ <li><a class="theme-section skin-sort balloon" title="<?php _e( 'Selected by CF7 Skins Team', 'contact-form-7-skins' ); ?>" href="#" data-sort="featured"><?php _e('Featured', 'contact-form-7-skins'); ?></a></li>
302
+ <li><a class="theme-section skin-sort balloon" title="<?php _e( 'Commonly used', 'contact-form-7-skins' ); ?>" href="#" data-sort="popular"><?php _e('Popular', 'contact-form-7-skins'); ?></a></li>
303
+ <li><a class="theme-section skin-sort balloon" title="<?php _e( 'Recently added', 'contact-form-7-skins' ); ?>" href="#" data-sort="new"><?php _e('Latest', 'contact-form-7-skins'); ?></a></li>
304
  </ul>
305
 
306
  <div class="selected-skin">
307
+ <span class="selected-template"><?php _e( 'Template', 'contact-form-7-skins' ); ?>: [<span><?php echo esc_attr( $this->get_skin_name( 'template' ) ); ?></span>]</span>
308
+ <span class="selected-style"><?php _e( 'Style', 'contact-form-7-skins' ); ?>: [<span><?php echo esc_attr( $this->get_skin_name( 'style' ) ); ?></span>]</span>
309
  </div>
310
 
311
  <?php if( CF7SKINS_FEATURE_FILTER ) : ?>
312
+ <a class="drawer-toggle balloon" title="<?php _e( 'Narrow your choices based on your specific requirements', 'contact-form-7-skins' ); ?>" href="#"><?php _e('Feature Filter', 'contact-form-7-skins'); ?></a>
313
  <?php endif; ?>
314
 
315
  <div class="search-form">
316
+ <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Templates', 'contact-form-7-skins'); ?></label>
317
+ <input type="search" class="theme-search skins-search" id="theme-search-input" placeholder="<?php _e('Search templates...', 'contact-form-7-skins'); ?>" />
318
  </div>
319
 
320
  <div class="filter-drawer">
321
  <div class="buttons">
322
+ <a class="apply-filters button button-secondary" href="#"><?php _e('Apply Filters', 'contact-form-7-skins'); ?><span></span></a>
323
+ <a class="clear-filters button button-secondary" href="#"><?php _e('Clear', 'contact-form-7-skins'); ?></a>
324
  </div>
325
 
326
  <?php
340
  }
341
  ?>
342
  <div class="filtered-by">
343
+ <span><?php _e('Filtering by:', 'contact-form-7-skins'); ?></span>
344
  <div class="tags"></div>
345
+ <a href="#"><?php _e('Edit', 'contact-form-7-skins'); ?></a>
346
  </div>
347
  </div>
348
 
349
  <div class="skins-sort">
350
+ <label class="balloon" title="<?php _e( 'Sort by Name, Date and License (free or pro) – use arrow to reverse sort order', 'contact-form-7-skins' ); ?>" for="skins-sort"><?php _e('Sort by', 'contact-form-7-skins'); ?></label>
351
  <select class="balloon sort-by" name="sort-by" title="" autocomplete="off">
352
+ <option value="name" selected="selected"><?php _e( 'Name', 'contact-form-7-skins' ); ?></option>
353
+ <option value="date"><?php _e( 'Date', 'contact-form-7-skins' ); ?></option>
354
+ <option value="license"><?php _e( 'License', 'contact-form-7-skins' ); ?></option>
355
  </select>
356
  <a href="javascript:void(0)" class="dashicons dashicons-arrow-down-alt"></a>
357
  </div>
389
 
390
  foreach( $templates as $key => $template ) {
391
  $class = $template['dir'] == get_post_meta( $id, 'cf7s_template', true ) ? ' selected' : '';
392
+ $select_text = $template['dir'] == get_post_meta( $id, 'cf7s_template', true ) ? __('Selected', 'contact-form-7-skins' ) : __('Select', 'contact-form-7-skins' );
393
  $locale = isset( $_GET['locale'] ) ? sanitize_text_field( $_GET['locale'] ) : '';
394
  $post = isset( $_GET['post'] ) ? (int) $_GET['post'] : '';
395
 
410
  <img src="<?php echo file_exists( $imgpath ) ? esc_url( $imgurl ) : CF7SKINS_URL . 'images/no-preview.png'; ?>" />
411
  </div>
412
  <ul class="wp-clearfix skin-action">
413
+ <li><a class="select<?php echo esc_attr( $class ); ?> balloon" title="<?php _e( 'Select to apply the Template to your form - appears in the form editing area, where you can edit your requirements.','contact-form-7-skins' ); ?>" data-post="<?php echo esc_attr( $post ); ?>" data-locale="<?php echo esc_attr( $locale ); ?>" data-value="<?php esc_attr( $this->get_slug_name( $template ) ); ?>" href="#cf7s-template"><?php echo esc_attr( $select_text ); ?></a></li>
414
+ <li><a class="detail balloon" title="<?php _e( 'Show detailed information about this Template, with layout, description and usage details.' ,'contact-form-7-skins' ); ?>" href="#tpl-<?php esc_attr( $this->get_slug_name( $template ) ); ?>-detail"><?php _e('Details', 'contact-form-7-skins' ); ?></a></li>
415
  </ul>
416
  </div>
417
  </div>
431
  function cf7s_details_view( $template ) {
432
  global $themes_allowedtags;
433
  $class = $template['dir'] == get_post_meta( $this->get_id(), 'cf7s_template', true ) ? ' selected' : ''; // set link class
434
+ $select_text = $template['dir'] == get_post_meta( $this->get_id(), 'cf7s_template', true ) ? __('Selected', 'contact-form-7-skins') : __('Select', 'contact-form-7-skins');
435
  ?>
436
  <div id="tpl-<?php esc_attr( $this->get_slug_name( $template ) ); ?>-detail" class="details hidden">
437
  <div class="details-view">
440
  </div>
441
  <div class="block-details"><div>
442
  <ul class="wp-clearfix skin-action">
443
+ <li><a class="balloon view" data-value="<?php esc_attr( $this->get_slug_name( $template ) ); ?>" href="#cf7s-template" title="<?php _e( 'Use Expanded View to view Template features - shows layout, description & usage details.', 'contact-form-7-skins' ); ?>"><?php _e('Expanded View', 'contact-form-7-skins' ); ?></a></li>
444
+ <li><a class="balloon select<?php echo esc_attr( $class ); ?>" data-value="<?php esc_attr( $this->get_slug_name( $template ) ); ?>" href="#cf7s-template" title="<?php _e( 'Select to apply the Template to your form - appears in the Form Editing area, where you can edit to your requirements.', 'contact-form-7-skins' ); ?>"><?php echo esc_attr( $select_text ); ?></a></li>
445
+ <li><a class="balloon close" href="#" title="<?php _e( 'Return to Template Gallery/Grid view.', 'contact-form-7-skins' ); ?>"><?php _e( 'Close', 'contact-form-7-skins' ); ?></a></li>
446
  </ul>
447
  <?php // print_r( $template ); ?>
448
  <h1><?php echo esc_attr( $template['details']['Template Name'] ); ?></h1>
449
 
450
+ <h4><strong><?php _e('Description', 'contact-form-7-skins' ); ?></strong></h4>
451
  <p class="description"><?php echo wp_kses( $template['details']['Description'], $themes_allowedtags ); ?></p>
452
 
453
+ <h4><strong><?php _e('Instructions', 'contact-form-7-skins' ); ?></strong></h4>
454
  <p class="description"><?php echo wp_kses( $template['details']['Instructions'], $themes_allowedtags ); ?></p>
455
  </div></div>
456
  </div>
457
 
458
  <div class="expanded-view">
459
  <ul class="wp-clearfix skin-action">
460
+ <li><a class="balloon view" data-value="<?php esc_attr( $this->get_slug_name( $template ) ); ?>" href="#cf7s-template" title="<?php _e( 'Return to Details View', 'contact-form-7-skins' ); ?>"><?php _e('Details View', 'contact-form-7-skins' ); ?></a></li>
461
+ <li><a class="balloon select<?php echo esc_attr( $class ); ?>" data-value="<?php esc_attr( $this->get_slug_name( $template ) ); ?>" href="#cf7s-template" title="<?php _e( 'Select to apply the Template to your form - appears in the Form editing area, where you can edit to your requirements.', 'contact-form-7-skins' ); ?>"><?php echo esc_attr( $select_text ); ?></a></li>
462
+ <li><a class="balloon close" href="#" title="<?php _e( 'Return to Template Gallery/ Grid View', 'contact-form-7-skins' ); ?>"><?php _e('Close', 'contact-form-7-skins' ); ?></a></li>
463
  </ul>
464
 
465
  <h1><?php echo esc_attr( $template['details']['Template Name'] ); ?></h1>
467
  <div class="large-thumbnail">
468
  <img src="<?php echo esc_url( $this->get_skin_modal( $template ) ); ?>" />
469
  </div>
470
+ <h4><strong><?php _e('Description', 'contact-form-7-skins' ); ?></strong></h4>
471
  <p class="description"><?php echo wp_kses( $template['details']['Description'], $themes_allowedtags ); ?></p>
472
 
473
+ <h4><strong><?php _e('Instructions', 'contact-form-7-skins' ); ?></strong></h4>
474
  <p class="description"><?php echo wp_kses( $template['details']['Instructions'], $themes_allowedtags ); ?></p>
475
  </div>
476
  </div>
490
  return array ( 'template' => array(
491
  'name' => 'template',
492
  'order' => 3,
493
+ 'label' => __( 'Template', 'contact-form-7-skins' ),
494
+ 'note' => __( 'Templates are pre-created forms that automatically create the form’s structure and content for you. Each template works as an easy to follow guide.', 'contact-form-7-skins' ),
495
+ 'help' => __( 'Select a template that closely matches your needs then switch to the CF7 Skins Form tab to add, duplicate or remove fields to match your requirements. Any field content can be changed by clicking Edit on the field.', 'contact-form-7-skins' ),
496
  ) ) + $tabs;
497
  }
498
 
index.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
  /**
3
- * Plugin Name: Skins for Contact Form 7
4
  * Plugin URI: http://cf7skins.com
5
  * Description: Adds drag & drop Visual Editor with Templates & Styles to Contact Form 7. Requires Contact Form 7.
6
- * Version: 2.5.2
7
  * Author: Neil Murray
8
  * Author URI: http://cf7skins.com
9
  * License: GPL-2.0+
@@ -30,9 +30,8 @@ if ( ! defined( 'ABSPATH' ) ) {
30
  *
31
  * @since 0.1.0
32
  */
33
- define( 'CF7SKINS_VERSION', '2.5.2' );
34
  define( 'CF7SKINS_OPTIONS', 'cf7skins' ); // Database option names
35
- define( 'CF7SKINS_TEXTDOMAIN', 'contact-form-7-skins' );
36
  define( 'CF7SKINS_FEATURE_FILTER', false ); // @since 0.4.0
37
  define( 'CF7SKINS_PATH', plugin_dir_path( __FILE__ ) );
38
  define( 'CF7SKINS_URL', plugin_dir_url( __FILE__ ) );
@@ -164,7 +163,7 @@ function cf7skins_upgrader_process_complete( $instance, $args ) {
164
  function cf7skins_plugin_loaded() {
165
 
166
  // Load plugin translation
167
- load_plugin_textdomain( CF7SKINS_TEXTDOMAIN, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
168
 
169
  // Check if CF7 is installed
170
  if ( defined( 'WPCF7_VERSION' ) ) {
@@ -208,7 +207,7 @@ function cf7skins_require_admin_message() {
208
  $message = '';
209
 
210
  if ( ! defined( 'WPCF7_VERSION' ) ) {
211
- $message = sprintf( __( '<a href="%s">Contact Form 7</a> must be installed to use this plugin.' , CF7SKINS_TEXTDOMAIN ), 'https://wordpress.org/plugins/contact-form-7/' ) . '<br />';
212
  }
213
  echo "<div id='cf7skins-message' class='notice notice-warning'>
214
  <p><strong>Contact Form 7 Skins</strong><br />$message</p>
1
  <?php
2
  /**
3
+ * Plugin Name: CF7 Skins for Contact Form 7
4
  * Plugin URI: http://cf7skins.com
5
  * Description: Adds drag & drop Visual Editor with Templates & Styles to Contact Form 7. Requires Contact Form 7.
6
+ * Version: 2.5.3
7
  * Author: Neil Murray
8
  * Author URI: http://cf7skins.com
9
  * License: GPL-2.0+
30
  *
31
  * @since 0.1.0
32
  */
33
+ define( 'CF7SKINS_VERSION', '2.5.3' );
34
  define( 'CF7SKINS_OPTIONS', 'cf7skins' ); // Database option names
 
35
  define( 'CF7SKINS_FEATURE_FILTER', false ); // @since 0.4.0
36
  define( 'CF7SKINS_PATH', plugin_dir_path( __FILE__ ) );
37
  define( 'CF7SKINS_URL', plugin_dir_url( __FILE__ ) );
163
  function cf7skins_plugin_loaded() {
164
 
165
  // Load plugin translation
166
+ load_plugin_textdomain( 'contact-form-7-skins', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
167
 
168
  // Check if CF7 is installed
169
  if ( defined( 'WPCF7_VERSION' ) ) {
207
  $message = '';
208
 
209
  if ( ! defined( 'WPCF7_VERSION' ) ) {
210
+ $message = sprintf( __( '<a href="%s">Contact Form 7</a> must be installed to use this plugin.' , 'contact-form-7-skins' ), 'https://wordpress.org/plugins/contact-form-7/' ) . '<br />';
211
  }
212
  echo "<div id='cf7skins-message' class='notice notice-warning'>
213
  <p><strong>Contact Form 7 Skins</strong><br />$message</p>
js/visual.min.js CHANGED
@@ -1 +1 @@
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=349)}([function(e,t){e.exports=React},function(e,t,n){e.exports=n(110)()},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},e.exports.default=e.exports,e.exports.__esModule=!0},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},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},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},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(47);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)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(16).default,o=n(3);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.r(t),n.d(t,"cf7sItems",(function(){return P})),n.d(t,"defaultTreeData",(function(){return w})),n.d(t,"randomizeName",(function(){return C})),n.d(t,"mergeDefault",(function(){return O})),n.d(t,"versionCompare",(function(){return x})),n.d(t,"saveVisualForm",(function(){return S})),n.d(t,"getVisualVar",(function(){return T})),n.d(t,"isDevelopment",(function(){return k})),n.d(t,"cf7sRequest",(function(){return d})),n.d(t,"cf7sDropRules",(function(){return K})),n.d(t,"cf7sSurroundingRules",(function(){return q})),n.d(t,"cf7sDuplicateRules",(function(){return Y}));var r=n(2),o=n.n(r),i=n(16),a=n.n(i),s=n(0),l=n.n(s),c=n(11),u=n.n(c);function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";e.nonce||(e.nonce=window.cf7svisual.nonce);var n=Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&"),r={method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:n},o=fetch(window.cf7svisual.ajaxurl,r).then((function(e){return"json"===t?e.json():e.text()})).then((function(e){if(e)return e;throw new Error("Error. Returned data: ".concat(e))})).catch((function(e){console.error("Error: ".concat(e))}));return Promise.resolve(o)}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return p(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=v({},window.wp.i18n),m=g.sprintf,__=g.__,y=v({},window.wp.data),b=y.dispatch,_=y.select;function w(){var e,t=[],n=[],r=f(P);try{for(r.s();!(e=r.n()).done;){var o=e.value;t[o.cf7sType]=C(o)}}catch(e){r.e(e)}finally{r.f()}return t.fieldset.expanded=!0,t.fieldset.cf7sLabel=__("Legend","contact-form-7-skins"),n.push(t.fieldset),t["list-ol"].expanded=!0,n[0].children=[v({},t["list-ol"])],t.text.cf7sLabel=__("Your Name (required)","contact-form-7-skins"),t.text.cf7Required=!0,t["list-li"].expanded=!0,t["list-li"].children=[v({},t.text)],n[0].children[0].children=[v({},t["list-li"])],t.email.cf7sLabel=__("Email Address (required)","contact-form-7-skins"),t.email.cf7Required=!0,t["list-li"]=C(t["list-li"]),t["list-li"].children=[v({},t.email)],n[0].children[0].children[1]=v({},t["list-li"]),t.textarea.cf7sLabel=__("Your Message","contact-form-7-skins"),t["list-li"]=C(t["list-li"]),t["list-li"].children=[v({},t.textarea)],n[0].children[0].children[2]=v({},t["list-li"]),t.paragraph.cf7sContent=__("* Required","contact-form-7-skins"),n[0].children[1]=v({},t.paragraph),t.submit.cf7sLabel=__("Send","contact-form-7-skins"),n.push(t.submit),n}function S(e){var t=b("cf7svisual").setNotice,n=v({},_("cf7svisual").getStates()),r=window.cf7svisual.treeData||n.treeData.slice(),o=window.cf7svisual;if("development"===o.environment&&(console.log("on save:",r),console.log(JSON.stringify(r))),o&&document.getElementById("post_ID")){var i=document.getElementById("post_ID").getAttribute("value"),s=document.getElementById("wpcf7-admin-form-element"),c=document.createElement("input");if(!i||i<0)c.setAttribute("type","hidden"),c.setAttribute("name","cf7s-visual"),c.setAttribute("value",JSON.stringify(r)),s.appendChild(c),s.submit();else{var p=document.getElementsByClassName("cf7sSpinner")[0];p.style.visibility="visible";var h={action:"cf7skins_visual_update",form_id:i,visual:JSON.stringify(r),template:document.getElementById("cf7s-template").value,style:document.getElementById("cf7s-style").value},g=document.getElementById("title").value;o.title!==g&&(h.title=g),d(h,"json").then((function(e){window.cf7sAdmin.getTextarea().value=e.form,window.onbeforeunload=null,"function"==typeof Event?new Event("change",{bubbles:!0}):document.createEvent("Event").initEvent("change",!0,!0),window.cf7sAdmin.getTextarea().dispatchEvent(new Event("change",{bubbles:!0})),p.style.visibility="hidden";var n=l.a.createElement("div",{className:"notice notice-success is-dismissible"},l.a.createElement("p",null,"Visual saved!"),l.a.createElement("button",{type:"button",className:"notice-dismiss",onClick:function(){return u.a.unmountComponentAtNode(document.getElementById("cf7s-visual-notice"))}},l.a.createElement("span",{className:"screen-reader-text"},__("Dismiss this notice.","contact-form-7-skins"))));if(u.a.render(n,document.getElementById("cf7s-visual-notice")),t(__("Visual saved!","contact-form-7-skins"),"success"),e.callbacks){var r,o=f(e.callbacks);try{for(o.s();!(r=o.n()).done;){var i=r.value;if("object"===a()(i)){var s=Object.keys(i)[0];if(void 0===window[s]){console.warn(m(__("Namespace %s is undefined!","contact-form-7-skins"),s));continue}var c=i[s];void 0!==window[s][c]?window[s][c].apply():console.warn(m(__("Function %1$s.%2$s is undefined!","contact-form-7-skins"),s,"".concat(c,"()")))}else void 0!==window[i]?window[i].apply():console.warn(m(__("Function %s is undefined!","contact-form-7-skins"),"".concat(i,"()")))}}catch(e){o.e(e)}finally{o.f()}}})).catch((function(e){return console.error(e)}))}}else t(__("Can not save! window.cf7svisual or post ID does not exist.","contact-form-7-skins"),"error")}function C(e){var t=Math.floor(899*Math.random()+100);if(e.cf7Name="".concat(e.cf7sType,"-").concat(t),e.children){var n,r=f(e.children);try{for(r.s();!(n=r.n()).done;)C(n.value)}catch(e){r.e(e)}finally{r.f()}}return e}function O(e){var t=function(t){var n=P.filter((function(n){return n.cf7sType===e[t].cf7sType}))[0];e[t]=v(v({},n),e[t]),e[t].children&&O(e[t].children)};for(var n in e)t(n);return e}function x(e,t,n){var r=n&&n.lexicographical||!1,o=n&&n.zeroExtend||!0,i=(e||"0").split("."),a=(t||"0").split(".");function s(e){return(r?/^\d+[A-Za-zαß]*$/:/^\d+[A-Za-zαß]?$/).test(e)}if(!i.every(s)||!a.every(s))return NaN;if(o){for(;i.length<a.length;)i.push("0");for(;a.length<i.length;)a.push("0")}r||(i=i.map((function(e){var t=/[A-Za-zαß]/.exec(e);return Number(t?e.replace(t[0],"."+e.charCodeAt(t.index)):e)})),a=a.map((function(e){var t=/[A-Za-zαß]/.exec(e);return Number(t?e.replace(t[0],"."+e.charCodeAt(t.index)):e)})));for(var l=0;l<i.length;++l){if(a.length===l)return!0;if(i[l]!==a[l])return i[l]>a[l]}return i.length===a.length}function T(e){var t=window.cf7svisual;if(null==t)return console.log("window.cf7svisual does not exist!"),!1;if(!t.hasOwnProperty(e))return!1;var n={addons:{},environment:"",options:{},items:[],integration:{},title:"",treeData:[],versions:{}};return!(!n.hasOwnProperty(e)||a()(t[e])!==a()(n[e]))&&t[e]}function k(){return"development"===window.cf7svisual.environment}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var E=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},window.wp.i18n).__,I=[{cf7sType:"acceptance",cf7sSelectLabel:E("Acceptance (confirm)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"acceptance",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"default_on",isChecked:!1,optionLabel:E("Make this checkbox checked by default","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"invert",isChecked:!1,optionLabel:E("Make this work inversely","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"optional",isChecked:!0,optionLabel:E("Make this checkbox optional","contact-form-7-skins"),optionType:"checkbox"}],cf7DefaultOn:!1,cf7Invert:!1,cf7Optional:!0,cf7Content:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-thumbs-ok",noChildren:!0},{cf7sType:"checkbox",cf7sSelectLabel:E("Checkbox (option)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"checkbox",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"label_first",isChecked:!1,optionLabel:E("Put a label first, a checkbox last","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"use_label_element",isChecked:!1,optionLabel:E("Wrap each item with label element","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"exclusive",isChecked:!1,optionLabel:E("Make checkboxes exclusive","contact-form-7-skins"),optionType:"checkbox"}],cf7Options:[{value:"Option 1",isChecked:!0},{value:"Option 2",isChecked:!1}],cf7LabelFirst:!1,cf7UseLabelElement:!1,cf7Exclusive:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-input-checked",noChildren:!0},{cf7sType:"date",cf7sSelectLabel:E("Date","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"date",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"",optionLabel:E("Range - min","contact-form-7-skins"),optionType:"input"},{cf7Option:"",optionLabel:E("Range - max","contact-form-7-skins"),optionType:"input"}],cf7Values:"",cf7Placeholder:!1,cf7Min:"",cf7Max:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-calendar",noChildren:!0},{cf7sType:"email",cf7sSelectLabel:E("Email","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"email",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:"Default value",optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"akismet_author_email",isChecked:!1,optionLabel:E("Akismet - this field requires author's email address","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7AkismetAuthorEmail:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-mail",noChildren:!0},{cf7sType:"file",cf7sSelectLabel:E("File (upload)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"file",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"limit",optionLabel:E("File size limit (bytes)","contact-form-7-skins"),optionType:"input"},{cf7Option:"",optionLabel:E("Acceptable file types","contact-form-7-skins"),optionType:"select"}],cf7Limit:"",cf7FileTypes:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-attachment",noChildren:!0},{cf7sType:"number",cf7sSelectLabel:E("Number","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"number",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:"Field Type",optionType:"select"},{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"",optionLabel:E("Range - min","contact-form-7-skins"),optionType:"input"},{cf7Option:"",optionLabel:E("Range - max","contact-form-7-skins"),optionType:"input"}],cf7TagType:"number",cf7Values:"",cf7Placeholder:"",cf7Min:"",cf7Max:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-sort-alphabetically",noChildren:!0},{cf7sType:"quiz",cf7sSelectLabel:E("Quiz","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"quiz",cf7sLabel:"",cf7Required:!1,cf7Options:[{question:E("Question 1","contact-form-7-skins"),answer:E("Answer 1","contact-form-7-skins")},{question:E("Question 2","contact-form-7-skins"),answer:E("Answer 2","contact-form-7-skins")}],cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-lightbulb",noChildren:!0},{cf7sType:"radio",cf7sSelectLabel:E("Radio Button (option)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"radio",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"label_first",isChecked:!1,optionLabel:E("Put a label first, a checkbox last","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"use_label_element",isChecked:!1,optionLabel:E("Wrap each item with label element","contact-form-7-skins"),optionType:"checkbox"}],cf7Options:[{value:E("Option 1","contact-form-7-skins"),isChecked:!0},{value:E("Option 2","contact-form-7-skins"),isChecked:!1}],cf7LabelFirst:!1,cf7UseLabelElement:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-media-record-outline",noChildren:!0},{cf7sType:"select",cf7sSelectLabel:E("Select (dropdown)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"select",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",isChecked:!1,optionLabel:E("Allow multiple selections","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"",isChecked:!1,optionLabel:E("Insert a blank item as the first option","contact-form-7-skins"),optionType:"checkbox"}],cf7Options:[{value:E("Option 1","contact-form-7-skins"),isChecked:!0},{value:E("Option 2","contact-form-7-skins"),isChecked:!1}],cf7Multiple:!1,cf7IncludeBlank:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-th-menu",noChildren:!0},{cf7sType:"submit",cf7sSelectLabel:E("Submit","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"submit",cf7sLabel:"Submit",cf7Values:"",cf7Required:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-mail",noChildren:!0},{cf7sType:"tel",cf7sSelectLabel:E("Telephone","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"tel",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-phone",noChildren:!0},{cf7sType:"text",cf7sSelectLabel:E("Text (short text)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"text",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"akismet_author_email",isChecked:!1,optionLabel:E("Akismet - this field requires author's email address","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7AkismetAuthor:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-sort-alphabetically",noChildren:!0},{cf7sType:"textarea",cf7sSelectLabel:E("Textarea (long text)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"textarea",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-document-text",noChildren:!0},{cf7sType:"url",cf7sSelectLabel:E("URL (website link)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"url",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"akismet_author_email",isChecked:!1,optionLabel:E("Akismet - this field requires author's email address","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7AkismetAuthorUrl:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-link",noChildren:!0},{cf7sType:"recaptcha",cf7sSelectLabel:"reCAPTCHA",cf7sSelectGroup:"cf7Tag",cf7Name:"recaptcha",cf7sLabel:"",cf7IdAttribute:"",cf7Size:"",cf7Theme:"",cf7ClassAttribute:"",cf7sIcon:"dashicons dashicons-update",noChildren:!0},{cf7sType:"fieldset",cf7sSelectLabel:E("Fieldset (with legend)","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"fieldset",cf7sLabel:E("Legend ..","contact-form-7-skins"),cf7sIcon:"typcn typcn-folder"},{cf7sType:"list-ol",cf7sSelectLabel:E("List - ol","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"listol",cf7sLabel:"",cf7sIcon:"dashicons dashicons-editor-ol",noChildren:!1},{cf7sType:"list-li",cf7sSelectLabel:E("List Item - li","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"listli",cf7sLabel:"",cf7sIcon:"dashicons dashicons-editor-ul",noChildren:!1},{cf7sType:"paragraph",cf7sSelectLabel:E("Paragraph - p","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"paragraph",cf7sContent:"",cf7sIcon:"dashicons dashicons-editor-paragraph",noChildren:!0}],P=[].concat(I),M=T("addons"),R=!!M&&M.get("addCf7sItems");if(R)for(var N=0;N<R.length;++N)R[N](P);var j=n(10);function A(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return L(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function z(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 F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var H=F({},window.wp.i18n),W=H.sprintf,G=H.__,U=Object(j.cloneDeep)(P).filter((function(e){return"list-ol"===e.cf7sType}))[0],B=Object(j.cloneDeep)(P).filter((function(e){return"list-li"===e.cf7sType}))[0];function V(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"drop",t={},n=T("addons"),r=!!n&&n.get("cf7sRules");if(r)for(var o=0;o<r.length;++o)for(var i in r[o])t[i]||(t[i]=[]),t[i].push(r[o][i]);if(t&&t[e])return t[e]}function K(e){var t=F({},e),n=t.node,r=t.prevTreeIndex,o=t.nextParent,i=T("treeData")||e.treeData;if(o&&"list-li"===o.cf7sType&&o.children){var a,s=0,l=A(o.children);try{for(l.s();!(a=l.n()).done;){var c,u=a.value,d=A(P);try{for(d.s();!(c=d.n()).done;){var f=c.value;u.cf7sType===f.cf7sType&&"cf7Tag"===f.cf7sSelectGroup&&s++}}catch(e){d.e(e)}finally{d.f()}}}catch(e){l.e(e)}finally{l.f()}if(s>1)return console.warn("Only one CF7 tag for each list"),!1}if(n&&null==r&&"recaptcha"===n.cf7sType&&X(n.cf7sType,i)>0&&null==r)return console.warn(G("Only one reCAPTCHA per form allowed.","contact-form-7-skins")),!1;if(n&&null==r&&"submit"===n.cf7sType&&X(n.cf7sType,i)>0)return console.warn(G("Only one submit for each form.","contact-form-7-skins")),!1;if(n.cf7sRoot&&o)return console.warn("Root node can not be dragged to other node."),!1;var p=V("drop");if(p&&p.length)for(var h=0;h<p.length;++h)if(!p[h](e))return!1;return!o||!o.noChildren}function q(e,t){if("list-ol"===e.cf7sType&&!e.children){var n=C(Object(j.cloneDeep)(B));n.children=[],e.children=[F({},n)],e.expanded=!0}if(!(t&&"fieldset"!==t.cf7sType||e.children||"fieldset"!==e.cf7sType)){var r=C(Object(j.cloneDeep)(U)),o=C(Object(j.cloneDeep)(B));return r.children=[F({},o)],r.expanded=!0,e.children=[F({},r)],e.expanded=!0,e}if((!t||"fieldset"===t.cf7sType||!1===t.noChildren&&["list-ol","list-li"].indexOf(t.cf7sType)<0)&&"cf7Tag"===e.cf7sSelectGroup&&["recaptcha","submit"].indexOf(e.cf7sType)<0){var i=C(Object(j.cloneDeep)(U)),a=C(Object(j.cloneDeep)(B));return a.children=[F({},e)],a.expanded=!0,i.children=[F({},a)],i.expanded=!0,i}if(t&&"list-ol"===t.cf7sType&&"list-li"!==e.cf7sType){var s=C(Object(j.cloneDeep)(B));return s.expanded=!0,s.children=[F({},e)],s}if("list-li"===e.cf7sType&&null===t||"list-li"===e.cf7sType&&"list-ol"!==t.cf7sType){var l=C(Object(j.cloneDeep)(U));return l.children=[F({},e)],l.expanded=!0,l}var c=V("surround");if(c&&c.length)for(var u=0;u<c.length;++u)e=c[u]({node:e,parentNode:t,nodeOL:U,nodeLI:B,randomizeName:C});return e}function Y(e){var t=F({},e),n=t.node,r=t.parentNode;if("recaptcha"===n.cf7sType||"submit"===n.cf7sType)return W(G("Only one %s allowed in a form.","contact-form-7-skins"),n.cf7sType);if(Z(n,"recaptcha"))return G("Node has recaptcha children. Only one recaptcha allowed in a form.","contact-form-7-skins");if(Z(n,"submit"))return G("Node has submit children. Only one submit allowed in a form.","contact-form-7-skins");if(r&&"list-li"===r.cf7sType&&"cf7Tag"===n.cf7sSelectGroup)return"surrounding";var o=V("duplicate");if(o&&o.length)for(var i=0;i<o.length;++i)o[i](e);return!0}function X(e,t){var n=0;return function t(r){var o,i=A(r);try{for(i.s();!(o=i.n()).done;){var a=o.value;e===a.cf7sType&&n++,a.children&&t(a.children)}}catch(e){i.e(e)}finally{i.f()}}(t),n}function Z(e,t){if(!e.children)return!1;var n,r=A(e.children);try{for(r.s();!(n=r.n()).done;){var o=n.value;return t===o.cf7sType||Z(o,t)}}catch(e){r.e(e)}finally{r.f()}}},function(e,t){e.exports=lodash},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(301))&&r.__esModule?r:{default:r};t.default=o.default||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(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},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(31),o=n(116),i=n(27),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(108))&&r.__esModule?r:{default:r};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){var r=n(263),o=n(264),i=n(231),a=n(265);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(336)),o=a(n(340)),i=a(n(108));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){"undefined"!=typeof self&&self,e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=7)}([function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e){var t=e.targetIndex,n=e.node,i=e.currentIndex,a=e.getNodeKey,s=e.path,l=void 0===s?[]:s,c=e.lowerSiblingCounts,u=void 0===c?[]:c,d=e.ignoreCollapsed,f=void 0===d||d,p=e.isPseudoRoot,h=void 0!==p&&p?[]:[].concat(r(l),[a({node:n,treeIndex:i})]);if(i===t)return{node:n,lowerSiblingCounts:u,path:h};if(!n.children||f&&!0!==n.expanded)return{nextIndex:i+1};for(var v=i+1,g=n.children.length,m=0;m<g;m+=1){var y=o({ignoreCollapsed:f,getNodeKey:a,targetIndex:t,node:n.children[m],currentIndex:v,lowerSiblingCounts:[].concat(r(u),[g-m-1]),path:h});if(y.node)return y;v=y.nextIndex}return{nextIndex:v}}function i(e){var t=e.node,n=e.ignoreCollapsed;return o({getNodeKey:function(){},ignoreCollapsed:void 0===n||n,node:t,currentIndex:0,targetIndex:-1}).nextIndex-1}function a(e){var t=e.treeData,n=e.getNodeKey,o=e.callback,i=e.ignoreCollapsed,a=void 0===i||i;!t||t.length<1||function e(t){var n=t.callback,o=t.getNodeKey,i=t.ignoreCollapsed,a=t.isPseudoRoot,s=void 0!==a&&a,l=t.node,c=t.parentNode,u=void 0===c?null:c,d=t.currentIndex,f=t.path,p=void 0===f?[]:f,h=t.lowerSiblingCounts,v=void 0===h?[]:h,g=s?[]:[].concat(r(p),[o({node:l,treeIndex:d})]);if(!s&&!1===n(s?null:{node:l,parentNode:u,path:g,lowerSiblingCounts:v,treeIndex:d}))return!1;if(!l.children||!0!==l.expanded&&i&&!s)return d;var m=d,y=l.children.length;if("function"!=typeof l.children)for(var b=0;b<y;b+=1)if(!1===(m=e({callback:n,getNodeKey:o,ignoreCollapsed:i,node:l.children[b],parentNode:s?null:l,currentIndex:m+1,lowerSiblingCounts:[].concat(r(v),[y-b-1]),path:g})))return!1;return m}({callback:o,getNodeKey:n,ignoreCollapsed:a,isPseudoRoot:!0,node:{children:t},currentIndex:-1,path:[],lowerSiblingCounts:[]})}function s(e){var t=e.treeData,n=e.getNodeKey,o=e.callback,i=e.ignoreCollapsed,a=void 0===i||i;return!t||t.length<1?[]:function e(t){var n=t.callback,o=t.getNodeKey,i=t.ignoreCollapsed,a=t.isPseudoRoot,s=void 0!==a&&a,l=t.node,u=t.parentNode,d=void 0===u?null:u,f=t.currentIndex,p=t.path,h=void 0===p?[]:p,v=t.lowerSiblingCounts,g=void 0===v?[]:v,m=c({},l),y=s?[]:[].concat(r(h),[o({node:m,treeIndex:f})]),b={node:m,parentNode:d,path:y,lowerSiblingCounts:g,treeIndex:f};if(!m.children||!0!==m.expanded&&i&&!s)return{treeIndex:f,node:n(b)};var _=f,w=m.children.length;return"function"!=typeof m.children&&(m.children=m.children.map((function(t,a){var l=e({callback:n,getNodeKey:o,ignoreCollapsed:i,node:t,parentNode:s?null:m,currentIndex:_+1,lowerSiblingCounts:[].concat(r(g),[w-a-1]),path:y});return _=l.treeIndex,l.node}))),{node:n(b),treeIndex:_}}({callback:o,getNodeKey:n,ignoreCollapsed:a,isPseudoRoot:!0,node:{children:t},currentIndex:-1,path:[],lowerSiblingCounts:[]}).node.children}function l(e){var t=e.treeData,n=e.path,o=e.newNode,a=e.getNodeKey,s=e.ignoreCollapsed,l=void 0===s||s,u=function e(t){var s=t.isPseudoRoot,u=void 0!==s&&s,d=t.node,f=t.currentTreeIndex,p=t.pathIndex;if(!u&&a({node:d,treeIndex:f})!==n[p])return"RESULT_MISS";if(p>=n.length-1)return"function"==typeof o?o({node:d,treeIndex:f}):o;if(!d.children)throw new Error("Path referenced children of node with no children.");for(var h=f+1,v=0;v<d.children.length;v+=1){var g=e({node:d.children[v],currentTreeIndex:h,pathIndex:p+1});if("RESULT_MISS"!==g)return c({},d,g?{children:[].concat(r(d.children.slice(0,v)),[g],r(d.children.slice(v+1)))}:{children:[].concat(r(d.children.slice(0,v)),r(d.children.slice(v+1)))});h+=1+i({node:d.children[v],ignoreCollapsed:l})}return"RESULT_MISS"}({node:{children:t},currentTreeIndex:-1,pathIndex:-1,isPseudoRoot:!0});if("RESULT_MISS"===u)throw new Error("No node found at the given path.");return u.children}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.getDescendantCount=i,t.getVisibleNodeCount=function(e){return e.treeData.reduce((function(e,t){return e+function e(t){return t.children&&!0===t.expanded&&"function"!=typeof t.children?1+t.children.reduce((function(t,n){return t+e(n)}),0):1}(t)}),0)},t.getVisibleNodeInfoAtIndex=function(e){var t=e.treeData,n=e.index,r=e.getNodeKey;if(!t||t.length<1)return null;var i=o({targetIndex:n,getNodeKey:r,node:{children:t,expanded:!0},currentIndex:-1,path:[],lowerSiblingCounts:[],isPseudoRoot:!0});return i.node?i:null},t.walk=a,t.map=s,t.toggleExpandedForAll=function(e){var t=e.treeData,n=e.expanded,r=void 0===n||n;return s({treeData:t,callback:function(e){var t=e.node;return c({},t,{expanded:r})},getNodeKey:function(e){return e.treeIndex},ignoreCollapsed:!1})},t.changeNodeAtPath=l,t.removeNodeAtPath=function(e){var t=e.treeData,n=e.path,r=e.getNodeKey,o=e.ignoreCollapsed;return l({treeData:t,path:n,getNodeKey:r,ignoreCollapsed:void 0===o||o,newNode:null})},t.removeNode=function(e){var t=e.treeData,n=e.path,r=e.getNodeKey,o=e.ignoreCollapsed,i=null,a=null;return{treeData:l({treeData:t,path:n,getNodeKey:r,ignoreCollapsed:void 0===o||o,newNode:function(e){var t=e.node,n=e.treeIndex;return i=t,a=n,null}}),node:i,treeIndex:a}},t.getNodeAtPath=function(e){var t=e.treeData,n=e.path,r=e.getNodeKey,o=e.ignoreCollapsed,i=void 0===o||o,a=null;try{l({treeData:t,path:n,getNodeKey:r,ignoreCollapsed:i,newNode:function(e){var t=e.node,n=e.treeIndex;return a={node:t,treeIndex:n},t}})}catch(e){}return a},t.addNodeUnderParent=function(e){var t=e.treeData,n=e.newNode,o=e.parentKey,a=void 0===o?null:o,l=e.getNodeKey,u=e.ignoreCollapsed,d=void 0===u||u,f=e.expandParent,p=void 0!==f&&f;if(null===a)return{treeData:[].concat(r(t||[]),[n]),treeIndex:(t||[]).length};var h=null,v=!1,g=s({treeData:t,getNodeKey:l,ignoreCollapsed:d,callback:function(e){var t=e.node,o=e.treeIndex,s=e.path,l=s?s[s.length-1]:null;if(v||l!==a)return t;v=!0;var u=c({},t);if(p&&(u.expanded=!0),!u.children)return h=o+1,c({},u,{children:[n]});if("function"==typeof u.children)throw new Error("Cannot add to children defined by a function");for(var f=o+1,g=0;g<u.children.length;g+=1)f+=1+i({node:u.children[g],ignoreCollapsed:d});return h=f,c({},u,{children:[].concat(r(u.children),[n])})}});if(!v)throw new Error("No node found with the given key.");return{treeData:g,treeIndex:h}},t.insertNode=function(e){var t=e.treeData,n=e.depth,o=e.minimumTreeIndex,a=e.newNode,s=e.getNodeKey,l=void 0===s?function(){}:s,u=e.ignoreCollapsed,d=void 0===u||u,f=e.expandParent,p=void 0!==f&&f;if(!t&&0===n)return{treeData:[a],treeIndex:0,path:[l({node:a,treeIndex:0})],parentNode:null};var h=function e(t){var n=t.targetDepth,o=t.minimumTreeIndex,a=t.newNode,s=t.ignoreCollapsed,l=t.expandParent,u=t.isPseudoRoot,d=void 0!==u&&u,f=t.isLastChild,p=t.node,h=t.currentIndex,v=t.currentDepth,g=t.getNodeKey,m=t.path,y=void 0===m?[]:m,b=function(e){return d?[]:[].concat(r(y),[g({node:e,treeIndex:h})])};if(h>=o-1||f&&(!p.children||!p.children.length)){if("function"==typeof p.children)throw new Error("Cannot add to children defined by a function");var _=c({},p,l?{expanded:!0}:{},{children:p.children?[a].concat(r(p.children)):[a]});return{node:_,nextIndex:h+2,insertedTreeIndex:h+1,parentPath:b(_),parentNode:d?null:_}}if(v>=n-1){if(!p.children||"function"==typeof p.children||!0!==p.expanded&&s&&!d)return{node:p,nextIndex:h+1};for(var w=h+1,S=null,C=null,O=0;O<p.children.length;O+=1){if(w>=o){S=w,C=O;break}w+=1+i({node:p.children[O],ignoreCollapsed:s})}if(null===C){if(w<o&&!f)return{node:p,nextIndex:w};S=w,C=p.children.length}var x=c({},p,{children:[].concat(r(p.children.slice(0,C)),[a],r(p.children.slice(C)))});return{node:x,nextIndex:w,insertedTreeIndex:S,parentPath:b(x),parentNode:d?null:x}}if(!p.children||"function"==typeof p.children||!0!==p.expanded&&s&&!d)return{node:p,nextIndex:h+1};var T=null,k=null,D=null,E=h+1,I=p.children;"function"!=typeof I&&(I=I.map((function(t,r){if(null!==T)return t;var i=e({targetDepth:n,minimumTreeIndex:o,newNode:a,ignoreCollapsed:s,expandParent:l,isLastChild:f&&r===I.length-1,node:t,currentIndex:E,currentDepth:v+1,getNodeKey:g,path:[]});return"insertedTreeIndex"in i&&(T=i.insertedTreeIndex,D=i.parentNode,k=i.parentPath),E=i.nextIndex,i.node})));var P=c({},p,{children:I}),M={node:P,nextIndex:E};return null!==T&&(M.insertedTreeIndex=T,M.parentPath=[].concat(r(b(P)),r(k)),M.parentNode=D),M}({targetDepth:n,minimumTreeIndex:o,newNode:a,ignoreCollapsed:d,expandParent:p,getNodeKey:l,isPseudoRoot:!0,isLastChild:!0,node:{children:t},currentIndex:-1,currentDepth:-1});if(!("insertedTreeIndex"in h))throw new Error("No suitable position found to insert.");var v=h.insertedTreeIndex;return{treeData:h.node.children,treeIndex:v,path:[].concat(r(h.parentPath),[l({node:a,treeIndex:v})]),parentNode:h.parentNode}},t.getFlatDataFromTree=function(e){var t=e.treeData,n=e.getNodeKey,r=e.ignoreCollapsed,o=void 0===r||r;if(!t||t.length<1)return[];var i=[];return a({treeData:t,getNodeKey:n,ignoreCollapsed:o,callback:function(e){i.push(e)}}),i},t.getTreeFromFlatData=function(e){var t=e.flatData,n=e.getKey,r=void 0===n?function(e){return e.id}:n,o=e.getParentKey,i=void 0===o?function(e){return e.parentId}:o,a=e.rootKey,s=void 0===a?"0":a;if(!t)return[];var l={};return t.forEach((function(e){var t=i(e);t in l?l[t].push(e):l[t]=[e]})),s in l?l[s].map((function(e){return function e(t){var n=r(t);return n in l?c({},t,{children:l[n].map((function(t){return e(t)}))}):c({},t)}(e)})):[]},t.isDescendant=function e(t,n){return!!t.children&&"function"!=typeof t.children&&t.children.some((function(t){return t===n||e(t,n)}))},t.getDepth=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.children?"function"==typeof t.children?n+1:t.children.reduce((function(t,r){return Math.max(t,e(r,n+1))}),n):n},t.find=function(e){var t=e.getNodeKey,n=e.treeData,o=e.searchQuery,i=e.searchMethod,a=e.searchFocusOffset,s=e.expandAllMatchPaths,l=void 0!==s&&s,u=e.expandFocusMatchPaths,d=void 0===u||u,f=0,p=function e(n){var s=n.isPseudoRoot,u=void 0!==s&&s,p=n.node,h=n.currentIndex,v=n.path,g=[],m=!1,y=!1,b=u?[]:[].concat(r(void 0===v?[]:v),[t({node:p,treeIndex:h})]),_=u?null:{path:b,treeIndex:h},w=p.children&&"function"!=typeof p.children&&p.children.length>0;!u&&i(c({},_,{node:p,searchQuery:o}))&&(f===a&&(y=!0),f+=1,m=!0);var S=h,C=c({},p);return w&&(C.children=C.children.map((function(t){var n=e({node:t,currentIndex:S+1,path:b});return n.node.expanded?S=n.treeIndex:S+=1,(n.matches.length>0||n.hasFocusMatch)&&(g=[].concat(r(g),r(n.matches)),n.hasFocusMatch&&(y=!0),(l&&n.matches.length>0||(l||d)&&n.hasFocusMatch)&&(C.expanded=!0)),n.node}))),u||C.expanded||(g=g.map((function(e){return c({},e,{treeIndex:null})}))),m&&(g=[c({},_,{node:C})].concat(r(g))),{node:g.length>0?C:p,matches:g,hasFocusMatch:y,treeIndex:S}}({node:{children:n},isPseudoRoot:!0,currentIndex:-1});return{matches:p.matches,treeData:p.node.children}}},function(e,t){e.exports=n(0)},function(e,t){e.exports=n(1)},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var i=(n=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");return[r].concat(o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}))).concat([i]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=v[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(c(r.parts[i],t))}else{var a=[];for(i=0;i<r.parts.length;i++)a.push(c(r.parts[i],t));v[r.id]={id:r.id,refs:1,parts:a}}}}function o(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 i(e,t){var n=m(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=_[_.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),_.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=m(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function a(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=_.indexOf(e);t>=0&&_.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",l(t,e.attrs),i(e,t),t}function l(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function c(e,t){var n,r,o,c;if(t.transform&&e.css){if(!(c=t.transform(e.css)))return function(){};e.css=c}if(t.singleton){var p=b++;n=y||(y=s(t)),r=u.bind(null,n,p,!1),o=u.bind(null,n,p,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",l(t,e.attrs),i(e,t),t}(t),r=f.bind(null,n,t),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=d.bind(null,n),o=function(){a(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()}}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)}}function d(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function f(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=w(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var p,h,v={},g=(p=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===h&&(h=p.apply(this,arguments)),h}),m=function(e){var t={};return function(n){if(void 0===t[n]){var r=e.call(this,n);if(r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[n]=r}return t[n]}}((function(e){return document.querySelector(e)})),y=null,b=0,_=[],w=n(14);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=g()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=o(e,t);return r(n,t),function(e){for(var i=[],a=0;a<n.length;a++){var s=n[a];(l=v[s.id]).refs--,i.push(l)}for(e&&r(o(e,t),t),a=0;a<i.length;a++){var l;if(0===(l=i[a]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete v[l.id]}}}};var S,C=(S=[],function(e,t){return S[e]=t,S.filter(Boolean).join("\n")})},function(e,t,n){"use strict";function r(e,t,n,r,i){return"function"==typeof n[e]?String(n[e]({node:n,path:r,treeIndex:i})).indexOf(t)>-1:"object"===o(n[e])?function e(t){return"string"==typeof t?t:"object"!==(void 0===t?"undefined":o(t))||!t.props||!t.props.children||"string"!=typeof t.props.children&&"object"!==o(t.props.children)?"":"string"==typeof t.props.children?t.props.children:t.props.children.map((function(t){return e(t)})).join("")}(n[e]).indexOf(t)>-1:n[e]&&String(n[e]).indexOf(t)>-1}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.defaultGetNodeKey=function(e){return e.treeIndex},t.defaultSearchMethod=function(e){var t=e.node,n=e.path,o=e.treeIndex,i=e.searchQuery;return r("title",i,t,n,o)||r("subtitle",i,t,n,o)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.memoizedGetDescendantCount=t.memoizedGetFlatDataFromTree=t.memoizedInsertNode=void 0;var r=n(0),o=function(e){var t=[],n=[],r=null;return function(o){var i=Object.keys(o).sort(),a=i.map((function(e){return o[e]}));return(a.length!==t.length||a.some((function(e,n){return e!==t[n]}))||i.some((function(e,t){return e!==n[t]})))&&(t=a,n=i,r=e(o)),r}};t.memoizedInsertNode=o(r.insertNode),t.memoizedGetFlatDataFromTree=o(r.getFlatDataFromTree),t.memoizedGetDescendantCount=o(r.getDescendantCount)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SortableTreeWithoutDndContext=void 0;var r=n(5);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}));var o=n(0);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}));var i,a=n(8),s=(i=a)&&i.__esModule?i:{default:i};t.default=s.default,t.SortableTreeWithoutDndContext=a.SortableTreeWithoutDndContext},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SortableTreeWithoutDndContext=void 0;var 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=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},a=n(1),s=r(a),l=r(n(2)),c=n(9),u=r(n(10)),d=n(11),f=r(d);n(12);var p=r(n(15)),h=r(n(18)),v=r(n(22)),g=r(n(23)),m=n(0),y=n(6),b=n(26),_=n(5),w=r(n(27)),S=r(n(31)),C=1,O=function(e){var t=i({},e,{style:i({},e.theme.style,e.style),innerStyle:i({},e.theme.innerStyle,e.innerStyle),reactVirtualizedListProps:i({},e.theme.reactVirtualizedListProps,e.reactVirtualizedListProps)}),n={nodeContentRenderer:h.default,placeholderRenderer:g.default,rowHeight:62,scaffoldBlockPxWidth:44,slideRegionSize:100,treeNodeRenderer:p.default};return Object.keys(n).forEach((function(r){null===e[r]&&(t[r]=void 0!==e.theme[r]?e.theme[r]:n[r])})),t},x=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=O(e),o=r.dndType,i=r.nodeContentRenderer,a=r.treeNodeRenderer,s=r.isVirtualized,l=r.slideRegionSize;return n.dndManager=new w.default(n),n.treeId="rst__"+C,C+=1,n.dndType=o||n.treeId,n.nodeContentRenderer=n.dndManager.wrapSource(i),n.treePlaceholderRenderer=n.dndManager.wrapPlaceholder(v.default),n.treeNodeRenderer=n.dndManager.wrapTarget(a),s&&(n.scrollZoneVirtualList=(0,f.default)(c.List),n.vStrength=(0,d.createVerticalStrength)(l),n.hStrength=(0,d.createHorizontalStrength)(l)),n.state={draggingTreeData:null,draggedNode:null,draggedMinimumTreeIndex:null,draggedDepth:null,searchMatches:[],searchFocusTreeIndex:null,dragging:!1},n.toggleChildrenVisibility=n.toggleChildrenVisibility.bind(n),n.moveNode=n.moveNode.bind(n),n.startDrag=n.startDrag.bind(n),n.dragHover=n.dragHover.bind(n),n.endDrag=n.endDrag.bind(n),n.drop=n.drop.bind(n),n.handleDndMonitorChange=n.handleDndMonitorChange.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.loadLazyChildren(),this.search(this.props),this.clearMonitorSubscription=this.context.dragDropManager.getMonitor().subscribeToStateChange(this.handleDndMonitorChange)}},{key:"componentWillReceiveProps",value:function(e){this.props.treeData!==e.treeData?(this.ignoreOneTreeUpdate?this.ignoreOneTreeUpdate=!1:(this.setState({searchFocusTreeIndex:null}),this.loadLazyChildren(e),this.search(e,!1,!1)),this.setState({draggingTreeData:null,draggedNode:null,draggedMinimumTreeIndex:null,draggedDepth:null,dragging:!1})):(0,u.default)(this.props.searchQuery,e.searchQuery)?this.props.searchFocusOffset!==e.searchFocusOffset&&this.search(e,!0,!0,!0):this.search(e)}},{key:"componentDidUpdate",value:function(e,t){this.state.dragging!==t.dragging&&this.props.onDragStateChanged&&this.props.onDragStateChanged({isDragging:this.state.dragging,draggedNode:this.state.draggedNode})}},{key:"componentWillUnmount",value:function(){this.clearMonitorSubscription()}},{key:"getRows",value:function(e){return(0,y.memoizedGetFlatDataFromTree)({ignoreCollapsed:!0,getNodeKey:this.props.getNodeKey,treeData:e})}},{key:"handleDndMonitorChange",value:function(){!this.context.dragDropManager.getMonitor().isDragging()&&this.state.draggingTreeData&&this.endDrag()}},{key:"toggleChildrenVisibility",value:function(e){var t=e.node,n=e.path,r=(0,m.changeNodeAtPath)({treeData:this.props.treeData,path:n,newNode:function(e){var t=e.node;return i({},t,{expanded:!t.expanded})},getNodeKey:this.props.getNodeKey});this.props.onChange(r),this.props.onVisibilityToggle({treeData:r,node:t,expanded:!t.expanded,path:n})}},{key:"moveNode",value:function(e){var t=e.node,n=e.path,r=e.treeIndex,o=e.depth,i=e.minimumTreeIndex,a=(0,m.insertNode)({treeData:this.state.draggingTreeData,newNode:t,depth:o,minimumTreeIndex:i,expandParent:!0,getNodeKey:this.props.getNodeKey}),s=a.treeData,l=a.treeIndex,c=a.path,u=a.parentNode;this.props.onChange(s),this.props.onMoveNode({treeData:s,node:t,treeIndex:l,path:c,nextPath:c,nextTreeIndex:l,prevPath:n,prevTreeIndex:r,nextParentNode:u})}},{key:"search",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e.treeData,i=e.onChange,a=e.searchFinishCallback,s=e.searchQuery,l=e.searchMethod,c=e.searchFocusOffset;if((null==s||""===String(s))&&!l)return this.setState({searchMatches:[]}),void(a&&a([]));var u=(0,m.find)({getNodeKey:this.props.getNodeKey,treeData:o,searchQuery:s,searchMethod:l||_.defaultSearchMethod,searchFocusOffset:c,expandAllMatchPaths:n&&!r,expandFocusMatchPaths:!!n}),d=u.treeData,f=u.matches;n&&(this.ignoreOneTreeUpdate=!0,i(d)),a&&a(f);var p=null;t&&null!==c&&c<f.length&&(p=f[c].treeIndex),this.setState({searchMatches:f,searchFocusTreeIndex:p})}},{key:"startDrag",value:function(e){var t=this,n=e.path;this.setState((function(){var e=(0,m.removeNode)({treeData:t.props.treeData,path:n,getNodeKey:t.props.getNodeKey}),r=e.treeData,o=e.node,i=e.treeIndex;return{draggingTreeData:r,draggedNode:o,draggedDepth:n.length-1,draggedMinimumTreeIndex:i,dragging:!0}}))}},{key:"dragHover",value:function(e){var t=e.node,n=e.depth,r=e.minimumTreeIndex;if(this.state.draggedDepth!==n||this.state.draggedMinimumTreeIndex!==r){var o=this.state.draggingTreeData||this.props.treeData,a=(0,y.memoizedInsertNode)({treeData:o,newNode:t,depth:n,minimumTreeIndex:r,expandParent:!0,getNodeKey:this.props.getNodeKey}),s=this.getRows(a.treeData)[a.treeIndex].path;this.setState({draggedNode:t,draggedDepth:n,draggedMinimumTreeIndex:r,draggingTreeData:(0,m.changeNodeAtPath)({treeData:o,path:s.slice(0,-1),newNode:function(e){var t=e.node;return i({},t,{expanded:!0})},getNodeKey:this.props.getNodeKey}),searchFocusTreeIndex:null,dragging:!0})}}},{key:"endDrag",value:function(e){if(e){if(e.treeId!==this.treeId){var t=e.node,n=e.path,r=e.treeIndex,o=this.props.shouldCopyOnOutsideDrop;"function"==typeof o&&(o=o({node:t,prevTreeIndex:r,prevPath:n}));var a=this.state.draggingTreeData||this.props.treeData;o&&(a=(0,m.changeNodeAtPath)({treeData:this.props.treeData,path:n,newNode:function(e){var t=e.node;return i({},t)},getNodeKey:this.props.getNodeKey})),this.props.onChange(a),this.props.onMoveNode({treeData:a,node:t,treeIndex:null,path:null,nextPath:null,nextTreeIndex:null,prevPath:n,prevTreeIndex:r})}}else this.setState({draggingTreeData:null,draggedNode:null,draggedMinimumTreeIndex:null,draggedDepth:null,dragging:!1})}},{key:"drop",value:function(e){this.moveNode(e)}},{key:"loadLazyChildren",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;(0,m.walk)({treeData:t.treeData,getNodeKey:this.props.getNodeKey,callback:function(n){var r=n.node,o=n.path,a=n.lowerSiblingCounts,s=n.treeIndex;r.children&&"function"==typeof r.children&&(r.expanded||t.loadCollapsedLazyChildren)&&r.children({node:r,path:o,lowerSiblingCounts:a,treeIndex:s,done:function(t){return e.props.onChange((0,m.changeNodeAtPath)({treeData:e.props.treeData,path:o,newNode:function(e){var n=e.node;return n===r?i({},n,{children:t}):n},getNodeKey:e.props.getNodeKey}))}})}})}},{key:"renderRow",value:function(e,t){var n=e.node,r=e.parentNode,o=e.path,a=e.lowerSiblingCounts,l=e.treeIndex,c=t.listIndex,u=t.style,d=t.getPrevRow,f=t.matchKeys,p=t.swapFrom,h=t.swapDepth,v=t.swapLength,g=O(this.props),m=g.canDrag,y=g.generateNodeProps,b=g.scaffoldBlockPxWidth,_=g.searchFocusOffset,w=this.treeNodeRenderer,S=this.nodeContentRenderer,C=o[o.length-1],x=C in f,T=x&&f[C]===_,k={node:n,parentNode:r,path:o,lowerSiblingCounts:a,treeIndex:l,isSearchMatch:x,isSearchFocus:T},D=y?y(k):{},E="function"!=typeof m?m:m(k),I={treeIndex:l,scaffoldBlockPxWidth:b,node:n,path:o,treeId:this.treeId};return s.default.createElement(w,i({style:u,key:C,listIndex:c,getPrevRow:d,lowerSiblingCounts:a,swapFrom:p,swapLength:v,swapDepth:h},I),s.default.createElement(S,i({parentNode:r,isSearchMatch:x,isSearchFocus:T,canDrag:E,toggleChildrenVisibility:this.toggleChildrenVisibility},I,D)))}},{key:"render",value:function(){var e=this,t=O(this.props),n=t.style,r=t.className,o=t.innerStyle,a=t.rowHeight,l=t.isVirtualized,u=t.placeholderRenderer,d=t.reactVirtualizedListProps,f=t.getNodeKey,p=this.state,h=p.searchMatches,v=p.searchFocusTreeIndex,g=p.draggedNode,m=p.draggedDepth,_=p.draggedMinimumTreeIndex,w=this.state.draggingTreeData||this.props.treeData,C=void 0,x=null,T=null;if(g&&null!==_){var k=(0,y.memoizedInsertNode)({treeData:w,newNode:g,depth:m,minimumTreeIndex:_,expandParent:!0,getNodeKey:f}),D=_;x=k.treeIndex,T=1+(0,y.memoizedGetDescendantCount)({node:g}),C=(0,b.slideRows)(this.getRows(k.treeData),x,D,T)}else C=this.getRows(w);var E={};h.forEach((function(e,t){var n=e.path;E[n[n.length-1]]=t}));var I=null!==v?{scrollToIndex:v}:{},P=n,M=void 0;if(C.length<1){var R=this.treePlaceholderRenderer,N=u;M=s.default.createElement(R,{treeId:this.treeId,drop:this.drop},s.default.createElement(N,null))}else if(l){P=i({height:"100%"},P);var j=this.scrollZoneVirtualList;M=s.default.createElement(c.AutoSizer,null,(function(t){var n=t.height,r=t.width;return s.default.createElement(j,i({},I,{verticalStrength:e.vStrength,horizontalStrength:e.hStrength,speed:30,scrollToAlignment:"start",className:S.default.virtualScrollOverride,width:r,onScroll:function(t){var n=t.scrollTop;e.scrollTop=n},height:n,style:o,rowCount:C.length,estimatedRowSize:"function"!=typeof a?a:void 0,rowHeight:"function"!=typeof a?a:function(e){var t=e.index;return a({index:t,treeIndex:t,node:C[t].node,path:C[t].path})},rowRenderer:function(t){var n=t.index,r=t.style;return e.renderRow(C[n],{listIndex:n,style:r,getPrevRow:function(){return C[n-1]||null},matchKeys:E,swapFrom:x,swapDepth:m,swapLength:T})}},d))}))}else M=C.map((function(t,n){return e.renderRow(t,{listIndex:n,style:{height:"function"!=typeof a?a:a({index:n,treeIndex:n,node:t.node,path:t.path})},getPrevRow:function(){return C[n-1]||null},matchKeys:E,swapFrom:x,swapDepth:m,swapLength:T})}));return s.default.createElement("div",{className:S.default.tree+(r?" "+r:""),style:P},M)}}]),t}(a.Component);x.propTypes={treeData:l.default.arrayOf(l.default.object).isRequired,style:l.default.shape({}),className:l.default.string,innerStyle:l.default.shape({}),rowHeight:l.default.oneOfType([l.default.number,l.default.func]),slideRegionSize:l.default.number,reactVirtualizedListProps:l.default.shape({}),scaffoldBlockPxWidth:l.default.number,maxDepth:l.default.number,searchMethod:l.default.func,searchQuery:l.default.any,searchFocusOffset:l.default.number,searchFinishCallback:l.default.func,generateNodeProps:l.default.func,isVirtualized:l.default.bool,treeNodeRenderer:l.default.func,nodeContentRenderer:l.default.func,placeholderRenderer:l.default.func,theme:l.default.shape({style:l.default.shape({}),innerStyle:l.default.shape({}),reactVirtualizedListProps:l.default.shape({}),scaffoldBlockPxWidth:l.default.number,slideRegionSize:l.default.number,rowHeight:l.default.oneOfType([l.default.number,l.default.func]),treeNodeRenderer:l.default.func,nodeContentRenderer:l.default.func,placeholderRenderer:l.default.func}),getNodeKey:l.default.func,onChange:l.default.func.isRequired,onMoveNode:l.default.func,canDrag:l.default.oneOfType([l.default.func,l.default.bool]),canDrop:l.default.func,shouldCopyOnOutsideDrop:l.default.oneOfType([l.default.func,l.default.bool]),onVisibilityToggle:l.default.func,dndType:l.default.string,onDragStateChanged:l.default.func},x.defaultProps={canDrag:!0,canDrop:null,className:"",dndType:null,generateNodeProps:null,getNodeKey:_.defaultGetNodeKey,innerStyle:{},isVirtualized:!0,maxDepth:null,treeNodeRenderer:null,nodeContentRenderer:null,onMoveNode:function(){},onVisibilityToggle:function(){},placeholderRenderer:null,reactVirtualizedListProps:{},rowHeight:null,scaffoldBlockPxWidth:null,searchFinishCallback:null,searchFocusOffset:null,searchMethod:null,searchQuery:null,shouldCopyOnOutsideDrop:!1,slideRegionSize:null,style:{},theme:{},onDragStateChanged:function(){}},x.contextTypes={dragDropManager:l.default.shape({})},t.SortableTreeWithoutDndContext=x,t.default=w.default.wrapRoot(x)},function(e,t){e.exports=n(350)},function(e,t){e.exports=n(270)},function(e,t){e.exports=n(271)},function(e,t,n){var r=n(13);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,"/* Collection default theme */\n\n._2Ys25aFCIH7ZWp76lcHbjs {\n}\n\n._1wpSOFYFr7x9PMM0KcYTxm {\n}\n\n/* Grid default theme */\n\n._2SUC15-WVgF4XhvHuU81GS {\n}\n\n._3q1PBGJ8fGciELoHlm7I3C {\n}\n\n/* Table default theme */\n\n._1yPBpbwEbdtD7UxLvhZhM {\n}\n\n._1itUjAnMCYR-25x1rmTdtF {\n}\n\n._33g8s-zht4xwLlXSWWWwa3 {\n font-weight: 700;\n text-transform: uppercase;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n._3ZiV_g6aRjm62hwIWbJU38 {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n._3eKreK7WxwxtZyKjYLiygd {\n display: inline-block;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n._19Z4wAfIa_DTwtOUYjz8t,\n._2TseG-JCD0K5o_VT5VIN_w {\n margin-right: 10px;\n min-width: 0px;\n}\n._2TseG-JCD0K5o_VT5VIN_w {\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n._19Z4wAfIa_DTwtOUYjz8t:first-of-type,\n._2TseG-JCD0K5o_VT5VIN_w:first-of-type {\n margin-left: 10px;\n}\n._1RR8EsDxozD7xvl8boaBiB {\n cursor: pointer;\n}\n\n._1u1DZQe3YaUugu3cLrtqng {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n._15mdGqvC02VcdkTaoIuS06 {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 24px;\n flex: 0 0 24px;\n height: 1em;\n width: 1em;\n fill: currentColor;\n}\n\n/* List default theme */\n\n._3HeSXQaspPzpYJlLHQlyit {\n}",""]),t.locals={ReactVirtualized__Collection:"_2Ys25aFCIH7ZWp76lcHbjs",ReactVirtualized__Collection__innerScrollContainer:"_1wpSOFYFr7x9PMM0KcYTxm",ReactVirtualized__Grid:"_2SUC15-WVgF4XhvHuU81GS",ReactVirtualized__Grid__innerScrollContainer:"_3q1PBGJ8fGciELoHlm7I3C",ReactVirtualized__Table:"_1yPBpbwEbdtD7UxLvhZhM",ReactVirtualized__Table__Grid:"_1itUjAnMCYR-25x1rmTdtF",ReactVirtualized__Table__headerRow:"_33g8s-zht4xwLlXSWWWwa3",ReactVirtualized__Table__row:"_3ZiV_g6aRjm62hwIWbJU38",ReactVirtualized__Table__headerTruncatedText:"_3eKreK7WxwxtZyKjYLiygd",ReactVirtualized__Table__headerColumn:"_19Z4wAfIa_DTwtOUYjz8t",ReactVirtualized__Table__rowColumn:"_2TseG-JCD0K5o_VT5VIN_w",ReactVirtualized__Table__sortableHeaderColumn:"_1RR8EsDxozD7xvl8boaBiB",ReactVirtualized__Table__sortableHeaderIconContainer:"_1u1DZQe3YaUugu3cLrtqng",ReactVirtualized__Table__sortableHeaderIcon:"_15mdGqvC02VcdkTaoIuS06",ReactVirtualized__List:"_3HeSXQaspPzpYJlLHQlyit"}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}Object.defineProperty(t,"__esModule",{value:!0});var 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},s=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}}(),l=n(1),c=r(l),u=r(n(2)),d=r(n(16)),f=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.listIndex,r=e.swapFrom,o=e.swapLength,i=e.swapDepth,s=e.scaffoldBlockPxWidth,u=e.lowerSiblingCounts,f=e.connectDropTarget,p=e.isOver,h=e.draggedNode,v=e.canDrop,g=e.treeIndex,m=(e.treeId,e.getPrevRow,e.node,e.path,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","listIndex","swapFrom","swapLength","swapDepth","scaffoldBlockPxWidth","lowerSiblingCounts","connectDropTarget","isOver","draggedNode","canDrop","treeIndex","treeId","getPrevRow","node","path"])),y=u.length,b=[];return u.forEach((function(e,t){var a,l="";e>0?l=0===n?d.default.lineHalfHorizontalRight+" "+d.default.lineHalfVerticalBottom:t===y-1?d.default.lineHalfHorizontalRight+" "+d.default.lineFullVertical:d.default.lineFullVertical:0===n?l=d.default.lineHalfHorizontalRight:t===y-1&&(l=d.default.lineHalfVerticalTop+" "+d.default.lineHalfHorizontalRight),b.push(c.default.createElement("div",{key:"pre_"+(1+t),style:{width:s},className:d.default.lineBlock+" "+l})),g!==n&&t===i&&(a=n===r+o-1?d.default.highlightBottomLeftCorner:g===r?d.default.highlightTopLeftCorner:d.default.highlightLineVertical,b.push(c.default.createElement("div",{key:t,style:{width:s,left:s*t},className:d.default.absoluteLineBlock+" "+a})))})),f(c.default.createElement("div",a({},m,{className:d.default.node}),b,c.default.createElement("div",{className:d.default.nodeContent,style:{left:s*y}},l.Children.map(t,(function(e){return(0,l.cloneElement)(e,{isOver:p,canDrop:v,draggedNode:h})})))))}}]),t}(l.Component);f.defaultProps={swapFrom:null,swapDepth:null,swapLength:null,canDrop:!1,draggedNode:null},f.propTypes={treeIndex:u.default.number.isRequired,treeId:u.default.string.isRequired,swapFrom:u.default.number,swapDepth:u.default.number,swapLength:u.default.number,scaffoldBlockPxWidth:u.default.number.isRequired,lowerSiblingCounts:u.default.arrayOf(u.default.number).isRequired,listIndex:u.default.number.isRequired,children:u.default.node.isRequired,connectDropTarget:u.default.func.isRequired,isOver:u.default.bool.isRequired,canDrop:u.default.bool,draggedNode:u.default.shape({}),getPrevRow:u.default.func.isRequired,node:u.default.shape({}).isRequired,path:u.default.arrayOf(u.default.oneOfType([u.default.string,u.default.number])).isRequired},t.default=f},function(e,t,n){var r=n(17);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,".rst__node {\n min-width: 100%;\n white-space: nowrap;\n position: relative;\n text-align: left; }\n\n.rst__nodeContent {\n position: absolute;\n top: 0;\n bottom: 0; }\n\n/* ==========================================================================\n Scaffold\n\n Line-overlaid blocks used for showing the tree structure\n ========================================================================== */\n.rst__lineBlock, .rst__absoluteLineBlock {\n height: 100%;\n position: relative;\n display: inline-block; }\n\n.rst__absoluteLineBlock {\n position: absolute;\n top: 0; }\n\n.rst__lineHalfHorizontalRight::before, .rst__lineFullVertical::after, .rst__lineHalfVerticalTop::after, .rst__lineHalfVerticalBottom::after {\n position: absolute;\n content: '';\n background-color: black; }\n\n/**\n * +-----+\n * | |\n * | +--+\n * | |\n * +-----+\n */\n.rst__lineHalfHorizontalRight::before {\n height: 1px;\n top: 50%;\n right: 0;\n width: 50%; }\n\n/**\n * +--+--+\n * | | |\n * | | |\n * | | |\n * +--+--+\n */\n.rst__lineFullVertical::after, .rst__lineHalfVerticalTop::after, .rst__lineHalfVerticalBottom::after {\n width: 1px;\n left: 50%;\n top: 0;\n height: 100%; }\n\n/**\n * +-----+\n * | | |\n * | + |\n * | |\n * +-----+\n */\n.rst__lineHalfVerticalTop::after, .rst__lineHalfVerticalBottom::after {\n top: 0;\n height: 50%; }\n\n/**\n * +-----+\n * | |\n * | + |\n * | | |\n * +-----+\n */\n.rst__lineHalfVerticalBottom::after {\n top: auto;\n bottom: 0; }\n\n/* Highlight line for pointing to dragged row destination\n ========================================================================== */\n/**\n * +--+--+\n * | | |\n * | | |\n * | | |\n * +--+--+\n */\n.rst__highlightLineVertical {\n z-index: 3; }\n .rst__highlightLineVertical::before {\n position: absolute;\n content: '';\n background-color: #36c2f6;\n width: 8px;\n margin-left: -4px;\n left: 50%;\n top: 0;\n height: 100%; }\n\n@-webkit-keyframes rst__arrow-pulse {\n 0% {\n -webkit-transform: translate(0, 0);\n transform: translate(0, 0);\n opacity: 0; }\n 30% {\n -webkit-transform: translate(0, 300%);\n transform: translate(0, 300%);\n opacity: 1; }\n 70% {\n -webkit-transform: translate(0, 700%);\n transform: translate(0, 700%);\n opacity: 1; }\n 100% {\n -webkit-transform: translate(0, 1000%);\n transform: translate(0, 1000%);\n opacity: 0; } }\n\n@keyframes rst__arrow-pulse {\n 0% {\n -webkit-transform: translate(0, 0);\n transform: translate(0, 0);\n opacity: 0; }\n 30% {\n -webkit-transform: translate(0, 300%);\n transform: translate(0, 300%);\n opacity: 1; }\n 70% {\n -webkit-transform: translate(0, 700%);\n transform: translate(0, 700%);\n opacity: 1; }\n 100% {\n -webkit-transform: translate(0, 1000%);\n transform: translate(0, 1000%);\n opacity: 0; } }\n .rst__highlightLineVertical::after {\n content: '';\n position: absolute;\n height: 0;\n margin-left: -4px;\n left: 50%;\n top: 0;\n border-left: 4px solid transparent;\n border-right: 4px solid transparent;\n border-top: 4px solid white;\n -webkit-animation: rst__arrow-pulse 1s infinite linear both;\n animation: rst__arrow-pulse 1s infinite linear both; }\n\n/**\n * +-----+\n * | |\n * | +--+\n * | | |\n * +--+--+\n */\n.rst__highlightTopLeftCorner::before {\n z-index: 3;\n content: '';\n position: absolute;\n border-top: solid 8px #36c2f6;\n border-left: solid 8px #36c2f6;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n height: calc(50% + 4px);\n top: 50%;\n margin-top: -4px;\n right: 0;\n width: calc(50% + 4px); }\n\n/**\n * +--+--+\n * | | |\n * | | |\n * | +->|\n * +-----+\n */\n.rst__highlightBottomLeftCorner {\n z-index: 3; }\n .rst__highlightBottomLeftCorner::before {\n content: '';\n position: absolute;\n border-bottom: solid 8px #36c2f6;\n border-left: solid 8px #36c2f6;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n height: calc(100% + 4px);\n top: 0;\n right: 12px;\n width: calc(50% - 8px); }\n .rst__highlightBottomLeftCorner::after {\n content: '';\n position: absolute;\n height: 0;\n right: 0;\n top: 100%;\n margin-top: -12px;\n border-top: 12px solid transparent;\n border-bottom: 12px solid transparent;\n border-left: 12px solid #36c2f6; }\n",""]),t.locals={node:"rst__node",nodeContent:"rst__nodeContent",lineBlock:"rst__lineBlock",absoluteLineBlock:"rst__absoluteLineBlock",lineHalfHorizontalRight:"rst__lineHalfHorizontalRight",lineFullVertical:"rst__lineFullVertical",lineHalfVerticalTop:"rst__lineHalfVerticalTop",lineHalfVerticalBottom:"rst__lineHalfVerticalBottom",highlightLineVertical:"rst__highlightLineVertical","arrow-pulse":"rst__arrow-pulse",highlightTopLeftCorner:"rst__highlightTopLeftCorner",highlightBottomLeftCorner:"rst__highlightBottomLeftCorner"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=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},l=n(1),c=r(l),u=r(n(2)),d=n(19),f=r(n(20)),p=n(0),h=f.default;d.getIEVersion<10&&(h=s({},f.default,{row:h.row+" "+h.row_NoFlex,rowContents:h.rowContents+" "+h.rowContents_NoFlex,rowLabel:h.rowLabel+" "+h.rowLabel_NoFlex,rowToolbar:h.rowToolbar+" "+h.rowToolbar_NoFlex}));var v=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e.scaffoldBlockPxWidth,n=e.toggleChildrenVisibility,r=e.connectDragPreview,o=e.connectDragSource,i=e.isDragging,a=e.canDrop,l=e.canDrag,u=e.node,d=e.title,f=e.subtitle,v=e.draggedNode,g=e.path,m=e.treeIndex,y=e.isSearchMatch,b=e.isSearchFocus,_=e.buttons,w=e.className,S=e.style,C=e.didDrop,O=(e.treeId,e.isOver,e.parentNode,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["scaffoldBlockPxWidth","toggleChildrenVisibility","connectDragPreview","connectDragSource","isDragging","canDrop","canDrag","node","title","subtitle","draggedNode","path","treeIndex","isSearchMatch","isSearchFocus","buttons","className","style","didDrop","treeId","isOver","parentNode"])),x=d||u.title,T=f||u.subtitle,k=void 0;l&&(k="function"==typeof u.children&&u.expanded?c.default.createElement("div",{className:h.loadingHandle},c.default.createElement("div",{className:h.loadingCircle},c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}))):o(c.default.createElement("div",{className:h.moveHandle}),{dropEffect:"copy"}));var D=v&&(0,p.isDescendant)(v,u),E=!C&&i;return c.default.createElement("div",s({style:{height:"100%"}},O),n&&u.children&&(u.children.length>0||"function"==typeof u.children)&&c.default.createElement("div",null,c.default.createElement("button",{type:"button","aria-label":u.expanded?"Collapse":"Expand",className:u.expanded?h.collapseButton:h.expandButton,style:{left:-.5*t},onClick:function(){return n({node:u,path:g,treeIndex:m})}}),u.expanded&&!i&&c.default.createElement("div",{style:{width:t},className:h.lineChildren})),c.default.createElement("div",{className:h.rowWrapper},r(c.default.createElement("div",{className:h.row+(E?" "+h.rowLandingPad:"")+(E&&!a?" "+h.rowCancelPad:"")+(y?" "+h.rowSearchMatch:"")+(b?" "+h.rowSearchFocus:"")+(w?" "+w:""),style:s({opacity:D?.5:1},S)},k,c.default.createElement("div",{className:h.rowContents+(l?"":" "+h.rowContentsDragDisabled)},c.default.createElement("div",{className:h.rowLabel},c.default.createElement("span",{className:h.rowTitle+(u.subtitle?" "+h.rowTitleWithSubtitle:"")},"function"==typeof x?x({node:u,path:g,treeIndex:m}):x),T&&c.default.createElement("span",{className:h.rowSubtitle},"function"==typeof T?T({node:u,path:g,treeIndex:m}):T)),c.default.createElement("div",{className:h.rowToolbar},_.map((function(e,t){return c.default.createElement("div",{key:t,className:h.toolbarButton},e)}))))))))}}]),t}(l.Component);v.defaultProps={isSearchMatch:!1,isSearchFocus:!1,canDrag:!1,toggleChildrenVisibility:null,buttons:[],className:"",style:{},parentNode:null,draggedNode:null,canDrop:!1,title:null,subtitle:null},v.propTypes={node:u.default.shape({}).isRequired,title:u.default.oneOfType([u.default.func,u.default.node]),subtitle:u.default.oneOfType([u.default.func,u.default.node]),path:u.default.arrayOf(u.default.oneOfType([u.default.string,u.default.number])).isRequired,treeIndex:u.default.number.isRequired,treeId:u.default.string.isRequired,isSearchMatch:u.default.bool,isSearchFocus:u.default.bool,canDrag:u.default.bool,scaffoldBlockPxWidth:u.default.number.isRequired,toggleChildrenVisibility:u.default.func,buttons:u.default.arrayOf(u.default.node),className:u.default.string,style:u.default.shape({}),connectDragPreview:u.default.func.isRequired,connectDragSource:u.default.func.isRequired,parentNode:u.default.shape({}),isDragging:u.default.bool.isRequired,didDrop:u.default.bool.isRequired,draggedNode:u.default.shape({}),isOver:u.default.bool.isRequired,canDrop:u.default.bool},t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIEVersion=function(){var e=navigator.userAgent.match(/(?:MSIE |Trident\/.*; rv:)(\d+)/);return e?parseInt(e[1],10):void 0}},function(e,t,n){var r=n(21);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,".rst__rowWrapper {\n padding: 10px 10px 10px 0;\n height: 100%;\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n\n.rst__row {\n height: 100%;\n white-space: nowrap;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex; }\n .rst__row > * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n\n/**\n * The outline of where the element will go if dropped, displayed while dragging\n */\n.rst__rowLandingPad, .rst__rowCancelPad {\n border: none !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n outline: none !important; }\n .rst__rowLandingPad > *, .rst__rowCancelPad > * {\n opacity: 0 !important; }\n .rst__rowLandingPad::before, .rst__rowCancelPad::before {\n background-color: lightblue;\n border: 3px dashed white;\n content: '';\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: -1; }\n\n/**\n * Alternate appearance of the landing pad when the dragged location is invalid\n */\n.rst__rowCancelPad::before {\n background-color: #e6a8ad; }\n\n/**\n * Nodes matching the search conditions are highlighted\n */\n.rst__rowSearchMatch {\n outline: solid 3px #0080ff; }\n\n/**\n * The node that matches the search conditions and is currently focused\n */\n.rst__rowSearchFocus {\n outline: solid 3px #fc6421; }\n\n.rst__rowContents, .rst__rowLabel, .rst__rowToolbar, .rst__moveHandle, .rst__loadingHandle, .rst__toolbarButton, .rst__rowLabel_NoFlex, .rst__rowToolbar_NoFlex {\n display: inline-block;\n vertical-align: middle; }\n\n.rst__rowContents {\n position: relative;\n height: 100%;\n border: solid #bbb 1px;\n border-left: none;\n -webkit-box-shadow: 0 2px 2px -2px;\n box-shadow: 0 2px 2px -2px;\n padding: 0 5px 0 10px;\n border-radius: 2px;\n min-width: 230px;\n -webkit-box-flex: 1;\n -ms-flex: 1 0 auto;\n flex: 1 0 auto;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n background-color: white; }\n\n.rst__rowContentsDragDisabled {\n border-left: solid #bbb 1px; }\n\n.rst__rowLabel {\n -webkit-box-flex: 0;\n -ms-flex: 0 1 auto;\n flex: 0 1 auto;\n padding-right: 20px; }\n\n.rst__rowToolbar {\n -webkit-box-flex: 0;\n -ms-flex: 0 1 auto;\n flex: 0 1 auto;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex; }\n\n.rst__moveHandle, .rst__loadingHandle {\n height: 100%;\n width: 44px;\n background: #d9d9d9 url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MiIgaGVpZ2h0PSI0MiI+PGcgc3Ryb2tlPSIjRkZGIiBzdHJva2Utd2lkdGg9IjIuOSIgPjxwYXRoIGQ9Ik0xNCAxNS43aDE0LjQiLz48cGF0aCBkPSJNMTQgMjEuNGgxNC40Ii8+PHBhdGggZD0iTTE0IDI3LjFoMTQuNCIvPjwvZz4KPC9zdmc+\") no-repeat center;\n border: solid #aaa 1px;\n -webkit-box-shadow: 0 2px 2px -2px;\n box-shadow: 0 2px 2px -2px;\n cursor: move;\n border-radius: 1px;\n z-index: 1; }\n\n.rst__loadingHandle {\n cursor: default;\n background: #d9d9d9; }\n\n@-webkit-keyframes rst__pointFade {\n 0%,\n 19.999%,\n 100% {\n opacity: 0; }\n 20% {\n opacity: 1; } }\n\n@keyframes rst__pointFade {\n 0%,\n 19.999%,\n 100% {\n opacity: 0; }\n 20% {\n opacity: 1; } }\n\n.rst__loadingCircle {\n width: 80%;\n height: 80%;\n margin: 10%;\n position: relative; }\n\n.rst__loadingCirclePoint {\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0; }\n .rst__loadingCirclePoint:before {\n content: '';\n display: block;\n margin: 0 auto;\n width: 11%;\n height: 30%;\n background-color: #fff;\n border-radius: 30%;\n -webkit-animation: rst__pointFade 800ms infinite ease-in-out both;\n animation: rst__pointFade 800ms infinite ease-in-out both; }\n .rst__loadingCirclePoint:nth-of-type(1) {\n -webkit-transform: rotate(0deg);\n -ms-transform: rotate(0deg);\n transform: rotate(0deg); }\n .rst__loadingCirclePoint:nth-of-type(7) {\n -webkit-transform: rotate(180deg);\n -ms-transform: rotate(180deg);\n transform: rotate(180deg); }\n .rst__loadingCirclePoint:nth-of-type(1):before, .rst__loadingCirclePoint:nth-of-type(7):before {\n -webkit-animation-delay: -800ms;\n animation-delay: -800ms; }\n .rst__loadingCirclePoint:nth-of-type(2) {\n -webkit-transform: rotate(30deg);\n -ms-transform: rotate(30deg);\n transform: rotate(30deg); }\n .rst__loadingCirclePoint:nth-of-type(8) {\n -webkit-transform: rotate(210deg);\n -ms-transform: rotate(210deg);\n transform: rotate(210deg); }\n .rst__loadingCirclePoint:nth-of-type(2):before, .rst__loadingCirclePoint:nth-of-type(8):before {\n -webkit-animation-delay: -666.66667ms;\n animation-delay: -666.66667ms; }\n .rst__loadingCirclePoint:nth-of-type(3) {\n -webkit-transform: rotate(60deg);\n -ms-transform: rotate(60deg);\n transform: rotate(60deg); }\n .rst__loadingCirclePoint:nth-of-type(9) {\n -webkit-transform: rotate(240deg);\n -ms-transform: rotate(240deg);\n transform: rotate(240deg); }\n .rst__loadingCirclePoint:nth-of-type(3):before, .rst__loadingCirclePoint:nth-of-type(9):before {\n -webkit-animation-delay: -533.33333ms;\n animation-delay: -533.33333ms; }\n .rst__loadingCirclePoint:nth-of-type(4) {\n -webkit-transform: rotate(90deg);\n -ms-transform: rotate(90deg);\n transform: rotate(90deg); }\n .rst__loadingCirclePoint:nth-of-type(10) {\n -webkit-transform: rotate(270deg);\n -ms-transform: rotate(270deg);\n transform: rotate(270deg); }\n .rst__loadingCirclePoint:nth-of-type(4):before, .rst__loadingCirclePoint:nth-of-type(10):before {\n -webkit-animation-delay: -400ms;\n animation-delay: -400ms; }\n .rst__loadingCirclePoint:nth-of-type(5) {\n -webkit-transform: rotate(120deg);\n -ms-transform: rotate(120deg);\n transform: rotate(120deg); }\n .rst__loadingCirclePoint:nth-of-type(11) {\n -webkit-transform: rotate(300deg);\n -ms-transform: rotate(300deg);\n transform: rotate(300deg); }\n .rst__loadingCirclePoint:nth-of-type(5):before, .rst__loadingCirclePoint:nth-of-type(11):before {\n -webkit-animation-delay: -266.66667ms;\n animation-delay: -266.66667ms; }\n .rst__loadingCirclePoint:nth-of-type(6) {\n -webkit-transform: rotate(150deg);\n -ms-transform: rotate(150deg);\n transform: rotate(150deg); }\n .rst__loadingCirclePoint:nth-of-type(12) {\n -webkit-transform: rotate(330deg);\n -ms-transform: rotate(330deg);\n transform: rotate(330deg); }\n .rst__loadingCirclePoint:nth-of-type(6):before, .rst__loadingCirclePoint:nth-of-type(12):before {\n -webkit-animation-delay: -133.33333ms;\n animation-delay: -133.33333ms; }\n .rst__loadingCirclePoint:nth-of-type(7) {\n -webkit-transform: rotate(180deg);\n -ms-transform: rotate(180deg);\n transform: rotate(180deg); }\n .rst__loadingCirclePoint:nth-of-type(13) {\n -webkit-transform: rotate(360deg);\n -ms-transform: rotate(360deg);\n transform: rotate(360deg); }\n .rst__loadingCirclePoint:nth-of-type(7):before, .rst__loadingCirclePoint:nth-of-type(13):before {\n -webkit-animation-delay: 0ms;\n animation-delay: 0ms; }\n\n.rst__rowTitle {\n font-weight: bold; }\n\n.rst__rowTitleWithSubtitle {\n font-size: 85%;\n display: block;\n height: 0.8rem; }\n\n.rst__rowSubtitle {\n font-size: 70%;\n line-height: 1; }\n\n.rst__collapseButton,\n.rst__expandButton {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border: none;\n position: absolute;\n border-radius: 100%;\n -webkit-box-shadow: 0 0 0 1px #000;\n box-shadow: 0 0 0 1px #000;\n width: 16px;\n height: 16px;\n padding: 0;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n cursor: pointer; }\n .rst__collapseButton:focus,\n .rst__expandButton:focus {\n outline: none;\n -webkit-box-shadow: 0 0 0 1px #000, 0 0 1px 3px #83bef9;\n box-shadow: 0 0 0 1px #000, 0 0 1px 3px #83bef9; }\n .rst__collapseButton:hover:not(:active),\n .rst__expandButton:hover:not(:active) {\n background-size: 24px;\n height: 20px;\n width: 20px; }\n\n.rst__collapseButton {\n background: #fff url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+PGNpcmNsZSBjeD0iOSIgY3k9IjkiIHI9IjgiIGZpbGw9IiNGRkYiLz48ZyBzdHJva2U9IiM5ODk4OTgiIHN0cm9rZS13aWR0aD0iMS45IiA+PHBhdGggZD0iTTQuNSA5aDkiLz48L2c+Cjwvc3ZnPg==\") no-repeat center; }\n\n.rst__expandButton {\n background: #fff url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+PGNpcmNsZSBjeD0iOSIgY3k9IjkiIHI9IjgiIGZpbGw9IiNGRkYiLz48ZyBzdHJva2U9IiM5ODk4OTgiIHN0cm9rZS13aWR0aD0iMS45IiA+PHBhdGggZD0iTTQuNSA5aDkiLz48cGF0aCBkPSJNOSA0LjV2OSIvPjwvZz4KPC9zdmc+\") no-repeat center; }\n\n/**\n * Classes for IE9 and below\n */\n.rst__row_NoFlex::before, .rst__rowContents_NoFlex::before {\n content: '';\n display: inline-block;\n vertical-align: middle;\n height: 100%; }\n\n.rst__rowContents_NoFlex {\n display: inline-block; }\n .rst__rowContents_NoFlex::after {\n content: '';\n display: inline-block;\n width: 100%; }\n\n.rst__rowLabel_NoFlex {\n width: 50%; }\n\n.rst__rowToolbar_NoFlex {\n text-align: right;\n width: 50%; }\n\n/**\n * Line for under a node with children\n */\n.rst__lineChildren {\n height: 100%;\n display: inline-block;\n position: absolute; }\n .rst__lineChildren::after {\n content: '';\n position: absolute;\n background-color: black;\n width: 1px;\n left: 50%;\n bottom: 0;\n height: 10px; }\n",""]),t.locals={rowWrapper:"rst__rowWrapper",row:"rst__row",rowLandingPad:"rst__rowLandingPad",rowCancelPad:"rst__rowCancelPad",rowSearchMatch:"rst__rowSearchMatch",rowSearchFocus:"rst__rowSearchFocus",rowContents:"rst__rowContents",rowLabel:"rst__rowLabel",rowToolbar:"rst__rowToolbar",moveHandle:"rst__moveHandle",loadingHandle:"rst__loadingHandle",toolbarButton:"rst__toolbarButton",rowLabel_NoFlex:"rst__rowLabel_NoFlex",rowToolbar_NoFlex:"rst__rowToolbar_NoFlex",rowContentsDragDisabled:"rst__rowContentsDragDisabled",loadingCircle:"rst__loadingCircle",loadingCirclePoint:"rst__loadingCirclePoint",pointFade:"rst__pointFade",rowTitle:"rst__rowTitle",rowTitleWithSubtitle:"rst__rowTitleWithSubtitle",rowSubtitle:"rst__rowSubtitle",collapseButton:"rst__collapseButton",expandButton:"rst__expandButton",row_NoFlex:"rst__row_NoFlex",rowContents_NoFlex:"rst__rowContents_NoFlex",lineChildren:"rst__lineChildren"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}Object.defineProperty(t,"__esModule",{value:!0});var 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},s=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}}(),l=n(1),c=r(l),u=r(n(2)),d=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.connectDropTarget,r=(e.treeId,e.drop,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","connectDropTarget","treeId","drop"]));return n(c.default.createElement("div",null,l.Children.map(t,(function(e){return(0,l.cloneElement)(e,a({},r))}))))}}]),t}(l.Component);d.defaultProps={canDrop:!1,draggedNode:null},d.propTypes={children:u.default.node.isRequired,connectDropTarget:u.default.func.isRequired,isOver:u.default.bool.isRequired,canDrop:u.default.bool,draggedNode:u.default.shape({}),treeId:u.default.string.isRequired,drop:u.default.func.isRequired},t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1)),i=r(n(2)),a=r(n(24)),s=function(e){var t=e.isOver,n=e.canDrop;return o.default.createElement("div",{className:a.default.placeholder+(n?" "+a.default.placeholderLandingPad:"")+(n&&!t?" "+a.default.placeholderCancelPad:"")})};s.defaultProps={isOver:!1,canDrop:!1},s.propTypes={isOver:i.default.bool,canDrop:i.default.bool},t.default=s},function(e,t,n){var r=n(25);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,".rst__placeholder {\n position: relative;\n height: 68px;\n max-width: 300px;\n padding: 10px; }\n .rst__placeholder,\n .rst__placeholder > * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n .rst__placeholder::before {\n border: 3px dashed #d9d9d9;\n content: '';\n position: absolute;\n top: 5px;\n right: 5px;\n bottom: 5px;\n left: 5px;\n z-index: -1; }\n\n/**\n * The outline of where the element will go if dropped, displayed while dragging\n */\n.rst__placeholderLandingPad, .rst__placeholderCancelPad {\n border: none !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n outline: none !important; }\n .rst__placeholderLandingPad *, .rst__placeholderCancelPad * {\n opacity: 0 !important; }\n .rst__placeholderLandingPad::before, .rst__placeholderCancelPad::before {\n background-color: lightblue;\n border-color: white; }\n\n/**\n * Alternate appearance of the landing pad when the dragged location is invalid\n */\n.rst__placeholderCancelPad::before {\n background-color: #e6a8ad; }\n",""]),t.locals={placeholder:"rst__placeholder",placeholderLandingPad:"rst__placeholderLandingPad",placeholderCancelPad:"rst__placeholderCancelPad"}},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.slideRows=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=[].concat(r(e.slice(0,t)),r(e.slice(t+o)));return[].concat(r(i.slice(0,n)),r(e.slice(t,t+o)),r(i.slice(n)))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!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(28),a=(r=n(29))&&r.__esModule?r:{default:r},s=n(30),l=n(0),c=n(6),u=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.treeRef=t}return o(e,[{key:"getTargetDepth",value:function(e,t,n){var r=0,o=e.getPrevRow();o&&(r=Math.min(o.path.length,e.path.length));var i=void 0,a=(t.getItem().path||[]).length;if(t.getItem().treeId!==this.treeId)if(a=0,n){var c=(0,s.findDOMNode)(n).getBoundingClientRect(),u=t.getSourceClientOffset().x-c.left;i=Math.round(u/e.scaffoldBlockPxWidth)}else i=e.path.length;else i=Math.round(t.getDifferenceFromInitialOffset().x/e.scaffoldBlockPxWidth);var d=Math.min(r,Math.max(0,a+i-1));if(void 0!==this.maxDepth&&null!==this.maxDepth){var f=t.getItem().node,p=(0,l.getDepth)(f);d=Math.max(0,Math.min(d,this.maxDepth-p-1))}return d}},{key:"canDrop",value:function(e,t){if(!t.isOver())return!1;var n=e.getPrevRow(),r=n?n.path:[],o=n?n.node:{},i=this.getTargetDepth(e,t,null);if(i>=r.length&&"function"==typeof o.children)return!1;if("function"==typeof this.customCanDrop){var a=t.getItem().node,s=(0,c.memoizedInsertNode)({treeData:this.treeData,newNode:a,depth:i,getNodeKey:this.getNodeKey,minimumTreeIndex:e.listIndex,expandParent:!0});return this.customCanDrop({node:a,prevPath:t.getItem().path,prevParent:t.getItem().parentNode,prevTreeIndex:t.getItem().treeIndex,nextPath:s.path,nextParent:s.parentNode,nextTreeIndex:s.treeIndex})}return!0}},{key:"wrapSource",value:function(e){var t=this,n={beginDrag:function(e){return t.startDrag(e),{node:e.node,parentNode:e.parentNode,path:e.path,treeIndex:e.treeIndex,treeId:e.treeId}},endDrag:function(e,n){t.endDrag(n.getDropResult())},isDragging:function(e,t){var n=t.getItem().node;return e.node===n}};return(0,i.DragSource)(this.dndType,n,(function(e,t){return{connectDragSource:e.dragSource(),connectDragPreview:e.dragPreview(),isDragging:t.isDragging(),didDrop:t.didDrop()}}))(e)}},{key:"wrapTarget",value:function(e){var t=this,n={drop:function(e,n,r){var o={node:n.getItem().node,path:n.getItem().path,treeIndex:n.getItem().treeIndex,treeId:t.treeId,minimumTreeIndex:e.treeIndex,depth:t.getTargetDepth(e,n,r)};return t.drop(o),o},hover:function(e,n,r){var o=t.getTargetDepth(e,n,r),i=n.getItem().node;(e.node!==i||o!==e.path.length-1)&&t.dragHover({node:i,path:n.getItem().path,minimumTreeIndex:e.listIndex,depth:o})},canDrop:this.canDrop.bind(this)};return(0,i.DropTarget)(this.dndType,n,(function(e,t){var n=t.getItem();return{connectDropTarget:e.dropTarget(),isOver:t.isOver(),canDrop:t.canDrop(),draggedNode:n?n.node:null}}))(e)}},{key:"wrapPlaceholder",value:function(e){var t=this,n={drop:function(e,n){var r=n.getItem(),o={node:r.node,path:r.path,treeIndex:r.treeIndex,treeId:t.treeId,minimumTreeIndex:0,depth:0};return t.drop(o),o}};return(0,i.DropTarget)(this.dndType,n,(function(e,t){var n=t.getItem();return{connectDropTarget:e.dropTarget(),isOver:t.isOver(),canDrop:t.canDrop(),draggedNode:n?n.node:null}}))(e)}},{key:"startDrag",get:function(){return this.treeRef.startDrag}},{key:"dragHover",get:function(){return this.treeRef.dragHover}},{key:"endDrag",get:function(){return this.treeRef.endDrag}},{key:"drop",get:function(){return this.treeRef.drop}},{key:"treeId",get:function(){return this.treeRef.treeId}},{key:"dndType",get:function(){return this.treeRef.dndType}},{key:"treeData",get:function(){return this.treeRef.state.draggingTreeData||this.treeRef.props.treeData}},{key:"getNodeKey",get:function(){return this.treeRef.props.getNodeKey}},{key:"customCanDrop",get:function(){return this.treeRef.props.canDrop}},{key:"maxDepth",get:function(){return this.treeRef.props.maxDepth}}],[{key:"wrapRoot",value:function(e){return(0,i.DragDropContext)(a.default)(e)}}]),e}();t.default=u},function(e,t){e.exports=n(279)},function(e,t){e.exports=n(293)},function(e,t){e.exports=n(11)},function(e,t,n){var r=n(32);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,"/**\n * The container holding the VirtualScroll\n */\n.rst__tree {\n /*! This comment keeps Sass from deleting the empty rule */ }\n\n/**\n * Extra class applied to VirtualScroll through className prop\n */\n.rst__virtualScrollOverride {\n overflow: auto !important; }\n .rst__virtualScrollOverride * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n\n.ReactVirtualized__Grid__innerScrollContainer {\n overflow: visible !important; }\n\n.ReactVirtualized__Grid {\n outline: none; }\n",""]),t.locals={tree:"rst__tree",virtualScrollOverride:"rst__virtualScrollOverride"}}])},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";var r=n(0),o=n(309);if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},function(e,t,n){var r=n(72),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},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){e.exports=function(e){return null!=e&&"object"==typeof e}},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(78),o=n(152),i=n(154);e.exports=function(e,t){return i(o(e,t,r),e+"")}},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.defineProperty,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,u=c&&c(Object);e.exports=function e(t,n,d){if("string"!=typeof n){if(u){var f=c(n);f&&f!==u&&e(t,f,d)}var p=a(n);s&&(p=p.concat(s(n)));for(var h=0;h<p.length;++h){var v=p[h];if(!(r[v]||o[v]||d&&d[v])){var g=l(n,v);try{i(t,v,g)}catch(e){}}}return t}return t}},function(e,t,n){var r=n(48),o=n(114),i=n(115),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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.END_DRAG=t.DROP=t.HOVER=t.PUBLISH_DRAG_SOURCE=t.BEGIN_DRAG=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.beginDrag=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0,clientOffset:null},n=t.publishSource,r=t.clientOffset,s=t.getSourceClientOffset;(0,o.default)((0,i.default)(e),"Expected sourceIds to be an array.");var l=this.getMonitor(),u=this.getRegistry();(0,o.default)(!l.isDragging(),"Cannot call beginDrag while dragging.");for(var d=0;d<e.length;d++)(0,o.default)(u.getSource(e[d]),"Expected sourceIds to be registered.");for(var f=null,p=e.length-1;p>=0;p--)if(l.canDragSource(e[p])){f=e[p];break}if(null!==f){var h=null;r&&((0,o.default)("function"==typeof s,"When clientOffset is provided, getSourceClientOffset must be a function."),h=s(f));var v=u.getSource(f),g=v.beginDrag(l,f);(0,o.default)((0,a.default)(g),"Item must be an object."),u.pinSource(f);var m=u.getSourceType(f);return{type:c,itemType:m,item:g,sourceId:f,clientOffset:r,sourceClientOffset:h,isSourcePublic:n}}},t.publishDragSource=function(){if(this.getMonitor().isDragging())return{type:u}},t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.clientOffset,r=void 0===n?null:n;(0,o.default)((0,i.default)(e),"Expected targetIds to be an array.");var a=e.slice(0),l=this.getMonitor(),c=this.getRegistry();(0,o.default)(l.isDragging(),"Cannot call hover while not dragging."),(0,o.default)(!l.didDrop(),"Cannot call hover after drop.");for(var u=0;u<a.length;u++){var f=a[u];(0,o.default)(a.lastIndexOf(f)===u,"Expected targetIds to be unique in the passed array.");var p=c.getTarget(f);(0,o.default)(p,"Expected targetIds to be registered.")}for(var h=l.getItemType(),v=a.length-1;v>=0;v--){var g=a[v],m=c.getTargetType(g);(0,s.default)(m,h)||a.splice(v,1)}for(var y=0;y<a.length;y++){var b=a[y],_=c.getTarget(b);_.hover(l,b)}return{type:d,targetIds:a,clientOffset:r}},t.drop=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.getMonitor(),i=this.getRegistry();(0,o.default)(n.isDragging(),"Cannot call drop while not dragging."),(0,o.default)(!n.didDrop(),"Cannot call drop twice during one drag operation.");var s=n.getTargetIds().filter(n.canDropOnTarget,n);s.reverse(),s.forEach((function(s,l){var c=i.getTarget(s).drop(n,s);(0,o.default)(void 0===c||(0,a.default)(c),"Drop result must either be an object or undefined."),void 0===c&&(c=0===l?{}:n.getDropResult()),e.store.dispatch({type:f,dropResult:r({},t,c)})}))},t.endDrag=function(){var e=this.getMonitor(),t=this.getRegistry();(0,o.default)(e.isDragging(),"Cannot call endDrag while not dragging.");var n=e.getSourceId();return t.getSource(n,!0).endDrag(e,n),t.unpinSource(),{type:p}};var o=l(n(12)),i=l(n(19)),a=l(n(28)),s=l(n(74));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.BEGIN_DRAG="dnd-core/BEGIN_DRAG",u=t.PUBLISH_DRAG_SOURCE="dnd-core/PUBLISH_DRAG_SOURCE",d=t.HOVER="dnd-core/HOVER",f=t.DROP="dnd-core/DROP",p=t.END_DRAG="dnd-core/END_DRAG"},function(e,t,n){var r=n(34)(Object,"create");e.exports=r},function(e,t,n){var r=n(125),o=n(129);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(50);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(142);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(56),o=n(27);e.exports=function(e){return o(e)&&r(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addSource=function(e){return{type:r,sourceId:e}},t.addTarget=function(e){return{type:o,targetId:e}},t.removeSource=function(e){return{type:i,sourceId:e}},t.removeTarget=function(e){return{type:a,targetId:e}};var r=t.ADD_SOURCE="dnd-core/ADD_SOURCE",o=t.ADD_TARGET="dnd-core/ADD_TARGET",i=t.REMOVE_SOURCE="dnd-core/REMOVE_SOURCE",a=t.REMOVE_TARGET="dnd-core/REMOVE_TARGET"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.create=t.connect=t.Provider=void 0;var r=a(n(310)),o=a(n(311)),i=a(n(313));function a(e){return e&&e.__esModule?e:{default:e}}t.Provider=r.default,t.connect=o.default,t.create=i.default},function(e,t,n){var r=n(266);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(94)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(71);Object.defineProperty(t,"DragDropContext",{enumerable:!0,get:function(){return l(r).default}});var o=n(180);Object.defineProperty(t,"DragDropContextProvider",{enumerable:!0,get:function(){return l(o).default}});var i=n(181);Object.defineProperty(t,"DragLayer",{enumerable:!0,get:function(){return l(i).default}});var a=n(182);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return l(a).default}});var s=n(191);function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return l(s).default}})},function(e,t,n){var r;!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)){if(r.length){var a=o.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}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){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,n(t,r)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(25).Symbol;e.exports=r},function(e,t,n){var r=n(76),o=n(146),i=n(147);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(148);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},function(e,t){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},function(e,t){e.exports=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}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(77),o=n(79);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;if(e[n[i]]!==t[n[i]])return!1}return!0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return Boolean(e&&"function"==typeof e.dispose)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FILE="__NATIVE_FILE__",t.URL="__NATIVE_URL__",t.TEXT="__NATIVE_TEXT__"},function(e,t,n){var r=n(93),o=n(240),i=n(217),a=Object.defineProperty;t.f=n(44)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){},function(e,t,n){var r=n(75),o=n(29),i=n(37),a=o((function(e,t){return i(e)?r(e,t):[]}));e.exports=a},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){var r=n(42),o=n(43),i=n(239),a=n(66),s=n(61),l=function(e,t,n){var c,u,d,f=e&l.F,p=e&l.G,h=e&l.S,v=e&l.P,g=e&l.B,m=e&l.W,y=p?o:o[t]||(o[t]={}),b=y.prototype,_=p?r:h?r[t]:(r[t]||{}).prototype;for(c in p&&(n=t),n)(u=!f&&_&&void 0!==_[c])&&s(y,c)||(d=u?_[c]:n[c],y[c]=p&&"function"!=typeof _[c]?n[c]:g&&u?i(d,r):m&&_[c]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):v&&"function"==typeof d?i(Function.call,d):d,v&&((y.virtual||(y.virtual={}))[c]=d,e&l.R&&b&&!b[c]&&a(b,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r=n(60),o=n(103);e.exports=n(44)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(243),o=n(218);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(221)("wks"),o=n(106),i=n(42).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(251))&&r.__esModule?r:{default:r};t.default=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),(0,o.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unpackBackendForEs5Users=t.createChildContext=t.CHILD_CONTEXT_TYPES=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},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="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){f.default.apply(void 0,["DragDropContext","backend"].concat(Array.prototype.slice.call(arguments)));var t=b(e),n=y(t);return function(e){var t,i,l=e.displayName||e.name||"Component",c=(i=t=function(t){function i(){return h(this,i),v(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return g(i,t),o(i,[{key:"getDecoratedComponentInstance",value:function(){return(0,u.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"getManager",value:function(){return n.dragDropManager}},{key:"getChildContext",value:function(){return n}},{key:"render",value:function(){var t=this;return s.default.createElement(e,r({},this.props,{ref:function(e){t.child=e}}))}}]),i}(a.Component),t.DecoratedComponent=e,t.displayName="DragDropContext("+l+")",t.childContextTypes=m,i);return(0,d.default)(c,e)}};var a=n(0),s=p(a),l=p(n(1)),c=n(97),u=p(n(12)),d=p(n(30)),f=p(n(39));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(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 g(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 m=t.CHILD_CONTEXT_TYPES={dragDropManager:l.default.object.isRequired},y=t.createChildContext=function(e,t){return{dragDropManager:new c.DragDropManager(e,t)}},b=t.unpackBackendForEs5Users=function(e){var t=e;return"object"===(void 0===t?"undefined":i(t))&&"function"==typeof t.default&&(t=t.default),(0,u.default)("function"==typeof t,"Expected the backend to be a function or an ES6 module exporting a default function. Read more: http://react-dnd.github.io/react-dnd/docs-drag-drop-context.html"),t}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(26))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case o.BEGIN_DRAG:return{initialSourceClientOffset:t.sourceClientOffset,initialClientOffset:t.clientOffset,clientOffset:t.clientOffset};case o.HOVER:return a(e.clientOffset,t.clientOffset)?e:r({},e,{clientOffset:t.clientOffset});case o.END_DRAG:case o.DROP:return i;default:return e}},t.getSourceClientOffset=function(e){var t=e.clientOffset,n=e.initialClientOffset,r=e.initialSourceClientOffset;return t&&n&&r?{x:t.x+r.x-n.x,y:t.y+r.y-n.y}:null},t.getDifferenceFromInitialOffset=function(e){var t=e.clientOffset,n=e.initialClientOffset;return t&&n?{x:t.x-n.x,y:t.y-n.y}:null};var o=n(32),i={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function a(e,t){return e===t||e&&t&&e.x===t.x&&e.y===t.y}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e)?e.some((function(e){return e===t})):e===t};var r,o=(r=n(19))&&r.__esModule?r:{default:r}},function(e,t,n){var r=n(49),o=n(51),i=n(52),a=n(53),s=n(54),l=n(55);e.exports=function(e,t,n,c){var u=-1,d=o,f=!0,p=e.length,h=[],v=t.length;if(!p)return h;n&&(t=a(t,s(n))),c?(d=i,f=!1):t.length>=200&&(d=l,f=!1,t=new r(t));e:for(;++u<p;){var g=e[u],m=null==n?g:n(g);if(g=c||0!==g?g:0,f&&m==m){for(var y=v;y--;)if(t[y]===m)continue e;h.push(g)}else d(t,m,c)||h.push(g)}return h}},function(e,t,n){var r=n(122),o=n(141),i=n(143),a=n(144),s=n(145);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(31),o=n(28);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){e.exports=function(e){return e}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments[1],t=arguments[2];switch(e.type){case i.HOVER:break;case a.ADD_SOURCE:case a.ADD_TARGET:case a.REMOVE_TARGET:case a.REMOVE_SOURCE:return l;case i.BEGIN_DRAG:case i.PUBLISH_DRAG_SOURCE:case i.END_DRAG:case i.DROP:default:return c}var n=e.targetIds,o=t.targetIds,s=(0,r.default)(n,o),u=!1;if(0===s.length){for(var d=0;d<n.length;d++)if(n[d]!==o[d]){u=!0;break}}else u=!0;if(!u)return l;var f=o[o.length-1],p=n[n.length-1];return f!==p&&(f&&s.push(f),p&&s.push(p)),s},t.areDirty=function(e,t){return e!==l&&(e===c||void 0===t||(0,o.default)(t,e).length>0)};var r=s(n(160)),o=s(n(168)),i=n(32),a=n(38);function s(e){return e&&e.__esModule?e:{default:e}}var l=[],c=[]},function(e,t,n){var r=n(163),o=n(164);e.exports=function e(t,n,i,a,s){var l=-1,c=t.length;for(i||(i=o),s||(s=[]);++l<c;){var u=t[l];n>0&&i(u)?n>1?e(u,n-1,i,a,s):r(s,u):a||(s[s.length]=u)}return s}},function(e,t,n){var r=n(165),o=n(27),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){var r=n(49),o=n(51),i=n(52),a=n(55),s=n(166),l=n(85);e.exports=function(e,t,n){var c=-1,u=o,d=e.length,f=!0,p=[],h=p;if(n)f=!1,u=i;else if(d>=200){var v=t?null:s(e);if(v)return l(v);f=!1,u=a,h=new r}else h=t?[]:p;e:for(;++c<d;){var g=e[c],m=t?t(g):g;if(g=n||0!==g?g:0,f&&m==m){for(var y=h.length;y--;)if(h[y]===m)continue e;t&&h.push(m),p.push(g)}else u(h,m,n)||(h!==p&&h.push(m),p.push(g))}return p}},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":r(e))||null===e||"object"!==(void 0===t?"undefined":r(t))||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=Object.prototype.hasOwnProperty,a=0;a<n.length;a+=1){if(!i.call(t,n[a]))return!1;var s=e[n[a]],l=t[n[a]];if(s!==l||"object"===(void 0===s?"undefined":r(s))||"object"===(void 0===l?"undefined":r(l)))return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t,n,h=e.DecoratedComponent,g=e.createHandler,m=e.createMonitor,y=e.createConnector,b=e.registerHandler,_=e.containerDisplayName,w=e.getType,S=e.collect,C=e.options.arePropsEqual,O=void 0===C?p.default:C,x=h.displayName||h.name||"Component",T=(n=t=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleChange=r.handleChange.bind(r),r.handleChildRef=r.handleChildRef.bind(r),(0,u.default)("object"===o(r.context.dragDropManager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",x,x),r.manager=r.context.dragDropManager,r.handlerMonitor=m(r.manager),r.handlerConnector=y(r.manager.getBackend()),r.handler=g(r.handlerMonitor),r.disposable=new c.SerialDisposable,r.receiveProps(e),r.state=r.getCurrentState(),r.dispose(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"getHandlerId",value:function(){return this.handlerId}},{key:"getDecoratedComponentInstance",value:function(){return this.decoratedComponentInstance}},{key:"shouldComponentUpdate",value:function(e,t){return!O(e,this.props)||!(0,f.default)(t,this.state)}}]),i(t,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.disposable=new c.SerialDisposable,this.currentType=null,this.receiveProps(this.props),this.handleChange()}},{key:"componentWillReceiveProps",value:function(e){O(e,this.props)||(this.receiveProps(e),this.handleChange())}},{key:"componentWillUnmount",value:function(){this.dispose(),this.isCurrentlyMounted=!1}},{key:"receiveProps",value:function(e){this.handler.receiveProps(e),this.receiveType(w(e))}},{key:"receiveType",value:function(e){if(e!==this.currentType){this.currentType=e;var t=b(e,this.handler,this.manager),n=t.handlerId,r=t.unregister;this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var o=this.manager.getMonitor().subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new c.CompositeDisposable(new c.Disposable(o),new c.Disposable(r)))}}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,f.default)(e,this.state)||this.setState(e)}}},{key:"dispose",value:function(){this.disposable.dispose(),this.handlerConnector.receiveHandlerId(null)}},{key:"handleChildRef",value:function(e){this.decoratedComponentInstance=e,this.handler.receiveComponent(e)}},{key:"getCurrentState",value:function(){return S(this.handlerConnector.hooks,this.handlerMonitor)}},{key:"render",value:function(){return s.default.createElement(h,r({},this.props,this.state,{ref:v(h)?this.handleChildRef:null}))}}]),t}(a.Component),t.DecoratedComponent=h,t.displayName=_+"("+x+")",t.contextTypes={dragDropManager:l.default.object.isRequired},n);return(0,d.default)(T,h)};var a=n(0),s=h(a),l=h(n(1)),c=n(98),u=(h(n(15)),h(n(12))),d=h(n(30)),f=h(n(57)),p=h(n(86));function h(e){return e&&e.__esModule?e:{default:e}}var v=function(e){return Boolean(e&&e.prototype&&"function"==typeof e.prototype.render)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={};return Object.keys(e).forEach((function(n){var r,s=(r=e[n],function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,o.isValidElement)(e)){var n=e;a(n);var s=t?function(e){return r(e,t)}:r;return(0,i.default)(n,s)}var l=e;r(l,t)});t[n]=function(){return s}})),t};var r,o=n(0),i=(r=n(190))&&r.__esModule?r:{default:r};function a(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors.You can either wrap "+t+" into a <div>, or turn it into a drag source or a drop target itself.")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t===e||null!==t&&null!==e&&(0,o.default)(t,e)};var r,o=(r=n(57))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function e(t,n){return"string"==typeof t||"symbol"===(void 0===t?"undefined":r(t))||n&&(0,i.default)(t)&&t.every((function(t){return e(t,!1)}))};var o,i=(o=n(19))&&o.__esModule?o:{default:o}},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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=t.isFirefox=void 0;var r,o=(r=n(101))&&r.__esModule?r:{default:r};t.isFirefox=(0,o.default)((function(){return/firefox/i.test(navigator.userAgent)})),t.isSafari=(0,o.default)((function(){return Boolean(window.safari)}))},function(e,t,n){var r=n(67);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEmptyImage=t.NativeTypes=void 0,t.default=function(e){return new r.default(e)};var r=a(n(196)),o=a(n(214)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(59));function a(e){return e&&e.__esModule?e:{default:e}}t.NativeTypes=i,t.getEmptyImage=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(112);Object.defineProperty(t,"DragDropManager",{enumerable:!0,get:function(){return s(r).default}});var o=n(177);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return s(o).default}});var i=n(178);Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return s(i).default}});var a=n(179);function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"createTestBackend",{enumerable:!0,get:function(){return s(a).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(n(58));t.isDisposable=o.default;var i=r(n(183));t.Disposable=i.default;var a=r(n(184));t.CompositeDisposable=a.default;var s=r(n(185));t.SerialDisposable=s.default},function(e,t,n){var r=n(29),o=n(50),i=n(197),a=n(198),s=Object.prototype,l=s.hasOwnProperty,c=r((function(e,t){e=Object(e);var n=-1,r=t.length,c=r>2?t[2]:void 0;for(c&&i(t[0],t[1],c)&&(r=1);++n<r;)for(var u=t[n],d=a(u),f=-1,p=d.length;++f<p;){var h=d[f],v=e[h];(void 0===v||o(v,s[h])&&!l.call(e,h))&&(e[h]=u[h])}return e}));e.exports=c},function(e,t,n){var r=n(81),o=n(29),i=n(83),a=n(37),s=o((function(e){return i(r(e,1,a,!0))}));e.exports=s},function(e,t,n){var r=n(76);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(242),o=n(222);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(314)),o=a(n(326)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){"use strict";(function(e){function r(t,n){var r,o,i,a=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:e).document&&r.document.attachEvent;if(!a){var s=(i=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)},function(e){return i(e)}),l=(o=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout,function(e){return o(e)}),c=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},u=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;c(this),this.__resizeRAF__&&l(this.__resizeRAF__),this.__resizeRAF__=s((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}},d=!1,f="",p="animationstart",h="Webkit Moz O ms".split(" "),v="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(d=!0),!1===d)for(var m=0;m<h.length;m++)if(void 0!==g.style[h[m]+"AnimationName"]){f="-"+h[m].toLowerCase()+"-",p=v[m],d=!0;break}var y="resizeanim",b="@"+f+"keyframes "+y+" { from { opacity: 0; } to { opacity: 0; } } ",_=f+"animation: 1ms "+y+"; "}return{addResizeListener:function(e,n){if(a)e.attachEvent("onresize",n);else{if(!e.__resizeTriggers__){var o=e.ownerDocument,i=r.getComputedStyle(e);i&&"static"==i.position&&(e.style.position="relative"),function(e){if(!e.getElementById("detectElementResize")){var n=(b||"")+".resize-triggers { "+(_||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=e.head||e.getElementsByTagName("head")[0],o=e.createElement("style");o.id="detectElementResize",o.type="text/css",null!=t&&o.setAttribute("nonce",t),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(e.createTextNode(n)),r.appendChild(o)}}(o),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=o.createElement("div")).className="resize-triggers";var s='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>';if(window.trustedTypes){var l=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return s}});e.__resizeTriggers__.innerHTML=l.createHTML("")}else e.__resizeTriggers__.innerHTML=s;e.appendChild(e.__resizeTriggers__),c(e),e.addEventListener("scroll",u,!0),p&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName==y&&c(e)},e.__resizeTriggers__.addEventListener(p,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(n)}},removeResizeListener:function(e,t){if(a)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",u,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(p,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}n.d(t,"a",(function(){return r}))}).call(this,n(26))},function(e,t,n){"use strict";var r=n(111);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"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n(113)),i=l(n(120)),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(32)),s=l(n(172));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c(this,e);var r=(0,o.default)(i.default);this.context=n,this.store=r,this.monitor=new s.default(r),this.registry=this.monitor.registry,this.backend=t(this),r.subscribe(this.handleRefCountChange.bind(this))}return r(e,[{key:"handleRefCountChange",value:function(){var e=this.store.getState().refCount>0;e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1)}},{key:"getContext",value:function(){return this.context}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.registry}},{key:"getActions",value:function(){var e=this,t=this.store.dispatch;return Object.keys(a).filter((function(e){return"function"==typeof a[e]})).reduce((function(n,r){var o,i=a[r];return n[r]=(o=i,function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=o.apply(e,r);void 0!==a&&t(a)}),n}),{})}}]),e}();t.default=u},function(e,t,n){"use strict";t.__esModule=!0,t.ActionTypes=void 0,t.default=function e(t,n,i){var s;if("function"==typeof n&&void 0===i&&(i=n,n=void 0),void 0!==i){if("function"!=typeof i)throw new Error("Expected the enhancer to be a function.");return i(e)(t,n)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var l=t,c=n,u=[],d=u,f=!1;function p(){d===u&&(d=u.slice())}function h(){return c}function v(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return p(),d.push(e),function(){if(t){t=!1,p();var n=d.indexOf(e);d.splice(n,1)}}}function g(e){if(!(0,r.default)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(f)throw new Error("Reducers may not dispatch actions.");try{f=!0,c=l(c,e)}finally{f=!1}for(var t=u=d,n=0;n<t.length;n++)(0,t[n])();return e}return g({type:a.INIT}),(s={dispatch:g,subscribe:v,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");l=e,g({type:a.INIT})}})[o.default]=function(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[o.default]=function(){return this},e},s};var r=i(n(15)),o=i(n(118));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.ActionTypes={INIT:"@@redux/INIT"}},function(e,t,n){var r=n(48),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(117)(Object.getPrototypeOf,Object);e.exports=r},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){"use strict";n.r(t),function(e,r){var o,i=n(95);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.default=a}.call(this,n(26),n(119)(e))},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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];return{dirtyHandlerIds:(0,a.default)(e.dirtyHandlerIds,t,e.dragOperation),dragOffset:(0,r.default)(e.dragOffset,t),refCount:(0,i.default)(e.refCount,t),dragOperation:(0,o.default)(e.dragOperation,t),stateId:(0,s.default)(e.stateId)}};var r=l(n(73)),o=l(n(121)),i=l(n(159)),a=l(n(80)),s=l(n(171));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case a.BEGIN_DRAG:return r({},e,{itemType:t.itemType,item:t.item,sourceId:t.sourceId,isSourcePublic:t.isSourcePublic,dropResult:null,didDrop:!1});case a.PUBLISH_DRAG_SOURCE:return r({},e,{isSourcePublic:!0});case a.HOVER:return r({},e,{targetIds:t.targetIds});case s.REMOVE_TARGET:return-1===e.targetIds.indexOf(t.targetId)?e:r({},e,{targetIds:(0,i.default)(e.targetIds,t.targetId)});case a.DROP:return r({},e,{dropResult:t.dropResult,didDrop:!0,targetIds:[]});case a.END_DRAG:return r({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}};var o,i=(o=n(63))&&o.__esModule?o:{default:o},a=n(32),s=n(38),l={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null}},function(e,t,n){var r=n(123),o=n(134),i=n(140);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(124),o=n(130),i=n(131),a=n(132),s=n(133);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(33);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(77),o=n(126),i=n(28),a=n(128),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:s).test(a(e))}},function(e,t,n){var r,o=n(127),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(25)["__core-js_shared__"];e.exports=r},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){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(33),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(33),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(33);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(135),o=n(136),i=n(137),a=n(138),s=n(139);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){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(35),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},function(e,t,n){var r=n(35);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(35);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(35);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(34)(n(25),"Map");e.exports=r},function(e,t,n){var r=n(36);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(36);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(36);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(36);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(149),o=n(150),i=n(151);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},function(e,t,n){var r=n(153),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(l),r(e,this,c)}}},function(e,t){e.exports=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)}},function(e,t,n){var r=n(155),o=n(158)(r);e.exports=o},function(e,t,n){var r=n(156),o=n(157),i=n(78),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t,n){var r=n(34),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments[1];switch(t.type){case r.ADD_SOURCE:case r.ADD_TARGET:return e+1;case r.REMOVE_SOURCE:case r.REMOVE_TARGET:return e-1;default:return e}};var r=n(38)},function(e,t,n){var r=n(161),o=n(29),i=n(162),a=n(37),s=o((function(e){return i(r(e,a))}));e.exports=s},function(e,t){e.exports=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}},function(e,t,n){var r=n(75),o=n(81),i=n(83);e.exports=function(e,t,n){var a=e.length;if(a<2)return a?i(e[0]):[];for(var s=-1,l=Array(a);++s<a;)for(var c=e[s],u=-1;++u<a;)u!=s&&(l[s]=r(l[s]||c,e[u],t,n));return i(o(l,1),t,n)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t,n){var r=n(48),o=n(82),i=n(19),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t,n){var r=n(31),o=n(27);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},function(e,t,n){var r=n(167),o=n(84),i=n(85),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},function(e,t,n){var r=n(34)(n(25),"Set");e.exports=r},function(e,t,n){var r=n(53),o=n(169),i=n(29),a=n(170),s=i((function(e){var t=r(e,a);return t.length&&t[0]===e[0]?o(t):[]}));e.exports=s},function(e,t,n){var r=n(49),o=n(51),i=n(52),a=n(53),s=n(54),l=n(55),c=Math.min;e.exports=function(e,t,n){for(var u=n?i:o,d=e[0].length,f=e.length,p=f,h=Array(f),v=1/0,g=[];p--;){var m=e[p];p&&t&&(m=a(m,s(t))),v=c(m.length,v),h[p]=!n&&(t||d>=120&&m.length>=120)?new r(p&&m):void 0}m=e[0];var y=-1,b=h[0];e:for(;++y<d&&g.length<v;){var _=m[y],w=t?t(_):_;if(_=n||0!==_?_:0,!(b?l(b,w):u(g,w,n))){for(p=f;--p;){var S=h[p];if(!(S?l(S,w):u(e[p],w,n)))continue e}b&&b.push(w),g.push(_)}}return g}},function(e,t,n){var r=n(37);e.exports=function(e){return r(e)?e:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e+1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(12)),i=u(n(19)),a=u(n(74)),s=u(n(173)),l=n(73),c=n(80);function u(e){return e&&e.__esModule?e:{default:e}}var d=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store=t,this.registry=new s.default(t)}return r(e,[{key:"subscribeToStateChange",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.handlerIds;(0,o.default)("function"==typeof e,"listener must be a function."),(0,o.default)(void 0===r||(0,i.default)(r),"handlerIds, when specified, must be an array of strings.");var a=this.store.getState().stateId,s=function(){var n=t.store.getState(),o=n.stateId;try{o===a||o===a+1&&!(0,c.areDirty)(n.dirtyHandlerIds,r)||e()}finally{a=o}};return this.store.subscribe(s)}},{key:"subscribeToOffsetChange",value:function(e){var t=this;(0,o.default)("function"==typeof e,"listener must be a function.");var n=this.store.getState().dragOffset;return this.store.subscribe((function(){var r=t.store.getState().dragOffset;r!==n&&(n=r,e())}))}},{key:"canDragSource",value:function(e){var t=this.registry.getSource(e);return(0,o.default)(t,"Expected to find a valid source."),!this.isDragging()&&t.canDrag(this,e)}},{key:"canDropOnTarget",value:function(e){var t=this.registry.getTarget(e);if((0,o.default)(t,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var n=this.registry.getTargetType(e),r=this.getItemType();return(0,a.default)(n,r)&&t.canDrop(this,e)}},{key:"isDragging",value:function(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function(e){var t=this.registry.getSource(e,!0);return(0,o.default)(t,"Expected to find a valid source."),!(!this.isDragging()||!this.isSourcePublic())&&this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}},{key:"isOverTarget",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1},n=t.shallow;if(!this.isDragging())return!1;var r=this.registry.getTargetType(e),o=this.getItemType();if(!(0,a.default)(r,o))return!1;var i=this.getTargetIds();if(!i.length)return!1;var s=i.indexOf(e);return n?s===i.length-1:s>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return(0,l.getSourceClientOffset)(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return(0,l.getDifferenceFromInitialOffset)(this.store.getState().dragOffset)}}]),e}();t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o="function"==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},i=u(n(12)),a=u(n(19)),s=u(n(174)),l=n(38),c=u(n(176));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){t&&(0,a.default)(e)?e.forEach((function(e){return d(e,!1)})):(0,i.default)("string"==typeof e||"symbol"===(void 0===e?"undefined":o(e)),t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}function f(e){switch(e[0]){case"S":return"SOURCE";case"T":return"TARGET";default:(0,i.default)(!1,"Cannot parse handler ID: "+e)}}var p=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store=t,this.types={},this.handlers={},this.pinnedSourceId=null,this.pinnedSource=null}return r(e,[{key:"addSource",value:function(e,t){d(e),function(e){(0,i.default)("function"==typeof e.canDrag,"Expected canDrag to be a function."),(0,i.default)("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),(0,i.default)("function"==typeof e.endDrag,"Expected endDrag to be a function.")}(t);var n=this.addHandler("SOURCE",e,t);return this.store.dispatch((0,l.addSource)(n)),n}},{key:"addTarget",value:function(e,t){d(e,!0),function(e){(0,i.default)("function"==typeof e.canDrop,"Expected canDrop to be a function."),(0,i.default)("function"==typeof e.hover,"Expected hover to be a function."),(0,i.default)("function"==typeof e.drop,"Expected beginDrag to be a function.")}(t);var n=this.addHandler("TARGET",e,t);return this.store.dispatch((0,l.addTarget)(n)),n}},{key:"addHandler",value:function(e,t,n){var r=function(e){var t=(0,c.default)().toString();switch(e){case"SOURCE":return"S"+t;case"TARGET":return"T"+t;default:(0,i.default)(!1,"Unknown role: "+e)}}(e);return this.types[r]=t,this.handlers[r]=n,r}},{key:"containsHandler",value:function(e){var t=this;return Object.keys(this.handlers).some((function(n){return t.handlers[n]===e}))}},{key:"getSource",value:function(e,t){return(0,i.default)(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.handlers[e]}},{key:"getTarget",value:function(e){return(0,i.default)(this.isTargetId(e),"Expected a valid target ID."),this.handlers[e]}},{key:"getSourceType",value:function(e){return(0,i.default)(this.isSourceId(e),"Expected a valid source ID."),this.types[e]}},{key:"getTargetType",value:function(e){return(0,i.default)(this.isTargetId(e),"Expected a valid target ID."),this.types[e]}},{key:"isSourceId",value:function(e){return"SOURCE"===f(e)}},{key:"isTargetId",value:function(e){return"TARGET"===f(e)}},{key:"removeSource",value:function(e){var t=this;(0,i.default)(this.getSource(e),"Expected an existing source."),this.store.dispatch((0,l.removeSource)(e)),(0,s.default)((function(){delete t.handlers[e],delete t.types[e]}))}},{key:"removeTarget",value:function(e){var t=this;(0,i.default)(this.getTarget(e),"Expected an existing target."),this.store.dispatch((0,l.removeTarget)(e)),(0,s.default)((function(){delete t.handlers[e],delete t.types[e]}))}},{key:"pinSource",value:function(e){var t=this.getSource(e);(0,i.default)(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}},{key:"unpinSource",value:function(){(0,i.default)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}}]),e}();t.default=p},function(e,t,n){"use strict";var r=n(175),o=[],i=[],a=r.makeRequestCallFromTimer((function(){if(i.length)throw i.shift()}));function s(e){var t;(t=o.length?o.pop():new l).task=e,r(t)}function l(){this.task=null}e.exports=s,l.prototype.call=function(){try{this.task.call()}catch(e){s.onerror?s.onerror(e):(i.push(e),a())}finally{this.task=null,o[o.length]=this}}},function(e,t,n){"use strict";(function(t){function n(e){o.length||r(),o[o.length]=e}e.exports=n;var r,o=[],i=0;function a(){for(;i<o.length;){var e=i;if(i+=1,o[e].call(),i>1024){for(var t=0,n=o.length-i;t<n;t++)o[t]=o[t+i];o.length-=i,i=0}}o.length=0,i=0}var s,l,c,u=void 0!==t?t:self,d=u.MutationObserver||u.WebKitMutationObserver;function f(e){return function(){var t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}"function"==typeof d?(s=1,l=new d(a),c=document.createTextNode(""),l.observe(c,{characterData:!0}),r=function(){s=-s,c.data=s}):r=f(a),n.requestFlush=r,n.makeRequestCallFromTimer=f}).call(this,n(26))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r++};var r=0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"canDrag",value:function(){return!0}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"canDrop",value:function(){return!0}},{key:"hover",value:function(){}},{key:"drop",value:function(){}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new a(e)};var o,i=(o=n(84))&&o.__esModule?o:{default:o},a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=t.getActions()}return r(e,[{key:"setup",value:function(){this.didCallSetup=!0}},{key:"teardown",value:function(){this.didCallTeardown=!0}},{key:"connectDragSource",value:function(){return i.default}},{key:"connectDragPreview",value:function(){return i.default}},{key:"connectDropTarget",value:function(){return i.default}},{key:"simulateBeginDrag",value:function(e,t){this.actions.beginDrag(e,t)}},{key:"simulatePublishDragSource",value:function(){this.actions.publishDragSource()}},{key:"simulateHover",value:function(e,t){this.actions.hover(e,t)}},{key:"simulateDrop",value:function(){this.actions.drop()}},{key:"simulateEndDrag",value:function(){this.actions.endDrag()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o,i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),l=(i=n(1))&&i.__esModule?i:{default:i},c=n(71),u=(o=r=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.backend=(0,c.unpackBackendForEs5Users)(e.backend),r.childContext=(0,c.createChildContext)(r.backend,{window:e&&e.window?e.window:n&&n.window?n.window:"undefined"!=typeof window?window:void 0}),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentWillReceiveProps",value:function(e){if(e.backend!==this.props.backend||e.window!==this.props.window)throw new Error("DragDropContextProvider backend and window props must not change.")}},{key:"getChildContext",value:function(){return this.childContext}},{key:"render",value:function(){return s.Children.only(this.props.children)}}]),t}(s.Component),r.propTypes={backend:l.default.oneOfType([l.default.func,l.default.object]).isRequired,children:l.default.element.isRequired,window:l.default.object},r.defaultProps={window:void 0},r.childContextTypes=c.CHILD_CONTEXT_TYPES,r.displayName="DragDropContextProvider",r.contextTypes={window:l.default.object},o);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return h.default.apply(void 0,["DragLayer","collect[, options]"].concat(Array.prototype.slice.call(arguments))),(0,d.default)("function"==typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",e),(0,d.default)((0,u.default)(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',t),function(n){var u,h,v=t.arePropsEqual,b=void 0===v?p.default:v,_=n.displayName||n.name||"Component",w=(h=u=function(t){function a(e,t){g(this,a);var n=m(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return n.handleChange=n.handleChange.bind(n),n.manager=t.dragDropManager,(0,d.default)("object"===o(n.manager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",_,_),n.state=n.getCurrentState(),n}return y(a,t),i(a,[{key:"getDecoratedComponentInstance",value:function(){return(0,d.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"shouldComponentUpdate",value:function(e,t){return!b(e,this.props)||!(0,f.default)(t,this.state)}}]),i(a,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0;var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange),this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange(),this.unsubscribeFromStateChange()}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,f.default)(e,this.state)||this.setState(e)}}},{key:"getCurrentState",value:function(){var t=this.manager.getMonitor();return e(t,this.props)}},{key:"render",value:function(){var e=this;return s.default.createElement(n,r({},this.props,this.state,{ref:function(t){e.child=t}}))}}]),a}(a.Component),u.DecoratedComponent=n,u.displayName="DragLayer("+_+")",u.contextTypes={dragDropManager:l.default.object.isRequired},h);return(0,c.default)(w,n)}};var a=n(0),s=v(a),l=v(n(1)),c=v(n(30)),u=v(n(15)),d=v(n(12)),f=v(n(57)),p=v(n(86)),h=v(n(39));function v(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(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 y(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)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.default.apply(void 0,["DragSource","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var p=e;"function"!=typeof e&&((0,r.default)((0,d.default)(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e),p=function(){return e}),(0,r.default)((0,o.default)(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t);var h=(0,l.default)(t);return(0,r.default)("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),(0,r.default)((0,o.default)(f),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),function(e){return(0,a.default)({connectBackend:function(e,t){return e.connectDragSource(t)},containerDisplayName:"DragSource",createHandler:h,registerHandler:s.default,createMonitor:c.default,createConnector:u.default,DecoratedComponent:e,getType:p,collect:n,options:f})}};var r=f(n(12)),o=f(n(15)),i=f(n(39)),a=f(n(87)),s=f(n(186)),l=f(n(187)),c=f(n(188)),u=f(n(189)),d=f(n(90));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){},i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isDisposed=!1,this.action=t||o}return r(e,null,[{key:"empty",value:{dispose:o},enumerable:!0}]),e.prototype.dispose=function(){this.isDisposed||(this.action.call(null),this.isDisposed=!0)},e}();t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o,i=(o=n(58))&&o.__esModule?o:{default:o},a=function(){function e(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];r(this,e),Array.isArray(n[0])&&1===n.length&&(n=n[0]);for(var a=0;a<n.length;a++)if(!i.default(n[a]))throw new Error("Expected a disposable");this.disposables=n,this.isDisposed=!1}return e.prototype.add=function(e){this.isDisposed?e.dispose():this.disposables.push(e)},e.prototype.remove=function(e){if(this.isDisposed)return!1;var t=this.disposables.indexOf(e);return-1!==t&&(this.disposables.splice(t,1),e.dispose(),!0)},e.prototype.dispose=function(){if(!this.isDisposed){for(var e=this.disposables.length,t=new Array(e),n=0;n<e;n++)t[n]=this.disposables[n];for(this.isDisposed=!0,this.disposables=[],this.length=0,n=0;n<e;n++)t[n].dispose()}},e}();t.default=a,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(58))&&r.__esModule?r:{default:r},i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isDisposed=!1,this.current=null}return e.prototype.getDisposable=function(){return this.current},e.prototype.setDisposable=function(){var e=arguments.length<=0||void 0===arguments[0]?null:arguments[0];if(null!=e&&!o.default(e))throw new Error("Expected either an empty value or a valid disposable");var t=this.isDisposed,n=void 0;t||(n=this.current,this.current=e),n&&n.dispose(),t&&e&&e.dispose()},e.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var e=this.current;this.current=null,e&&e.dispose()}},e}();t.default=i,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addSource(e,t);return{handlerId:o,unregister:function(){r.removeSource(o)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){Object.keys(e).forEach((function(t){(0,o.default)(a.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',a.join(", "),t),(0,o.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])})),s.forEach((function(t){(0,o.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])}));var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.monitor=e,this.props=null,this.component=null}return r(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrag",value:function(){return!e.canDrag||e.canDrag(this.props,this.monitor)}},{key:"isDragging",value:function(t,n){return e.isDragging?e.isDragging(this.props,this.monitor):n===t.getSourceId()}},{key:"beginDrag",value:function(){return e.beginDrag(this.props,this.monitor,this.component)}},{key:"endDrag",value:function(){e.endDrag&&e.endDrag(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}};var o=i(n(12));function i(e){return e&&e.__esModule?e:{default:e}}i(n(15));var a=["canDrag","beginDrag","isDragging","endDrag"],s=["beginDrag"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new l(e)};var o,i=(o=n(12))&&o.__esModule?o:{default:o},a=!1,s=!1,l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalMonitor=t.getMonitor()}return r(e,[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"canDrag",value:function(){(0,i.default)(!a,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return a=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{a=!1}}},{key:"isDragging",value:function(){(0,i.default)(!s,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return s=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{s=!1}}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0,n=void 0,i=void 0,a=void 0,s=void 0,l=void 0,c=void 0;function u(){a&&(a(),a=null),t&&n&&(a=e.connectDragSource(t,n,i))}function d(){c&&(c(),c=null),t&&s&&(c=e.connectDragPreview(t,s,l))}return{receiveHandlerId:function(e){e!==t&&(t=e,u(),d())},hooks:(0,r.default)({dragSource:function(e,t){e===n&&(0,o.default)(t,i)||(n=e,i=t,u())},dragPreview:function(e,t){e===s&&(0,o.default)(t,l)||(s=e,l=t,d())}})}};var r=i(n(88)),o=i(n(89));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.ref;return(0,o.default)("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?(0,i.cloneElement)(e,{ref:function(e){t(e),n&&n(e)}}):(0,i.cloneElement)(e,{ref:t})};var r,o=(r=n(12))&&r.__esModule?r:{default:r},i=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.default.apply(void 0,["DropTarget","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var p=e;"function"!=typeof e&&((0,r.default)((0,d.default)(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e),p=function(){return e}),(0,r.default)((0,o.default)(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t);var h=(0,l.default)(t);return(0,r.default)("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),(0,r.default)((0,o.default)(f),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),function(e){return(0,a.default)({connectBackend:function(e,t){return e.connectDropTarget(t)},containerDisplayName:"DropTarget",createHandler:h,registerHandler:s.default,createMonitor:c.default,createConnector:u.default,DecoratedComponent:e,getType:p,collect:n,options:f})}};var r=f(n(12)),o=f(n(15)),i=f(n(39)),a=f(n(87)),s=f(n(192)),l=f(n(193)),c=f(n(194)),u=f(n(195)),d=f(n(90));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addTarget(e,t);return{handlerId:o,unregister:function(){r.removeTarget(o)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){Object.keys(e).forEach((function(t){(0,o.default)(a.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',a.join(", "),t),(0,o.default)("function"==typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",t,t,e[t])}));var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.monitor=e,this.props=null,this.component=null}return r(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveMonitor",value:function(e){this.monitor=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrop",value:function(){return!e.canDrop||e.canDrop(this.props,this.monitor)}},{key:"hover",value:function(){e.hover&&e.hover(this.props,this.monitor,this.component)}},{key:"drop",value:function(){if(e.drop)return e.drop(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}};var o=i(n(12));function i(e){return e&&e.__esModule?e:{default:e}}i(n(15));var a=["canDrop","hover","drop"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new s(e)};var o,i=(o=n(12))&&o.__esModule?o:{default:o},a=!1,s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalMonitor=t.getMonitor()}return r(e,[{key:"receiveHandlerId",value:function(e){this.targetId=e}},{key:"canDrop",value:function(){(0,i.default)(!a,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html");try{return a=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{a=!1}}},{key:"isOver",value:function(e){return this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0,n=void 0,i=void 0,a=void 0;function s(){a&&(a(),a=null),t&&n&&(a=e.connectDropTarget(t,n,i))}return{receiveHandlerId:function(e){e!==t&&(t=e,s())},hooks:(0,r.default)({dropTarget:function(e,t){e===n&&(0,o.default)(t,i)||(n=e,i=t,s())}})}};var r=i(n(88)),o=i(n(89));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=d(n(99)),i=d(n(209)),a=d(n(210)),s=n(92),l=n(211),c=n(213),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(59));function d(e){return e&&e.__esModule?e:{default:e}}var f=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.context=t.getContext(),this.sourcePreviewNodes={},this.sourcePreviewNodeOptions={},this.sourceNodes={},this.sourceNodeOptions={},this.enterLeaveCounter=new a.default,this.dragStartSourceIds=[],this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.getSourceClientOffset=this.getSourceClientOffset.bind(this),this.handleTopDragStart=this.handleTopDragStart.bind(this),this.handleTopDragStartCapture=this.handleTopDragStartCapture.bind(this),this.handleTopDragEndCapture=this.handleTopDragEndCapture.bind(this),this.handleTopDragEnter=this.handleTopDragEnter.bind(this),this.handleTopDragEnterCapture=this.handleTopDragEnterCapture.bind(this),this.handleTopDragLeaveCapture=this.handleTopDragLeaveCapture.bind(this),this.handleTopDragOver=this.handleTopDragOver.bind(this),this.handleTopDragOverCapture=this.handleTopDragOverCapture.bind(this),this.handleTopDrop=this.handleTopDrop.bind(this),this.handleTopDropCapture=this.handleTopDropCapture.bind(this),this.handleSelectStart=this.handleSelectStart.bind(this),this.endDragIfSourceWasRemovedFromDOM=this.endDragIfSourceWasRemovedFromDOM.bind(this),this.endDragNativeItem=this.endDragNativeItem.bind(this),this.asyncEndDragNativeItem=this.asyncEndDragNativeItem.bind(this),this.isNodeInDocument=this.isNodeInDocument.bind(this)}return r(e,[{key:"setup",value:function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}}},{key:"teardown",value:function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&this.window.cancelAnimationFrame(this.asyncEndDragFrameId))}},{key:"addEventListeners",value:function(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"connectDragPreview",value:function(e,t,n){var r=this;return this.sourcePreviewNodeOptions[e]=n,this.sourcePreviewNodes[e]=t,function(){delete r.sourcePreviewNodes[e],delete r.sourcePreviewNodeOptions[e]}}},{key:"connectDragSource",value:function(e,t,n){var r=this;this.sourceNodes[e]=t,this.sourceNodeOptions[e]=n;var o=function(t){return r.handleDragStart(t,e)},i=function(t){return r.handleSelectStart(t,e)};return t.setAttribute("draggable",!0),t.addEventListener("dragstart",o),t.addEventListener("selectstart",i),function(){delete r.sourceNodes[e],delete r.sourceNodeOptions[e],t.removeEventListener("dragstart",o),t.removeEventListener("selectstart",i),t.setAttribute("draggable",!1)}}},{key:"connectDropTarget",value:function(e,t){var n=this,r=function(t){return n.handleDragEnter(t,e)},o=function(t){return n.handleDragOver(t,e)},i=function(t){return n.handleDrop(t,e)};return t.addEventListener("dragenter",r),t.addEventListener("dragover",o),t.addEventListener("drop",i),function(){t.removeEventListener("dragenter",r),t.removeEventListener("dragover",o),t.removeEventListener("drop",i)}}},{key:"getCurrentSourceNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions[e];return(0,o.default)(t||{},{dropEffect:this.altKeyPressed?"copy":"move"})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions[e];return(0,o.default)(t||{},{anchorX:.5,anchorY:.5,captureDraggingState:!1})}},{key:"getSourceClientOffset",value:function(e){return(0,l.getNodeClientOffset)(this.sourceNodes[e])}},{key:"isDraggingNativeItem",value:function(){var e=this.monitor.getItemType();return Object.keys(u).some((function(t){return u[t]===e}))}},{key:"beginDragNativeItem",value:function(e){this.clearCurrentDragSourceNode();var t=(0,c.createNativeDragSource)(e);this.currentNativeSource=new t,this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"asyncEndDragNativeItem",value:function(){this.asyncEndDragFrameId=this.window.requestAnimationFrame(this.endDragNativeItem)}},{key:"endDragNativeItem",value:function(){this.isDraggingNativeItem()&&(this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)}},{key:"isNodeInDocument",value:function(e){return!(!document.body.contains(e)&&!this.window)&&this.window.document.body.contains(e)}},{key:"endDragIfSourceWasRemovedFromDOM",value:function(){var e=this.currentDragSourceNode;this.isNodeInDocument(e)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"setCurrentDragSourceNode",value:function(e){var t=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.currentDragSourceNodeOffset=(0,l.getNodeClientOffset)(e),this.currentDragSourceNodeOffsetChanged=!1,this.mouseMoveTimeoutTimer=setTimeout((function(){return t.mouseMoveTimeoutId=null,t.window.addEventListener("mousemove",t.endDragIfSourceWasRemovedFromDOM,!0)}),1e3)}},{key:"clearCurrentDragSourceNode",value:function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.window.clearTimeout(this.mouseMoveTimeoutTimer),this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0),this.mouseMoveTimeoutTimer=null,!0)}},{key:"checkIfCurrentDragSourceRectChanged",value:function(){var e=this.currentDragSourceNode;return!!e&&(!!this.currentDragSourceNodeOffsetChanged||(this.currentDragSourceNodeOffsetChanged=!(0,i.default)((0,l.getNodeClientOffset)(e),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged))}},{key:"handleTopDragStartCapture",value:function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]}},{key:"handleDragStart",value:function(e,t){this.dragStartSourceIds.unshift(t)}},{key:"handleTopDragStart",value:function(e){var t=this,n=this.dragStartSourceIds;this.dragStartSourceIds=null;var r=(0,l.getEventClientOffset)(e);this.monitor.isDragging()&&this.actions.endDrag(),this.actions.beginDrag(n,{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});var o=e.dataTransfer,i=(0,c.matchNativeItemType)(o);if(this.monitor.isDragging()){if("function"==typeof o.setDragImage){var a=this.monitor.getSourceId(),s=this.sourceNodes[a],u=this.sourcePreviewNodes[a]||s,d=this.getCurrentSourcePreviewNodeOptions(),f={anchorX:d.anchorX,anchorY:d.anchorY},p={offsetX:d.offsetX,offsetY:d.offsetY},h=(0,l.getDragPreviewOffset)(s,u,r,f,p);o.setDragImage(u,h.x,h.y)}try{o.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target),this.getCurrentSourcePreviewNodeOptions().captureDraggingState?this.actions.publishDragSource():setTimeout((function(){return t.actions.publishDragSource()}))}else if(i)this.beginDragNativeItem(i);else{if(!(o.types||e.target.hasAttribute&&e.target.hasAttribute("draggable")))return;e.preventDefault()}}},{key:"handleTopDragEndCapture",value:function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"handleTopDragEnterCapture",value:function(e){if(this.dragEnterTargetIds=[],this.enterLeaveCounter.enter(e.target)&&!this.monitor.isDragging()){var t=e.dataTransfer,n=(0,c.matchNativeItemType)(t);n&&this.beginDragNativeItem(n)}}},{key:"handleDragEnter",value:function(e,t){this.dragEnterTargetIds.unshift(t)}},{key:"handleTopDragEnter",value:function(e){var t=this,n=this.dragEnterTargetIds;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,(0,s.isFirefox)()||this.actions.hover(n,{clientOffset:(0,l.getEventClientOffset)(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))&&(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()))}},{key:"handleTopDragOverCapture",value:function(){this.dragOverTargetIds=[]}},{key:"handleDragOver",value:function(e,t){this.dragOverTargetIds.unshift(t)}},{key:"handleTopDragOver",value:function(e){var t=this,n=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer.dropEffect="none");this.altKeyPressed=e.altKey,this.actions.hover(n,{clientOffset:(0,l.getEventClientOffset)(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))?(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(e.preventDefault(),e.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(e.preventDefault(),e.dataTransfer.dropEffect="move")}},{key:"handleTopDragLeaveCapture",value:function(e){this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&this.isDraggingNativeItem()&&this.endDragNativeItem()}},{key:"handleTopDropCapture",value:function(e){this.dropTargetIds=[],e.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(e.dataTransfer),this.enterLeaveCounter.reset()}},{key:"handleDrop",value:function(e,t){this.dropTargetIds.unshift(t)}},{key:"handleTopDrop",value:function(e){var t=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:(0,l.getEventClientOffset)(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()}},{key:"handleSelectStart",value:function(e){var t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))}},{key:"window",get:function(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}}]),e}();t.default=f},function(e,t,n){var r=n(50),o=n(56),i=n(91),a=n(28);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},function(e,t,n){var r=n(199),o=n(206),i=n(56);e.exports=function(e){return i(e)?r(e,!0):o(e)}},function(e,t,n){var r=n(200),o=n(82),i=n(19),a=n(201),s=n(91),l=n(203),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),f=!n&&!u&&!d&&l(e),p=n||u||d||f,h=p?r(e.length,String):[],v=h.length;for(var g in e)!t&&!c.call(e,g)||p&&("length"==g||d&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,v))||h.push(g);return h}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){(function(e){var r=n(25),o=n(202),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){e.exports=function(){return!1}},function(e,t,n){var r=n(204),o=n(54),i=n(205),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t,n){var r=n(31),o=n(79),i=n(27),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},function(e,t,n){(function(e){var r=n(72),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(64)(e))},function(e,t,n){var r=n(28),o=n(207),i=n(208),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;if(e[n[i]]!==t[n[i]])return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=a(n(100)),i=a(n(63));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.entered=[]}return r(e,[{key:"enter",value:function(e){var t=this.entered.length;return this.entered=(0,o.default)(this.entered.filter((function(t){return document.documentElement.contains(t)&&(!t.contains||t.contains(e))})),[e]),0===t&&this.entered.length>0}},{key:"leave",value:function(e){var t=this.entered.length;return this.entered=(0,i.default)(this.entered.filter((function(e){return document.documentElement.contains(e)})),e),t>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeClientOffset=a,t.getEventClientOffset=function(e){return{x:e.clientX,y:e.clientY}},t.getDragPreviewOffset=function(e,t,n,r,s){var l,c,u="IMG"===(l=t).nodeName&&((0,o.isFirefox)()||!document.documentElement.contains(l)),d=a(u?e:t),f={x:n.x-d.x,y:n.y-d.y},p=e.offsetWidth,h=e.offsetHeight,v=r.anchorX,g=r.anchorY,m=function(e,t,n,r){var i=e?t.width:n,a=e?t.height:r;return(0,o.isSafari)()&&e&&(a/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:a}}(u,t,p,h),y=m.dragPreviewWidth,b=m.dragPreviewHeight,_=s.offsetX,w=s.offsetY,S=0===w||w;return{x:0===_||_?_:new i.default([0,.5,1],[f.x,f.x/p*y,f.x+y-p]).interpolate(v),y:S?w:(c=new i.default([0,.5,1],[f.y,f.y/h*b,f.y+b-h]).interpolate(g),(0,o.isSafari)()&&u&&(c+=(window.devicePixelRatio-1)*b),c)}};var r,o=n(92),i=(r=n(212))&&r.__esModule?r:{default:r};function a(e){var t=1===e.nodeType?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top;return{x:n.left,y:r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=t.length,o=[],i=0;i<r;i++)o.push(i);o.sort((function(e,n){return t[e]<t[n]?-1:1}));for(var a=[],s=[],l=[],c=void 0,u=void 0,d=0;d<r-1;d++)c=t[d+1]-t[d],u=n[d+1]-n[d],s.push(c),a.push(u),l.push(u/c);for(var f=[l[0]],p=0;p<s.length-1;p++){var h=l[p],v=l[p+1];if(h*v<=0)f.push(0);else{c=s[p];var g=s[p+1],m=c+g;f.push(3*m/((m+g)/h+(m+c)/v))}}f.push(l[l.length-1]);for(var y=[],b=[],_=void 0,w=0;w<f.length-1;w++){_=l[w];var S=f[w],C=1/s[w],O=S+f[w+1]-_-_;y.push((_-S-O)*C),b.push(O*C*C)}this.xs=t,this.ys=n,this.c1s=f,this.c2s=y,this.c3s=b}return r(e,[{key:"interpolate",value:function(e){var t=this.xs,n=this.ys,r=this.c1s,o=this.c2s,i=this.c3s,a=t.length-1;if(e===t[a])return n[a];for(var s=0,l=i.length-1,c=void 0;s<=l;){var u=t[c=Math.floor(.5*(s+l))];if(u<e)s=c+1;else{if(!(u>e))return n[c];l=c-1}}var d=e-t[a=Math.max(0,l)],f=d*d;return n[a]+r[a]*d+o[a]*f+i[a]*d*f}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!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}}();t.createNativeDragSource=function(e){var t=l[e],n=t.exposeProperty,r=t.matchesTypes,i=t.getData;return function(){function e(){var t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.item=(t={},(r={})[n]=r[n]||{},r[n].get=function(){return console.warn("Browser doesn't allow reading \""+n+'" until the drop event.'),null},function(e,t){for(var n in t){var r=t[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n,r)}}(t,r),t)}return o(e,[{key:"mutateItemByReadingDataTransfer",value:function(e){delete this.item[n],this.item[n]=i(e,r)}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}()},t.matchNativeItemType=function(e){var t=Array.prototype.slice.call(e.types||[]);return Object.keys(l).filter((function(e){return l[e].matchesTypes.some((function(e){return t.indexOf(e)>-1}))}))[0]||null};var i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(59));function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t,n){var r=t.reduce((function(t,n){return t||e.getData(n)}),null);return null!=r?r:n}var l=(a(r={},i.FILE,{exposeProperty:"files",matchesTypes:["Files"],getData:function(e){return Array.prototype.slice.call(e.files)}}),a(r,i.URL,{exposeProperty:"urls",matchesTypes:["Url","text/uri-list"],getData:function(e,t){return s(e,t,"").split("\n")}}),a(r,i.TEXT,{exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(e,t){return s(e,t,"")}}),r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r||((r=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r};var r=void 0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;if(e[n[i]]!==t[n[i]])return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FILE="__NATIVE_FILE__",t.URL="__NATIVE_URL__",t.TEXT="__NATIVE_TEXT__"},function(e,t,n){var r=n(67);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(221)("keys"),o=n(106);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(43),o=n(42),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(105)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(218);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports={}},function(e,t,n){var r=n(93),o=n(319),i=n(222),a=n(220)("IE_PROTO"),s=function(){},l=function(){var e,t=n(241)("iframe"),r=i.length;for(t.style.display="none",n(320).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(60).f,o=n(61),i=n(69)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){t.f=n(69)},function(e,t,n){var r=n(42),o=n(43),i=n(105),a=n(228),s=n(60).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(230);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unpackBackendForEs5Users=t.createChildContext=t.CHILD_CONTEXT_TYPES=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},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="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){f.default.apply(void 0,["DragDropContext","backend"].concat(Array.prototype.slice.call(arguments)));var t=b(e),n=y(t);return function(e){var t,i,l=e.displayName||e.name||"Component",c=(i=t=function(t){function i(){return h(this,i),v(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return g(i,t),o(i,[{key:"getDecoratedComponentInstance",value:function(){return(0,u.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"getManager",value:function(){return n.dragDropManager}},{key:"getChildContext",value:function(){return n}},{key:"render",value:function(){var t=this;return s.default.createElement(e,r({},this.props,{ref:function(e){t.child=e}}))}}]),i}(a.Component),t.DecoratedComponent=e,t.displayName="DragDropContext("+l+")",t.childContextTypes=m,i);return(0,d.default)(c,e)}};var a=n(0),s=p(a),l=p(n(1)),c=n(97),u=p(n(12)),d=p(n(30)),f=p(n(102));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(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 g(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 m=t.CHILD_CONTEXT_TYPES={dragDropManager:l.default.object.isRequired},y=t.createChildContext=function(e,t){return{dragDropManager:new c.DragDropManager(e,t)}},b=t.unpackBackendForEs5Users=function(e){var t=e;return"object"===(void 0===t?"undefined":i(t))&&"function"==typeof t.default&&(t=t.default),(0,u.default)("function"==typeof t,"Expected the backend to be a function or an ES6 module exporting a default function. Read more: http://react-dnd.github.io/react-dnd/docs-drag-drop-context.html"),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":r(e))||null===e||"object"!==(void 0===t?"undefined":r(t))||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=Object.prototype.hasOwnProperty,a=0;a<n.length;a+=1){if(!i.call(t,n[a]))return!1;var s=e[n[a]],l=t[n[a]];if(s!==l||"object"===(void 0===s?"undefined":r(s))||"object"===(void 0===l?"undefined":r(l)))return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t,n,h=e.DecoratedComponent,g=e.createHandler,m=e.createMonitor,y=e.createConnector,b=e.registerHandler,_=e.containerDisplayName,w=e.getType,S=e.collect,C=e.options.arePropsEqual,O=void 0===C?p.default:C,x=h.displayName||h.name||"Component",T=(n=t=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleChange=r.handleChange.bind(r),r.handleChildRef=r.handleChildRef.bind(r),(0,u.default)("object"===o(r.context.dragDropManager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",x,x),r.manager=r.context.dragDropManager,r.handlerMonitor=m(r.manager),r.handlerConnector=y(r.manager.getBackend()),r.handler=g(r.handlerMonitor),r.disposable=new c.SerialDisposable,r.receiveProps(e),r.state=r.getCurrentState(),r.dispose(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"getHandlerId",value:function(){return this.handlerId}},{key:"getDecoratedComponentInstance",value:function(){return this.decoratedComponentInstance}},{key:"shouldComponentUpdate",value:function(e,t){return!O(e,this.props)||!(0,f.default)(t,this.state)}}]),i(t,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.disposable=new c.SerialDisposable,this.currentType=null,this.receiveProps(this.props),this.handleChange()}},{key:"componentWillReceiveProps",value:function(e){O(e,this.props)||(this.receiveProps(e),this.handleChange())}},{key:"componentWillUnmount",value:function(){this.dispose(),this.isCurrentlyMounted=!1}},{key:"receiveProps",value:function(e){this.handler.receiveProps(e),this.receiveType(w(e))}},{key:"receiveType",value:function(e){if(e!==this.currentType){this.currentType=e;var t=b(e,this.handler,this.manager),n=t.handlerId,r=t.unregister;this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var o=this.manager.getMonitor().subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new c.CompositeDisposable(new c.Disposable(o),new c.Disposable(r)))}}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,f.default)(e,this.state)||this.setState(e)}}},{key:"dispose",value:function(){this.disposable.dispose(),this.handlerConnector.receiveHandlerId(null)}},{key:"handleChildRef",value:function(e){this.decoratedComponentInstance=e,this.handler.receiveComponent(e)}},{key:"getCurrentState",value:function(){return S(this.handlerConnector.hooks,this.handlerMonitor)}},{key:"render",value:function(){return s.default.createElement(h,r({},this.props,this.state,{ref:v(h)?this.handleChildRef:null}))}}]),t}(a.Component),t.DecoratedComponent=h,t.displayName=_+"("+x+")",t.contextTypes={dragDropManager:l.default.object.isRequired},n);return(0,d.default)(T,h)};var a=n(0),s=h(a),l=h(n(1)),c=n(98),u=(h(n(15)),h(n(12))),d=h(n(30)),f=h(n(215)),p=h(n(233));function h(e){return e&&e.__esModule?e:{default:e}}var v=function(e){return Boolean(e&&e.prototype&&"function"==typeof e.prototype.render)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={};return Object.keys(e).forEach((function(n){var r,s=(r=e[n],function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,o.isValidElement)(e)){var n=e;a(n);var s=t?function(e){return r(e,t)}:r;return(0,i.default)(n,s)}var l=e;r(l,t)});t[n]=function(){return s}})),t};var r,o=n(0),i=(r=n(287))&&r.__esModule?r:{default:r};function a(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors.You can either wrap "+t+" into a <div>, or turn it into a drag source or a drop target itself.")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t===e||null!==t&&null!==e&&(0,o.default)(t,e)};var r,o=(r=n(215))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function e(t,n){return"string"==typeof t||"symbol"===(void 0===t?"undefined":r(t))||n&&(0,i.default)(t)&&t.every((function(t){return e(t,!1)}))};var o,i=(o=n(19))&&o.__esModule?o:{default:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=t.isFirefox=void 0;var r,o=(r=n(101))&&r.__esModule?r:{default:r};t.isFirefox=(0,o.default)((function(){return/firefox/i.test(navigator.userAgent)})),t.isSafari=(0,o.default)((function(){return Boolean(window.safari)}))},function(e,t,n){var r=n(304);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){e.exports=!n(44)&&!n(94)((function(){return 7!=Object.defineProperty(n(241)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(67),o=n(42).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(61),o=n(68),i=n(306)(!1),a=n(220)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(244);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";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";Object.defineProperty(t,"__esModule",{value:!0}),t.storeShape=void 0;var r,o=(r=n(1))&&r.__esModule?r:{default:r};t.storeShape=o.default.shape({subscribe:o.default.func.isRequired,setState:o.default.func.isRequired,getState:o.default.func.isRequired})},function(e,t,n){"use strict";var r=n(105),o=n(65),i=n(248),a=n(66),s=n(225),l=n(318),c=n(227),u=n(321),d=n(69)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,v,g,m){l(n,t,h);var y,b,_,w=function(e){if(!f&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",C="values"==v,O=!1,x=e.prototype,T=x[d]||x["@@iterator"]||v&&x[v],k=T||w(v),D=v?C?w("entries"):k:void 0,E="Array"==t&&x.entries||T;if(E&&(_=u(E.call(new e)))!==Object.prototype&&_.next&&(c(_,S,!0),r||"function"==typeof _[d]||a(_,d,p)),C&&T&&"values"!==T.name&&(O=!0,k=function(){return T.call(this)}),r&&!m||!f&&!O&&x[d]||a(x,d,k),s[t]=k,s[S]=p,v)if(y={values:C?k:w("values"),keys:g?k:w("keys"),entries:D},m)for(b in y)b in x||i(x,b,y[b]);else o(o.P+o.F*(f||O),t,y);return y}},function(e,t,n){e.exports=n(66)},function(e,t,n){var r=n(242),o=n(222).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(107),o=n(103),i=n(68),a=n(217),s=n(61),l=n(240),c=Object.getOwnPropertyDescriptor;t.f=n(44)?c:function(e,t){if(e=i(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){e.exports={default:n(345),__esModule:!0}},function(e,t){e.exports=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}},function(e,t){e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure undefined")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(267),o=n(268),i=n(231),a=n(269);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){function i(t){var r=new o.default(t);n.call(e,r)}if(e.addEventListener){var a=(s=!1,"object"==typeof r?s=r.capture||!1:"boolean"==typeof r&&(s=r),e.addEventListener(t,i,r||!1),{v:{remove:function(){e.removeEventListener(t,i,s)}}});if("object"==typeof a)return a.v}else if(e.attachEvent)return e.attachEvent("on"+t,i),{remove:function(){e.detachEvent("on"+t,i)}};var s};var r,o=(r=n(343))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(251))&&r.__esModule?r:{default:r};t.default=function(e,t,n){return t in e?(0,o.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){try{var r=n(252)}catch(e){r=n(252)}var o=/\s+/,i=Object.prototype.toString;function a(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}e.exports=function(e){return new a(e)},a.prototype.add=function(e){if(this.list)return this.list.add(e),this;var t=this.array();return~r(t,e)||t.push(e),this.el.className=t.join(" "),this},a.prototype.remove=function(e){if("[object RegExp]"==i.call(e))return this.removeMatching(e);if(this.list)return this.list.remove(e),this;var t=this.array(),n=r(t,e);return~n&&t.splice(n,1),this.el.className=t.join(" "),this},a.prototype.removeMatching=function(e){for(var t=this.array(),n=0;n<t.length;n++)e.test(t[n])&&this.remove(t[n]);return this},a.prototype.toggle=function(e,t){return this.list?(void 0!==t?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this):(void 0!==t?t?this.add(e):this.remove(e):this.has(e)?this.remove(e):this.add(e),this)},a.prototype.array=function(){var e=(this.el.getAttribute("class")||"").replace(/^\s+|\s+$/g,"").split(o);return""===e[0]&&e.shift(),e},a.prototype.has=a.prototype.contains=function(e){return this.list?this.list.contains(e):!!~r(this.array(),e)}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";e.exports=n(347)},,,,function(e,t,n){var r=n(230);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=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.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,i=[],_n=!0,a=!1;try{for(n=n.call(e);!(_n=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);_n=!0);}catch(e){a=!0,o=e}finally{try{_n||null==n.return||n.return()}finally{if(a)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){(function(e,n){var r="[object Arguments]",o="[object Map]",i="[object Object]",a="[object Set]",s=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[r]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c["[object Function]"]=c[o]=c["[object Number]"]=c[i]=c["[object RegExp]"]=c[a]=c["[object String]"]=c["[object WeakMap]"]=!1;var u="object"==typeof e&&e&&e.Object===Object&&e,d="object"==typeof self&&self&&self.Object===Object&&self,f=u||d||Function("return this")(),p=t&&!t.nodeType&&t,h=p&&"object"==typeof n&&n&&!n.nodeType&&n,v=h&&h.exports===p,g=v&&u.process,m=function(){try{return g&&g.binding&&g.binding("util")}catch(e){}}(),y=m&&m.isTypedArray;function b(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function _(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function w(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var S,C,O,x=Array.prototype,T=Function.prototype,k=Object.prototype,D=f["__core-js_shared__"],E=T.toString,I=k.hasOwnProperty,P=(S=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||""))?"Symbol(src)_1."+S:"",M=k.toString,R=RegExp("^"+E.call(I).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),N=v?f.Buffer:void 0,j=f.Symbol,A=f.Uint8Array,L=k.propertyIsEnumerable,z=x.splice,F=j?j.toStringTag:void 0,H=Object.getOwnPropertySymbols,W=N?N.isBuffer:void 0,G=(C=Object.keys,O=Object,function(e){return C(O(e))}),U=he(f,"DataView"),B=he(f,"Map"),V=he(f,"Promise"),K=he(f,"Set"),q=he(f,"WeakMap"),Y=he(Object,"create"),X=ye(U),Z=ye(B),$=ye(V),J=ye(K),Q=ye(q),ee=j?j.prototype:void 0,te=ee?ee.valueOf:void 0;function ne(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])}}function re(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])}}function oe(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])}}function ie(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new oe;++t<n;)this.add(e[t])}function ae(e){var t=this.__data__=new re(e);this.size=t.size}function se(e,t){for(var n=e.length;n--;)if(be(e[n][0],t))return n;return-1}function le(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":F&&F in Object(e)?function(e){var t=I.call(e,F),n=e[F];try{e[F]=void 0;var r=!0}catch(e){}var o=M.call(e);return r&&(t?e[F]=n:delete e[F]),o}(e):function(e){return M.call(e)}(e)}function ce(e){return Te(e)&&le(e)==r}function ue(e,t,n,s,l){return e===t||(null==e||null==t||!Te(e)&&!Te(t)?e!=e&&t!=t:function(e,t,n,s,l,c){var u=we(e),d=we(t),f=u?"[object Array]":ge(e),p=d?"[object Array]":ge(t),h=(f=f==r?i:f)==i,v=(p=p==r?i:p)==i,g=f==p;if(g&&Se(e)){if(!Se(t))return!1;u=!0,h=!1}if(g&&!h)return c||(c=new ae),u||ke(e)?de(e,t,n,s,l,c):function(e,t,n,r,i,s,l){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||!s(new A(e),new A(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return be(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case o:var c=_;case a:var u=1&r;if(c||(c=w),e.size!=t.size&&!u)return!1;var d=l.get(e);if(d)return d==t;r|=2,l.set(e,t);var f=de(c(e),c(t),r,i,s,l);return l.delete(e),f;case"[object Symbol]":if(te)return te.call(e)==te.call(t)}return!1}(e,t,f,n,s,l,c);if(!(1&n)){var m=h&&I.call(e,"__wrapped__"),y=v&&I.call(t,"__wrapped__");if(m||y){var b=m?e.value():e,S=y?t.value():t;return c||(c=new ae),l(b,S,n,s,c)}}return!!g&&(c||(c=new ae),function(e,t,n,r,o,i){var a=1&n,s=fe(e),l=s.length;if(l!=fe(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:I.call(t,u)))return!1}var d=i.get(e);if(d&&i.get(t))return d==t;var f=!0;i.set(e,t),i.set(t,e);for(var p=a;++c<l;){var h=e[u=s[c]],v=t[u];if(r)var g=a?r(v,h,u,t,e,i):r(h,v,u,e,t,i);if(!(void 0===g?h===v||o(h,v,n,r,i):g)){f=!1;break}p||(p="constructor"==u)}if(f&&!p){var m=e.constructor,y=t.constructor;m==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof y&&y instanceof y||(f=!1)}return i.delete(e),i.delete(t),f}(e,t,n,s,l,c))}(e,t,n,s,ue,l))}function de(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,f=2&n?new ie:void 0;for(i.set(e,t),i.set(t,e);++u<s;){var p=e[u],h=t[u];if(r)var v=a?r(h,p,u,t,e,i):r(p,h,u,e,t,i);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!b(t,(function(e,t){if(a=t,!f.has(a)&&(p===e||o(p,e,n,r,i)))return f.push(t);var a}))){d=!1;break}}else if(p!==h&&!o(p,h,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function fe(e){return function(e,t,n){var r=t(e);return we(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,De,ve)}function pe(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function he(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!xe(e)||function(e){return!!P&&P in e}(e))&&(Ce(e)?R:s).test(ye(e))}(n)?n:void 0}ne.prototype.clear=function(){this.__data__=Y?Y(null):{},this.size=0},ne.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ne.prototype.get=function(e){var t=this.__data__;if(Y){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return I.call(t,e)?t[e]:void 0},ne.prototype.has=function(e){var t=this.__data__;return Y?void 0!==t[e]:I.call(t,e)},ne.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Y&&void 0===t?"__lodash_hash_undefined__":t,this},re.prototype.clear=function(){this.__data__=[],this.size=0},re.prototype.delete=function(e){var t=this.__data__,n=se(t,e);return!(n<0||(n==t.length-1?t.pop():z.call(t,n,1),--this.size,0))},re.prototype.get=function(e){var t=this.__data__,n=se(t,e);return n<0?void 0:t[n][1]},re.prototype.has=function(e){return se(this.__data__,e)>-1},re.prototype.set=function(e,t){var n=this.__data__,r=se(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},oe.prototype.clear=function(){this.size=0,this.__data__={hash:new ne,map:new(B||re),string:new ne}},oe.prototype.delete=function(e){var t=pe(this,e).delete(e);return this.size-=t?1:0,t},oe.prototype.get=function(e){return pe(this,e).get(e)},oe.prototype.has=function(e){return pe(this,e).has(e)},oe.prototype.set=function(e,t){var n=pe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ie.prototype.add=ie.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ie.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.clear=function(){this.__data__=new re,this.size=0},ae.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ae.prototype.get=function(e){return this.__data__.get(e)},ae.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.set=function(e,t){var n=this.__data__;if(n instanceof re){var r=n.__data__;if(!B||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new oe(r)}return n.set(e,t),this.size=n.size,this};var ve=H?function(e){return null==e?[]:(e=Object(e),function(t,n){for(var r=-1,o=null==t?0:t.length,i=0,a=[];++r<o;){var s=t[r];l=s,L.call(e,l)&&(a[i++]=s)}var l;return a}(H(e)))}:function(){return[]},ge=le;function me(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||l.test(e))&&e>-1&&e%1==0&&e<t}function ye(e){if(null!=e){try{return E.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function be(e,t){return e===t||e!=e&&t!=t}(U&&"[object DataView]"!=ge(new U(new ArrayBuffer(1)))||B&&ge(new B)!=o||V&&"[object Promise]"!=ge(V.resolve())||K&&ge(new K)!=a||q&&"[object WeakMap]"!=ge(new q))&&(ge=function(e){var t=le(e),n=t==i?e.constructor:void 0,r=n?ye(n):"";if(r)switch(r){case X:return"[object DataView]";case Z:return o;case $:return"[object Promise]";case J:return a;case Q:return"[object WeakMap]"}return t});var _e=ce(function(){return arguments}())?ce:function(e){return Te(e)&&I.call(e,"callee")&&!L.call(e,"callee")},we=Array.isArray,Se=W||function(){return!1};function Ce(e){if(!xe(e))return!1;var t=le(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Oe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function xe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Te(e){return null!=e&&"object"==typeof e}var ke=y?function(e){return function(t){return e(t)}}(y):function(e){return Te(e)&&Oe(e.length)&&!!c[le(e)]};function De(e){return null!=(t=e)&&Oe(t.length)&&!Ce(t)?function(e,t){var n=we(e),r=!n&&_e(e),o=!n&&!r&&Se(e),i=!n&&!r&&!o&&ke(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&&!I.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||me(c,l))||s.push(c);return s}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||k))return G(e);var t,n,r=[];for(var o in Object(e))I.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e);var t}n.exports=function(e,t){return ue(e,t)}}).call(this,n(26),n(64)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultVerticalStrength=t.defaultHorizontalStrength=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},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}}();t.createHorizontalStrength=v,t.createVerticalStrength=g,t.default=function(e){var t=function(t){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t));return r.handleEvent=function(e){r.dragging&&!r.attached&&(r.attach(),r.updateScrolling(e))},r.updateScrolling=(0,c.default)((function(e){var t=r.container.getBoundingClientRect(),n={x:t.left,y:t.top,w:t.width,h:t.height},o=(0,p.getCoords)(e);r.scaleX=r.props.horizontalStrength(n,o),r.scaleY=r.props.verticalStrength(n,o),r.frame||!r.scaleX&&!r.scaleY||r.startScrolling()}),100,{trailing:!1}),r.scaleX=0,r.scaleY=0,r.frame=null,r.attached=!1,r.dragging=!1,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"componentDidMount",value:function(){var e=this;this.container=(0,l.findDOMNode)(this.wrappedInstance),this.container.addEventListener("dragover",this.handleEvent),window.document.body.addEventListener("touchmove",this.handleEvent),this.clearMonitorSubscription=this.context.dragDropManager.getMonitor().subscribeToStateChange((function(){return e.handleMonitorChange()}))}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("dragover",this.handleEvent),window.document.body.removeEventListener("touchmove",this.handleEvent),this.clearMonitorSubscription(),this.stopScrolling()}},{key:"handleMonitorChange",value:function(){var e=this.context.dragDropManager.getMonitor().isDragging();!this.dragging&&e?this.dragging=!0:this.dragging&&!e&&(this.dragging=!1,this.stopScrolling())}},{key:"attach",value:function(){this.attached=!0,window.document.body.addEventListener("dragover",this.updateScrolling),window.document.body.addEventListener("touchmove",this.updateScrolling)}},{key:"detach",value:function(){this.attached=!1,window.document.body.removeEventListener("dragover",this.updateScrolling),window.document.body.removeEventListener("touchmove",this.updateScrolling)}},{key:"startScrolling",value:function(){var e=this,t=0;!function n(){var r=e.scaleX,o=e.scaleY,i=e.container,a=e.props,s=a.strengthMultiplier,l=a.onScrollChange;if(0!==s&&r+o!==0){if(t++%2){var c=i.scrollLeft,d=i.scrollTop,f=i.scrollWidth,h=i.scrollHeight,v=i.clientWidth,g=i.clientHeight;l(r?i.scrollLeft=(0,p.intBetween)(0,f-v,c+r*s):c,o?i.scrollTop=(0,p.intBetween)(0,h-g,d+o*s):d)}e.frame=(0,u.default)(n)}else e.stopScrolling()}()}},{key:"stopScrolling",value:function(){this.detach(),this.scaleX=0,this.scaleY=0,this.frame&&(u.default.cancel(this.frame),this.frame=null)}},{key:"render",value:function(){var t=this,n=this.props,o=(n.strengthMultiplier,n.verticalStrength,n.horizontalStrength,n.onScrollChange,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["strengthMultiplier","verticalStrength","horizontalStrength","onScrollChange"]));return a.default.createElement(e,r({ref:function(e){t.wrappedInstance=e}},o))}}]),n}(i.Component);return t.displayName="Scrolling("+(0,d.default)(e)+")",t.propTypes={onScrollChange:s.default.func,verticalStrength:s.default.func,horizontalStrength:s.default.func,strengthMultiplier:s.default.number},t.defaultProps={onScrollChange:p.noop,verticalStrength:y,horizontalStrength:m,strengthMultiplier:30},t.contextTypes={dragDropManager:s.default.object},(0,f.default)(t,e)};var i=n(0),a=h(i),s=h(n(1)),l=n(11),c=h(n(272)),u=h(n(273)),d=h(n(276)),f=h(n(277)),p=n(278);function h(e){return e&&e.__esModule?e:{default:e}}function v(e){return function(t,n){var r=t.x,o=t.w,i=t.y,a=t.h,s=Math.min(o/2,e);if(n.x>=r&&n.x<=r+o&&n.y>=i&&n.y<=i+a){if(n.x<r+s)return(n.x-r-s)/s;if(n.x>r+o-s)return-(r+o-n.x-s)/s}return 0}}function g(e){return function(t,n){var r=t.y,o=t.h,i=t.x,a=t.w,s=Math.min(o/2,e);if(n.y>=r&&n.y<=r+o&&n.x>=i&&n.x<=i+a){if(n.y<r+s)return(n.y-r-s)/s;if(n.y>r+o-s)return-(r+o-n.y-s)/s}return 0}}var m=t.defaultHorizontalStrength=v(150),y=t.defaultVerticalStrength=g(150)},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,i=/^0o[0-7]+$/i,a=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,l="object"==typeof self&&self&&self.Object===Object&&self,c=s||l||Function("return this")(),u=Object.prototype.toString,d=Math.max,f=Math.min,p=function(){return c.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=o.test(e);return s||i.test(e)?a(e.slice(2),s?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return h(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),function(e,t,n){var r,o,i,a,s,l,c=0,u=!1,g=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function b(e){return c=e,s=setTimeout(w,t),u?y(e):a}function _(e){var n=e-l;return void 0===l||n>=t||n<0||g&&e-c>=i}function w(){var e=p();if(_(e))return S(e);s=setTimeout(w,function(e){var n=t-(e-l);return g?f(n,i-(e-c)):n}(e))}function S(e){return s=void 0,m&&r?y(e):(r=o=void 0,a)}function C(){var e=p(),n=_(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return b(l);if(g)return s=setTimeout(w,t),y(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=v(t)||0,h(n)&&(u=!!n.leading,i=(g="maxWait"in n)?d(v(n.maxWait)||0,t):i,m="trailing"in n?!!n.trailing:m),C.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},C.flush=function(){return void 0===s?a:S(p())},C}(e,t,{leading:r,maxWait:t,trailing:o})}}).call(this,n(26))},function(e,t,n){(function(t){for(var r=n(274),o="undefined"==typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",s=o["request"+a],l=o["cancel"+a]||o["cancelRequest"+a],c=0;!s&&c<i.length;c++)s=o[i[c]+"Request"+a],l=o[i[c]+"Cancel"+a]||o[i[c]+"CancelRequest"+a];if(!s||!l){var u=0,d=0,f=[];s=function(e){if(0===f.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=f.slice(0);f.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return f.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return s.call(o,e)},e.exports.cancel=function(){l.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=s,e.cancelAnimationFrame=l}}).call(this,n(26))},function(e,t,n){(function(t){(function(){var n,r,o,i,a,s;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},r=t.hrtime,i=(n=function(){var e;return 1e9*(e=r())[0]+e[1]})(),s=1e9*t.uptime(),a=i-s):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(this,n(275))},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 f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var e=s(f);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 h(e,t){this.fun=e,this.array=t}function v(){}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 h(e,t)),1!==c.length||u||s(p)},h.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=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,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";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},i="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,n){if("string"!=typeof t){var a=Object.getOwnPropertyNames(t);i&&(a=a.concat(Object.getOwnPropertySymbols(t)));for(var s=0;s<a.length;++s)if(!(r[a[s]]||o[a[s]]||n&&n[a[s]]))try{e[a[s]]=t[a[s]]}catch(e){}}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=function(){},t.intBetween=function(e,t,n){return Math.floor(Math.min(t,Math.max(e,n)))},t.getCoords=function(e){return"touchmove"===e.type?{x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY}:{x:e.clientX,y:e.clientY}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(232);Object.defineProperty(t,"DragDropContext",{enumerable:!0,get:function(){return l(r).default}});var o=n(280);Object.defineProperty(t,"DragDropContextProvider",{enumerable:!0,get:function(){return l(o).default}});var i=n(281);Object.defineProperty(t,"DragLayer",{enumerable:!0,get:function(){return l(i).default}});var a=n(282);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return l(a).default}});var s=n(288);function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return l(s).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o,i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),l=(i=n(1))&&i.__esModule?i:{default:i},c=n(232),u=(o=r=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.backend=(0,c.unpackBackendForEs5Users)(e.backend),r.childContext=(0,c.createChildContext)(r.backend,{window:e&&e.window?e.window:n&&n.window?n.window:"undefined"!=typeof window?window:void 0}),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentWillReceiveProps",value:function(e){if(e.backend!==this.props.backend||e.window!==this.props.window)throw new Error("DragDropContextProvider backend and window props must not change.")}},{key:"getChildContext",value:function(){return this.childContext}},{key:"render",value:function(){return s.Children.only(this.props.children)}}]),t}(s.Component),r.propTypes={backend:l.default.oneOfType([l.default.func,l.default.object]).isRequired,children:l.default.element.isRequired,window:l.default.object},r.defaultProps={window:void 0},r.childContextTypes=c.CHILD_CONTEXT_TYPES,r.displayName="DragDropContextProvider",r.contextTypes={window:l.default.object},o);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return h.default.apply(void 0,["DragLayer","collect[, options]"].concat(Array.prototype.slice.call(arguments))),(0,d.default)("function"==typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",e),(0,d.default)((0,u.default)(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',t),function(n){var u,h,v=t.arePropsEqual,b=void 0===v?p.default:v,_=n.displayName||n.name||"Component",w=(h=u=function(t){function a(e,t){g(this,a);var n=m(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return n.handleChange=n.handleChange.bind(n),n.manager=t.dragDropManager,(0,d.default)("object"===o(n.manager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",_,_),n.state=n.getCurrentState(),n}return y(a,t),i(a,[{key:"getDecoratedComponentInstance",value:function(){return(0,d.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"shouldComponentUpdate",value:function(e,t){return!b(e,this.props)||!(0,f.default)(t,this.state)}}]),i(a,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0;var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange),this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange(),this.unsubscribeFromStateChange()}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,f.default)(e,this.state)||this.setState(e)}}},{key:"getCurrentState",value:function(){var t=this.manager.getMonitor();return e(t)}},{key:"render",value:function(){var e=this;return s.default.createElement(n,r({},this.props,this.state,{ref:function(t){e.child=t}}))}}]),a}(a.Component),u.DecoratedComponent=n,u.displayName="DragLayer("+_+")",u.contextTypes={dragDropManager:l.default.object.isRequired},h);return(0,c.default)(w,n)}};var a=n(0),s=v(a),l=v(n(1)),c=v(n(30)),u=v(n(15)),d=v(n(12)),f=v(n(215)),p=v(n(233)),h=v(n(102));function v(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(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 y(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)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.default.apply(void 0,["DragSource","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var p=e;"function"!=typeof e&&((0,r.default)((0,d.default)(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e),p=function(){return e}),(0,r.default)((0,o.default)(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t);var h=(0,l.default)(t);return(0,r.default)("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),(0,r.default)((0,o.default)(f),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),function(e){return(0,a.default)({connectBackend:function(e,t){return e.connectDragSource(t)},containerDisplayName:"DragSource",createHandler:h,registerHandler:s.default,createMonitor:c.default,createConnector:u.default,DecoratedComponent:e,getType:p,collect:n,options:f})}};var r=f(n(12)),o=f(n(15)),i=f(n(102)),a=f(n(234)),s=f(n(283)),l=f(n(284)),c=f(n(285)),u=f(n(286)),d=f(n(237));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addSource(e,t);return{handlerId:o,unregister:function(){r.removeSource(o)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){Object.keys(e).forEach((function(t){(0,o.default)(a.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',a.join(", "),t),(0,o.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])})),s.forEach((function(t){(0,o.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])}));var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.monitor=e,this.props=null,this.component=null}return r(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrag",value:function(){return!e.canDrag||e.canDrag(this.props,this.monitor)}},{key:"isDragging",value:function(t,n){return e.isDragging?e.isDragging(this.props,this.monitor):n===t.getSourceId()}},{key:"beginDrag",value:function(){return e.beginDrag(this.props,this.monitor,this.component)}},{key:"endDrag",value:function(){e.endDrag&&e.endDrag(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}};var o=i(n(12));function i(e){return e&&e.__esModule?e:{default:e}}i(n(15));var a=["canDrag","beginDrag","isDragging","endDrag"],s=["beginDrag"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new l(e)};var o,i=(o=n(12))&&o.__esModule?o:{default:o},a=!1,s=!1,l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalMonitor=t.getMonitor()}return r(e,[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"canDrag",value:function(){(0,i.default)(!a,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return a=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{a=!1}}},{key:"isDragging",value:function(){(0,i.default)(!s,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return s=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{s=!1}}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0,n=void 0,i=void 0,a=void 0,s=void 0,l=void 0,c=void 0;function u(){a&&(a(),a=null),t&&n&&(a=e.connectDragSource(t,n,i))}function d(){c&&(c(),c=null),t&&s&&(c=e.connectDragPreview(t,s,l))}return{receiveHandlerId:function(e){e!==t&&(t=e,u(),d())},hooks:(0,r.default)({dragSource:function(e,t){e===n&&(0,o.default)(t,i)||(n=e,i=t,u())},dragPreview:function(e,t){e===s&&(0,o.default)(t,l)||(s=e,l=t,d())}})}};var r=i(n(235)),o=i(n(236));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.ref;return(0,o.default)("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?(0,i.cloneElement)(e,{ref:function(e){t(e),n&&n(e)}}):(0,i.cloneElement)(e,{ref:t})};var r,o=(r=n(12))&&r.__esModule?r:{default:r},i=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.default.apply(void 0,["DropTarget","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var p=e;"function"!=typeof e&&((0,r.default)((0,d.default)(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e),p=function(){return e}),(0,r.default)((0,o.default)(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t);var h=(0,l.default)(t);return(0,r.default)("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),(0,r.default)((0,o.default)(f),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),function(e){return(0,a.default)({connectBackend:function(e,t){return e.connectDropTarget(t)},containerDisplayName:"DropTarget",createHandler:h,registerHandler:s.default,createMonitor:c.default,createConnector:u.default,DecoratedComponent:e,getType:p,collect:n,options:f})}};var r=f(n(12)),o=f(n(15)),i=f(n(102)),a=f(n(234)),s=f(n(289)),l=f(n(290)),c=f(n(291)),u=f(n(292)),d=f(n(237));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addTarget(e,t);return{handlerId:o,unregister:function(){r.removeTarget(o)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){Object.keys(e).forEach((function(t){(0,o.default)(a.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',a.join(", "),t),(0,o.default)("function"==typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",t,t,e[t])}));var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.monitor=e,this.props=null,this.component=null}return r(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveMonitor",value:function(e){this.monitor=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrop",value:function(){return!e.canDrop||e.canDrop(this.props,this.monitor)}},{key:"hover",value:function(){e.hover&&e.hover(this.props,this.monitor,this.component)}},{key:"drop",value:function(){if(e.drop)return e.drop(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}};var o=i(n(12));function i(e){return e&&e.__esModule?e:{default:e}}i(n(15));var a=["canDrop","hover","drop"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new s(e)};var o,i=(o=n(12))&&o.__esModule?o:{default:o},a=!1,s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalMonitor=t.getMonitor()}return r(e,[{key:"receiveHandlerId",value:function(e){this.targetId=e}},{key:"canDrop",value:function(){(0,i.default)(!a,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html");try{return a=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{a=!1}}},{key:"isOver",value:function(e){return this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0,n=void 0,i=void 0,a=void 0;function s(){a&&(a(),a=null),t&&n&&(a=e.connectDropTarget(t,n,i))}return{receiveHandlerId:function(e){e!==t&&(t=e,s())},hooks:(0,r.default)({dropTarget:function(e,t){e===n&&(0,o.default)(t,i)||(n=e,i=t,s())}})}};var r=i(n(235)),o=i(n(236));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEmptyImage=t.NativeTypes=void 0,t.default=function(e){return new r.default(e)};var r=a(n(294)),o=a(n(300)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(216));function a(e){return e&&e.__esModule?e:{default:e}}t.NativeTypes=i,t.getEmptyImage=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=d(n(99)),i=d(n(295)),a=d(n(296)),s=n(238),l=n(297),c=n(299),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(216));function d(e){return e&&e.__esModule?e:{default:e}}var f=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.context=t.getContext(),this.sourcePreviewNodes={},this.sourcePreviewNodeOptions={},this.sourceNodes={},this.sourceNodeOptions={},this.enterLeaveCounter=new a.default,this.dragStartSourceIds=[],this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.altKeyPressed=!1,this.getSourceClientOffset=this.getSourceClientOffset.bind(this),this.handleTopDragStart=this.handleTopDragStart.bind(this),this.handleTopDragStartCapture=this.handleTopDragStartCapture.bind(this),this.handleTopDragEndCapture=this.handleTopDragEndCapture.bind(this),this.handleTopDragEnter=this.handleTopDragEnter.bind(this),this.handleTopDragEnterCapture=this.handleTopDragEnterCapture.bind(this),this.handleTopDragLeaveCapture=this.handleTopDragLeaveCapture.bind(this),this.handleTopDragOver=this.handleTopDragOver.bind(this),this.handleTopDragOverCapture=this.handleTopDragOverCapture.bind(this),this.handleTopDrop=this.handleTopDrop.bind(this),this.handleTopDropCapture=this.handleTopDropCapture.bind(this),this.handleSelectStart=this.handleSelectStart.bind(this),this.endDragIfSourceWasRemovedFromDOM=this.endDragIfSourceWasRemovedFromDOM.bind(this),this.endDragNativeItem=this.endDragNativeItem.bind(this),this.asyncEndDragNativeItem=this.asyncEndDragNativeItem.bind(this),this.isNodeInDocument=this.isNodeInDocument.bind(this)}return r(e,[{key:"setup",value:function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}}},{key:"teardown",value:function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&this.window.cancelAnimationFrame(this.asyncEndDragFrameId))}},{key:"addEventListeners",value:function(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"connectDragPreview",value:function(e,t,n){var r=this;return this.sourcePreviewNodeOptions[e]=n,this.sourcePreviewNodes[e]=t,function(){delete r.sourcePreviewNodes[e],delete r.sourcePreviewNodeOptions[e]}}},{key:"connectDragSource",value:function(e,t,n){var r=this;this.sourceNodes[e]=t,this.sourceNodeOptions[e]=n;var o=function(t){return r.handleDragStart(t,e)},i=function(t){return r.handleSelectStart(t,e)};return t.setAttribute("draggable",!0),t.addEventListener("dragstart",o),t.addEventListener("selectstart",i),function(){delete r.sourceNodes[e],delete r.sourceNodeOptions[e],t.removeEventListener("dragstart",o),t.removeEventListener("selectstart",i),t.setAttribute("draggable",!1)}}},{key:"connectDropTarget",value:function(e,t){var n=this,r=function(t){return n.handleDragEnter(t,e)},o=function(t){return n.handleDragOver(t,e)},i=function(t){return n.handleDrop(t,e)};return t.addEventListener("dragenter",r),t.addEventListener("dragover",o),t.addEventListener("drop",i),function(){t.removeEventListener("dragenter",r),t.removeEventListener("dragover",o),t.removeEventListener("drop",i)}}},{key:"getCurrentSourceNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions[e];return(0,o.default)(t||{},{dropEffect:this.altKeyPressed?"copy":"move"})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions[e];return(0,o.default)(t||{},{anchorX:.5,anchorY:.5,captureDraggingState:!1})}},{key:"getSourceClientOffset",value:function(e){return(0,l.getNodeClientOffset)(this.sourceNodes[e])}},{key:"isDraggingNativeItem",value:function(){var e=this.monitor.getItemType();return Object.keys(u).some((function(t){return u[t]===e}))}},{key:"beginDragNativeItem",value:function(e){this.clearCurrentDragSourceNode();var t=(0,c.createNativeDragSource)(e);this.currentNativeSource=new t,this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle]),(0,s.isFirefox)()&&this.window.addEventListener("mouseover",this.asyncEndDragNativeItem,!0)}},{key:"asyncEndDragNativeItem",value:function(){this.asyncEndDragFrameId=this.window.requestAnimationFrame(this.endDragNativeItem),(0,s.isFirefox)()&&(this.window.removeEventListener("mouseover",this.asyncEndDragNativeItem,!0),this.enterLeaveCounter.reset())}},{key:"endDragNativeItem",value:function(){this.isDraggingNativeItem()&&(this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)}},{key:"isNodeInDocument",value:function(e){return!(!document.body.contains(e)&&!this.window)&&this.window.document.body.contains(e)}},{key:"endDragIfSourceWasRemovedFromDOM",value:function(){var e=this.currentDragSourceNode;this.isNodeInDocument(e)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"setCurrentDragSourceNode",value:function(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.currentDragSourceNodeOffset=(0,l.getNodeClientOffset)(e),this.currentDragSourceNodeOffsetChanged=!1,this.window.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}},{key:"clearCurrentDragSourceNode",value:function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0),!0)}},{key:"checkIfCurrentDragSourceRectChanged",value:function(){var e=this.currentDragSourceNode;return!!e&&(!!this.currentDragSourceNodeOffsetChanged||(this.currentDragSourceNodeOffsetChanged=!(0,i.default)((0,l.getNodeClientOffset)(e),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged))}},{key:"handleTopDragStartCapture",value:function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]}},{key:"handleDragStart",value:function(e,t){this.dragStartSourceIds.unshift(t)}},{key:"handleTopDragStart",value:function(e){var t=this,n=this.dragStartSourceIds;this.dragStartSourceIds=null;var r=(0,l.getEventClientOffset)(e);this.monitor.isDragging()&&this.actions.endDrag(),this.actions.beginDrag(n,{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});var o=e.dataTransfer,i=(0,c.matchNativeItemType)(o);if(this.monitor.isDragging()){if("function"==typeof o.setDragImage){var a=this.monitor.getSourceId(),s=this.sourceNodes[a],u=this.sourcePreviewNodes[a]||s,d=this.getCurrentSourcePreviewNodeOptions(),f={anchorX:d.anchorX,anchorY:d.anchorY},p={offsetX:d.offsetX,offsetY:d.offsetY},h=(0,l.getDragPreviewOffset)(s,u,r,f,p);o.setDragImage(u,h.x,h.y)}try{o.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target),this.getCurrentSourcePreviewNodeOptions().captureDraggingState?this.actions.publishDragSource():setTimeout((function(){return t.actions.publishDragSource()}))}else if(i)this.beginDragNativeItem(i);else{if(!(o.types||e.target.hasAttribute&&e.target.hasAttribute("draggable")))return;e.preventDefault()}}},{key:"handleTopDragEndCapture",value:function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"handleTopDragEnterCapture",value:function(e){if(this.dragEnterTargetIds=[],this.enterLeaveCounter.enter(e.target)&&!this.monitor.isDragging()){var t=e.dataTransfer,n=(0,c.matchNativeItemType)(t);n&&this.beginDragNativeItem(n)}}},{key:"handleDragEnter",value:function(e,t){this.dragEnterTargetIds.unshift(t)}},{key:"handleTopDragEnter",value:function(e){var t=this,n=this.dragEnterTargetIds;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,(0,s.isFirefox)()||this.actions.hover(n,{clientOffset:(0,l.getEventClientOffset)(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))&&(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()))}},{key:"handleTopDragOverCapture",value:function(){this.dragOverTargetIds=[]}},{key:"handleDragOver",value:function(e,t){this.dragOverTargetIds.unshift(t)}},{key:"handleTopDragOver",value:function(e){var t=this,n=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer.dropEffect="none");this.altKeyPressed=e.altKey,this.actions.hover(n,{clientOffset:(0,l.getEventClientOffset)(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))?(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(e.preventDefault(),e.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(e.preventDefault(),e.dataTransfer.dropEffect="move")}},{key:"handleTopDragLeaveCapture",value:function(e){this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&this.isDraggingNativeItem()&&this.endDragNativeItem()}},{key:"handleTopDropCapture",value:function(e){this.dropTargetIds=[],e.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(e.dataTransfer),this.enterLeaveCounter.reset()}},{key:"handleDrop",value:function(e,t){this.dropTargetIds.unshift(t)}},{key:"handleTopDrop",value:function(e){var t=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:(0,l.getEventClientOffset)(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()}},{key:"handleSelectStart",value:function(e){var t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))}},{key:"window",get:function(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}}]),e}();t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;if(e[n[i]]!==t[n[i]])return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=a(n(100)),i=a(n(63));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.entered=[]}return r(e,[{key:"enter",value:function(e){var t=this.entered.length;return this.entered=(0,o.default)(this.entered.filter((function(t){return document.documentElement.contains(t)&&(!t.contains||t.contains(e))})),[e]),0===t&&this.entered.length>0}},{key:"leave",value:function(e){var t=this.entered.length;return this.entered=(0,i.default)(this.entered.filter((function(e){return document.documentElement.contains(e)})),e),t>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeClientOffset=a,t.getEventClientOffset=function(e){return{x:e.clientX,y:e.clientY}},t.getDragPreviewOffset=function(e,t,n,r,s){var l,c,u="IMG"===(l=t).nodeName&&((0,o.isFirefox)()||!document.documentElement.contains(l)),d=a(u?e:t),f={x:n.x-d.x,y:n.y-d.y},p=e.offsetWidth,h=e.offsetHeight,v=r.anchorX,g=r.anchorY,m=function(e,t,n,r){var i=e?t.width:n,a=e?t.height:r;return(0,o.isSafari)()&&e&&(a/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:a}}(u,t,p,h),y=m.dragPreviewWidth,b=m.dragPreviewHeight,_=s.offsetX,w=s.offsetY,S=0===w||w;return{x:0===_||_?_:new i.default([0,.5,1],[f.x,f.x/p*y,f.x+y-p]).interpolate(v),y:S?w:(c=new i.default([0,.5,1],[f.y,f.y/h*b,f.y+b-h]).interpolate(g),(0,o.isSafari)()&&u&&(c+=(window.devicePixelRatio-1)*b),c)}};var r,o=n(238),i=(r=n(298))&&r.__esModule?r:{default:r};function a(e){var t=1===e.nodeType?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top;return{x:n.left,y:r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=t.length,o=[],i=0;i<r;i++)o.push(i);o.sort((function(e,n){return t[e]<t[n]?-1:1}));for(var a=[],s=[],l=[],c=void 0,u=void 0,d=0;d<r-1;d++)c=t[d+1]-t[d],u=n[d+1]-n[d],s.push(c),a.push(u),l.push(u/c);for(var f=[l[0]],p=0;p<s.length-1;p++){var h=l[p],v=l[p+1];if(h*v<=0)f.push(0);else{c=s[p];var g=s[p+1],m=c+g;f.push(3*m/((m+g)/h+(m+c)/v))}}f.push(l[l.length-1]);for(var y=[],b=[],_=void 0,w=0;w<f.length-1;w++){_=l[w];var S=f[w],C=1/s[w],O=S+f[w+1]-_-_;y.push((_-S-O)*C),b.push(O*C*C)}this.xs=t,this.ys=n,this.c1s=f,this.c2s=y,this.c3s=b}return r(e,[{key:"interpolate",value:function(e){var t=this.xs,n=this.ys,r=this.c1s,o=this.c2s,i=this.c3s,a=t.length-1;if(e===t[a])return n[a];for(var s=0,l=i.length-1,c=void 0;s<=l;){var u=t[c=Math.floor(.5*(s+l))];if(u<e)s=c+1;else{if(!(u>e))return n[c];l=c-1}}var d=e-t[a=Math.max(0,l)],f=d*d;return n[a]+r[a]*d+o[a]*f+i[a]*d*f}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!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}}();t.createNativeDragSource=function(e){var t=l[e],n=t.exposeProperty,r=t.matchesTypes,i=t.getData;return function(){function e(){var t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.item=(t={},(r={})[n]=r[n]||{},r[n].get=function(){return console.warn("Browser doesn't allow reading \""+n+'" until the drop event.'),null},function(e,t){for(var n in t){var r=t[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n,r)}}(t,r),t)}return o(e,[{key:"mutateItemByReadingDataTransfer",value:function(e){delete this.item[n],this.item[n]=i(e,r)}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}()},t.matchNativeItemType=function(e){var t=Array.prototype.slice.call(e.types||[]);return Object.keys(l).filter((function(e){return l[e].matchesTypes.some((function(e){return t.indexOf(e)>-1}))}))[0]||null};var i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(216));function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t,n){var r=t.reduce((function(t,n){return t||e.getData(n)}),null);return null!=r?r:n}var l=(a(r={},i.FILE,{exposeProperty:"files",matchesTypes:["Files"],getData:function(e){return Array.prototype.slice.call(e.files)}}),a(r,i.URL,{exposeProperty:"urls",matchesTypes:["Url","text/uri-list"],getData:function(e,t){return s(e,t,"").split("\n")}}),a(r,i.TEXT,{exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(e,t){return s(e,t,"")}}),r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r||((r=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r};var r=void 0},function(e,t,n){e.exports={default:n(302),__esModule:!0}},function(e,t,n){n(303),e.exports=n(43).Object.assign},function(e,t,n){var r=n(65);r(r.S+r.F,"Object",{assign:n(305)})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(44),o=n(104),i=n(223),a=n(107),s=n(224),l=n(243),c=Object.assign;e.exports=!c||n(94)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){for(var n=s(e),c=arguments.length,u=1,d=i.f,f=a.f;c>u;)for(var p,h=l(arguments[u++]),v=d?o(h).concat(d(h)):o(h),g=v.length,m=0;g>m;)p=v[m++],r&&!f.call(h,p)||(n[p]=h[p]);return n}:c},function(e,t,n){var r=n(68),o=n(307),i=n(308);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(219),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(219),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){"use strict";var r=n(245),o={};function i(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}e.exports=function(e,t,n){var a=[],s={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},l={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},c={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)d(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=r({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=r({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=p(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=r({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){if(i(!(n in c),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e)return i("DEFINE_MANY_MERGED"===(l.hasOwnProperty(n)?l[n]:null),"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=p(e[n],r));e[n]=r}}}(e,t)},autobind:function(){}};function u(e,t){var n=s.hasOwnProperty(t)?s[t]:null;y.hasOwnProperty(t)&&i("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&i("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function d(e,n){if(n){i("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),i(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,o=r.__reactAutoBindPairs;for(var a in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(a)&&"mixins"!==a){var l=n[a],d=r.hasOwnProperty(a);if(u(d,a),c.hasOwnProperty(a))c[a](e,l);else{var f=s.hasOwnProperty(a);if("function"!=typeof l||f||d||!1===n.autobind)if(d){var v=s[a];i(f&&("DEFINE_MANY_MERGED"===v||"DEFINE_MANY"===v),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",v,a),"DEFINE_MANY_MERGED"===v?r[a]=p(r[a],l):"DEFINE_MANY"===v&&(r[a]=h(r[a],l))}else r[a]=l;else o.push(a,l),r[a]=l}}}}function f(e,t){for(var n in i(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(i(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function p(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return f(o,n),f(o,r),o}}function h(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function v(e,t){return t.bind(e)}var g={componentDidMount:function(){this.__isMounted=!0}},m={componentWillUnmount:function(){this.__isMounted=!1}},y={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},b=function(){};return r(b.prototype,e.prototype,y),function(e){var t=function(e,r,a){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=v(e,o)}}(this),this.props=e,this.context=r,this.refs=o,this.updater=a||n,this.state=null;var s=this.getInitialState?this.getInitialState():null;i("object"==typeof s&&!Array.isArray(s),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=s};for(var r in t.prototype=new b,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],a.forEach(d.bind(null,t)),d(t,g),d(t,e),d(t,m),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),i(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),s)t.prototype[r]||(t.prototype[r]=null);return t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!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,n(246));function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"getChildContext",value:function(){return{miniStore:this.props.store}}},{key:"render",value:function(){return i.Children.only(this.props.children)}}]),t}(i.Component);c.propTypes={store:a.storeShape.isRequired},c.childContextTypes={miniStore:a.storeShape.isRequired},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},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}}();t.default=function(e){var t=!!e,n=e||f;return function(d){var f=function(i){function l(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e,t));return r.handleChange=function(){if(r.unsubscribe){var e=n(r.store.getState(),r.props);(0,s.default)(r.state.subscribed,e)||r.setState({subscribed:e})}},r.store=t.miniStore,r.state={subscribed:n(r.store.getState(),e),store:r.store,props:e},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,i),o(l,null,[{key:"getDerivedStateFromProps",value:function(t,r){return e&&2===e.length&&t!==r.props?{subscribed:n(r.store.getState(),t),props:t}:{props:t}}}]),o(l,[{key:"componentDidMount",value:function(){this.trySubscribe()}},{key:"componentWillUnmount",value:function(){this.tryUnsubscribe()}},{key:"trySubscribe",value:function(){t&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())}},{key:"tryUnsubscribe",value:function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)}},{key:"getWrappedInstance",value:function(){return this.wrappedInstance}},{key:"render",value:function(){var e=this,t=r({},this.props,this.state.subscribed,{store:this.store});return d.prototype.render&&(t=r({},t,{ref:function(t){return e.wrappedInstance=t}})),a.default.createElement(d,t)}}]),l}(i.Component);return f.displayName="Connect("+function(e){return e.displayName||e.name||"Component"}(d)+")",f.contextTypes={miniStore:u.storeShape.isRequired},(0,c.polyfill)(f),(0,l.default)(f,d)}};var i=n(0),a=d(i),s=d(n(312)),l=d(n(30)),c=n(23),u=n(246);function d(e){return e&&e.__esModule?e:{default:e}}var f=function(){return{}}},function(e,t){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var c=i[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(o=n?n.call(r,u,d,c):void 0)||void 0===o&&u!==d)return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e){var t=e,n=[];return{setState:function(e){t=r({},t,e);for(var o=0;o<n.length;o++)n[o]()},getState:function(){return t},subscribe:function(e){return n.push(e),function(){var t=n.indexOf(e);n.splice(t,1)}}}}},function(e,t,n){e.exports={default:n(315),__esModule:!0}},function(e,t,n){n(316),n(322),e.exports=n(228).f("iterator")},function(e,t,n){"use strict";var r=n(317)(!0);n(247)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(219),o=n(218);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(226),o=n(103),i=n(227),a={};n(66)(a,n(69)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(60),o=n(93),i=n(104);e.exports=n(44)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(42).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(61),o=n(224),i=n(220)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){n(323);for(var r=n(42),o=n(66),i=n(225),a=n(69)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],d=u&&u.prototype;d&&!d[a]&&o(d,a,c),i[c]=i.Array}},function(e,t,n){"use strict";var r=n(324),o=n(325),i=n(225),a=n(68);e.exports=n(247)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(327),__esModule:!0}},function(e,t,n){n(328),n(333),n(334),n(335),e.exports=n(43).Symbol},function(e,t,n){"use strict";var r=n(42),o=n(61),i=n(44),a=n(65),s=n(248),l=n(329).KEY,c=n(94),u=n(221),d=n(227),f=n(106),p=n(69),h=n(228),v=n(229),g=n(330),m=n(331),y=n(93),b=n(67),_=n(224),w=n(68),S=n(217),C=n(103),O=n(226),x=n(332),T=n(250),k=n(223),D=n(60),E=n(104),I=T.f,P=D.f,M=x.f,R=r.Symbol,N=r.JSON,j=N&&N.stringify,A=p("_hidden"),L=p("toPrimitive"),z={}.propertyIsEnumerable,F=u("symbol-registry"),H=u("symbols"),W=u("op-symbols"),G=Object.prototype,U="function"==typeof R&&!!k.f,B=r.QObject,V=!B||!B.prototype||!B.prototype.findChild,K=i&&c((function(){return 7!=O(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=I(G,t);r&&delete G[t],P(e,t,n),r&&e!==G&&P(G,t,r)}:P,q=function(e){var t=H[e]=O(R.prototype);return t._k=e,t},Y=U&&"symbol"==typeof R.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof R},X=function(e,t,n){return e===G&&X(W,t,n),y(e),t=S(t,!0),y(n),o(H,t)?(n.enumerable?(o(e,A)&&e[A][t]&&(e[A][t]=!1),n=O(n,{enumerable:C(0,!1)})):(o(e,A)||P(e,A,C(1,{})),e[A][t]=!0),K(e,t,n)):P(e,t,n)},Z=function(e,t){y(e);for(var n,r=g(t=w(t)),o=0,i=r.length;i>o;)X(e,n=r[o++],t[n]);return e},$=function(e){var t=z.call(this,e=S(e,!0));return!(this===G&&o(H,e)&&!o(W,e))&&(!(t||!o(this,e)||!o(H,e)||o(this,A)&&this[A][e])||t)},J=function(e,t){if(e=w(e),t=S(t,!0),e!==G||!o(H,t)||o(W,t)){var n=I(e,t);return!n||!o(H,t)||o(e,A)&&e[A][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=M(w(e)),r=[],i=0;n.length>i;)o(H,t=n[i++])||t==A||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===G,r=M(n?W:w(e)),i=[],a=0;r.length>a;)!o(H,t=r[a++])||n&&!o(G,t)||i.push(H[t]);return i};U||(s((R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===G&&t.call(W,n),o(this,A)&&o(this[A],e)&&(this[A][e]=!1),K(this,e,C(1,n))};return i&&V&&K(G,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),T.f=J,D.f=X,n(249).f=x.f=Q,n(107).f=$,k.f=ee,i&&!n(105)&&s(G,"propertyIsEnumerable",$,!0),h.f=function(e){return q(p(e))}),a(a.G+a.W+a.F*!U,{Symbol:R});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=E(p.store),oe=0;re.length>oe;)v(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=R(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?O(e):Z(O(e),t)},defineProperty:X,defineProperties:Z,getOwnPropertyDescriptor:J,getOwnPropertyNames:Q,getOwnPropertySymbols:ee});var ie=c((function(){k.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return k.f(_(e))}}),N&&a(a.S+a.F*(!U||c((function(){var e=R();return"[null]"!=j([e])||"{}"!=j({a:e})||"{}"!=j(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!Y(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,j.apply(N,r)}}),R.prototype[L]||n(66)(R.prototype,L,R.prototype.valueOf),d(R,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(106)("meta"),o=n(67),i=n(61),a=n(60).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(94)((function(){return l(Object.preventExtensions({}))})),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&d.NEED&&l(e)&&!i(e,r)&&u(e),e}}},function(e,t,n){var r=n(104),o=n(223),i=n(107);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(244);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(68),o=n(249).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t){},function(e,t,n){n(229)("asyncIterator")},function(e,t,n){n(229)("observable")},function(e,t,n){e.exports={default:n(337),__esModule:!0}},function(e,t,n){n(338),e.exports=n(43).Object.setPrototypeOf},function(e,t,n){var r=n(65);r(r.S,"Object",{setPrototypeOf:n(339).set})},function(e,t,n){var r=n(67),o=n(93),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(239)(Function.call,n(250).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){e.exports={default:n(341),__esModule:!0}},function(e,t,n){n(342);var r=n(43).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(65);r(r.S,"Object",{create:n(226)})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(344)),i=r(n(245)),a=["altKey","bubbles","cancelable","ctrlKey","currentTarget","eventPhase","metaKey","shiftKey","target","timeStamp","view","type"];function s(e){return null==e}var l=[{reg:/^key/,props:["char","charCode","key","keyCode","which"],fix:function(e,t){s(e.which)&&(e.which=s(t.charCode)?t.keyCode:t.charCode),void 0===e.metaKey&&(e.metaKey=e.ctrlKey)}},{reg:/^touch/,props:["touches","changedTouches","targetTouches"]},{reg:/^hashchange$/,props:["newURL","oldURL"]},{reg:/^gesturechange$/i,props:["rotation","scale"]},{reg:/^(mousewheel|DOMMouseScroll)$/,props:[],fix:function(e,t){var n=void 0,r=void 0,o=void 0,i=t.wheelDelta,a=t.axis,s=t.wheelDeltaY,l=t.wheelDeltaX,c=t.detail;i&&(o=i/120),c&&(o=0-(c%3==0?c/3:c)),void 0!==a&&(a===e.HORIZONTAL_AXIS?(r=0,n=0-o):a===e.VERTICAL_AXIS&&(n=0,r=o)),void 0!==s&&(r=s/120),void 0!==l&&(n=-1*l/120),n||r||(r=o),void 0!==n&&(e.deltaX=n),void 0!==r&&(e.deltaY=r),void 0!==o&&(e.delta=o)}},{reg:/^mouse|contextmenu|click|mspointer|(^DOMMouseScroll$)/i,props:["buttons","clientX","clientY","button","offsetX","relatedTarget","which","fromElement","toElement","offsetY","pageX","pageY","screenX","screenY"],fix:function(e,t){var n=void 0,r=void 0,o=void 0,i=e.target,a=t.button;return i&&s(e.pageX)&&!s(t.clientX)&&(r=(n=i.ownerDocument||document).documentElement,o=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),!e.relatedTarget&&e.fromElement&&(e.relatedTarget=e.fromElement===i?e.toElement:e.fromElement),e}}];function c(){return!0}function u(){return!1}function d(e){var t=e.type,n="function"==typeof e.stopPropagation||"boolean"==typeof e.cancelBubble;o.default.call(this),this.nativeEvent=e;var r=u;"defaultPrevented"in e?r=e.defaultPrevented?c:u:"getPreventDefault"in e?r=e.getPreventDefault()?c:u:"returnValue"in e&&(r=!1===e.returnValue?c:u),this.isDefaultPrevented=r;var i=[],s=void 0,d=void 0,f=a.concat();for(l.forEach((function(e){t.match(e.reg)&&(f=f.concat(e.props),e.fix&&i.push(e.fix))})),s=f.length;s;)this[d=f[--s]]=e[d];for(!this.target&&n&&(this.target=e.srcElement||document),this.target&&3===this.target.nodeType&&(this.target=this.target.parentNode),s=i.length;s;)(0,i[--s])(this,e);this.timeStamp=e.timeStamp||Date.now()}var f=o.default.prototype;(0,i.default)(d.prototype,f,{constructor:d,preventDefault:function(){var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=!1,f.preventDefault.call(this)},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,f.stopPropagation.call(this)}}),t.default=d,e.exports=t.default},function(e,t,n){"use strict";function r(){return!1}function o(){return!0}function i(){this.timeStamp=Date.now(),this.target=void 0,this.currentTarget=void 0}Object.defineProperty(t,"__esModule",{value:!0}),i.prototype={isEventObject:1,constructor:i,isDefaultPrevented:r,isPropagationStopped:r,isImmediatePropagationStopped:r,preventDefault:function(){this.isDefaultPrevented=o},stopPropagation:function(){this.isPropagationStopped=o},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=o,this.stopPropagation()},halt:function(e){e?this.stopImmediatePropagation():this.stopPropagation(),this.preventDefault()}},t.default=i,e.exports=t.default},function(e,t,n){n(346);var r=n(43).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(65);r(r.S+r.F*!n(44),"Object",{defineProperty:n(60).f})},function(e,t,n){"use strict";var r=n(348);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,a=n.alignWithTop,s=n.alignWithLeft,l=n.offsetTop||0,c=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var f=r.isWindow(t),p=r.offset(e),h=r.outerHeight(e),v=r.outerWidth(e),g=void 0,m=void 0,y=void 0,b=void 0,_=void 0,w=void 0,S=void 0,C=void 0,O=void 0,x=void 0;f?(S=t,x=r.height(S),O=r.width(S),C={left:r.scrollLeft(S),top:r.scrollTop(S)},_={left:p.left-C.left-c,top:p.top-C.top-l},w={left:p.left+v-(C.left+O)+d,top:p.top+h-(C.top+x)+u},b=C):(g=r.offset(t),m=t.clientHeight,y=t.clientWidth,b={left:t.scrollLeft,top:t.scrollTop},_={left:p.left-(g.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-c,top:p.top-(g.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-l},w={left:p.left+v-(g.left+y+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:p.top+h-(g.top+m+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),_.top<0||w.top>0?!0===a?r.scrollTop(t,b.top+_.top):!1===a?r.scrollTop(t,b.top+w.top):_.top<0?r.scrollTop(t,b.top+_.top):r.scrollTop(t,b.top+w.top):i||((a=void 0===a||!!a)?r.scrollTop(t,b.top+_.top):r.scrollTop(t,b.top+w.top)),o&&(_.left<0||w.left>0?!0===s?r.scrollLeft(t,b.left+_.left):!1===s?r.scrollLeft(t,b.left+w.left):_.left<0?r.scrollLeft(t,b.left+_.left):r.scrollLeft(t,b.left+w.left):i||((s=void 0===s||!!s)?r.scrollLeft(t,b.left+_.left):r.scrollLeft(t,b.left+w.left)))}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function i(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function a(e){return i(e)}function s(e){return i(e,!0)}function l(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=a(r),t.top+=s(r),t}var c=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,d="left",f=void 0;function p(e,t){for(var n=0;n<e.length;n++)t(e[n])}function h(e){return"border-box"===f(e,"boxSizing")}"undefined"!=typeof window&&(f=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(c.test(n)&&!u.test(t)){var r=e.style,o=r[d],i=e.runtimeStyle[d];e.runtimeStyle[d]=e.currentStyle[d],r[d]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[d]=o,e.runtimeStyle[d]=i}return""===n?"auto":n});var v=["margin","border","padding"];function g(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}function m(e,t,n){var r=0,o=void 0,i=void 0,a=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(a=0;a<n.length;a++){var s;s="border"===o?o+n[a]+"Width":o+n[a],r+=parseFloat(f(e,s))||0}return r}function y(e){return null!=e&&e==e.window}var b={};function _(e,t,n){if(y(e))return"width"===t?b.viewportWidth(e):b.viewportHeight(e);if(9===e.nodeType)return"width"===t?b.docWidth(e):b.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=(f(e),h(e)),a=0;(null==o||o<=0)&&(o=void 0,(null==(a=f(e,t))||Number(a)<0)&&(a=e.style[t]||0),a=parseFloat(a)||0),void 0===n&&(n=i?1:-1);var s=void 0!==o||i,l=o||a;if(-1===n)return s?l-m(e,["border","padding"],r):a;if(s){var c=2===n?-m(e,["border"],r):m(e,["margin"],r);return l+(1===n?0:c)}return a+m(e,v.slice(n),r)}p(["Width","Height"],(function(e){b["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],b["viewport"+e](n))},b["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var w={position:"absolute",visibility:"hidden",display:"block"};function S(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=_.apply(void 0,n):g(e,w,(function(){t=_.apply(void 0,n)})),t}function C(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":o(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):f(e,t);for(var i in t)t.hasOwnProperty(i)&&C(e,i,t[i])}p(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);b["outer"+t]=function(t,n){return t&&S(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];b[e]=function(t,r){return void 0===r?t&&S(t,e,-1):t?(f(t),h(t)&&(r+=m(t,["padding","border"],n)),C(t,e,r)):void 0}})),e.exports=r({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return l(e);!function(e,t){"static"===C(e,"position")&&(e.style.position="relative");var n=l(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(C(e,i))||0,r[i]=o+t[i]-n[i]);C(e,r)}(e,t)},isWindow:y,each:p,css:C,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(y(e)){if(void 0===t)return a(e);window.scrollTo(t,s(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(y(e)){if(void 0===t)return s(e);window.scrollTo(a(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},b)},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(11),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),d=n(7),f=n.n(d),p=n(8),h=n.n(p),v=n(4),g=n.n(v),m=n(2),y=n.n(m),b=n(10),_=n(45),w=n(96),S=n.n(w),C=n(253),O=n.n(C),x=n(16),T=n.n(x),k=n(9);function D(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 E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var __=E({},window.wp.i18n).__,I=E({},window.wp.data),P=(I.dispatch,I.select,function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){return o.a.createElement("div",{className:"FormAction___yp587"},o.a.createElement("div",{className:"SaveVisualButton___5cEkm"},o.a.createElement("button",{className:"button-primary",onClick:k.saveVisualForm},__("Save Visual","contact-form-7-skins"))," ",o.a.createElement("span",{className:"spinner cf7sSpinner ".concat("spinner___0AIlq")})))}}]),i}(r.Component)),M=n(14),R=n.n(M),N={Toolbar:"Toolbar___bIAvc",options:"options___deJZ5"};function j(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 A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var L=A({},window.wp.i18n),z=(L.sprintf,L.__),F=A({},window.wp.data),H=F.dispatch,W=F.select,G=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){A({},W("cf7svisual").getStates()).showTreeData;var e,t,n,r=H("cf7svisual"),i=r.clickVisualObject,a=r.clickFormOptions,s=A(A({},this.props),{},{styles:N});return o.a.createElement("div",{className:N.Toolbar},!(!(n=Object(k.getVisualVar)("options"))||!n.showCopyPaste)&&o.a.createElement("span",{className:N.options,onClick:i,title:z("Visual Data","contact-form-7-skins"),"data-balloon":z("Copy & paste visual form data","contact-form-7-skins"),"data-balloon-pos":"up"},o.a.createElement("span",{className:"dashicons dashicons-media-code"}),z("Visual Data","contact-form-7-skins")),(t=!!(e=Object(k.getVisualVar)("addons"))&&e.get("itemToolbar"),e&&t?t.map((function(e,t){return o.a.createElement(e,R()({key:t},s))})):""),function(){var e=!1;if(window.cf7svisual.addons){var t=window.cf7svisual.addons.get("edit");if(t)for(var n=0;n<t.length;++n)t[n].types&&t[n].types.indexOf("form-options")>-1&&(e=!0)}if(e)return o.a.createElement("span",{className:N.options,onClick:a,title:z("Form Options","contact-form-7-skins"),"data-balloon":z("Configure this forms options","contact-form-7-skins"),"data-balloon-pos":"up"},o.a.createElement("span",{className:"dashicons dashicons-admin-generic"}),z("Form Options","contact-form-7-skins"))}())}}]),i}(r.Component),U={Control:"Control___6zWdj"};function B(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 V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var K=V({},window.wp.i18n),q=(K.sprintf,K.__,V({},window.wp.data)),Y=(q.dispatch,q.select,function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){return V(V({},this.props),{},{styles:U}),o.a.createElement("div",{className:U.Control},o.a.createElement(G,null))}}]),i}(r.Component)),X=n(18),Z=n.n(X),$=n(22);function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Q=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){var e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props),t=e.className,n=e.treeData,r=e.node,i=e.shortText,a=e.onChange,s=Z()(k.cf7sItems).filter((function(e){return"cf7Tag"===e.cf7sSelectGroup})),l=[];Object($.walk)({treeData:n,getNodeKey:function(e){return e.treeIndex},callback:function(e){l.push(e.node.cf7sType)}});var c=s.map((function(e,t){var n=null;return["submit","recaptcha"].indexOf(e.cf7sType)>-1&&l.indexOf(e.cf7sType)>-1&&(n=!0),o.a.createElement("option",{key:t,disabled:n,value:e.cf7sType},i?e.cf7sType:e.cf7sSelectLabel)}));return o.a.createElement("select",{className:t,value:r.cf7sType,onChange:function(e){return a(e)}},c)}}]),i}(r.Component),ee={Edit:"Edit___DsDI3",attribute:"attribute___ouspy",row:"row___I0yGU",label:"label___mfZTQ",value:"value___Z--gA",control:"control___+YNEW",default:"default___cYs1M",range:"range___wsPe8",option:"option___+t59z",description:"description___CvqdB",EditTypeSelect:"EditTypeSelect___rae3d",visualData:"visualData___oRYfW"};function te(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 ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var re=ne({},window.wp.i18n).__,oe=ne({},window.wp.data),ie=oe.dispatch,ae=oe.select,se=function(e){f()(a,e);var t,n,i=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function a(){return l()(this,a),i.apply(this,arguments)}return u()(a,[{key:"render",value:function(){var e=ae("cf7svisual").getStates(),t=e.treeData,n=e.rowInfo,i=e.showTreeData,a=ie("cf7svisual"),s=a.closeEdit,l=a.changeNodeType,c=a.editAddOption,u=a.editOnChange,d=a.editRemoveOption,f=a.validateInput,p=a.validateVisualData,h=a.editOnKeyPress,v=ne({},n).node,g=void 0===v?{}:v,m=g.cf7sSelectLabel,y=void 0===m?"":m,_=g.cf7sSelectGroup,w=void 0===_?"":_,S=g.cf7sType,C=void 0===S?"":S,O=g.cf7Required,x=void 0!==O&&O,T=g.cf7Name,D=void 0===T?"":T,E=g.cf7TagType,I=void 0===E?"":E,P=g.cf7sLabel,M=void 0===P?"":P,N=g.cf7Values,j=void 0===N?"":N,A=g.cf7Min,L=void 0===A?"":A,z=g.cf7Max,F=void 0===z?"":z,H=g.cf7Limit,W=void 0===H?"":H,G=g.cf7FileTypes,U=void 0===G?"":G,B=g.cf7sContent,V=void 0===B?"":B,K=g.cf7Multiple,q=void 0===K?"":K,Y=g.cf7DefaultOn,X=void 0===Y?"":Y,$=g.cf7Exclusive,J=void 0===$?"":$,te=g.cf7sOther,oe=void 0!==te&&te,se=g.cf7Invert,le=void 0===se?"":se,ce=g.cf7IncludeBlank,ue=void 0===ce?"":ce,de=g.cf7Placeholder,fe=void 0===de?"":de,pe=g.cf7UseLabelElement,he=void 0===pe?"":pe,ve=g.cf7LabelFirst,ge=void 0===ve?"":ve,me=g.cf7AkismetAuthor,ye=void 0===me?"":me,be=g.cf7AkismetAuthorUrl,_e=void 0===be?"":be,we=g.cf7AkismetAuthorEmail,Se=void 0===we?"":we,Ce=g.cf7Content,Oe=void 0===Ce?"":Ce,xe=g.cf7Theme,Te=void 0===xe?"":xe,ke=g.cf7Size,De=void 0===ke?"":ke,Ee=g.cf7IdAttribute,Ie=void 0===Ee?"":Ee,Pe=g.cf7ClassAttribute,Me=void 0===Pe?"":Pe,Re=g.cf7Optional,Ne=void 0===Re?"":Re,je=g.cf7Options,Ae=void 0===je?null:je,Le=Object(k.getVisualVar)("versions"),ze=Le&&Le.cf7?Le.cf7:"0",Fe=Object(k.getVisualVar)("integration"),He=!(!Fe||!Fe.reCAPTCHA)&&Fe.reCAPTCHA,We=[];if(We.push("cf7Tag"===w&&["radio","acceptance","quiz","submit","recaptcha"].indexOf(C)<0&&o.a.createElement("div",{className:ee.attribute,key:"sectionTypeRequired"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"required"},re("Field Type","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},"number"===C&&o.a.createElement("select",{type:"text",id:"cf7TagType",name:"cf7TagType",value:I,onChange:u},o.a.createElement("option",{value:"number"},re("Spinbox","contact-form-7-skins")),o.a.createElement("option",{value:"range"},re("Slider","contact-form-7-skins"))),o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Required",id:"cf7Required",value:x,checked:x,onChange:u})," ",re("Required","contact-form-7-skins")))),"cf7Tag"===w&&["submit","recaptcha"].indexOf(C)<0&&o.a.createElement("div",{className:ee.attribute,key:"sectionName"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7Name"},re("Name","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7Name",name:"cf7Name",value:D,onBlur:f,onChange:u}))),["acceptance"].indexOf(C)>-1&&o.a.createElement("div",{className:ee.attribute,key:"sectionAcceptanceCondition"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7AcceptanceContent"},re("Condition","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7AcceptanceContent",name:"cf7Content",value:Oe,onBlur:f,onChange:u}))),("fieldset"===C||"cf7Tag"===w)&&o.a.createElement("div",{className:ee.attribute,key:"sectionLabelLegend"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7sLabel"},re("fieldset"===C?"Legend":"Label","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7sLabel",name:"cf7sLabel",value:M,onBlur:f,onChange:u}))),["text","email","url","tel","number","date","textarea"].indexOf(C)>-1&&o.a.createElement("div",{className:ee.attribute,key:"sectionValuesPlaceholder"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7Values"},re("Default Value","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7Values",name:"cf7Values",value:j,onBlur:f,onChange:u}),o.a.createElement("br",null),o.a.createElement("br",null),o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Placeholder",value:fe,checked:fe,onChange:u})," ",re("Use this text as the placeholder of the field","contact-form-7-skins")))),["text","email","url"].indexOf(C)>-1&&o.a.createElement("div",{className:ee.attribute,key:"sectionAkismet"},o.a.createElement("div",{className:ee.label},"Akismet"),o.a.createElement("div",{className:ee.value},"text"===C&&o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",id:"cf7AkismetAuthor",name:"cf7AkismetAuthor",checked:ye,value:ye,onChange:u})," ",re("This field requires author's name","contact-form-7-skins")),"email"===C&&o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",id:"cf7AkismetAuthorEmail",name:"cf7AkismetAuthorEmail",checked:Se,value:Se,onChange:u})," ",re("This field requires author's email address","contact-form-7-skins")),"url"===C&&o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",id:"cf7AkismetAuthorUrl",name:"cf7AkismetAuthorUrl",checked:_e,value:_e,onChange:u})," ",re("This field requires author's URL","contact-form-7-skins")))),("number"===C||"date"===C)&&o.a.createElement("div",{className:ee.attribute,key:"sectionRange"},o.a.createElement("div",{className:ee.label},re("Range","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},o.a.createElement("div",{className:ee.row},o.a.createElement("label",{className:ee.range},re("Min","contact-form-7-skins"),o.a.createElement("input",{type:C,name:"cf7Min",value:L,onChange:u})),o.a.createElement("label",{className:ee.range},re("Max","contact-form-7-skins"),o.a.createElement("input",{type:C,name:"cf7Max",value:F,onChange:u}))))),"paragraph"===C&&o.a.createElement("div",{className:ee.attribute,key:"sectionParagraph"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"paragraph"},re("Content","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("textarea",{type:"text",id:"cf7sContent",name:"cf7sContent",value:V,onBlur:f,onChange:u,rows:"4"}),o.a.createElement("p",{className:ee.description},o.a.createElement("a",{href:"https://developer.mozilla.org/en-US/docs/Web/HTML/Content_categories#Phrasing_content",target:"_blank",rel:"noopener noreferrer"},re("See paragraph permitted phrasing content specification","contact-form-7-skins"))))),"acceptance"===C&&o.a.createElement("div",{className:ee.attribute,key:"sectionAcceptanceOptions"},o.a.createElement("div",{className:ee.label},re("Options","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},!Object(k.versionCompare)(ze,"5.0.3")&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7DefaultOn",value:X,checked:X,onChange:u})," ",re("Make this checkbox checked by default","contact-form-7-skins"))),!Object(k.versionCompare)(ze,"5.0.3")&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Invert",value:le,checked:le,onChange:u})," ",re("Make this work inversely","contact-form-7-skins"))),Object(k.versionCompare)(ze,"5.0.3")&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Optional",value:Ne,checked:Ne,onChange:u})," ",re("Make this checkbox optional","contact-form-7-skins"))))),Ae&&o.a.createElement("div",{className:ee.attribute,key:"cf7Options"},o.a.createElement("div",{className:ee.label},re("Options","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},o.a.createElement("div",{className:ee.row},o.a.createElement("div",{className:ee.option},("select"===C||"checkbox"===C||"radio"===C)&&"Option","quiz"===C&&"Question"),o.a.createElement("div",{className:ee.default},o.a.createElement("span",null,("select"===C||"checkbox"===C)&&"Checked","radio"===C&&re("Default","contact-form-7-skins"),"quiz"===C&&re("Answer","contact-form-7-skins"))),o.a.createElement("div",{className:ee.control},o.a.createElement("span",{className:"dashicons dashicons-plus",onClick:c}))),("radio"===C||"select"===C||"checkbox"===C||"quiz"===C)&&Ae&&Ae.map((function(e,t){return o.a.createElement("div",{className:ee.row,key:"option_".concat(t+1)},o.a.createElement("div",{className:ee.option},"quiz"!==C&&o.a.createElement("input",{type:"text",name:"value",value:e.value,onChange:function(e){u(e,"cf7Options",t)}}),"quiz"===C&&o.a.createElement("input",{type:"text",name:"question",value:e.question,onChange:function(e){u(e,"cf7Options",t)}})),o.a.createElement("div",{className:ee.default},"quiz"===C&&o.a.createElement("input",{name:"answer",type:"text",value:e.answer,onChange:function(e){u(e,"cf7Options",t)}}),"radio"===C&&o.a.createElement("input",{type:"radio",name:"isChecked",value:e.isChecked,checked:e.isChecked,onChange:function(e){u(e,"cf7Options",t)}}),("select"===C||"checkbox"===C)&&o.a.createElement("input",{type:"checkbox",name:"isChecked",value:e.isChecked,checked:e.isChecked,onChange:function(e){return function(e,t){if(J){var r=Ae.map((function(e,n){return e.isChecked=t===n,e}));n.node.cf7Options=r,u(null,null,null,n)}else u(e,"cf7Options",t)}(e,t)}})),o.a.createElement("div",{className:ee.control},o.a.createElement("span",{className:"dashicons dashicons-no",onClick:function(e){d(e,t)}})))})),o.a.createElement("br",null),("checkbox"===C||"radio"===C||"select"===C)&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7sOther",value:oe,checked:oe,onChange:function(e){return t=e.target.checked,r=Ae,t?r.push({value:re("Other","contact-form-7-skins"),isChecked:!1,other:!0}):r=Object(b.remove)(r,(function(e){return!e.other})),n.node.cf7sOther=t,n.node.cf7Options=r,void u(null,null,null,n);var t,r}})," ",re("Add Other as last option","contact-form-7-skins"))),"select"===C&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Multiple",value:q,checked:q,onChange:u})," ",re("Allow multiple selections","contact-form-7-skins"))),"select"===C&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7IncludeBlank",value:ue,checked:ue,onChange:u})," ",re("Insert a blank item as the first option","contact-form-7-skins"))),("checkbox"===C||"radio"===C)&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7LabelFirst",value:ge,checked:ge,onChange:u})," ",re("Put a label first, a checkbox last","contact-form-7-skins"))),("checkbox"===C||"radio"===C)&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7UseLabelElement",value:he,checked:he,onChange:u})," ",re("Wrap each item with label element","contact-form-7-skins"))),"checkbox"===C&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Exclusive",value:J,checked:J,onChange:function(e){return function(e){if(!1===J){var t=!1,r=Ae.map((function(e){return!0===e.isChecked&&(t?e.isChecked=!1:t=!0),e}));n.node.cf7Options=r,n.node.cf7Exclusive=!0,u(null,null,null,n)}else u(e)}(e)}})," ",re("Make checkboxes exclusive","contact-form-7-skins"))))),"file"===C&&o.a.createElement("div",{className:ee.attribute,key:"cf7Limit"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7Limit"},re("File size limit (bytes)","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7Limit",name:"cf7Limit",value:W,onBlur:f,onChange:u}))),"file"===C&&o.a.createElement("div",{className:ee.attribute,key:"cf7FileTypes"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7FileTypes"},re("Acceptable file types","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7FileTypes",name:"cf7FileTypes",value:U,onBlur:f,onChange:u}))),!!He&&"recaptcha"===C&&o.a.createElement("div",{key:"cf7reCAPTCHA"},o.a.createElement("div",{className:ee.attribute},o.a.createElement("div",{className:ee.label},re("Size","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},o.a.createElement("label",null,o.a.createElement("input",{type:"radio",name:"cf7Size",value:"normal",checked:"normal"===De,onBlur:f,onChange:u})," ",re("Normal","contact-form-7-skins")),o.a.createElement("br",null),o.a.createElement("label",null,o.a.createElement("input",{type:"radio",name:"cf7Size",value:"compact",checked:"compact"===De,onBlur:f,onChange:u})," ",re("Compact","contact-form-7-skins")))),o.a.createElement("div",{className:ee.attribute},o.a.createElement("div",{className:ee.label},re("Theme","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},o.a.createElement("label",null,o.a.createElement("input",{type:"radio",name:"cf7Theme",value:"light",checked:"light"===Te,onBlur:f,onChange:u})," ",re("Light","contact-form-7-skins")),o.a.createElement("br",null),o.a.createElement("label",null,o.a.createElement("input",{type:"radio",name:"cf7Theme",value:"dark",checked:"dark"===Te,onBlur:f,onChange:u})," ",re("Dark","contact-form-7-skins"))))),"cf7Tag"===w&&o.a.createElement("div",{className:ee.attribute,key:"cf7IdAttribute"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7IdAttribute"},re("Id Attribute","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7IdAttribute",name:"cf7IdAttribute",value:Ie,onBlur:f,onChange:u}))),"cf7Tag"===w&&o.a.createElement("div",{className:ee.attribute,key:"cf7ClassAttribute"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7ClassAttribute"},re("Class Attribute","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7ClassAttribute",name:"cf7ClassAttribute",value:Me,onBlur:f,onChange:u}))),"visual-data"===C&&o.a.createElement(r.Fragment,{key:"cf7sVisualData"},o.a.createElement("div",{className:ee.attribute},o.a.createElement("div",{className:ee.visualData},o.a.createElement("textarea",{id:"cf7sVisualContent",name:"cf7sVisualContent",onFocus:function(e){e.target.select()},onBlur:p,rows:"8",defaultValue:JSON.stringify(t)}))))),window.cf7svisual.addons){var Ge=window.cf7svisual.addons.get("edit");if(Ge)for(var Ue={editSections:We,styles:ee},Be=0;Be<Ge.length;++Be){var Ve=Ge[Be].callback;if(Ge[Be].types.indexOf(C)>-1)if(Ve.prototype.render){var Ke=Ve;We.push(o.a.createElement(Ke,R()({key:Be},Ue)))}else We=Ve(Ue)}}var qe=We.map((function(e){return e})),Ye=-1!==Z()(k.cf7sItems).filter((function(e){return"cf7Tag"===e.cf7sSelectGroup})).map((function(e,t){return e.cf7sType})).indexOf(g.cf7sType);return o.a.createElement("div",{className:ee.Edit,onKeyPress:h},!Ye&&!!y&&o.a.createElement("h3",null,y),!!Ye&&o.a.createElement(Q,{className:ee.EditTypeSelect,treeData:window.cf7svisual.treeData||t,shortText:!1,node:g,onChange:function(e){return l(e,n)}}),qe,o.a.createElement("button",{onClick:s,className:"button-primary"},re(i?"Save":"Done","contact-form-7-skins")))}}]),a}(r.Component),le=n(41),ce=n.n(le),ue=n(1),de=n.n(ue),fe={rowContents:"rowContents___n3Hfc",moveHandle:"moveHandle___iq9iV",loadingHandle:"loadingHandle___7lJ9+",rowContentsStart:"rowContentsStart___xKXUl",rowContentsEnd:"rowContentsEnd___717WE",InputItemIcon:"InputItemIcon___6rLo6",InputItemName:"InputItemName___LV0vC",InputItemLabel:"InputItemLabel___vS7k-",InputItemType:"InputItemType___c6Uhz",InputItemToolbar:"InputItemToolbar___I1cHV",cf7Tag:"cf7Tag___kKQ5h",cf7sItem:"cf7sItem___u3JfG",cf7Required:"cf7Required___zp8gT",edited:"edited___eOPso",acceptance:"acceptance___O7dS5",checkbox:"checkbox___KlhTb",date:"date___mTwBm",email:"email___y1pJT",file:"file___A3fuW",number:"number___HZT6t",quiz:"quiz___Rc6bG",radio:"radio___t+Whk",select:"select___iuGie",submit:"submit___VTyrW",tel:"tel___rFz5H",text:"text___blbox",textarea:"textarea___yy-44",url:"url___iUggZ",fieldset:"fieldset___HKwZd","list-ol":"list-ol___3+sLz","list-li":"list-li___KA089",paragraph:"paragraph___2tWIA"},pe=["scaffoldBlockPxWidth","toggleChildrenVisibility","connectDragPreview","connectDragSource","isDragging","canDrop","canDrag","node","draggedNode","path","treeIndex","isSearchMatch","isSearchFocus","toolbar","className","style","didDrop","treeId","isOver","parentNode","rowDirection"];function he(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 ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ge=ve({},window.wp.i18n).__,me=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){var e,t=this.props,n=t.scaffoldBlockPxWidth,r=t.toggleChildrenVisibility,i=t.connectDragPreview,a=t.connectDragSource,s=t.isDragging,l=t.canDrop,c=t.canDrag,u=t.node,d=t.draggedNode,f=t.path,p=t.treeIndex,h=t.isSearchMatch,v=t.isSearchFocus,g=t.toolbar,m=t.className,y=t.style,b=void 0===y?{}:y,_=t.didDrop,w=(t.treeId,t.isOver,t.parentNode,t.rowDirection),S=ce()(t,pe),C=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")},O="rtl"===w?"rst__rtl":null,x=Object(k.getVisualVar)("addons"),T=!!x&&x.get("beforeToolbar"),D=T?T.map((function(e){return e(u,fe)})):"",E=this.props.edited===u.cf7Name,I="paragraph"===u.cf7sType?u.cf7sContent:u.cf7sLabel,P=Object(k.getVisualVar)("options"),M=!!P&&P.showName;c&&(e="function"==typeof u.children&&u.expanded?o.a.createElement("div",{className:C("rst__loadingHandle",fe.loadingHandle)},o.a.createElement("div",{className:"rst__loadingCircle"},Z()(new Array(12)).map((function(e,t){return o.a.createElement("div",{key:t,className:C("rst__loadingCirclePoint",O)})})))):a(o.a.createElement("div",{className:C("rst__moveHandle",fe.moveHandle),title:ge("Drag/Move","contact-form-7-skins")}),{dropEffect:"copy"}));var N=d&&Object($.isDescendant)(d,u),j=!_&&s;return o.a.createElement("div",R()({style:{height:"100%"}},S)," ",r&&!!u.children&&(u.children.length>0||"function"==typeof u.children)&&o.a.createElement("div",null,o.a.createElement("button",{type:"button","aria-label":u.expanded?ge("Collapse","contact-form-7-skins"):ge("Expand","contact-form-7-skins"),className:C(u.expanded?"rst__collapseButton":"rst__expandButton",O),style:{left:-.5*n},onClick:function(){return r({node:u,path:f,treeIndex:p})}}),u.expanded&&!s&&o.a.createElement("div",{style:{width:n},className:C("rst__lineChildren",O)})),o.a.createElement("div",{className:C("rst__rowWrapper",O)},i(o.a.createElement("div",{className:C("rst__row",j&&"rst__rowLandingPad",j&&!l&&"rst__rowCancelPad",h&&"rst__rowSearchMatch",v&&"rst__rowSearchFocus",O,m,fe.row,E?fe.edited:""),style:ve({opacity:N?.5:1},b)},e,o.a.createElement("div",{className:C("rst__rowContents",!c&&"rst__rowContentsDragDisabled",O,fe.rowContents,fe[u.cf7sType],fe[u.cf7sSelectGroup],u.cf7Required?fe.cf7Required:"")},o.a.createElement("div",{className:fe.rowContentsStart},o.a.createElement("span",{className:fe.InputItemIcon},o.a.createElement("span",{className:u.cf7sIcon})),!!M&&o.a.createElement("span",{className:fe.InputItemName},u.cf7Name),o.a.createElement("span",{className:fe.InputItemLabel},I)),o.a.createElement("div",{className:fe.rowContentsEnd},"cf7Tag"!==u.cf7sSelectGroup&&o.a.createElement("span",{className:fe.InputItemType},u.cf7sType+(u.cf7Required?"*":"")),D,g&&g.map((function(e,t){return o.a.createElement("div",{key:t,className:fe.InputItemToolbar},e)}))))))))}}]),i}(r.Component);me.propTypes={node:de.a.object.isRequired,path:de.a.arrayOf(de.a.oneOfType([de.a.string,de.a.number])).isRequired,treeIndex:de.a.number.isRequired,isSearchMatch:de.a.bool,isSearchFocus:de.a.bool,canDrag:de.a.bool,scaffoldBlockPxWidth:de.a.number.isRequired,toggleChildrenVisibility:de.a.func,buttons:de.a.arrayOf(de.a.node),className:de.a.string,style:de.a.object,connectDragPreview:de.a.func.isRequired,connectDragSource:de.a.func.isRequired,parentNode:de.a.shape({}),isDragging:de.a.bool.isRequired,didDrop:de.a.bool.isRequired,draggedNode:de.a.shape({}),isOver:de.a.bool.isRequired,canDrop:de.a.bool};var ye=me,be=n(13),_e=n.n(be),we=n(24),Se=n.n(we),Ce=n(40),Oe={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=Oe.F1&&t<=Oe.F12)return!1;switch(t){case Oe.ALT:case Oe.CAPS_LOCK:case Oe.CONTEXT_MENU:case Oe.CTRL:case Oe.DOWN:case Oe.END:case Oe.ESC:case Oe.HOME:case Oe.INSERT:case Oe.LEFT:case Oe.MAC_FF_META:case Oe.META:case Oe.NUMLOCK:case Oe.NUM_CENTER:case Oe.PAGE_DOWN:case Oe.PAGE_UP:case Oe.PAUSE:case Oe.PRINT_SCREEN:case Oe.RIGHT:case Oe.SHIFT:case Oe.UP:case Oe.WIN_KEY:case Oe.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=Oe.ZERO&&e<=Oe.NINE)return!0;if(e>=Oe.NUM_ZERO&&e<=Oe.NUM_MULTIPLY)return!0;if(e>=Oe.A&&e<=Oe.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case Oe.SPACE:case Oe.QUESTION_MARK:case Oe.NUM_PLUS:case Oe.NUM_MINUS:case Oe.NUM_PERIOD:case Oe.NUM_DIVISION:case Oe.SEMICOLON:case Oe.DASH:case Oe.EQUALS:case Oe.COMMA:case Oe.PERIOD:case Oe.SLASH:case Oe.APOSTROPHE:case Oe.SINGLE_QUOTE:case Oe.OPEN_SQUARE_BRACKET:case Oe.BACKSLASH:case Oe.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},xe=Oe;function Te(){var e=[].slice.call(arguments,0);return 1===e.length?e[0]:function(){for(var t=0;t<e.length;t++)e[t]&&e[t].apply&&e[t].apply(this,arguments)}}var ke=n(46),De=n.n(ke);function Ee(){}function Ie(e,t,n){var r=t||"";return e.key||r+"item_"+n}function Pe(e){return e+"-menu-"}function Me(e,t){var n=-1;o.a.Children.forEach(e,(function(e){n++,e&&e.type&&e.type.isMenuItemGroup?o.a.Children.forEach(e.props.children,(function(e){n++,t(e,n)})):t(e,n)}))}var Re=Se()({displayName:"DOMWrap",propTypes:{tag:de.a.string,hiddenClassName:de.a.string,visible:de.a.bool},getDefaultProps:function(){return{tag:"div"}},render:function(){var e=_e()({},this.props);e.visible||(e.className=e.className||"",e.className+=" "+e.hiddenClassName);var t=e.tag;return delete e.tag,delete e.hiddenClassName,delete e.visible,o.a.createElement(t,e)}});function Ne(e,t,n){var r,o=e.getState();e.setState({activeKey:_e()({},o.activeKey,(r={},r[t]=n,r))})}function je(e,t){var n=t,r=e.children,o=e.eventKey;if(n){var i=void 0;if(Me(r,(function(e,t){e&&!e.props.disabled&&n===Ie(e,o,t)&&(i=!0)})),i)return n}return n=null,e.defaultActiveFirst?(Me(r,(function(e,t){n||!e||e.props.disabled||(n=Ie(e,o,t))})),n):n}function Ae(e,t,n){n&&(void 0!==t?(this.instanceArray[e]=this.instanceArray[e]||[],this.instanceArray[e][t]=n):this.instanceArray[e]=n)}var Le={propTypes:{focusable:de.a.bool,multiple:de.a.bool,style:de.a.object,defaultActiveFirst:de.a.bool,visible:de.a.bool,activeKey:de.a.string,selectedKeys:de.a.arrayOf(de.a.string),defaultSelectedKeys:de.a.arrayOf(de.a.string),defaultOpenKeys:de.a.arrayOf(de.a.string),openKeys:de.a.arrayOf(de.a.string),children:de.a.any},getDefaultProps:function(){return{prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{}}},componentWillReceiveProps:function(e){var t="activeKey"in e?e.activeKey:this.getStore().getState().activeKey[this.getEventKey()],n=je(e,t);n!==t&&Ne(this.getStore(),this.getEventKey(),n)},shouldComponentUpdate:function(e){return this.props.visible||e.visible},componentWillMount:function(){this.instanceArray=[]},onKeyDown:function(e,t){var n=e.keyCode,r=void 0;if(this.getFlatInstanceArray().forEach((function(t){t&&t.props.active&&t.onKeyDown&&(r=t.onKeyDown(e))})),r)return 1;var o=null;return n!==xe.UP&&n!==xe.DOWN||(o=this.step(n===xe.UP?-1:1)),o?(e.preventDefault(),Ne(this.getStore(),this.getEventKey(),o.props.eventKey),"function"==typeof t&&t(o),1):void 0===o?(e.preventDefault(),Ne(this.getStore(),this.getEventKey(),null),1):void 0},onItemHover:function(e){var t=e.key,n=e.hover;Ne(this.getStore(),this.getEventKey(),n?t:null)},getEventKey:function(){return this.props.eventKey||"0-menu-"},getStore:function(){return this.store||this.props.store},getFlatInstanceArray:function(){var e=this.instanceArray;return e.some((function(e){return Array.isArray(e)}))&&(e=[],this.instanceArray.forEach((function(t){Array.isArray(t)?e.push.apply(e,t):e.push(t)})),this.instanceArray=e),e},renderCommonMenuItem:function(e,t,n,r){var i=this.getStore().getState(),a=this.props,s=Ie(e,a.eventKey,t),l=e.props,c=s===i.activeKey,u=_e()({mode:a.mode,level:a.level,inlineIndent:a.inlineIndent,renderMenuItem:this.renderMenuItem,rootPrefixCls:a.prefixCls,index:t,parentMenu:this,manualRef:l.disabled?void 0:Te(e.ref,Ae.bind(this,t,n)),eventKey:s,active:!l.disabled&&c,multiple:a.multiple,onClick:this.onClick,onItemHover:this.onItemHover,openTransitionName:this.getOpenTransitionName(),openAnimation:a.openAnimation,subMenuOpenDelay:a.subMenuOpenDelay,subMenuCloseDelay:a.subMenuCloseDelay,forceSubMenuRender:a.forceSubMenuRender,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect},r);return"inline"===a.mode&&(u.triggerSubMenuAction="click"),o.a.cloneElement(e,u)},renderRoot:function(e){var t=this;this.instanceArray=[];var n={className:De()(e.prefixCls,e.className,e.prefixCls+"-"+e.mode),role:"menu","aria-activedescendant":""};return e.id&&(n.id=e.id),e.focusable&&(n.tabIndex="0",n.onKeyDown=this.onKeyDown),o.a.createElement(Re,_e()({style:e.style,tag:"ul",hiddenClassName:e.prefixCls+"-hidden",visible:e.visible},n),o.a.Children.map(e.children,(function(n,r,o){return t.renderMenuItem(n,r,o,e.eventKey||"0-menu-")})))},step:function(e){var t=this.getFlatInstanceArray(),n=this.getStore().getState().activeKey[this.getEventKey()],r=t.length;if(!r)return null;e<0&&(t=t.concat().reverse());var o=-1;if(t.every((function(e,t){return!e||e.props.eventKey!==n||(o=t,!1)})),this.props.defaultActiveFirst||-1===o||(i=t.slice(o,r-1)).length&&!i.every((function(e){return!!e.props.disabled})))for(var i,a=(o+1)%r,s=a;;){var l=t[s];if(l&&!l.props.disabled)return l;if((s=(s+1+r)%r)===a)return null}}},ze=Se()({displayName:"Menu",propTypes:{defaultSelectedKeys:de.a.arrayOf(de.a.string),selectedKeys:de.a.arrayOf(de.a.string),defaultOpenKeys:de.a.arrayOf(de.a.string),openKeys:de.a.arrayOf(de.a.string),mode:de.a.oneOf(["horizontal","vertical","vertical-left","vertical-right","inline"]),getPopupContainer:de.a.func,onClick:de.a.func,onSelect:de.a.func,onDeselect:de.a.func,onDestroy:de.a.func,openTransitionName:de.a.string,openAnimation:de.a.oneOfType([de.a.string,de.a.object]),subMenuOpenDelay:de.a.number,subMenuCloseDelay:de.a.number,forceSubMenuRender:de.a.bool,triggerSubMenuAction:de.a.string,level:de.a.number,selectable:de.a.bool,multiple:de.a.bool,children:de.a.any},mixins:[Le],isRootMenu:!0,getDefaultProps:function(){return{selectable:!0,onClick:Ee,onSelect:Ee,onOpenChange:Ee,onDeselect:Ee,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover"}},getInitialState:function(){var e=this.props,t=e.defaultSelectedKeys,n=e.defaultOpenKeys;return"selectedKeys"in e&&(t=e.selectedKeys||[]),"openKeys"in e&&(n=e.openKeys||[]),this.store=Object(Ce.create)({selectedKeys:t,openKeys:n,activeKey:{"0-menu-":je(e,e.activeKey)}}),{}},componentWillReceiveProps:function(e){"selectedKeys"in e&&this.store.setState({selectedKeys:e.selectedKeys||[]}),"openKeys"in e&&this.store.setState({openKeys:e.openKeys||[]})},onSelect:function(e){var t=this.props;if(t.selectable){var n=this.store.getState().selectedKeys,r=e.key;n=t.multiple?n.concat([r]):[r],"selectedKeys"in t||this.store.setState({selectedKeys:n}),t.onSelect(_e()({},e,{selectedKeys:n}))}},onClick:function(e){this.props.onClick(e)},onOpenChange:function(e){var t=this.props,n=this.store.getState().openKeys.concat(),r=!1,o=function(e){var t=!1;if(e.open)(t=-1===n.indexOf(e.key))&&n.push(e.key);else{var o=n.indexOf(e.key);(t=-1!==o)&&n.splice(o,1)}r=r||t};Array.isArray(e)?e.forEach(o):o(e),r&&("openKeys"in this.props||this.store.setState({openKeys:n}),t.onOpenChange(n))},onDeselect:function(e){var t=this.props;if(t.selectable){var n=this.store.getState().selectedKeys.concat(),r=e.key,o=n.indexOf(r);-1!==o&&n.splice(o,1),"selectedKeys"in t||this.store.setState({selectedKeys:n}),t.onDeselect(_e()({},e,{selectedKeys:n}))}},getOpenTransitionName:function(){var e=this.props,t=e.openTransitionName,n=e.openAnimation;return t||"string"!=typeof n||(t=e.prefixCls+"-open-"+n),t},isInlineMode:function(){return"inline"===this.props.mode},lastOpenSubMenu:function(){var e=[],t=this.store.getState().openKeys;return t.length&&(e=this.getFlatInstanceArray().filter((function(e){return e&&-1!==t.indexOf(e.props.eventKey)}))),e[0]},renderMenuItem:function(e,t,n,r){if(!e)return null;var o=this.store.getState(),i={openKeys:o.openKeys,selectedKeys:o.selectedKeys,triggerSubMenuAction:this.props.triggerSubMenuAction,subMenuKey:r};return this.renderCommonMenuItem(e,t,n,i)},render:function(){var e=_e()({},this.props);return e.className+=" "+e.prefixCls+"-root",o.a.createElement(Ce.Provider,{store:this.store},this.renderRoot(e))}}),Fe=n(20),He=n.n(Fe),We=n(17),Ge=n.n(We),Ue=n(21),Be=n.n(Ue),Ve=n(23);function Ke(e,t){for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var qe=n(255),Ye=n.n(qe);function Xe(e,t,n,r){var o=a.a.unstable_batchedUpdates?function(e){a.a.unstable_batchedUpdates(n,e)}:n;return Ye()(e,t,o,r)}function Ze(e){return(Ze="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 $e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(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 Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function et(e,t){return!t||"object"!==Ze(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}function tt(e){return(tt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var nt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qe(e,t)}(s,e);var t,n,r,o,i=(r=s,o=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}}(),function(){var e,t=tt(r);if(o){var n=tt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return et(this,e)});function s(){var e;$e(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).removeContainer=function(){e.container&&(a.a.unmountComponentAtNode(e.container),e.container.parentNode.removeChild(e.container),e.container=null)},e.renderComponent=function(t,n){var r=e.props,o=r.visible,i=r.getComponent,s=r.forceRender,l=r.getContainer,c=r.parent;(o||c._component||s)&&(e.container||(e.container=l()),a.a.unstable_renderSubtreeIntoContainer(c,i(t),e.container,(function(){n&&n.call(this)})))},e}return t=s,(n=[{key:"componentDidMount",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentDidUpdate",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentWillUnmount",value:function(){this.props.autoDestroy&&this.removeContainer()}},{key:"render",value:function(){return this.props.children({renderComponent:this.renderComponent,removeContainer:this.removeContainer})}}])&&Je(t.prototype,n),s}(o.a.Component);function rt(e){return(rt="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 ot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(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 at(e,t){return(at=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function st(e,t){return!t||"object"!==rt(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}function lt(e){return(lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}nt.propTypes={autoMount:de.a.bool,autoDestroy:de.a.bool,visible:de.a.bool,forceRender:de.a.bool,parent:de.a.any,getComponent:de.a.func.isRequired,getContainer:de.a.func.isRequired,children:de.a.func.isRequired},nt.defaultProps={autoMount:!0,autoDestroy:!0,forceRender:!1};var ct=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&at(e,t)}(s,e);var t,n,r,o,i=(r=s,o=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}}(),function(){var e,t=lt(r);if(o){var n=lt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return st(this,e)});function s(){return ot(this,s),i.apply(this,arguments)}return t=s,(n=[{key:"componentDidMount",value:function(){this.createContainer()}},{key:"componentDidUpdate",value:function(e){var t=this.props.didUpdate;t&&t(e)}},{key:"componentWillUnmount",value:function(){this.removeContainer()}},{key:"createContainer",value:function(){this._container=this.props.getContainer(),this.forceUpdate()}},{key:"removeContainer",value:function(){this._container&&this._container.parentNode.removeChild(this._container)}},{key:"render",value:function(){return this._container?a.a.createPortal(this.props.children,this._container):null}}])&&it(t.prototype,n),s}(o.a.Component);function ut(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function dt(e,t){this[e]=t}ct.propTypes={getContainer:de.a.func.isRequired,children:de.a.node.isRequired,didUpdate:de.a.func};var ft,pt=n(70),ht=n.n(pt);function vt(e){return(vt="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 gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var yt={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function bt(){if(void 0!==ft)return ft;ft="";var e=document.createElement("p").style;for(var t in yt)t+"Transform"in e&&(ft=t);return ft}function _t(){return bt()?"".concat(bt(),"TransitionProperty"):"transitionProperty"}function wt(){return bt()?"".concat(bt(),"Transform"):"transform"}function St(e,t){var n=_t();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function Ct(e,t){var n=wt();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}var Ot,xt=/matrix\((.*)\)/,Tt=/matrix3d\((.*)\)/;function kt(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function Dt(e,t,n){var r=n;if("object"!==vt(t))return void 0!==r?("number"==typeof r&&(r="".concat(r,"px")),void(e.style[t]=r)):Ot(e,t);for(var o in t)t.hasOwnProperty(o)&&Dt(e,o,t[o])}function Et(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function It(e){return Et(e)}function Pt(e){return Et(e,!0)}function Mt(e){var t=function(e){var t,n,r,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=It(r),t.top+=Pt(r),t}function Rt(e){return null!=e&&e==e.window}function Nt(e){return Rt(e)?e.document:9===e.nodeType?e:e.ownerDocument}var jt=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),At=/^(top|right|bottom|left)$/,Lt="left";function zt(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function Ft(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function Ht(e,t,n){"static"===Dt(e,"position")&&(e.style.position="relative");var r=-999,o=-999,i=zt("left",n),a=zt("top",n),s=Ft(i),l=Ft(a);"left"!==i&&(r=999),"top"!==a&&(o=999);var c,u="",d=Mt(e);("left"in t||"top"in t)&&(u=(c=e).style.transitionProperty||c.style[_t()]||"",St(e,"none")),"left"in t&&(e.style[s]="",e.style[i]="".concat(r,"px")),"top"in t&&(e.style[l]="",e.style[a]="".concat(o,"px")),kt(e);var f=Mt(e),p={};for(var h in t)if(t.hasOwnProperty(h)){var v=zt(h,n),g="left"===h?r:o,m=d[h]-f[h];p[v]=v===h?g+m:g-m}Dt(e,p),kt(e),("left"in t||"top"in t)&&St(e,u);var y={};for(var b in t)if(t.hasOwnProperty(b)){var _=zt(b,n),w=t[b]-d[b];y[_]=b===_?p[_]+w:p[_]-w}Dt(e,y)}function Wt(e,t){for(var n=0;n<e.length;n++)t(e[n])}function Gt(e){return"border-box"===Ot(e,"boxSizing")}"undefined"!=typeof window&&(Ot=window.getComputedStyle?function(e,t,n){var r=n,o="",i=Nt(e);return(r=r||i.defaultView.getComputedStyle(e,null))&&(o=r.getPropertyValue(t)||r[t]),o}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(jt.test(n)&&!At.test(t)){var r=e.style,o=r[Lt],i=e.runtimeStyle[Lt];e.runtimeStyle[Lt]=e.currentStyle[Lt],r[Lt]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[Lt]=o,e.runtimeStyle[Lt]=i}return""===n?"auto":n});var Ut=["margin","border","padding"];function Bt(e,t,n){var r,o={},i=e.style;for(r in t)t.hasOwnProperty(r)&&(o[r]=i[r],i[r]=t[r]);for(r in n.call(e),t)t.hasOwnProperty(r)&&(i[r]=o[r])}function Vt(e,t,n){var r,o,i,a=0;for(o=0;o<t.length;o++)if(r=t[o])for(i=0;i<n.length;i++){var s;s="border"===r?"".concat(r).concat(n[i],"Width"):r+n[i],a+=parseFloat(Ot(e,s))||0}return a}var Kt={getParent:function(e){var t=e;do{t=11===t.nodeType&&t.host?t.host:t.parentNode}while(t&&1!==t.nodeType&&9!==t.nodeType);return t}};function qt(e,t,n){var r=n;if(Rt(e))return"width"===t?Kt.viewportWidth(e):Kt.viewportHeight(e);if(9===e.nodeType)return"width"===t?Kt.docWidth(e):Kt.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],i="width"===t?e.getBoundingClientRect().width:e.getBoundingClientRect().height,a=(Ot(e),Gt(e)),s=0;(null==i||i<=0)&&(i=void 0,(null==(s=Ot(e,t))||Number(s)<0)&&(s=e.style[t]||0),s=parseFloat(s)||0),void 0===r&&(r=a?1:-1);var l=void 0!==i||a,c=i||s;return-1===r?l?c-Vt(e,["border","padding"],o):s:l?1===r?c:c+(2===r?-Vt(e,["border"],o):Vt(e,["margin"],o)):s+Vt(e,Ut.slice(r),o)}Wt(["Width","Height"],(function(e){Kt["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],Kt["viewport".concat(e)](n))},Kt["viewport".concat(e)]=function(t){var n="client".concat(e),r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var Yt={position:"absolute",visibility:"hidden",display:"block"};function Xt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t[0];return 0!==o.offsetWidth?r=qt.apply(void 0,t):Bt(o,Yt,(function(){r=qt.apply(void 0,t)})),r}function Zt(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}Wt(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);Kt["outer".concat(t)]=function(t,n){return t&&Xt(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];Kt[e]=function(t,r){var o=r;return void 0===o?t&&Xt(t,e,-1):t?(Ot(t),Gt(t)&&(o+=Vt(t,["padding","border"],n)),Dt(t,e,o)):void 0}}));var $t={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:Nt,offset:function(e,t,n){if(void 0===t)return Mt(e);!function(e,t,n){if(n.ignoreShake){var r=Mt(e),o=r.left.toFixed(0),i=r.top.toFixed(0),a=t.left.toFixed(0),s=t.top.toFixed(0);if(o===a&&i===s)return}n.useCssRight||n.useCssBottom?Ht(e,t,n):n.useCssTransform&&wt()in document.body.style?function(e,t){var n=Mt(e),r=function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(wt());if(n&&"none"!==n){var r=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(r[12]||r[4],0),y:parseFloat(r[13]||r[5],0)}}return{x:0,y:0}}(e),o={x:r.x,y:r.y};"left"in t&&(o.x=r.x+t.left-n.left),"top"in t&&(o.y=r.y+t.top-n.top),function(e,t){var n=window.getComputedStyle(e,null),r=n.getPropertyValue("transform")||n.getPropertyValue(wt());if(r&&"none"!==r){var o,i=r.match(xt);i?((o=(i=i[1]).split(",").map((function(e){return parseFloat(e,10)})))[4]=t.x,o[5]=t.y,Ct(e,"matrix(".concat(o.join(","),")"))):((o=r.match(Tt)[1].split(",").map((function(e){return parseFloat(e,10)})))[12]=t.x,o[13]=t.y,Ct(e,"matrix3d(".concat(o.join(","),")")))}else Ct(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}(e,o)}(e,t):Ht(e,t,n)}(e,t,n||{})},isWindow:Rt,each:Wt,css:Dt,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);if(e.overflow)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:Zt,getWindowScrollLeft:function(e){return It(e)},getWindowScrollTop:function(e){return Pt(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)$t.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};Zt($t,Kt);var Jt=$t.getParent;function Qt(e){if($t.isWindow(e)||9===e.nodeType)return null;var t,n=$t.getDocument(e).body,r=$t.css(e,"position");if("fixed"!==r&&"absolute"!==r)return"html"===e.nodeName.toLowerCase()?null:Jt(e);for(t=Jt(e);t&&t!==n&&9!==t.nodeType;t=Jt(t))if("static"!==(r=$t.css(t,"position")))return t;return null}var en=$t.getParent;function tn(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},r=Qt(e),o=$t.getDocument(e),i=o.defaultView||o.parentWindow,a=o.body,s=o.documentElement;r;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===r.clientWidth||r===a||r===s||"visible"===$t.css(r,"overflow")){if(r===a||r===s)break}else{var l=$t.offset(r);l.left+=r.clientLeft,l.top+=r.clientTop,n.top=Math.max(n.top,l.top),n.right=Math.min(n.right,l.left+r.clientWidth),n.bottom=Math.min(n.bottom,l.top+r.clientHeight),n.left=Math.max(n.left,l.left)}r=Qt(r)}var c=null;$t.isWindow(e)||9===e.nodeType||(c=e.style.position,"absolute"===$t.css(e,"position")&&(e.style.position="fixed"));var u=$t.getWindowScrollLeft(i),d=$t.getWindowScrollTop(i),f=$t.viewportWidth(i),p=$t.viewportHeight(i),h=s.scrollWidth,v=s.scrollHeight,g=window.getComputedStyle(a);if("hidden"===g.overflowX&&(h=i.innerWidth),"hidden"===g.overflowY&&(v=i.innerHeight),e.style&&(e.style.position=c),t||function(e){if($t.isWindow(e)||9===e.nodeType)return!1;var t=$t.getDocument(e).body,n=null;for(n=en(e);n&&n!==t;n=en(n))if("fixed"===$t.css(n,"position"))return!0;return!1}(e))n.left=Math.max(n.left,u),n.top=Math.max(n.top,d),n.right=Math.min(n.right,u+f),n.bottom=Math.min(n.bottom,d+p);else{var m=Math.max(h,u+f);n.right=Math.min(n.right,m);var y=Math.max(v,d+p);n.bottom=Math.min(n.bottom,y)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function nn(e){var t,n,r;if($t.isWindow(e)||9===e.nodeType){var o=$t.getWindow(e);t={left:$t.getWindowScrollLeft(o),top:$t.getWindowScrollTop(o)},n=$t.viewportWidth(o),r=$t.viewportHeight(o)}else t=$t.offset(e),n=$t.outerWidth(e),r=$t.outerHeight(e);return t.width=n,t.height=r,t}function rn(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,i=e.height,a=e.left,s=e.top;return"c"===n?s+=i/2:"b"===n&&(s+=i),"c"===r?a+=o/2:"r"===r&&(a+=o),{left:a,top:s}}function on(e,t,n,r,o){var i=rn(t,n[1]),a=rn(e,n[0]),s=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-s[0]+r[0]-o[0]),top:Math.round(e.top-s[1]+r[1]-o[1])}}function an(e,t,n){return e.left<n.left||e.left+t.width>n.right}function sn(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function ln(e,t,n){var r=[];return $t.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function cn(e,t){return e[t]=-e[t],e}function un(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function dn(e,t){e[0]=un(e[0],t.width),e[1]=un(e[1],t.height)}function fn(e,t,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],s=n.overflow,l=n.source||e;i=[].concat(i),a=[].concat(a);var c={},u=0,d=tn(l,!(!(s=s||{})||!s.alwaysByViewport)),f=nn(l);dn(i,f),dn(a,t);var p=on(f,t,o,i,a),h=$t.merge(f,p);if(d&&(s.adjustX||s.adjustY)&&r){if(s.adjustX&&an(p,f,d)){var v=ln(o,/[lr]/gi,{l:"r",r:"l"}),g=cn(i,0),m=cn(a,0);(function(e,t,n){return e.left>n.right||e.left+t.width<n.left})(on(f,t,v,g,m),f,d)||(u=1,o=v,i=g,a=m)}if(s.adjustY&&sn(p,f,d)){var y=ln(o,/[tb]/gi,{t:"b",b:"t"}),b=cn(i,1),_=cn(a,1);(function(e,t,n){return e.top>n.bottom||e.top+t.height<n.top})(on(f,t,y,b,_),f,d)||(u=1,o=y,i=b,a=_)}u&&(p=on(f,t,o,i,a),$t.mix(h,p));var w=an(p,f,d),S=sn(p,f,d);if(w||S){var C=o;w&&(C=ln(o,/[lr]/gi,{l:"r",r:"l"})),S&&(C=ln(o,/[tb]/gi,{t:"b",b:"t"})),o=C,i=n.offset||[0,0],a=n.targetOffset||[0,0]}c.adjustX=s.adjustX&&w,c.adjustY=s.adjustY&&S,(c.adjustX||c.adjustY)&&(h=function(e,t,n,r){var o=$t.clone(e),i={width:t.width,height:t.height};return r.adjustX&&o.left<n.left&&(o.left=n.left),r.resizeWidth&&o.left>=n.left&&o.left+i.width>n.right&&(i.width-=o.left+i.width-n.right),r.adjustX&&o.left+i.width>n.right&&(o.left=Math.max(n.right-i.width,n.left)),r.adjustY&&o.top<n.top&&(o.top=n.top),r.resizeHeight&&o.top>=n.top&&o.top+i.height>n.bottom&&(i.height-=o.top+i.height-n.bottom),r.adjustY&&o.top+i.height>n.bottom&&(o.top=Math.max(n.bottom-i.height,n.top)),$t.mix(o,i)}(p,f,d,c))}return h.width!==f.width&&$t.css(l,"width",$t.width(l)+h.width-f.width),h.height!==f.height&&$t.css(l,"height",$t.height(l)+h.height-f.height),$t.offset(l,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:c}}function pn(e,t,n){var r=n.target||t;return fn(e,nn(r),n,!function(e,t){var n=tn(e,t),r=nn(e);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}(r,n.overflow&&n.overflow.alwaysByViewport))}function hn(e,t,n){var r,o,i=$t.getDocument(e),a=i.defaultView||i.parentWindow,s=$t.getWindowScrollLeft(a),l=$t.getWindowScrollTop(a),c=$t.viewportWidth(a),u=$t.viewportHeight(a);r="pageX"in t?t.pageX:s+t.clientX,o="pageY"in t?t.pageY:l+t.clientY;var d=r>=0&&r<=s+c&&o>=0&&o<=l+u;return fn(e,{left:r,top:o,width:0,height:0},function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mt(n,!0).forEach((function(t){gt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{points:[n.points[0],"cc"]}),d)}function vn(e){return e&&"object"==typeof e&&e.window===e}function gn(e,t){var n=Math.floor(e),r=Math.floor(t);return Math.abs(n-r)<=1}function mn(e,t){e!==document.activeElement&&Ke(t,e)&&e.focus()}function yn(e){return"function"==typeof e&&e?e():null}function bn(e){return"object"==typeof e&&e?e:null}pn.__getOffsetParent=Qt,pn.__getVisibleRectForElement=tn;var wn=function(e){function t(){var e,n,r,o;He()(this,t);for(var i=arguments.length,s=Array(i),l=0;l<i;l++)s[l]=arguments[l];return n=r=Ge()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r.forceAlign=function(){var e=r.props,t=e.disabled,n=e.target,o=e.align,i=e.onAlign;if(!t&&n){var s=a.a.findDOMNode(r),l=void 0,c=yn(n),u=bn(n),d=document.activeElement;c?l=pn(s,c,o):u&&(l=hn(s,u,o)),mn(d,s),i&&i(s,l)}},o=n,Ge()(r,o)}return Be()(t,e),ht()(t,[{key:"componentDidMount",value:function(){var e=this.props;this.forceAlign(),!e.disabled&&e.monitorWindowResize&&this.startMonitorWindowResize()}},{key:"componentDidUpdate",value:function(e){var t,n,r=!1,o=this.props;if(!o.disabled){var i=a.a.findDOMNode(this),s=i?i.getBoundingClientRect():null;if(e.disabled)r=!0;else{var l=yn(e.target),c=yn(o.target),u=bn(e.target),d=bn(o.target);vn(l)&&vn(c)?r=!1:(l!==c||l&&!c&&d||u&&d&&c||d&&!((t=u)===(n=d)||t&&n&&("pageX"in n&&"pageY"in n?t.pageX===n.pageX&&t.pageY===n.pageY:"clientX"in n&&"clientY"in n&&t.clientX===n.clientX&&t.clientY===n.clientY)))&&(r=!0);var f=this.sourceRect||{};r||!i||gn(f.width,s.width)&&gn(f.height,s.height)||(r=!0)}this.sourceRect=s}r&&this.forceAlign(),o.monitorWindowResize&&!o.disabled?this.startMonitorWindowResize():this.stopMonitorWindowResize()}},{key:"componentWillUnmount",value:function(){this.stopMonitorWindowResize()}},{key:"startMonitorWindowResize",value:function(){this.resizeHandler||(this.bufferMonitor=function(e,t){var n=void 0;function r(){n&&(clearTimeout(n),n=null)}function o(){r(),n=setTimeout(e,t)}return o.clear=r,o}(this.forceAlign,this.props.monitorBufferTime),this.resizeHandler=Xe(window,"resize",this.bufferMonitor))}},{key:"stopMonitorWindowResize",value:function(){this.resizeHandler&&(this.bufferMonitor.clear(),this.resizeHandler.remove(),this.resizeHandler=null)}},{key:"render",value:function(){var e=this,t=this.props,n=t.childrenProps,r=t.children,i=o.a.Children.only(r);if(n){var a={};return Object.keys(n).forEach((function(t){a[t]=e.props[n[t]]})),o.a.cloneElement(i,a)}return i}}]),t}(r.Component);wn.propTypes={childrenProps:de.a.object,align:de.a.object.isRequired,target:de.a.oneOfType([de.a.func,de.a.shape({clientX:de.a.number,clientY:de.a.number,pageX:de.a.number,pageY:de.a.number})]),onAlign:de.a.func,monitorBufferTime:de.a.number,monitorWindowResize:de.a.bool,disabled:de.a.bool,children:de.a.any},wn.defaultProps={target:function(){return window},monitorBufferTime:50,monitorWindowResize:!1,disabled:!1};var Sn=wn,Cn=n(256),On=n.n(Cn);function xn(e){var t=[];return o.a.Children.forEach(e,(function(e){t.push(e)})),t}function Tn(e,t){var n=null;return e&&e.forEach((function(e){n||e&&e.key===t&&(n=e)})),n}function kn(e,t,n){var r=null;return e&&e.forEach((function(e){if(e&&e.key===t&&e.props[n]){if(r)throw new Error("two child with same key for <rc-animate> children");r=e}})),r}var Dn=n(108),En=n.n(Dn),In={transitionstart:{transition:"transitionstart",WebkitTransition:"webkitTransitionStart",MozTransition:"mozTransitionStart",OTransition:"oTransitionStart",msTransition:"MSTransitionStart"},animationstart:{animation:"animationstart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"mozAnimationStart",OAnimation:"oAnimationStart",msAnimation:"MSAnimationStart"}},Pn={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},Mn=[],Rn=[];function Nn(e,t,n){e.addEventListener(t,n,!1)}function jn(e,t,n){e.removeEventListener(t,n,!1)}"undefined"!=typeof window&&"undefined"!=typeof document&&function(){var e=document.createElement("div").style;function t(t,n){for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];for(var i in o)if(i in e){n.push(o[i]);break}}}"AnimationEvent"in window||(delete In.animationstart.animation,delete Pn.animationend.animation),"TransitionEvent"in window||(delete In.transitionstart.transition,delete Pn.transitionend.transition),t(In,Mn),t(Pn,Rn)}();var An=Rn,Ln=function(e,t){0!==Rn.length?Rn.forEach((function(n){Nn(e,n,t)})):window.setTimeout(t,0)},zn=function(e,t){0!==Rn.length&&Rn.forEach((function(n){jn(e,n,t)}))},Fn=n(257),Hn=n.n(Fn),Wn=0!==An.length,Gn=["Webkit","Moz","O","ms"],Un=["-webkit-","-moz-","-o-","ms-",""];function Bn(e,t){for(var n=window.getComputedStyle(e,null),r="",o=0;o<Un.length&&!(r=n.getPropertyValue(Un[o]+t));o++);return r}function Vn(e){if(Wn){var t=parseFloat(Bn(e,"transition-delay"))||0,n=parseFloat(Bn(e,"transition-duration"))||0,r=parseFloat(Bn(e,"animation-delay"))||0,o=parseFloat(Bn(e,"animation-duration"))||0,i=Math.max(n+t,o+r);e.rcEndAnimTimeout=setTimeout((function(){e.rcEndAnimTimeout=null,e.rcEndListener&&e.rcEndListener()}),1e3*i+200)}}function Kn(e){e.rcEndAnimTimeout&&(clearTimeout(e.rcEndAnimTimeout),e.rcEndAnimTimeout=null)}var qn=function(e,t,n){var r="object"===(void 0===t?"undefined":En()(t)),o=r?t.name:t,i=r?t.active:t+"-active",a=n,s=void 0,l=void 0,c=Hn()(e);return n&&"[object Object]"===Object.prototype.toString.call(n)&&(a=n.end,s=n.start,l=n.active),e.rcEndListener&&e.rcEndListener(),e.rcEndListener=function(t){t&&t.target!==e||(e.rcAnimTimeout&&(clearTimeout(e.rcAnimTimeout),e.rcAnimTimeout=null),Kn(e),c.remove(o),c.remove(i),zn(e,e.rcEndListener),e.rcEndListener=null,a&&a())},Ln(e,e.rcEndListener),s&&s(),c.add(o),e.rcAnimTimeout=setTimeout((function(){e.rcAnimTimeout=null,c.add(i),l&&setTimeout(l,0),Vn(e)}),30),{stop:function(){e.rcEndListener&&e.rcEndListener()}}};qn.style=function(e,t,n){e.rcEndListener&&e.rcEndListener(),e.rcEndListener=function(t){t&&t.target!==e||(e.rcAnimTimeout&&(clearTimeout(e.rcAnimTimeout),e.rcAnimTimeout=null),Kn(e),zn(e,e.rcEndListener),e.rcEndListener=null,n&&n())},Ln(e,e.rcEndListener),e.rcAnimTimeout=setTimeout((function(){for(var n in t)t.hasOwnProperty(n)&&(e.style[n]=t[n]);e.rcAnimTimeout=null,Vn(e)}),0)},qn.setTransition=function(e,t,n){var r=t,o=n;void 0===n&&(o=r,r=""),r=r||"",Gn.forEach((function(t){e.style[t+"Transition"+r]=o}))},qn.isCssAnimationSupported=Wn;var Yn=qn,Xn=function(e){return e.transitionName&&e.transitionAppear||e.animation.appear},Zn=function(e){return e.transitionName&&e.transitionEnter||e.animation.enter},$n=function(e){return e.transitionName&&e.transitionLeave||e.animation.leave},Jn=function(e){return e.transitionAppear||e.animation.appear},Qn=function(e){return e.transitionEnter||e.animation.enter},er=function(e){return e.transitionLeave||e.animation.leave},tr={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},nr=function(e){function t(){return He()(this,t),Ge()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return Be()(t,e),ht()(t,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(e){Zn(this.props)?this.transition("enter",e):e()}},{key:"componentWillAppear",value:function(e){Xn(this.props)?this.transition("appear",e):e()}},{key:"componentWillLeave",value:function(e){$n(this.props)?this.transition("leave",e):e()}},{key:"transition",value:function(e,t){var n=this,r=a.a.findDOMNode(this),o=this.props,i=o.transitionName,s="object"==typeof i;this.stop();var l=function(){n.stopper=null,t()};if((Wn||!o.animation[e])&&i&&o[tr[e]]){var c=s?i[e]:i+"-"+e,u=c+"-active";s&&i[e+"Active"]&&(u=i[e+"Active"]),this.stopper=Yn(r,{name:c,active:u},l)}else this.stopper=o.animation[e](r,l)}},{key:"stop",value:function(){var e=this.stopper;e&&(this.stopper=null,e.stop())}},{key:"render",value:function(){return this.props.children}}]),t}(o.a.Component);nr.propTypes={children:de.a.any,animation:de.a.any,transitionName:de.a.any};var rr=nr,or="rc_animate_"+Date.now();function ir(e){var t=e.children;return o.a.isValidElement(t)&&!t.key?o.a.cloneElement(t,{key:or}):t}function ar(){}var sr=function(e){function t(e){He()(this,t);var n=Ge()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return lr.call(n),n.currentlyAnimatingKeys={},n.keysToEnter=[],n.keysToLeave=[],n.state={children:xn(ir(e))},n.childrenRefs={},n}return Be()(t,e),ht()(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.showProp,n=this.state.children;t&&(n=n.filter((function(e){return!!e.props[t]}))),n.forEach((function(t){t&&e.performAppear(t.key)}))}},{key:"componentWillReceiveProps",value:function(e){var t=this;this.nextProps=e;var n=xn(ir(e)),r=this.props;r.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach((function(e){t.stop(e)}));var i,a,s,l,c=r.showProp,u=this.currentlyAnimatingKeys,d=r.exclusive?xn(ir(r)):this.state.children,f=[];c?(d.forEach((function(e){var t,r=e&&Tn(n,e.key);(t=r&&r.props[c]||!e.props[c]?r:o.a.cloneElement(r||e,On()({},c,!0)))&&f.push(t)})),n.forEach((function(e){e&&Tn(d,e.key)||f.push(e)}))):(i=n,a=[],s={},l=[],d.forEach((function(e){e&&Tn(i,e.key)?l.length&&(s[e.key]=l,l=[]):l.push(e)})),i.forEach((function(e){e&&Object.prototype.hasOwnProperty.call(s,e.key)&&(a=a.concat(s[e.key])),a.push(e)})),f=a=a.concat(l)),this.setState({children:f}),n.forEach((function(e){var n=e&&e.key;if(!e||!u[n]){var r=e&&Tn(d,n);if(c){var o=e.props[c];r?!kn(d,n,c)&&o&&t.keysToEnter.push(n):o&&t.keysToEnter.push(n)}else r||t.keysToEnter.push(n)}})),d.forEach((function(e){var r=e&&e.key;if(!e||!u[r]){var o=e&&Tn(n,r);if(c){var i=e.props[c];o?!kn(n,r,c)&&i&&t.keysToLeave.push(r):i&&t.keysToLeave.push(r)}else o||t.keysToLeave.push(r)}}))}},{key:"componentDidUpdate",value:function(){var e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(e,t){var n=this.props.showProp;return n?kn(e,t,n):Tn(e,t)}},{key:"stop",value:function(e){delete this.currentlyAnimatingKeys[e];var t=this.childrenRefs[e];t&&t.stop()}},{key:"render",value:function(){var e=this,t=this.props;this.nextProps=t;var n=this.state.children,r=null;n&&(r=n.map((function(n){if(null==n)return n;if(!n.key)throw new Error("must set key for <rc-animate> children");return o.a.createElement(rr,{key:n.key,ref:function(t){e.childrenRefs[n.key]=t},animation:t.animation,transitionName:t.transitionName,transitionEnter:t.transitionEnter,transitionAppear:t.transitionAppear,transitionLeave:t.transitionLeave},n)})));var i=t.component;if(i){var a=t;return"string"==typeof i&&(a=_e()({className:t.className,style:t.style},t.componentProps)),o.a.createElement(i,a,r)}return r[0]||null}}]),t}(o.a.Component);sr.isAnimate=!0,sr.propTypes={className:de.a.string,style:de.a.object,component:de.a.any,componentProps:de.a.object,animation:de.a.object,transitionName:de.a.oneOfType([de.a.string,de.a.object]),transitionEnter:de.a.bool,transitionAppear:de.a.bool,exclusive:de.a.bool,transitionLeave:de.a.bool,onEnd:de.a.func,onEnter:de.a.func,onLeave:de.a.func,onAppear:de.a.func,showProp:de.a.string,children:de.a.node},sr.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:ar,onEnter:ar,onLeave:ar,onAppear:ar};var lr=function(){var e=this;this.performEnter=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillEnter(e.handleDoneAdding.bind(e,t,"enter")))},this.performAppear=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillAppear(e.handleDoneAdding.bind(e,t,"appear")))},this.handleDoneAdding=function(t,n){var r=e.props;if(delete e.currentlyAnimatingKeys[t],!r.exclusive||r===e.nextProps){var o=xn(ir(r));e.isValidChildByKey(o,t)?"appear"===n?Jn(r)&&(r.onAppear(t),r.onEnd(t,!0)):Qn(r)&&(r.onEnter(t),r.onEnd(t,!0)):e.performLeave(t)}},this.performLeave=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillLeave(e.handleDoneLeaving.bind(e,t)))},this.handleDoneLeaving=function(t){var n=e.props;if(delete e.currentlyAnimatingKeys[t],!n.exclusive||n===e.nextProps){var r,o,i,a,s=xn(ir(n));if(e.isValidChildByKey(s,t))e.performEnter(t);else{var l=function(){er(n)&&(n.onLeave(t),n.onEnd(t,!1))};r=e.state.children,o=s,i=n.showProp,(a=r.length===o.length)&&r.forEach((function(e,t){var n=o[t];e&&n&&(e&&!n||!e&&n||e.key!==n.key||i&&e.props[i]!==n.props[i])&&(a=!1)})),a?l():e.setState({children:s},l)}}}},cr=function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");return"function"!=typeof t.componentWillReceiveProps?e:o.a.Profiler?(t.UNSAFE_componentWillReceiveProps=t.componentWillReceiveProps,delete t.componentWillReceiveProps,e):e}(sr),ur=n(258),dr=n.n(ur),fr=function(e){function t(){return He()(this,t),Ge()(this,e.apply(this,arguments))}return Be()(t,e),t.prototype.shouldComponentUpdate=function(e){return e.hiddenClassName||e.visible},t.prototype.render=function(){var e=this.props,t=e.hiddenClassName,n=e.visible,r=dr()(e,["hiddenClassName","visible"]);return t||o.a.Children.count(r.children)>1?(!n&&t&&(r.className+=" "+t),o.a.createElement("div",r)):o.a.Children.only(r.children)},t}(r.Component);fr.propTypes={children:de.a.any,className:de.a.string,visible:de.a.bool,hiddenClassName:de.a.string};var pr=fr,hr=function(e){function t(){return He()(this,t),Ge()(this,e.apply(this,arguments))}return Be()(t,e),t.prototype.render=function(){var e=this.props,t=e.className;return e.visible||(t+=" "+e.hiddenClassName),o.a.createElement("div",{className:t,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onMouseDown:e.onMouseDown,onTouchStart:e.onTouchStart,style:e.style},o.a.createElement(pr,{className:e.prefixCls+"-content",visible:e.visible},e.children))},t}(r.Component);hr.propTypes={hiddenClassName:de.a.string,className:de.a.string,prefixCls:de.a.string,onMouseEnter:de.a.func,onMouseLeave:de.a.func,onMouseDown:de.a.func,onTouchStart:de.a.func,children:de.a.any};var vr=hr,gr=function(e){function t(n){He()(this,t);var r=Ge()(this,e.call(this,n));return mr.call(r),r.state={stretchChecked:!1,targetWidth:void 0,targetHeight:void 0},r.savePopupRef=dt.bind(r,"popupInstance"),r.saveAlignRef=dt.bind(r,"alignInstance"),r}return Be()(t,e),t.prototype.componentDidMount=function(){this.rootNode=this.getPopupDomNode(),this.setStretchSize()},t.prototype.componentDidUpdate=function(){this.setStretchSize()},t.prototype.getPopupDomNode=function(){return a.a.findDOMNode(this.popupInstance)},t.prototype.getMaskTransitionName=function(){var e=this.props,t=e.maskTransitionName,n=e.maskAnimation;return!t&&n&&(t=e.prefixCls+"-"+n),t},t.prototype.getTransitionName=function(){var e=this.props,t=e.transitionName;return!t&&e.animation&&(t=e.prefixCls+"-"+e.animation),t},t.prototype.getClassName=function(e){return this.props.prefixCls+" "+this.props.className+" "+e},t.prototype.getPopupElement=function(){var e=this,t=this.savePopupRef,n=this.state,r=n.stretchChecked,i=n.targetHeight,a=n.targetWidth,s=this.props,l=s.align,c=s.visible,u=s.prefixCls,d=s.style,f=s.getClassNameFromAlign,p=s.destroyPopupOnHide,h=s.stretch,v=s.children,g=s.onMouseEnter,m=s.onMouseLeave,y=s.onMouseDown,b=s.onTouchStart,_=this.getClassName(this.currentAlignClassName||f(l)),w=u+"-hidden";c||(this.currentAlignClassName=null);var S={};h&&(-1!==h.indexOf("height")?S.height=i:-1!==h.indexOf("minHeight")&&(S.minHeight=i),-1!==h.indexOf("width")?S.width=a:-1!==h.indexOf("minWidth")&&(S.minWidth=a),r||(S.visibility="hidden",setTimeout((function(){e.alignInstance&&e.alignInstance.forceAlign()}),0)));var C={className:_,prefixCls:u,ref:t,onMouseEnter:g,onMouseLeave:m,onMouseDown:y,onTouchStart:b,style:_e()({},S,d,this.getZIndexStyle())};return p?o.a.createElement(cr,{component:"",exclusive:!0,transitionAppear:!0,transitionName:this.getTransitionName()},c?o.a.createElement(Sn,{target:this.getAlignTarget(),key:"popup",ref:this.saveAlignRef,monitorWindowResize:!0,align:l,onAlign:this.onAlign},o.a.createElement(vr,_e()({visible:!0},C),v)):null):o.a.createElement(cr,{component:"",exclusive:!0,transitionAppear:!0,transitionName:this.getTransitionName(),showProp:"xVisible"},o.a.createElement(Sn,{target:this.getAlignTarget(),key:"popup",ref:this.saveAlignRef,monitorWindowResize:!0,xVisible:c,childrenProps:{visible:"xVisible"},disabled:!c,align:l,onAlign:this.onAlign},o.a.createElement(vr,_e()({hiddenClassName:w},C),v)))},t.prototype.getZIndexStyle=function(){var e={},t=this.props;return void 0!==t.zIndex&&(e.zIndex=t.zIndex),e},t.prototype.getMaskElement=function(){var e=this.props,t=void 0;if(e.mask){var n=this.getMaskTransitionName();t=o.a.createElement(pr,{style:this.getZIndexStyle(),key:"mask",className:e.prefixCls+"-mask",hiddenClassName:e.prefixCls+"-mask-hidden",visible:e.visible}),n&&(t=o.a.createElement(cr,{key:"mask",showProp:"visible",transitionAppear:!0,component:"",transitionName:n},t))}return t},t.prototype.render=function(){return o.a.createElement("div",null,this.getMaskElement(),this.getPopupElement())},t}(r.Component);gr.propTypes={visible:de.a.bool,style:de.a.object,getClassNameFromAlign:de.a.func,onAlign:de.a.func,getRootDomNode:de.a.func,align:de.a.any,destroyPopupOnHide:de.a.bool,className:de.a.string,prefixCls:de.a.string,onMouseEnter:de.a.func,onMouseLeave:de.a.func,onMouseDown:de.a.func,onTouchStart:de.a.func,stretch:de.a.string,children:de.a.node,point:de.a.shape({pageX:de.a.number,pageY:de.a.number})};var mr=function(){var e=this;this.onAlign=function(t,n){var r=e.props,o=r.getClassNameFromAlign(n);e.currentAlignClassName!==o&&(e.currentAlignClassName=o,t.className=e.getClassName(o)),r.onAlign(t,n)},this.setStretchSize=function(){var t=e.props,n=t.stretch,r=t.getRootDomNode,o=t.visible,i=e.state,a=i.stretchChecked,s=i.targetHeight,l=i.targetWidth;if(n&&o){var c=r();if(c){var u=c.offsetHeight,d=c.offsetWidth;s===u&&l===d&&a||e.setState({stretchChecked:!0,targetHeight:u,targetWidth:d})}}else a&&e.setState({stretchChecked:!1})},this.getTargetElement=function(){return e.props.getRootDomNode()},this.getAlignTarget=function(){return e.props.point||e.getTargetElement}},yr=gr;function br(){}var _r=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"],wr=!!i.createPortal,Sr={rcTrigger:de.a.shape({onPopupMouseDown:de.a.func})},Cr=function(e){function t(n){He()(this,t);var r=Ge()(this,e.call(this,n));Or.call(r);var o;return o="popupVisible"in n?!!n.popupVisible:!!n.defaultPopupVisible,r.state={prevPopupVisible:o,popupVisible:o},_r.forEach((function(e){r["fire"+e]=function(t){r.fireEvents(e,t)}})),r}return Be()(t,e),t.prototype.getChildContext=function(){return{rcTrigger:{onPopupMouseDown:this.onPopupMouseDown}}},t.prototype.componentDidMount=function(){this.componentDidUpdate({},{popupVisible:this.state.popupVisible})},t.prototype.componentDidUpdate=function(e,t){var n=this.props,r=this.state;if(wr||this.renderComponent(null,(function(){t.popupVisible!==r.popupVisible&&n.afterPopupVisibleChange(r.popupVisible)})),r.popupVisible){var o=void 0;return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(o=n.getDocument(),this.clickOutsideHandler=Xe(o,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(o=o||n.getDocument(),this.touchOutsideHandler=Xe(o,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(o=o||n.getDocument(),this.contextMenuOutsideHandler1=Xe(o,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Xe(window,"blur",this.onContextMenuClose)))}this.clearOutsideHandler()},t.prototype.componentWillUnmount=function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)},t.getDerivedStateFromProps=function(e,t){var n=e.popupVisible,r={};return void 0!==n&&t.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=t.popupVisible),r},t.prototype.getPopupDomNode=function(){return this._component&&this._component.getPopupDomNode?this._component.getPopupDomNode():null},t.prototype.getPopupAlign=function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?function(e,t,n){var r=e[t]||{};return _e()({},r,n)}(r,t,n):n},t.prototype.setPopupVisible=function(e,t){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:r}),this.props.onPopupVisibleChange(e)),n&&t&&this.setPoint(t)},t.prototype.delaySetPopupVisible=function(e,t,n){var r=this,o=1e3*t;if(this.clearDelayTimer(),o){var i=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=setTimeout((function(){r.setPopupVisible(e,i),r.clearDelayTimer()}),o)}else this.setPopupVisible(e,n)},t.prototype.clearDelayTimer=function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},t.prototype.clearOutsideHandler=function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},t.prototype.createTwoChains=function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire"+e]:t[e]||n[e]},t.prototype.isClickToShow=function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")},t.prototype.isContextMenuToShow=function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")},t.prototype.isClickToHide=function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")},t.prototype.isMouseEnterToShow=function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")},t.prototype.isMouseLeaveToHide=function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")},t.prototype.isFocusToShow=function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")},t.prototype.isBlurToHide=function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")},t.prototype.forcePopupAlign=function(){this.state.popupVisible&&this._component&&this._component.alignInstance&&this._component.alignInstance.forceAlign()},t.prototype.fireEvents=function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)},t.prototype.close=function(){this.setPopupVisible(!1)},t.prototype.render=function(){var e=this,t=this.state.popupVisible,n=this.props,r=n.children,i=n.forceRender,a=n.alignPoint,s=n.className,l=o.a.Children.only(r),c={key:"trigger"};this.isContextMenuToShow()?c.onContextMenu=this.onContextMenu:c.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(c.onClick=this.onClick,c.onMouseDown=this.onMouseDown,c.onTouchStart=this.onTouchStart):(c.onClick=this.createTwoChains("onClick"),c.onMouseDown=this.createTwoChains("onMouseDown"),c.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(c.onMouseEnter=this.onMouseEnter,a&&(c.onMouseMove=this.onMouseMove)):c.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?c.onMouseLeave=this.onMouseLeave:c.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(c.onFocus=this.onFocus,c.onBlur=this.onBlur):(c.onFocus=this.createTwoChains("onFocus"),c.onBlur=this.createTwoChains("onBlur"));var u=De()(l&&l.props&&l.props.className,s);u&&(c.className=u);var d=o.a.cloneElement(l,c);if(!wr)return o.a.createElement(nt,{parent:this,visible:t,autoMount:!1,forceRender:i,getComponent:this.getComponent,getContainer:this.getContainer},(function(t){var n=t.renderComponent;return e.renderComponent=n,d}));var f=void 0;return(t||this._component||i)&&(f=o.a.createElement(ct,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),[d,f]},t}(o.a.Component);Cr.propTypes={children:de.a.any,action:de.a.oneOfType([de.a.string,de.a.arrayOf(de.a.string)]),showAction:de.a.any,hideAction:de.a.any,getPopupClassNameFromAlign:de.a.any,onPopupVisibleChange:de.a.func,afterPopupVisibleChange:de.a.func,popup:de.a.oneOfType([de.a.node,de.a.func]).isRequired,popupStyle:de.a.object,prefixCls:de.a.string,popupClassName:de.a.string,className:de.a.string,popupPlacement:de.a.string,builtinPlacements:de.a.object,popupTransitionName:de.a.oneOfType([de.a.string,de.a.object]),popupAnimation:de.a.any,mouseEnterDelay:de.a.number,mouseLeaveDelay:de.a.number,zIndex:de.a.number,focusDelay:de.a.number,blurDelay:de.a.number,getPopupContainer:de.a.func,getDocument:de.a.func,forceRender:de.a.bool,destroyPopupOnHide:de.a.bool,mask:de.a.bool,maskClosable:de.a.bool,onPopupAlign:de.a.func,popupAlign:de.a.object,popupVisible:de.a.bool,defaultPopupVisible:de.a.bool,maskTransitionName:de.a.oneOfType([de.a.string,de.a.object]),maskAnimation:de.a.string,stretch:de.a.string,alignPoint:de.a.bool},Cr.contextTypes=Sr,Cr.childContextTypes=Sr,Cr.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:function(){return""},getDocument:function(){return window.document},onPopupVisibleChange:br,afterPopupVisibleChange:br,onPopupAlign:br,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[]};var Or=function(){var e=this;this.onMouseEnter=function(t){var n=e.props.mouseEnterDelay;e.fireEvents("onMouseEnter",t),e.delaySetPopupVisible(!0,n,n?null:t)},this.onMouseMove=function(t){e.fireEvents("onMouseMove",t),e.setPoint(t)},this.onMouseLeave=function(t){e.fireEvents("onMouseLeave",t),e.delaySetPopupVisible(!1,e.props.mouseLeaveDelay)},this.onPopupMouseEnter=function(){e.clearDelayTimer()},this.onPopupMouseLeave=function(t){t.relatedTarget&&!t.relatedTarget.setTimeout&&e._component&&e._component.getPopupDomNode&&Ke(e._component.getPopupDomNode(),t.relatedTarget)||e.delaySetPopupVisible(!1,e.props.mouseLeaveDelay)},this.onFocus=function(t){e.fireEvents("onFocus",t),e.clearDelayTimer(),e.isFocusToShow()&&(e.focusTime=Date.now(),e.delaySetPopupVisible(!0,e.props.focusDelay))},this.onMouseDown=function(t){e.fireEvents("onMouseDown",t),e.preClickTime=Date.now()},this.onTouchStart=function(t){e.fireEvents("onTouchStart",t),e.preTouchTime=Date.now()},this.onBlur=function(t){e.fireEvents("onBlur",t),e.clearDelayTimer(),e.isBlurToHide()&&e.delaySetPopupVisible(!1,e.props.blurDelay)},this.onContextMenu=function(t){t.preventDefault(),e.fireEvents("onContextMenu",t),e.setPopupVisible(!0,t)},this.onContextMenuClose=function(){e.isContextMenuToShow()&&e.close()},this.onClick=function(t){if(e.fireEvents("onClick",t),e.focusTime){var n=void 0;if(e.preClickTime&&e.preTouchTime?n=Math.min(e.preClickTime,e.preTouchTime):e.preClickTime?n=e.preClickTime:e.preTouchTime&&(n=e.preTouchTime),Math.abs(n-e.focusTime)<20)return;e.focusTime=0}e.preClickTime=0,e.preTouchTime=0,e.isClickToShow()&&(e.isClickToHide()||e.isBlurToHide())&&t&&t.preventDefault&&t.preventDefault();var r=!e.state.popupVisible;(e.isClickToHide()&&!r||r&&e.isClickToShow())&&e.setPopupVisible(!e.state.popupVisible,t)},this.onPopupMouseDown=function(){var t=e.context.rcTrigger,n=void 0===t?{}:t;e.hasPopupMouseDown=!0,clearTimeout(e.mouseDownTimeout),e.mouseDownTimeout=setTimeout((function(){e.hasPopupMouseDown=!1}),0),n.onPopupMouseDown&&n.onPopupMouseDown.apply(n,arguments)},this.onDocumentClick=function(t){if(!e.props.mask||e.props.maskClosable){var n=t.target;Ke(Object(i.findDOMNode)(e),n)||e.hasPopupMouseDown||e.close()}},this.getRootDomNode=function(){return Object(i.findDOMNode)(e)},this.getPopupClassNameFromAlign=function(t){var n=[],r=e.props,o=r.popupPlacement,i=r.builtinPlacements,a=r.prefixCls,s=r.alignPoint,l=r.getPopupClassNameFromAlign;return o&&i&&n.push(function(e,t,n,r){var o=n.points;for(var i in e)if(e.hasOwnProperty(i)&&ut(e[i].points,o,r))return t+"-placement-"+i;return""}(i,a,t,s)),l&&n.push(l(t)),n.join(" ")},this.getComponent=function(){var t=e.props,n=t.prefixCls,r=t.destroyPopupOnHide,i=t.popupClassName,a=t.action,s=t.onPopupAlign,l=t.popupAnimation,c=t.popupTransitionName,u=t.popupStyle,d=t.mask,f=t.maskAnimation,p=t.maskTransitionName,h=t.zIndex,v=t.popup,g=t.stretch,m=t.alignPoint,y=e.state,b=y.popupVisible,_=y.point,w=e.getPopupAlign(),S={};return e.isMouseEnterToShow()&&(S.onMouseEnter=e.onPopupMouseEnter),e.isMouseLeaveToHide()&&(S.onMouseLeave=e.onPopupMouseLeave),S.onMouseDown=e.onPopupMouseDown,S.onTouchStart=e.onPopupMouseDown,o.a.createElement(yr,_e()({prefixCls:n,destroyPopupOnHide:r,visible:b,point:m&&_,className:i,action:a,align:w,onAlign:s,animation:l,getClassNameFromAlign:e.getPopupClassNameFromAlign},S,{stretch:g,getRootDomNode:e.getRootDomNode,style:u,mask:d,zIndex:h,transitionName:c,maskAnimation:f,maskTransitionName:p,ref:e.savePopup}),"function"==typeof v?v():v)},this.getContainer=function(){var t=e.props,n=document.createElement("div");return n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",(t.getPopupContainer?t.getPopupContainer(Object(i.findDOMNode)(e)):t.getDocument().body).appendChild(n),n},this.setPoint=function(t){e.props.alignPoint&&t&&e.setState({point:{pageX:t.pageX,pageY:t.pageY}})},this.handlePortalUpdate=function(){e.state.prevPopupVisible!==e.state.popupVisible&&e.props.afterPopupVisibleChange(e.state.popupVisible)},this.savePopup=function(t){e._component=t}};Object(Ve.polyfill)(Cr);var xr=Cr,Tr=Se()({displayName:"SubPopupMenu",propTypes:{onSelect:de.a.func,onClick:de.a.func,onDeselect:de.a.func,onOpenChange:de.a.func,onDestroy:de.a.func,openTransitionName:de.a.string,openAnimation:de.a.oneOfType([de.a.string,de.a.object]),openKeys:de.a.arrayOf(de.a.string),visible:de.a.bool,children:de.a.any},mixins:[Le],getInitialState:function(){var e,t=this.props;return t.store.setState({activeKey:_e()({},t.store.getState().activeKey,(e={},e[t.eventKey]=je(t,t.activeKey),e))}),{}},componentDidMount:function(){this.props.manualRef&&this.props.manualRef(this)},onDeselect:function(e){this.props.onDeselect(e)},onSelect:function(e){this.props.onSelect(e)},onClick:function(e){this.props.onClick(e)},onOpenChange:function(e){this.props.onOpenChange(e)},onDestroy:function(e){this.props.onDestroy(e)},getOpenTransitionName:function(){return this.props.openTransitionName},renderMenuItem:function(e,t,n,r){if(!e)return null;var o=this.props,i={openKeys:o.openKeys,selectedKeys:o.selectedKeys,triggerSubMenuAction:o.triggerSubMenuAction,subMenuKey:r};return this.renderCommonMenuItem(e,t,n,i)},render:function(){var e=_e()({},this.props),t=this.haveRendered;if(this.haveRendered=!0,this.haveOpened=this.haveOpened||e.visible||e.forceSubMenuRender,!this.haveOpened)return null;var n=!(!t&&e.visible&&"inline"===e.mode);e.className+=" "+e.prefixCls+"-sub";var r={};return e.openTransitionName?r.transitionName=e.openTransitionName:"object"==typeof e.openAnimation&&(r.animation=_e()({},e.openAnimation),n||delete r.animation.appear),o.a.createElement(cr,_e()({},r,{showProp:"visible",component:"",transitionAppear:n}),this.renderRoot(e))}}),kr=Object(Ce.connect)()(Tr),Dr={adjustX:1,adjustY:1},Er={topLeft:{points:["bl","tl"],overflow:Dr,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Dr,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Dr,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Dr,offset:[4,0]}},Ir=0,Pr={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Mr=function(e,t,n){var r,o=Pe(t),i=e.getState();e.setState({defaultActiveFirst:_e()({},i.defaultActiveFirst,(r={},r[o]=n,r))})},Rr=Se()({displayName:"SubMenu",propTypes:{parentMenu:de.a.object,title:de.a.node,children:de.a.any,selectedKeys:de.a.array,openKeys:de.a.array,onClick:de.a.func,onOpenChange:de.a.func,rootPrefixCls:de.a.string,eventKey:de.a.string,multiple:de.a.bool,active:de.a.bool,onItemHover:de.a.func,onSelect:de.a.func,triggerSubMenuAction:de.a.string,onDeselect:de.a.func,onDestroy:de.a.func,onMouseEnter:de.a.func,onMouseLeave:de.a.func,onTitleMouseEnter:de.a.func,onTitleMouseLeave:de.a.func,onTitleClick:de.a.func,isOpen:de.a.bool},isRootMenu:!1,getDefaultProps:function(){return{onMouseEnter:Ee,onMouseLeave:Ee,onTitleMouseEnter:Ee,onTitleMouseLeave:Ee,onTitleClick:Ee,title:""}},getInitialState:function(){this.isSubMenu=1;var e=this.props,t=e.store,n=e.eventKey,r=t.getState().defaultActiveFirst,o=!1;return r&&(o=r[n]),Mr(t,n,o),{}},componentDidMount:function(){this.componentDidUpdate(),this.props.manualRef&&this.props.manualRef(this)},componentDidUpdate:function(){var e=this,t=this.props,n=t.mode,r=t.parentMenu;"horizontal"===n&&r.isRootMenu&&this.props.isOpen&&(this.minWidthTimeout=setTimeout((function(){if(e.subMenuTitle&&e.menuInstance){var t=a.a.findDOMNode(e.menuInstance);t.offsetWidth>=e.subMenuTitle.offsetWidth||(t.style.minWidth=e.subMenuTitle.offsetWidth+"px")}}),0))},componentWillUnmount:function(){var e=this.props,t=e.onDestroy,n=e.eventKey;t&&t(n),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)},onDestroy:function(e){this.props.onDestroy(e)},onKeyDown:function(e){var t=e.keyCode,n=this.menuInstance,r=this.props,o=r.isOpen,i=r.store;if(t===xe.ENTER)return this.onTitleClick(e),Mr(i,this.props.eventKey,!0),!0;if(t===xe.RIGHT)return o?n.onKeyDown(e):(this.triggerOpenChange(!0),Mr(i,this.props.eventKey,!0)),!0;if(t===xe.LEFT){var a=void 0;if(!o)return;return(a=n.onKeyDown(e))||(this.triggerOpenChange(!1),a=!0),a}return!o||t!==xe.UP&&t!==xe.DOWN?void 0:n.onKeyDown(e)},onOpenChange:function(e){this.props.onOpenChange(e)},onPopupVisibleChange:function(e){this.triggerOpenChange(e,e?"mouseenter":"mouseleave")},onMouseEnter:function(e){var t=this.props,n=t.eventKey,r=t.onMouseEnter,o=t.store;Mr(o,this.props.eventKey,!1),r({key:n,domEvent:e})},onMouseLeave:function(e){var t=this.props,n=t.parentMenu,r=t.eventKey,o=t.onMouseLeave;n.subMenuInstance=this,o({key:r,domEvent:e})},onTitleMouseEnter:function(e){var t=this.props,n=t.eventKey,r=t.onItemHover,o=t.onTitleMouseEnter;r({key:n,hover:!0}),o({key:n,domEvent:e})},onTitleMouseLeave:function(e){var t=this.props,n=t.parentMenu,r=t.eventKey,o=t.onItemHover,i=t.onTitleMouseLeave;n.subMenuInstance=this,o({key:r,hover:!1}),i({key:r,domEvent:e})},onTitleClick:function(e){var t=this.props;t.onTitleClick({key:t.eventKey,domEvent:e}),"hover"!==t.triggerSubMenuAction&&(this.triggerOpenChange(!t.isOpen,"click"),Mr(t.store,this.props.eventKey,!1))},onSubMenuClick:function(e){this.props.onClick(this.addKeyPath(e))},onSelect:function(e){this.props.onSelect(e)},onDeselect:function(e){this.props.onDeselect(e)},getPrefixCls:function(){return this.props.rootPrefixCls+"-submenu"},getActiveClassName:function(){return this.getPrefixCls()+"-active"},getDisabledClassName:function(){return this.getPrefixCls()+"-disabled"},getSelectedClassName:function(){return this.getPrefixCls()+"-selected"},getOpenClassName:function(){return this.props.rootPrefixCls+"-submenu-open"},saveMenuInstance:function(e){this.menuInstance=e},addKeyPath:function(e){return _e()({},e,{keyPath:(e.keyPath||[]).concat(this.props.eventKey)})},triggerOpenChange:function(e,t){var n=this,r=this.props.eventKey,o=function(){n.onOpenChange({key:r,item:n,trigger:t,open:e})};"mouseenter"===t?this.mouseenterTimeout=setTimeout((function(){o()}),0):o()},isChildrenSelected:function(){var e={find:!1};return function e(t,n,r){t&&!r.find&&o.a.Children.forEach(t,(function(t){if(!r.find&&t){var o=t.type;if(!o||!(o.isSubMenu||o.isMenuItem||o.isMenuItemGroup))return;-1!==n.indexOf(t.key)?r.find=!0:t.props.children&&e(t.props.children,n,r)}}))}(this.props.children,this.props.selectedKeys,e),e.find},isOpen:function(){return-1!==this.props.openKeys.indexOf(this.props.eventKey)},renderChildren:function(e){var t=this.props,n={mode:"horizontal"===t.mode?"vertical":t.mode,visible:this.props.isOpen,level:t.level+1,inlineIndent:t.inlineIndent,focusable:!1,onClick:this.onSubMenuClick,onSelect:this.onSelect,onDeselect:this.onDeselect,onDestroy:this.onDestroy,selectedKeys:t.selectedKeys,eventKey:t.eventKey+"-menu-",openKeys:t.openKeys,openTransitionName:t.openTransitionName,openAnimation:t.openAnimation,onOpenChange:this.onOpenChange,subMenuOpenDelay:t.subMenuOpenDelay,subMenuCloseDelay:t.subMenuCloseDelay,forceSubMenuRender:t.forceSubMenuRender,triggerSubMenuAction:t.triggerSubMenuAction,defaultActiveFirst:t.store.getState().defaultActiveFirst[Pe(t.eventKey)],multiple:t.multiple,prefixCls:t.rootPrefixCls,id:this._menuId,manualRef:this.saveMenuInstance};return o.a.createElement(kr,n,e)},saveSubMenuTitle:function(e){this.subMenuTitle=e},render:function(){var e,t=this.props,n=t.isOpen,r=this.getPrefixCls(),i="inline"===t.mode,a=De()(r,r+"-"+t.mode,((e={})[t.className]=!!t.className,e[this.getOpenClassName()]=n,e[this.getActiveClassName()]=t.active||n&&!i,e[this.getDisabledClassName()]=t.disabled,e[this.getSelectedClassName()]=this.isChildrenSelected(),e));this._menuId||(t.eventKey?this._menuId=t.eventKey+"$Menu":this._menuId="$__$"+ ++Ir+"$Menu");var s={},l={},c={};t.disabled||(s={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},l={onClick:this.onTitleClick},c={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var u={};i&&(u.paddingLeft=t.inlineIndent*t.level);var d=o.a.createElement("div",_e()({ref:this.saveSubMenuTitle,style:u,className:r+"-title"},c,l,{"aria-expanded":n,"aria-owns":this._menuId,"aria-haspopup":"true",title:"string"==typeof t.title?t.title:void 0}),t.title,o.a.createElement("i",{className:r+"-arrow"})),f=this.renderChildren(t.children),p=t.parentMenu.isRootMenu?t.parentMenu.props.getPopupContainer:function(e){return e.parentNode},h=Pr[t.mode],v="inline"===t.mode?"":t.popupClassName;return o.a.createElement("li",_e()({},s,{className:a,style:t.style}),i&&d,i&&f,!i&&o.a.createElement(xr,{prefixCls:r,popupClassName:r+"-popup "+v,getPopupContainer:p,builtinPlacements:Er,popupPlacement:h,popupVisible:n,popup:f,action:t.disabled?[]:[t.triggerSubMenuAction],mouseEnterDelay:t.subMenuOpenDelay,mouseLeaveDelay:t.subMenuCloseDelay,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:t.forceSubMenuRender},d))}});Rr.isSubMenu=1;var Nr=Object(Ce.connect)((function(e,t){var n=e.openKeys,r=e.activeKey,o=t.eventKey,i=t.subMenuKey;return{isOpen:n.indexOf(o)>-1,active:r[i]===o}}))(Rr),jr=n(259),Ar=n.n(jr),Lr=Se()({displayName:"MenuItem",propTypes:{rootPrefixCls:de.a.string,eventKey:de.a.string,active:de.a.bool,children:de.a.any,selectedKeys:de.a.array,disabled:de.a.bool,title:de.a.string,onItemHover:de.a.func,onSelect:de.a.func,onClick:de.a.func,onDeselect:de.a.func,parentMenu:de.a.object,onDestroy:de.a.func,onMouseEnter:de.a.func,onMouseLeave:de.a.func},getDefaultProps:function(){return{onSelect:Ee,onMouseEnter:Ee,onMouseLeave:Ee}},componentWillUnmount:function(){var e=this.props;e.onDestroy&&e.onDestroy(e.eventKey)},componentDidMount:function(){this.callRef()},componentDidUpdate:function(){this.props.active&&Ar()(a.a.findDOMNode(this),a.a.findDOMNode(this.props.parentMenu),{onlyScrollIfNeeded:!0}),this.callRef()},onKeyDown:function(e){if(e.keyCode===xe.ENTER)return this.onClick(e),!0},onMouseLeave:function(e){var t=this.props,n=t.eventKey,r=t.onItemHover,o=t.onMouseLeave;r({key:n,hover:!1}),o({key:n,domEvent:e})},onMouseEnter:function(e){var t=this.props,n=t.eventKey,r=t.onItemHover,o=t.onMouseEnter;r({key:n,hover:!0}),o({key:n,domEvent:e})},onClick:function(e){var t=this.props,n=t.eventKey,r=t.multiple,o=t.onClick,i=t.onSelect,a=t.onDeselect,s=t.isSelected,l={key:n,keyPath:[n],item:this,domEvent:e};o(l),r?s?a(l):i(l):s||i(l)},getPrefixCls:function(){return this.props.rootPrefixCls+"-item"},getActiveClassName:function(){return this.getPrefixCls()+"-active"},getSelectedClassName:function(){return this.getPrefixCls()+"-selected"},getDisabledClassName:function(){return this.getPrefixCls()+"-disabled"},callRef:function(){this.props.manualRef&&this.props.manualRef(this)},render:function(){var e,t=this.props,n=De()(this.getPrefixCls(),t.className,((e={})[this.getActiveClassName()]=!t.disabled&&t.active,e[this.getSelectedClassName()]=t.isSelected,e[this.getDisabledClassName()]=t.disabled,e)),r=_e()({},t.attribute,{title:t.title,className:n,role:"menuitem","aria-selected":t.isSelected,"aria-disabled":t.disabled}),i={};t.disabled||(i={onClick:this.onClick,onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter});var a=_e()({},t.style);return"inline"===t.mode&&(a.paddingLeft=t.inlineIndent*t.level),o.a.createElement("li",_e()({},r,i,{style:a}),t.children)}});Lr.isMenuItem=1;var zr=Object(Ce.connect)((function(e,t){var n=e.activeKey,r=e.selectedKeys,o=t.eventKey;return{active:n[t.subMenuKey]===o,isSelected:-1!==r.indexOf(o)}}))(Lr);Se()({displayName:"MenuItemGroup",propTypes:{renderMenuItem:de.a.func,index:de.a.number,className:de.a.string,rootPrefixCls:de.a.string},getDefaultProps:function(){return{disabled:!0}},renderInnerMenuItem:function(e,t){var n=this.props;return(0,n.renderMenuItem)(e,n.index,t,this.props.subMenuKey)},render:function(){var e=this.props,t=e.className,n=void 0===t?"":t,r=e.rootPrefixCls,i=r+"-item-group-title",a=r+"-item-group-list";return o.a.createElement("li",{className:n+" "+r+"-item-group"},o.a.createElement("div",{className:i,title:"string"==typeof e.title?e.title:void 0},e.title),o.a.createElement("ul",{className:a},o.a.Children.map(e.children,this.renderInnerMenuItem)))}}).isMenuItemGroup=!0;var Fr=function(e){function t(){return He()(this,t),Ge()(this,e.apply(this,arguments))}return Be()(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=void 0===t?"":t,r=e.rootPrefixCls;return o.a.createElement("li",{className:n+" "+r+"-item-divider"})},t}(o.a.Component);Fr.propTypes={className:de.a.string,rootPrefixCls:de.a.string},Fr.defaultProps={disabled:!0};var Hr=ze,Wr=(n(62),{InputItemOptions:"InputItemOptions___tUHoF",InputItemButtons:"InputItemButtons___+euIA",InputItemButton:"InputItemButton___H9vF2",InputItemButtonDisabled:"InputItemButtonDisabled___qebKo",InputItemTypeSelect:"InputItemTypeSelect___XZYS0","rc-menu":"rc-menu___ObcjS"});function Gr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Br(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ur(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Vr=Br({},window.wp.i18n).__,Kr=Br({},window.wp.data).dispatch,qr=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(e){var t;return l()(this,i),(t=r.call(this,e)).state={key:"",openKeys:[]},t}return u()(i,[{key:"renderMenuItem",value:function(e){for(var t=this,n=window.cf7svisual.addons?window.cf7svisual.addons.get("menu").map((function(t){return t(e)})):"",r=e.rowInfo.node.cf7sType,i=[],a=0;a<n.length;a++)n[a]&&n[a].types.indexOf(r)>-1&&i.push(n[a]);if(!i.length)return!1;for(var s=i.map((function(e,n){return o.a.createElement(Nr,{key:e.key,title:e.title,onTitleClick:function(e){return t.onTitleClick(e)}},e.items.map((function(e,t){return o.a.createElement(zr,{disabled:e.disabled,key:e.value},e.label)})))})),l={},c=0;c<i.length;c++)l[i[c].key]=i[c].multiple;var u=e.rowInfo.node[this.state.key],d=u instanceof Array?u:[u];return o.a.createElement(Hr,{multiple:!1,mode:"horizontal",triggerSubMenuAction:"click",className:Wr["rc-menu"],getPopupContainer:function(){return document.getElementById("tab-visual")},onClick:function(n){return t.onClick(n,l,e)},selectedKeys:d,onOpenChange:function(e){return t.onOpenChange(e)},openKeys:this.state.openKeys},o.a.createElement(Nr,{className:Wr.InputItemMenu,key:"0"},s))}},{key:"onTitleClick",value:function(e){this.setState({key:e.key})}},{key:"onClick",value:function(e,t,n){var r=e.keyPath,o={};o.name=r[1],o.index=r[0],o.multiple=t[r[1]],(0,Kr("cf7svisual").clickMenu)(n.rowInfo,o)}},{key:"onOpenChange",value:function(e){e.length?this.setState({openKeys:e}):this.setState({openKeys:[]})}},{key:"clickMenuButton",value:function(e){this.state.openKeys.length||this.setState({openKeys:["0"]}),(0,Kr("cf7svisual").clickMenu)(e.rowInfo,null)}},{key:"hasEdit",value:function(e){if(["list-ol","list-li"].indexOf(e.cf7sType)>-1){if(window.cf7svisual.addons){var t=window.cf7svisual.addons.get("edit");if(t){var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Gr(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gr(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.types&&o.types.indexOf(e.cf7sType)>-1)return Wr.InputItemButton}}catch(e){r.e(e)}finally{r.f()}}}return Wr.InputItemButtonDisabled}var i=!1;return k.cf7sItems.forEach((function(t){t.cf7sType&&t.cf7sType===e.cf7sType&&(i=!0)})),i?Wr.InputItemButton:Wr.InputItemButtonDisabled}},{key:"hasDuplicate",value:function(e){if(["submit","recaptcha"].indexOf(e.cf7sType)>-1)return Wr.InputItemButtonDisabled;var t=!1;return k.cf7sItems.forEach((function(n){n.cf7sType&&n.cf7sType===e.cf7sType&&(t=!0)})),t?Wr.InputItemButton:Wr.InputItemButtonDisabled}},{key:"render",value:function(){var e=this,t=this.props,n=Object(k.getVisualVar)("versions"),r=n&&n.cf7?n.cf7:"0",i=!!this.renderMenuItem(t),a=-1!==Z()(k.cf7sItems).filter((function(e){return"cf7Tag"===e.cf7sSelectGroup})).map((function(e,t){return e.cf7sType})).indexOf(t.rowInfo.node.cf7sType);"acceptance"===t.rowInfo.node.cf7sType&&Object(k.versionCompare)(r,"5.0.3")&&(t.rowInfo.node.cf7DefaultOn=!1,t.rowInfo.node.cf7Invert=!1);var s=Kr("cf7svisual"),l=s.editNode,c=s.duplicateNode,u=s.deleteNode,d=s.changeNodeType;return o.a.createElement("div",{className:Wr.InputItemOptions},!!a&&o.a.createElement(Q,{className:Wr.InputItemTypeSelect,treeData:window.cf7svisual.treeData||t.treeData,shortText:!0,node:t.rowInfo.node,onChange:function(e){return d(e,t.rowInfo)}}),o.a.createElement("div",{className:Wr.InputItemButtons},o.a.createElement("button",{onClick:function(){return l(t.rowInfo)},className:this.hasEdit(t.rowInfo.node),"data-balloon":Vr("edit","contact-form-7-skins"),"data-balloon-pos":"up"},o.a.createElement("span",{className:"dashicons dashicons-welcome-write-blog"})),o.a.createElement("button",{onClick:function(){return c(t.rowInfo)},className:this.hasDuplicate(t.rowInfo.node),"data-balloon":Vr("duplicate","contact-form-7-skins"),"data-balloon-pos":"up"},o.a.createElement("span",{className:"dashicons dashicons-admin-page"})),o.a.createElement("button",{onClick:function(){return u(t.rowInfo)},className:Wr.InputItemButton,"data-balloon":Vr("delete","contact-form-7-skins"),"data-balloon-pos":"up"},o.a.createElement("span",{className:"dashicons dashicons-dismiss"})),i&&o.a.createElement("button",{onClick:function(){return e.clickMenuButton(t)},className:Wr.InputItemButton,"data-balloon":Vr("Add-on options","contact-form-7-skins"),"data-balloon-pos":"up"},o.a.createElement("span",{className:"dashicons dashicons-arrow-down-alt2"}),!!this.state.openKeys.length&&this.renderMenuItem(t))))}}]),i}(r.Component);function Yr(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 Xr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yr(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zr=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){var e=Xr({},window.wp.data),t=e.dispatch,n=Xr({},(0,e.select)("cf7svisual").getStates()),r=n.treeData,i=n.rowInfo,a=t("cf7svisual").onChangeTreeData;return o.a.createElement("div",{className:"Items___mw7nO"},o.a.createElement($.SortableTreeWithoutDndContext,{dndType:"VisualFormDnD",treeData:r,onChange:a,canDrop:function(e){return Object(k.cf7sDropRules)(Xr(Xr({},e),{},{treeData:r}))},innerStyle:{padding:20},nodeContentRenderer:ye,generateNodeProps:function(e){return{toolbar:[o.a.createElement(qr,{treeData:r,rowInfo:Xr(Xr({},i),e)})],edited:i?i.node.cf7Name:null}}}))}}]),i}(r.Component);function $r(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 Jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$r(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Qr=Jr({},window.wp.data),eo=Qr.dispatch,to=Qr.select,no=Jr({},window.wp.i18n).__,ro=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){var e=Jr({},to("cf7svisual").getStates()).notice,t=e.status,n=e.content,r=e.isDismissible,i=eo("cf7svisual").removeNotice,a="notice notice-alt notice-".concat(t," "),s=r?" is-dismissible":"";return o.a.createElement("div",{className:"FormNotice___trVVZ"},n&&o.a.createElement("div",{className:a+"notice___ar1JB"+s},o.a.createElement("p",{dangerouslySetInnerHTML:{__html:n}}),r&&o.a.createElement("button",{className:"notice-dismiss",type:"button",onClick:i},o.a.createElement("span",{className:"screen-reader-text"},no("Dismiss this notice","contact-form-7-skins")))))}}]),i}(r.Component),oo=n(3),io=n.n(oo);function ao(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 so(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ao(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ao(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var lo=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){var e=this,t=(0,window.wp.data.dispatch)("cf7svisual").addNode;return this.props.connectDragSource(o.a.createElement("div",{onClick:function(){return t(e.props.node)},className:"node___uaeDN",key:this.props.node.cf7sType},o.a.createElement("span",{className:this.props.node.cf7sIcon}),this.props.node.cf7sSelectLabel))}}]),i}(r.Component),co={beginDrag:function(e,t,n){return Object(k.randomizeName)(e.node),{node:so({},e.node)}}};lo.propTypes={node:de.a.object};var uo=Object(_.DragSource)("VisualFormDnD",co,(function(e,t){return{connectDragSource:e.dragSource()}}))(lo),fo={tipsContainer:"tipsContainer___KC7Lu",tipIcon:"tipIcon___dy-Wj"};function po(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ho=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?po(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):po(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},window.wp.i18n).__,vo=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(e){var t;return l()(this,i),(t=r.call(this,e)).updateTipCounter=t.updateTipCounter.bind(io()(t)),t.state={tipCounter:0},t}return u()(i,[{key:"componentDidMount",value:function(){this.tipRotation=!0,this.tipIntervalTime=2e4,this.timerHandle=setInterval(this.updateTipCounter,this.tipIntervalTime)}},{key:"componentWillUnmount",value:function(){this.timerHandle&&(clearInterval(this.timerHandle),this.timerHandle=0)}},{key:"updateTipCounter",value:function(){if(this.tipRotation){var e=this.state.tipCounter+1;this.setState({tipCounter:e})}}},{key:"tipOnMouseEnter",value:function(){this.tipRotation=!1}},{key:"tipOnMouseLeave",value:function(){var e=this;setTimeout((function(){e.tipRotation=!0}),this.tipIntervalTime)}},{key:"showTip",value:function(e){var t=e.length;return e[Math.floor(Math.random()*t)]}},{key:"render",value:function(){var e=this,t=[],n="https://cf7skins.com/add-ons/multi?utm_source=plugin&utm_medium=link&utm_campaign=pro-tip&utm_content=multi",r="https://cf7skins.com/add-ons/ready?utm_source=plugin&utm_medium=link&utm_campaign=pro-tip&utm_content=ready",i="https://cf7skins.com/add-ons/pro?utm_source=plugin&utm_medium=link&utm_campaign=pro-tip&utm_content=pro",a="https://cf7skins.com/add-ons/logic?utm_source=plugin&utm_medium=link&utm_campaign=pro-tip&utm_content=logic",s="https://cf7skins.com/add-ons?utm_source=plugin&utm_medium=link&utm_campaign=pro-tip&utm_content=pro",l=[o.a.createElement("span",null,ho("Forms are easier to follow along with when questions are on separate pages.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:n,target:"_blank",rel:"noopener noreferrer"},ho("CF7 Skins Multi makes separate pages possible.","contact-form-7-skins"))),o.a.createElement("span",null,ho("Your form is less likely to be completed if it’s too long. Separate it using","contact-form-7-skins"),"  ",o.a.createElement("a",{href:n,target:"_blank",rel:"noopener noreferrer"},ho("CF7 Skins Multi.","contact-form-7-skins"))),o.a.createElement("span",null,ho("Progress bars make long forms feel less daunting. Add this in using ","contact-form-7-skins"),"  ",o.a.createElement("a",{href:n,target:"_blank",rel:"noopener noreferrer"},ho("CF7 Skins Multi.","contact-form-7-skins"))),o.a.createElement("span",null,ho("Emphasize privacy policy acceptance by putting them on a second page.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:n,target:"_blank",rel:"noopener noreferrer"},ho("CF7 Skins Multi","contact-form-7-skins"))," ",ho(" makes this easy to do.","contact-form-7-skins")),o.a.createElement("span",null,ho("Your form is more likely to be completed if it isn’t cluttered. Separate information onto different pages using","contact-form-7-skins"),"  ",o.a.createElement("a",{href:n,target:"_blank",rel:"noopener noreferrer"},ho("CF7 Skins Multi.","contact-form-7-skins")))],c=[o.a.createElement("span",null,ho("Put name and email address fields beside each other easily using CF7 Skins Ready.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},ho("Read more about CF7 Skins Ready.","contact-form-7-skins"))),o.a.createElement("span",null,ho("Don’t forget that your form fields need to be mobile optimized, especially if fields are beside each other.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},ho("CF7 Skins Ready handles this for you.","contact-form-7-skins"))),o.a.createElement("span",null,ho("Make your form easier to read by grouping together similar fields.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},ho("CF7 Skins Ready makes this easy to do.","contact-form-7-skins"))),o.a.createElement("span",null,ho("Visually grouping similar fields together improves the flow of your form. A good way to do this is by drawing a box around the group using","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},ho("CF7 Skins Ready.","contact-form-7-skins"))),o.a.createElement("span",null,ho("Separate cluttered form content into 2 columns or more using","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},ho("CF7 Skins Ready.","contact-form-7-skins"))),o.a.createElement("span",null,ho("Looking to arrange your form fields into 2 or more columns?","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},ho("CF7 Skins Ready ","contact-form-7-skins")),"   ",ho("makes this easy to do.","contact-form-7-skins")),o.a.createElement("span",null,ho("Increase the chances of your form being completed by aligning the fields. Use the grid structure in","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},ho("CF7 Skins Ready","contact-form-7-skins")),"   ",ho("to get a head start.","contact-form-7-skins")),o.a.createElement("span",null,ho("More complex form layouts should follow a grid system.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},ho("CF7 Skins Ready makes this easy to do.","contact-form-7-skins"))),o.a.createElement("span",null,ho("You can align fields, put them side-by-side, and more with our easy-to-use","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},ho("CF7 Skins Ready Add-on.","contact-form-7-skins"))),o.a.createElement("span",null,ho("Have a yes/no radio button field? Display them horizontally on the same line using","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},ho("CF7 Skins Ready.","contact-form-7-skins"))),o.a.createElement("span",null,ho("Very good, good, neutral? For a survey form, put checkboxes or radio buttons on the same horizontal line.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},ho("CF7 Skins Ready makes this easy to do.","contact-form-7-skins")))],u=[o.a.createElement("span",null,ho("It is more professional looking to have a form style that matches your site.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:i,target:"_blank",rel:"noopener noreferrer"},ho("Find a better fit in our CF7 Skins Pro Styles.","contact-form-7-skins"))),o.a.createElement("span",null,ho("Having more templates means you save time creating forms from scratch.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:i,target:"_blank",rel:"noopener noreferrer"},ho("Get more templates to choose from.","contact-form-7-skins"))),o.a.createElement("span",null,ho("For custom style options, you can use CSS to adjust the form’s style.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:i,rel:"noopener noreferrer"},ho("To get help, our premium email support team is available.","contact-form-7-skins"))),o.a.createElement("span",null,ho("Ensure error-free forms by using templates and the visual editor.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:i,rel:"noopener noreferrer"},ho("Get more templates with the CF7 Skins Pro Add-on.","contact-form-7-skins")))],d=[o.a.createElement("span",null,ho("Show specific fields to customers based on their responses with","contact-form-7-skins"),"  ",o.a.createElement("a",{href:a,rel:"noopener noreferrer"},ho("CF7 Skins Logic.","contact-form-7-skins"))),o.a.createElement("span",null,ho("You may not need to show all of the possible fields to all of your customers.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:a,rel:"noopener noreferrer"},ho("Keep forms short & relevant with CF7 Skins Logic.","contact-form-7-skins"))),o.a.createElement("span",null,ho("You can dynamically show and hide form fields using","contact-form-7-skins"),"  ",o.a.createElement("a",{href:a,rel:"noopener noreferrer"},ho("CF7 Skins Logic.","contact-form-7-skins"))),o.a.createElement("span",null,ho("Dynamic form fields are possibly when you add logic to the fields.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:a,rel:"noopener noreferrer"},ho("CF7 Skins Logic makes dynamic forms possible.","contact-form-7-skins")))],f=[o.a.createElement("span",null,ho("Feeling frustrated? Get 1-1 personalized, real-human responses to your tough questions with any of our","contact-form-7-skins"),"  ",o.a.createElement("a",{href:s,rel:"noopener noreferrer"},ho("CF7 Skins Add-ons.","contact-form-7-skins"))),o.a.createElement("span",null,ho("Make sure your form is set up correctly the first time by talking to our trained support staff, available with our","contact-form-7-skins"),"  ",o.a.createElement("a",{href:s,rel:"noopener noreferrer"},ho("CF7 Skins Pro Add-on.","contact-form-7-skins"))),o.a.createElement("span",null,ho("The WordPress support community is available to answer questions. Or, save time searching & ask us directly with our ","contact-form-7-skins"),"  ",o.a.createElement("a",{href:s,rel:"noopener noreferrer"},ho("Premium Email support.","contact-form-7-skins"))),o.a.createElement("span",null,ho("Double check your mail settings to avoid problems sending & receiving forms. Set it up correctly from the start with our","contact-form-7-skins"),"  ",o.a.createElement("a",{href:s,rel:"noopener noreferrer"},ho("Premium Email support.","contact-form-7-skins")))],p=Object(k.getVisualVar)("versions");return p&&(t=p.multi?t:[].concat(Z()(t),l),t=p.ready?t:[].concat(Z()(t),c),t=p.pro?t:[].concat(Z()(t),u,f),t=p.logic?t:[].concat(Z()(t),d)),0!==t.length&&o.a.createElement("div",{className:fo.tipsContainer,onMouseEnter:function(){return e.tipOnMouseEnter()},onMouseLeave:function(){return e.tipOnMouseLeave()}},o.a.createElement("span",{className:"dashicons dashicons-lightbulb "+fo.tipIcon}),o.a.createElement("span",{className:fo.tip},o.a.createElement("strong",null,ho("Tip","contact-form-7-skins"),":- ")),o.a.createElement("span",null,this.showTip(t)))}}]),i}(r.Component);function go(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var mo=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?go(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):go(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},window.wp.i18n).__,yo=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(e){var t;return l()(this,i),(t=r.call(this,e)).renderSelectItem=t.renderSelectItem.bind(io()(t)),t}return u()(i,[{key:"renderSelectItem",value:function(e,t){return o.a.createElement("div",{className:"SelectItemContainer___ADjND",key:"nodeKey".concat(t+1)},o.a.createElement(uo,{node:e}))}},{key:"render",value:function(){return o.a.createElement("div",{className:"Select___A1U5G"},o.a.createElement("div",{className:"SelectHeading___x2T3u"},mo("FIELDS (CF7 TAGS)","contact-form-7-skins"),o.a.createElement("span",{className:"SelectHelpButton___WtZlo","data-balloon":mo("Drag and drop or click a Contact Form 7 Tag to add it to the visual form editor.","contact-form-7-skins")+" "+mo("To see how Fields are used, select a template it's a great way to get started quickly.","contact-form-7-skins")+" "+mo("Any field content can be changed by clicking Edit on the field.","contact-form-7-skins"),"data-balloon-pos":"left","data-balloon-length":"large"},"?")),o.a.createElement("div",{className:"SelectContainer___eJ5eH"},o.a.createElement("div",{className:"SelectEven___xSGwR"},k.cf7sItems.filter((function(e,t){return"cf7Tag"===e.cf7sSelectGroup&&t%2==0})).map(this.renderSelectItem)),o.a.createElement("div",{className:"SelectOdd___CoYEK"},k.cf7sItems.filter((function(e,t){return"cf7Tag"===e.cf7sSelectGroup&&t%2!=0})).map(this.renderSelectItem))),o.a.createElement(vo,null),o.a.createElement("div",{className:"SelectHeading___x2T3u"},mo("FIELDS (CF7 SKINS ITEMS)","contact-form-7-skins"),o.a.createElement("span",{className:"SelectHelpButton___WtZlo","data-balloon":mo("Use CF7 Skins Fields for the layout of your form.","contact-form-7-skins")+" "+mo("Fieldsets, legends, and lists are used to group related fields, and allow for more detailed styling.","contact-form-7-skins"),"data-balloon-pos":"left","data-balloon-length":"large"},"?")),o.a.createElement("div",{className:"SelectContainer___eJ5eH"},o.a.createElement("div",{className:"SelectEven___xSGwR"},k.cf7sItems.filter((function(e,t){return"cf7sItem"===e.cf7sSelectGroup&&t%2!=0})).map(this.renderSelectItem)),o.a.createElement("div",{className:"SelectOdd___CoYEK"},k.cf7sItems.filter((function(e,t){return"cf7sItem"===e.cf7sSelectGroup&&t%2==0})).map(this.renderSelectItem))))}}]),i}(r.Component);var bo=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){var e=this,t=Object(k.getVisualVar)("addons"),n=!!t&&t.get("afterFormItems"),r=t&&n?n.map((function(t,n){return o.a.createElement(t,R()({key:n},e.props))})):"";return o.a.createElement("div",{className:"FormTopBar___sWakU"},r)}}]),i}(r.Component),_o={Form:"Form___9ILE-",Content:"Content___D2WEP",Operate:"Operate___jeF-F"};function wo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function So(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wo(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Co=So({},window.wp.i18n).__,Oo=So({},window.wp.data),xo=Oo.dispatch,To=Oo.select,ko=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"componentDidUpdate",value:function(e,t,n){e.notice.content&&this.props.notice.content&&(Object(b.isEqual)(e,this.props)||e.notice.content!==this.props.notice.content||(0,xo("cf7svisual").removeNotice)())}},{key:"if",value:function(e){return e&&console.log("[saveVisualForm]\nPost data",postData),e&&console.log("[saveVisualForm]\nPost results: ",data),"object"!==("undefined"==typeof data?"undefined":T()(data))||"undefined"==typeof data?(spinner.style.visibility="hidden",void alert(Co("Error, the result is not an object or null.","contact-form-7-skins"))):Object(b.has)(data,"treeData")&&Object(b.has)(data,"form")&&Object(b.has)(data,"callbacks")?void(e&&Object(b.isEqual)(data.treeData,treeData)&&console.log("[saveVisualForm]\nDatabase treeData === live treeData")):(spinner.style.visibility="hidden",void alert(Co("Error: treeData, form or callbacks property is not available.","contact-form-7-skins")))}},{key:"render",value:function(){var e=So({},To("cf7svisual").getStates()),t=e.showEditModal,n=e.showTreeData,r=xo("cf7svisual");O()(r);var i=!(!t&&!n);return So(So({},this.props),{},{styles:_o}),o.a.createElement("div",{className:_o.Form},o.a.createElement("div",{className:_o.Content},o.a.createElement(Y,null),o.a.createElement(bo,this.props),o.a.createElement(ro,null),o.a.createElement(Zr,null)),o.a.createElement("div",{className:_o.Operate},i&&o.a.createElement(se,null),o.a.createElement(yo,null)),o.a.createElement(P,null))}}]),i}(r.Component);function Do(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Eo(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Eo(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Eo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Io(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Po(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Io(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Io(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Mo={treeData:[],rowInfo:null,showEditModal:!1,notice:{status:"success",content:"",isDismissible:!0},showTreeData:!1,showRequired:!0},Ro=Po({},window.wp.i18n).__;function No(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 jo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ao(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 Lo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ao(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ao(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}(0,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?No(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):No(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},window.wp.data).registerStore)("cf7svisual",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Mo,t=arguments.length>1?arguments[1]:void 0,n=function(t){if(t.path)return Object($.getNodeAtPath)({treeData:e.treeData.slice(),path:t.path.slice(0,1),getNodeKey:function(e){return e.treeIndex},ignoreCollapsed:!0}).node},r=function(e,t,n){return Object($.changeNodeAtPath)({treeData:e,getNodeKey:function(e){return e.treeIndex},path:t.path,newNode:n,ignoreCollapsed:!0})},o=function(n){var o=e.treeData.slice(),i=Po({},e.rowInfo),a=t.event.target,s=a.name,l=void 0===s?"name is missing":s,c=a.type,u=void 0===c?"type is missing":c,d=a.value,f=void 0===d?"value is missing":d;"cf7Name"===l?i.node[l]=f.replace(/[^0-9a-zA-Z:._-]/g,"").replace(/^[^a-zA-Z]+/,""):"cf7sLabel"===l?i.node[l]=f.replace(/<(?:.|\n)*?>/gm,""):"cf7IdAttribute"===l?i.node[l]=f.replace(/[^-0-9a-zA-Z_]/g,""):"cf7FileTypes"===l?i.node[l]=f.replace(/[^0-9a-zA-Z.,|\s]/g,""):"cf7Limit"===l?i.node[l]=f.replace(/[^0-9kKmMbB]/g,""):"cf7ClassAttribute"===l?i.node[l]=f.replace(/[^-0-9a-zA-Z_ ]/g,""):"cf7Values"===l||"cf7sContent"===l?i.node[l]=f.trim():"number"===u?i.node[l]=f.replace(/[^0-9.-]/g,""):"date"===u&&(f.match(/^\d{4}-\d{2}-\d{2}$/)||(i.node[l]=""));var p=r(o,i,i.node);return Po(Po({},e),{},{treeData:p,rowInfo:i})};switch(t.type){case"UPDATE_TREEDATA":return Po(Po({},e),{},{treeData:t.treeData});case"UPDATE_VISUAL_STATE":return Po(Po({},e),t.state);case"ON_CHANGE_TREEDATA":var i=t.treeData.slice(),a=function(e){e.lowerSiblingCounts;var t=e.node,n=e.parentNode,r=e.path,o=(e.treeIndex,Object(k.cf7sSurroundingRules)(t,n));return o!==t?(i=Object($.changeNodeAtPath)({treeData:i,getNodeKey:function(e){return e.treeIndex},path:r,newNode:o,ignoreCollapsed:!0}),!1):i};return Object($.walk)({treeData:i,getNodeKey:function(e){return e.treeIndex},callback:a}),Po(Po({},e),{},{treeData:i});case"ADD_NODE":var s=e.treeData.slice(),l=Po({},t.node),c=Object(k.cf7sDropRules)({node:l,treeData:s});if(!c)return Po(Po({},e),{},{notice:{status:"error",content:Ro("Unable to add the item.","contact-form-7-skins"),isDismissible:!0}});var u=Object(k.cf7sSurroundingRules)(l,null);return Object(k.randomizeName)(u),s.push(Po({},u)),Po(Po({},e),{},{treeData:s});case"EDIT_NODE":var d=!1,f=t.rowInfo;if(e.rowInfo&&e.rowInfo.node.cf7Name===f.node.cf7Name)return Po(Po({},e),{},{showEditModal:!1,rowInfo:null});if(["list-ol","list-li"].indexOf(f.node.cf7sType)>-1){var p=!!window.cf7svisual.addons&&window.cf7svisual.addons.get("edit"),h=function(){return Po(Po({},e),{},{showEditModal:!1,showTreeData:d,notice:Po(Po({},e.notice),{},{status:"error",content:Ro("There is no edit field available for this item.","contact-form-7-skins")})})};p||h();var v,g=!1,m=Do(p);try{for(m.s();!(v=m.n()).done;){var y=v.value;y.types&&y.types.indexOf(f.node.cf7sType)>-1&&(g=!0)}}catch(e){m.e(e)}finally{m.f()}g||h()}return f.ancestorNode=n(f,e.treeData),Po(Po({},e),{},{showEditModal:!0,rowInfo:f,showTreeData:d});case"DUPLICATE_NODE":var _=Po({},t.rowInfo);if("undefined"===_.treeIndex)return;var w=Object(b.cloneDeep)(_.node);Object(k.randomizeName)(w);var S=Object(k.cf7sDuplicateRules)(_);if("boolean"==typeof S){var C=Object($.insertNode)({treeData:e.treeData,newNode:w,depth:_.path.length-1,minimumTreeIndex:_.treeIndex+1,expandParent:!0,getNodeKey:function(e){return e.treeIndex}}),O=C.treeData;return Po(Po({},e),{},{treeData:O})}if("surrounding"===S){var x=Object(b.cloneDeep)(_.parentNode);(x=Object(k.randomizeName)(x)).children.forEach((function(e,t){Object(k.randomizeName)(x.children[t])}));var T=Object($.insertNode)({treeData:e.treeData,newNode:x,depth:_.path.length-2,minimumTreeIndex:_.treeIndex+1,expandParent:!0,getNodeKey:function(e){return e.treeIndex}}),D=T.treeData;return Po(Po({},e),{},{treeData:D})}return Po(Po({},e),{},{notice:Po(Po({},e.notice),{},{status:"error",content:"<strong>"+Ro("Unable to duplicate!","contact-form-7-skins")+"</strong><br /> "+S})});case"DELETE_NODE":var E=Object($.removeNodeAtPath)({treeData:e.treeData.slice(),path:t.rowInfo.path,getNodeKey:function(e){return e.treeIndex},ignoreCollapsed:!0}),I=e.showEditModal;return e.rowInfo&&(Object(b.isEqual)(t.rowInfo.path,e.rowInfo.path)&&(I=!1),e.rowInfo&&t.rowInfo.node.children&&Object($.isDescendant)(t.rowInfo.node,e.rowInfo.node)&&(I=!1)),Po(Po({},e),{},{treeData:E,showEditModal:I});case"CHANGE_NODE_TYPE":var P=e.treeData.slice(),M=Po({},t.rowInfo),R=Object(b.cloneDeep)(M.node),N=t.element.target.value,j=Po(Po({},M.node),{cf7sType:N}),A=Object(k.cf7sDropRules)({node:j,treeData:P}),L={};if(A){var z=Z()(k.cf7sItems);z.forEach((function(e,t){e.cf7sType===N&&(M.node=Po({},e))})),j=Object(k.cf7sSurroundingRules)(M.node,M.parentNode),Object(k.randomizeName)(M.node)}else j=R,L.content=Ro("Unable to change the item.","contact-form-7-skins"),L.status="error";var F=r(P,M,j);return Po(Po({},e),{},{treeData:F,rowInfo:M,showEditModal:!0,notice:Po(Po({},e.notice),L)});case"EDIT_ON_CHANGE":var H,W=e.treeData.slice(),G=Po({},t),U=G.event,B=G.optionsArrayType,V=G.index;if(t.rowInfo)H=Po({},t.rowInfo);else{var K;if(H=Po({},e.rowInfo),"function"==typeof U.stopPropagation){U.stopPropagation();var q=U.target,Y=void 0===q?{error:"the event target is missing"}:q;K=Y}else K=U;var X=K,J=X.name,Q=void 0===J?"name is missing":J,ee=X.value,te=void 0===ee?"value is missing":ee,ne=X.checked,re=void 0===ne?"checked is missing":ne,oe=X.type,ie=void 0===oe?"type is missing":oe;if("checkbox"===ie)if(null===B&&null===V)H.node[Q]=re;else if(null==B&&null!==V){H.node[Q]||(H.node[Q]=[],H.node[Q].push());var ae=H.node[Q].indexOf(V);ae<0?H.node[Q].push(V):H.node[Q].splice(ae,1)}else null!==B&&null!==V&&(H.node[B][V].isChecked=re);else"radio"===ie&&null!==V?(H.node[B][V].isChecked=re,H.node[B].map((function(e,t){return t!==V&&(H.node[B][t].isChecked=!1),H.node[B][t]}))):"range"===ie||"number"===ie?H.node[Q]=parseInt(te,10):"text"===ie&&null!==V?H.node.cf7Options[V][Q]=te:H.node[Q]=te}var se=r(W,H,H.node);return Po(Po({},e),{},{treeData:se,rowInfo:H});case"EDIT_ON_KEY_PRESS":return"Enter"===t.event.key&&"textarea"!==t.event.target.type?(e.rowInfo.path&&o(t.event),Po(Po({},e),{},{showTreeData:!1,showEditModal:!1,rowInfo:null})):Po({},e);case"EDIT_ADD_OPTION":var le=Po({},e.rowInfo);return le.node.cf7Options.push({value:"Option "+(le.node.cf7Options.length+1),isChecked:!1}),Po(Po({},e),{},{rowInfo:le});case"EDIT_REMOVE_OPTION":var ce=Po({},e.rowInfo),ue=t.index;return"radio"===ce.node.cf7sType&&!0===ce.node.cf7Options[ue].isChecked&&ce.node.cf7Options.length>1&&(0!==ue?ce.node.cf7Options[0].isChecked=!0:ce.node.cf7Options[ue+1].isChecked=!0),ce.node.cf7Options.splice(ue,1),Po(Po({},e),{},{rowInfo:ce});case"VALIDATE_INPUT":return o(t.event);case"VALIDATE_VISUAL_DATA":var de=e.treeData.slice(),fe=[];k.cf7sItems.forEach((function(e,t){fe.push(e.cf7sType)}));var pe=function(n){return t.event.target.value=JSON.stringify(de),Po(Po({},e),{},{notice:Po(Po({},e.notice),{},{status:"error",content:n})})};try{JSON.parse(t.event.target.value)}catch(e){return pe(Ro("Visual Object Data is not valid ( JSON parse error )","contact-form-7-skins"))}var he=JSON.parse(t.event.target.value);if(Object(b.isPlainObject)(he)&&Object(b.isEmpty)(he))return pe(Ro("Visual data is empty.","contact-form-7-skins"));var ve=function e(t){var n,r=Do(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;(Object(b.isEmpty)(o)||void 0===o.cf7sType||fe.indexOf(o.cf7sType)<0)&&pe(Ro("Visual data is not valid.","contact-form-7-skins")),o.children&&e(o.children)}}catch(e){r.e(e)}finally{r.f()}};return ve(he),Po(Po({},e),{},{treeData:he});case"SET_NOTICE":return Po(Po({},e),{},{notice:{status:t.status,content:t.content,isDismissible:t.isDismissible}});case"REMOVE_NOTICE":return Po(Po({},e),{},{notice:{status:"",content:"",isDismissible:!0}});case"CLICK_MENU":var ge=Po({},t.rowInfo);if(!t.menu)return ge.ancestorNode=n(ge,e.treeData),Po(Po({},e),{},{rowInfo:ge});var me=Po({},t.menu),ye=me.name,be=me.index,_e=me.multiple;if(!1===_e)ge.node[ye]=[],ge.node[ye].push(be);else{ge.node[ye]||(ge.node[ye]=[],ge.node[ye].push());var we=ge.node[ye].indexOf(be);we<0?ge.node[ye].push(be):ge.node[ye].splice(we,1)}return ge.ancestorNode=n(ge,e.treeData),Po(Po({},e),{},{rowInfo:ge});case"CLICK_VISUAL_OBJECT":if(e.showEditModal&&"visual-data"===e.rowInfo.node.cf7sType)return Po(Po({},e),{},{showEditModal:!1,rowInfo:null});var Se={node:{}};return Se.node.cf7sType="visual-data",Se.node.cf7sSelectLabel="Visual Data",Po(Po({},e),{},{showEditModal:!0,rowInfo:Se});case"CLICK_FORM_OPTIONS":if(e.showEditModal&&"form-options"===e.rowInfo.node.cf7sType)return Po(Po({},e),{},{showEditModal:!1,rowInfo:null});var Ce={node:{}};return Ce.node.cf7sType="form-options",Ce.node.cf7sSelectLabel="Form Options",Po(Po({},e),{},{showEditModal:!0,rowInfo:Ce});case"CLOSE_EDIT":return Po(Po({},e),{},{showEditModal:!1,showTreeData:!1,rowInfo:null});default:return Po({},e)}},actions:{updateTreeData:function(e){return{type:"UPDATE_TREEDATA",treeData:e}},updateVisualState:function(e){return{type:"UPDATE_VISUAL_STATE",state:e}},onChangeTreeData:function(e){return{type:"ON_CHANGE_TREEDATA",treeData:e}},addNode:function(e){return{type:"ADD_NODE",node:e}},editNode:function(e){return{type:"EDIT_NODE",rowInfo:e}},duplicateNode:function(e){return{type:"DUPLICATE_NODE",rowInfo:e}},deleteNode:function(e){return{type:"DELETE_NODE",rowInfo:e}},changeNodeType:function(e,t){return{type:"CHANGE_NODE_TYPE",element:e,rowInfo:t}},editOnChange:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{type:"EDIT_ON_CHANGE",event:e,optionsArrayType:t,index:n,rowInfo:r}},editOnKeyPress:function(e){return{type:"EDIT_ON_KEY_PRESS",event:e}},editAddOption:function(e){return{type:"EDIT_ADD_OPTION",event:e}},editRemoveOption:function(e,t){return{type:"EDIT_REMOVE_OPTION",event:e,index:t}},validateInput:function(e){return{type:"VALIDATE_INPUT",event:e}},validateVisualData:function(e){return{type:"VALIDATE_VISUAL_DATA",event:e}},setNotice:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"success",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{type:"SET_NOTICE",content:e,status:t,isDismissible:n}},removeNotice:function(){return{type:"REMOVE_NOTICE"}},clickMenu:function(e,t){return{type:"CLICK_MENU",rowInfo:e,menu:t}},clickVisualObject:function(){return{type:"CLICK_VISUAL_OBJECT"}},clickFormOptions:function(){return{type:"CLICK_FORM_OPTIONS"}},closeEdit:function(){return{type:"CLOSE_EDIT"}}},selectors:{getTreeData:function(e){return e.treeData},getRowInfo:function(e){return e.rowInfo},getStates:function(e){return e}},controls:{},resolvers:{}});var zo=Lo({},window.wp.i18n).__,Fo=Lo({},window.wp.data),Ho=Fo.dispatch,Wo=Fo.withSelect,Go=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(e){var t;return l()(this,i),(t=r.call(this,e)).state={treeData:[],showEditModal:!1,notice:{status:"success",content:"",isDismissible:!0},rowInfo:null,value:[],showTreeData:!1},t}return u()(i,[{key:"componentWillMount",value:function(){for(var e=document.getElementById("tab-template"),t=e?e.getElementsByClassName("select"):[],n=function(e){t[e].addEventListener("click",(function(n){var r=!!t[e].classList.contains("selected"),o={action:"visual_select_template",template:n.target.dataset.value,deselect:r};Object(k.cf7sRequest)(o,"json").then((function(e){if(Array.isArray(e)){if(0!==Object.keys(e).length){Object(k.mergeDefault)(e);var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return jo(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jo(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;Object(k.randomizeName)(r)}}catch(e){n.e(e)}finally{n.f()}"development"===window.cf7svisual.environment&&console.log("Template treeData: ",e),Ho("cf7svisual").updateVisualState({treeData:e,showEditModal:!1})}}else alert(zo("Error, templateTree is not an array!","contact-form-7-skins"))})).catch((function(e){return console.error(e)}))}))},r=0;r<t.length;++r)n(r)}},{key:"componentDidUpdate",value:function(e,t){!Object(b.isEqual)(t,this.state)&&(t.notice.content,this.state.notice.content)}},{key:"componentDidMount",value:function(){var e,t=window.cf7svisual;e=t.items.length?t.items:Object(k.defaultTreeData)(),Ho("cf7svisual").updateTreeData(e)}},{key:"render",value:function(){var e=Wo((function(e){return Lo({},(0,e("cf7svisual").getStates)())}))(ko);return o.a.createElement(e,null)}}]),i}(r.Component),Uo=Object(_.DragDropContext)(S.a)(Go);a.a.render(o.a.createElement(Uo,null),document.getElementById("tab-visual"))},function(e,t,n){"use strict";n.r(t),n.d(t,"ArrowKeyStepper",(function(){return te})),n.d(t,"AutoSizer",(function(){return ie})),n.d(t,"CellMeasurer",(function(){return ce})),n.d(t,"CellMeasurerCache",(function(){return ue})),n.d(t,"Collection",(function(){return be})),n.d(t,"ColumnSizer",(function(){return _e})),n.d(t,"accessibilityOverscanIndicesGetter",(function(){return Z})),n.d(t,"defaultCellRangeRenderer",(function(){return P})),n.d(t,"defaultOverscanIndicesGetter",(function(){return E})),n.d(t,"Grid",(function(){return X})),n.d(t,"InfiniteLoader",(function(){return Ce})),n.d(t,"List",(function(){return Te})),n.d(t,"createMasonryCellPositioner",(function(){return Qe})),n.d(t,"Masonry",(function(){return Je})),n.d(t,"MultiGrid",(function(){return ot})),n.d(t,"ScrollSync",(function(){return it})),n.d(t,"createTableMultiSort",(function(){return at})),n.d(t,"defaultTableCellDataGetter",(function(){return st})),n.d(t,"defaultTableCellRenderer",(function(){return lt})),n.d(t,"defaultTableHeaderRenderer",(function(){return ft})),n.d(t,"defaultTableHeaderRowRenderer",(function(){return ct})),n.d(t,"defaultTableRowRenderer",(function(){return pt})),n.d(t,"Table",(function(){return mt})),n.d(t,"Column",(function(){return ht})),n.d(t,"SortDirection",(function(){return ut})),n.d(t,"SortIndicator",(function(){return dt})),n.d(t,"WindowScroller",(function(){return At}));var r=n(5),o=n.n(r),i=n(6),a=n.n(i),s=n(8),l=n.n(s),c=n(4),u=n.n(c),d=n(3),f=n.n(d),p=n(7),h=n.n(p),v=n(2),g=n.n(v),m=n(0),y=n(23),b=n(14),_=n.n(b);function w(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=w(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}var S=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=w(e))&&(r&&(r+=" "),r+=t);return r};function C(e){var t=e.cellCount,n=e.cellSize,r=e.computeMetadataCallback,o=e.computeMetadataCallbackProps,i=e.nextCellsCount,a=e.nextCellSize,s=e.nextScrollToIndex,l=e.scrollToIndex,c=e.updateScrollOffsetForScrollToIndex;t===i&&("number"!=typeof n&&"number"!=typeof a||n===a)||(r(o),l>=0&&l===s&&c())}var O=n(41),x=n.n(O),T=(n(1),function(){function e(t){var n=t.cellCount,r=t.cellSizeGetter,i=t.estimatedCellSize;o()(this,e),g()(this,"_cellSizeAndPositionData",{}),g()(this,"_lastMeasuredIndex",-1),g()(this,"_lastBatchedIndex",-1),g()(this,"_cellCount",void 0),g()(this,"_cellSizeGetter",void 0),g()(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=n,this._estimatedCellSize=i}return a()(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var t=e.cellCount,n=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=t,this._estimatedCellSize=n,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),n=t.offset+t.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:n,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:n,size:o},n+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,s=this.getSizeAndPositionOfCell(i),l=s.offset,c=l-r+s.size;switch(n){case"start":a=l;break;case"end":a=c;break;case"center":a=l-(r-s.size)/2;break;default:a=Math.max(c,Math.min(l,o))}var u=this.getTotalSize();return Math.max(0,Math.min(u-r,a))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset;if(0===this.getTotalSize())return{};var r=n+t,o=this._findNearestCell(n),i=this.getSizeAndPositionOfCell(o);n=i.offset+i.size;for(var a=o;n<r&&a<this._cellCount-1;)a++,n+=this.getSizeAndPositionOfCell(a).size;return{start:o,stop:a}}},{key:"resetCell",value:function(e){this._lastMeasuredIndex=Math.min(this._lastMeasuredIndex,e-1)}},{key:"_binarySearch",value:function(e,t,n){for(;t<=e;){var r=t+Math.floor((e-t)/2),o=this.getSizeAndPositionOfCell(r).offset;if(o===n)return r;o<n?t=r+1:o>n&&(e=r-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var n=1;e<this._cellCount&&this.getSizeAndPositionOfCell(e).offset<t;)e+=n,n*=2;return this._binarySearch(Math.min(e,this._cellCount-1),Math.floor(e/2),t)}},{key:"_findNearestCell",value:function(e){if(isNaN(e))throw Error("Invalid offset ".concat(e," specified"));e=Math.max(0,e);var t=this.getSizeAndPositionOfLastMeasuredCell(),n=Math.max(0,this._lastMeasuredIndex);return t.offset>=e?this._binarySearch(n,0,e):this._exponentialSearch(n,e)}}]),e}()),k=function(){function e(t){var n=t.maxScrollSize,r=void 0===n?"undefined"!=typeof window&&window.chrome?16777100:15e5:n,i=x()(t,["maxScrollSize"]);o()(this,e),g()(this,"_cellSizeAndPositionManager",void 0),g()(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new T(i),this._maxScrollSize=r}return a()(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,n=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:n,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset;return n=this._safeOffsetToOffset({containerSize:t,offset:n}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:n})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,n=e.offset,r=e.totalSize;return r<=t?0:n/(r-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,n=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return n;var i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:r});return Math.round(i*(o-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,n=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return n;var i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:o});return Math.round(i*(r-t))}}]),e}();function D(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t={};return function(n){var r=n.callback,o=n.indices,i=Object.keys(o),a=!e||i.every((function(e){var t=o[e];return Array.isArray(t)?t.length>0:t>=0})),s=i.length!==Object.keys(t).length||i.some((function(e){var n=t[e],r=o[e];return Array.isArray(r)?n.join(",")!==r.join(","):n!==r}));t=o,a&&s&&r(o)}}function E(e){var t=e.cellCount,n=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(t-1,i+n)}:{overscanStartIndex:Math.max(0,o-n),overscanStopIndex:Math.min(t-1,i)}}function I(e){var t=e.cellSize,n=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,s=e.previousSize,l=e.scrollOffset,c=e.scrollToAlignment,u=e.scrollToIndex,d=e.size,f=e.sizeJustIncreasedFromZero,p=e.updateScrollIndexCallback,h=n.getCellCount(),v=u>=0&&u<h;v&&(d!==s||f||!o||"number"==typeof t&&t!==o||c!==i||u!==a)?p(u):!v&&h>0&&(d<s||h<r)&&l>n.getTotalSize()-d&&p(h-1)}function P(e){for(var t=e.cellCache,n=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,s=e.horizontalOffsetAdjustment,l=e.isScrolling,c=e.isScrollingOptOut,u=e.parent,d=e.rowSizeAndPositionManager,f=e.rowStartIndex,p=e.rowStopIndex,h=e.styleCache,v=e.verticalOffsetAdjustment,g=e.visibleColumnIndices,m=e.visibleRowIndices,y=[],b=r.areOffsetsAdjusted()||d.areOffsetsAdjusted(),_=!l&&!b,w=f;w<=p;w++)for(var S=d.getSizeAndPositionOfCell(w),C=o;C<=i;C++){var O=r.getSizeAndPositionOfCell(C),x=C>=g.start&&C<=g.stop&&w>=m.start&&w<=m.stop,T="".concat(w,"-").concat(C),k=void 0;_&&h[T]?k=h[T]:a&&!a.has(w,C)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:S.size,left:O.offset+s,position:"absolute",top:S.offset+v,width:O.size},h[T]=k);var D={columnIndex:C,isScrolling:l,isVisible:x,key:T,parent:u,rowIndex:w,style:k},E=void 0;!c&&!l||s||v?E=n(D):(t[T]||(t[T]=n(D)),E=t[T]),null!=E&&!1!==E&&y.push(E)}return y}var M,R,N=!("undefined"==typeof window||!window.document||!window.document.createElement);function j(e){if((!M&&0!==M||e)&&N){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),M=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return M}var A,L,z=(R="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||R.webkitRequestAnimationFrame||R.mozRequestAnimationFrame||R.oRequestAnimationFrame||R.msRequestAnimationFrame||function(e){return R.setTimeout(e,1e3/60)},F=R.cancelAnimationFrame||R.webkitCancelAnimationFrame||R.mozCancelAnimationFrame||R.oCancelAnimationFrame||R.msCancelAnimationFrame||function(e){R.clearTimeout(e)},H=z,W=F,G=function(e){return W(e.id)},U=function(e,t){var n;Promise.resolve().then((function(){n=Date.now()}));var r={id:H((function o(){Date.now()-n>=t?e.call():r.id=H(o)}))};return r};function B(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 V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(n,!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var K=(L=A=function(e){function t(e){var n;o()(this,t),n=l()(this,u()(t).call(this,e)),g()(f()(n),"_onGridRenderedMemoizer",D()),g()(f()(n),"_onScrollMemoizer",D(!1)),g()(f()(n),"_deferredInvalidateColumnIndex",null),g()(f()(n),"_deferredInvalidateRowIndex",null),g()(f()(n),"_recomputeScrollLeftFlag",!1),g()(f()(n),"_recomputeScrollTopFlag",!1),g()(f()(n),"_horizontalScrollBarSize",0),g()(f()(n),"_verticalScrollBarSize",0),g()(f()(n),"_scrollbarPresenceChanged",!1),g()(f()(n),"_scrollingContainer",void 0),g()(f()(n),"_childrenToDisplay",void 0),g()(f()(n),"_columnStartIndex",void 0),g()(f()(n),"_columnStopIndex",void 0),g()(f()(n),"_rowStartIndex",void 0),g()(f()(n),"_rowStopIndex",void 0),g()(f()(n),"_renderedColumnStartIndex",0),g()(f()(n),"_renderedColumnStopIndex",0),g()(f()(n),"_renderedRowStartIndex",0),g()(f()(n),"_renderedRowStopIndex",0),g()(f()(n),"_initialScrollTop",void 0),g()(f()(n),"_initialScrollLeft",void 0),g()(f()(n),"_disablePointerEventsTimeoutId",void 0),g()(f()(n),"_styleCache",{}),g()(f()(n),"_cellCache",{}),g()(f()(n),"_debounceScrollEndedCallback",(function(){n._disablePointerEventsTimeoutId=null,n.setState({isScrolling:!1,needToResetStyleCache:!1})})),g()(f()(n),"_invokeOnGridRenderedHelper",(function(){var e=n.props.onSectionRendered;n._onGridRenderedMemoizer({callback:e,indices:{columnOverscanStartIndex:n._columnStartIndex,columnOverscanStopIndex:n._columnStopIndex,columnStartIndex:n._renderedColumnStartIndex,columnStopIndex:n._renderedColumnStopIndex,rowOverscanStartIndex:n._rowStartIndex,rowOverscanStopIndex:n._rowStopIndex,rowStartIndex:n._renderedRowStartIndex,rowStopIndex:n._renderedRowStopIndex}})})),g()(f()(n),"_setScrollingContainerRef",(function(e){n._scrollingContainer=e})),g()(f()(n),"_onScroll",(function(e){e.target===n._scrollingContainer&&n.handleScrollEvent(e.target)}));var r=new k({cellCount:e.columnCount,cellSizeGetter:function(n){return t._wrapSizeGetter(e.columnWidth)(n)},estimatedCellSize:t._getEstimatedColumnSize(e)}),i=new k({cellCount:e.rowCount,cellSizeGetter:function(n){return t._wrapSizeGetter(e.rowHeight)(n)},estimatedCellSize:t._getEstimatedRowSize(e)});return n.state={instanceProps:{columnSizeAndPositionManager:r,rowSizeAndPositionManager:i,prevColumnWidth:e.columnWidth,prevRowHeight:e.rowHeight,prevColumnCount:e.columnCount,prevRowCount:e.rowCount,prevIsScrolling:!0===e.isScrolling,prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow,scrollbarSize:0,scrollbarSizeMeasured:!1},isScrolling:!1,scrollDirectionHorizontal:1,scrollDirectionVertical:1,scrollLeft:0,scrollTop:0,scrollPositionChangeReason:null,needToResetStyleCache:!1},e.scrollToRow>0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return h()(t,e),a()(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,n=void 0===t?this.props.scrollToAlignment:t,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,s=V({},this.props,{scrollToAlignment:n,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(s),scrollTop:this._getCalculatedScrollTop(s)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,n=void 0===t?0:t,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,s=i.autoWidth,l=i.height,c=i.width,u=this.state.instanceProps,d=u.scrollbarSize,f=u.rowSizeAndPositionManager.getTotalSize(),p=u.columnSizeAndPositionManager.getTotalSize(),h=Math.min(Math.max(0,p-c+d),n),v=Math.min(Math.max(0,f-l+d),o);if(this.state.scrollLeft!==h||this.state.scrollTop!==v){var g={isScrolling:!0,scrollDirectionHorizontal:h!==this.state.scrollLeft?h>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:v!==this.state.scrollTop?v>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:"observed"};a||(g.scrollTop=v),s||(g.scrollLeft=h),g.needToResetStyleCache=!1,this.setState(g)}this._invokeOnScrollMemoizer({scrollLeft:h,scrollTop:v,totalColumnsWidth:p,totalRowsHeight:f})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,n=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,n):n}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,n=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(n-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,s=i.scrollToRow,l=this.state.instanceProps;l.columnSizeAndPositionManager.resetCell(n),l.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?n<=a:n>=a),this._recomputeScrollTopFlag=s>=0&&(1===this.state.scrollDirectionVertical?o<=s:o>=s),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,n=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(V({},o,{scrollToColumn:t})),void 0!==n&&this._updateScrollTopForScrollToRow(V({},o,{scrollToRow:n}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,s=e.scrollToRow,l=e.width,c=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),c.scrollbarSizeMeasured||this.setState((function(e){var t=V({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var u=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});u&&(u.needToResetStyleCache=!1,this.setState(u))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var d=r>0&&l>0;i>=0&&d&&this._updateScrollLeftForScrollToColumn(),s>=0&&d&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var n=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,s=r.height,l=r.rowCount,c=r.scrollToAlignment,u=r.scrollToColumn,d=r.scrollToRow,f=r.width,p=this.state,h=p.scrollLeft,v=p.scrollPositionChangeReason,g=p.scrollTop,m=p.instanceProps;this._handleInvalidatedGridSize();var y=a>0&&0===e.columnCount||l>0&&0===e.rowCount;"requested"===v&&(!i&&h>=0&&(h!==this._scrollingContainer.scrollLeft||y)&&(this._scrollingContainer.scrollLeft=h),!o&&g>=0&&(g!==this._scrollingContainer.scrollTop||y)&&(this._scrollingContainer.scrollTop=g));var b=(0===e.width||0===e.height)&&s>0&&f>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):I({cellSizeAndPositionManager:m.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:h,scrollToAlignment:c,scrollToIndex:u,size:f,sizeJustIncreasedFromZero:b,updateScrollIndexCallback:function(){return n._updateScrollLeftForScrollToColumn(n.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):I({cellSizeAndPositionManager:m.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:g,scrollToAlignment:c,scrollToIndex:d,size:s,sizeJustIncreasedFromZero:b,updateScrollIndexCallback:function(){return n._updateScrollTopForScrollToRow(n.props)}}),this._invokeOnGridRenderedHelper(),h!==t.scrollLeft||g!==t.scrollTop){var _=m.rowSizeAndPositionManager.getTotalSize(),w=m.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:h,scrollTop:g,totalColumnsWidth:w,totalRowsHeight:_})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&G(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,n=e.autoHeight,r=e.autoWidth,o=e.className,i=e.containerProps,a=e.containerRole,s=e.containerStyle,l=e.height,c=e.id,u=e.noContentRenderer,d=e.role,f=e.style,p=e.tabIndex,h=e.width,v=this.state,g=v.instanceProps,y=v.needToResetStyleCache,b=this._isScrolling(),w={boxSizing:"border-box",direction:"ltr",height:n?"auto":l,position:"relative",width:r?"auto":h,WebkitOverflowScrolling:"touch",willChange:"transform"};y&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var C=g.columnSizeAndPositionManager.getTotalSize(),O=g.rowSizeAndPositionManager.getTotalSize(),x=O>l?g.scrollbarSize:0,T=C>h?g.scrollbarSize:0;T===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=T,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),w.overflowX=C+x<=h?"hidden":"auto",w.overflowY=O+T<=l?"hidden":"auto";var k=this._childrenToDisplay,D=0===k.length&&l>0&&h>0;return m.createElement("div",_()({ref:this._setScrollingContainerRef},i,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:S("ReactVirtualized__Grid",o),id:c,onScroll:this._onScroll,role:d,style:V({},w,{},f),tabIndex:p}),k.length>0&&m.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:a,style:V({width:t?"auto":C,height:O,maxWidth:C,maxHeight:O,overflow:"hidden",pointerEvents:b?"none":"",position:"relative"},s)},k),D&&u())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,s=e.overscanColumnCount,l=e.overscanIndicesGetter,c=e.overscanRowCount,u=e.rowCount,d=e.width,f=e.isScrollingOptOut,p=t.scrollDirectionHorizontal,h=t.scrollDirectionVertical,v=t.instanceProps,g=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,m=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,y=this._isScrolling(e,t);if(this._childrenToDisplay=[],a>0&&d>0){var b=v.columnSizeAndPositionManager.getVisibleCellRange({containerSize:d,offset:m}),_=v.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:g}),w=v.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:d,offset:m}),S=v.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:g});this._renderedColumnStartIndex=b.start,this._renderedColumnStopIndex=b.stop,this._renderedRowStartIndex=_.start,this._renderedRowStopIndex=_.stop;var C=l({direction:"horizontal",cellCount:o,overscanCellsCount:s,scrollDirection:p,startIndex:"number"==typeof b.start?b.start:0,stopIndex:"number"==typeof b.stop?b.stop:-1}),O=l({direction:"vertical",cellCount:u,overscanCellsCount:c,scrollDirection:h,startIndex:"number"==typeof _.start?_.start:0,stopIndex:"number"==typeof _.stop?_.stop:-1}),x=C.overscanStartIndex,T=C.overscanStopIndex,k=O.overscanStartIndex,D=O.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var E=k;E<=D;E++)if(!i.has(E,0)){x=0,T=o-1;break}if(!i.hasFixedWidth())for(var I=x;I<=T;I++)if(!i.has(0,I)){k=0,D=u-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:n,columnSizeAndPositionManager:v.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:T,deferredMeasurementCache:i,horizontalOffsetAdjustment:w,isScrolling:y,isScrollingOptOut:f,parent:this,rowSizeAndPositionManager:v.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:D,scrollLeft:m,scrollTop:g,styleCache:this._styleCache,verticalOffsetAdjustment:S,visibleColumnIndices:b,visibleRowIndices:_}),this._columnStartIndex=x,this._columnStopIndex=T,this._rowStartIndex=k,this._rowStopIndex=D}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&G(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,n=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var n=e.scrollLeft,r=e.scrollTop,a=t.props,s=a.height;(0,a.onScroll)({clientHeight:s,clientWidth:a.width,scrollHeight:i,scrollLeft:n,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:n,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(t.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,n=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],n&&(this._cellCache[i]=t[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,V({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,n=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:"requested"};return"number"==typeof n&&n>=0&&(o.scrollDirectionHorizontal=n>t.scrollLeft?1:-1,o.scrollLeft=n),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>t.scrollTop?1:-1,o.scrollTop=r),"number"==typeof n&&n>=0&&n!==t.scrollLeft||"number"==typeof r&&r>=0&&r!==t.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var n=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,s=t.scrollLeft,l=t.instanceProps;if(n>0){var c=n-1,u=i<0?c:Math.min(c,i),d=l.rowSizeAndPositionManager.getTotalSize(),f=l.scrollbarSizeMeasured&&d>r?l.scrollbarSize:0;return l.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-f,currentOffset:s,targetIndex:u})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var n=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,s=t.scrollTop,l=t.instanceProps;if(r>0){var c=r-1,u=i<0?c:Math.min(c,i),d=l.columnSizeAndPositionManager.getTotalSize(),f=l.scrollbarSizeMeasured&&d>a?l.scrollbarSize:0;return l.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:n-f,currentOffset:s,targetIndex:u})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(m.PureComponent),g()(A,"propTypes",null),L);g()(K,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:P,containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:j,noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:E,overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),Object(y.polyfill)(K);var q,Y,X=K;function Z(e){var t=e.cellCount,n=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return n=Math.max(1,n),1===r?{overscanStartIndex:Math.max(0,o-1),overscanStopIndex:Math.min(t-1,i+n)}:{overscanStartIndex:Math.max(0,o-n),overscanStopIndex:Math.min(t-1,i+1)}}function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var J=(Y=q=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=l()(this,(e=u()(t)).call.apply(e,[this].concat(i))),g()(f()(n),"state",{scrollToColumn:0,scrollToRow:0,instanceProps:{prevScrollToColumn:0,prevScrollToRow:0}}),g()(f()(n),"_columnStartIndex",0),g()(f()(n),"_columnStopIndex",0),g()(f()(n),"_rowStartIndex",0),g()(f()(n),"_rowStopIndex",0),g()(f()(n),"_onKeyDown",(function(e){var t=n.props,r=t.columnCount,o=t.disabled,i=t.mode,a=t.rowCount;if(!o){var s=n._getScrollState(),l=s.scrollToColumn,c=s.scrollToRow,u=n._getScrollState(),d=u.scrollToColumn,f=u.scrollToRow;switch(e.key){case"ArrowDown":f="cells"===i?Math.min(f+1,a-1):Math.min(n._rowStopIndex+1,a-1);break;case"ArrowLeft":d="cells"===i?Math.max(d-1,0):Math.max(n._columnStartIndex-1,0);break;case"ArrowRight":d="cells"===i?Math.min(d+1,r-1):Math.min(n._columnStopIndex+1,r-1);break;case"ArrowUp":f="cells"===i?Math.max(f-1,0):Math.max(n._rowStartIndex-1,0)}d===l&&f===c||(e.preventDefault(),n._updateScrollState({scrollToColumn:d,scrollToRow:f}))}})),g()(f()(n),"_onSectionRendered",(function(e){var t=e.columnStartIndex,r=e.columnStopIndex,o=e.rowStartIndex,i=e.rowStopIndex;n._columnStartIndex=t,n._columnStopIndex=r,n._rowStartIndex=o,n._rowStopIndex=i})),n}return h()(t,e),a()(t,[{key:"setScrollIndexes",value:function(e){var t=e.scrollToColumn,n=e.scrollToRow;this.setState({scrollToRow:n,scrollToColumn:t})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=this._getScrollState(),o=r.scrollToColumn,i=r.scrollToRow;return m.createElement("div",{className:t,onKeyDown:this._onKeyDown},n({onSectionRendered:this._onSectionRendered,scrollToColumn:o,scrollToRow:i}))}},{key:"_getScrollState",value:function(){return this.props.isControlled?this.props:this.state}},{key:"_updateScrollState",value:function(e){var t=e.scrollToColumn,n=e.scrollToRow,r=this.props,o=r.isControlled,i=r.onScrollToChange;"function"==typeof i&&i({scrollToColumn:t,scrollToRow:n}),o||this.setState({scrollToColumn:t,scrollToRow:n})}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.isControlled?{}:e.scrollToColumn!==t.instanceProps.prevScrollToColumn||e.scrollToRow!==t.instanceProps.prevScrollToRow?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(n,!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{scrollToColumn:e.scrollToColumn,scrollToRow:e.scrollToRow,instanceProps:{prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow}}):{}}}]),t}(m.PureComponent),g()(q,"propTypes",null),Y);g()(J,"defaultProps",{disabled:!1,isControlled:!1,mode:"edges",scrollToColumn:0,scrollToRow:0}),Object(y.polyfill)(J);var Q,ee,te=J,ne=n(109);function re(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 oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(n,!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ie=(ee=Q=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=l()(this,(e=u()(t)).call.apply(e,[this].concat(i))),g()(f()(n),"state",{height:n.props.defaultHeight||0,width:n.props.defaultWidth||0}),g()(f()(n),"_parentNode",void 0),g()(f()(n),"_autoSizer",void 0),g()(f()(n),"_window",void 0),g()(f()(n),"_detectElementResize",void 0),g()(f()(n),"_onResize",(function(){var e=n.props,t=e.disableHeight,r=e.disableWidth,o=e.onResize;if(n._parentNode){var i=n._parentNode.offsetHeight||0,a=n._parentNode.offsetWidth||0,s=(n._window||window).getComputedStyle(n._parentNode)||{},l=parseInt(s.paddingLeft,10)||0,c=parseInt(s.paddingRight,10)||0,u=parseInt(s.paddingTop,10)||0,d=parseInt(s.paddingBottom,10)||0,f=i-u-d,p=a-l-c;(!t&&n.state.height!==f||!r&&n.state.width!==p)&&(n.setState({height:i-u-d,width:a-l-c}),o({height:i,width:a}))}})),g()(f()(n),"_setRef",(function(e){n._autoSizer=e})),n}return h()(t,e),a()(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._window=this._autoSizer.parentNode.ownerDocument.defaultView,this._detectElementResize=Object(ne.a)(e,this._window),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.disableHeight,o=e.disableWidth,i=e.style,a=this.state,s=a.height,l=a.width,c={overflow:"visible"},u={};return r||(c.height=0,u.height=s),o||(c.width=0,u.width=l),m.createElement("div",{className:n,ref:this._setRef,style:oe({},c,{},i)},t(u))}}]),t}(m.Component),g()(Q,"propTypes",null),ee);g()(ie,"defaultProps",{onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}});var ae,se,le=n(11),ce=(se=ae=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=l()(this,(e=u()(t)).call.apply(e,[this].concat(i))),g()(f()(n),"_child",void 0),g()(f()(n),"_measure",(function(){var e=n.props,t=e.cache,r=e.columnIndex,o=void 0===r?0:r,i=e.parent,a=e.rowIndex,s=void 0===a?n.props.index||0:a,l=n._getCellMeasurements(),c=l.height,u=l.width;c===t.getHeight(s,o)&&u===t.getWidth(s,o)||(t.set(s,o,u,c),i&&"function"==typeof i.recomputeGridSize&&i.recomputeGridSize({columnIndex:o,rowIndex:s}))})),g()(f()(n),"_registerChild",(function(e){!e||e instanceof Element||console.warn("CellMeasurer registerChild expects to be passed Element or null"),n._child=e,e&&n._maybeMeasureCell()})),n}return h()(t,e),a()(t,[{key:"componentDidMount",value:function(){this._maybeMeasureCell()}},{key:"componentDidUpdate",value:function(){this._maybeMeasureCell()}},{key:"render",value:function(){var e=this.props.children;return"function"==typeof e?e({measure:this._measure,registerChild:this._registerChild}):e}},{key:"_getCellMeasurements",value:function(){var e=this.props.cache,t=this._child||Object(le.findDOMNode)(this);if(t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){var n=t.style.width,r=t.style.height;e.hasFixedWidth()||(t.style.width="auto"),e.hasFixedHeight()||(t.style.height="auto");var o=Math.ceil(t.offsetHeight),i=Math.ceil(t.offsetWidth);return n&&(t.style.width=n),r&&(t.style.height=r),{height:o,width:i}}return{height:0,width:0}}},{key:"_maybeMeasureCell",value:function(){var e=this.props,t=e.cache,n=e.columnIndex,r=void 0===n?0:n,o=e.parent,i=e.rowIndex,a=void 0===i?this.props.index||0:i;if(!t.has(a,r)){var s=this._getCellMeasurements(),l=s.height,c=s.width;t.set(a,r,c,l),o&&"function"==typeof o.invalidateCellSizeAfterRender&&o.invalidateCellSizeAfterRender({columnIndex:r,rowIndex:a})}}}]),t}(m.PureComponent),g()(ae,"propTypes",null),se);g()(ce,"__internalCellMeasurerFlag",!1);var ue=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o()(this,e),g()(this,"_cellHeightCache",{}),g()(this,"_cellWidthCache",{}),g()(this,"_columnWidthCache",{}),g()(this,"_rowHeightCache",{}),g()(this,"_defaultHeight",void 0),g()(this,"_defaultWidth",void 0),g()(this,"_minHeight",void 0),g()(this,"_minWidth",void 0),g()(this,"_keyMapper",void 0),g()(this,"_hasFixedHeight",void 0),g()(this,"_hasFixedWidth",void 0),g()(this,"_columnCount",0),g()(this,"_rowCount",0),g()(this,"columnWidth",(function(e){var n=e.index,r=t._keyMapper(0,n);return void 0!==t._columnWidthCache[r]?t._columnWidthCache[r]:t._defaultWidth})),g()(this,"rowHeight",(function(e){var n=e.index,r=t._keyMapper(n,0);return void 0!==t._rowHeightCache[r]?t._rowHeightCache[r]:t._defaultHeight}));var r=n.defaultHeight,i=n.defaultWidth,a=n.fixedHeight,s=n.fixedWidth,l=n.keyMapper,c=n.minHeight,u=n.minWidth;this._hasFixedHeight=!0===a,this._hasFixedWidth=!0===s,this._minHeight=c||0,this._minWidth=u||0,this._keyMapper=l||de,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof i?i:100)}return a()(e,[{key:"clear",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this._keyMapper(e,t);delete this._cellHeightCache[n],delete this._cellWidthCache[n],this._updateCachedColumnAndRowSizes(e,t)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var n=this._keyMapper(e,t);return void 0!==this._cellHeightCache[n]?Math.max(this._minHeight,this._cellHeightCache[n]):this._defaultHeight}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var n=this._keyMapper(e,t);return void 0!==this._cellWidthCache[n]?Math.max(this._minWidth,this._cellWidthCache[n]):this._defaultWidth}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this._keyMapper(e,t);return void 0!==this._cellHeightCache[n]}},{key:"set",value:function(e,t,n,r){var o=this._keyMapper(e,t);t>=this._columnCount&&(this._columnCount=t+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=n,this._updateCachedColumnAndRowSizes(e,t)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,t){if(!this._hasFixedWidth){for(var n=0,r=0;r<this._rowCount;r++)n=Math.max(n,this.getWidth(r,t));var o=this._keyMapper(0,t);this._columnWidthCache[o]=n}if(!this._hasFixedHeight){for(var i=0,a=0;a<this._columnCount;a++)i=Math.max(i,this.getHeight(e,a));var s=this._keyMapper(e,0);this._rowHeightCache[s]=i}}},{key:"defaultHeight",get:function(){return this._defaultHeight}},{key:"defaultWidth",get:function(){return this._defaultWidth}}]),e}();function de(e,t){return"".concat(e,"-").concat(t)}function fe(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 pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fe(n,!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var he=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=l()(this,(e=u()(t)).call.apply(e,[this].concat(i))),g()(f()(n),"state",{isScrolling:!1,scrollLeft:0,scrollTop:0}),g()(f()(n),"_calculateSizeAndPositionDataOnNextUpdate",!1),g()(f()(n),"_onSectionRenderedMemoizer",D()),g()(f()(n),"_onScrollMemoizer",D(!1)),g()(f()(n),"_invokeOnSectionRenderedHelper",(function(){var e=n.props,t=e.cellLayoutManager,r=e.onSectionRendered;n._onSectionRenderedMemoizer({callback:r,indices:{indices:t.getLastRenderedIndices()}})})),g()(f()(n),"_setScrollingContainerRef",(function(e){n._scrollingContainer=e})),g()(f()(n),"_updateScrollPositionForScrollToCell",(function(){var e=n.props,t=e.cellLayoutManager,r=e.height,o=e.scrollToAlignment,i=e.scrollToCell,a=e.width,s=n.state,l=s.scrollLeft,c=s.scrollTop;if(i>=0){var u=t.getScrollPositionForCell({align:o,cellIndex:i,height:r,scrollLeft:l,scrollTop:c,width:a});u.scrollLeft===l&&u.scrollTop===c||n._setScrollPosition(u)}})),g()(f()(n),"_onScroll",(function(e){if(e.target===n._scrollingContainer){n._enablePointerEventsAfterDelay();var t=n.props,r=t.cellLayoutManager,o=t.height,i=t.isScrollingChange,a=t.width,s=n._scrollbarSize,l=r.getTotalSize(),c=l.height,u=l.width,d=Math.max(0,Math.min(u-a+s,e.target.scrollLeft)),f=Math.max(0,Math.min(c-o+s,e.target.scrollTop));if(n.state.scrollLeft!==d||n.state.scrollTop!==f){var p=e.cancelable?"observed":"requested";n.state.isScrolling||i(!0),n.setState({isScrolling:!0,scrollLeft:d,scrollPositionChangeReason:p,scrollTop:f})}n._invokeOnScrollMemoizer({scrollLeft:d,scrollTop:f,totalWidth:u,totalHeight:c})}})),n._scrollbarSize=j(),void 0===n._scrollbarSize?(n._scrollbarSizeMeasured=!1,n._scrollbarSize=0):n._scrollbarSizeMeasured=!0,n}return h()(t,e),a()(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,t=e.cellLayoutManager,n=e.scrollLeft,r=e.scrollToCell,o=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=j(),this._scrollbarSizeMeasured=!0,this.setState({})),r>=0?this._updateScrollPositionForScrollToCell():(n>=0||o>=0)&&this._setScrollPosition({scrollLeft:n,scrollTop:o}),this._invokeOnSectionRenderedHelper();var i=t.getTotalSize(),a=i.height,s=i.width;this._invokeOnScrollMemoizer({scrollLeft:n||0,scrollTop:o||0,totalHeight:a,totalWidth:s})}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.height,o=n.scrollToAlignment,i=n.scrollToCell,a=n.width,s=this.state,l=s.scrollLeft,c=s.scrollPositionChangeReason,u=s.scrollTop;"requested"===c&&(l>=0&&l!==t.scrollLeft&&l!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=l),u>=0&&u!==t.scrollTop&&u!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=u)),r===e.height&&o===e.scrollToAlignment&&i===e.scrollToCell&&a===e.width||this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoHeight,n=e.cellCount,r=e.cellLayoutManager,o=e.className,i=e.height,a=e.horizontalOverscanSize,s=e.id,l=e.noContentRenderer,c=e.style,u=e.verticalOverscanSize,d=e.width,f=this.state,p=f.isScrolling,h=f.scrollLeft,v=f.scrollTop;(this._lastRenderedCellCount!==n||this._lastRenderedCellLayoutManager!==r||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=n,this._lastRenderedCellLayoutManager=r,this._calculateSizeAndPositionDataOnNextUpdate=!1,r.calculateSizeAndPositionData());var g=r.getTotalSize(),y=g.height,b=g.width,_=Math.max(0,h-a),w=Math.max(0,v-u),C=Math.min(b,h+d+a),O=Math.min(y,v+i+u),x=i>0&&d>0?r.cellRenderers({height:O-w,isScrolling:p,width:C-_,x:_,y:w}):[],T={boxSizing:"border-box",direction:"ltr",height:t?"auto":i,position:"relative",WebkitOverflowScrolling:"touch",width:d,willChange:"transform"},k=y>i?this._scrollbarSize:0,D=b>d?this._scrollbarSize:0;return T.overflowX=b+k<=d?"hidden":"auto",T.overflowY=y+D<=i?"hidden":"auto",m.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:S("ReactVirtualized__Collection",o),id:s,onScroll:this._onScroll,role:"grid",style:pe({},T,{},c),tabIndex:0},n>0&&m.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:y,maxHeight:y,maxWidth:b,overflow:"hidden",pointerEvents:p?"none":"",width:b}},x),0===n&&l())}},{key:"_enablePointerEventsAfterDelay",value:function(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout((function(){(0,e.props.isScrollingChange)(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})}),150)}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,n=e.scrollLeft,r=e.scrollTop,o=e.totalHeight,i=e.totalWidth;this._onScrollMemoizer({callback:function(e){var n=e.scrollLeft,r=e.scrollTop,a=t.props,s=a.height;(0,a.onScroll)({clientHeight:s,clientWidth:a.width,scrollHeight:o,scrollLeft:n,scrollTop:r,scrollWidth:i})},indices:{scrollLeft:n,scrollTop:r}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,n=e.scrollTop,r={scrollPositionChangeReason:"requested"};t>=0&&(r.scrollLeft=t),n>=0&&(r.scrollTop=n),(t>=0&&t!==this.state.scrollLeft||n>=0&&n!==this.state.scrollTop)&&this.setState(r)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 0!==e.cellCount||0===t.scrollLeft&&0===t.scrollTop?e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop?e.scrollTop:t.scrollTop,scrollPositionChangeReason:"requested"}:null:{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:"requested"}}}]),t}(m.PureComponent);g()(he,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0}),he.propTypes={},Object(y.polyfill)(he);var ve=he,ge=function(){function e(t){var n=t.height,r=t.width,i=t.x,a=t.y;o()(this,e),this.height=n,this.width=r,this.x=i,this.y=a,this._indexMap={},this._indices=[]}return a()(e,[{key:"addCellIndex",value:function(e){var t=e.index;this._indexMap[t]||(this._indexMap[t]=!0,this._indices.push(t))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),e}(),me=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;o()(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return a()(e,[{key:"getCellIndices",value:function(e){var t=e.height,n=e.width,r=e.x,o=e.y,i={};return this.getSections({height:t,width:n,x:r,y:o}).forEach((function(e){return e.getCellIndices().forEach((function(e){i[e]=e}))})),Object.keys(i).map((function(e){return i[e]}))}},{key:"getCellMetadata",value:function(e){var t=e.index;return this._cellMetadata[t]}},{key:"getSections",value:function(e){for(var t=e.height,n=e.width,r=e.x,o=e.y,i=Math.floor(r/this._sectionSize),a=Math.floor((r+n-1)/this._sectionSize),s=Math.floor(o/this._sectionSize),l=Math.floor((o+t-1)/this._sectionSize),c=[],u=i;u<=a;u++)for(var d=s;d<=l;d++){var f="".concat(u,".").concat(d);this._sections[f]||(this._sections[f]=new ge({height:this._sectionSize,width:this._sectionSize,x:u*this._sectionSize,y:d*this._sectionSize})),c.push(this._sections[f])}return c}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var e=this;return Object.keys(this._sections).map((function(t){return e._sections[t].toString()}))}},{key:"registerCell",value:function(e){var t=e.cellMetadatum,n=e.index;this._cellMetadata[n]=t,this.getSections(t).forEach((function(e){return e.addCellIndex({index:n})}))}}]),e}();function ye(e){var t=e.align,n=void 0===t?"auto":t,r=e.cellOffset,o=e.cellSize,i=e.containerSize,a=e.currentOffset,s=r,l=s-i+o;switch(n){case"start":return s;case"end":return l;case"center":return s-(i-o)/2;default:return Math.max(l,Math.min(s,a))}}var be=function(e){function t(e,n){var r;return o()(this,t),(r=l()(this,u()(t).call(this,e,n)))._cellMetadata=[],r._lastRenderedCellIndices=[],r._cellCache=[],r._isScrollingChange=r._isScrollingChange.bind(f()(r)),r._setCollectionViewRef=r._setCollectionViewRef.bind(f()(r)),r}return h()(t,e),a()(t,[{key:"forceUpdate",value:function(){void 0!==this._collectionView&&this._collectionView.forceUpdate()}},{key:"recomputeCellSizesAndPositions",value:function(){this._cellCache=[],this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function(){var e=_()({},this.props);return m.createElement(ve,_()({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:this._setCollectionViewRef},e))}},{key:"calculateSizeAndPositionData",value:function(){var e=this.props,t=function(e){for(var t=e.cellCount,n=e.cellSizeAndPositionGetter,r=[],o=new me(e.sectionSize),i=0,a=0,s=0;s<t;s++){var l=n({index:s});if(null==l.height||isNaN(l.height)||null==l.width||isNaN(l.width)||null==l.x||isNaN(l.x)||null==l.y||isNaN(l.y))throw Error("Invalid metadata returned for cell ".concat(s,":\n x:").concat(l.x,", y:").concat(l.y,", width:").concat(l.width,", height:").concat(l.height));i=Math.max(i,l.y+l.height),a=Math.max(a,l.x+l.width),r[s]=l,o.registerCell({cellMetadatum:l,index:s})}return{cellMetadata:r,height:i,sectionManager:o,width:a}}({cellCount:e.cellCount,cellSizeAndPositionGetter:e.cellSizeAndPositionGetter,sectionSize:e.sectionSize});this._cellMetadata=t.cellMetadata,this._sectionManager=t.sectionManager,this._height=t.height,this._width=t.width}},{key:"getLastRenderedIndices",value:function(){return this._lastRenderedCellIndices}},{key:"getScrollPositionForCell",value:function(e){var t=e.align,n=e.cellIndex,r=e.height,o=e.scrollLeft,i=e.scrollTop,a=e.width,s=this.props.cellCount;if(n>=0&&n<s){var l=this._cellMetadata[n];o=ye({align:t,cellOffset:l.x,cellSize:l.width,containerSize:a,currentOffset:o,targetIndex:n}),i=ye({align:t,cellOffset:l.y,cellSize:l.height,containerSize:r,currentOffset:i,targetIndex:n})}return{scrollLeft:o,scrollTop:i}}},{key:"getTotalSize",value:function(){return{height:this._height,width:this._width}}},{key:"cellRenderers",value:function(e){var t=this,n=e.height,r=e.isScrolling,o=e.width,i=e.x,a=e.y,s=this.props,l=s.cellGroupRenderer,c=s.cellRenderer;return this._lastRenderedCellIndices=this._sectionManager.getCellIndices({height:n,width:o,x:i,y:a}),l({cellCache:this._cellCache,cellRenderer:c,cellSizeAndPositionGetter:function(e){var n=e.index;return t._sectionManager.getCellMetadata({index:n})},indices:this._lastRenderedCellIndices,isScrolling:r})}},{key:"_isScrollingChange",value:function(e){e||(this._cellCache=[])}},{key:"_setCollectionViewRef",value:function(e){this._collectionView=e}}]),t}(m.PureComponent);g()(be,"defaultProps",{"aria-label":"grid",cellGroupRenderer:function(e){var t=e.cellCache,n=e.cellRenderer,r=e.cellSizeAndPositionGetter,o=e.indices,i=e.isScrolling;return o.map((function(e){var o=r({index:e}),a={index:e,isScrolling:i,key:e,style:{height:o.height,left:o.x,position:"absolute",top:o.y,width:o.width}};return i?(e in t||(t[e]=n(a)),t[e]):n(a)})).filter((function(e){return!!e}))}}),be.propTypes={};var _e=function(e){function t(e,n){var r;return o()(this,t),(r=l()(this,u()(t).call(this,e,n)))._registerChild=r._registerChild.bind(f()(r)),r}return h()(t,e),a()(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.columnMaxWidth,r=t.columnMinWidth,o=t.columnCount,i=t.width;n===e.columnMaxWidth&&r===e.columnMinWidth&&o===e.columnCount&&i===e.width||this._registeredChild&&this._registeredChild.recomputeGridSize()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.columnMaxWidth,r=e.columnMinWidth,o=e.columnCount,i=e.width,a=r||1,s=n?Math.min(n,i):i,l=i/o;return l=Math.max(a,l),l=Math.min(s,l),l=Math.floor(l),t({adjustedWidth:Math.min(i,l*o),columnWidth:l,getColumnWidth:function(){return l},registerChild:this._registerChild})}},{key:"_registerChild",value:function(e){if(e&&"function"!=typeof e.recomputeGridSize)throw Error("Unexpected child type registered; only Grid/MultiGrid children are supported.");this._registeredChild=e,this._registeredChild&&this._registeredChild.recomputeGridSize()}}]),t}(m.PureComponent);_e.propTypes={};var we=n(18),Se=n.n(we),Ce=function(e){function t(e,n){var r;return o()(this,t),(r=l()(this,u()(t).call(this,e,n)))._loadMoreRowsMemoizer=D(),r._onRowsRendered=r._onRowsRendered.bind(f()(r)),r._registerChild=r._registerChild.bind(f()(r)),r}return h()(t,e),a()(t,[{key:"resetLoadMoreRowsCache",value:function(e){this._loadMoreRowsMemoizer=D(),e&&this._doStuff(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"render",value:function(){return(0,this.props.children)({onRowsRendered:this._onRowsRendered,registerChild:this._registerChild})}},{key:"_loadUnloadedRanges",value:function(e){var t=this,n=this.props.loadMoreRows;e.forEach((function(e){var r=n(e);r&&r.then((function(){var n;(n={lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:e.startIndex,stopIndex:e.stopIndex}).startIndex>n.lastRenderedStopIndex||n.stopIndex<n.lastRenderedStartIndex||t._registeredChild&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="function"==typeof e.recomputeGridSize?e.recomputeGridSize:e.recomputeRowHeights;n?n.call(e,t):e.forceUpdate()}(t._registeredChild,t._lastRenderedStartIndex)}))}))}},{key:"_onRowsRendered",value:function(e){var t=e.startIndex,n=e.stopIndex;this._lastRenderedStartIndex=t,this._lastRenderedStopIndex=n,this._doStuff(t,n)}},{key:"_doStuff",value:function(e,t){var n,r=this,o=this.props,i=o.isRowLoaded,a=o.minimumBatchSize,s=o.rowCount,l=o.threshold,c=function(e){for(var t=e.isRowLoaded,n=e.minimumBatchSize,r=e.rowCount,o=e.stopIndex,i=[],a=null,s=null,l=e.startIndex;l<=o;l++)t({index:l})?null!==s&&(i.push({startIndex:a,stopIndex:s}),a=s=null):(s=l,null===a&&(a=l));if(null!==s){for(var c=Math.min(Math.max(s,a+n-1),r-1),u=s+1;u<=c&&!t({index:u});u++)s=u;i.push({startIndex:a,stopIndex:s})}if(i.length)for(var d=i[0];d.stopIndex-d.startIndex+1<n&&d.startIndex>0;){var f=d.startIndex-1;if(t({index:f}))break;d.startIndex=f}return i}({isRowLoaded:i,minimumBatchSize:a,rowCount:s,startIndex:Math.max(0,e-l),stopIndex:Math.min(s-1,t+l)}),u=(n=[]).concat.apply(n,Se()(c.map((function(e){return[e.startIndex,e.stopIndex]}))));this._loadMoreRowsMemoizer({callback:function(){r._loadUnloadedRanges(c)},indices:{squashedUnloadedRanges:u}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}]),t}(m.PureComponent);g()(Ce,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),Ce.propTypes={};var Oe,xe,Te=(xe=Oe=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=l()(this,(e=u()(t)).call.apply(e,[this].concat(i))),g()(f()(n),"Grid",void 0),g()(f()(n),"_cellRenderer",(function(e){var t=e.parent,r=e.rowIndex,o=e.style,i=e.isScrolling,a=e.isVisible,s=e.key,l=n.props.rowRenderer,c=Object.getOwnPropertyDescriptor(o,"width");return c&&c.writable&&(o.width="100%"),l({index:r,style:o,isScrolling:i,isVisible:a,key:s,parent:t})})),g()(f()(n),"_setRef",(function(e){n.Grid=e})),g()(f()(n),"_onScroll",(function(e){var t=e.clientHeight,r=e.scrollHeight,o=e.scrollTop;(0,n.props.onScroll)({clientHeight:t,scrollHeight:r,scrollTop:o})})),g()(f()(n),"_onSectionRendered",(function(e){var t=e.rowOverscanStartIndex,r=e.rowOverscanStopIndex,o=e.rowStartIndex,i=e.rowStopIndex;(0,n.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:r,startIndex:o,stopIndex:i})})),n}return h()(t,e),a()(t,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,n=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:n,columnIndex:0}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,n=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:n,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.noRowsRenderer,r=e.scrollToIndex,o=e.width,i=S("ReactVirtualized__List",t);return m.createElement(X,_()({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:i,columnWidth:o,columnCount:1,noContentRenderer:n,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:r}))}}]),t}(m.PureComponent),g()(Oe,"propTypes",null),xe);g()(Te,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:Z,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});var ke=n(254),De=n.n(ke),Ee=function(e,t,n,r,o){return"function"==typeof n?function(e,t,n,r,o){for(var i=n+1;t<=n;){var a=t+n>>>1;o(e[a],r)>=0?(i=a,n=a-1):t=a+1}return i}(e,void 0===r?0:0|r,void 0===o?e.length-1:0|o,t,n):function(e,t,n,r){for(var o=n+1;t<=n;){var i=t+n>>>1;e[i]>=r?(o=i,n=i-1):t=i+1}return o}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t)};function Ie(e,t,n,r,o){this.mid=e,this.left=t,this.right=n,this.leftPoints=r,this.rightPoints=o,this.count=(t?t.count:0)+(n?n.count:0)+r.length}var Pe=Ie.prototype;function Me(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function Re(e,t){var n=Ge(t);e.mid=n.mid,e.left=n.left,e.right=n.right,e.leftPoints=n.leftPoints,e.rightPoints=n.rightPoints,e.count=n.count}function Ne(e,t){var n=e.intervals([]);n.push(t),Re(e,n)}function je(e,t){var n=e.intervals([]),r=n.indexOf(t);return r<0?0:(n.splice(r,1),Re(e,n),1)}function Ae(e,t,n){for(var r=0;r<e.length&&e[r][0]<=t;++r){var o=n(e[r]);if(o)return o}}function Le(e,t,n){for(var r=e.length-1;r>=0&&e[r][1]>=t;--r){var o=n(e[r]);if(o)return o}}function ze(e,t){for(var n=0;n<e.length;++n){var r=t(e[n]);if(r)return r}}function Fe(e,t){return e-t}function He(e,t){return e[0]-t[0]||e[1]-t[1]}function We(e,t){return e[1]-t[1]||e[0]-t[0]}function Ge(e){if(0===e.length)return null;for(var t=[],n=0;n<e.length;++n)t.push(e[n][0],e[n][1]);t.sort(Fe);var r=t[t.length>>1],o=[],i=[],a=[];for(n=0;n<e.length;++n){var s=e[n];s[1]<r?o.push(s):r<s[0]?i.push(s):a.push(s)}var l=a,c=a.slice();return l.sort(He),c.sort(We),new Ie(r,Ge(o),Ge(i),l,c)}function Ue(e){this.root=e}Pe.intervals=function(e){return e.push.apply(e,this.leftPoints),this.left&&this.left.intervals(e),this.right&&this.right.intervals(e),e},Pe.insert=function(e){var t=this.count-this.leftPoints.length;if(this.count+=1,e[1]<this.mid)this.left?4*(this.left.count+1)>3*(t+1)?Ne(this,e):this.left.insert(e):this.left=Ge([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?Ne(this,e):this.right.insert(e):this.right=Ge([e]);else{var n=Ee(this.leftPoints,e,He),r=Ee(this.rightPoints,e,We);this.leftPoints.splice(n,0,e),this.rightPoints.splice(r,0,e)}},Pe.remove=function(e){var t=this.count-this.leftPoints;if(e[1]<this.mid)return this.left?4*(this.right?this.right.count:0)>3*(t-1)?je(this,e):2===(i=this.left.remove(e))?(this.left=null,this.count-=1,1):(1===i&&(this.count-=1),i):0;if(e[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(t-1)?je(this,e):2===(i=this.right.remove(e))?(this.right=null,this.count-=1,1):(1===i&&(this.count-=1),i):0;if(1===this.count)return this.leftPoints[0]===e?2:0;if(1===this.leftPoints.length&&this.leftPoints[0]===e){if(this.left&&this.right){for(var n=this,r=this.left;r.right;)n=r,r=r.right;if(n===this)r.right=this.right;else{var o=this.left,i=this.right;n.count-=r.count,n.right=r.left,r.left=o,r.right=i}Me(this,r),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?Me(this,this.left):Me(this,this.right);return 1}for(o=Ee(this.leftPoints,e,He);o<this.leftPoints.length&&this.leftPoints[o][0]===e[0];++o)if(this.leftPoints[o]===e)for(this.count-=1,this.leftPoints.splice(o,1),i=Ee(this.rightPoints,e,We);i<this.rightPoints.length&&this.rightPoints[i][1]===e[1];++i)if(this.rightPoints[i]===e)return this.rightPoints.splice(i,1),1;return 0},Pe.queryPoint=function(e,t){return e<this.mid?this.left&&(n=this.left.queryPoint(e,t))?n:Ae(this.leftPoints,e,t):e>this.mid?this.right&&(n=this.right.queryPoint(e,t))?n:Le(this.rightPoints,e,t):ze(this.leftPoints,t);var n},Pe.queryInterval=function(e,t,n){var r;return e<this.mid&&this.left&&(r=this.left.queryInterval(e,t,n))||t>this.mid&&this.right&&(r=this.right.queryInterval(e,t,n))?r:t<this.mid?Ae(this.leftPoints,t,n):e>this.mid?Le(this.rightPoints,e,n):ze(this.leftPoints,n)};var Be=Ue.prototype;Be.insert=function(e){this.root?this.root.insert(e):this.root=new Ie(e[0],null,null,[e],[e])},Be.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},Be.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},Be.queryInterval=function(e,t,n){if(e<=t&&this.root)return this.root.queryInterval(e,t,n)},Object.defineProperty(Be,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(Be,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var Ve,Ke,qe=function(){function e(){o()(this,e),g()(this,"_columnSizeMap",{}),g()(this,"_intervalTree",new Ue(null)),g()(this,"_leftMap",{})}return a()(e,[{key:"estimateTotalHeight",value:function(e,t,n){var r=e-this.count;return this.tallestColumnSize+Math.ceil(r/t)*n}},{key:"range",value:function(e,t,n){var r=this;this._intervalTree.queryInterval(e,e+t,(function(e){var t=De()(e,3),o=t[0],i=(t[1],t[2]);return n(i,r._leftMap[i],o)}))}},{key:"setPosition",value:function(e,t,n,r){this._intervalTree.insert([n,n+r,e]),this._leftMap[e]=t;var o=this._columnSizeMap,i=o[t];o[t]=void 0===i?n+r:Math.max(i,n+r)}},{key:"count",get:function(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var n in e){var r=e[n];t=0===t?r:Math.min(t,r)}return t}},{key:"tallestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var n in e){var r=e[n];t=Math.max(t,r)}return t}}]),e}();function Ye(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 Xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ye(n,!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ye(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ze=(Ke=Ve=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=l()(this,(e=u()(t)).call.apply(e,[this].concat(i))),g()(f()(n),"state",{isScrolling:!1,scrollTop:0}),g()(f()(n),"_debounceResetIsScrollingId",void 0),g()(f()(n),"_invalidateOnUpdateStartIndex",null),g()(f()(n),"_invalidateOnUpdateStopIndex",null),g()(f()(n),"_positionCache",new qe),g()(f()(n),"_startIndex",null),g()(f()(n),"_startIndexMemoized",null),g()(f()(n),"_stopIndex",null),g()(f()(n),"_stopIndexMemoized",null),g()(f()(n),"_debounceResetIsScrollingCallback",(function(){n.setState({isScrolling:!1})})),g()(f()(n),"_setScrollingContainerRef",(function(e){n._scrollingContainer=e})),g()(f()(n),"_onScroll",(function(e){var t=n.props.height,r=e.currentTarget.scrollTop,o=Math.min(Math.max(0,n._getEstimatedTotalHeight()-t),r);r===o&&(n._debounceResetIsScrolling(),n.state.scrollTop!==o&&n.setState({isScrolling:!0,scrollTop:o}))})),n}return h()(t,e),a()(t,[{key:"clearCellPositions",value:function(){this._positionCache=new qe,this.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.rowIndex;null===this._invalidateOnUpdateStartIndex?(this._invalidateOnUpdateStartIndex=t,this._invalidateOnUpdateStopIndex=t):(this._invalidateOnUpdateStartIndex=Math.min(this._invalidateOnUpdateStartIndex,t),this._invalidateOnUpdateStopIndex=Math.max(this._invalidateOnUpdateStopIndex,t))}},{key:"recomputeCellPositions",value:function(){var e=this._positionCache.count-1;this._positionCache=new qe,this._populatePositionCache(0,e),this.forceUpdate()}},{key:"componentDidMount",value:function(){this._checkInvalidateOnUpdate(),this._invokeOnScrollCallback(),this._invokeOnCellsRenderedCallback()}},{key:"componentDidUpdate",value:function(e,t){this._checkInvalidateOnUpdate(),this._invokeOnScrollCallback(),this._invokeOnCellsRenderedCallback(),this.props.scrollTop!==e.scrollTop&&this._debounceResetIsScrolling()}},{key:"componentWillUnmount",value:function(){this._debounceResetIsScrollingId&&G(this._debounceResetIsScrollingId)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.autoHeight,o=n.cellCount,i=n.cellMeasurerCache,a=n.cellRenderer,s=n.className,l=n.height,c=n.id,u=n.keyMapper,d=n.overscanByPixels,f=n.role,p=n.style,h=n.tabIndex,v=n.width,y=n.rowDirection,b=this.state,_=b.isScrolling,w=b.scrollTop,C=[],O=this._getEstimatedTotalHeight(),x=this._positionCache.shortestColumnSize,T=this._positionCache.count,k=0;if(this._positionCache.range(Math.max(0,w-d),l+2*d,(function(n,r,o){var s;void 0===e?(k=n,e=n):(k=Math.min(k,n),e=Math.max(e,n)),C.push(a({index:n,isScrolling:_,key:u(n),parent:t,style:(s={height:i.getHeight(n)},g()(s,"ltr"===y?"left":"right",r),g()(s,"position","absolute"),g()(s,"top",o),g()(s,"width",i.getWidth(n)),s)}))})),x<w+l+d&&T<o)for(var D=Math.min(o-T,Math.ceil((w+l+d-x)/i.defaultHeight*v/i.defaultWidth)),E=T;E<T+D;E++)e=E,C.push(a({index:E,isScrolling:_,key:u(E),parent:this,style:{width:i.getWidth(E)}}));return this._startIndex=k,this._stopIndex=e,m.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:S("ReactVirtualized__Masonry",s),id:c,onScroll:this._onScroll,role:f,style:Xe({boxSizing:"border-box",direction:"ltr",height:r?"auto":l,overflowX:"hidden",overflowY:O<l?"hidden":"auto",position:"relative",width:v,WebkitOverflowScrolling:"touch",willChange:"transform"},p),tabIndex:h},m.createElement("div",{className:"ReactVirtualized__Masonry__innerScrollContainer",style:{width:"100%",height:O,maxWidth:"100%",maxHeight:O,overflow:"hidden",pointerEvents:_?"none":"",position:"relative"}},C))}},{key:"_checkInvalidateOnUpdate",value:function(){if("number"==typeof this._invalidateOnUpdateStartIndex){var e=this._invalidateOnUpdateStartIndex,t=this._invalidateOnUpdateStopIndex;this._invalidateOnUpdateStartIndex=null,this._invalidateOnUpdateStopIndex=null,this._populatePositionCache(e,t),this.forceUpdate()}}},{key:"_debounceResetIsScrolling",value:function(){var e=this.props.scrollingResetTimeInterval;this._debounceResetIsScrollingId&&G(this._debounceResetIsScrollingId),this._debounceResetIsScrollingId=U(this._debounceResetIsScrollingCallback,e)}},{key:"_getEstimatedTotalHeight",value:function(){var e=this.props,t=e.cellCount,n=e.cellMeasurerCache,r=e.width,o=Math.max(1,Math.floor(r/n.defaultWidth));return this._positionCache.estimateTotalHeight(t,o,n.defaultHeight)}},{key:"_invokeOnScrollCallback",value:function(){var e=this.props,t=e.height,n=e.onScroll,r=this.state.scrollTop;this._onScrollMemoized!==r&&(n({clientHeight:t,scrollHeight:this._getEstimatedTotalHeight(),scrollTop:r}),this._onScrollMemoized=r)}},{key:"_invokeOnCellsRenderedCallback",value:function(){this._startIndexMemoized===this._startIndex&&this._stopIndexMemoized===this._stopIndex||((0,this.props.onCellsRendered)({startIndex:this._startIndex,stopIndex:this._stopIndex}),this._startIndexMemoized=this._startIndex,this._stopIndexMemoized=this._stopIndex)}},{key:"_populatePositionCache",value:function(e,t){for(var n=this.props,r=n.cellMeasurerCache,o=n.cellPositioner,i=e;i<=t;i++){var a=o(i),s=a.left,l=a.top;this._positionCache.setPosition(i,s,l,r.getHeight(i))}}}],[{key:"getDerivedStateFromProps",value:function(e,t){return void 0!==e.scrollTop&&t.scrollTop!==e.scrollTop?{isScrolling:!0,scrollTop:e.scrollTop}:null}}]),t}(m.PureComponent),g()(Ve,"propTypes",null),Ke);function $e(){}g()(Ze,"defaultProps",{autoHeight:!1,keyMapper:function(e){return e},onCellsRendered:$e,onScroll:$e,overscanByPixels:20,role:"grid",scrollingResetTimeInterval:150,style:{},tabIndex:0,rowDirection:"ltr"}),Object(y.polyfill)(Ze);var Je=Ze;function Qe(e){var t,n=e.cellMeasurerCache,r=e.columnCount,o=e.columnWidth,i=e.spacer,a=void 0===i?0:i;function s(e){for(var r=0,i=1;i<t.length;i++)t[i]<t[r]&&(r=i);var s=r*(o+a),l=t[r]||0;return t[r]=l+n.getHeight(e)+a,{left:s,top:l}}function l(){t=[];for(var e=0;e<r;e++)t[e]=0}return l(),s.reset=function(e){r=e.columnCount,o=e.columnWidth,a=e.spacer,l()},s}var et=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o()(this,e),g()(this,"_cellMeasurerCache",void 0),g()(this,"_columnIndexOffset",void 0),g()(this,"_rowIndexOffset",void 0),g()(this,"columnWidth",(function(e){var n=e.index;t._cellMeasurerCache.columnWidth({index:n+t._columnIndexOffset})})),g()(this,"rowHeight",(function(e){var n=e.index;t._cellMeasurerCache.rowHeight({index:n+t._rowIndexOffset})}));var r=n.cellMeasurerCache,i=n.columnIndexOffset,a=void 0===i?0:i,s=n.rowIndexOffset,l=void 0===s?0:s;this._cellMeasurerCache=r,this._columnIndexOffset=a,this._rowIndexOffset=l}return a()(e,[{key:"clear",value:function(e,t){this._cellMeasurerCache.clear(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getHeight(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getWidth(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.has(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"set",value:function(e,t,n,r){this._cellMeasurerCache.set(e+this._rowIndexOffset,t+this._columnIndexOffset,n,r)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),e}();function tt(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 nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tt(n,!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var rt=function(e){function t(e,n){var r;o()(this,t),r=l()(this,u()(t).call(this,e,n)),g()(f()(r),"state",{scrollLeft:0,scrollTop:0,scrollbarSize:0,showHorizontalScrollbar:!1,showVerticalScrollbar:!1}),g()(f()(r),"_deferredInvalidateColumnIndex",null),g()(f()(r),"_deferredInvalidateRowIndex",null),g()(f()(r),"_bottomLeftGridRef",(function(e){r._bottomLeftGrid=e})),g()(f()(r),"_bottomRightGridRef",(function(e){r._bottomRightGrid=e})),g()(f()(r),"_cellRendererBottomLeftGrid",(function(e){var t=e.rowIndex,n=x()(e,["rowIndex"]),o=r.props,i=o.cellRenderer,a=o.fixedRowCount;return t===o.rowCount-a?m.createElement("div",{key:n.key,style:nt({},n.style,{height:20})}):i(nt({},n,{parent:f()(r),rowIndex:t+a}))})),g()(f()(r),"_cellRendererBottomRightGrid",(function(e){var t=e.columnIndex,n=e.rowIndex,o=x()(e,["columnIndex","rowIndex"]),i=r.props,a=i.cellRenderer,s=i.fixedColumnCount,l=i.fixedRowCount;return a(nt({},o,{columnIndex:t+s,parent:f()(r),rowIndex:n+l}))})),g()(f()(r),"_cellRendererTopRightGrid",(function(e){var t=e.columnIndex,n=x()(e,["columnIndex"]),o=r.props,i=o.cellRenderer,a=o.columnCount,s=o.fixedColumnCount;return t===a-s?m.createElement("div",{key:n.key,style:nt({},n.style,{width:20})}):i(nt({},n,{columnIndex:t+s,parent:f()(r)}))})),g()(f()(r),"_columnWidthRightGrid",(function(e){var t=e.index,n=r.props,o=n.columnCount,i=n.fixedColumnCount,a=n.columnWidth,s=r.state,l=s.scrollbarSize;return s.showHorizontalScrollbar&&t===o-i?l:"function"==typeof a?a({index:t+i}):a})),g()(f()(r),"_onScroll",(function(e){var t=e.scrollLeft,n=e.scrollTop;r.setState({scrollLeft:t,scrollTop:n});var o=r.props.onScroll;o&&o(e)})),g()(f()(r),"_onScrollbarPresenceChange",(function(e){var t=e.horizontal,n=e.size,o=e.vertical,i=r.state,a=i.showHorizontalScrollbar,s=i.showVerticalScrollbar;if(t!==a||o!==s){r.setState({scrollbarSize:n,showHorizontalScrollbar:t,showVerticalScrollbar:o});var l=r.props.onScrollbarPresenceChange;"function"==typeof l&&l({horizontal:t,size:n,vertical:o})}})),g()(f()(r),"_onScrollLeft",(function(e){var t=e.scrollLeft;r._onScroll({scrollLeft:t,scrollTop:r.state.scrollTop})})),g()(f()(r),"_onScrollTop",(function(e){var t=e.scrollTop;r._onScroll({scrollTop:t,scrollLeft:r.state.scrollLeft})})),g()(f()(r),"_rowHeightBottomGrid",(function(e){var t=e.index,n=r.props,o=n.fixedRowCount,i=n.rowCount,a=n.rowHeight,s=r.state,l=s.scrollbarSize;return s.showVerticalScrollbar&&t===i-o?l:"function"==typeof a?a({index:t+o}):a})),g()(f()(r),"_topLeftGridRef",(function(e){r._topLeftGrid=e})),g()(f()(r),"_topRightGridRef",(function(e){r._topRightGrid=e}));var i=e.deferredMeasurementCache,a=e.fixedColumnCount,s=e.fixedRowCount;return r._maybeCalculateCachedStyles(!0),i&&(r._deferredMeasurementCacheBottomLeftGrid=s>0?new et({cellMeasurerCache:i,columnIndexOffset:0,rowIndexOffset:s}):i,r._deferredMeasurementCacheBottomRightGrid=a>0||s>0?new et({cellMeasurerCache:i,columnIndexOffset:a,rowIndexOffset:s}):i,r._deferredMeasurementCacheTopRightGrid=a>0?new et({cellMeasurerCache:i,columnIndexOffset:a,rowIndexOffset:0}):i),r}return h()(t,e),a()(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,o):o}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.fixedColumnCount,s=i.fixedRowCount,l=Math.max(0,n-a),c=Math.max(0,o-s);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:c}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:l,rowIndex:c}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:o}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:l,rowIndex:o}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.scrollLeft,n=e.scrollTop;if(t>0||n>0){var r={};t>0&&(r.scrollLeft=t),n>0&&(r.scrollTop=n),this.setState(r)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var e=this.props,t=e.onScroll,n=e.onSectionRendered,r=(e.onScrollbarPresenceChange,e.scrollLeft,e.scrollToColumn),o=(e.scrollTop,e.scrollToRow),i=x()(e,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),0===this.props.width||0===this.props.height)return null;var a=this.state,s=a.scrollLeft,l=a.scrollTop;return m.createElement("div",{style:this._containerOuterStyle},m.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(i),this._renderTopRightGrid(nt({},i,{onScroll:t,scrollLeft:s}))),m.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(nt({},i,{onScroll:t,scrollTop:l})),this._renderBottomRightGrid(nt({},i,{onScroll:t,onSectionRendered:n,scrollLeft:s,scrollToColumn:r,scrollToRow:o,scrollTop:l}))))}},{key:"_getBottomGridHeight",value:function(e){return e.height-this._getTopGridHeight(e)}},{key:"_getLeftGridWidth",value:function(e){var t=e.fixedColumnCount,n=e.columnWidth;if(null==this._leftGridWidth)if("function"==typeof n){for(var r=0,o=0;o<t;o++)r+=n({index:o});this._leftGridWidth=r}else this._leftGridWidth=n*t;return this._leftGridWidth}},{key:"_getRightGridWidth",value:function(e){return e.width-this._getLeftGridWidth(e)}},{key:"_getTopGridHeight",value:function(e){var t=e.fixedRowCount,n=e.rowHeight;if(null==this._topGridHeight)if("function"==typeof n){for(var r=0,o=0;o<t;o++)r+=n({index:o});this._topGridHeight=r}else this._topGridHeight=n*t;return this._topGridHeight}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t}),this.forceUpdate()}}},{key:"_maybeCalculateCachedStyles",value:function(e){var t=this.props,n=t.columnWidth,r=t.enableFixedColumnScroll,o=t.enableFixedRowScroll,i=t.height,a=t.fixedColumnCount,s=t.fixedRowCount,l=t.rowHeight,c=t.style,u=t.styleBottomLeftGrid,d=t.styleBottomRightGrid,f=t.styleTopLeftGrid,p=t.styleTopRightGrid,h=t.width,v=e||i!==this._lastRenderedHeight||h!==this._lastRenderedWidth,g=e||n!==this._lastRenderedColumnWidth||a!==this._lastRenderedFixedColumnCount,m=e||s!==this._lastRenderedFixedRowCount||l!==this._lastRenderedRowHeight;(e||v||c!==this._lastRenderedStyle)&&(this._containerOuterStyle=nt({height:i,overflow:"visible",width:h},c)),(e||v||m)&&(this._containerTopStyle={height:this._getTopGridHeight(this.props),position:"relative",width:h},this._containerBottomStyle={height:i-this._getTopGridHeight(this.props),overflow:"visible",position:"relative",width:h}),(e||u!==this._lastRenderedStyleBottomLeftGrid)&&(this._bottomLeftGridStyle=nt({left:0,overflowX:"hidden",overflowY:r?"auto":"hidden",position:"absolute"},u)),(e||g||d!==this._lastRenderedStyleBottomRightGrid)&&(this._bottomRightGridStyle=nt({left:this._getLeftGridWidth(this.props),position:"absolute"},d)),(e||f!==this._lastRenderedStyleTopLeftGrid)&&(this._topLeftGridStyle=nt({left:0,overflowX:"hidden",overflowY:"hidden",position:"absolute",top:0},f)),(e||g||p!==this._lastRenderedStyleTopRightGrid)&&(this._topRightGridStyle=nt({left:this._getLeftGridWidth(this.props),overflowX:o?"auto":"hidden",overflowY:"hidden",position:"absolute",top:0},p)),this._lastRenderedColumnWidth=n,this._lastRenderedFixedColumnCount=a,this._lastRenderedFixedRowCount=s,this._lastRenderedHeight=i,this._lastRenderedRowHeight=l,this._lastRenderedStyle=c,this._lastRenderedStyleBottomLeftGrid=u,this._lastRenderedStyleBottomRightGrid=d,this._lastRenderedStyleTopLeftGrid=f,this._lastRenderedStyleTopRightGrid=p,this._lastRenderedWidth=h}},{key:"_prepareForRender",value:function(){this._lastRenderedColumnWidth===this.props.columnWidth&&this._lastRenderedFixedColumnCount===this.props.fixedColumnCount||(this._leftGridWidth=null),this._lastRenderedFixedRowCount===this.props.fixedRowCount&&this._lastRenderedRowHeight===this.props.rowHeight||(this._topGridHeight=null),this._maybeCalculateCachedStyles(),this._lastRenderedColumnWidth=this.props.columnWidth,this._lastRenderedFixedColumnCount=this.props.fixedColumnCount,this._lastRenderedFixedRowCount=this.props.fixedRowCount,this._lastRenderedRowHeight=this.props.rowHeight}},{key:"_renderBottomLeftGrid",value:function(e){var t=e.enableFixedColumnScroll,n=e.fixedColumnCount,r=e.fixedRowCount,o=e.rowCount,i=e.hideBottomLeftGridScrollbar,a=this.state.showVerticalScrollbar;if(!n)return null;var s=a?1:0,l=this._getBottomGridHeight(e),c=this._getLeftGridWidth(e),u=this.state.showVerticalScrollbar?this.state.scrollbarSize:0,d=i?c+u:c,f=m.createElement(X,_()({},e,{cellRenderer:this._cellRendererBottomLeftGrid,className:this.props.classNameBottomLeftGrid,columnCount:n,deferredMeasurementCache:this._deferredMeasurementCacheBottomLeftGrid,height:l,onScroll:t?this._onScrollTop:void 0,ref:this._bottomLeftGridRef,rowCount:Math.max(0,o-r)+s,rowHeight:this._rowHeightBottomGrid,style:this._bottomLeftGridStyle,tabIndex:null,width:d}));return i?m.createElement("div",{className:"BottomLeftGrid_ScrollWrapper",style:nt({},this._bottomLeftGridStyle,{height:l,width:c,overflowY:"hidden"})},f):f}},{key:"_renderBottomRightGrid",value:function(e){var t=e.columnCount,n=e.fixedColumnCount,r=e.fixedRowCount,o=e.rowCount,i=e.scrollToColumn,a=e.scrollToRow;return m.createElement(X,_()({},e,{cellRenderer:this._cellRendererBottomRightGrid,className:this.props.classNameBottomRightGrid,columnCount:Math.max(0,t-n),columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheBottomRightGrid,height:this._getBottomGridHeight(e),onScroll:this._onScroll,onScrollbarPresenceChange:this._onScrollbarPresenceChange,ref:this._bottomRightGridRef,rowCount:Math.max(0,o-r),rowHeight:this._rowHeightBottomGrid,scrollToColumn:i-n,scrollToRow:a-r,style:this._bottomRightGridStyle,width:this._getRightGridWidth(e)}))}},{key:"_renderTopLeftGrid",value:function(e){var t=e.fixedColumnCount,n=e.fixedRowCount;return t&&n?m.createElement(X,_()({},e,{className:this.props.classNameTopLeftGrid,columnCount:t,height:this._getTopGridHeight(e),ref:this._topLeftGridRef,rowCount:n,style:this._topLeftGridStyle,tabIndex:null,width:this._getLeftGridWidth(e)})):null}},{key:"_renderTopRightGrid",value:function(e){var t=e.columnCount,n=e.enableFixedRowScroll,r=e.fixedColumnCount,o=e.fixedRowCount,i=e.scrollLeft,a=e.hideTopRightGridScrollbar,s=this.state,l=s.showHorizontalScrollbar,c=s.scrollbarSize;if(!o)return null;var u=l?1:0,d=this._getTopGridHeight(e),f=this._getRightGridWidth(e),p=l?c:0,h=d,v=this._topRightGridStyle;a&&(h=d+p,v=nt({},this._topRightGridStyle,{left:0}));var g=m.createElement(X,_()({},e,{cellRenderer:this._cellRendererTopRightGrid,className:this.props.classNameTopRightGrid,columnCount:Math.max(0,t-r)+u,columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheTopRightGrid,height:h,onScroll:n?this._onScrollLeft:void 0,ref:this._topRightGridRef,rowCount:o,scrollLeft:i,style:v,tabIndex:null,width:f}));return a?m.createElement("div",{className:"TopRightGrid_ScrollWrapper",style:nt({},this._topRightGridStyle,{height:d,width:f,overflowX:"hidden"})},g):g}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft&&e.scrollLeft>=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}]),t}(m.PureComponent);g()(rt,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1}),rt.propTypes={},Object(y.polyfill)(rt);var ot=rt,it=function(e){function t(e,n){var r;return o()(this,t),(r=l()(this,u()(t).call(this,e,n))).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},r._onScroll=r._onScroll.bind(f()(r)),r}return h()(t,e),a()(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.clientHeight,r=t.clientWidth,o=t.scrollHeight,i=t.scrollLeft,a=t.scrollTop,s=t.scrollWidth;return e({clientHeight:n,clientWidth:r,onScroll:this._onScroll,scrollHeight:o,scrollLeft:i,scrollTop:a,scrollWidth:s})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,n=e.clientWidth,r=e.scrollHeight,o=e.scrollLeft,i=e.scrollTop,a=e.scrollWidth;this.setState({clientHeight:t,clientWidth:n,scrollHeight:r,scrollLeft:o,scrollTop:i,scrollWidth:a})}}]),t}(m.PureComponent);function at(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.defaultSortBy,r=t.defaultSortDirection,o=void 0===r?{}:r;if(!e)throw Error('Required parameter "sortCallback" not specified');var i=n||[],a={};function s(t){var n=t.defaultSortDirection,r=t.event,o=t.sortBy;if(r.shiftKey)void 0!==a[o]?a[o]="ASC"===a[o]?"DESC":"ASC":(a[o]=n,i.push(o));else if(r.ctrlKey||r.metaKey){var s=i.indexOf(o);s>=0&&(i.splice(s,1),delete a[o])}else i.length=0,i.push(o),Object.keys(a).forEach((function(e){e!==o&&delete a[e]})),void 0!==a[o]?a[o]="ASC"===a[o]?"DESC":"ASC":a[o]=n;e({sortBy:i,sortDirection:a})}return i.forEach((function(e){a[e]=void 0!==o[e]?o[e]:"ASC"})),{sort:s,sortBy:i,sortDirection:a}}function st(e){var t=e.dataKey,n=e.rowData;return"function"==typeof n.get?n.get(t):n[t]}function lt(e){var t=e.cellData;return null==t?"":String(t)}function ct(e){var t=e.className,n=e.columns,r=e.style;return m.createElement("div",{className:t,role:"row",style:r},n)}it.propTypes={},ct.propTypes=null;var ut={ASC:"ASC",DESC:"DESC"};function dt(e){var t=e.sortDirection,n=S("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===ut.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===ut.DESC});return m.createElement("svg",{className:n,width:18,height:18,viewBox:"0 0 24 24"},t===ut.ASC?m.createElement("path",{d:"M7 14l5-5 5 5z"}):m.createElement("path",{d:"M7 10l5 5 5-5z"}),m.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function ft(e){var t=e.dataKey,n=e.label,r=e.sortBy,o=e.sortDirection,i=r===t,a=[m.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof n?n:null},n)];return i&&a.push(m.createElement(dt,{key:"SortIndicator",sortDirection:o})),a}function pt(e){var t=e.className,n=e.columns,r=e.index,o=e.key,i=e.onRowClick,a=e.onRowDoubleClick,s=e.onRowMouseOut,l=e.onRowMouseOver,c=e.onRowRightClick,u=e.rowData,d=e.style,f={"aria-rowindex":r+1};return(i||a||s||l||c)&&(f["aria-label"]="row",f.tabIndex=0,i&&(f.onClick=function(e){return i({event:e,index:r,rowData:u})}),a&&(f.onDoubleClick=function(e){return a({event:e,index:r,rowData:u})}),s&&(f.onMouseOut=function(e){return s({event:e,index:r,rowData:u})}),l&&(f.onMouseOver=function(e){return l({event:e,index:r,rowData:u})}),c&&(f.onContextMenu=function(e){return c({event:e,index:r,rowData:u})})),m.createElement("div",_()({},f,{className:t,key:o,role:"row",style:d}),n)}dt.propTypes={},ft.propTypes=null,pt.propTypes=null;var ht=function(e){function t(){return o()(this,t),l()(this,u()(t).apply(this,arguments))}return h()(t,e),t}(m.Component);function vt(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 gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(n,!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}g()(ht,"defaultProps",{cellDataGetter:st,cellRenderer:lt,defaultSortDirection:ut.ASC,flexGrow:0,flexShrink:1,headerRenderer:ft,style:{}}),ht.propTypes={};var mt=function(e){function t(e){var n;return o()(this,t),(n=l()(this,u()(t).call(this,e))).state={scrollbarWidth:0},n._createColumn=n._createColumn.bind(f()(n)),n._createRow=n._createRow.bind(f()(n)),n._onScroll=n._onScroll.bind(f()(n)),n._onSectionRendered=n._onSectionRendered.bind(f()(n)),n._setRef=n._setRef.bind(f()(n)),n}return h()(t,e),a()(t,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,n=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:n}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,n=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:n,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var e=Object(le.findDOMNode)(this.Grid),t=e.clientWidth||0;return(e.offsetWidth||0)-t}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.className,o=t.disableHeader,i=t.gridClassName,a=t.gridStyle,s=t.headerHeight,l=t.headerRowRenderer,c=t.height,u=t.id,d=t.noRowsRenderer,f=t.rowClassName,p=t.rowStyle,h=t.scrollToIndex,v=t.style,g=t.width,y=this.state.scrollbarWidth,b=o?c:c-s,w="function"==typeof f?f({index:-1}):f,C="function"==typeof p?p({index:-1}):p;return this._cachedColumnStyles=[],m.Children.toArray(n).forEach((function(t,n){var r=e._getFlexStyleForColumn(t,t.props.style);e._cachedColumnStyles[n]=gt({overflow:"hidden"},r)})),m.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":m.Children.toArray(n).length,"aria-rowcount":this.props.rowCount,className:S("ReactVirtualized__Table",r),id:u,role:"grid",style:v},!o&&l({className:S("ReactVirtualized__Table__headerRow",w),columns:this._getHeaderColumns(),style:gt({height:s,overflow:"hidden",paddingRight:y,width:g},C)}),m.createElement(X,_()({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:S("ReactVirtualized__Table__Grid",i),cellRenderer:this._createRow,columnWidth:g,columnCount:1,height:b,id:void 0,noContentRenderer:d,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:y,scrollToRow:h,style:gt({},a,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,n=e.columnIndex,r=e.isScrolling,o=e.parent,i=e.rowData,a=e.rowIndex,s=this.props.onColumnClick,l=t.props,c=l.cellDataGetter,u=l.cellRenderer,d=l.className,f=l.columnData,p=l.dataKey,h=l.id,v=u({cellData:c({columnData:f,dataKey:p,rowData:i}),columnData:f,columnIndex:n,dataKey:p,isScrolling:r,parent:o,rowData:i,rowIndex:a}),g=this._cachedColumnStyles[n],y="string"==typeof v?v:null;return m.createElement("div",{"aria-colindex":n+1,"aria-describedby":h,className:S("ReactVirtualized__Table__rowColumn",d),key:"Row"+a+"-Col"+n,onClick:function(e){s&&s({columnData:f,dataKey:p,event:e})},role:"gridcell",style:g,title:y},v)}},{key:"_createHeader",value:function(e){var t,n,r,o,i,a=e.column,s=e.index,l=this.props,c=l.headerClassName,u=l.headerStyle,d=l.onHeaderClick,f=l.sort,p=l.sortBy,h=l.sortDirection,v=a.props,g=v.columnData,y=v.dataKey,b=v.defaultSortDirection,_=v.disableSort,w=v.headerRenderer,C=v.id,O=v.label,x=!_&&f,T=S("ReactVirtualized__Table__headerColumn",c,a.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:x}),k=this._getFlexStyleForColumn(a,gt({},u,{},a.props.headerStyle)),D=w({columnData:g,dataKey:y,disableSort:_,label:O,sortBy:p,sortDirection:h});if(x||d){var E=p!==y?b:h===ut.DESC?ut.ASC:ut.DESC,I=function(e){x&&f({defaultSortDirection:b,event:e,sortBy:y,sortDirection:E}),d&&d({columnData:g,dataKey:y,event:e})};i=a.props["aria-label"]||O||y,o="none",r=0,t=I,n=function(e){"Enter"!==e.key&&" "!==e.key||I(e)}}return p===y&&(o=h===ut.ASC?"ascending":"descending"),m.createElement("div",{"aria-label":i,"aria-sort":o,className:T,id:C,key:"Header-Col"+s,onClick:t,onKeyDown:n,role:"columnheader",style:k,tabIndex:r},D)}},{key:"_createRow",value:function(e){var t=this,n=e.rowIndex,r=e.isScrolling,o=e.key,i=e.parent,a=e.style,s=this.props,l=s.children,c=s.onRowClick,u=s.onRowDoubleClick,d=s.onRowRightClick,f=s.onRowMouseOver,p=s.onRowMouseOut,h=s.rowClassName,v=s.rowGetter,g=s.rowRenderer,y=s.rowStyle,b=this.state.scrollbarWidth,_="function"==typeof h?h({index:n}):h,w="function"==typeof y?y({index:n}):y,C=v({index:n}),O=m.Children.toArray(l).map((function(e,o){return t._createColumn({column:e,columnIndex:o,isScrolling:r,parent:i,rowData:C,rowIndex:n,scrollbarWidth:b})})),x=S("ReactVirtualized__Table__row",_),T=gt({},a,{height:this._getRowHeight(n),overflow:"hidden",paddingRight:b},w);return g({className:x,columns:O,index:n,isScrolling:r,key:o,onRowClick:c,onRowDoubleClick:u,onRowRightClick:d,onRowMouseOver:f,onRowMouseOut:p,rowData:C,style:T})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),r=gt({},t,{flex:n,msFlex:n,WebkitFlex:n});return e.props.maxWidth&&(r.maxWidth=e.props.maxWidth),e.props.minWidth&&(r.minWidth=e.props.minWidth),r}},{key:"_getHeaderColumns",value:function(){var e=this,t=this.props,n=t.children;return(t.disableHeader?[]:m.Children.toArray(n)).map((function(t,n){return e._createHeader({column:t,index:n})}))}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return"function"==typeof t?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,n=e.scrollHeight,r=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:n,scrollTop:r})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,n=e.rowOverscanStopIndex,r=e.rowStartIndex,o=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:n,startIndex:r,stopIndex:o})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(m.PureComponent);g()(mt,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:Z,overscanRowCount:10,rowRenderer:pt,headerRowRenderer:ct,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),mt.propTypes={};var yt=[],bt=null,_t=null;function wt(){_t&&(_t=null,document.body&&null!=bt&&(document.body.style.pointerEvents=bt),bt=null)}function St(){wt(),yt.forEach((function(e){return e.__resetIsScrolling()}))}function Ct(e){e.currentTarget===window&&null==bt&&document.body&&(bt=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),function(){_t&&G(_t);var e=0;yt.forEach((function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)})),_t=U(St,e)}(),yt.forEach((function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()}))}function Ot(e,t){yt.some((function(e){return e.props.scrollElement===t}))||t.addEventListener("scroll",Ct),yt.push(e)}function xt(e,t){(yt=yt.filter((function(t){return t!==e}))).length||(t.removeEventListener("scroll",Ct),_t&&(G(_t),wt()))}var Tt,kt,Dt=function(e){return e===window},Et=function(e){return e.getBoundingClientRect()};function It(e,t){if(e){if(Dt(e)){var n=window,r=n.innerHeight,o=n.innerWidth;return{height:"number"==typeof r?r:0,width:"number"==typeof o?o:0}}return Et(e)}return{height:t.serverHeight,width:t.serverWidth}}function Pt(e,t){if(Dt(t)&&document.documentElement){var n=document.documentElement,r=Et(e),o=Et(n);return{top:r.top-o.top,left:r.left-o.left}}var i=Mt(t),a=Et(e),s=Et(t);return{top:a.top+i.top-s.top,left:a.left+i.left-s.left}}function Mt(e){return Dt(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}function Rt(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 Nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rt(n,!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var jt=function(){return"undefined"!=typeof window?window:void 0},At=(kt=Tt=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=l()(this,(e=u()(t)).call.apply(e,[this].concat(i))),g()(f()(n),"_window",jt()),g()(f()(n),"_isMounted",!1),g()(f()(n),"_positionFromTop",0),g()(f()(n),"_positionFromLeft",0),g()(f()(n),"_detectElementResize",void 0),g()(f()(n),"_child",void 0),g()(f()(n),"state",Nt({},It(n.props.scrollElement,n.props),{isScrolling:!1,scrollLeft:0,scrollTop:0})),g()(f()(n),"_registerChild",(function(e){!e||e instanceof Element||console.warn("WindowScroller registerChild expects to be passed Element or null"),n._child=e,n.updatePosition()})),g()(f()(n),"_onChildScroll",(function(e){var t=e.scrollTop;if(n.state.scrollTop!==t){var r=n.props.scrollElement;r&&("function"==typeof r.scrollTo?r.scrollTo(0,t+n._positionFromTop):r.scrollTop=t+n._positionFromTop)}})),g()(f()(n),"_registerResizeListener",(function(e){e===window?window.addEventListener("resize",n._onResize,!1):n._detectElementResize.addResizeListener(e,n._onResize)})),g()(f()(n),"_unregisterResizeListener",(function(e){e===window?window.removeEventListener("resize",n._onResize,!1):e&&n._detectElementResize.removeResizeListener(e,n._onResize)})),g()(f()(n),"_onResize",(function(){n.updatePosition()})),g()(f()(n),"__handleWindowScrollEvent",(function(){if(n._isMounted){var e=n.props.onScroll,t=n.props.scrollElement;if(t){var r=Mt(t),o=Math.max(0,r.left-n._positionFromLeft),i=Math.max(0,r.top-n._positionFromTop);n.setState({isScrolling:!0,scrollLeft:o,scrollTop:i}),e({scrollLeft:o,scrollTop:i})}}})),g()(f()(n),"__resetIsScrolling",(function(){n.setState({isScrolling:!1})})),n}return h()(t,e),a()(t,[{key:"updatePosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,n=this.state,r=n.height,o=n.width,i=this._child||le.findDOMNode(this);if(i instanceof Element&&e){var a=Pt(i,e);this._positionFromTop=a.top,this._positionFromLeft=a.left}var s=It(e,this.props);r===s.height&&o===s.width||(this.setState({height:s.height,width:s.width}),t({height:s.height,width:s.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=Object(ne.a)(),this.updatePosition(e),e&&(Ot(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.scrollElement,r=e.scrollElement;r!==n&&null!=r&&null!=n&&(this.updatePosition(n),xt(this,r),Ot(this,n),this._unregisterResizeListener(r),this._registerResizeListener(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(xt(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.isScrolling,r=t.scrollTop,o=t.scrollLeft,i=t.height,a=t.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:n,scrollLeft:o,scrollTop:r,width:a})}}]),t}(m.PureComponent),g()(Tt,"propTypes",null),kt);g()(At,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:jt(),serverHeight:0,serverWidth:0})}]);
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=349)}([function(e,t){e.exports=React},function(e,t,n){e.exports=n(110)()},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},e.exports.default=e.exports,e.exports.__esModule=!0},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},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},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},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(47);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)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(16).default,o=n(3);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.r(t),n.d(t,"cf7sItems",(function(){return P})),n.d(t,"defaultTreeData",(function(){return w})),n.d(t,"randomizeName",(function(){return C})),n.d(t,"mergeDefault",(function(){return O})),n.d(t,"versionCompare",(function(){return x})),n.d(t,"saveVisualForm",(function(){return S})),n.d(t,"getVisualVar",(function(){return T})),n.d(t,"isDevelopment",(function(){return k})),n.d(t,"cf7sRequest",(function(){return d})),n.d(t,"cf7sDropRules",(function(){return K})),n.d(t,"cf7sSurroundingRules",(function(){return q})),n.d(t,"cf7sDuplicateRules",(function(){return Y}));var r=n(2),o=n.n(r),i=n(16),a=n.n(i),s=n(0),l=n.n(s),c=n(11),u=n.n(c);function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";e.nonce||(e.nonce=window.cf7svisual.nonce);var n=Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&"),r={method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:n},o=fetch(window.cf7svisual.ajaxurl,r).then((function(e){return"json"===t?e.json():e.text()})).then((function(e){if(e)return e;throw new Error("Error. Returned data: ".concat(e))})).catch((function(e){console.error("Error: ".concat(e))}));return Promise.resolve(o)}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return p(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=v({},window.wp.i18n),m=g.sprintf,__=g.__,y=v({},window.wp.data),b=y.dispatch,_=y.select;function w(){var e,t=[],n=[],r=f(P);try{for(r.s();!(e=r.n()).done;){var o=e.value;t[o.cf7sType]=C(o)}}catch(e){r.e(e)}finally{r.f()}return t.fieldset.expanded=!0,t.fieldset.cf7sLabel=__("Legend","contact-form-7-skins"),n.push(t.fieldset),t["list-ol"].expanded=!0,n[0].children=[v({},t["list-ol"])],t.text.cf7sLabel=__("Your Name (required)","contact-form-7-skins"),t.text.cf7Required=!0,t["list-li"].expanded=!0,t["list-li"].children=[v({},t.text)],n[0].children[0].children=[v({},t["list-li"])],t.email.cf7sLabel=__("Email Address (required)","contact-form-7-skins"),t.email.cf7Required=!0,t["list-li"]=C(t["list-li"]),t["list-li"].children=[v({},t.email)],n[0].children[0].children[1]=v({},t["list-li"]),t.textarea.cf7sLabel=__("Your Message","contact-form-7-skins"),t["list-li"]=C(t["list-li"]),t["list-li"].children=[v({},t.textarea)],n[0].children[0].children[2]=v({},t["list-li"]),t.paragraph.cf7sContent=__("* Required","contact-form-7-skins"),n[0].children[1]=v({},t.paragraph),t.submit.cf7sLabel=__("Send","contact-form-7-skins"),n.push(t.submit),n}function S(e){var t=b("cf7svisual").setNotice,n=v({},_("cf7svisual").getStates()),r=window.cf7svisual.treeData||n.treeData.slice(),o=window.cf7svisual;if("development"===o.environment&&(console.log("on save:",r),console.log(JSON.stringify(r))),o&&document.getElementById("post_ID")){var i=document.getElementById("post_ID").getAttribute("value"),s=document.getElementById("wpcf7-admin-form-element"),c=document.createElement("input");if(!i||i<0)c.setAttribute("type","hidden"),c.setAttribute("name","cf7s-visual"),c.setAttribute("value",JSON.stringify(r)),s.appendChild(c),s.submit();else{var p=document.getElementsByClassName("cf7sSpinner")[0];p.style.visibility="visible";var h={action:"cf7skins_visual_update",form_id:i,visual:JSON.stringify(r),template:document.getElementById("cf7s-template").value,style:document.getElementById("cf7s-style").value},g=document.getElementById("title").value;o.title!==g&&(h.title=g),d(h,"json").then((function(e){window.cf7sAdmin.getTextarea().value=e.form,window.onbeforeunload=null,"function"==typeof Event?new Event("change",{bubbles:!0}):document.createEvent("Event").initEvent("change",!0,!0),window.cf7sAdmin.getTextarea().dispatchEvent(new Event("change",{bubbles:!0})),p.style.visibility="hidden";var n=l.a.createElement("div",{className:"notice notice-success is-dismissible"},l.a.createElement("p",null,"Visual saved!"),l.a.createElement("button",{type:"button",className:"notice-dismiss",onClick:function(){return u.a.unmountComponentAtNode(document.getElementById("cf7s-visual-notice"))}},l.a.createElement("span",{className:"screen-reader-text"},__("Dismiss this notice.","contact-form-7-skins"))));if(u.a.render(n,document.getElementById("cf7s-visual-notice")),t(__("Visual saved!","contact-form-7-skins"),"success"),e.callbacks){var r,o=f(e.callbacks);try{for(o.s();!(r=o.n()).done;){var i=r.value;if("object"===a()(i)){var s=Object.keys(i)[0];if(void 0===window[s]){console.warn(m(__("Namespace %s is undefined!","contact-form-7-skins"),s));continue}var c=i[s];void 0!==window[s][c]?window[s][c].apply():console.warn(m(__("Function %1$s.%2$s is undefined!","contact-form-7-skins"),s,"".concat(c,"()")))}else void 0!==window[i]?window[i].apply():console.warn(m(__("Function %s is undefined!","contact-form-7-skins"),"".concat(i,"()")))}}catch(e){o.e(e)}finally{o.f()}}})).catch((function(e){return console.error(e)}))}}else t(__("Can not save! window.cf7svisual or post ID does not exist.","contact-form-7-skins"),"error")}function C(e){var t=Math.floor(899*Math.random()+100);if(e.cf7Name="".concat(e.cf7sType,"-").concat(t),e.children){var n,r=f(e.children);try{for(r.s();!(n=r.n()).done;)C(n.value)}catch(e){r.e(e)}finally{r.f()}}return e}function O(e){var t=function(t){var n=P.filter((function(n){return n.cf7sType===e[t].cf7sType}))[0];e[t]=v(v({},n),e[t]),e[t].children&&O(e[t].children)};for(var n in e)t(n);return e}function x(e,t,n){var r=n&&n.lexicographical||!1,o=n&&n.zeroExtend||!0,i=(e||"0").split("."),a=(t||"0").split(".");function s(e){return(r?/^\d+[A-Za-zαß]*$/:/^\d+[A-Za-zαß]?$/).test(e)}if(!i.every(s)||!a.every(s))return NaN;if(o){for(;i.length<a.length;)i.push("0");for(;a.length<i.length;)a.push("0")}r||(i=i.map((function(e){var t=/[A-Za-zαß]/.exec(e);return Number(t?e.replace(t[0],"."+e.charCodeAt(t.index)):e)})),a=a.map((function(e){var t=/[A-Za-zαß]/.exec(e);return Number(t?e.replace(t[0],"."+e.charCodeAt(t.index)):e)})));for(var l=0;l<i.length;++l){if(a.length===l)return!0;if(i[l]!==a[l])return i[l]>a[l]}return i.length===a.length}function T(e){var t=window.cf7svisual;if(null==t)return console.log("window.cf7svisual does not exist!"),!1;if(!t.hasOwnProperty(e))return!1;var n={addons:{},environment:"",options:{},items:[],integration:{},title:"",treeData:[],versions:{}};return!(!n.hasOwnProperty(e)||a()(t[e])!==a()(n[e]))&&t[e]}function k(){return"development"===window.cf7svisual.environment}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var E=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},window.wp.i18n).__,I=[{cf7sType:"acceptance",cf7sSelectLabel:E("Acceptance (confirm)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"acceptance",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"default_on",isChecked:!1,optionLabel:E("Make this checkbox checked by default","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"invert",isChecked:!1,optionLabel:E("Make this work inversely","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"optional",isChecked:!0,optionLabel:E("Make this checkbox optional","contact-form-7-skins"),optionType:"checkbox"}],cf7DefaultOn:!1,cf7Invert:!1,cf7Optional:!0,cf7Content:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-thumbs-ok",noChildren:!0},{cf7sType:"checkbox",cf7sSelectLabel:E("Checkbox (option)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"checkbox",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"label_first",isChecked:!1,optionLabel:E("Put a label first, a checkbox last","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"use_label_element",isChecked:!1,optionLabel:E("Wrap each item with label element","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"exclusive",isChecked:!1,optionLabel:E("Make checkboxes exclusive","contact-form-7-skins"),optionType:"checkbox"}],cf7Options:[{value:"Option 1",isChecked:!0},{value:"Option 2",isChecked:!1}],cf7LabelFirst:!1,cf7UseLabelElement:!1,cf7Exclusive:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-input-checked",noChildren:!0},{cf7sType:"date",cf7sSelectLabel:E("Date","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"date",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"",optionLabel:E("Range - min","contact-form-7-skins"),optionType:"input"},{cf7Option:"",optionLabel:E("Range - max","contact-form-7-skins"),optionType:"input"}],cf7Values:"",cf7Placeholder:!1,cf7Min:"",cf7Max:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-calendar",noChildren:!0},{cf7sType:"email",cf7sSelectLabel:E("Email","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"email",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:"Default value",optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"akismet_author_email",isChecked:!1,optionLabel:E("Akismet - this field requires author's email address","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7AkismetAuthorEmail:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-mail",noChildren:!0},{cf7sType:"file",cf7sSelectLabel:E("File (upload)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"file",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"limit",optionLabel:E("File size limit (bytes)","contact-form-7-skins"),optionType:"input"},{cf7Option:"",optionLabel:E("Acceptable file types","contact-form-7-skins"),optionType:"select"}],cf7Limit:"",cf7FileTypes:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-attachment",noChildren:!0},{cf7sType:"number",cf7sSelectLabel:E("Number","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"number",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:"Field Type",optionType:"select"},{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"",optionLabel:E("Range - min","contact-form-7-skins"),optionType:"input"},{cf7Option:"",optionLabel:E("Range - max","contact-form-7-skins"),optionType:"input"}],cf7TagType:"number",cf7Values:"",cf7Placeholder:"",cf7Min:"",cf7Max:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-sort-alphabetically",noChildren:!0},{cf7sType:"quiz",cf7sSelectLabel:E("Quiz","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"quiz",cf7sLabel:"",cf7Required:!1,cf7Options:[{question:E("Question 1","contact-form-7-skins"),answer:E("Answer 1","contact-form-7-skins")},{question:E("Question 2","contact-form-7-skins"),answer:E("Answer 2","contact-form-7-skins")}],cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-lightbulb",noChildren:!0},{cf7sType:"radio",cf7sSelectLabel:E("Radio Button (option)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"radio",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"label_first",isChecked:!1,optionLabel:E("Put a label first, a checkbox last","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"use_label_element",isChecked:!1,optionLabel:E("Wrap each item with label element","contact-form-7-skins"),optionType:"checkbox"}],cf7Options:[{value:E("Option 1","contact-form-7-skins"),isChecked:!0},{value:E("Option 2","contact-form-7-skins"),isChecked:!1}],cf7LabelFirst:!1,cf7UseLabelElement:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-media-record-outline",noChildren:!0},{cf7sType:"select",cf7sSelectLabel:E("Select (dropdown)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"select",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",isChecked:!1,optionLabel:E("Allow multiple selections","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"",isChecked:!1,optionLabel:E("Insert a blank item as the first option","contact-form-7-skins"),optionType:"checkbox"}],cf7Options:[{value:E("Option 1","contact-form-7-skins"),isChecked:!0},{value:E("Option 2","contact-form-7-skins"),isChecked:!1}],cf7Multiple:!1,cf7IncludeBlank:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-th-menu",noChildren:!0},{cf7sType:"submit",cf7sSelectLabel:E("Submit","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"submit",cf7sLabel:"Submit",cf7Values:"",cf7Required:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-mail",noChildren:!0},{cf7sType:"tel",cf7sSelectLabel:E("Telephone","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"tel",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-phone",noChildren:!0},{cf7sType:"text",cf7sSelectLabel:E("Text (short text)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"text",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"akismet_author_email",isChecked:!1,optionLabel:E("Akismet - this field requires author's email address","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7AkismetAuthor:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-sort-alphabetically",noChildren:!0},{cf7sType:"textarea",cf7sSelectLabel:E("Textarea (long text)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"textarea",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-document-text",noChildren:!0},{cf7sType:"url",cf7sSelectLabel:E("URL (website link)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"url",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"akismet_author_email",isChecked:!1,optionLabel:E("Akismet - this field requires author's email address","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7AkismetAuthorUrl:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-link",noChildren:!0},{cf7sType:"recaptcha",cf7sSelectLabel:"reCAPTCHA",cf7sSelectGroup:"cf7Tag",cf7Name:"recaptcha",cf7sLabel:"",cf7IdAttribute:"",cf7Size:"",cf7Theme:"",cf7ClassAttribute:"",cf7sIcon:"dashicons dashicons-update",noChildren:!0},{cf7sType:"fieldset",cf7sSelectLabel:E("Fieldset (with legend)","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"fieldset",cf7sLabel:E("Legend ..","contact-form-7-skins"),cf7sIcon:"typcn typcn-folder"},{cf7sType:"list-ol",cf7sSelectLabel:E("List - ol","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"listol",cf7sLabel:"",cf7sIcon:"dashicons dashicons-editor-ol",noChildren:!1},{cf7sType:"list-li",cf7sSelectLabel:E("List Item - li","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"listli",cf7sLabel:"",cf7sIcon:"dashicons dashicons-editor-ul",noChildren:!1},{cf7sType:"paragraph",cf7sSelectLabel:E("Paragraph - p","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"paragraph",cf7sContent:"",cf7sIcon:"dashicons dashicons-editor-paragraph",noChildren:!0}],P=[].concat(I),M=T("addons"),R=!!M&&M.get("addCf7sItems");if(R)for(var N=0;N<R.length;++N)R[N](P);var j=n(10);function A(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return L(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function z(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 F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var H=F({},window.wp.i18n),W=H.sprintf,G=H.__,U=Object(j.cloneDeep)(P).filter((function(e){return"list-ol"===e.cf7sType}))[0],B=Object(j.cloneDeep)(P).filter((function(e){return"list-li"===e.cf7sType}))[0];function V(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"drop",t={},n=T("addons"),r=!!n&&n.get("cf7sRules");if(r)for(var o=0;o<r.length;++o)for(var i in r[o])t[i]||(t[i]=[]),t[i].push(r[o][i]);if(t&&t[e])return t[e]}function K(e){var t=F({},e),n=t.node,r=t.prevTreeIndex,o=t.nextParent,i=T("treeData")||e.treeData;if(o&&"list-li"===o.cf7sType&&o.children){var a,s=0,l=A(o.children);try{for(l.s();!(a=l.n()).done;){var c,u=a.value,d=A(P);try{for(d.s();!(c=d.n()).done;){var f=c.value;u.cf7sType===f.cf7sType&&"cf7Tag"===f.cf7sSelectGroup&&s++}}catch(e){d.e(e)}finally{d.f()}}}catch(e){l.e(e)}finally{l.f()}if(s>1)return console.warn("Only one CF7 tag for each list"),!1}if(n&&null==r&&"recaptcha"===n.cf7sType&&X(n.cf7sType,i)>0&&null==r)return console.warn(G("Only one reCAPTCHA per form allowed.","contact-form-7-skins")),!1;if(n&&null==r&&"submit"===n.cf7sType&&X(n.cf7sType,i)>0)return console.warn(G("Only one submit for each form.","contact-form-7-skins")),!1;if(n.cf7sRoot&&o)return console.warn("Root node can not be dragged to other node."),!1;var p=V("drop");if(p&&p.length)for(var h=0;h<p.length;++h)if(!p[h](e))return!1;return!o||!o.noChildren}function q(e,t){if("list-ol"===e.cf7sType&&!e.children){var n=C(Object(j.cloneDeep)(B));n.children=[],e.children=[F({},n)],e.expanded=!0}if(!(t&&"fieldset"!==t.cf7sType||e.children||"fieldset"!==e.cf7sType)){var r=C(Object(j.cloneDeep)(U)),o=C(Object(j.cloneDeep)(B));return r.children=[F({},o)],r.expanded=!0,e.children=[F({},r)],e.expanded=!0,e}if((!t||"fieldset"===t.cf7sType||!1===t.noChildren&&["list-ol","list-li"].indexOf(t.cf7sType)<0)&&"cf7Tag"===e.cf7sSelectGroup&&["recaptcha","submit"].indexOf(e.cf7sType)<0){var i=C(Object(j.cloneDeep)(U)),a=C(Object(j.cloneDeep)(B));return a.children=[F({},e)],a.expanded=!0,i.children=[F({},a)],i.expanded=!0,i}if(t&&"list-ol"===t.cf7sType&&"list-li"!==e.cf7sType){var s=C(Object(j.cloneDeep)(B));return s.expanded=!0,s.children=[F({},e)],s}if("list-li"===e.cf7sType&&null===t||"list-li"===e.cf7sType&&"list-ol"!==t.cf7sType){var l=C(Object(j.cloneDeep)(U));return l.children=[F({},e)],l.expanded=!0,l}var c=V("surround");if(c&&c.length)for(var u=0;u<c.length;++u)e=c[u]({node:e,parentNode:t,nodeOL:U,nodeLI:B,randomizeName:C});return e}function Y(e){var t=F({},e),n=t.node,r=t.parentNode;if("recaptcha"===n.cf7sType||"submit"===n.cf7sType)return W(G("Only one %s allowed in a form.","contact-form-7-skins"),n.cf7sType);if(Z(n,"recaptcha"))return G("Node has recaptcha children. Only one recaptcha allowed in a form.","contact-form-7-skins");if(Z(n,"submit"))return G("Node has submit children. Only one submit allowed in a form.","contact-form-7-skins");if(r&&"list-li"===r.cf7sType&&"cf7Tag"===n.cf7sSelectGroup)return"surrounding";var o=V("duplicate");if(o&&o.length)for(var i=0;i<o.length;++i)o[i](e);return!0}function X(e,t){var n=0;return function t(r){var o,i=A(r);try{for(i.s();!(o=i.n()).done;){var a=o.value;e===a.cf7sType&&n++,a.children&&t(a.children)}}catch(e){i.e(e)}finally{i.f()}}(t),n}function Z(e,t){if(!e.children)return!1;var n,r=A(e.children);try{for(r.s();!(n=r.n()).done;){var o=n.value;return t===o.cf7sType||Z(o,t)}}catch(e){r.e(e)}finally{r.f()}}},function(e,t){e.exports=lodash},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(301))&&r.__esModule?r:{default:r};t.default=o.default||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(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},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(31),o=n(116),i=n(27),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(108))&&r.__esModule?r:{default:r};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){var r=n(263),o=n(264),i=n(231),a=n(265);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(336)),o=a(n(340)),i=a(n(108));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){"undefined"!=typeof self&&self,e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=7)}([function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e){var t=e.targetIndex,n=e.node,i=e.currentIndex,a=e.getNodeKey,s=e.path,l=void 0===s?[]:s,c=e.lowerSiblingCounts,u=void 0===c?[]:c,d=e.ignoreCollapsed,f=void 0===d||d,p=e.isPseudoRoot,h=void 0!==p&&p?[]:[].concat(r(l),[a({node:n,treeIndex:i})]);if(i===t)return{node:n,lowerSiblingCounts:u,path:h};if(!n.children||f&&!0!==n.expanded)return{nextIndex:i+1};for(var v=i+1,g=n.children.length,m=0;m<g;m+=1){var y=o({ignoreCollapsed:f,getNodeKey:a,targetIndex:t,node:n.children[m],currentIndex:v,lowerSiblingCounts:[].concat(r(u),[g-m-1]),path:h});if(y.node)return y;v=y.nextIndex}return{nextIndex:v}}function i(e){var t=e.node,n=e.ignoreCollapsed;return o({getNodeKey:function(){},ignoreCollapsed:void 0===n||n,node:t,currentIndex:0,targetIndex:-1}).nextIndex-1}function a(e){var t=e.treeData,n=e.getNodeKey,o=e.callback,i=e.ignoreCollapsed,a=void 0===i||i;!t||t.length<1||function e(t){var n=t.callback,o=t.getNodeKey,i=t.ignoreCollapsed,a=t.isPseudoRoot,s=void 0!==a&&a,l=t.node,c=t.parentNode,u=void 0===c?null:c,d=t.currentIndex,f=t.path,p=void 0===f?[]:f,h=t.lowerSiblingCounts,v=void 0===h?[]:h,g=s?[]:[].concat(r(p),[o({node:l,treeIndex:d})]);if(!s&&!1===n(s?null:{node:l,parentNode:u,path:g,lowerSiblingCounts:v,treeIndex:d}))return!1;if(!l.children||!0!==l.expanded&&i&&!s)return d;var m=d,y=l.children.length;if("function"!=typeof l.children)for(var b=0;b<y;b+=1)if(!1===(m=e({callback:n,getNodeKey:o,ignoreCollapsed:i,node:l.children[b],parentNode:s?null:l,currentIndex:m+1,lowerSiblingCounts:[].concat(r(v),[y-b-1]),path:g})))return!1;return m}({callback:o,getNodeKey:n,ignoreCollapsed:a,isPseudoRoot:!0,node:{children:t},currentIndex:-1,path:[],lowerSiblingCounts:[]})}function s(e){var t=e.treeData,n=e.getNodeKey,o=e.callback,i=e.ignoreCollapsed,a=void 0===i||i;return!t||t.length<1?[]:function e(t){var n=t.callback,o=t.getNodeKey,i=t.ignoreCollapsed,a=t.isPseudoRoot,s=void 0!==a&&a,l=t.node,u=t.parentNode,d=void 0===u?null:u,f=t.currentIndex,p=t.path,h=void 0===p?[]:p,v=t.lowerSiblingCounts,g=void 0===v?[]:v,m=c({},l),y=s?[]:[].concat(r(h),[o({node:m,treeIndex:f})]),b={node:m,parentNode:d,path:y,lowerSiblingCounts:g,treeIndex:f};if(!m.children||!0!==m.expanded&&i&&!s)return{treeIndex:f,node:n(b)};var _=f,w=m.children.length;return"function"!=typeof m.children&&(m.children=m.children.map((function(t,a){var l=e({callback:n,getNodeKey:o,ignoreCollapsed:i,node:t,parentNode:s?null:m,currentIndex:_+1,lowerSiblingCounts:[].concat(r(g),[w-a-1]),path:y});return _=l.treeIndex,l.node}))),{node:n(b),treeIndex:_}}({callback:o,getNodeKey:n,ignoreCollapsed:a,isPseudoRoot:!0,node:{children:t},currentIndex:-1,path:[],lowerSiblingCounts:[]}).node.children}function l(e){var t=e.treeData,n=e.path,o=e.newNode,a=e.getNodeKey,s=e.ignoreCollapsed,l=void 0===s||s,u=function e(t){var s=t.isPseudoRoot,u=void 0!==s&&s,d=t.node,f=t.currentTreeIndex,p=t.pathIndex;if(!u&&a({node:d,treeIndex:f})!==n[p])return"RESULT_MISS";if(p>=n.length-1)return"function"==typeof o?o({node:d,treeIndex:f}):o;if(!d.children)throw new Error("Path referenced children of node with no children.");for(var h=f+1,v=0;v<d.children.length;v+=1){var g=e({node:d.children[v],currentTreeIndex:h,pathIndex:p+1});if("RESULT_MISS"!==g)return c({},d,g?{children:[].concat(r(d.children.slice(0,v)),[g],r(d.children.slice(v+1)))}:{children:[].concat(r(d.children.slice(0,v)),r(d.children.slice(v+1)))});h+=1+i({node:d.children[v],ignoreCollapsed:l})}return"RESULT_MISS"}({node:{children:t},currentTreeIndex:-1,pathIndex:-1,isPseudoRoot:!0});if("RESULT_MISS"===u)throw new Error("No node found at the given path.");return u.children}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.getDescendantCount=i,t.getVisibleNodeCount=function(e){return e.treeData.reduce((function(e,t){return e+function e(t){return t.children&&!0===t.expanded&&"function"!=typeof t.children?1+t.children.reduce((function(t,n){return t+e(n)}),0):1}(t)}),0)},t.getVisibleNodeInfoAtIndex=function(e){var t=e.treeData,n=e.index,r=e.getNodeKey;if(!t||t.length<1)return null;var i=o({targetIndex:n,getNodeKey:r,node:{children:t,expanded:!0},currentIndex:-1,path:[],lowerSiblingCounts:[],isPseudoRoot:!0});return i.node?i:null},t.walk=a,t.map=s,t.toggleExpandedForAll=function(e){var t=e.treeData,n=e.expanded,r=void 0===n||n;return s({treeData:t,callback:function(e){var t=e.node;return c({},t,{expanded:r})},getNodeKey:function(e){return e.treeIndex},ignoreCollapsed:!1})},t.changeNodeAtPath=l,t.removeNodeAtPath=function(e){var t=e.treeData,n=e.path,r=e.getNodeKey,o=e.ignoreCollapsed;return l({treeData:t,path:n,getNodeKey:r,ignoreCollapsed:void 0===o||o,newNode:null})},t.removeNode=function(e){var t=e.treeData,n=e.path,r=e.getNodeKey,o=e.ignoreCollapsed,i=null,a=null;return{treeData:l({treeData:t,path:n,getNodeKey:r,ignoreCollapsed:void 0===o||o,newNode:function(e){var t=e.node,n=e.treeIndex;return i=t,a=n,null}}),node:i,treeIndex:a}},t.getNodeAtPath=function(e){var t=e.treeData,n=e.path,r=e.getNodeKey,o=e.ignoreCollapsed,i=void 0===o||o,a=null;try{l({treeData:t,path:n,getNodeKey:r,ignoreCollapsed:i,newNode:function(e){var t=e.node,n=e.treeIndex;return a={node:t,treeIndex:n},t}})}catch(e){}return a},t.addNodeUnderParent=function(e){var t=e.treeData,n=e.newNode,o=e.parentKey,a=void 0===o?null:o,l=e.getNodeKey,u=e.ignoreCollapsed,d=void 0===u||u,f=e.expandParent,p=void 0!==f&&f;if(null===a)return{treeData:[].concat(r(t||[]),[n]),treeIndex:(t||[]).length};var h=null,v=!1,g=s({treeData:t,getNodeKey:l,ignoreCollapsed:d,callback:function(e){var t=e.node,o=e.treeIndex,s=e.path,l=s?s[s.length-1]:null;if(v||l!==a)return t;v=!0;var u=c({},t);if(p&&(u.expanded=!0),!u.children)return h=o+1,c({},u,{children:[n]});if("function"==typeof u.children)throw new Error("Cannot add to children defined by a function");for(var f=o+1,g=0;g<u.children.length;g+=1)f+=1+i({node:u.children[g],ignoreCollapsed:d});return h=f,c({},u,{children:[].concat(r(u.children),[n])})}});if(!v)throw new Error("No node found with the given key.");return{treeData:g,treeIndex:h}},t.insertNode=function(e){var t=e.treeData,n=e.depth,o=e.minimumTreeIndex,a=e.newNode,s=e.getNodeKey,l=void 0===s?function(){}:s,u=e.ignoreCollapsed,d=void 0===u||u,f=e.expandParent,p=void 0!==f&&f;if(!t&&0===n)return{treeData:[a],treeIndex:0,path:[l({node:a,treeIndex:0})],parentNode:null};var h=function e(t){var n=t.targetDepth,o=t.minimumTreeIndex,a=t.newNode,s=t.ignoreCollapsed,l=t.expandParent,u=t.isPseudoRoot,d=void 0!==u&&u,f=t.isLastChild,p=t.node,h=t.currentIndex,v=t.currentDepth,g=t.getNodeKey,m=t.path,y=void 0===m?[]:m,b=function(e){return d?[]:[].concat(r(y),[g({node:e,treeIndex:h})])};if(h>=o-1||f&&(!p.children||!p.children.length)){if("function"==typeof p.children)throw new Error("Cannot add to children defined by a function");var _=c({},p,l?{expanded:!0}:{},{children:p.children?[a].concat(r(p.children)):[a]});return{node:_,nextIndex:h+2,insertedTreeIndex:h+1,parentPath:b(_),parentNode:d?null:_}}if(v>=n-1){if(!p.children||"function"==typeof p.children||!0!==p.expanded&&s&&!d)return{node:p,nextIndex:h+1};for(var w=h+1,S=null,C=null,O=0;O<p.children.length;O+=1){if(w>=o){S=w,C=O;break}w+=1+i({node:p.children[O],ignoreCollapsed:s})}if(null===C){if(w<o&&!f)return{node:p,nextIndex:w};S=w,C=p.children.length}var x=c({},p,{children:[].concat(r(p.children.slice(0,C)),[a],r(p.children.slice(C)))});return{node:x,nextIndex:w,insertedTreeIndex:S,parentPath:b(x),parentNode:d?null:x}}if(!p.children||"function"==typeof p.children||!0!==p.expanded&&s&&!d)return{node:p,nextIndex:h+1};var T=null,k=null,D=null,E=h+1,I=p.children;"function"!=typeof I&&(I=I.map((function(t,r){if(null!==T)return t;var i=e({targetDepth:n,minimumTreeIndex:o,newNode:a,ignoreCollapsed:s,expandParent:l,isLastChild:f&&r===I.length-1,node:t,currentIndex:E,currentDepth:v+1,getNodeKey:g,path:[]});return"insertedTreeIndex"in i&&(T=i.insertedTreeIndex,D=i.parentNode,k=i.parentPath),E=i.nextIndex,i.node})));var P=c({},p,{children:I}),M={node:P,nextIndex:E};return null!==T&&(M.insertedTreeIndex=T,M.parentPath=[].concat(r(b(P)),r(k)),M.parentNode=D),M}({targetDepth:n,minimumTreeIndex:o,newNode:a,ignoreCollapsed:d,expandParent:p,getNodeKey:l,isPseudoRoot:!0,isLastChild:!0,node:{children:t},currentIndex:-1,currentDepth:-1});if(!("insertedTreeIndex"in h))throw new Error("No suitable position found to insert.");var v=h.insertedTreeIndex;return{treeData:h.node.children,treeIndex:v,path:[].concat(r(h.parentPath),[l({node:a,treeIndex:v})]),parentNode:h.parentNode}},t.getFlatDataFromTree=function(e){var t=e.treeData,n=e.getNodeKey,r=e.ignoreCollapsed,o=void 0===r||r;if(!t||t.length<1)return[];var i=[];return a({treeData:t,getNodeKey:n,ignoreCollapsed:o,callback:function(e){i.push(e)}}),i},t.getTreeFromFlatData=function(e){var t=e.flatData,n=e.getKey,r=void 0===n?function(e){return e.id}:n,o=e.getParentKey,i=void 0===o?function(e){return e.parentId}:o,a=e.rootKey,s=void 0===a?"0":a;if(!t)return[];var l={};return t.forEach((function(e){var t=i(e);t in l?l[t].push(e):l[t]=[e]})),s in l?l[s].map((function(e){return function e(t){var n=r(t);return n in l?c({},t,{children:l[n].map((function(t){return e(t)}))}):c({},t)}(e)})):[]},t.isDescendant=function e(t,n){return!!t.children&&"function"!=typeof t.children&&t.children.some((function(t){return t===n||e(t,n)}))},t.getDepth=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.children?"function"==typeof t.children?n+1:t.children.reduce((function(t,r){return Math.max(t,e(r,n+1))}),n):n},t.find=function(e){var t=e.getNodeKey,n=e.treeData,o=e.searchQuery,i=e.searchMethod,a=e.searchFocusOffset,s=e.expandAllMatchPaths,l=void 0!==s&&s,u=e.expandFocusMatchPaths,d=void 0===u||u,f=0,p=function e(n){var s=n.isPseudoRoot,u=void 0!==s&&s,p=n.node,h=n.currentIndex,v=n.path,g=[],m=!1,y=!1,b=u?[]:[].concat(r(void 0===v?[]:v),[t({node:p,treeIndex:h})]),_=u?null:{path:b,treeIndex:h},w=p.children&&"function"!=typeof p.children&&p.children.length>0;!u&&i(c({},_,{node:p,searchQuery:o}))&&(f===a&&(y=!0),f+=1,m=!0);var S=h,C=c({},p);return w&&(C.children=C.children.map((function(t){var n=e({node:t,currentIndex:S+1,path:b});return n.node.expanded?S=n.treeIndex:S+=1,(n.matches.length>0||n.hasFocusMatch)&&(g=[].concat(r(g),r(n.matches)),n.hasFocusMatch&&(y=!0),(l&&n.matches.length>0||(l||d)&&n.hasFocusMatch)&&(C.expanded=!0)),n.node}))),u||C.expanded||(g=g.map((function(e){return c({},e,{treeIndex:null})}))),m&&(g=[c({},_,{node:C})].concat(r(g))),{node:g.length>0?C:p,matches:g,hasFocusMatch:y,treeIndex:S}}({node:{children:n},isPseudoRoot:!0,currentIndex:-1});return{matches:p.matches,treeData:p.node.children}}},function(e,t){e.exports=n(0)},function(e,t){e.exports=n(1)},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var i=(n=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");return[r].concat(o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}))).concat([i]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=v[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(c(r.parts[i],t))}else{var a=[];for(i=0;i<r.parts.length;i++)a.push(c(r.parts[i],t));v[r.id]={id:r.id,refs:1,parts:a}}}}function o(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 i(e,t){var n=m(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=_[_.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),_.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=m(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function a(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=_.indexOf(e);t>=0&&_.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",l(t,e.attrs),i(e,t),t}function l(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function c(e,t){var n,r,o,c;if(t.transform&&e.css){if(!(c=t.transform(e.css)))return function(){};e.css=c}if(t.singleton){var p=b++;n=y||(y=s(t)),r=u.bind(null,n,p,!1),o=u.bind(null,n,p,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",l(t,e.attrs),i(e,t),t}(t),r=f.bind(null,n,t),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=d.bind(null,n),o=function(){a(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()}}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)}}function d(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function f(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=w(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var p,h,v={},g=(p=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===h&&(h=p.apply(this,arguments)),h}),m=function(e){var t={};return function(n){if(void 0===t[n]){var r=e.call(this,n);if(r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[n]=r}return t[n]}}((function(e){return document.querySelector(e)})),y=null,b=0,_=[],w=n(14);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=g()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=o(e,t);return r(n,t),function(e){for(var i=[],a=0;a<n.length;a++){var s=n[a];(l=v[s.id]).refs--,i.push(l)}for(e&&r(o(e,t),t),a=0;a<i.length;a++){var l;if(0===(l=i[a]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete v[l.id]}}}};var S,C=(S=[],function(e,t){return S[e]=t,S.filter(Boolean).join("\n")})},function(e,t,n){"use strict";function r(e,t,n,r,i){return"function"==typeof n[e]?String(n[e]({node:n,path:r,treeIndex:i})).indexOf(t)>-1:"object"===o(n[e])?function e(t){return"string"==typeof t?t:"object"!==(void 0===t?"undefined":o(t))||!t.props||!t.props.children||"string"!=typeof t.props.children&&"object"!==o(t.props.children)?"":"string"==typeof t.props.children?t.props.children:t.props.children.map((function(t){return e(t)})).join("")}(n[e]).indexOf(t)>-1:n[e]&&String(n[e]).indexOf(t)>-1}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.defaultGetNodeKey=function(e){return e.treeIndex},t.defaultSearchMethod=function(e){var t=e.node,n=e.path,o=e.treeIndex,i=e.searchQuery;return r("title",i,t,n,o)||r("subtitle",i,t,n,o)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.memoizedGetDescendantCount=t.memoizedGetFlatDataFromTree=t.memoizedInsertNode=void 0;var r=n(0),o=function(e){var t=[],n=[],r=null;return function(o){var i=Object.keys(o).sort(),a=i.map((function(e){return o[e]}));return(a.length!==t.length||a.some((function(e,n){return e!==t[n]}))||i.some((function(e,t){return e!==n[t]})))&&(t=a,n=i,r=e(o)),r}};t.memoizedInsertNode=o(r.insertNode),t.memoizedGetFlatDataFromTree=o(r.getFlatDataFromTree),t.memoizedGetDescendantCount=o(r.getDescendantCount)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SortableTreeWithoutDndContext=void 0;var r=n(5);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}));var o=n(0);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}));var i,a=n(8),s=(i=a)&&i.__esModule?i:{default:i};t.default=s.default,t.SortableTreeWithoutDndContext=a.SortableTreeWithoutDndContext},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SortableTreeWithoutDndContext=void 0;var 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=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},a=n(1),s=r(a),l=r(n(2)),c=n(9),u=r(n(10)),d=n(11),f=r(d);n(12);var p=r(n(15)),h=r(n(18)),v=r(n(22)),g=r(n(23)),m=n(0),y=n(6),b=n(26),_=n(5),w=r(n(27)),S=r(n(31)),C=1,O=function(e){var t=i({},e,{style:i({},e.theme.style,e.style),innerStyle:i({},e.theme.innerStyle,e.innerStyle),reactVirtualizedListProps:i({},e.theme.reactVirtualizedListProps,e.reactVirtualizedListProps)}),n={nodeContentRenderer:h.default,placeholderRenderer:g.default,rowHeight:62,scaffoldBlockPxWidth:44,slideRegionSize:100,treeNodeRenderer:p.default};return Object.keys(n).forEach((function(r){null===e[r]&&(t[r]=void 0!==e.theme[r]?e.theme[r]:n[r])})),t},x=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=O(e),o=r.dndType,i=r.nodeContentRenderer,a=r.treeNodeRenderer,s=r.isVirtualized,l=r.slideRegionSize;return n.dndManager=new w.default(n),n.treeId="rst__"+C,C+=1,n.dndType=o||n.treeId,n.nodeContentRenderer=n.dndManager.wrapSource(i),n.treePlaceholderRenderer=n.dndManager.wrapPlaceholder(v.default),n.treeNodeRenderer=n.dndManager.wrapTarget(a),s&&(n.scrollZoneVirtualList=(0,f.default)(c.List),n.vStrength=(0,d.createVerticalStrength)(l),n.hStrength=(0,d.createHorizontalStrength)(l)),n.state={draggingTreeData:null,draggedNode:null,draggedMinimumTreeIndex:null,draggedDepth:null,searchMatches:[],searchFocusTreeIndex:null,dragging:!1},n.toggleChildrenVisibility=n.toggleChildrenVisibility.bind(n),n.moveNode=n.moveNode.bind(n),n.startDrag=n.startDrag.bind(n),n.dragHover=n.dragHover.bind(n),n.endDrag=n.endDrag.bind(n),n.drop=n.drop.bind(n),n.handleDndMonitorChange=n.handleDndMonitorChange.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.loadLazyChildren(),this.search(this.props),this.clearMonitorSubscription=this.context.dragDropManager.getMonitor().subscribeToStateChange(this.handleDndMonitorChange)}},{key:"componentWillReceiveProps",value:function(e){this.props.treeData!==e.treeData?(this.ignoreOneTreeUpdate?this.ignoreOneTreeUpdate=!1:(this.setState({searchFocusTreeIndex:null}),this.loadLazyChildren(e),this.search(e,!1,!1)),this.setState({draggingTreeData:null,draggedNode:null,draggedMinimumTreeIndex:null,draggedDepth:null,dragging:!1})):(0,u.default)(this.props.searchQuery,e.searchQuery)?this.props.searchFocusOffset!==e.searchFocusOffset&&this.search(e,!0,!0,!0):this.search(e)}},{key:"componentDidUpdate",value:function(e,t){this.state.dragging!==t.dragging&&this.props.onDragStateChanged&&this.props.onDragStateChanged({isDragging:this.state.dragging,draggedNode:this.state.draggedNode})}},{key:"componentWillUnmount",value:function(){this.clearMonitorSubscription()}},{key:"getRows",value:function(e){return(0,y.memoizedGetFlatDataFromTree)({ignoreCollapsed:!0,getNodeKey:this.props.getNodeKey,treeData:e})}},{key:"handleDndMonitorChange",value:function(){!this.context.dragDropManager.getMonitor().isDragging()&&this.state.draggingTreeData&&this.endDrag()}},{key:"toggleChildrenVisibility",value:function(e){var t=e.node,n=e.path,r=(0,m.changeNodeAtPath)({treeData:this.props.treeData,path:n,newNode:function(e){var t=e.node;return i({},t,{expanded:!t.expanded})},getNodeKey:this.props.getNodeKey});this.props.onChange(r),this.props.onVisibilityToggle({treeData:r,node:t,expanded:!t.expanded,path:n})}},{key:"moveNode",value:function(e){var t=e.node,n=e.path,r=e.treeIndex,o=e.depth,i=e.minimumTreeIndex,a=(0,m.insertNode)({treeData:this.state.draggingTreeData,newNode:t,depth:o,minimumTreeIndex:i,expandParent:!0,getNodeKey:this.props.getNodeKey}),s=a.treeData,l=a.treeIndex,c=a.path,u=a.parentNode;this.props.onChange(s),this.props.onMoveNode({treeData:s,node:t,treeIndex:l,path:c,nextPath:c,nextTreeIndex:l,prevPath:n,prevTreeIndex:r,nextParentNode:u})}},{key:"search",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e.treeData,i=e.onChange,a=e.searchFinishCallback,s=e.searchQuery,l=e.searchMethod,c=e.searchFocusOffset;if((null==s||""===String(s))&&!l)return this.setState({searchMatches:[]}),void(a&&a([]));var u=(0,m.find)({getNodeKey:this.props.getNodeKey,treeData:o,searchQuery:s,searchMethod:l||_.defaultSearchMethod,searchFocusOffset:c,expandAllMatchPaths:n&&!r,expandFocusMatchPaths:!!n}),d=u.treeData,f=u.matches;n&&(this.ignoreOneTreeUpdate=!0,i(d)),a&&a(f);var p=null;t&&null!==c&&c<f.length&&(p=f[c].treeIndex),this.setState({searchMatches:f,searchFocusTreeIndex:p})}},{key:"startDrag",value:function(e){var t=this,n=e.path;this.setState((function(){var e=(0,m.removeNode)({treeData:t.props.treeData,path:n,getNodeKey:t.props.getNodeKey}),r=e.treeData,o=e.node,i=e.treeIndex;return{draggingTreeData:r,draggedNode:o,draggedDepth:n.length-1,draggedMinimumTreeIndex:i,dragging:!0}}))}},{key:"dragHover",value:function(e){var t=e.node,n=e.depth,r=e.minimumTreeIndex;if(this.state.draggedDepth!==n||this.state.draggedMinimumTreeIndex!==r){var o=this.state.draggingTreeData||this.props.treeData,a=(0,y.memoizedInsertNode)({treeData:o,newNode:t,depth:n,minimumTreeIndex:r,expandParent:!0,getNodeKey:this.props.getNodeKey}),s=this.getRows(a.treeData)[a.treeIndex].path;this.setState({draggedNode:t,draggedDepth:n,draggedMinimumTreeIndex:r,draggingTreeData:(0,m.changeNodeAtPath)({treeData:o,path:s.slice(0,-1),newNode:function(e){var t=e.node;return i({},t,{expanded:!0})},getNodeKey:this.props.getNodeKey}),searchFocusTreeIndex:null,dragging:!0})}}},{key:"endDrag",value:function(e){if(e){if(e.treeId!==this.treeId){var t=e.node,n=e.path,r=e.treeIndex,o=this.props.shouldCopyOnOutsideDrop;"function"==typeof o&&(o=o({node:t,prevTreeIndex:r,prevPath:n}));var a=this.state.draggingTreeData||this.props.treeData;o&&(a=(0,m.changeNodeAtPath)({treeData:this.props.treeData,path:n,newNode:function(e){var t=e.node;return i({},t)},getNodeKey:this.props.getNodeKey})),this.props.onChange(a),this.props.onMoveNode({treeData:a,node:t,treeIndex:null,path:null,nextPath:null,nextTreeIndex:null,prevPath:n,prevTreeIndex:r})}}else this.setState({draggingTreeData:null,draggedNode:null,draggedMinimumTreeIndex:null,draggedDepth:null,dragging:!1})}},{key:"drop",value:function(e){this.moveNode(e)}},{key:"loadLazyChildren",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;(0,m.walk)({treeData:t.treeData,getNodeKey:this.props.getNodeKey,callback:function(n){var r=n.node,o=n.path,a=n.lowerSiblingCounts,s=n.treeIndex;r.children&&"function"==typeof r.children&&(r.expanded||t.loadCollapsedLazyChildren)&&r.children({node:r,path:o,lowerSiblingCounts:a,treeIndex:s,done:function(t){return e.props.onChange((0,m.changeNodeAtPath)({treeData:e.props.treeData,path:o,newNode:function(e){var n=e.node;return n===r?i({},n,{children:t}):n},getNodeKey:e.props.getNodeKey}))}})}})}},{key:"renderRow",value:function(e,t){var n=e.node,r=e.parentNode,o=e.path,a=e.lowerSiblingCounts,l=e.treeIndex,c=t.listIndex,u=t.style,d=t.getPrevRow,f=t.matchKeys,p=t.swapFrom,h=t.swapDepth,v=t.swapLength,g=O(this.props),m=g.canDrag,y=g.generateNodeProps,b=g.scaffoldBlockPxWidth,_=g.searchFocusOffset,w=this.treeNodeRenderer,S=this.nodeContentRenderer,C=o[o.length-1],x=C in f,T=x&&f[C]===_,k={node:n,parentNode:r,path:o,lowerSiblingCounts:a,treeIndex:l,isSearchMatch:x,isSearchFocus:T},D=y?y(k):{},E="function"!=typeof m?m:m(k),I={treeIndex:l,scaffoldBlockPxWidth:b,node:n,path:o,treeId:this.treeId};return s.default.createElement(w,i({style:u,key:C,listIndex:c,getPrevRow:d,lowerSiblingCounts:a,swapFrom:p,swapLength:v,swapDepth:h},I),s.default.createElement(S,i({parentNode:r,isSearchMatch:x,isSearchFocus:T,canDrag:E,toggleChildrenVisibility:this.toggleChildrenVisibility},I,D)))}},{key:"render",value:function(){var e=this,t=O(this.props),n=t.style,r=t.className,o=t.innerStyle,a=t.rowHeight,l=t.isVirtualized,u=t.placeholderRenderer,d=t.reactVirtualizedListProps,f=t.getNodeKey,p=this.state,h=p.searchMatches,v=p.searchFocusTreeIndex,g=p.draggedNode,m=p.draggedDepth,_=p.draggedMinimumTreeIndex,w=this.state.draggingTreeData||this.props.treeData,C=void 0,x=null,T=null;if(g&&null!==_){var k=(0,y.memoizedInsertNode)({treeData:w,newNode:g,depth:m,minimumTreeIndex:_,expandParent:!0,getNodeKey:f}),D=_;x=k.treeIndex,T=1+(0,y.memoizedGetDescendantCount)({node:g}),C=(0,b.slideRows)(this.getRows(k.treeData),x,D,T)}else C=this.getRows(w);var E={};h.forEach((function(e,t){var n=e.path;E[n[n.length-1]]=t}));var I=null!==v?{scrollToIndex:v}:{},P=n,M=void 0;if(C.length<1){var R=this.treePlaceholderRenderer,N=u;M=s.default.createElement(R,{treeId:this.treeId,drop:this.drop},s.default.createElement(N,null))}else if(l){P=i({height:"100%"},P);var j=this.scrollZoneVirtualList;M=s.default.createElement(c.AutoSizer,null,(function(t){var n=t.height,r=t.width;return s.default.createElement(j,i({},I,{verticalStrength:e.vStrength,horizontalStrength:e.hStrength,speed:30,scrollToAlignment:"start",className:S.default.virtualScrollOverride,width:r,onScroll:function(t){var n=t.scrollTop;e.scrollTop=n},height:n,style:o,rowCount:C.length,estimatedRowSize:"function"!=typeof a?a:void 0,rowHeight:"function"!=typeof a?a:function(e){var t=e.index;return a({index:t,treeIndex:t,node:C[t].node,path:C[t].path})},rowRenderer:function(t){var n=t.index,r=t.style;return e.renderRow(C[n],{listIndex:n,style:r,getPrevRow:function(){return C[n-1]||null},matchKeys:E,swapFrom:x,swapDepth:m,swapLength:T})}},d))}))}else M=C.map((function(t,n){return e.renderRow(t,{listIndex:n,style:{height:"function"!=typeof a?a:a({index:n,treeIndex:n,node:t.node,path:t.path})},getPrevRow:function(){return C[n-1]||null},matchKeys:E,swapFrom:x,swapDepth:m,swapLength:T})}));return s.default.createElement("div",{className:S.default.tree+(r?" "+r:""),style:P},M)}}]),t}(a.Component);x.propTypes={treeData:l.default.arrayOf(l.default.object).isRequired,style:l.default.shape({}),className:l.default.string,innerStyle:l.default.shape({}),rowHeight:l.default.oneOfType([l.default.number,l.default.func]),slideRegionSize:l.default.number,reactVirtualizedListProps:l.default.shape({}),scaffoldBlockPxWidth:l.default.number,maxDepth:l.default.number,searchMethod:l.default.func,searchQuery:l.default.any,searchFocusOffset:l.default.number,searchFinishCallback:l.default.func,generateNodeProps:l.default.func,isVirtualized:l.default.bool,treeNodeRenderer:l.default.func,nodeContentRenderer:l.default.func,placeholderRenderer:l.default.func,theme:l.default.shape({style:l.default.shape({}),innerStyle:l.default.shape({}),reactVirtualizedListProps:l.default.shape({}),scaffoldBlockPxWidth:l.default.number,slideRegionSize:l.default.number,rowHeight:l.default.oneOfType([l.default.number,l.default.func]),treeNodeRenderer:l.default.func,nodeContentRenderer:l.default.func,placeholderRenderer:l.default.func}),getNodeKey:l.default.func,onChange:l.default.func.isRequired,onMoveNode:l.default.func,canDrag:l.default.oneOfType([l.default.func,l.default.bool]),canDrop:l.default.func,shouldCopyOnOutsideDrop:l.default.oneOfType([l.default.func,l.default.bool]),onVisibilityToggle:l.default.func,dndType:l.default.string,onDragStateChanged:l.default.func},x.defaultProps={canDrag:!0,canDrop:null,className:"",dndType:null,generateNodeProps:null,getNodeKey:_.defaultGetNodeKey,innerStyle:{},isVirtualized:!0,maxDepth:null,treeNodeRenderer:null,nodeContentRenderer:null,onMoveNode:function(){},onVisibilityToggle:function(){},placeholderRenderer:null,reactVirtualizedListProps:{},rowHeight:null,scaffoldBlockPxWidth:null,searchFinishCallback:null,searchFocusOffset:null,searchMethod:null,searchQuery:null,shouldCopyOnOutsideDrop:!1,slideRegionSize:null,style:{},theme:{},onDragStateChanged:function(){}},x.contextTypes={dragDropManager:l.default.shape({})},t.SortableTreeWithoutDndContext=x,t.default=w.default.wrapRoot(x)},function(e,t){e.exports=n(350)},function(e,t){e.exports=n(270)},function(e,t){e.exports=n(271)},function(e,t,n){var r=n(13);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,"/* Collection default theme */\n\n._2Ys25aFCIH7ZWp76lcHbjs {\n}\n\n._1wpSOFYFr7x9PMM0KcYTxm {\n}\n\n/* Grid default theme */\n\n._2SUC15-WVgF4XhvHuU81GS {\n}\n\n._3q1PBGJ8fGciELoHlm7I3C {\n}\n\n/* Table default theme */\n\n._1yPBpbwEbdtD7UxLvhZhM {\n}\n\n._1itUjAnMCYR-25x1rmTdtF {\n}\n\n._33g8s-zht4xwLlXSWWWwa3 {\n font-weight: 700;\n text-transform: uppercase;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n._3ZiV_g6aRjm62hwIWbJU38 {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n._3eKreK7WxwxtZyKjYLiygd {\n display: inline-block;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n._19Z4wAfIa_DTwtOUYjz8t,\n._2TseG-JCD0K5o_VT5VIN_w {\n margin-right: 10px;\n min-width: 0px;\n}\n._2TseG-JCD0K5o_VT5VIN_w {\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n._19Z4wAfIa_DTwtOUYjz8t:first-of-type,\n._2TseG-JCD0K5o_VT5VIN_w:first-of-type {\n margin-left: 10px;\n}\n._1RR8EsDxozD7xvl8boaBiB {\n cursor: pointer;\n}\n\n._1u1DZQe3YaUugu3cLrtqng {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n._15mdGqvC02VcdkTaoIuS06 {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 24px;\n flex: 0 0 24px;\n height: 1em;\n width: 1em;\n fill: currentColor;\n}\n\n/* List default theme */\n\n._3HeSXQaspPzpYJlLHQlyit {\n}",""]),t.locals={ReactVirtualized__Collection:"_2Ys25aFCIH7ZWp76lcHbjs",ReactVirtualized__Collection__innerScrollContainer:"_1wpSOFYFr7x9PMM0KcYTxm",ReactVirtualized__Grid:"_2SUC15-WVgF4XhvHuU81GS",ReactVirtualized__Grid__innerScrollContainer:"_3q1PBGJ8fGciELoHlm7I3C",ReactVirtualized__Table:"_1yPBpbwEbdtD7UxLvhZhM",ReactVirtualized__Table__Grid:"_1itUjAnMCYR-25x1rmTdtF",ReactVirtualized__Table__headerRow:"_33g8s-zht4xwLlXSWWWwa3",ReactVirtualized__Table__row:"_3ZiV_g6aRjm62hwIWbJU38",ReactVirtualized__Table__headerTruncatedText:"_3eKreK7WxwxtZyKjYLiygd",ReactVirtualized__Table__headerColumn:"_19Z4wAfIa_DTwtOUYjz8t",ReactVirtualized__Table__rowColumn:"_2TseG-JCD0K5o_VT5VIN_w",ReactVirtualized__Table__sortableHeaderColumn:"_1RR8EsDxozD7xvl8boaBiB",ReactVirtualized__Table__sortableHeaderIconContainer:"_1u1DZQe3YaUugu3cLrtqng",ReactVirtualized__Table__sortableHeaderIcon:"_15mdGqvC02VcdkTaoIuS06",ReactVirtualized__List:"_3HeSXQaspPzpYJlLHQlyit"}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}Object.defineProperty(t,"__esModule",{value:!0});var 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},s=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}}(),l=n(1),c=r(l),u=r(n(2)),d=r(n(16)),f=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.listIndex,r=e.swapFrom,o=e.swapLength,i=e.swapDepth,s=e.scaffoldBlockPxWidth,u=e.lowerSiblingCounts,f=e.connectDropTarget,p=e.isOver,h=e.draggedNode,v=e.canDrop,g=e.treeIndex,m=(e.treeId,e.getPrevRow,e.node,e.path,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","listIndex","swapFrom","swapLength","swapDepth","scaffoldBlockPxWidth","lowerSiblingCounts","connectDropTarget","isOver","draggedNode","canDrop","treeIndex","treeId","getPrevRow","node","path"])),y=u.length,b=[];return u.forEach((function(e,t){var a,l="";e>0?l=0===n?d.default.lineHalfHorizontalRight+" "+d.default.lineHalfVerticalBottom:t===y-1?d.default.lineHalfHorizontalRight+" "+d.default.lineFullVertical:d.default.lineFullVertical:0===n?l=d.default.lineHalfHorizontalRight:t===y-1&&(l=d.default.lineHalfVerticalTop+" "+d.default.lineHalfHorizontalRight),b.push(c.default.createElement("div",{key:"pre_"+(1+t),style:{width:s},className:d.default.lineBlock+" "+l})),g!==n&&t===i&&(a=n===r+o-1?d.default.highlightBottomLeftCorner:g===r?d.default.highlightTopLeftCorner:d.default.highlightLineVertical,b.push(c.default.createElement("div",{key:t,style:{width:s,left:s*t},className:d.default.absoluteLineBlock+" "+a})))})),f(c.default.createElement("div",a({},m,{className:d.default.node}),b,c.default.createElement("div",{className:d.default.nodeContent,style:{left:s*y}},l.Children.map(t,(function(e){return(0,l.cloneElement)(e,{isOver:p,canDrop:v,draggedNode:h})})))))}}]),t}(l.Component);f.defaultProps={swapFrom:null,swapDepth:null,swapLength:null,canDrop:!1,draggedNode:null},f.propTypes={treeIndex:u.default.number.isRequired,treeId:u.default.string.isRequired,swapFrom:u.default.number,swapDepth:u.default.number,swapLength:u.default.number,scaffoldBlockPxWidth:u.default.number.isRequired,lowerSiblingCounts:u.default.arrayOf(u.default.number).isRequired,listIndex:u.default.number.isRequired,children:u.default.node.isRequired,connectDropTarget:u.default.func.isRequired,isOver:u.default.bool.isRequired,canDrop:u.default.bool,draggedNode:u.default.shape({}),getPrevRow:u.default.func.isRequired,node:u.default.shape({}).isRequired,path:u.default.arrayOf(u.default.oneOfType([u.default.string,u.default.number])).isRequired},t.default=f},function(e,t,n){var r=n(17);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,".rst__node {\n min-width: 100%;\n white-space: nowrap;\n position: relative;\n text-align: left; }\n\n.rst__nodeContent {\n position: absolute;\n top: 0;\n bottom: 0; }\n\n/* ==========================================================================\n Scaffold\n\n Line-overlaid blocks used for showing the tree structure\n ========================================================================== */\n.rst__lineBlock, .rst__absoluteLineBlock {\n height: 100%;\n position: relative;\n display: inline-block; }\n\n.rst__absoluteLineBlock {\n position: absolute;\n top: 0; }\n\n.rst__lineHalfHorizontalRight::before, .rst__lineFullVertical::after, .rst__lineHalfVerticalTop::after, .rst__lineHalfVerticalBottom::after {\n position: absolute;\n content: '';\n background-color: black; }\n\n/**\n * +-----+\n * | |\n * | +--+\n * | |\n * +-----+\n */\n.rst__lineHalfHorizontalRight::before {\n height: 1px;\n top: 50%;\n right: 0;\n width: 50%; }\n\n/**\n * +--+--+\n * | | |\n * | | |\n * | | |\n * +--+--+\n */\n.rst__lineFullVertical::after, .rst__lineHalfVerticalTop::after, .rst__lineHalfVerticalBottom::after {\n width: 1px;\n left: 50%;\n top: 0;\n height: 100%; }\n\n/**\n * +-----+\n * | | |\n * | + |\n * | |\n * +-----+\n */\n.rst__lineHalfVerticalTop::after, .rst__lineHalfVerticalBottom::after {\n top: 0;\n height: 50%; }\n\n/**\n * +-----+\n * | |\n * | + |\n * | | |\n * +-----+\n */\n.rst__lineHalfVerticalBottom::after {\n top: auto;\n bottom: 0; }\n\n/* Highlight line for pointing to dragged row destination\n ========================================================================== */\n/**\n * +--+--+\n * | | |\n * | | |\n * | | |\n * +--+--+\n */\n.rst__highlightLineVertical {\n z-index: 3; }\n .rst__highlightLineVertical::before {\n position: absolute;\n content: '';\n background-color: #36c2f6;\n width: 8px;\n margin-left: -4px;\n left: 50%;\n top: 0;\n height: 100%; }\n\n@-webkit-keyframes rst__arrow-pulse {\n 0% {\n -webkit-transform: translate(0, 0);\n transform: translate(0, 0);\n opacity: 0; }\n 30% {\n -webkit-transform: translate(0, 300%);\n transform: translate(0, 300%);\n opacity: 1; }\n 70% {\n -webkit-transform: translate(0, 700%);\n transform: translate(0, 700%);\n opacity: 1; }\n 100% {\n -webkit-transform: translate(0, 1000%);\n transform: translate(0, 1000%);\n opacity: 0; } }\n\n@keyframes rst__arrow-pulse {\n 0% {\n -webkit-transform: translate(0, 0);\n transform: translate(0, 0);\n opacity: 0; }\n 30% {\n -webkit-transform: translate(0, 300%);\n transform: translate(0, 300%);\n opacity: 1; }\n 70% {\n -webkit-transform: translate(0, 700%);\n transform: translate(0, 700%);\n opacity: 1; }\n 100% {\n -webkit-transform: translate(0, 1000%);\n transform: translate(0, 1000%);\n opacity: 0; } }\n .rst__highlightLineVertical::after {\n content: '';\n position: absolute;\n height: 0;\n margin-left: -4px;\n left: 50%;\n top: 0;\n border-left: 4px solid transparent;\n border-right: 4px solid transparent;\n border-top: 4px solid white;\n -webkit-animation: rst__arrow-pulse 1s infinite linear both;\n animation: rst__arrow-pulse 1s infinite linear both; }\n\n/**\n * +-----+\n * | |\n * | +--+\n * | | |\n * +--+--+\n */\n.rst__highlightTopLeftCorner::before {\n z-index: 3;\n content: '';\n position: absolute;\n border-top: solid 8px #36c2f6;\n border-left: solid 8px #36c2f6;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n height: calc(50% + 4px);\n top: 50%;\n margin-top: -4px;\n right: 0;\n width: calc(50% + 4px); }\n\n/**\n * +--+--+\n * | | |\n * | | |\n * | +->|\n * +-----+\n */\n.rst__highlightBottomLeftCorner {\n z-index: 3; }\n .rst__highlightBottomLeftCorner::before {\n content: '';\n position: absolute;\n border-bottom: solid 8px #36c2f6;\n border-left: solid 8px #36c2f6;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n height: calc(100% + 4px);\n top: 0;\n right: 12px;\n width: calc(50% - 8px); }\n .rst__highlightBottomLeftCorner::after {\n content: '';\n position: absolute;\n height: 0;\n right: 0;\n top: 100%;\n margin-top: -12px;\n border-top: 12px solid transparent;\n border-bottom: 12px solid transparent;\n border-left: 12px solid #36c2f6; }\n",""]),t.locals={node:"rst__node",nodeContent:"rst__nodeContent",lineBlock:"rst__lineBlock",absoluteLineBlock:"rst__absoluteLineBlock",lineHalfHorizontalRight:"rst__lineHalfHorizontalRight",lineFullVertical:"rst__lineFullVertical",lineHalfVerticalTop:"rst__lineHalfVerticalTop",lineHalfVerticalBottom:"rst__lineHalfVerticalBottom",highlightLineVertical:"rst__highlightLineVertical","arrow-pulse":"rst__arrow-pulse",highlightTopLeftCorner:"rst__highlightTopLeftCorner",highlightBottomLeftCorner:"rst__highlightBottomLeftCorner"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=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},l=n(1),c=r(l),u=r(n(2)),d=n(19),f=r(n(20)),p=n(0),h=f.default;d.getIEVersion<10&&(h=s({},f.default,{row:h.row+" "+h.row_NoFlex,rowContents:h.rowContents+" "+h.rowContents_NoFlex,rowLabel:h.rowLabel+" "+h.rowLabel_NoFlex,rowToolbar:h.rowToolbar+" "+h.rowToolbar_NoFlex}));var v=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e.scaffoldBlockPxWidth,n=e.toggleChildrenVisibility,r=e.connectDragPreview,o=e.connectDragSource,i=e.isDragging,a=e.canDrop,l=e.canDrag,u=e.node,d=e.title,f=e.subtitle,v=e.draggedNode,g=e.path,m=e.treeIndex,y=e.isSearchMatch,b=e.isSearchFocus,_=e.buttons,w=e.className,S=e.style,C=e.didDrop,O=(e.treeId,e.isOver,e.parentNode,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["scaffoldBlockPxWidth","toggleChildrenVisibility","connectDragPreview","connectDragSource","isDragging","canDrop","canDrag","node","title","subtitle","draggedNode","path","treeIndex","isSearchMatch","isSearchFocus","buttons","className","style","didDrop","treeId","isOver","parentNode"])),x=d||u.title,T=f||u.subtitle,k=void 0;l&&(k="function"==typeof u.children&&u.expanded?c.default.createElement("div",{className:h.loadingHandle},c.default.createElement("div",{className:h.loadingCircle},c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}))):o(c.default.createElement("div",{className:h.moveHandle}),{dropEffect:"copy"}));var D=v&&(0,p.isDescendant)(v,u),E=!C&&i;return c.default.createElement("div",s({style:{height:"100%"}},O),n&&u.children&&(u.children.length>0||"function"==typeof u.children)&&c.default.createElement("div",null,c.default.createElement("button",{type:"button","aria-label":u.expanded?"Collapse":"Expand",className:u.expanded?h.collapseButton:h.expandButton,style:{left:-.5*t},onClick:function(){return n({node:u,path:g,treeIndex:m})}}),u.expanded&&!i&&c.default.createElement("div",{style:{width:t},className:h.lineChildren})),c.default.createElement("div",{className:h.rowWrapper},r(c.default.createElement("div",{className:h.row+(E?" "+h.rowLandingPad:"")+(E&&!a?" "+h.rowCancelPad:"")+(y?" "+h.rowSearchMatch:"")+(b?" "+h.rowSearchFocus:"")+(w?" "+w:""),style:s({opacity:D?.5:1},S)},k,c.default.createElement("div",{className:h.rowContents+(l?"":" "+h.rowContentsDragDisabled)},c.default.createElement("div",{className:h.rowLabel},c.default.createElement("span",{className:h.rowTitle+(u.subtitle?" "+h.rowTitleWithSubtitle:"")},"function"==typeof x?x({node:u,path:g,treeIndex:m}):x),T&&c.default.createElement("span",{className:h.rowSubtitle},"function"==typeof T?T({node:u,path:g,treeIndex:m}):T)),c.default.createElement("div",{className:h.rowToolbar},_.map((function(e,t){return c.default.createElement("div",{key:t,className:h.toolbarButton},e)}))))))))}}]),t}(l.Component);v.defaultProps={isSearchMatch:!1,isSearchFocus:!1,canDrag:!1,toggleChildrenVisibility:null,buttons:[],className:"",style:{},parentNode:null,draggedNode:null,canDrop:!1,title:null,subtitle:null},v.propTypes={node:u.default.shape({}).isRequired,title:u.default.oneOfType([u.default.func,u.default.node]),subtitle:u.default.oneOfType([u.default.func,u.default.node]),path:u.default.arrayOf(u.default.oneOfType([u.default.string,u.default.number])).isRequired,treeIndex:u.default.number.isRequired,treeId:u.default.string.isRequired,isSearchMatch:u.default.bool,isSearchFocus:u.default.bool,canDrag:u.default.bool,scaffoldBlockPxWidth:u.default.number.isRequired,toggleChildrenVisibility:u.default.func,buttons:u.default.arrayOf(u.default.node),className:u.default.string,style:u.default.shape({}),connectDragPreview:u.default.func.isRequired,connectDragSource:u.default.func.isRequired,parentNode:u.default.shape({}),isDragging:u.default.bool.isRequired,didDrop:u.default.bool.isRequired,draggedNode:u.default.shape({}),isOver:u.default.bool.isRequired,canDrop:u.default.bool},t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIEVersion=function(){var e=navigator.userAgent.match(/(?:MSIE |Trident\/.*; rv:)(\d+)/);return e?parseInt(e[1],10):void 0}},function(e,t,n){var r=n(21);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,".rst__rowWrapper {\n padding: 10px 10px 10px 0;\n height: 100%;\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n\n.rst__row {\n height: 100%;\n white-space: nowrap;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex; }\n .rst__row > * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n\n/**\n * The outline of where the element will go if dropped, displayed while dragging\n */\n.rst__rowLandingPad, .rst__rowCancelPad {\n border: none !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n outline: none !important; }\n .rst__rowLandingPad > *, .rst__rowCancelPad > * {\n opacity: 0 !important; }\n .rst__rowLandingPad::before, .rst__rowCancelPad::before {\n background-color: lightblue;\n border: 3px dashed white;\n content: '';\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: -1; }\n\n/**\n * Alternate appearance of the landing pad when the dragged location is invalid\n */\n.rst__rowCancelPad::before {\n background-color: #e6a8ad; }\n\n/**\n * Nodes matching the search conditions are highlighted\n */\n.rst__rowSearchMatch {\n outline: solid 3px #0080ff; }\n\n/**\n * The node that matches the search conditions and is currently focused\n */\n.rst__rowSearchFocus {\n outline: solid 3px #fc6421; }\n\n.rst__rowContents, .rst__rowLabel, .rst__rowToolbar, .rst__moveHandle, .rst__loadingHandle, .rst__toolbarButton, .rst__rowLabel_NoFlex, .rst__rowToolbar_NoFlex {\n display: inline-block;\n vertical-align: middle; }\n\n.rst__rowContents {\n position: relative;\n height: 100%;\n border: solid #bbb 1px;\n border-left: none;\n -webkit-box-shadow: 0 2px 2px -2px;\n box-shadow: 0 2px 2px -2px;\n padding: 0 5px 0 10px;\n border-radius: 2px;\n min-width: 230px;\n -webkit-box-flex: 1;\n -ms-flex: 1 0 auto;\n flex: 1 0 auto;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n background-color: white; }\n\n.rst__rowContentsDragDisabled {\n border-left: solid #bbb 1px; }\n\n.rst__rowLabel {\n -webkit-box-flex: 0;\n -ms-flex: 0 1 auto;\n flex: 0 1 auto;\n padding-right: 20px; }\n\n.rst__rowToolbar {\n -webkit-box-flex: 0;\n -ms-flex: 0 1 auto;\n flex: 0 1 auto;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex; }\n\n.rst__moveHandle, .rst__loadingHandle {\n height: 100%;\n width: 44px;\n background: #d9d9d9 url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MiIgaGVpZ2h0PSI0MiI+PGcgc3Ryb2tlPSIjRkZGIiBzdHJva2Utd2lkdGg9IjIuOSIgPjxwYXRoIGQ9Ik0xNCAxNS43aDE0LjQiLz48cGF0aCBkPSJNMTQgMjEuNGgxNC40Ii8+PHBhdGggZD0iTTE0IDI3LjFoMTQuNCIvPjwvZz4KPC9zdmc+\") no-repeat center;\n border: solid #aaa 1px;\n -webkit-box-shadow: 0 2px 2px -2px;\n box-shadow: 0 2px 2px -2px;\n cursor: move;\n border-radius: 1px;\n z-index: 1; }\n\n.rst__loadingHandle {\n cursor: default;\n background: #d9d9d9; }\n\n@-webkit-keyframes rst__pointFade {\n 0%,\n 19.999%,\n 100% {\n opacity: 0; }\n 20% {\n opacity: 1; } }\n\n@keyframes rst__pointFade {\n 0%,\n 19.999%,\n 100% {\n opacity: 0; }\n 20% {\n opacity: 1; } }\n\n.rst__loadingCircle {\n width: 80%;\n height: 80%;\n margin: 10%;\n position: relative; }\n\n.rst__loadingCirclePoint {\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0; }\n .rst__loadingCirclePoint:before {\n content: '';\n display: block;\n margin: 0 auto;\n width: 11%;\n height: 30%;\n background-color: #fff;\n border-radius: 30%;\n -webkit-animation: rst__pointFade 800ms infinite ease-in-out both;\n animation: rst__pointFade 800ms infinite ease-in-out both; }\n .rst__loadingCirclePoint:nth-of-type(1) {\n -webkit-transform: rotate(0deg);\n -ms-transform: rotate(0deg);\n transform: rotate(0deg); }\n .rst__loadingCirclePoint:nth-of-type(7) {\n -webkit-transform: rotate(180deg);\n -ms-transform: rotate(180deg);\n transform: rotate(180deg); }\n .rst__loadingCirclePoint:nth-of-type(1):before, .rst__loadingCirclePoint:nth-of-type(7):before {\n -webkit-animation-delay: -800ms;\n animation-delay: -800ms; }\n .rst__loadingCirclePoint:nth-of-type(2) {\n -webkit-transform: rotate(30deg);\n -ms-transform: rotate(30deg);\n transform: rotate(30deg); }\n .rst__loadingCirclePoint:nth-of-type(8) {\n -webkit-transform: rotate(210deg);\n -ms-transform: rotate(210deg);\n transform: rotate(210deg); }\n .rst__loadingCirclePoint:nth-of-type(2):before, .rst__loadingCirclePoint:nth-of-type(8):before {\n -webkit-animation-delay: -666.66667ms;\n animation-delay: -666.66667ms; }\n .rst__loadingCirclePoint:nth-of-type(3) {\n -webkit-transform: rotate(60deg);\n -ms-transform: rotate(60deg);\n transform: rotate(60deg); }\n .rst__loadingCirclePoint:nth-of-type(9) {\n -webkit-transform: rotate(240deg);\n -ms-transform: rotate(240deg);\n transform: rotate(240deg); }\n .rst__loadingCirclePoint:nth-of-type(3):before, .rst__loadingCirclePoint:nth-of-type(9):before {\n -webkit-animation-delay: -533.33333ms;\n animation-delay: -533.33333ms; }\n .rst__loadingCirclePoint:nth-of-type(4) {\n -webkit-transform: rotate(90deg);\n -ms-transform: rotate(90deg);\n transform: rotate(90deg); }\n .rst__loadingCirclePoint:nth-of-type(10) {\n -webkit-transform: rotate(270deg);\n -ms-transform: rotate(270deg);\n transform: rotate(270deg); }\n .rst__loadingCirclePoint:nth-of-type(4):before, .rst__loadingCirclePoint:nth-of-type(10):before {\n -webkit-animation-delay: -400ms;\n animation-delay: -400ms; }\n .rst__loadingCirclePoint:nth-of-type(5) {\n -webkit-transform: rotate(120deg);\n -ms-transform: rotate(120deg);\n transform: rotate(120deg); }\n .rst__loadingCirclePoint:nth-of-type(11) {\n -webkit-transform: rotate(300deg);\n -ms-transform: rotate(300deg);\n transform: rotate(300deg); }\n .rst__loadingCirclePoint:nth-of-type(5):before, .rst__loadingCirclePoint:nth-of-type(11):before {\n -webkit-animation-delay: -266.66667ms;\n animation-delay: -266.66667ms; }\n .rst__loadingCirclePoint:nth-of-type(6) {\n -webkit-transform: rotate(150deg);\n -ms-transform: rotate(150deg);\n transform: rotate(150deg); }\n .rst__loadingCirclePoint:nth-of-type(12) {\n -webkit-transform: rotate(330deg);\n -ms-transform: rotate(330deg);\n transform: rotate(330deg); }\n .rst__loadingCirclePoint:nth-of-type(6):before, .rst__loadingCirclePoint:nth-of-type(12):before {\n -webkit-animation-delay: -133.33333ms;\n animation-delay: -133.33333ms; }\n .rst__loadingCirclePoint:nth-of-type(7) {\n -webkit-transform: rotate(180deg);\n -ms-transform: rotate(180deg);\n transform: rotate(180deg); }\n .rst__loadingCirclePoint:nth-of-type(13) {\n -webkit-transform: rotate(360deg);\n -ms-transform: rotate(360deg);\n transform: rotate(360deg); }\n .rst__loadingCirclePoint:nth-of-type(7):before, .rst__loadingCirclePoint:nth-of-type(13):before {\n -webkit-animation-delay: 0ms;\n animation-delay: 0ms; }\n\n.rst__rowTitle {\n font-weight: bold; }\n\n.rst__rowTitleWithSubtitle {\n font-size: 85%;\n display: block;\n height: 0.8rem; }\n\n.rst__rowSubtitle {\n font-size: 70%;\n line-height: 1; }\n\n.rst__collapseButton,\n.rst__expandButton {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border: none;\n position: absolute;\n border-radius: 100%;\n -webkit-box-shadow: 0 0 0 1px #000;\n box-shadow: 0 0 0 1px #000;\n width: 16px;\n height: 16px;\n padding: 0;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n cursor: pointer; }\n .rst__collapseButton:focus,\n .rst__expandButton:focus {\n outline: none;\n -webkit-box-shadow: 0 0 0 1px #000, 0 0 1px 3px #83bef9;\n box-shadow: 0 0 0 1px #000, 0 0 1px 3px #83bef9; }\n .rst__collapseButton:hover:not(:active),\n .rst__expandButton:hover:not(:active) {\n background-size: 24px;\n height: 20px;\n width: 20px; }\n\n.rst__collapseButton {\n background: #fff url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+PGNpcmNsZSBjeD0iOSIgY3k9IjkiIHI9IjgiIGZpbGw9IiNGRkYiLz48ZyBzdHJva2U9IiM5ODk4OTgiIHN0cm9rZS13aWR0aD0iMS45IiA+PHBhdGggZD0iTTQuNSA5aDkiLz48L2c+Cjwvc3ZnPg==\") no-repeat center; }\n\n.rst__expandButton {\n background: #fff url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+PGNpcmNsZSBjeD0iOSIgY3k9IjkiIHI9IjgiIGZpbGw9IiNGRkYiLz48ZyBzdHJva2U9IiM5ODk4OTgiIHN0cm9rZS13aWR0aD0iMS45IiA+PHBhdGggZD0iTTQuNSA5aDkiLz48cGF0aCBkPSJNOSA0LjV2OSIvPjwvZz4KPC9zdmc+\") no-repeat center; }\n\n/**\n * Classes for IE9 and below\n */\n.rst__row_NoFlex::before, .rst__rowContents_NoFlex::before {\n content: '';\n display: inline-block;\n vertical-align: middle;\n height: 100%; }\n\n.rst__rowContents_NoFlex {\n display: inline-block; }\n .rst__rowContents_NoFlex::after {\n content: '';\n display: inline-block;\n width: 100%; }\n\n.rst__rowLabel_NoFlex {\n width: 50%; }\n\n.rst__rowToolbar_NoFlex {\n text-align: right;\n width: 50%; }\n\n/**\n * Line for under a node with children\n */\n.rst__lineChildren {\n height: 100%;\n display: inline-block;\n position: absolute; }\n .rst__lineChildren::after {\n content: '';\n position: absolute;\n background-color: black;\n width: 1px;\n left: 50%;\n bottom: 0;\n height: 10px; }\n",""]),t.locals={rowWrapper:"rst__rowWrapper",row:"rst__row",rowLandingPad:"rst__rowLandingPad",rowCancelPad:"rst__rowCancelPad",rowSearchMatch:"rst__rowSearchMatch",rowSearchFocus:"rst__rowSearchFocus",rowContents:"rst__rowContents",rowLabel:"rst__rowLabel",rowToolbar:"rst__rowToolbar",moveHandle:"rst__moveHandle",loadingHandle:"rst__loadingHandle",toolbarButton:"rst__toolbarButton",rowLabel_NoFlex:"rst__rowLabel_NoFlex",rowToolbar_NoFlex:"rst__rowToolbar_NoFlex",rowContentsDragDisabled:"rst__rowContentsDragDisabled",loadingCircle:"rst__loadingCircle",loadingCirclePoint:"rst__loadingCirclePoint",pointFade:"rst__pointFade",rowTitle:"rst__rowTitle",rowTitleWithSubtitle:"rst__rowTitleWithSubtitle",rowSubtitle:"rst__rowSubtitle",collapseButton:"rst__collapseButton",expandButton:"rst__expandButton",row_NoFlex:"rst__row_NoFlex",rowContents_NoFlex:"rst__rowContents_NoFlex",lineChildren:"rst__lineChildren"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}Object.defineProperty(t,"__esModule",{value:!0});var 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},s=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}}(),l=n(1),c=r(l),u=r(n(2)),d=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.connectDropTarget,r=(e.treeId,e.drop,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","connectDropTarget","treeId","drop"]));return n(c.default.createElement("div",null,l.Children.map(t,(function(e){return(0,l.cloneElement)(e,a({},r))}))))}}]),t}(l.Component);d.defaultProps={canDrop:!1,draggedNode:null},d.propTypes={children:u.default.node.isRequired,connectDropTarget:u.default.func.isRequired,isOver:u.default.bool.isRequired,canDrop:u.default.bool,draggedNode:u.default.shape({}),treeId:u.default.string.isRequired,drop:u.default.func.isRequired},t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1)),i=r(n(2)),a=r(n(24)),s=function(e){var t=e.isOver,n=e.canDrop;return o.default.createElement("div",{className:a.default.placeholder+(n?" "+a.default.placeholderLandingPad:"")+(n&&!t?" "+a.default.placeholderCancelPad:"")})};s.defaultProps={isOver:!1,canDrop:!1},s.propTypes={isOver:i.default.bool,canDrop:i.default.bool},t.default=s},function(e,t,n){var r=n(25);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,".rst__placeholder {\n position: relative;\n height: 68px;\n max-width: 300px;\n padding: 10px; }\n .rst__placeholder,\n .rst__placeholder > * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n .rst__placeholder::before {\n border: 3px dashed #d9d9d9;\n content: '';\n position: absolute;\n top: 5px;\n right: 5px;\n bottom: 5px;\n left: 5px;\n z-index: -1; }\n\n/**\n * The outline of where the element will go if dropped, displayed while dragging\n */\n.rst__placeholderLandingPad, .rst__placeholderCancelPad {\n border: none !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n outline: none !important; }\n .rst__placeholderLandingPad *, .rst__placeholderCancelPad * {\n opacity: 0 !important; }\n .rst__placeholderLandingPad::before, .rst__placeholderCancelPad::before {\n background-color: lightblue;\n border-color: white; }\n\n/**\n * Alternate appearance of the landing pad when the dragged location is invalid\n */\n.rst__placeholderCancelPad::before {\n background-color: #e6a8ad; }\n",""]),t.locals={placeholder:"rst__placeholder",placeholderLandingPad:"rst__placeholderLandingPad",placeholderCancelPad:"rst__placeholderCancelPad"}},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.slideRows=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=[].concat(r(e.slice(0,t)),r(e.slice(t+o)));return[].concat(r(i.slice(0,n)),r(e.slice(t,t+o)),r(i.slice(n)))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!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(28),a=(r=n(29))&&r.__esModule?r:{default:r},s=n(30),l=n(0),c=n(6),u=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.treeRef=t}return o(e,[{key:"getTargetDepth",value:function(e,t,n){var r=0,o=e.getPrevRow();o&&(r=Math.min(o.path.length,e.path.length));var i=void 0,a=(t.getItem().path||[]).length;if(t.getItem().treeId!==this.treeId)if(a=0,n){var c=(0,s.findDOMNode)(n).getBoundingClientRect(),u=t.getSourceClientOffset().x-c.left;i=Math.round(u/e.scaffoldBlockPxWidth)}else i=e.path.length;else i=Math.round(t.getDifferenceFromInitialOffset().x/e.scaffoldBlockPxWidth);var d=Math.min(r,Math.max(0,a+i-1));if(void 0!==this.maxDepth&&null!==this.maxDepth){var f=t.getItem().node,p=(0,l.getDepth)(f);d=Math.max(0,Math.min(d,this.maxDepth-p-1))}return d}},{key:"canDrop",value:function(e,t){if(!t.isOver())return!1;var n=e.getPrevRow(),r=n?n.path:[],o=n?n.node:{},i=this.getTargetDepth(e,t,null);if(i>=r.length&&"function"==typeof o.children)return!1;if("function"==typeof this.customCanDrop){var a=t.getItem().node,s=(0,c.memoizedInsertNode)({treeData:this.treeData,newNode:a,depth:i,getNodeKey:this.getNodeKey,minimumTreeIndex:e.listIndex,expandParent:!0});return this.customCanDrop({node:a,prevPath:t.getItem().path,prevParent:t.getItem().parentNode,prevTreeIndex:t.getItem().treeIndex,nextPath:s.path,nextParent:s.parentNode,nextTreeIndex:s.treeIndex})}return!0}},{key:"wrapSource",value:function(e){var t=this,n={beginDrag:function(e){return t.startDrag(e),{node:e.node,parentNode:e.parentNode,path:e.path,treeIndex:e.treeIndex,treeId:e.treeId}},endDrag:function(e,n){t.endDrag(n.getDropResult())},isDragging:function(e,t){var n=t.getItem().node;return e.node===n}};return(0,i.DragSource)(this.dndType,n,(function(e,t){return{connectDragSource:e.dragSource(),connectDragPreview:e.dragPreview(),isDragging:t.isDragging(),didDrop:t.didDrop()}}))(e)}},{key:"wrapTarget",value:function(e){var t=this,n={drop:function(e,n,r){var o={node:n.getItem().node,path:n.getItem().path,treeIndex:n.getItem().treeIndex,treeId:t.treeId,minimumTreeIndex:e.treeIndex,depth:t.getTargetDepth(e,n,r)};return t.drop(o),o},hover:function(e,n,r){var o=t.getTargetDepth(e,n,r),i=n.getItem().node;(e.node!==i||o!==e.path.length-1)&&t.dragHover({node:i,path:n.getItem().path,minimumTreeIndex:e.listIndex,depth:o})},canDrop:this.canDrop.bind(this)};return(0,i.DropTarget)(this.dndType,n,(function(e,t){var n=t.getItem();return{connectDropTarget:e.dropTarget(),isOver:t.isOver(),canDrop:t.canDrop(),draggedNode:n?n.node:null}}))(e)}},{key:"wrapPlaceholder",value:function(e){var t=this,n={drop:function(e,n){var r=n.getItem(),o={node:r.node,path:r.path,treeIndex:r.treeIndex,treeId:t.treeId,minimumTreeIndex:0,depth:0};return t.drop(o),o}};return(0,i.DropTarget)(this.dndType,n,(function(e,t){var n=t.getItem();return{connectDropTarget:e.dropTarget(),isOver:t.isOver(),canDrop:t.canDrop(),draggedNode:n?n.node:null}}))(e)}},{key:"startDrag",get:function(){return this.treeRef.startDrag}},{key:"dragHover",get:function(){return this.treeRef.dragHover}},{key:"endDrag",get:function(){return this.treeRef.endDrag}},{key:"drop",get:function(){return this.treeRef.drop}},{key:"treeId",get:function(){return this.treeRef.treeId}},{key:"dndType",get:function(){return this.treeRef.dndType}},{key:"treeData",get:function(){return this.treeRef.state.draggingTreeData||this.treeRef.props.treeData}},{key:"getNodeKey",get:function(){return this.treeRef.props.getNodeKey}},{key:"customCanDrop",get:function(){return this.treeRef.props.canDrop}},{key:"maxDepth",get:function(){return this.treeRef.props.maxDepth}}],[{key:"wrapRoot",value:function(e){return(0,i.DragDropContext)(a.default)(e)}}]),e}();t.default=u},function(e,t){e.exports=n(279)},function(e,t){e.exports=n(293)},function(e,t){e.exports=n(11)},function(e,t,n){var r=n(32);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,"/**\n * The container holding the VirtualScroll\n */\n.rst__tree {\n /*! This comment keeps Sass from deleting the empty rule */ }\n\n/**\n * Extra class applied to VirtualScroll through className prop\n */\n.rst__virtualScrollOverride {\n overflow: auto !important; }\n .rst__virtualScrollOverride * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n\n.ReactVirtualized__Grid__innerScrollContainer {\n overflow: visible !important; }\n\n.ReactVirtualized__Grid {\n outline: none; }\n",""]),t.locals={tree:"rst__tree",virtualScrollOverride:"rst__virtualScrollOverride"}}])},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";var r=n(0),o=n(309);if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},function(e,t,n){var r=n(72),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},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){e.exports=function(e){return null!=e&&"object"==typeof e}},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(78),o=n(152),i=n(154);e.exports=function(e,t){return i(o(e,t,r),e+"")}},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.defineProperty,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,u=c&&c(Object);e.exports=function e(t,n,d){if("string"!=typeof n){if(u){var f=c(n);f&&f!==u&&e(t,f,d)}var p=a(n);s&&(p=p.concat(s(n)));for(var h=0;h<p.length;++h){var v=p[h];if(!(r[v]||o[v]||d&&d[v])){var g=l(n,v);try{i(t,v,g)}catch(e){}}}return t}return t}},function(e,t,n){var r=n(48),o=n(114),i=n(115),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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.END_DRAG=t.DROP=t.HOVER=t.PUBLISH_DRAG_SOURCE=t.BEGIN_DRAG=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.beginDrag=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0,clientOffset:null},n=t.publishSource,r=t.clientOffset,s=t.getSourceClientOffset;(0,o.default)((0,i.default)(e),"Expected sourceIds to be an array.");var l=this.getMonitor(),u=this.getRegistry();(0,o.default)(!l.isDragging(),"Cannot call beginDrag while dragging.");for(var d=0;d<e.length;d++)(0,o.default)(u.getSource(e[d]),"Expected sourceIds to be registered.");for(var f=null,p=e.length-1;p>=0;p--)if(l.canDragSource(e[p])){f=e[p];break}if(null!==f){var h=null;r&&((0,o.default)("function"==typeof s,"When clientOffset is provided, getSourceClientOffset must be a function."),h=s(f));var v=u.getSource(f),g=v.beginDrag(l,f);(0,o.default)((0,a.default)(g),"Item must be an object."),u.pinSource(f);var m=u.getSourceType(f);return{type:c,itemType:m,item:g,sourceId:f,clientOffset:r,sourceClientOffset:h,isSourcePublic:n}}},t.publishDragSource=function(){if(this.getMonitor().isDragging())return{type:u}},t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.clientOffset,r=void 0===n?null:n;(0,o.default)((0,i.default)(e),"Expected targetIds to be an array.");var a=e.slice(0),l=this.getMonitor(),c=this.getRegistry();(0,o.default)(l.isDragging(),"Cannot call hover while not dragging."),(0,o.default)(!l.didDrop(),"Cannot call hover after drop.");for(var u=0;u<a.length;u++){var f=a[u];(0,o.default)(a.lastIndexOf(f)===u,"Expected targetIds to be unique in the passed array.");var p=c.getTarget(f);(0,o.default)(p,"Expected targetIds to be registered.")}for(var h=l.getItemType(),v=a.length-1;v>=0;v--){var g=a[v],m=c.getTargetType(g);(0,s.default)(m,h)||a.splice(v,1)}for(var y=0;y<a.length;y++){var b=a[y],_=c.getTarget(b);_.hover(l,b)}return{type:d,targetIds:a,clientOffset:r}},t.drop=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.getMonitor(),i=this.getRegistry();(0,o.default)(n.isDragging(),"Cannot call drop while not dragging."),(0,o.default)(!n.didDrop(),"Cannot call drop twice during one drag operation.");var s=n.getTargetIds().filter(n.canDropOnTarget,n);s.reverse(),s.forEach((function(s,l){var c=i.getTarget(s).drop(n,s);(0,o.default)(void 0===c||(0,a.default)(c),"Drop result must either be an object or undefined."),void 0===c&&(c=0===l?{}:n.getDropResult()),e.store.dispatch({type:f,dropResult:r({},t,c)})}))},t.endDrag=function(){var e=this.getMonitor(),t=this.getRegistry();(0,o.default)(e.isDragging(),"Cannot call endDrag while not dragging.");var n=e.getSourceId();return t.getSource(n,!0).endDrag(e,n),t.unpinSource(),{type:p}};var o=l(n(12)),i=l(n(19)),a=l(n(28)),s=l(n(74));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.BEGIN_DRAG="dnd-core/BEGIN_DRAG",u=t.PUBLISH_DRAG_SOURCE="dnd-core/PUBLISH_DRAG_SOURCE",d=t.HOVER="dnd-core/HOVER",f=t.DROP="dnd-core/DROP",p=t.END_DRAG="dnd-core/END_DRAG"},function(e,t,n){var r=n(34)(Object,"create");e.exports=r},function(e,t,n){var r=n(125),o=n(129);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(50);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(142);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(56),o=n(27);e.exports=function(e){return o(e)&&r(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addSource=function(e){return{type:r,sourceId:e}},t.addTarget=function(e){return{type:o,targetId:e}},t.removeSource=function(e){return{type:i,sourceId:e}},t.removeTarget=function(e){return{type:a,targetId:e}};var r=t.ADD_SOURCE="dnd-core/ADD_SOURCE",o=t.ADD_TARGET="dnd-core/ADD_TARGET",i=t.REMOVE_SOURCE="dnd-core/REMOVE_SOURCE",a=t.REMOVE_TARGET="dnd-core/REMOVE_TARGET"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.create=t.connect=t.Provider=void 0;var r=a(n(310)),o=a(n(311)),i=a(n(313));function a(e){return e&&e.__esModule?e:{default:e}}t.Provider=r.default,t.connect=o.default,t.create=i.default},function(e,t,n){var r=n(266);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(94)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(71);Object.defineProperty(t,"DragDropContext",{enumerable:!0,get:function(){return l(r).default}});var o=n(180);Object.defineProperty(t,"DragDropContextProvider",{enumerable:!0,get:function(){return l(o).default}});var i=n(181);Object.defineProperty(t,"DragLayer",{enumerable:!0,get:function(){return l(i).default}});var a=n(182);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return l(a).default}});var s=n(191);function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return l(s).default}})},function(e,t,n){var r;!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)){if(r.length){var a=o.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}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){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,n(t,r)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(25).Symbol;e.exports=r},function(e,t,n){var r=n(76),o=n(146),i=n(147);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(148);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},function(e,t){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},function(e,t){e.exports=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}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(77),o=n(79);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;if(e[n[i]]!==t[n[i]])return!1}return!0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return Boolean(e&&"function"==typeof e.dispose)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FILE="__NATIVE_FILE__",t.URL="__NATIVE_URL__",t.TEXT="__NATIVE_TEXT__"},function(e,t,n){var r=n(93),o=n(240),i=n(217),a=Object.defineProperty;t.f=n(44)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){},function(e,t,n){var r=n(75),o=n(29),i=n(37),a=o((function(e,t){return i(e)?r(e,t):[]}));e.exports=a},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){var r=n(42),o=n(43),i=n(239),a=n(66),s=n(61),l=function(e,t,n){var c,u,d,f=e&l.F,p=e&l.G,h=e&l.S,v=e&l.P,g=e&l.B,m=e&l.W,y=p?o:o[t]||(o[t]={}),b=y.prototype,_=p?r:h?r[t]:(r[t]||{}).prototype;for(c in p&&(n=t),n)(u=!f&&_&&void 0!==_[c])&&s(y,c)||(d=u?_[c]:n[c],y[c]=p&&"function"!=typeof _[c]?n[c]:g&&u?i(d,r):m&&_[c]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):v&&"function"==typeof d?i(Function.call,d):d,v&&((y.virtual||(y.virtual={}))[c]=d,e&l.R&&b&&!b[c]&&a(b,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r=n(60),o=n(103);e.exports=n(44)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(243),o=n(218);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(221)("wks"),o=n(106),i=n(42).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(251))&&r.__esModule?r:{default:r};t.default=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),(0,o.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unpackBackendForEs5Users=t.createChildContext=t.CHILD_CONTEXT_TYPES=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},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="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){f.default.apply(void 0,["DragDropContext","backend"].concat(Array.prototype.slice.call(arguments)));var t=b(e),n=y(t);return function(e){var t,i,l=e.displayName||e.name||"Component",c=(i=t=function(t){function i(){return h(this,i),v(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return g(i,t),o(i,[{key:"getDecoratedComponentInstance",value:function(){return(0,u.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"getManager",value:function(){return n.dragDropManager}},{key:"getChildContext",value:function(){return n}},{key:"render",value:function(){var t=this;return s.default.createElement(e,r({},this.props,{ref:function(e){t.child=e}}))}}]),i}(a.Component),t.DecoratedComponent=e,t.displayName="DragDropContext("+l+")",t.childContextTypes=m,i);return(0,d.default)(c,e)}};var a=n(0),s=p(a),l=p(n(1)),c=n(97),u=p(n(12)),d=p(n(30)),f=p(n(39));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(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 g(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 m=t.CHILD_CONTEXT_TYPES={dragDropManager:l.default.object.isRequired},y=t.createChildContext=function(e,t){return{dragDropManager:new c.DragDropManager(e,t)}},b=t.unpackBackendForEs5Users=function(e){var t=e;return"object"===(void 0===t?"undefined":i(t))&&"function"==typeof t.default&&(t=t.default),(0,u.default)("function"==typeof t,"Expected the backend to be a function or an ES6 module exporting a default function. Read more: http://react-dnd.github.io/react-dnd/docs-drag-drop-context.html"),t}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(26))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case o.BEGIN_DRAG:return{initialSourceClientOffset:t.sourceClientOffset,initialClientOffset:t.clientOffset,clientOffset:t.clientOffset};case o.HOVER:return a(e.clientOffset,t.clientOffset)?e:r({},e,{clientOffset:t.clientOffset});case o.END_DRAG:case o.DROP:return i;default:return e}},t.getSourceClientOffset=function(e){var t=e.clientOffset,n=e.initialClientOffset,r=e.initialSourceClientOffset;return t&&n&&r?{x:t.x+r.x-n.x,y:t.y+r.y-n.y}:null},t.getDifferenceFromInitialOffset=function(e){var t=e.clientOffset,n=e.initialClientOffset;return t&&n?{x:t.x-n.x,y:t.y-n.y}:null};var o=n(32),i={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function a(e,t){return e===t||e&&t&&e.x===t.x&&e.y===t.y}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e)?e.some((function(e){return e===t})):e===t};var r,o=(r=n(19))&&r.__esModule?r:{default:r}},function(e,t,n){var r=n(49),o=n(51),i=n(52),a=n(53),s=n(54),l=n(55);e.exports=function(e,t,n,c){var u=-1,d=o,f=!0,p=e.length,h=[],v=t.length;if(!p)return h;n&&(t=a(t,s(n))),c?(d=i,f=!1):t.length>=200&&(d=l,f=!1,t=new r(t));e:for(;++u<p;){var g=e[u],m=null==n?g:n(g);if(g=c||0!==g?g:0,f&&m==m){for(var y=v;y--;)if(t[y]===m)continue e;h.push(g)}else d(t,m,c)||h.push(g)}return h}},function(e,t,n){var r=n(122),o=n(141),i=n(143),a=n(144),s=n(145);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(31),o=n(28);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){e.exports=function(e){return e}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments[1],t=arguments[2];switch(e.type){case i.HOVER:break;case a.ADD_SOURCE:case a.ADD_TARGET:case a.REMOVE_TARGET:case a.REMOVE_SOURCE:return l;case i.BEGIN_DRAG:case i.PUBLISH_DRAG_SOURCE:case i.END_DRAG:case i.DROP:default:return c}var n=e.targetIds,o=t.targetIds,s=(0,r.default)(n,o),u=!1;if(0===s.length){for(var d=0;d<n.length;d++)if(n[d]!==o[d]){u=!0;break}}else u=!0;if(!u)return l;var f=o[o.length-1],p=n[n.length-1];return f!==p&&(f&&s.push(f),p&&s.push(p)),s},t.areDirty=function(e,t){return e!==l&&(e===c||void 0===t||(0,o.default)(t,e).length>0)};var r=s(n(160)),o=s(n(168)),i=n(32),a=n(38);function s(e){return e&&e.__esModule?e:{default:e}}var l=[],c=[]},function(e,t,n){var r=n(163),o=n(164);e.exports=function e(t,n,i,a,s){var l=-1,c=t.length;for(i||(i=o),s||(s=[]);++l<c;){var u=t[l];n>0&&i(u)?n>1?e(u,n-1,i,a,s):r(s,u):a||(s[s.length]=u)}return s}},function(e,t,n){var r=n(165),o=n(27),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){var r=n(49),o=n(51),i=n(52),a=n(55),s=n(166),l=n(85);e.exports=function(e,t,n){var c=-1,u=o,d=e.length,f=!0,p=[],h=p;if(n)f=!1,u=i;else if(d>=200){var v=t?null:s(e);if(v)return l(v);f=!1,u=a,h=new r}else h=t?[]:p;e:for(;++c<d;){var g=e[c],m=t?t(g):g;if(g=n||0!==g?g:0,f&&m==m){for(var y=h.length;y--;)if(h[y]===m)continue e;t&&h.push(m),p.push(g)}else u(h,m,n)||(h!==p&&h.push(m),p.push(g))}return p}},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":r(e))||null===e||"object"!==(void 0===t?"undefined":r(t))||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=Object.prototype.hasOwnProperty,a=0;a<n.length;a+=1){if(!i.call(t,n[a]))return!1;var s=e[n[a]],l=t[n[a]];if(s!==l||"object"===(void 0===s?"undefined":r(s))||"object"===(void 0===l?"undefined":r(l)))return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t,n,h=e.DecoratedComponent,g=e.createHandler,m=e.createMonitor,y=e.createConnector,b=e.registerHandler,_=e.containerDisplayName,w=e.getType,S=e.collect,C=e.options.arePropsEqual,O=void 0===C?p.default:C,x=h.displayName||h.name||"Component",T=(n=t=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleChange=r.handleChange.bind(r),r.handleChildRef=r.handleChildRef.bind(r),(0,u.default)("object"===o(r.context.dragDropManager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",x,x),r.manager=r.context.dragDropManager,r.handlerMonitor=m(r.manager),r.handlerConnector=y(r.manager.getBackend()),r.handler=g(r.handlerMonitor),r.disposable=new c.SerialDisposable,r.receiveProps(e),r.state=r.getCurrentState(),r.dispose(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"getHandlerId",value:function(){return this.handlerId}},{key:"getDecoratedComponentInstance",value:function(){return this.decoratedComponentInstance}},{key:"shouldComponentUpdate",value:function(e,t){return!O(e,this.props)||!(0,f.default)(t,this.state)}}]),i(t,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.disposable=new c.SerialDisposable,this.currentType=null,this.receiveProps(this.props),this.handleChange()}},{key:"componentWillReceiveProps",value:function(e){O(e,this.props)||(this.receiveProps(e),this.handleChange())}},{key:"componentWillUnmount",value:function(){this.dispose(),this.isCurrentlyMounted=!1}},{key:"receiveProps",value:function(e){this.handler.receiveProps(e),this.receiveType(w(e))}},{key:"receiveType",value:function(e){if(e!==this.currentType){this.currentType=e;var t=b(e,this.handler,this.manager),n=t.handlerId,r=t.unregister;this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var o=this.manager.getMonitor().subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new c.CompositeDisposable(new c.Disposable(o),new c.Disposable(r)))}}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,f.default)(e,this.state)||this.setState(e)}}},{key:"dispose",value:function(){this.disposable.dispose(),this.handlerConnector.receiveHandlerId(null)}},{key:"handleChildRef",value:function(e){this.decoratedComponentInstance=e,this.handler.receiveComponent(e)}},{key:"getCurrentState",value:function(){return S(this.handlerConnector.hooks,this.handlerMonitor)}},{key:"render",value:function(){return s.default.createElement(h,r({},this.props,this.state,{ref:v(h)?this.handleChildRef:null}))}}]),t}(a.Component),t.DecoratedComponent=h,t.displayName=_+"("+x+")",t.contextTypes={dragDropManager:l.default.object.isRequired},n);return(0,d.default)(T,h)};var a=n(0),s=h(a),l=h(n(1)),c=n(98),u=(h(n(15)),h(n(12))),d=h(n(30)),f=h(n(57)),p=h(n(86));function h(e){return e&&e.__esModule?e:{default:e}}var v=function(e){return Boolean(e&&e.prototype&&"function"==typeof e.prototype.render)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={};return Object.keys(e).forEach((function(n){var r,s=(r=e[n],function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,o.isValidElement)(e)){var n=e;a(n);var s=t?function(e){return r(e,t)}:r;return(0,i.default)(n,s)}var l=e;r(l,t)});t[n]=function(){return s}})),t};var r,o=n(0),i=(r=n(190))&&r.__esModule?r:{default:r};function a(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors.You can either wrap "+t+" into a <div>, or turn it into a drag source or a drop target itself.")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t===e||null!==t&&null!==e&&(0,o.default)(t,e)};var r,o=(r=n(57))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function e(t,n){return"string"==typeof t||"symbol"===(void 0===t?"undefined":r(t))||n&&(0,i.default)(t)&&t.every((function(t){return e(t,!1)}))};var o,i=(o=n(19))&&o.__esModule?o:{default:o}},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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=t.isFirefox=void 0;var r,o=(r=n(101))&&r.__esModule?r:{default:r};t.isFirefox=(0,o.default)((function(){return/firefox/i.test(navigator.userAgent)})),t.isSafari=(0,o.default)((function(){return Boolean(window.safari)}))},function(e,t,n){var r=n(67);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEmptyImage=t.NativeTypes=void 0,t.default=function(e){return new r.default(e)};var r=a(n(196)),o=a(n(214)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(59));function a(e){return e&&e.__esModule?e:{default:e}}t.NativeTypes=i,t.getEmptyImage=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(112);Object.defineProperty(t,"DragDropManager",{enumerable:!0,get:function(){return s(r).default}});var o=n(177);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return s(o).default}});var i=n(178);Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return s(i).default}});var a=n(179);function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"createTestBackend",{enumerable:!0,get:function(){return s(a).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(n(58));t.isDisposable=o.default;var i=r(n(183));t.Disposable=i.default;var a=r(n(184));t.CompositeDisposable=a.default;var s=r(n(185));t.SerialDisposable=s.default},function(e,t,n){var r=n(29),o=n(50),i=n(197),a=n(198),s=Object.prototype,l=s.hasOwnProperty,c=r((function(e,t){e=Object(e);var n=-1,r=t.length,c=r>2?t[2]:void 0;for(c&&i(t[0],t[1],c)&&(r=1);++n<r;)for(var u=t[n],d=a(u),f=-1,p=d.length;++f<p;){var h=d[f],v=e[h];(void 0===v||o(v,s[h])&&!l.call(e,h))&&(e[h]=u[h])}return e}));e.exports=c},function(e,t,n){var r=n(81),o=n(29),i=n(83),a=n(37),s=o((function(e){return i(r(e,1,a,!0))}));e.exports=s},function(e,t,n){var r=n(76);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(242),o=n(222);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(314)),o=a(n(326)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){"use strict";(function(e){function r(t,n){var r,o,i,a=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:e).document&&r.document.attachEvent;if(!a){var s=(i=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)},function(e){return i(e)}),l=(o=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout,function(e){return o(e)}),c=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},u=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;c(this),this.__resizeRAF__&&l(this.__resizeRAF__),this.__resizeRAF__=s((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}},d=!1,f="",p="animationstart",h="Webkit Moz O ms".split(" "),v="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(d=!0),!1===d)for(var m=0;m<h.length;m++)if(void 0!==g.style[h[m]+"AnimationName"]){f="-"+h[m].toLowerCase()+"-",p=v[m],d=!0;break}var y="resizeanim",b="@"+f+"keyframes "+y+" { from { opacity: 0; } to { opacity: 0; } } ",_=f+"animation: 1ms "+y+"; "}return{addResizeListener:function(e,n){if(a)e.attachEvent("onresize",n);else{if(!e.__resizeTriggers__){var o=e.ownerDocument,i=r.getComputedStyle(e);i&&"static"==i.position&&(e.style.position="relative"),function(e){if(!e.getElementById("detectElementResize")){var n=(b||"")+".resize-triggers { "+(_||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=e.head||e.getElementsByTagName("head")[0],o=e.createElement("style");o.id="detectElementResize",o.type="text/css",null!=t&&o.setAttribute("nonce",t),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(e.createTextNode(n)),r.appendChild(o)}}(o),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=o.createElement("div")).className="resize-triggers";var s='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>';if(window.trustedTypes){var l=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return s}});e.__resizeTriggers__.innerHTML=l.createHTML("")}else e.__resizeTriggers__.innerHTML=s;e.appendChild(e.__resizeTriggers__),c(e),e.addEventListener("scroll",u,!0),p&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName==y&&c(e)},e.__resizeTriggers__.addEventListener(p,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(n)}},removeResizeListener:function(e,t){if(a)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",u,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(p,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}n.d(t,"a",(function(){return r}))}).call(this,n(26))},function(e,t,n){"use strict";var r=n(111);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"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n(113)),i=l(n(120)),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(32)),s=l(n(172));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c(this,e);var r=(0,o.default)(i.default);this.context=n,this.store=r,this.monitor=new s.default(r),this.registry=this.monitor.registry,this.backend=t(this),r.subscribe(this.handleRefCountChange.bind(this))}return r(e,[{key:"handleRefCountChange",value:function(){var e=this.store.getState().refCount>0;e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1)}},{key:"getContext",value:function(){return this.context}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.registry}},{key:"getActions",value:function(){var e=this,t=this.store.dispatch;return Object.keys(a).filter((function(e){return"function"==typeof a[e]})).reduce((function(n,r){var o,i=a[r];return n[r]=(o=i,function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=o.apply(e,r);void 0!==a&&t(a)}),n}),{})}}]),e}();t.default=u},function(e,t,n){"use strict";t.__esModule=!0,t.ActionTypes=void 0,t.default=function e(t,n,i){var s;if("function"==typeof n&&void 0===i&&(i=n,n=void 0),void 0!==i){if("function"!=typeof i)throw new Error("Expected the enhancer to be a function.");return i(e)(t,n)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var l=t,c=n,u=[],d=u,f=!1;function p(){d===u&&(d=u.slice())}function h(){return c}function v(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return p(),d.push(e),function(){if(t){t=!1,p();var n=d.indexOf(e);d.splice(n,1)}}}function g(e){if(!(0,r.default)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(f)throw new Error("Reducers may not dispatch actions.");try{f=!0,c=l(c,e)}finally{f=!1}for(var t=u=d,n=0;n<t.length;n++)(0,t[n])();return e}return g({type:a.INIT}),(s={dispatch:g,subscribe:v,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");l=e,g({type:a.INIT})}})[o.default]=function(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[o.default]=function(){return this},e},s};var r=i(n(15)),o=i(n(118));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.ActionTypes={INIT:"@@redux/INIT"}},function(e,t,n){var r=n(48),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(117)(Object.getPrototypeOf,Object);e.exports=r},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){"use strict";n.r(t),function(e,r){var o,i=n(95);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.default=a}.call(this,n(26),n(119)(e))},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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];return{dirtyHandlerIds:(0,a.default)(e.dirtyHandlerIds,t,e.dragOperation),dragOffset:(0,r.default)(e.dragOffset,t),refCount:(0,i.default)(e.refCount,t),dragOperation:(0,o.default)(e.dragOperation,t),stateId:(0,s.default)(e.stateId)}};var r=l(n(73)),o=l(n(121)),i=l(n(159)),a=l(n(80)),s=l(n(171));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case a.BEGIN_DRAG:return r({},e,{itemType:t.itemType,item:t.item,sourceId:t.sourceId,isSourcePublic:t.isSourcePublic,dropResult:null,didDrop:!1});case a.PUBLISH_DRAG_SOURCE:return r({},e,{isSourcePublic:!0});case a.HOVER:return r({},e,{targetIds:t.targetIds});case s.REMOVE_TARGET:return-1===e.targetIds.indexOf(t.targetId)?e:r({},e,{targetIds:(0,i.default)(e.targetIds,t.targetId)});case a.DROP:return r({},e,{dropResult:t.dropResult,didDrop:!0,targetIds:[]});case a.END_DRAG:return r({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}};var o,i=(o=n(63))&&o.__esModule?o:{default:o},a=n(32),s=n(38),l={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null}},function(e,t,n){var r=n(123),o=n(134),i=n(140);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(124),o=n(130),i=n(131),a=n(132),s=n(133);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(33);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(77),o=n(126),i=n(28),a=n(128),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:s).test(a(e))}},function(e,t,n){var r,o=n(127),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(25)["__core-js_shared__"];e.exports=r},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){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(33),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(33),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(33);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(135),o=n(136),i=n(137),a=n(138),s=n(139);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){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(35),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},function(e,t,n){var r=n(35);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(35);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(35);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(34)(n(25),"Map");e.exports=r},function(e,t,n){var r=n(36);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(36);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(36);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(36);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(149),o=n(150),i=n(151);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},function(e,t,n){var r=n(153),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(l),r(e,this,c)}}},function(e,t){e.exports=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)}},function(e,t,n){var r=n(155),o=n(158)(r);e.exports=o},function(e,t,n){var r=n(156),o=n(157),i=n(78),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t,n){var r=n(34),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments[1];switch(t.type){case r.ADD_SOURCE:case r.ADD_TARGET:return e+1;case r.REMOVE_SOURCE:case r.REMOVE_TARGET:return e-1;default:return e}};var r=n(38)},function(e,t,n){var r=n(161),o=n(29),i=n(162),a=n(37),s=o((function(e){return i(r(e,a))}));e.exports=s},function(e,t){e.exports=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}},function(e,t,n){var r=n(75),o=n(81),i=n(83);e.exports=function(e,t,n){var a=e.length;if(a<2)return a?i(e[0]):[];for(var s=-1,l=Array(a);++s<a;)for(var c=e[s],u=-1;++u<a;)u!=s&&(l[s]=r(l[s]||c,e[u],t,n));return i(o(l,1),t,n)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t,n){var r=n(48),o=n(82),i=n(19),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t,n){var r=n(31),o=n(27);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},function(e,t,n){var r=n(167),o=n(84),i=n(85),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},function(e,t,n){var r=n(34)(n(25),"Set");e.exports=r},function(e,t,n){var r=n(53),o=n(169),i=n(29),a=n(170),s=i((function(e){var t=r(e,a);return t.length&&t[0]===e[0]?o(t):[]}));e.exports=s},function(e,t,n){var r=n(49),o=n(51),i=n(52),a=n(53),s=n(54),l=n(55),c=Math.min;e.exports=function(e,t,n){for(var u=n?i:o,d=e[0].length,f=e.length,p=f,h=Array(f),v=1/0,g=[];p--;){var m=e[p];p&&t&&(m=a(m,s(t))),v=c(m.length,v),h[p]=!n&&(t||d>=120&&m.length>=120)?new r(p&&m):void 0}m=e[0];var y=-1,b=h[0];e:for(;++y<d&&g.length<v;){var _=m[y],w=t?t(_):_;if(_=n||0!==_?_:0,!(b?l(b,w):u(g,w,n))){for(p=f;--p;){var S=h[p];if(!(S?l(S,w):u(e[p],w,n)))continue e}b&&b.push(w),g.push(_)}}return g}},function(e,t,n){var r=n(37);e.exports=function(e){return r(e)?e:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e+1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(12)),i=u(n(19)),a=u(n(74)),s=u(n(173)),l=n(73),c=n(80);function u(e){return e&&e.__esModule?e:{default:e}}var d=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store=t,this.registry=new s.default(t)}return r(e,[{key:"subscribeToStateChange",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.handlerIds;(0,o.default)("function"==typeof e,"listener must be a function."),(0,o.default)(void 0===r||(0,i.default)(r),"handlerIds, when specified, must be an array of strings.");var a=this.store.getState().stateId,s=function(){var n=t.store.getState(),o=n.stateId;try{o===a||o===a+1&&!(0,c.areDirty)(n.dirtyHandlerIds,r)||e()}finally{a=o}};return this.store.subscribe(s)}},{key:"subscribeToOffsetChange",value:function(e){var t=this;(0,o.default)("function"==typeof e,"listener must be a function.");var n=this.store.getState().dragOffset;return this.store.subscribe((function(){var r=t.store.getState().dragOffset;r!==n&&(n=r,e())}))}},{key:"canDragSource",value:function(e){var t=this.registry.getSource(e);return(0,o.default)(t,"Expected to find a valid source."),!this.isDragging()&&t.canDrag(this,e)}},{key:"canDropOnTarget",value:function(e){var t=this.registry.getTarget(e);if((0,o.default)(t,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var n=this.registry.getTargetType(e),r=this.getItemType();return(0,a.default)(n,r)&&t.canDrop(this,e)}},{key:"isDragging",value:function(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function(e){var t=this.registry.getSource(e,!0);return(0,o.default)(t,"Expected to find a valid source."),!(!this.isDragging()||!this.isSourcePublic())&&this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}},{key:"isOverTarget",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1},n=t.shallow;if(!this.isDragging())return!1;var r=this.registry.getTargetType(e),o=this.getItemType();if(!(0,a.default)(r,o))return!1;var i=this.getTargetIds();if(!i.length)return!1;var s=i.indexOf(e);return n?s===i.length-1:s>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return(0,l.getSourceClientOffset)(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return(0,l.getDifferenceFromInitialOffset)(this.store.getState().dragOffset)}}]),e}();t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o="function"==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},i=u(n(12)),a=u(n(19)),s=u(n(174)),l=n(38),c=u(n(176));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){t&&(0,a.default)(e)?e.forEach((function(e){return d(e,!1)})):(0,i.default)("string"==typeof e||"symbol"===(void 0===e?"undefined":o(e)),t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}function f(e){switch(e[0]){case"S":return"SOURCE";case"T":return"TARGET";default:(0,i.default)(!1,"Cannot parse handler ID: "+e)}}var p=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store=t,this.types={},this.handlers={},this.pinnedSourceId=null,this.pinnedSource=null}return r(e,[{key:"addSource",value:function(e,t){d(e),function(e){(0,i.default)("function"==typeof e.canDrag,"Expected canDrag to be a function."),(0,i.default)("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),(0,i.default)("function"==typeof e.endDrag,"Expected endDrag to be a function.")}(t);var n=this.addHandler("SOURCE",e,t);return this.store.dispatch((0,l.addSource)(n)),n}},{key:"addTarget",value:function(e,t){d(e,!0),function(e){(0,i.default)("function"==typeof e.canDrop,"Expected canDrop to be a function."),(0,i.default)("function"==typeof e.hover,"Expected hover to be a function."),(0,i.default)("function"==typeof e.drop,"Expected beginDrag to be a function.")}(t);var n=this.addHandler("TARGET",e,t);return this.store.dispatch((0,l.addTarget)(n)),n}},{key:"addHandler",value:function(e,t,n){var r=function(e){var t=(0,c.default)().toString();switch(e){case"SOURCE":return"S"+t;case"TARGET":return"T"+t;default:(0,i.default)(!1,"Unknown role: "+e)}}(e);return this.types[r]=t,this.handlers[r]=n,r}},{key:"containsHandler",value:function(e){var t=this;return Object.keys(this.handlers).some((function(n){return t.handlers[n]===e}))}},{key:"getSource",value:function(e,t){return(0,i.default)(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.handlers[e]}},{key:"getTarget",value:function(e){return(0,i.default)(this.isTargetId(e),"Expected a valid target ID."),this.handlers[e]}},{key:"getSourceType",value:function(e){return(0,i.default)(this.isSourceId(e),"Expected a valid source ID."),this.types[e]}},{key:"getTargetType",value:function(e){return(0,i.default)(this.isTargetId(e),"Expected a valid target ID."),this.types[e]}},{key:"isSourceId",value:function(e){return"SOURCE"===f(e)}},{key:"isTargetId",value:function(e){return"TARGET"===f(e)}},{key:"removeSource",value:function(e){var t=this;(0,i.default)(this.getSource(e),"Expected an existing source."),this.store.dispatch((0,l.removeSource)(e)),(0,s.default)((function(){delete t.handlers[e],delete t.types[e]}))}},{key:"removeTarget",value:function(e){var t=this;(0,i.default)(this.getTarget(e),"Expected an existing target."),this.store.dispatch((0,l.removeTarget)(e)),(0,s.default)((function(){delete t.handlers[e],delete t.types[e]}))}},{key:"pinSource",value:function(e){var t=this.getSource(e);(0,i.default)(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}},{key:"unpinSource",value:function(){(0,i.default)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}}]),e}();t.default=p},function(e,t,n){"use strict";var r=n(175),o=[],i=[],a=r.makeRequestCallFromTimer((function(){if(i.length)throw i.shift()}));function s(e){var t;(t=o.length?o.pop():new l).task=e,r(t)}function l(){this.task=null}e.exports=s,l.prototype.call=function(){try{this.task.call()}catch(e){s.onerror?s.onerror(e):(i.push(e),a())}finally{this.task=null,o[o.length]=this}}},function(e,t,n){"use strict";(function(t){function n(e){o.length||r(),o[o.length]=e}e.exports=n;var r,o=[],i=0;function a(){for(;i<o.length;){var e=i;if(i+=1,o[e].call(),i>1024){for(var t=0,n=o.length-i;t<n;t++)o[t]=o[t+i];o.length-=i,i=0}}o.length=0,i=0}var s,l,c,u=void 0!==t?t:self,d=u.MutationObserver||u.WebKitMutationObserver;function f(e){return function(){var t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}"function"==typeof d?(s=1,l=new d(a),c=document.createTextNode(""),l.observe(c,{characterData:!0}),r=function(){s=-s,c.data=s}):r=f(a),n.requestFlush=r,n.makeRequestCallFromTimer=f}).call(this,n(26))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r++};var r=0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"canDrag",value:function(){return!0}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"canDrop",value:function(){return!0}},{key:"hover",value:function(){}},{key:"drop",value:function(){}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new a(e)};var o,i=(o=n(84))&&o.__esModule?o:{default:o},a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=t.getActions()}return r(e,[{key:"setup",value:function(){this.didCallSetup=!0}},{key:"teardown",value:function(){this.didCallTeardown=!0}},{key:"connectDragSource",value:function(){return i.default}},{key:"connectDragPreview",value:function(){return i.default}},{key:"connectDropTarget",value:function(){return i.default}},{key:"simulateBeginDrag",value:function(e,t){this.actions.beginDrag(e,t)}},{key:"simulatePublishDragSource",value:function(){this.actions.publishDragSource()}},{key:"simulateHover",value:function(e,t){this.actions.hover(e,t)}},{key:"simulateDrop",value:function(){this.actions.drop()}},{key:"simulateEndDrag",value:function(){this.actions.endDrag()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o,i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),l=(i=n(1))&&i.__esModule?i:{default:i},c=n(71),u=(o=r=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.backend=(0,c.unpackBackendForEs5Users)(e.backend),r.childContext=(0,c.createChildContext)(r.backend,{window:e&&e.window?e.window:n&&n.window?n.window:"undefined"!=typeof window?window:void 0}),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentWillReceiveProps",value:function(e){if(e.backend!==this.props.backend||e.window!==this.props.window)throw new Error("DragDropContextProvider backend and window props must not change.")}},{key:"getChildContext",value:function(){return this.childContext}},{key:"render",value:function(){return s.Children.only(this.props.children)}}]),t}(s.Component),r.propTypes={backend:l.default.oneOfType([l.default.func,l.default.object]).isRequired,children:l.default.element.isRequired,window:l.default.object},r.defaultProps={window:void 0},r.childContextTypes=c.CHILD_CONTEXT_TYPES,r.displayName="DragDropContextProvider",r.contextTypes={window:l.default.object},o);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return h.default.apply(void 0,["DragLayer","collect[, options]"].concat(Array.prototype.slice.call(arguments))),(0,d.default)("function"==typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",e),(0,d.default)((0,u.default)(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',t),function(n){var u,h,v=t.arePropsEqual,b=void 0===v?p.default:v,_=n.displayName||n.name||"Component",w=(h=u=function(t){function a(e,t){g(this,a);var n=m(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return n.handleChange=n.handleChange.bind(n),n.manager=t.dragDropManager,(0,d.default)("object"===o(n.manager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",_,_),n.state=n.getCurrentState(),n}return y(a,t),i(a,[{key:"getDecoratedComponentInstance",value:function(){return(0,d.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"shouldComponentUpdate",value:function(e,t){return!b(e,this.props)||!(0,f.default)(t,this.state)}}]),i(a,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0;var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange),this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange(),this.unsubscribeFromStateChange()}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,f.default)(e,this.state)||this.setState(e)}}},{key:"getCurrentState",value:function(){var t=this.manager.getMonitor();return e(t,this.props)}},{key:"render",value:function(){var e=this;return s.default.createElement(n,r({},this.props,this.state,{ref:function(t){e.child=t}}))}}]),a}(a.Component),u.DecoratedComponent=n,u.displayName="DragLayer("+_+")",u.contextTypes={dragDropManager:l.default.object.isRequired},h);return(0,c.default)(w,n)}};var a=n(0),s=v(a),l=v(n(1)),c=v(n(30)),u=v(n(15)),d=v(n(12)),f=v(n(57)),p=v(n(86)),h=v(n(39));function v(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(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 y(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)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.default.apply(void 0,["DragSource","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var p=e;"function"!=typeof e&&((0,r.default)((0,d.default)(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e),p=function(){return e}),(0,r.default)((0,o.default)(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t);var h=(0,l.default)(t);return(0,r.default)("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),(0,r.default)((0,o.default)(f),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),function(e){return(0,a.default)({connectBackend:function(e,t){return e.connectDragSource(t)},containerDisplayName:"DragSource",createHandler:h,registerHandler:s.default,createMonitor:c.default,createConnector:u.default,DecoratedComponent:e,getType:p,collect:n,options:f})}};var r=f(n(12)),o=f(n(15)),i=f(n(39)),a=f(n(87)),s=f(n(186)),l=f(n(187)),c=f(n(188)),u=f(n(189)),d=f(n(90));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){},i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isDisposed=!1,this.action=t||o}return r(e,null,[{key:"empty",value:{dispose:o},enumerable:!0}]),e.prototype.dispose=function(){this.isDisposed||(this.action.call(null),this.isDisposed=!0)},e}();t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o,i=(o=n(58))&&o.__esModule?o:{default:o},a=function(){function e(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];r(this,e),Array.isArray(n[0])&&1===n.length&&(n=n[0]);for(var a=0;a<n.length;a++)if(!i.default(n[a]))throw new Error("Expected a disposable");this.disposables=n,this.isDisposed=!1}return e.prototype.add=function(e){this.isDisposed?e.dispose():this.disposables.push(e)},e.prototype.remove=function(e){if(this.isDisposed)return!1;var t=this.disposables.indexOf(e);return-1!==t&&(this.disposables.splice(t,1),e.dispose(),!0)},e.prototype.dispose=function(){if(!this.isDisposed){for(var e=this.disposables.length,t=new Array(e),n=0;n<e;n++)t[n]=this.disposables[n];for(this.isDisposed=!0,this.disposables=[],this.length=0,n=0;n<e;n++)t[n].dispose()}},e}();t.default=a,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(58))&&r.__esModule?r:{default:r},i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isDisposed=!1,this.current=null}return e.prototype.getDisposable=function(){return this.current},e.prototype.setDisposable=function(){var e=arguments.length<=0||void 0===arguments[0]?null:arguments[0];if(null!=e&&!o.default(e))throw new Error("Expected either an empty value or a valid disposable");var t=this.isDisposed,n=void 0;t||(n=this.current,this.current=e),n&&n.dispose(),t&&e&&e.dispose()},e.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var e=this.current;this.current=null,e&&e.dispose()}},e}();t.default=i,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addSource(e,t);return{handlerId:o,unregister:function(){r.removeSource(o)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){Object.keys(e).forEach((function(t){(0,o.default)(a.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',a.join(", "),t),(0,o.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])})),s.forEach((function(t){(0,o.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])}));var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.monitor=e,this.props=null,this.component=null}return r(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrag",value:function(){return!e.canDrag||e.canDrag(this.props,this.monitor)}},{key:"isDragging",value:function(t,n){return e.isDragging?e.isDragging(this.props,this.monitor):n===t.getSourceId()}},{key:"beginDrag",value:function(){return e.beginDrag(this.props,this.monitor,this.component)}},{key:"endDrag",value:function(){e.endDrag&&e.endDrag(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}};var o=i(n(12));function i(e){return e&&e.__esModule?e:{default:e}}i(n(15));var a=["canDrag","beginDrag","isDragging","endDrag"],s=["beginDrag"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new l(e)};var o,i=(o=n(12))&&o.__esModule?o:{default:o},a=!1,s=!1,l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalMonitor=t.getMonitor()}return r(e,[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"canDrag",value:function(){(0,i.default)(!a,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return a=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{a=!1}}},{key:"isDragging",value:function(){(0,i.default)(!s,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return s=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{s=!1}}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0,n=void 0,i=void 0,a=void 0,s=void 0,l=void 0,c=void 0;function u(){a&&(a(),a=null),t&&n&&(a=e.connectDragSource(t,n,i))}function d(){c&&(c(),c=null),t&&s&&(c=e.connectDragPreview(t,s,l))}return{receiveHandlerId:function(e){e!==t&&(t=e,u(),d())},hooks:(0,r.default)({dragSource:function(e,t){e===n&&(0,o.default)(t,i)||(n=e,i=t,u())},dragPreview:function(e,t){e===s&&(0,o.default)(t,l)||(s=e,l=t,d())}})}};var r=i(n(88)),o=i(n(89));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.ref;return(0,o.default)("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?(0,i.cloneElement)(e,{ref:function(e){t(e),n&&n(e)}}):(0,i.cloneElement)(e,{ref:t})};var r,o=(r=n(12))&&r.__esModule?r:{default:r},i=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.default.apply(void 0,["DropTarget","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var p=e;"function"!=typeof e&&((0,r.default)((0,d.default)(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e),p=function(){return e}),(0,r.default)((0,o.default)(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t);var h=(0,l.default)(t);return(0,r.default)("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),(0,r.default)((0,o.default)(f),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),function(e){return(0,a.default)({connectBackend:function(e,t){return e.connectDropTarget(t)},containerDisplayName:"DropTarget",createHandler:h,registerHandler:s.default,createMonitor:c.default,createConnector:u.default,DecoratedComponent:e,getType:p,collect:n,options:f})}};var r=f(n(12)),o=f(n(15)),i=f(n(39)),a=f(n(87)),s=f(n(192)),l=f(n(193)),c=f(n(194)),u=f(n(195)),d=f(n(90));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addTarget(e,t);return{handlerId:o,unregister:function(){r.removeTarget(o)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){Object.keys(e).forEach((function(t){(0,o.default)(a.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',a.join(", "),t),(0,o.default)("function"==typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",t,t,e[t])}));var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.monitor=e,this.props=null,this.component=null}return r(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveMonitor",value:function(e){this.monitor=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrop",value:function(){return!e.canDrop||e.canDrop(this.props,this.monitor)}},{key:"hover",value:function(){e.hover&&e.hover(this.props,this.monitor,this.component)}},{key:"drop",value:function(){if(e.drop)return e.drop(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}};var o=i(n(12));function i(e){return e&&e.__esModule?e:{default:e}}i(n(15));var a=["canDrop","hover","drop"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new s(e)};var o,i=(o=n(12))&&o.__esModule?o:{default:o},a=!1,s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalMonitor=t.getMonitor()}return r(e,[{key:"receiveHandlerId",value:function(e){this.targetId=e}},{key:"canDrop",value:function(){(0,i.default)(!a,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html");try{return a=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{a=!1}}},{key:"isOver",value:function(e){return this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0,n=void 0,i=void 0,a=void 0;function s(){a&&(a(),a=null),t&&n&&(a=e.connectDropTarget(t,n,i))}return{receiveHandlerId:function(e){e!==t&&(t=e,s())},hooks:(0,r.default)({dropTarget:function(e,t){e===n&&(0,o.default)(t,i)||(n=e,i=t,s())}})}};var r=i(n(88)),o=i(n(89));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=d(n(99)),i=d(n(209)),a=d(n(210)),s=n(92),l=n(211),c=n(213),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(59));function d(e){return e&&e.__esModule?e:{default:e}}var f=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.context=t.getContext(),this.sourcePreviewNodes={},this.sourcePreviewNodeOptions={},this.sourceNodes={},this.sourceNodeOptions={},this.enterLeaveCounter=new a.default,this.dragStartSourceIds=[],this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.getSourceClientOffset=this.getSourceClientOffset.bind(this),this.handleTopDragStart=this.handleTopDragStart.bind(this),this.handleTopDragStartCapture=this.handleTopDragStartCapture.bind(this),this.handleTopDragEndCapture=this.handleTopDragEndCapture.bind(this),this.handleTopDragEnter=this.handleTopDragEnter.bind(this),this.handleTopDragEnterCapture=this.handleTopDragEnterCapture.bind(this),this.handleTopDragLeaveCapture=this.handleTopDragLeaveCapture.bind(this),this.handleTopDragOver=this.handleTopDragOver.bind(this),this.handleTopDragOverCapture=this.handleTopDragOverCapture.bind(this),this.handleTopDrop=this.handleTopDrop.bind(this),this.handleTopDropCapture=this.handleTopDropCapture.bind(this),this.handleSelectStart=this.handleSelectStart.bind(this),this.endDragIfSourceWasRemovedFromDOM=this.endDragIfSourceWasRemovedFromDOM.bind(this),this.endDragNativeItem=this.endDragNativeItem.bind(this),this.asyncEndDragNativeItem=this.asyncEndDragNativeItem.bind(this),this.isNodeInDocument=this.isNodeInDocument.bind(this)}return r(e,[{key:"setup",value:function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}}},{key:"teardown",value:function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&this.window.cancelAnimationFrame(this.asyncEndDragFrameId))}},{key:"addEventListeners",value:function(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"connectDragPreview",value:function(e,t,n){var r=this;return this.sourcePreviewNodeOptions[e]=n,this.sourcePreviewNodes[e]=t,function(){delete r.sourcePreviewNodes[e],delete r.sourcePreviewNodeOptions[e]}}},{key:"connectDragSource",value:function(e,t,n){var r=this;this.sourceNodes[e]=t,this.sourceNodeOptions[e]=n;var o=function(t){return r.handleDragStart(t,e)},i=function(t){return r.handleSelectStart(t,e)};return t.setAttribute("draggable",!0),t.addEventListener("dragstart",o),t.addEventListener("selectstart",i),function(){delete r.sourceNodes[e],delete r.sourceNodeOptions[e],t.removeEventListener("dragstart",o),t.removeEventListener("selectstart",i),t.setAttribute("draggable",!1)}}},{key:"connectDropTarget",value:function(e,t){var n=this,r=function(t){return n.handleDragEnter(t,e)},o=function(t){return n.handleDragOver(t,e)},i=function(t){return n.handleDrop(t,e)};return t.addEventListener("dragenter",r),t.addEventListener("dragover",o),t.addEventListener("drop",i),function(){t.removeEventListener("dragenter",r),t.removeEventListener("dragover",o),t.removeEventListener("drop",i)}}},{key:"getCurrentSourceNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions[e];return(0,o.default)(t||{},{dropEffect:this.altKeyPressed?"copy":"move"})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions[e];return(0,o.default)(t||{},{anchorX:.5,anchorY:.5,captureDraggingState:!1})}},{key:"getSourceClientOffset",value:function(e){return(0,l.getNodeClientOffset)(this.sourceNodes[e])}},{key:"isDraggingNativeItem",value:function(){var e=this.monitor.getItemType();return Object.keys(u).some((function(t){return u[t]===e}))}},{key:"beginDragNativeItem",value:function(e){this.clearCurrentDragSourceNode();var t=(0,c.createNativeDragSource)(e);this.currentNativeSource=new t,this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"asyncEndDragNativeItem",value:function(){this.asyncEndDragFrameId=this.window.requestAnimationFrame(this.endDragNativeItem)}},{key:"endDragNativeItem",value:function(){this.isDraggingNativeItem()&&(this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)}},{key:"isNodeInDocument",value:function(e){return!(!document.body.contains(e)&&!this.window)&&this.window.document.body.contains(e)}},{key:"endDragIfSourceWasRemovedFromDOM",value:function(){var e=this.currentDragSourceNode;this.isNodeInDocument(e)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"setCurrentDragSourceNode",value:function(e){var t=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.currentDragSourceNodeOffset=(0,l.getNodeClientOffset)(e),this.currentDragSourceNodeOffsetChanged=!1,this.mouseMoveTimeoutTimer=setTimeout((function(){return t.mouseMoveTimeoutId=null,t.window.addEventListener("mousemove",t.endDragIfSourceWasRemovedFromDOM,!0)}),1e3)}},{key:"clearCurrentDragSourceNode",value:function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.window.clearTimeout(this.mouseMoveTimeoutTimer),this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0),this.mouseMoveTimeoutTimer=null,!0)}},{key:"checkIfCurrentDragSourceRectChanged",value:function(){var e=this.currentDragSourceNode;return!!e&&(!!this.currentDragSourceNodeOffsetChanged||(this.currentDragSourceNodeOffsetChanged=!(0,i.default)((0,l.getNodeClientOffset)(e),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged))}},{key:"handleTopDragStartCapture",value:function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]}},{key:"handleDragStart",value:function(e,t){this.dragStartSourceIds.unshift(t)}},{key:"handleTopDragStart",value:function(e){var t=this,n=this.dragStartSourceIds;this.dragStartSourceIds=null;var r=(0,l.getEventClientOffset)(e);this.monitor.isDragging()&&this.actions.endDrag(),this.actions.beginDrag(n,{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});var o=e.dataTransfer,i=(0,c.matchNativeItemType)(o);if(this.monitor.isDragging()){if("function"==typeof o.setDragImage){var a=this.monitor.getSourceId(),s=this.sourceNodes[a],u=this.sourcePreviewNodes[a]||s,d=this.getCurrentSourcePreviewNodeOptions(),f={anchorX:d.anchorX,anchorY:d.anchorY},p={offsetX:d.offsetX,offsetY:d.offsetY},h=(0,l.getDragPreviewOffset)(s,u,r,f,p);o.setDragImage(u,h.x,h.y)}try{o.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target),this.getCurrentSourcePreviewNodeOptions().captureDraggingState?this.actions.publishDragSource():setTimeout((function(){return t.actions.publishDragSource()}))}else if(i)this.beginDragNativeItem(i);else{if(!(o.types||e.target.hasAttribute&&e.target.hasAttribute("draggable")))return;e.preventDefault()}}},{key:"handleTopDragEndCapture",value:function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"handleTopDragEnterCapture",value:function(e){if(this.dragEnterTargetIds=[],this.enterLeaveCounter.enter(e.target)&&!this.monitor.isDragging()){var t=e.dataTransfer,n=(0,c.matchNativeItemType)(t);n&&this.beginDragNativeItem(n)}}},{key:"handleDragEnter",value:function(e,t){this.dragEnterTargetIds.unshift(t)}},{key:"handleTopDragEnter",value:function(e){var t=this,n=this.dragEnterTargetIds;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,(0,s.isFirefox)()||this.actions.hover(n,{clientOffset:(0,l.getEventClientOffset)(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))&&(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()))}},{key:"handleTopDragOverCapture",value:function(){this.dragOverTargetIds=[]}},{key:"handleDragOver",value:function(e,t){this.dragOverTargetIds.unshift(t)}},{key:"handleTopDragOver",value:function(e){var t=this,n=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer.dropEffect="none");this.altKeyPressed=e.altKey,this.actions.hover(n,{clientOffset:(0,l.getEventClientOffset)(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))?(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(e.preventDefault(),e.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(e.preventDefault(),e.dataTransfer.dropEffect="move")}},{key:"handleTopDragLeaveCapture",value:function(e){this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&this.isDraggingNativeItem()&&this.endDragNativeItem()}},{key:"handleTopDropCapture",value:function(e){this.dropTargetIds=[],e.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(e.dataTransfer),this.enterLeaveCounter.reset()}},{key:"handleDrop",value:function(e,t){this.dropTargetIds.unshift(t)}},{key:"handleTopDrop",value:function(e){var t=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:(0,l.getEventClientOffset)(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()}},{key:"handleSelectStart",value:function(e){var t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))}},{key:"window",get:function(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}}]),e}();t.default=f},function(e,t,n){var r=n(50),o=n(56),i=n(91),a=n(28);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},function(e,t,n){var r=n(199),o=n(206),i=n(56);e.exports=function(e){return i(e)?r(e,!0):o(e)}},function(e,t,n){var r=n(200),o=n(82),i=n(19),a=n(201),s=n(91),l=n(203),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),f=!n&&!u&&!d&&l(e),p=n||u||d||f,h=p?r(e.length,String):[],v=h.length;for(var g in e)!t&&!c.call(e,g)||p&&("length"==g||d&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,v))||h.push(g);return h}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){(function(e){var r=n(25),o=n(202),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){e.exports=function(){return!1}},function(e,t,n){var r=n(204),o=n(54),i=n(205),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t,n){var r=n(31),o=n(79),i=n(27),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},function(e,t,n){(function(e){var r=n(72),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(64)(e))},function(e,t,n){var r=n(28),o=n(207),i=n(208),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;if(e[n[i]]!==t[n[i]])return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=a(n(100)),i=a(n(63));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.entered=[]}return r(e,[{key:"enter",value:function(e){var t=this.entered.length;return this.entered=(0,o.default)(this.entered.filter((function(t){return document.documentElement.contains(t)&&(!t.contains||t.contains(e))})),[e]),0===t&&this.entered.length>0}},{key:"leave",value:function(e){var t=this.entered.length;return this.entered=(0,i.default)(this.entered.filter((function(e){return document.documentElement.contains(e)})),e),t>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeClientOffset=a,t.getEventClientOffset=function(e){return{x:e.clientX,y:e.clientY}},t.getDragPreviewOffset=function(e,t,n,r,s){var l,c,u="IMG"===(l=t).nodeName&&((0,o.isFirefox)()||!document.documentElement.contains(l)),d=a(u?e:t),f={x:n.x-d.x,y:n.y-d.y},p=e.offsetWidth,h=e.offsetHeight,v=r.anchorX,g=r.anchorY,m=function(e,t,n,r){var i=e?t.width:n,a=e?t.height:r;return(0,o.isSafari)()&&e&&(a/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:a}}(u,t,p,h),y=m.dragPreviewWidth,b=m.dragPreviewHeight,_=s.offsetX,w=s.offsetY,S=0===w||w;return{x:0===_||_?_:new i.default([0,.5,1],[f.x,f.x/p*y,f.x+y-p]).interpolate(v),y:S?w:(c=new i.default([0,.5,1],[f.y,f.y/h*b,f.y+b-h]).interpolate(g),(0,o.isSafari)()&&u&&(c+=(window.devicePixelRatio-1)*b),c)}};var r,o=n(92),i=(r=n(212))&&r.__esModule?r:{default:r};function a(e){var t=1===e.nodeType?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top;return{x:n.left,y:r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=t.length,o=[],i=0;i<r;i++)o.push(i);o.sort((function(e,n){return t[e]<t[n]?-1:1}));for(var a=[],s=[],l=[],c=void 0,u=void 0,d=0;d<r-1;d++)c=t[d+1]-t[d],u=n[d+1]-n[d],s.push(c),a.push(u),l.push(u/c);for(var f=[l[0]],p=0;p<s.length-1;p++){var h=l[p],v=l[p+1];if(h*v<=0)f.push(0);else{c=s[p];var g=s[p+1],m=c+g;f.push(3*m/((m+g)/h+(m+c)/v))}}f.push(l[l.length-1]);for(var y=[],b=[],_=void 0,w=0;w<f.length-1;w++){_=l[w];var S=f[w],C=1/s[w],O=S+f[w+1]-_-_;y.push((_-S-O)*C),b.push(O*C*C)}this.xs=t,this.ys=n,this.c1s=f,this.c2s=y,this.c3s=b}return r(e,[{key:"interpolate",value:function(e){var t=this.xs,n=this.ys,r=this.c1s,o=this.c2s,i=this.c3s,a=t.length-1;if(e===t[a])return n[a];for(var s=0,l=i.length-1,c=void 0;s<=l;){var u=t[c=Math.floor(.5*(s+l))];if(u<e)s=c+1;else{if(!(u>e))return n[c];l=c-1}}var d=e-t[a=Math.max(0,l)],f=d*d;return n[a]+r[a]*d+o[a]*f+i[a]*d*f}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!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}}();t.createNativeDragSource=function(e){var t=l[e],n=t.exposeProperty,r=t.matchesTypes,i=t.getData;return function(){function e(){var t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.item=(t={},(r={})[n]=r[n]||{},r[n].get=function(){return console.warn("Browser doesn't allow reading \""+n+'" until the drop event.'),null},function(e,t){for(var n in t){var r=t[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n,r)}}(t,r),t)}return o(e,[{key:"mutateItemByReadingDataTransfer",value:function(e){delete this.item[n],this.item[n]=i(e,r)}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}()},t.matchNativeItemType=function(e){var t=Array.prototype.slice.call(e.types||[]);return Object.keys(l).filter((function(e){return l[e].matchesTypes.some((function(e){return t.indexOf(e)>-1}))}))[0]||null};var i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(59));function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t,n){var r=t.reduce((function(t,n){return t||e.getData(n)}),null);return null!=r?r:n}var l=(a(r={},i.FILE,{exposeProperty:"files",matchesTypes:["Files"],getData:function(e){return Array.prototype.slice.call(e.files)}}),a(r,i.URL,{exposeProperty:"urls",matchesTypes:["Url","text/uri-list"],getData:function(e,t){return s(e,t,"").split("\n")}}),a(r,i.TEXT,{exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(e,t){return s(e,t,"")}}),r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r||((r=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r};var r=void 0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;if(e[n[i]]!==t[n[i]])return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FILE="__NATIVE_FILE__",t.URL="__NATIVE_URL__",t.TEXT="__NATIVE_TEXT__"},function(e,t,n){var r=n(67);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(221)("keys"),o=n(106);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(43),o=n(42),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(105)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(218);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports={}},function(e,t,n){var r=n(93),o=n(319),i=n(222),a=n(220)("IE_PROTO"),s=function(){},l=function(){var e,t=n(241)("iframe"),r=i.length;for(t.style.display="none",n(320).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(60).f,o=n(61),i=n(69)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){t.f=n(69)},function(e,t,n){var r=n(42),o=n(43),i=n(105),a=n(228),s=n(60).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(230);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unpackBackendForEs5Users=t.createChildContext=t.CHILD_CONTEXT_TYPES=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},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="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){f.default.apply(void 0,["DragDropContext","backend"].concat(Array.prototype.slice.call(arguments)));var t=b(e),n=y(t);return function(e){var t,i,l=e.displayName||e.name||"Component",c=(i=t=function(t){function i(){return h(this,i),v(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return g(i,t),o(i,[{key:"getDecoratedComponentInstance",value:function(){return(0,u.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"getManager",value:function(){return n.dragDropManager}},{key:"getChildContext",value:function(){return n}},{key:"render",value:function(){var t=this;return s.default.createElement(e,r({},this.props,{ref:function(e){t.child=e}}))}}]),i}(a.Component),t.DecoratedComponent=e,t.displayName="DragDropContext("+l+")",t.childContextTypes=m,i);return(0,d.default)(c,e)}};var a=n(0),s=p(a),l=p(n(1)),c=n(97),u=p(n(12)),d=p(n(30)),f=p(n(102));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(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 g(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 m=t.CHILD_CONTEXT_TYPES={dragDropManager:l.default.object.isRequired},y=t.createChildContext=function(e,t){return{dragDropManager:new c.DragDropManager(e,t)}},b=t.unpackBackendForEs5Users=function(e){var t=e;return"object"===(void 0===t?"undefined":i(t))&&"function"==typeof t.default&&(t=t.default),(0,u.default)("function"==typeof t,"Expected the backend to be a function or an ES6 module exporting a default function. Read more: http://react-dnd.github.io/react-dnd/docs-drag-drop-context.html"),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":r(e))||null===e||"object"!==(void 0===t?"undefined":r(t))||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=Object.prototype.hasOwnProperty,a=0;a<n.length;a+=1){if(!i.call(t,n[a]))return!1;var s=e[n[a]],l=t[n[a]];if(s!==l||"object"===(void 0===s?"undefined":r(s))||"object"===(void 0===l?"undefined":r(l)))return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t,n,h=e.DecoratedComponent,g=e.createHandler,m=e.createMonitor,y=e.createConnector,b=e.registerHandler,_=e.containerDisplayName,w=e.getType,S=e.collect,C=e.options.arePropsEqual,O=void 0===C?p.default:C,x=h.displayName||h.name||"Component",T=(n=t=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleChange=r.handleChange.bind(r),r.handleChildRef=r.handleChildRef.bind(r),(0,u.default)("object"===o(r.context.dragDropManager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",x,x),r.manager=r.context.dragDropManager,r.handlerMonitor=m(r.manager),r.handlerConnector=y(r.manager.getBackend()),r.handler=g(r.handlerMonitor),r.disposable=new c.SerialDisposable,r.receiveProps(e),r.state=r.getCurrentState(),r.dispose(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"getHandlerId",value:function(){return this.handlerId}},{key:"getDecoratedComponentInstance",value:function(){return this.decoratedComponentInstance}},{key:"shouldComponentUpdate",value:function(e,t){return!O(e,this.props)||!(0,f.default)(t,this.state)}}]),i(t,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.disposable=new c.SerialDisposable,this.currentType=null,this.receiveProps(this.props),this.handleChange()}},{key:"componentWillReceiveProps",value:function(e){O(e,this.props)||(this.receiveProps(e),this.handleChange())}},{key:"componentWillUnmount",value:function(){this.dispose(),this.isCurrentlyMounted=!1}},{key:"receiveProps",value:function(e){this.handler.receiveProps(e),this.receiveType(w(e))}},{key:"receiveType",value:function(e){if(e!==this.currentType){this.currentType=e;var t=b(e,this.handler,this.manager),n=t.handlerId,r=t.unregister;this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var o=this.manager.getMonitor().subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new c.CompositeDisposable(new c.Disposable(o),new c.Disposable(r)))}}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,f.default)(e,this.state)||this.setState(e)}}},{key:"dispose",value:function(){this.disposable.dispose(),this.handlerConnector.receiveHandlerId(null)}},{key:"handleChildRef",value:function(e){this.decoratedComponentInstance=e,this.handler.receiveComponent(e)}},{key:"getCurrentState",value:function(){return S(this.handlerConnector.hooks,this.handlerMonitor)}},{key:"render",value:function(){return s.default.createElement(h,r({},this.props,this.state,{ref:v(h)?this.handleChildRef:null}))}}]),t}(a.Component),t.DecoratedComponent=h,t.displayName=_+"("+x+")",t.contextTypes={dragDropManager:l.default.object.isRequired},n);return(0,d.default)(T,h)};var a=n(0),s=h(a),l=h(n(1)),c=n(98),u=(h(n(15)),h(n(12))),d=h(n(30)),f=h(n(215)),p=h(n(233));function h(e){return e&&e.__esModule?e:{default:e}}var v=function(e){return Boolean(e&&e.prototype&&"function"==typeof e.prototype.render)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={};return Object.keys(e).forEach((function(n){var r,s=(r=e[n],function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,o.isValidElement)(e)){var n=e;a(n);var s=t?function(e){return r(e,t)}:r;return(0,i.default)(n,s)}var l=e;r(l,t)});t[n]=function(){return s}})),t};var r,o=n(0),i=(r=n(287))&&r.__esModule?r:{default:r};function a(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors.You can either wrap "+t+" into a <div>, or turn it into a drag source or a drop target itself.")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t===e||null!==t&&null!==e&&(0,o.default)(t,e)};var r,o=(r=n(215))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function e(t,n){return"string"==typeof t||"symbol"===(void 0===t?"undefined":r(t))||n&&(0,i.default)(t)&&t.every((function(t){return e(t,!1)}))};var o,i=(o=n(19))&&o.__esModule?o:{default:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=t.isFirefox=void 0;var r,o=(r=n(101))&&r.__esModule?r:{default:r};t.isFirefox=(0,o.default)((function(){return/firefox/i.test(navigator.userAgent)})),t.isSafari=(0,o.default)((function(){return Boolean(window.safari)}))},function(e,t,n){var r=n(304);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){e.exports=!n(44)&&!n(94)((function(){return 7!=Object.defineProperty(n(241)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(67),o=n(42).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(61),o=n(68),i=n(306)(!1),a=n(220)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(244);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";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";Object.defineProperty(t,"__esModule",{value:!0}),t.storeShape=void 0;var r,o=(r=n(1))&&r.__esModule?r:{default:r};t.storeShape=o.default.shape({subscribe:o.default.func.isRequired,setState:o.default.func.isRequired,getState:o.default.func.isRequired})},function(e,t,n){"use strict";var r=n(105),o=n(65),i=n(248),a=n(66),s=n(225),l=n(318),c=n(227),u=n(321),d=n(69)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,v,g,m){l(n,t,h);var y,b,_,w=function(e){if(!f&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",C="values"==v,O=!1,x=e.prototype,T=x[d]||x["@@iterator"]||v&&x[v],k=T||w(v),D=v?C?w("entries"):k:void 0,E="Array"==t&&x.entries||T;if(E&&(_=u(E.call(new e)))!==Object.prototype&&_.next&&(c(_,S,!0),r||"function"==typeof _[d]||a(_,d,p)),C&&T&&"values"!==T.name&&(O=!0,k=function(){return T.call(this)}),r&&!m||!f&&!O&&x[d]||a(x,d,k),s[t]=k,s[S]=p,v)if(y={values:C?k:w("values"),keys:g?k:w("keys"),entries:D},m)for(b in y)b in x||i(x,b,y[b]);else o(o.P+o.F*(f||O),t,y);return y}},function(e,t,n){e.exports=n(66)},function(e,t,n){var r=n(242),o=n(222).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(107),o=n(103),i=n(68),a=n(217),s=n(61),l=n(240),c=Object.getOwnPropertyDescriptor;t.f=n(44)?c:function(e,t){if(e=i(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){e.exports={default:n(345),__esModule:!0}},function(e,t){e.exports=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}},function(e,t){e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure undefined")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(267),o=n(268),i=n(231),a=n(269);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){function i(t){var r=new o.default(t);n.call(e,r)}if(e.addEventListener){var a=(s=!1,"object"==typeof r?s=r.capture||!1:"boolean"==typeof r&&(s=r),e.addEventListener(t,i,r||!1),{v:{remove:function(){e.removeEventListener(t,i,s)}}});if("object"==typeof a)return a.v}else if(e.attachEvent)return e.attachEvent("on"+t,i),{remove:function(){e.detachEvent("on"+t,i)}};var s};var r,o=(r=n(343))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(251))&&r.__esModule?r:{default:r};t.default=function(e,t,n){return t in e?(0,o.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){try{var r=n(252)}catch(e){r=n(252)}var o=/\s+/,i=Object.prototype.toString;function a(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}e.exports=function(e){return new a(e)},a.prototype.add=function(e){if(this.list)return this.list.add(e),this;var t=this.array();return~r(t,e)||t.push(e),this.el.className=t.join(" "),this},a.prototype.remove=function(e){if("[object RegExp]"==i.call(e))return this.removeMatching(e);if(this.list)return this.list.remove(e),this;var t=this.array(),n=r(t,e);return~n&&t.splice(n,1),this.el.className=t.join(" "),this},a.prototype.removeMatching=function(e){for(var t=this.array(),n=0;n<t.length;n++)e.test(t[n])&&this.remove(t[n]);return this},a.prototype.toggle=function(e,t){return this.list?(void 0!==t?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this):(void 0!==t?t?this.add(e):this.remove(e):this.has(e)?this.remove(e):this.add(e),this)},a.prototype.array=function(){var e=(this.el.getAttribute("class")||"").replace(/^\s+|\s+$/g,"").split(o);return""===e[0]&&e.shift(),e},a.prototype.has=a.prototype.contains=function(e){return this.list?this.list.contains(e):!!~r(this.array(),e)}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";e.exports=n(347)},,,,function(e,t,n){var r=n(230);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=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.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,i=[],_n=!0,a=!1;try{for(n=n.call(e);!(_n=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);_n=!0);}catch(e){a=!0,o=e}finally{try{_n||null==n.return||n.return()}finally{if(a)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){(function(e,n){var r="[object Arguments]",o="[object Map]",i="[object Object]",a="[object Set]",s=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[r]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c["[object Function]"]=c[o]=c["[object Number]"]=c[i]=c["[object RegExp]"]=c[a]=c["[object String]"]=c["[object WeakMap]"]=!1;var u="object"==typeof e&&e&&e.Object===Object&&e,d="object"==typeof self&&self&&self.Object===Object&&self,f=u||d||Function("return this")(),p=t&&!t.nodeType&&t,h=p&&"object"==typeof n&&n&&!n.nodeType&&n,v=h&&h.exports===p,g=v&&u.process,m=function(){try{return g&&g.binding&&g.binding("util")}catch(e){}}(),y=m&&m.isTypedArray;function b(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function _(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function w(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var S,C,O,x=Array.prototype,T=Function.prototype,k=Object.prototype,D=f["__core-js_shared__"],E=T.toString,I=k.hasOwnProperty,P=(S=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||""))?"Symbol(src)_1."+S:"",M=k.toString,R=RegExp("^"+E.call(I).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),N=v?f.Buffer:void 0,j=f.Symbol,A=f.Uint8Array,L=k.propertyIsEnumerable,z=x.splice,F=j?j.toStringTag:void 0,H=Object.getOwnPropertySymbols,W=N?N.isBuffer:void 0,G=(C=Object.keys,O=Object,function(e){return C(O(e))}),U=he(f,"DataView"),B=he(f,"Map"),V=he(f,"Promise"),K=he(f,"Set"),q=he(f,"WeakMap"),Y=he(Object,"create"),X=ye(U),Z=ye(B),$=ye(V),J=ye(K),Q=ye(q),ee=j?j.prototype:void 0,te=ee?ee.valueOf:void 0;function ne(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])}}function re(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])}}function oe(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])}}function ie(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new oe;++t<n;)this.add(e[t])}function ae(e){var t=this.__data__=new re(e);this.size=t.size}function se(e,t){for(var n=e.length;n--;)if(be(e[n][0],t))return n;return-1}function le(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":F&&F in Object(e)?function(e){var t=I.call(e,F),n=e[F];try{e[F]=void 0;var r=!0}catch(e){}var o=M.call(e);return r&&(t?e[F]=n:delete e[F]),o}(e):function(e){return M.call(e)}(e)}function ce(e){return Te(e)&&le(e)==r}function ue(e,t,n,s,l){return e===t||(null==e||null==t||!Te(e)&&!Te(t)?e!=e&&t!=t:function(e,t,n,s,l,c){var u=we(e),d=we(t),f=u?"[object Array]":ge(e),p=d?"[object Array]":ge(t),h=(f=f==r?i:f)==i,v=(p=p==r?i:p)==i,g=f==p;if(g&&Se(e)){if(!Se(t))return!1;u=!0,h=!1}if(g&&!h)return c||(c=new ae),u||ke(e)?de(e,t,n,s,l,c):function(e,t,n,r,i,s,l){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||!s(new A(e),new A(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return be(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case o:var c=_;case a:var u=1&r;if(c||(c=w),e.size!=t.size&&!u)return!1;var d=l.get(e);if(d)return d==t;r|=2,l.set(e,t);var f=de(c(e),c(t),r,i,s,l);return l.delete(e),f;case"[object Symbol]":if(te)return te.call(e)==te.call(t)}return!1}(e,t,f,n,s,l,c);if(!(1&n)){var m=h&&I.call(e,"__wrapped__"),y=v&&I.call(t,"__wrapped__");if(m||y){var b=m?e.value():e,S=y?t.value():t;return c||(c=new ae),l(b,S,n,s,c)}}return!!g&&(c||(c=new ae),function(e,t,n,r,o,i){var a=1&n,s=fe(e),l=s.length;if(l!=fe(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:I.call(t,u)))return!1}var d=i.get(e);if(d&&i.get(t))return d==t;var f=!0;i.set(e,t),i.set(t,e);for(var p=a;++c<l;){var h=e[u=s[c]],v=t[u];if(r)var g=a?r(v,h,u,t,e,i):r(h,v,u,e,t,i);if(!(void 0===g?h===v||o(h,v,n,r,i):g)){f=!1;break}p||(p="constructor"==u)}if(f&&!p){var m=e.constructor,y=t.constructor;m==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof y&&y instanceof y||(f=!1)}return i.delete(e),i.delete(t),f}(e,t,n,s,l,c))}(e,t,n,s,ue,l))}function de(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,f=2&n?new ie:void 0;for(i.set(e,t),i.set(t,e);++u<s;){var p=e[u],h=t[u];if(r)var v=a?r(h,p,u,t,e,i):r(p,h,u,e,t,i);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!b(t,(function(e,t){if(a=t,!f.has(a)&&(p===e||o(p,e,n,r,i)))return f.push(t);var a}))){d=!1;break}}else if(p!==h&&!o(p,h,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function fe(e){return function(e,t,n){var r=t(e);return we(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,De,ve)}function pe(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function he(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!xe(e)||function(e){return!!P&&P in e}(e))&&(Ce(e)?R:s).test(ye(e))}(n)?n:void 0}ne.prototype.clear=function(){this.__data__=Y?Y(null):{},this.size=0},ne.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ne.prototype.get=function(e){var t=this.__data__;if(Y){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return I.call(t,e)?t[e]:void 0},ne.prototype.has=function(e){var t=this.__data__;return Y?void 0!==t[e]:I.call(t,e)},ne.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Y&&void 0===t?"__lodash_hash_undefined__":t,this},re.prototype.clear=function(){this.__data__=[],this.size=0},re.prototype.delete=function(e){var t=this.__data__,n=se(t,e);return!(n<0||(n==t.length-1?t.pop():z.call(t,n,1),--this.size,0))},re.prototype.get=function(e){var t=this.__data__,n=se(t,e);return n<0?void 0:t[n][1]},re.prototype.has=function(e){return se(this.__data__,e)>-1},re.prototype.set=function(e,t){var n=this.__data__,r=se(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},oe.prototype.clear=function(){this.size=0,this.__data__={hash:new ne,map:new(B||re),string:new ne}},oe.prototype.delete=function(e){var t=pe(this,e).delete(e);return this.size-=t?1:0,t},oe.prototype.get=function(e){return pe(this,e).get(e)},oe.prototype.has=function(e){return pe(this,e).has(e)},oe.prototype.set=function(e,t){var n=pe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ie.prototype.add=ie.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ie.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.clear=function(){this.__data__=new re,this.size=0},ae.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ae.prototype.get=function(e){return this.__data__.get(e)},ae.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.set=function(e,t){var n=this.__data__;if(n instanceof re){var r=n.__data__;if(!B||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new oe(r)}return n.set(e,t),this.size=n.size,this};var ve=H?function(e){return null==e?[]:(e=Object(e),function(t,n){for(var r=-1,o=null==t?0:t.length,i=0,a=[];++r<o;){var s=t[r];l=s,L.call(e,l)&&(a[i++]=s)}var l;return a}(H(e)))}:function(){return[]},ge=le;function me(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||l.test(e))&&e>-1&&e%1==0&&e<t}function ye(e){if(null!=e){try{return E.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function be(e,t){return e===t||e!=e&&t!=t}(U&&"[object DataView]"!=ge(new U(new ArrayBuffer(1)))||B&&ge(new B)!=o||V&&"[object Promise]"!=ge(V.resolve())||K&&ge(new K)!=a||q&&"[object WeakMap]"!=ge(new q))&&(ge=function(e){var t=le(e),n=t==i?e.constructor:void 0,r=n?ye(n):"";if(r)switch(r){case X:return"[object DataView]";case Z:return o;case $:return"[object Promise]";case J:return a;case Q:return"[object WeakMap]"}return t});var _e=ce(function(){return arguments}())?ce:function(e){return Te(e)&&I.call(e,"callee")&&!L.call(e,"callee")},we=Array.isArray,Se=W||function(){return!1};function Ce(e){if(!xe(e))return!1;var t=le(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Oe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function xe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Te(e){return null!=e&&"object"==typeof e}var ke=y?function(e){return function(t){return e(t)}}(y):function(e){return Te(e)&&Oe(e.length)&&!!c[le(e)]};function De(e){return null!=(t=e)&&Oe(t.length)&&!Ce(t)?function(e,t){var n=we(e),r=!n&&_e(e),o=!n&&!r&&Se(e),i=!n&&!r&&!o&&ke(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&&!I.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||me(c,l))||s.push(c);return s}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||k))return G(e);var t,n,r=[];for(var o in Object(e))I.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e);var t}n.exports=function(e,t){return ue(e,t)}}).call(this,n(26),n(64)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultVerticalStrength=t.defaultHorizontalStrength=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},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}}();t.createHorizontalStrength=v,t.createVerticalStrength=g,t.default=function(e){var t=function(t){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t));return r.handleEvent=function(e){r.dragging&&!r.attached&&(r.attach(),r.updateScrolling(e))},r.updateScrolling=(0,c.default)((function(e){var t=r.container.getBoundingClientRect(),n={x:t.left,y:t.top,w:t.width,h:t.height},o=(0,p.getCoords)(e);r.scaleX=r.props.horizontalStrength(n,o),r.scaleY=r.props.verticalStrength(n,o),r.frame||!r.scaleX&&!r.scaleY||r.startScrolling()}),100,{trailing:!1}),r.scaleX=0,r.scaleY=0,r.frame=null,r.attached=!1,r.dragging=!1,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"componentDidMount",value:function(){var e=this;this.container=(0,l.findDOMNode)(this.wrappedInstance),this.container.addEventListener("dragover",this.handleEvent),window.document.body.addEventListener("touchmove",this.handleEvent),this.clearMonitorSubscription=this.context.dragDropManager.getMonitor().subscribeToStateChange((function(){return e.handleMonitorChange()}))}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("dragover",this.handleEvent),window.document.body.removeEventListener("touchmove",this.handleEvent),this.clearMonitorSubscription(),this.stopScrolling()}},{key:"handleMonitorChange",value:function(){var e=this.context.dragDropManager.getMonitor().isDragging();!this.dragging&&e?this.dragging=!0:this.dragging&&!e&&(this.dragging=!1,this.stopScrolling())}},{key:"attach",value:function(){this.attached=!0,window.document.body.addEventListener("dragover",this.updateScrolling),window.document.body.addEventListener("touchmove",this.updateScrolling)}},{key:"detach",value:function(){this.attached=!1,window.document.body.removeEventListener("dragover",this.updateScrolling),window.document.body.removeEventListener("touchmove",this.updateScrolling)}},{key:"startScrolling",value:function(){var e=this,t=0;!function n(){var r=e.scaleX,o=e.scaleY,i=e.container,a=e.props,s=a.strengthMultiplier,l=a.onScrollChange;if(0!==s&&r+o!==0){if(t++%2){var c=i.scrollLeft,d=i.scrollTop,f=i.scrollWidth,h=i.scrollHeight,v=i.clientWidth,g=i.clientHeight;l(r?i.scrollLeft=(0,p.intBetween)(0,f-v,c+r*s):c,o?i.scrollTop=(0,p.intBetween)(0,h-g,d+o*s):d)}e.frame=(0,u.default)(n)}else e.stopScrolling()}()}},{key:"stopScrolling",value:function(){this.detach(),this.scaleX=0,this.scaleY=0,this.frame&&(u.default.cancel(this.frame),this.frame=null)}},{key:"render",value:function(){var t=this,n=this.props,o=(n.strengthMultiplier,n.verticalStrength,n.horizontalStrength,n.onScrollChange,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["strengthMultiplier","verticalStrength","horizontalStrength","onScrollChange"]));return a.default.createElement(e,r({ref:function(e){t.wrappedInstance=e}},o))}}]),n}(i.Component);return t.displayName="Scrolling("+(0,d.default)(e)+")",t.propTypes={onScrollChange:s.default.func,verticalStrength:s.default.func,horizontalStrength:s.default.func,strengthMultiplier:s.default.number},t.defaultProps={onScrollChange:p.noop,verticalStrength:y,horizontalStrength:m,strengthMultiplier:30},t.contextTypes={dragDropManager:s.default.object},(0,f.default)(t,e)};var i=n(0),a=h(i),s=h(n(1)),l=n(11),c=h(n(272)),u=h(n(273)),d=h(n(276)),f=h(n(277)),p=n(278);function h(e){return e&&e.__esModule?e:{default:e}}function v(e){return function(t,n){var r=t.x,o=t.w,i=t.y,a=t.h,s=Math.min(o/2,e);if(n.x>=r&&n.x<=r+o&&n.y>=i&&n.y<=i+a){if(n.x<r+s)return(n.x-r-s)/s;if(n.x>r+o-s)return-(r+o-n.x-s)/s}return 0}}function g(e){return function(t,n){var r=t.y,o=t.h,i=t.x,a=t.w,s=Math.min(o/2,e);if(n.y>=r&&n.y<=r+o&&n.x>=i&&n.x<=i+a){if(n.y<r+s)return(n.y-r-s)/s;if(n.y>r+o-s)return-(r+o-n.y-s)/s}return 0}}var m=t.defaultHorizontalStrength=v(150),y=t.defaultVerticalStrength=g(150)},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,i=/^0o[0-7]+$/i,a=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,l="object"==typeof self&&self&&self.Object===Object&&self,c=s||l||Function("return this")(),u=Object.prototype.toString,d=Math.max,f=Math.min,p=function(){return c.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=o.test(e);return s||i.test(e)?a(e.slice(2),s?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return h(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),function(e,t,n){var r,o,i,a,s,l,c=0,u=!1,g=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function b(e){return c=e,s=setTimeout(w,t),u?y(e):a}function _(e){var n=e-l;return void 0===l||n>=t||n<0||g&&e-c>=i}function w(){var e=p();if(_(e))return S(e);s=setTimeout(w,function(e){var n=t-(e-l);return g?f(n,i-(e-c)):n}(e))}function S(e){return s=void 0,m&&r?y(e):(r=o=void 0,a)}function C(){var e=p(),n=_(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return b(l);if(g)return s=setTimeout(w,t),y(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=v(t)||0,h(n)&&(u=!!n.leading,i=(g="maxWait"in n)?d(v(n.maxWait)||0,t):i,m="trailing"in n?!!n.trailing:m),C.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},C.flush=function(){return void 0===s?a:S(p())},C}(e,t,{leading:r,maxWait:t,trailing:o})}}).call(this,n(26))},function(e,t,n){(function(t){for(var r=n(274),o="undefined"==typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",s=o["request"+a],l=o["cancel"+a]||o["cancelRequest"+a],c=0;!s&&c<i.length;c++)s=o[i[c]+"Request"+a],l=o[i[c]+"Cancel"+a]||o[i[c]+"CancelRequest"+a];if(!s||!l){var u=0,d=0,f=[];s=function(e){if(0===f.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=f.slice(0);f.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return f.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return s.call(o,e)},e.exports.cancel=function(){l.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=s,e.cancelAnimationFrame=l}}).call(this,n(26))},function(e,t,n){(function(t){(function(){var n,r,o,i,a,s;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},r=t.hrtime,i=(n=function(){var e;return 1e9*(e=r())[0]+e[1]})(),s=1e9*t.uptime(),a=i-s):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(this,n(275))},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 f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var e=s(f);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 h(e,t){this.fun=e,this.array=t}function v(){}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 h(e,t)),1!==c.length||u||s(p)},h.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=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,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";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},i="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,n){if("string"!=typeof t){var a=Object.getOwnPropertyNames(t);i&&(a=a.concat(Object.getOwnPropertySymbols(t)));for(var s=0;s<a.length;++s)if(!(r[a[s]]||o[a[s]]||n&&n[a[s]]))try{e[a[s]]=t[a[s]]}catch(e){}}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=function(){},t.intBetween=function(e,t,n){return Math.floor(Math.min(t,Math.max(e,n)))},t.getCoords=function(e){return"touchmove"===e.type?{x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY}:{x:e.clientX,y:e.clientY}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(232);Object.defineProperty(t,"DragDropContext",{enumerable:!0,get:function(){return l(r).default}});var o=n(280);Object.defineProperty(t,"DragDropContextProvider",{enumerable:!0,get:function(){return l(o).default}});var i=n(281);Object.defineProperty(t,"DragLayer",{enumerable:!0,get:function(){return l(i).default}});var a=n(282);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return l(a).default}});var s=n(288);function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return l(s).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o,i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),l=(i=n(1))&&i.__esModule?i:{default:i},c=n(232),u=(o=r=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.backend=(0,c.unpackBackendForEs5Users)(e.backend),r.childContext=(0,c.createChildContext)(r.backend,{window:e&&e.window?e.window:n&&n.window?n.window:"undefined"!=typeof window?window:void 0}),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentWillReceiveProps",value:function(e){if(e.backend!==this.props.backend||e.window!==this.props.window)throw new Error("DragDropContextProvider backend and window props must not change.")}},{key:"getChildContext",value:function(){return this.childContext}},{key:"render",value:function(){return s.Children.only(this.props.children)}}]),t}(s.Component),r.propTypes={backend:l.default.oneOfType([l.default.func,l.default.object]).isRequired,children:l.default.element.isRequired,window:l.default.object},r.defaultProps={window:void 0},r.childContextTypes=c.CHILD_CONTEXT_TYPES,r.displayName="DragDropContextProvider",r.contextTypes={window:l.default.object},o);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return h.default.apply(void 0,["DragLayer","collect[, options]"].concat(Array.prototype.slice.call(arguments))),(0,d.default)("function"==typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",e),(0,d.default)((0,u.default)(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',t),function(n){var u,h,v=t.arePropsEqual,b=void 0===v?p.default:v,_=n.displayName||n.name||"Component",w=(h=u=function(t){function a(e,t){g(this,a);var n=m(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return n.handleChange=n.handleChange.bind(n),n.manager=t.dragDropManager,(0,d.default)("object"===o(n.manager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",_,_),n.state=n.getCurrentState(),n}return y(a,t),i(a,[{key:"getDecoratedComponentInstance",value:function(){return(0,d.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"shouldComponentUpdate",value:function(e,t){return!b(e,this.props)||!(0,f.default)(t,this.state)}}]),i(a,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0;var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange),this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange(),this.unsubscribeFromStateChange()}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,f.default)(e,this.state)||this.setState(e)}}},{key:"getCurrentState",value:function(){var t=this.manager.getMonitor();return e(t)}},{key:"render",value:function(){var e=this;return s.default.createElement(n,r({},this.props,this.state,{ref:function(t){e.child=t}}))}}]),a}(a.Component),u.DecoratedComponent=n,u.displayName="DragLayer("+_+")",u.contextTypes={dragDropManager:l.default.object.isRequired},h);return(0,c.default)(w,n)}};var a=n(0),s=v(a),l=v(n(1)),c=v(n(30)),u=v(n(15)),d=v(n(12)),f=v(n(215)),p=v(n(233)),h=v(n(102));function v(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(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 y(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)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.default.apply(void 0,["DragSource","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var p=e;"function"!=typeof e&&((0,r.default)((0,d.default)(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e),p=function(){return e}),(0,r.default)((0,o.default)(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t);var h=(0,l.default)(t);return(0,r.default)("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),(0,r.default)((0,o.default)(f),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),function(e){return(0,a.default)({connectBackend:function(e,t){return e.connectDragSource(t)},containerDisplayName:"DragSource",createHandler:h,registerHandler:s.default,createMonitor:c.default,createConnector:u.default,DecoratedComponent:e,getType:p,collect:n,options:f})}};var r=f(n(12)),o=f(n(15)),i=f(n(102)),a=f(n(234)),s=f(n(283)),l=f(n(284)),c=f(n(285)),u=f(n(286)),d=f(n(237));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addSource(e,t);return{handlerId:o,unregister:function(){r.removeSource(o)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){Object.keys(e).forEach((function(t){(0,o.default)(a.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',a.join(", "),t),(0,o.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])})),s.forEach((function(t){(0,o.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])}));var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.monitor=e,this.props=null,this.component=null}return r(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrag",value:function(){return!e.canDrag||e.canDrag(this.props,this.monitor)}},{key:"isDragging",value:function(t,n){return e.isDragging?e.isDragging(this.props,this.monitor):n===t.getSourceId()}},{key:"beginDrag",value:function(){return e.beginDrag(this.props,this.monitor,this.component)}},{key:"endDrag",value:function(){e.endDrag&&e.endDrag(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}};var o=i(n(12));function i(e){return e&&e.__esModule?e:{default:e}}i(n(15));var a=["canDrag","beginDrag","isDragging","endDrag"],s=["beginDrag"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new l(e)};var o,i=(o=n(12))&&o.__esModule?o:{default:o},a=!1,s=!1,l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalMonitor=t.getMonitor()}return r(e,[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"canDrag",value:function(){(0,i.default)(!a,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return a=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{a=!1}}},{key:"isDragging",value:function(){(0,i.default)(!s,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return s=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{s=!1}}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0,n=void 0,i=void 0,a=void 0,s=void 0,l=void 0,c=void 0;function u(){a&&(a(),a=null),t&&n&&(a=e.connectDragSource(t,n,i))}function d(){c&&(c(),c=null),t&&s&&(c=e.connectDragPreview(t,s,l))}return{receiveHandlerId:function(e){e!==t&&(t=e,u(),d())},hooks:(0,r.default)({dragSource:function(e,t){e===n&&(0,o.default)(t,i)||(n=e,i=t,u())},dragPreview:function(e,t){e===s&&(0,o.default)(t,l)||(s=e,l=t,d())}})}};var r=i(n(235)),o=i(n(236));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.ref;return(0,o.default)("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?(0,i.cloneElement)(e,{ref:function(e){t(e),n&&n(e)}}):(0,i.cloneElement)(e,{ref:t})};var r,o=(r=n(12))&&r.__esModule?r:{default:r},i=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.default.apply(void 0,["DropTarget","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var p=e;"function"!=typeof e&&((0,r.default)((0,d.default)(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e),p=function(){return e}),(0,r.default)((0,o.default)(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t);var h=(0,l.default)(t);return(0,r.default)("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),(0,r.default)((0,o.default)(f),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),function(e){return(0,a.default)({connectBackend:function(e,t){return e.connectDropTarget(t)},containerDisplayName:"DropTarget",createHandler:h,registerHandler:s.default,createMonitor:c.default,createConnector:u.default,DecoratedComponent:e,getType:p,collect:n,options:f})}};var r=f(n(12)),o=f(n(15)),i=f(n(102)),a=f(n(234)),s=f(n(289)),l=f(n(290)),c=f(n(291)),u=f(n(292)),d=f(n(237));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addTarget(e,t);return{handlerId:o,unregister:function(){r.removeTarget(o)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){Object.keys(e).forEach((function(t){(0,o.default)(a.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',a.join(", "),t),(0,o.default)("function"==typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",t,t,e[t])}));var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.monitor=e,this.props=null,this.component=null}return r(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveMonitor",value:function(e){this.monitor=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrop",value:function(){return!e.canDrop||e.canDrop(this.props,this.monitor)}},{key:"hover",value:function(){e.hover&&e.hover(this.props,this.monitor,this.component)}},{key:"drop",value:function(){if(e.drop)return e.drop(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}};var o=i(n(12));function i(e){return e&&e.__esModule?e:{default:e}}i(n(15));var a=["canDrop","hover","drop"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new s(e)};var o,i=(o=n(12))&&o.__esModule?o:{default:o},a=!1,s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalMonitor=t.getMonitor()}return r(e,[{key:"receiveHandlerId",value:function(e){this.targetId=e}},{key:"canDrop",value:function(){(0,i.default)(!a,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html");try{return a=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{a=!1}}},{key:"isOver",value:function(e){return this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0,n=void 0,i=void 0,a=void 0;function s(){a&&(a(),a=null),t&&n&&(a=e.connectDropTarget(t,n,i))}return{receiveHandlerId:function(e){e!==t&&(t=e,s())},hooks:(0,r.default)({dropTarget:function(e,t){e===n&&(0,o.default)(t,i)||(n=e,i=t,s())}})}};var r=i(n(235)),o=i(n(236));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEmptyImage=t.NativeTypes=void 0,t.default=function(e){return new r.default(e)};var r=a(n(294)),o=a(n(300)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(216));function a(e){return e&&e.__esModule?e:{default:e}}t.NativeTypes=i,t.getEmptyImage=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=d(n(99)),i=d(n(295)),a=d(n(296)),s=n(238),l=n(297),c=n(299),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(216));function d(e){return e&&e.__esModule?e:{default:e}}var f=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.context=t.getContext(),this.sourcePreviewNodes={},this.sourcePreviewNodeOptions={},this.sourceNodes={},this.sourceNodeOptions={},this.enterLeaveCounter=new a.default,this.dragStartSourceIds=[],this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.altKeyPressed=!1,this.getSourceClientOffset=this.getSourceClientOffset.bind(this),this.handleTopDragStart=this.handleTopDragStart.bind(this),this.handleTopDragStartCapture=this.handleTopDragStartCapture.bind(this),this.handleTopDragEndCapture=this.handleTopDragEndCapture.bind(this),this.handleTopDragEnter=this.handleTopDragEnter.bind(this),this.handleTopDragEnterCapture=this.handleTopDragEnterCapture.bind(this),this.handleTopDragLeaveCapture=this.handleTopDragLeaveCapture.bind(this),this.handleTopDragOver=this.handleTopDragOver.bind(this),this.handleTopDragOverCapture=this.handleTopDragOverCapture.bind(this),this.handleTopDrop=this.handleTopDrop.bind(this),this.handleTopDropCapture=this.handleTopDropCapture.bind(this),this.handleSelectStart=this.handleSelectStart.bind(this),this.endDragIfSourceWasRemovedFromDOM=this.endDragIfSourceWasRemovedFromDOM.bind(this),this.endDragNativeItem=this.endDragNativeItem.bind(this),this.asyncEndDragNativeItem=this.asyncEndDragNativeItem.bind(this),this.isNodeInDocument=this.isNodeInDocument.bind(this)}return r(e,[{key:"setup",value:function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}}},{key:"teardown",value:function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&this.window.cancelAnimationFrame(this.asyncEndDragFrameId))}},{key:"addEventListeners",value:function(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"connectDragPreview",value:function(e,t,n){var r=this;return this.sourcePreviewNodeOptions[e]=n,this.sourcePreviewNodes[e]=t,function(){delete r.sourcePreviewNodes[e],delete r.sourcePreviewNodeOptions[e]}}},{key:"connectDragSource",value:function(e,t,n){var r=this;this.sourceNodes[e]=t,this.sourceNodeOptions[e]=n;var o=function(t){return r.handleDragStart(t,e)},i=function(t){return r.handleSelectStart(t,e)};return t.setAttribute("draggable",!0),t.addEventListener("dragstart",o),t.addEventListener("selectstart",i),function(){delete r.sourceNodes[e],delete r.sourceNodeOptions[e],t.removeEventListener("dragstart",o),t.removeEventListener("selectstart",i),t.setAttribute("draggable",!1)}}},{key:"connectDropTarget",value:function(e,t){var n=this,r=function(t){return n.handleDragEnter(t,e)},o=function(t){return n.handleDragOver(t,e)},i=function(t){return n.handleDrop(t,e)};return t.addEventListener("dragenter",r),t.addEventListener("dragover",o),t.addEventListener("drop",i),function(){t.removeEventListener("dragenter",r),t.removeEventListener("dragover",o),t.removeEventListener("drop",i)}}},{key:"getCurrentSourceNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions[e];return(0,o.default)(t||{},{dropEffect:this.altKeyPressed?"copy":"move"})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions[e];return(0,o.default)(t||{},{anchorX:.5,anchorY:.5,captureDraggingState:!1})}},{key:"getSourceClientOffset",value:function(e){return(0,l.getNodeClientOffset)(this.sourceNodes[e])}},{key:"isDraggingNativeItem",value:function(){var e=this.monitor.getItemType();return Object.keys(u).some((function(t){return u[t]===e}))}},{key:"beginDragNativeItem",value:function(e){this.clearCurrentDragSourceNode();var t=(0,c.createNativeDragSource)(e);this.currentNativeSource=new t,this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle]),(0,s.isFirefox)()&&this.window.addEventListener("mouseover",this.asyncEndDragNativeItem,!0)}},{key:"asyncEndDragNativeItem",value:function(){this.asyncEndDragFrameId=this.window.requestAnimationFrame(this.endDragNativeItem),(0,s.isFirefox)()&&(this.window.removeEventListener("mouseover",this.asyncEndDragNativeItem,!0),this.enterLeaveCounter.reset())}},{key:"endDragNativeItem",value:function(){this.isDraggingNativeItem()&&(this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)}},{key:"isNodeInDocument",value:function(e){return!(!document.body.contains(e)&&!this.window)&&this.window.document.body.contains(e)}},{key:"endDragIfSourceWasRemovedFromDOM",value:function(){var e=this.currentDragSourceNode;this.isNodeInDocument(e)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"setCurrentDragSourceNode",value:function(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.currentDragSourceNodeOffset=(0,l.getNodeClientOffset)(e),this.currentDragSourceNodeOffsetChanged=!1,this.window.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}},{key:"clearCurrentDragSourceNode",value:function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0),!0)}},{key:"checkIfCurrentDragSourceRectChanged",value:function(){var e=this.currentDragSourceNode;return!!e&&(!!this.currentDragSourceNodeOffsetChanged||(this.currentDragSourceNodeOffsetChanged=!(0,i.default)((0,l.getNodeClientOffset)(e),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged))}},{key:"handleTopDragStartCapture",value:function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]}},{key:"handleDragStart",value:function(e,t){this.dragStartSourceIds.unshift(t)}},{key:"handleTopDragStart",value:function(e){var t=this,n=this.dragStartSourceIds;this.dragStartSourceIds=null;var r=(0,l.getEventClientOffset)(e);this.monitor.isDragging()&&this.actions.endDrag(),this.actions.beginDrag(n,{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});var o=e.dataTransfer,i=(0,c.matchNativeItemType)(o);if(this.monitor.isDragging()){if("function"==typeof o.setDragImage){var a=this.monitor.getSourceId(),s=this.sourceNodes[a],u=this.sourcePreviewNodes[a]||s,d=this.getCurrentSourcePreviewNodeOptions(),f={anchorX:d.anchorX,anchorY:d.anchorY},p={offsetX:d.offsetX,offsetY:d.offsetY},h=(0,l.getDragPreviewOffset)(s,u,r,f,p);o.setDragImage(u,h.x,h.y)}try{o.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target),this.getCurrentSourcePreviewNodeOptions().captureDraggingState?this.actions.publishDragSource():setTimeout((function(){return t.actions.publishDragSource()}))}else if(i)this.beginDragNativeItem(i);else{if(!(o.types||e.target.hasAttribute&&e.target.hasAttribute("draggable")))return;e.preventDefault()}}},{key:"handleTopDragEndCapture",value:function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"handleTopDragEnterCapture",value:function(e){if(this.dragEnterTargetIds=[],this.enterLeaveCounter.enter(e.target)&&!this.monitor.isDragging()){var t=e.dataTransfer,n=(0,c.matchNativeItemType)(t);n&&this.beginDragNativeItem(n)}}},{key:"handleDragEnter",value:function(e,t){this.dragEnterTargetIds.unshift(t)}},{key:"handleTopDragEnter",value:function(e){var t=this,n=this.dragEnterTargetIds;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,(0,s.isFirefox)()||this.actions.hover(n,{clientOffset:(0,l.getEventClientOffset)(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))&&(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()))}},{key:"handleTopDragOverCapture",value:function(){this.dragOverTargetIds=[]}},{key:"handleDragOver",value:function(e,t){this.dragOverTargetIds.unshift(t)}},{key:"handleTopDragOver",value:function(e){var t=this,n=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer.dropEffect="none");this.altKeyPressed=e.altKey,this.actions.hover(n,{clientOffset:(0,l.getEventClientOffset)(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))?(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(e.preventDefault(),e.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(e.preventDefault(),e.dataTransfer.dropEffect="move")}},{key:"handleTopDragLeaveCapture",value:function(e){this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&this.isDraggingNativeItem()&&this.endDragNativeItem()}},{key:"handleTopDropCapture",value:function(e){this.dropTargetIds=[],e.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(e.dataTransfer),this.enterLeaveCounter.reset()}},{key:"handleDrop",value:function(e,t){this.dropTargetIds.unshift(t)}},{key:"handleTopDrop",value:function(e){var t=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:(0,l.getEventClientOffset)(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()}},{key:"handleSelectStart",value:function(e){var t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))}},{key:"window",get:function(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}}]),e}();t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;if(e[n[i]]!==t[n[i]])return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=a(n(100)),i=a(n(63));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.entered=[]}return r(e,[{key:"enter",value:function(e){var t=this.entered.length;return this.entered=(0,o.default)(this.entered.filter((function(t){return document.documentElement.contains(t)&&(!t.contains||t.contains(e))})),[e]),0===t&&this.entered.length>0}},{key:"leave",value:function(e){var t=this.entered.length;return this.entered=(0,i.default)(this.entered.filter((function(e){return document.documentElement.contains(e)})),e),t>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeClientOffset=a,t.getEventClientOffset=function(e){return{x:e.clientX,y:e.clientY}},t.getDragPreviewOffset=function(e,t,n,r,s){var l,c,u="IMG"===(l=t).nodeName&&((0,o.isFirefox)()||!document.documentElement.contains(l)),d=a(u?e:t),f={x:n.x-d.x,y:n.y-d.y},p=e.offsetWidth,h=e.offsetHeight,v=r.anchorX,g=r.anchorY,m=function(e,t,n,r){var i=e?t.width:n,a=e?t.height:r;return(0,o.isSafari)()&&e&&(a/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:a}}(u,t,p,h),y=m.dragPreviewWidth,b=m.dragPreviewHeight,_=s.offsetX,w=s.offsetY,S=0===w||w;return{x:0===_||_?_:new i.default([0,.5,1],[f.x,f.x/p*y,f.x+y-p]).interpolate(v),y:S?w:(c=new i.default([0,.5,1],[f.y,f.y/h*b,f.y+b-h]).interpolate(g),(0,o.isSafari)()&&u&&(c+=(window.devicePixelRatio-1)*b),c)}};var r,o=n(238),i=(r=n(298))&&r.__esModule?r:{default:r};function a(e){var t=1===e.nodeType?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top;return{x:n.left,y:r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=t.length,o=[],i=0;i<r;i++)o.push(i);o.sort((function(e,n){return t[e]<t[n]?-1:1}));for(var a=[],s=[],l=[],c=void 0,u=void 0,d=0;d<r-1;d++)c=t[d+1]-t[d],u=n[d+1]-n[d],s.push(c),a.push(u),l.push(u/c);for(var f=[l[0]],p=0;p<s.length-1;p++){var h=l[p],v=l[p+1];if(h*v<=0)f.push(0);else{c=s[p];var g=s[p+1],m=c+g;f.push(3*m/((m+g)/h+(m+c)/v))}}f.push(l[l.length-1]);for(var y=[],b=[],_=void 0,w=0;w<f.length-1;w++){_=l[w];var S=f[w],C=1/s[w],O=S+f[w+1]-_-_;y.push((_-S-O)*C),b.push(O*C*C)}this.xs=t,this.ys=n,this.c1s=f,this.c2s=y,this.c3s=b}return r(e,[{key:"interpolate",value:function(e){var t=this.xs,n=this.ys,r=this.c1s,o=this.c2s,i=this.c3s,a=t.length-1;if(e===t[a])return n[a];for(var s=0,l=i.length-1,c=void 0;s<=l;){var u=t[c=Math.floor(.5*(s+l))];if(u<e)s=c+1;else{if(!(u>e))return n[c];l=c-1}}var d=e-t[a=Math.max(0,l)],f=d*d;return n[a]+r[a]*d+o[a]*f+i[a]*d*f}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!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}}();t.createNativeDragSource=function(e){var t=l[e],n=t.exposeProperty,r=t.matchesTypes,i=t.getData;return function(){function e(){var t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.item=(t={},(r={})[n]=r[n]||{},r[n].get=function(){return console.warn("Browser doesn't allow reading \""+n+'" until the drop event.'),null},function(e,t){for(var n in t){var r=t[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n,r)}}(t,r),t)}return o(e,[{key:"mutateItemByReadingDataTransfer",value:function(e){delete this.item[n],this.item[n]=i(e,r)}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}()},t.matchNativeItemType=function(e){var t=Array.prototype.slice.call(e.types||[]);return Object.keys(l).filter((function(e){return l[e].matchesTypes.some((function(e){return t.indexOf(e)>-1}))}))[0]||null};var i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(216));function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t,n){var r=t.reduce((function(t,n){return t||e.getData(n)}),null);return null!=r?r:n}var l=(a(r={},i.FILE,{exposeProperty:"files",matchesTypes:["Files"],getData:function(e){return Array.prototype.slice.call(e.files)}}),a(r,i.URL,{exposeProperty:"urls",matchesTypes:["Url","text/uri-list"],getData:function(e,t){return s(e,t,"").split("\n")}}),a(r,i.TEXT,{exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(e,t){return s(e,t,"")}}),r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r||((r=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r};var r=void 0},function(e,t,n){e.exports={default:n(302),__esModule:!0}},function(e,t,n){n(303),e.exports=n(43).Object.assign},function(e,t,n){var r=n(65);r(r.S+r.F,"Object",{assign:n(305)})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(44),o=n(104),i=n(223),a=n(107),s=n(224),l=n(243),c=Object.assign;e.exports=!c||n(94)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){for(var n=s(e),c=arguments.length,u=1,d=i.f,f=a.f;c>u;)for(var p,h=l(arguments[u++]),v=d?o(h).concat(d(h)):o(h),g=v.length,m=0;g>m;)p=v[m++],r&&!f.call(h,p)||(n[p]=h[p]);return n}:c},function(e,t,n){var r=n(68),o=n(307),i=n(308);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(219),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(219),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){"use strict";var r=n(245),o={};function i(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}e.exports=function(e,t,n){var a=[],s={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},l={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},c={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)d(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=r({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=r({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=p(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=r({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){if(i(!(n in c),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e)return i("DEFINE_MANY_MERGED"===(l.hasOwnProperty(n)?l[n]:null),"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=p(e[n],r));e[n]=r}}}(e,t)},autobind:function(){}};function u(e,t){var n=s.hasOwnProperty(t)?s[t]:null;y.hasOwnProperty(t)&&i("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&i("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function d(e,n){if(n){i("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),i(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,o=r.__reactAutoBindPairs;for(var a in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(a)&&"mixins"!==a){var l=n[a],d=r.hasOwnProperty(a);if(u(d,a),c.hasOwnProperty(a))c[a](e,l);else{var f=s.hasOwnProperty(a);if("function"!=typeof l||f||d||!1===n.autobind)if(d){var v=s[a];i(f&&("DEFINE_MANY_MERGED"===v||"DEFINE_MANY"===v),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",v,a),"DEFINE_MANY_MERGED"===v?r[a]=p(r[a],l):"DEFINE_MANY"===v&&(r[a]=h(r[a],l))}else r[a]=l;else o.push(a,l),r[a]=l}}}}function f(e,t){for(var n in i(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(i(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function p(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return f(o,n),f(o,r),o}}function h(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function v(e,t){return t.bind(e)}var g={componentDidMount:function(){this.__isMounted=!0}},m={componentWillUnmount:function(){this.__isMounted=!1}},y={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},b=function(){};return r(b.prototype,e.prototype,y),function(e){var t=function(e,r,a){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=v(e,o)}}(this),this.props=e,this.context=r,this.refs=o,this.updater=a||n,this.state=null;var s=this.getInitialState?this.getInitialState():null;i("object"==typeof s&&!Array.isArray(s),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=s};for(var r in t.prototype=new b,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],a.forEach(d.bind(null,t)),d(t,g),d(t,e),d(t,m),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),i(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),s)t.prototype[r]||(t.prototype[r]=null);return t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!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,n(246));function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"getChildContext",value:function(){return{miniStore:this.props.store}}},{key:"render",value:function(){return i.Children.only(this.props.children)}}]),t}(i.Component);c.propTypes={store:a.storeShape.isRequired},c.childContextTypes={miniStore:a.storeShape.isRequired},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},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}}();t.default=function(e){var t=!!e,n=e||f;return function(d){var f=function(i){function l(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e,t));return r.handleChange=function(){if(r.unsubscribe){var e=n(r.store.getState(),r.props);(0,s.default)(r.state.subscribed,e)||r.setState({subscribed:e})}},r.store=t.miniStore,r.state={subscribed:n(r.store.getState(),e),store:r.store,props:e},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,i),o(l,null,[{key:"getDerivedStateFromProps",value:function(t,r){return e&&2===e.length&&t!==r.props?{subscribed:n(r.store.getState(),t),props:t}:{props:t}}}]),o(l,[{key:"componentDidMount",value:function(){this.trySubscribe()}},{key:"componentWillUnmount",value:function(){this.tryUnsubscribe()}},{key:"trySubscribe",value:function(){t&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())}},{key:"tryUnsubscribe",value:function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)}},{key:"getWrappedInstance",value:function(){return this.wrappedInstance}},{key:"render",value:function(){var e=this,t=r({},this.props,this.state.subscribed,{store:this.store});return d.prototype.render&&(t=r({},t,{ref:function(t){return e.wrappedInstance=t}})),a.default.createElement(d,t)}}]),l}(i.Component);return f.displayName="Connect("+function(e){return e.displayName||e.name||"Component"}(d)+")",f.contextTypes={miniStore:u.storeShape.isRequired},(0,c.polyfill)(f),(0,l.default)(f,d)}};var i=n(0),a=d(i),s=d(n(312)),l=d(n(30)),c=n(23),u=n(246);function d(e){return e&&e.__esModule?e:{default:e}}var f=function(){return{}}},function(e,t){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var c=i[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(o=n?n.call(r,u,d,c):void 0)||void 0===o&&u!==d)return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e){var t=e,n=[];return{setState:function(e){t=r({},t,e);for(var o=0;o<n.length;o++)n[o]()},getState:function(){return t},subscribe:function(e){return n.push(e),function(){var t=n.indexOf(e);n.splice(t,1)}}}}},function(e,t,n){e.exports={default:n(315),__esModule:!0}},function(e,t,n){n(316),n(322),e.exports=n(228).f("iterator")},function(e,t,n){"use strict";var r=n(317)(!0);n(247)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(219),o=n(218);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(226),o=n(103),i=n(227),a={};n(66)(a,n(69)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(60),o=n(93),i=n(104);e.exports=n(44)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(42).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(61),o=n(224),i=n(220)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){n(323);for(var r=n(42),o=n(66),i=n(225),a=n(69)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],d=u&&u.prototype;d&&!d[a]&&o(d,a,c),i[c]=i.Array}},function(e,t,n){"use strict";var r=n(324),o=n(325),i=n(225),a=n(68);e.exports=n(247)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(327),__esModule:!0}},function(e,t,n){n(328),n(333),n(334),n(335),e.exports=n(43).Symbol},function(e,t,n){"use strict";var r=n(42),o=n(61),i=n(44),a=n(65),s=n(248),l=n(329).KEY,c=n(94),u=n(221),d=n(227),f=n(106),p=n(69),h=n(228),v=n(229),g=n(330),m=n(331),y=n(93),b=n(67),_=n(224),w=n(68),S=n(217),C=n(103),O=n(226),x=n(332),T=n(250),k=n(223),D=n(60),E=n(104),I=T.f,P=D.f,M=x.f,R=r.Symbol,N=r.JSON,j=N&&N.stringify,A=p("_hidden"),L=p("toPrimitive"),z={}.propertyIsEnumerable,F=u("symbol-registry"),H=u("symbols"),W=u("op-symbols"),G=Object.prototype,U="function"==typeof R&&!!k.f,B=r.QObject,V=!B||!B.prototype||!B.prototype.findChild,K=i&&c((function(){return 7!=O(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=I(G,t);r&&delete G[t],P(e,t,n),r&&e!==G&&P(G,t,r)}:P,q=function(e){var t=H[e]=O(R.prototype);return t._k=e,t},Y=U&&"symbol"==typeof R.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof R},X=function(e,t,n){return e===G&&X(W,t,n),y(e),t=S(t,!0),y(n),o(H,t)?(n.enumerable?(o(e,A)&&e[A][t]&&(e[A][t]=!1),n=O(n,{enumerable:C(0,!1)})):(o(e,A)||P(e,A,C(1,{})),e[A][t]=!0),K(e,t,n)):P(e,t,n)},Z=function(e,t){y(e);for(var n,r=g(t=w(t)),o=0,i=r.length;i>o;)X(e,n=r[o++],t[n]);return e},$=function(e){var t=z.call(this,e=S(e,!0));return!(this===G&&o(H,e)&&!o(W,e))&&(!(t||!o(this,e)||!o(H,e)||o(this,A)&&this[A][e])||t)},J=function(e,t){if(e=w(e),t=S(t,!0),e!==G||!o(H,t)||o(W,t)){var n=I(e,t);return!n||!o(H,t)||o(e,A)&&e[A][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=M(w(e)),r=[],i=0;n.length>i;)o(H,t=n[i++])||t==A||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===G,r=M(n?W:w(e)),i=[],a=0;r.length>a;)!o(H,t=r[a++])||n&&!o(G,t)||i.push(H[t]);return i};U||(s((R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===G&&t.call(W,n),o(this,A)&&o(this[A],e)&&(this[A][e]=!1),K(this,e,C(1,n))};return i&&V&&K(G,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),T.f=J,D.f=X,n(249).f=x.f=Q,n(107).f=$,k.f=ee,i&&!n(105)&&s(G,"propertyIsEnumerable",$,!0),h.f=function(e){return q(p(e))}),a(a.G+a.W+a.F*!U,{Symbol:R});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=E(p.store),oe=0;re.length>oe;)v(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=R(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?O(e):Z(O(e),t)},defineProperty:X,defineProperties:Z,getOwnPropertyDescriptor:J,getOwnPropertyNames:Q,getOwnPropertySymbols:ee});var ie=c((function(){k.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return k.f(_(e))}}),N&&a(a.S+a.F*(!U||c((function(){var e=R();return"[null]"!=j([e])||"{}"!=j({a:e})||"{}"!=j(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!Y(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,j.apply(N,r)}}),R.prototype[L]||n(66)(R.prototype,L,R.prototype.valueOf),d(R,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(106)("meta"),o=n(67),i=n(61),a=n(60).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(94)((function(){return l(Object.preventExtensions({}))})),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&d.NEED&&l(e)&&!i(e,r)&&u(e),e}}},function(e,t,n){var r=n(104),o=n(223),i=n(107);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(244);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(68),o=n(249).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t){},function(e,t,n){n(229)("asyncIterator")},function(e,t,n){n(229)("observable")},function(e,t,n){e.exports={default:n(337),__esModule:!0}},function(e,t,n){n(338),e.exports=n(43).Object.setPrototypeOf},function(e,t,n){var r=n(65);r(r.S,"Object",{setPrototypeOf:n(339).set})},function(e,t,n){var r=n(67),o=n(93),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(239)(Function.call,n(250).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){e.exports={default:n(341),__esModule:!0}},function(e,t,n){n(342);var r=n(43).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(65);r(r.S,"Object",{create:n(226)})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(344)),i=r(n(245)),a=["altKey","bubbles","cancelable","ctrlKey","currentTarget","eventPhase","metaKey","shiftKey","target","timeStamp","view","type"];function s(e){return null==e}var l=[{reg:/^key/,props:["char","charCode","key","keyCode","which"],fix:function(e,t){s(e.which)&&(e.which=s(t.charCode)?t.keyCode:t.charCode),void 0===e.metaKey&&(e.metaKey=e.ctrlKey)}},{reg:/^touch/,props:["touches","changedTouches","targetTouches"]},{reg:/^hashchange$/,props:["newURL","oldURL"]},{reg:/^gesturechange$/i,props:["rotation","scale"]},{reg:/^(mousewheel|DOMMouseScroll)$/,props:[],fix:function(e,t){var n=void 0,r=void 0,o=void 0,i=t.wheelDelta,a=t.axis,s=t.wheelDeltaY,l=t.wheelDeltaX,c=t.detail;i&&(o=i/120),c&&(o=0-(c%3==0?c/3:c)),void 0!==a&&(a===e.HORIZONTAL_AXIS?(r=0,n=0-o):a===e.VERTICAL_AXIS&&(n=0,r=o)),void 0!==s&&(r=s/120),void 0!==l&&(n=-1*l/120),n||r||(r=o),void 0!==n&&(e.deltaX=n),void 0!==r&&(e.deltaY=r),void 0!==o&&(e.delta=o)}},{reg:/^mouse|contextmenu|click|mspointer|(^DOMMouseScroll$)/i,props:["buttons","clientX","clientY","button","offsetX","relatedTarget","which","fromElement","toElement","offsetY","pageX","pageY","screenX","screenY"],fix:function(e,t){var n=void 0,r=void 0,o=void 0,i=e.target,a=t.button;return i&&s(e.pageX)&&!s(t.clientX)&&(r=(n=i.ownerDocument||document).documentElement,o=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),!e.relatedTarget&&e.fromElement&&(e.relatedTarget=e.fromElement===i?e.toElement:e.fromElement),e}}];function c(){return!0}function u(){return!1}function d(e){var t=e.type,n="function"==typeof e.stopPropagation||"boolean"==typeof e.cancelBubble;o.default.call(this),this.nativeEvent=e;var r=u;"defaultPrevented"in e?r=e.defaultPrevented?c:u:"getPreventDefault"in e?r=e.getPreventDefault()?c:u:"returnValue"in e&&(r=!1===e.returnValue?c:u),this.isDefaultPrevented=r;var i=[],s=void 0,d=void 0,f=a.concat();for(l.forEach((function(e){t.match(e.reg)&&(f=f.concat(e.props),e.fix&&i.push(e.fix))})),s=f.length;s;)this[d=f[--s]]=e[d];for(!this.target&&n&&(this.target=e.srcElement||document),this.target&&3===this.target.nodeType&&(this.target=this.target.parentNode),s=i.length;s;)(0,i[--s])(this,e);this.timeStamp=e.timeStamp||Date.now()}var f=o.default.prototype;(0,i.default)(d.prototype,f,{constructor:d,preventDefault:function(){var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=!1,f.preventDefault.call(this)},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,f.stopPropagation.call(this)}}),t.default=d,e.exports=t.default},function(e,t,n){"use strict";function r(){return!1}function o(){return!0}function i(){this.timeStamp=Date.now(),this.target=void 0,this.currentTarget=void 0}Object.defineProperty(t,"__esModule",{value:!0}),i.prototype={isEventObject:1,constructor:i,isDefaultPrevented:r,isPropagationStopped:r,isImmediatePropagationStopped:r,preventDefault:function(){this.isDefaultPrevented=o},stopPropagation:function(){this.isPropagationStopped=o},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=o,this.stopPropagation()},halt:function(e){e?this.stopImmediatePropagation():this.stopPropagation(),this.preventDefault()}},t.default=i,e.exports=t.default},function(e,t,n){n(346);var r=n(43).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(65);r(r.S+r.F*!n(44),"Object",{defineProperty:n(60).f})},function(e,t,n){"use strict";var r=n(348);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,a=n.alignWithTop,s=n.alignWithLeft,l=n.offsetTop||0,c=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var f=r.isWindow(t),p=r.offset(e),h=r.outerHeight(e),v=r.outerWidth(e),g=void 0,m=void 0,y=void 0,b=void 0,_=void 0,w=void 0,S=void 0,C=void 0,O=void 0,x=void 0;f?(S=t,x=r.height(S),O=r.width(S),C={left:r.scrollLeft(S),top:r.scrollTop(S)},_={left:p.left-C.left-c,top:p.top-C.top-l},w={left:p.left+v-(C.left+O)+d,top:p.top+h-(C.top+x)+u},b=C):(g=r.offset(t),m=t.clientHeight,y=t.clientWidth,b={left:t.scrollLeft,top:t.scrollTop},_={left:p.left-(g.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-c,top:p.top-(g.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-l},w={left:p.left+v-(g.left+y+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:p.top+h-(g.top+m+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),_.top<0||w.top>0?!0===a?r.scrollTop(t,b.top+_.top):!1===a?r.scrollTop(t,b.top+w.top):_.top<0?r.scrollTop(t,b.top+_.top):r.scrollTop(t,b.top+w.top):i||((a=void 0===a||!!a)?r.scrollTop(t,b.top+_.top):r.scrollTop(t,b.top+w.top)),o&&(_.left<0||w.left>0?!0===s?r.scrollLeft(t,b.left+_.left):!1===s?r.scrollLeft(t,b.left+w.left):_.left<0?r.scrollLeft(t,b.left+_.left):r.scrollLeft(t,b.left+w.left):i||((s=void 0===s||!!s)?r.scrollLeft(t,b.left+_.left):r.scrollLeft(t,b.left+w.left)))}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function i(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function a(e){return i(e)}function s(e){return i(e,!0)}function l(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=a(r),t.top+=s(r),t}var c=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,d="left",f=void 0;function p(e,t){for(var n=0;n<e.length;n++)t(e[n])}function h(e){return"border-box"===f(e,"boxSizing")}"undefined"!=typeof window&&(f=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(c.test(n)&&!u.test(t)){var r=e.style,o=r[d],i=e.runtimeStyle[d];e.runtimeStyle[d]=e.currentStyle[d],r[d]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[d]=o,e.runtimeStyle[d]=i}return""===n?"auto":n});var v=["margin","border","padding"];function g(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}function m(e,t,n){var r=0,o=void 0,i=void 0,a=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(a=0;a<n.length;a++){var s;s="border"===o?o+n[a]+"Width":o+n[a],r+=parseFloat(f(e,s))||0}return r}function y(e){return null!=e&&e==e.window}var b={};function _(e,t,n){if(y(e))return"width"===t?b.viewportWidth(e):b.viewportHeight(e);if(9===e.nodeType)return"width"===t?b.docWidth(e):b.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=(f(e),h(e)),a=0;(null==o||o<=0)&&(o=void 0,(null==(a=f(e,t))||Number(a)<0)&&(a=e.style[t]||0),a=parseFloat(a)||0),void 0===n&&(n=i?1:-1);var s=void 0!==o||i,l=o||a;if(-1===n)return s?l-m(e,["border","padding"],r):a;if(s){var c=2===n?-m(e,["border"],r):m(e,["margin"],r);return l+(1===n?0:c)}return a+m(e,v.slice(n),r)}p(["Width","Height"],(function(e){b["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],b["viewport"+e](n))},b["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var w={position:"absolute",visibility:"hidden",display:"block"};function S(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=_.apply(void 0,n):g(e,w,(function(){t=_.apply(void 0,n)})),t}function C(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":o(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):f(e,t);for(var i in t)t.hasOwnProperty(i)&&C(e,i,t[i])}p(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);b["outer"+t]=function(t,n){return t&&S(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];b[e]=function(t,r){return void 0===r?t&&S(t,e,-1):t?(f(t),h(t)&&(r+=m(t,["padding","border"],n)),C(t,e,r)):void 0}})),e.exports=r({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return l(e);!function(e,t){"static"===C(e,"position")&&(e.style.position="relative");var n=l(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(C(e,i))||0,r[i]=o+t[i]-n[i]);C(e,r)}(e,t)},isWindow:y,each:p,css:C,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(y(e)){if(void 0===t)return a(e);window.scrollTo(t,s(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(y(e)){if(void 0===t)return s(e);window.scrollTo(a(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},b)},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(11),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),d=n(7),f=n.n(d),p=n(8),h=n.n(p),v=n(4),g=n.n(v),m=n(2),y=n.n(m),b=n(10),_=n(45),w=n(96),S=n.n(w),C=n(253),O=n.n(C),x=n(16),T=n.n(x),k=n(9);function D(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 E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var __=E({},window.wp.i18n).__,I=E({},window.wp.data),P=(I.dispatch,I.select,function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){return o.a.createElement("div",{className:"FormAction___yp587"},o.a.createElement("div",{className:"SaveVisualButton___5cEkm"},o.a.createElement("button",{className:"button-primary",onClick:k.saveVisualForm},__("Save Visual","contact-form-7-skins"))," ",o.a.createElement("span",{className:"spinner cf7sSpinner ".concat("spinner___0AIlq")})))}}]),i}(r.Component)),M=n(14),R=n.n(M),N={Toolbar:"Toolbar___bIAvc",options:"options___deJZ5"};function j(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 A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var L=A({},window.wp.i18n),z=(L.sprintf,L.__),F=A({},window.wp.data),H=F.dispatch,W=F.select,G=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){A({},W("cf7svisual").getStates()).showTreeData;var e,t,n,r=H("cf7svisual"),i=r.clickVisualObject,a=r.clickFormOptions,s=A(A({},this.props),{},{styles:N});return o.a.createElement("div",{className:N.Toolbar},!(!(n=Object(k.getVisualVar)("options"))||!n.showCopyPaste)&&o.a.createElement("span",{className:N.options,onClick:i,title:z("Visual Data","contact-form-7-skins"),"data-balloon":z("Copy & paste visual form data","contact-form-7-skins"),"data-balloon-pos":"up"},o.a.createElement("span",{className:"dashicons dashicons-media-code"}),z("Visual Data","contact-form-7-skins")),(t=!!(e=Object(k.getVisualVar)("addons"))&&e.get("itemToolbar"),e&&t?t.map((function(e,t){return o.a.createElement(e,R()({key:t},s))})):""),function(){var e=!1;if(window.cf7svisual.addons){var t=window.cf7svisual.addons.get("edit");if(t)for(var n=0;n<t.length;++n)t[n].types&&t[n].types.indexOf("form-options")>-1&&(e=!0)}if(e)return o.a.createElement("span",{className:N.options,onClick:a,title:z("Form Options","contact-form-7-skins"),"data-balloon":z("Configure this forms options","contact-form-7-skins"),"data-balloon-pos":"up"},o.a.createElement("span",{className:"dashicons dashicons-admin-generic"}),z("Form Options","contact-form-7-skins"))}())}}]),i}(r.Component),U={Control:"Control___6zWdj"};function B(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 V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var K=V({},window.wp.i18n),q=(K.sprintf,K.__,V({},window.wp.data)),Y=(q.dispatch,q.select,function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){return V(V({},this.props),{},{styles:U}),o.a.createElement("div",{className:U.Control},o.a.createElement(G,null))}}]),i}(r.Component)),X=n(18),Z=n.n(X),$=n(22);function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Q=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){var e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props),t=e.className,n=e.treeData,r=e.node,i=e.shortText,a=e.onChange,s=Z()(k.cf7sItems).filter((function(e){return"cf7Tag"===e.cf7sSelectGroup})),l=[];Object($.walk)({treeData:n,getNodeKey:function(e){return e.treeIndex},callback:function(e){l.push(e.node.cf7sType)}});var c=s.map((function(e,t){var n=null;return["submit","recaptcha"].indexOf(e.cf7sType)>-1&&l.indexOf(e.cf7sType)>-1&&(n=!0),o.a.createElement("option",{key:t,disabled:n,value:e.cf7sType},i?e.cf7sType:e.cf7sSelectLabel)}));return o.a.createElement("select",{className:t,value:r.cf7sType,onChange:function(e){return a(e)}},c)}}]),i}(r.Component),ee={Edit:"Edit___DsDI3",attribute:"attribute___ouspy",row:"row___I0yGU",label:"label___mfZTQ",value:"value___Z--gA",control:"control___+YNEW",default:"default___cYs1M",range:"range___wsPe8",option:"option___+t59z",description:"description___CvqdB",EditTypeSelect:"EditTypeSelect___rae3d",visualData:"visualData___oRYfW"};function te(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 ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var re=ne({},window.wp.i18n).__,oe=ne({},window.wp.data),ie=oe.dispatch,ae=oe.select,se=function(e){f()(a,e);var t,n,i=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function a(){return l()(this,a),i.apply(this,arguments)}return u()(a,[{key:"render",value:function(){var e=ae("cf7svisual").getStates(),t=e.treeData,n=e.rowInfo,i=e.showTreeData,a=ie("cf7svisual"),s=a.closeEdit,l=a.changeNodeType,c=a.editAddOption,u=a.editOnChange,d=a.editRemoveOption,f=a.validateInput,p=a.validateVisualData,h=a.editOnKeyPress,v=ne({},n).node,g=void 0===v?{}:v,m=g.cf7sSelectLabel,y=void 0===m?"":m,_=g.cf7sSelectGroup,w=void 0===_?"":_,S=g.cf7sType,C=void 0===S?"":S,O=g.cf7Required,x=void 0!==O&&O,T=g.cf7Name,D=void 0===T?"":T,E=g.cf7TagType,I=void 0===E?"":E,P=g.cf7sLabel,M=void 0===P?"":P,N=g.cf7Values,j=void 0===N?"":N,A=g.cf7Min,L=void 0===A?"":A,z=g.cf7Max,F=void 0===z?"":z,H=g.cf7Limit,W=void 0===H?"":H,G=g.cf7FileTypes,U=void 0===G?"":G,B=g.cf7sContent,V=void 0===B?"":B,K=g.cf7Multiple,q=void 0===K?"":K,Y=g.cf7DefaultOn,X=void 0===Y?"":Y,$=g.cf7Exclusive,J=void 0===$?"":$,te=g.cf7sOther,oe=void 0!==te&&te,se=g.cf7Invert,le=void 0===se?"":se,ce=g.cf7IncludeBlank,ue=void 0===ce?"":ce,de=g.cf7Placeholder,fe=void 0===de?"":de,pe=g.cf7UseLabelElement,he=void 0===pe?"":pe,ve=g.cf7LabelFirst,ge=void 0===ve?"":ve,me=g.cf7AkismetAuthor,ye=void 0===me?"":me,be=g.cf7AkismetAuthorUrl,_e=void 0===be?"":be,we=g.cf7AkismetAuthorEmail,Se=void 0===we?"":we,Ce=g.cf7Content,Oe=void 0===Ce?"":Ce,xe=g.cf7Theme,Te=void 0===xe?"":xe,ke=g.cf7Size,De=void 0===ke?"":ke,Ee=g.cf7IdAttribute,Ie=void 0===Ee?"":Ee,Pe=g.cf7ClassAttribute,Me=void 0===Pe?"":Pe,Re=g.cf7Optional,Ne=void 0===Re?"":Re,je=g.cf7Options,Ae=void 0===je?null:je,Le=Object(k.getVisualVar)("versions"),ze=Le&&Le.cf7?Le.cf7:"0",Fe=Object(k.getVisualVar)("integration"),He=!(!Fe||!Fe.reCAPTCHA)&&Fe.reCAPTCHA,We=[];if(We.push("cf7Tag"===w&&["radio","acceptance","quiz","submit","recaptcha"].indexOf(C)<0&&o.a.createElement("div",{className:ee.attribute,key:"sectionTypeRequired"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"required"},re("Field Type","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},"number"===C&&o.a.createElement("select",{type:"text",id:"cf7TagType",name:"cf7TagType",value:I,onChange:u},o.a.createElement("option",{value:"number"},re("Spinbox","contact-form-7-skins")),o.a.createElement("option",{value:"range"},re("Slider","contact-form-7-skins"))),o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Required",id:"cf7Required",value:x,checked:x,onChange:u})," ",re("Required","contact-form-7-skins")))),"cf7Tag"===w&&["submit","recaptcha"].indexOf(C)<0&&o.a.createElement("div",{className:ee.attribute,key:"sectionName"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7Name"},re("Name","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7Name",name:"cf7Name",value:D,onBlur:f,onChange:u}))),["acceptance"].indexOf(C)>-1&&o.a.createElement("div",{className:ee.attribute,key:"sectionAcceptanceCondition"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7AcceptanceContent"},re("Condition","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7AcceptanceContent",name:"cf7Content",value:Oe,onBlur:f,onChange:u}))),("fieldset"===C||"cf7Tag"===w)&&o.a.createElement("div",{className:ee.attribute,key:"sectionLabelLegend"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7sLabel"},re("fieldset"===C?"Legend":"Label","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7sLabel",name:"cf7sLabel",value:M,onBlur:f,onChange:u}))),["text","email","url","tel","number","date","textarea"].indexOf(C)>-1&&o.a.createElement("div",{className:ee.attribute,key:"sectionValuesPlaceholder"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7Values"},re("Default Value","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7Values",name:"cf7Values",value:j,onBlur:f,onChange:u}),o.a.createElement("br",null),o.a.createElement("br",null),o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Placeholder",value:fe,checked:fe,onChange:u})," ",re("Use this text as the placeholder of the field","contact-form-7-skins")))),["text","email","url"].indexOf(C)>-1&&o.a.createElement("div",{className:ee.attribute,key:"sectionAkismet"},o.a.createElement("div",{className:ee.label},"Akismet"),o.a.createElement("div",{className:ee.value},"text"===C&&o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",id:"cf7AkismetAuthor",name:"cf7AkismetAuthor",checked:ye,value:ye,onChange:u})," ",re("This field requires author's name","contact-form-7-skins")),"email"===C&&o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",id:"cf7AkismetAuthorEmail",name:"cf7AkismetAuthorEmail",checked:Se,value:Se,onChange:u})," ",re("This field requires author's email address","contact-form-7-skins")),"url"===C&&o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",id:"cf7AkismetAuthorUrl",name:"cf7AkismetAuthorUrl",checked:_e,value:_e,onChange:u})," ",re("This field requires author's URL","contact-form-7-skins")))),("number"===C||"date"===C)&&o.a.createElement("div",{className:ee.attribute,key:"sectionRange"},o.a.createElement("div",{className:ee.label},re("Range","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},o.a.createElement("div",{className:ee.row},o.a.createElement("label",{className:ee.range},re("Min","contact-form-7-skins"),o.a.createElement("input",{type:C,name:"cf7Min",value:L,onChange:u})),o.a.createElement("label",{className:ee.range},re("Max","contact-form-7-skins"),o.a.createElement("input",{type:C,name:"cf7Max",value:F,onChange:u}))))),"paragraph"===C&&o.a.createElement("div",{className:ee.attribute,key:"sectionParagraph"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"paragraph"},re("Content","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("textarea",{type:"text",id:"cf7sContent",name:"cf7sContent",value:V,onBlur:f,onChange:u,rows:"4"}),o.a.createElement("p",{className:ee.description},o.a.createElement("a",{href:"https://developer.mozilla.org/en-US/docs/Web/HTML/Content_categories#Phrasing_content",target:"_blank",rel:"noopener noreferrer"},re("See paragraph permitted phrasing content specification","contact-form-7-skins"))))),"acceptance"===C&&o.a.createElement("div",{className:ee.attribute,key:"sectionAcceptanceOptions"},o.a.createElement("div",{className:ee.label},re("Options","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},!Object(k.versionCompare)(ze,"5.0.3")&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7DefaultOn",value:X,checked:X,onChange:u})," ",re("Make this checkbox checked by default","contact-form-7-skins"))),!Object(k.versionCompare)(ze,"5.0.3")&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Invert",value:le,checked:le,onChange:u})," ",re("Make this work inversely","contact-form-7-skins"))),Object(k.versionCompare)(ze,"5.0.3")&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Optional",value:Ne,checked:Ne,onChange:u})," ",re("Make this checkbox optional","contact-form-7-skins"))))),Ae&&o.a.createElement("div",{className:ee.attribute,key:"cf7Options"},o.a.createElement("div",{className:ee.label},re("Options","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},o.a.createElement("div",{className:ee.row},o.a.createElement("div",{className:ee.option},("select"===C||"checkbox"===C||"radio"===C)&&"Option","quiz"===C&&"Question"),o.a.createElement("div",{className:ee.default},o.a.createElement("span",null,("select"===C||"checkbox"===C)&&"Checked","radio"===C&&re("Default","contact-form-7-skins"),"quiz"===C&&re("Answer","contact-form-7-skins"))),o.a.createElement("div",{className:ee.control},o.a.createElement("span",{className:"dashicons dashicons-plus",onClick:c}))),("radio"===C||"select"===C||"checkbox"===C||"quiz"===C)&&Ae&&Ae.map((function(e,t){return o.a.createElement("div",{className:ee.row,key:"option_".concat(t+1)},o.a.createElement("div",{className:ee.option},"quiz"!==C&&o.a.createElement("input",{type:"text",name:"value",value:e.value,onChange:function(e){u(e,"cf7Options",t)}}),"quiz"===C&&o.a.createElement("input",{type:"text",name:"question",value:e.question,onChange:function(e){u(e,"cf7Options",t)}})),o.a.createElement("div",{className:ee.default},"quiz"===C&&o.a.createElement("input",{name:"answer",type:"text",value:e.answer,onChange:function(e){u(e,"cf7Options",t)}}),"radio"===C&&o.a.createElement("input",{type:"radio",name:"isChecked",value:e.isChecked,checked:e.isChecked,onChange:function(e){u(e,"cf7Options",t)}}),("select"===C||"checkbox"===C)&&o.a.createElement("input",{type:"checkbox",name:"isChecked",value:e.isChecked,checked:e.isChecked,onChange:function(e){return function(e,t){if(J){var r=Ae.map((function(e,n){return e.isChecked=t===n,e}));n.node.cf7Options=r,u(null,null,null,n)}else u(e,"cf7Options",t)}(e,t)}})),o.a.createElement("div",{className:ee.control},o.a.createElement("span",{className:"dashicons dashicons-no",onClick:function(e){d(e,t)}})))})),o.a.createElement("br",null),("checkbox"===C||"radio"===C||"select"===C)&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7sOther",value:oe,checked:oe,onChange:function(e){return t=e.target.checked,r=Ae,t?r.push({value:re("Other","contact-form-7-skins"),isChecked:!1,other:!0}):r=Object(b.remove)(r,(function(e){return!e.other})),n.node.cf7sOther=t,n.node.cf7Options=r,void u(null,null,null,n);var t,r}})," ",re("Add Other as last option","contact-form-7-skins"))),"select"===C&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Multiple",value:q,checked:q,onChange:u})," ",re("Allow multiple selections","contact-form-7-skins"))),"select"===C&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7IncludeBlank",value:ue,checked:ue,onChange:u})," ",re("Insert a blank item as the first option","contact-form-7-skins"))),("checkbox"===C||"radio"===C)&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7LabelFirst",value:ge,checked:ge,onChange:u})," ",re("Put a label first, a checkbox last","contact-form-7-skins"))),("checkbox"===C||"radio"===C)&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7UseLabelElement",value:he,checked:he,onChange:u})," ",re("Wrap each item with label element","contact-form-7-skins"))),"checkbox"===C&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Exclusive",value:J,checked:J,onChange:function(e){return function(e){if(!1===J){var t=!1,r=Ae.map((function(e){return!0===e.isChecked&&(t?e.isChecked=!1:t=!0),e}));n.node.cf7Options=r,n.node.cf7Exclusive=!0,u(null,null,null,n)}else u(e)}(e)}})," ",re("Make checkboxes exclusive","contact-form-7-skins"))))),"file"===C&&o.a.createElement("div",{className:ee.attribute,key:"cf7Limit"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7Limit"},re("File size limit (bytes)","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7Limit",name:"cf7Limit",value:W,onBlur:f,onChange:u}))),"file"===C&&o.a.createElement("div",{className:ee.attribute,key:"cf7FileTypes"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7FileTypes"},re("Acceptable file types","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7FileTypes",name:"cf7FileTypes",value:U,onBlur:f,onChange:u}))),!!He&&"recaptcha"===C&&o.a.createElement("div",{key:"cf7reCAPTCHA"},o.a.createElement("div",{className:ee.attribute},o.a.createElement("div",{className:ee.label},re("Size","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},o.a.createElement("label",null,o.a.createElement("input",{type:"radio",name:"cf7Size",value:"normal",checked:"normal"===De,onBlur:f,onChange:u})," ",re("Normal","contact-form-7-skins")),o.a.createElement("br",null),o.a.createElement("label",null,o.a.createElement("input",{type:"radio",name:"cf7Size",value:"compact",checked:"compact"===De,onBlur:f,onChange:u})," ",re("Compact","contact-form-7-skins")))),o.a.createElement("div",{className:ee.attribute},o.a.createElement("div",{className:ee.label},re("Theme","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},o.a.createElement("label",null,o.a.createElement("input",{type:"radio",name:"cf7Theme",value:"light",checked:"light"===Te,onBlur:f,onChange:u})," ",re("Light","contact-form-7-skins")),o.a.createElement("br",null),o.a.createElement("label",null,o.a.createElement("input",{type:"radio",name:"cf7Theme",value:"dark",checked:"dark"===Te,onBlur:f,onChange:u})," ",re("Dark","contact-form-7-skins"))))),"cf7Tag"===w&&o.a.createElement("div",{className:ee.attribute,key:"cf7IdAttribute"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7IdAttribute"},re("Id Attribute","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7IdAttribute",name:"cf7IdAttribute",value:Ie,onBlur:f,onChange:u}))),"cf7Tag"===w&&o.a.createElement("div",{className:ee.attribute,key:"cf7ClassAttribute"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7ClassAttribute"},re("Class Attribute","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7ClassAttribute",name:"cf7ClassAttribute",value:Me,onBlur:f,onChange:u}))),"visual-data"===C&&o.a.createElement(r.Fragment,{key:"cf7sVisualData"},o.a.createElement("div",{className:ee.attribute},o.a.createElement("div",{className:ee.visualData},o.a.createElement("textarea",{id:"cf7sVisualContent",name:"cf7sVisualContent",onFocus:function(e){e.target.select()},onBlur:p,rows:"8",defaultValue:JSON.stringify(t)}))))),window.cf7svisual.addons){var Ge=window.cf7svisual.addons.get("edit");if(Ge)for(var Ue={editSections:We,styles:ee},Be=0;Be<Ge.length;++Be){var Ve=Ge[Be].callback;if(Ge[Be].types.indexOf(C)>-1)if(Ve.prototype.render){var Ke=Ve;We.push(o.a.createElement(Ke,R()({key:Be},Ue)))}else We=Ve(Ue)}}var qe=We.map((function(e){return e})),Ye=-1!==Z()(k.cf7sItems).filter((function(e){return"cf7Tag"===e.cf7sSelectGroup})).map((function(e,t){return e.cf7sType})).indexOf(g.cf7sType);return o.a.createElement("div",{className:ee.Edit,onKeyPress:h},!Ye&&!!y&&o.a.createElement("h3",null,y),!!Ye&&o.a.createElement(Q,{className:ee.EditTypeSelect,treeData:window.cf7svisual.treeData||t,shortText:!1,node:g,onChange:function(e){return l(e,n)}}),qe,o.a.createElement("button",{onClick:s,className:"button-primary"},re(i?"Save":"Done","contact-form-7-skins")))}}]),a}(r.Component),le=n(41),ce=n.n(le),ue=n(1),de=n.n(ue),fe={rowContents:"rowContents___n3Hfc",moveHandle:"moveHandle___iq9iV",loadingHandle:"loadingHandle___7lJ9+",rowContentsStart:"rowContentsStart___xKXUl",rowContentsEnd:"rowContentsEnd___717WE",InputItemIcon:"InputItemIcon___6rLo6",InputItemName:"InputItemName___LV0vC",InputItemLabel:"InputItemLabel___vS7k-",InputItemType:"InputItemType___c6Uhz",InputItemToolbar:"InputItemToolbar___I1cHV",cf7Tag:"cf7Tag___kKQ5h",cf7sItem:"cf7sItem___u3JfG",cf7Required:"cf7Required___zp8gT",edited:"edited___eOPso",acceptance:"acceptance___O7dS5",checkbox:"checkbox___KlhTb",date:"date___mTwBm",email:"email___y1pJT",file:"file___A3fuW",number:"number___HZT6t",quiz:"quiz___Rc6bG",radio:"radio___t+Whk",select:"select___iuGie",submit:"submit___VTyrW",tel:"tel___rFz5H",text:"text___blbox",textarea:"textarea___yy-44",url:"url___iUggZ",fieldset:"fieldset___HKwZd","list-ol":"list-ol___3+sLz","list-li":"list-li___KA089",paragraph:"paragraph___2tWIA"},pe=["scaffoldBlockPxWidth","toggleChildrenVisibility","connectDragPreview","connectDragSource","isDragging","canDrop","canDrag","node","draggedNode","path","treeIndex","isSearchMatch","isSearchFocus","toolbar","className","style","didDrop","treeId","isOver","parentNode","rowDirection"];function he(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 ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ge=ve({},window.wp.i18n).__,me=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){var e,t=this.props,n=t.scaffoldBlockPxWidth,r=t.toggleChildrenVisibility,i=t.connectDragPreview,a=t.connectDragSource,s=t.isDragging,l=t.canDrop,c=t.canDrag,u=t.node,d=t.draggedNode,f=t.path,p=t.treeIndex,h=t.isSearchMatch,v=t.isSearchFocus,g=t.toolbar,m=t.className,y=t.style,b=void 0===y?{}:y,_=t.didDrop,w=(t.treeId,t.isOver,t.parentNode,t.rowDirection),S=ce()(t,pe),C=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")},O="rtl"===w?"rst__rtl":null,x=Object(k.getVisualVar)("addons"),T=!!x&&x.get("beforeToolbar"),D=T?T.map((function(e){return e(u,fe)})):"",E=this.props.edited===u.cf7Name,I="paragraph"===u.cf7sType?u.cf7sContent:u.cf7sLabel,P=Object(k.getVisualVar)("options"),M=!!P&&P.showName;c&&(e="function"==typeof u.children&&u.expanded?o.a.createElement("div",{className:C("rst__loadingHandle",fe.loadingHandle)},o.a.createElement("div",{className:"rst__loadingCircle"},Z()(new Array(12)).map((function(e,t){return o.a.createElement("div",{key:t,className:C("rst__loadingCirclePoint",O)})})))):a(o.a.createElement("div",{className:C("rst__moveHandle",fe.moveHandle),title:ge("Drag/Move","contact-form-7-skins")}),{dropEffect:"copy"}));var N=d&&Object($.isDescendant)(d,u),j=!_&&s;return o.a.createElement("div",R()({style:{height:"100%"}},S)," ",r&&!!u.children&&(u.children.length>0||"function"==typeof u.children)&&o.a.createElement("div",null,o.a.createElement("button",{type:"button","aria-label":u.expanded?ge("Collapse","contact-form-7-skins"):ge("Expand","contact-form-7-skins"),className:C(u.expanded?"rst__collapseButton":"rst__expandButton",O),style:{left:-.5*n},onClick:function(){return r({node:u,path:f,treeIndex:p})}}),u.expanded&&!s&&o.a.createElement("div",{style:{width:n},className:C("rst__lineChildren",O)})),o.a.createElement("div",{className:C("rst__rowWrapper",O)},i(o.a.createElement("div",{className:C("rst__row",j&&"rst__rowLandingPad",j&&!l&&"rst__rowCancelPad",h&&"rst__rowSearchMatch",v&&"rst__rowSearchFocus",O,m,fe.row,E?fe.edited:""),style:ve({opacity:N?.5:1},b)},e,o.a.createElement("div",{className:C("rst__rowContents",!c&&"rst__rowContentsDragDisabled",O,fe.rowContents,fe[u.cf7sType],fe[u.cf7sSelectGroup],u.cf7Required?fe.cf7Required:"")},o.a.createElement("div",{className:fe.rowContentsStart},o.a.createElement("span",{className:fe.InputItemIcon},o.a.createElement("span",{className:u.cf7sIcon})),!!M&&o.a.createElement("span",{className:fe.InputItemName},u.cf7Name),o.a.createElement("span",{className:fe.InputItemLabel},I)),o.a.createElement("div",{className:fe.rowContentsEnd},"cf7Tag"!==u.cf7sSelectGroup&&o.a.createElement("span",{className:fe.InputItemType},u.cf7sType+(u.cf7Required?"*":"")),D,g&&g.map((function(e,t){return o.a.createElement("div",{key:t,className:fe.InputItemToolbar},e)}))))))))}}]),i}(r.Component);me.propTypes={node:de.a.object.isRequired,path:de.a.arrayOf(de.a.oneOfType([de.a.string,de.a.number])).isRequired,treeIndex:de.a.number.isRequired,isSearchMatch:de.a.bool,isSearchFocus:de.a.bool,canDrag:de.a.bool,scaffoldBlockPxWidth:de.a.number.isRequired,toggleChildrenVisibility:de.a.func,buttons:de.a.arrayOf(de.a.node),className:de.a.string,style:de.a.object,connectDragPreview:de.a.func.isRequired,connectDragSource:de.a.func.isRequired,parentNode:de.a.shape({}),isDragging:de.a.bool.isRequired,didDrop:de.a.bool.isRequired,draggedNode:de.a.shape({}),isOver:de.a.bool.isRequired,canDrop:de.a.bool};var ye=me,be=n(13),_e=n.n(be),we=n(24),Se=n.n(we),Ce=n(40),Oe={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=Oe.F1&&t<=Oe.F12)return!1;switch(t){case Oe.ALT:case Oe.CAPS_LOCK:case Oe.CONTEXT_MENU:case Oe.CTRL:case Oe.DOWN:case Oe.END:case Oe.ESC:case Oe.HOME:case Oe.INSERT:case Oe.LEFT:case Oe.MAC_FF_META:case Oe.META:case Oe.NUMLOCK:case Oe.NUM_CENTER:case Oe.PAGE_DOWN:case Oe.PAGE_UP:case Oe.PAUSE:case Oe.PRINT_SCREEN:case Oe.RIGHT:case Oe.SHIFT:case Oe.UP:case Oe.WIN_KEY:case Oe.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=Oe.ZERO&&e<=Oe.NINE)return!0;if(e>=Oe.NUM_ZERO&&e<=Oe.NUM_MULTIPLY)return!0;if(e>=Oe.A&&e<=Oe.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case Oe.SPACE:case Oe.QUESTION_MARK:case Oe.NUM_PLUS:case Oe.NUM_MINUS:case Oe.NUM_PERIOD:case Oe.NUM_DIVISION:case Oe.SEMICOLON:case Oe.DASH:case Oe.EQUALS:case Oe.COMMA:case Oe.PERIOD:case Oe.SLASH:case Oe.APOSTROPHE:case Oe.SINGLE_QUOTE:case Oe.OPEN_SQUARE_BRACKET:case Oe.BACKSLASH:case Oe.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},xe=Oe;function Te(){var e=[].slice.call(arguments,0);return 1===e.length?e[0]:function(){for(var t=0;t<e.length;t++)e[t]&&e[t].apply&&e[t].apply(this,arguments)}}var ke=n(46),De=n.n(ke);function Ee(){}function Ie(e,t,n){var r=t||"";return e.key||r+"item_"+n}function Pe(e){return e+"-menu-"}function Me(e,t){var n=-1;o.a.Children.forEach(e,(function(e){n++,e&&e.type&&e.type.isMenuItemGroup?o.a.Children.forEach(e.props.children,(function(e){n++,t(e,n)})):t(e,n)}))}var Re=Se()({displayName:"DOMWrap",propTypes:{tag:de.a.string,hiddenClassName:de.a.string,visible:de.a.bool},getDefaultProps:function(){return{tag:"div"}},render:function(){var e=_e()({},this.props);e.visible||(e.className=e.className||"",e.className+=" "+e.hiddenClassName);var t=e.tag;return delete e.tag,delete e.hiddenClassName,delete e.visible,o.a.createElement(t,e)}});function Ne(e,t,n){var r,o=e.getState();e.setState({activeKey:_e()({},o.activeKey,(r={},r[t]=n,r))})}function je(e,t){var n=t,r=e.children,o=e.eventKey;if(n){var i=void 0;if(Me(r,(function(e,t){e&&!e.props.disabled&&n===Ie(e,o,t)&&(i=!0)})),i)return n}return n=null,e.defaultActiveFirst?(Me(r,(function(e,t){n||!e||e.props.disabled||(n=Ie(e,o,t))})),n):n}function Ae(e,t,n){n&&(void 0!==t?(this.instanceArray[e]=this.instanceArray[e]||[],this.instanceArray[e][t]=n):this.instanceArray[e]=n)}var Le={propTypes:{focusable:de.a.bool,multiple:de.a.bool,style:de.a.object,defaultActiveFirst:de.a.bool,visible:de.a.bool,activeKey:de.a.string,selectedKeys:de.a.arrayOf(de.a.string),defaultSelectedKeys:de.a.arrayOf(de.a.string),defaultOpenKeys:de.a.arrayOf(de.a.string),openKeys:de.a.arrayOf(de.a.string),children:de.a.any},getDefaultProps:function(){return{prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{}}},componentWillReceiveProps:function(e){var t="activeKey"in e?e.activeKey:this.getStore().getState().activeKey[this.getEventKey()],n=je(e,t);n!==t&&Ne(this.getStore(),this.getEventKey(),n)},shouldComponentUpdate:function(e){return this.props.visible||e.visible},componentWillMount:function(){this.instanceArray=[]},onKeyDown:function(e,t){var n=e.keyCode,r=void 0;if(this.getFlatInstanceArray().forEach((function(t){t&&t.props.active&&t.onKeyDown&&(r=t.onKeyDown(e))})),r)return 1;var o=null;return n!==xe.UP&&n!==xe.DOWN||(o=this.step(n===xe.UP?-1:1)),o?(e.preventDefault(),Ne(this.getStore(),this.getEventKey(),o.props.eventKey),"function"==typeof t&&t(o),1):void 0===o?(e.preventDefault(),Ne(this.getStore(),this.getEventKey(),null),1):void 0},onItemHover:function(e){var t=e.key,n=e.hover;Ne(this.getStore(),this.getEventKey(),n?t:null)},getEventKey:function(){return this.props.eventKey||"0-menu-"},getStore:function(){return this.store||this.props.store},getFlatInstanceArray:function(){var e=this.instanceArray;return e.some((function(e){return Array.isArray(e)}))&&(e=[],this.instanceArray.forEach((function(t){Array.isArray(t)?e.push.apply(e,t):e.push(t)})),this.instanceArray=e),e},renderCommonMenuItem:function(e,t,n,r){var i=this.getStore().getState(),a=this.props,s=Ie(e,a.eventKey,t),l=e.props,c=s===i.activeKey,u=_e()({mode:a.mode,level:a.level,inlineIndent:a.inlineIndent,renderMenuItem:this.renderMenuItem,rootPrefixCls:a.prefixCls,index:t,parentMenu:this,manualRef:l.disabled?void 0:Te(e.ref,Ae.bind(this,t,n)),eventKey:s,active:!l.disabled&&c,multiple:a.multiple,onClick:this.onClick,onItemHover:this.onItemHover,openTransitionName:this.getOpenTransitionName(),openAnimation:a.openAnimation,subMenuOpenDelay:a.subMenuOpenDelay,subMenuCloseDelay:a.subMenuCloseDelay,forceSubMenuRender:a.forceSubMenuRender,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect},r);return"inline"===a.mode&&(u.triggerSubMenuAction="click"),o.a.cloneElement(e,u)},renderRoot:function(e){var t=this;this.instanceArray=[];var n={className:De()(e.prefixCls,e.className,e.prefixCls+"-"+e.mode),role:"menu","aria-activedescendant":""};return e.id&&(n.id=e.id),e.focusable&&(n.tabIndex="0",n.onKeyDown=this.onKeyDown),o.a.createElement(Re,_e()({style:e.style,tag:"ul",hiddenClassName:e.prefixCls+"-hidden",visible:e.visible},n),o.a.Children.map(e.children,(function(n,r,o){return t.renderMenuItem(n,r,o,e.eventKey||"0-menu-")})))},step:function(e){var t=this.getFlatInstanceArray(),n=this.getStore().getState().activeKey[this.getEventKey()],r=t.length;if(!r)return null;e<0&&(t=t.concat().reverse());var o=-1;if(t.every((function(e,t){return!e||e.props.eventKey!==n||(o=t,!1)})),this.props.defaultActiveFirst||-1===o||(i=t.slice(o,r-1)).length&&!i.every((function(e){return!!e.props.disabled})))for(var i,a=(o+1)%r,s=a;;){var l=t[s];if(l&&!l.props.disabled)return l;if((s=(s+1+r)%r)===a)return null}}},ze=Se()({displayName:"Menu",propTypes:{defaultSelectedKeys:de.a.arrayOf(de.a.string),selectedKeys:de.a.arrayOf(de.a.string),defaultOpenKeys:de.a.arrayOf(de.a.string),openKeys:de.a.arrayOf(de.a.string),mode:de.a.oneOf(["horizontal","vertical","vertical-left","vertical-right","inline"]),getPopupContainer:de.a.func,onClick:de.a.func,onSelect:de.a.func,onDeselect:de.a.func,onDestroy:de.a.func,openTransitionName:de.a.string,openAnimation:de.a.oneOfType([de.a.string,de.a.object]),subMenuOpenDelay:de.a.number,subMenuCloseDelay:de.a.number,forceSubMenuRender:de.a.bool,triggerSubMenuAction:de.a.string,level:de.a.number,selectable:de.a.bool,multiple:de.a.bool,children:de.a.any},mixins:[Le],isRootMenu:!0,getDefaultProps:function(){return{selectable:!0,onClick:Ee,onSelect:Ee,onOpenChange:Ee,onDeselect:Ee,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover"}},getInitialState:function(){var e=this.props,t=e.defaultSelectedKeys,n=e.defaultOpenKeys;return"selectedKeys"in e&&(t=e.selectedKeys||[]),"openKeys"in e&&(n=e.openKeys||[]),this.store=Object(Ce.create)({selectedKeys:t,openKeys:n,activeKey:{"0-menu-":je(e,e.activeKey)}}),{}},componentWillReceiveProps:function(e){"selectedKeys"in e&&this.store.setState({selectedKeys:e.selectedKeys||[]}),"openKeys"in e&&this.store.setState({openKeys:e.openKeys||[]})},onSelect:function(e){var t=this.props;if(t.selectable){var n=this.store.getState().selectedKeys,r=e.key;n=t.multiple?n.concat([r]):[r],"selectedKeys"in t||this.store.setState({selectedKeys:n}),t.onSelect(_e()({},e,{selectedKeys:n}))}},onClick:function(e){this.props.onClick(e)},onOpenChange:function(e){var t=this.props,n=this.store.getState().openKeys.concat(),r=!1,o=function(e){var t=!1;if(e.open)(t=-1===n.indexOf(e.key))&&n.push(e.key);else{var o=n.indexOf(e.key);(t=-1!==o)&&n.splice(o,1)}r=r||t};Array.isArray(e)?e.forEach(o):o(e),r&&("openKeys"in this.props||this.store.setState({openKeys:n}),t.onOpenChange(n))},onDeselect:function(e){var t=this.props;if(t.selectable){var n=this.store.getState().selectedKeys.concat(),r=e.key,o=n.indexOf(r);-1!==o&&n.splice(o,1),"selectedKeys"in t||this.store.setState({selectedKeys:n}),t.onDeselect(_e()({},e,{selectedKeys:n}))}},getOpenTransitionName:function(){var e=this.props,t=e.openTransitionName,n=e.openAnimation;return t||"string"!=typeof n||(t=e.prefixCls+"-open-"+n),t},isInlineMode:function(){return"inline"===this.props.mode},lastOpenSubMenu:function(){var e=[],t=this.store.getState().openKeys;return t.length&&(e=this.getFlatInstanceArray().filter((function(e){return e&&-1!==t.indexOf(e.props.eventKey)}))),e[0]},renderMenuItem:function(e,t,n,r){if(!e)return null;var o=this.store.getState(),i={openKeys:o.openKeys,selectedKeys:o.selectedKeys,triggerSubMenuAction:this.props.triggerSubMenuAction,subMenuKey:r};return this.renderCommonMenuItem(e,t,n,i)},render:function(){var e=_e()({},this.props);return e.className+=" "+e.prefixCls+"-root",o.a.createElement(Ce.Provider,{store:this.store},this.renderRoot(e))}}),Fe=n(20),He=n.n(Fe),We=n(17),Ge=n.n(We),Ue=n(21),Be=n.n(Ue),Ve=n(23);function Ke(e,t){for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var qe=n(255),Ye=n.n(qe);function Xe(e,t,n,r){var o=a.a.unstable_batchedUpdates?function(e){a.a.unstable_batchedUpdates(n,e)}:n;return Ye()(e,t,o,r)}function Ze(e){return(Ze="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 $e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(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 Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function et(e,t){return!t||"object"!==Ze(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}function tt(e){return(tt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var nt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qe(e,t)}(s,e);var t,n,r,o,i=(r=s,o=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}}(),function(){var e,t=tt(r);if(o){var n=tt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return et(this,e)});function s(){var e;$e(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).removeContainer=function(){e.container&&(a.a.unmountComponentAtNode(e.container),e.container.parentNode.removeChild(e.container),e.container=null)},e.renderComponent=function(t,n){var r=e.props,o=r.visible,i=r.getComponent,s=r.forceRender,l=r.getContainer,c=r.parent;(o||c._component||s)&&(e.container||(e.container=l()),a.a.unstable_renderSubtreeIntoContainer(c,i(t),e.container,(function(){n&&n.call(this)})))},e}return t=s,(n=[{key:"componentDidMount",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentDidUpdate",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentWillUnmount",value:function(){this.props.autoDestroy&&this.removeContainer()}},{key:"render",value:function(){return this.props.children({renderComponent:this.renderComponent,removeContainer:this.removeContainer})}}])&&Je(t.prototype,n),s}(o.a.Component);function rt(e){return(rt="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 ot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(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 at(e,t){return(at=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function st(e,t){return!t||"object"!==rt(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}function lt(e){return(lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}nt.propTypes={autoMount:de.a.bool,autoDestroy:de.a.bool,visible:de.a.bool,forceRender:de.a.bool,parent:de.a.any,getComponent:de.a.func.isRequired,getContainer:de.a.func.isRequired,children:de.a.func.isRequired},nt.defaultProps={autoMount:!0,autoDestroy:!0,forceRender:!1};var ct=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&at(e,t)}(s,e);var t,n,r,o,i=(r=s,o=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}}(),function(){var e,t=lt(r);if(o){var n=lt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return st(this,e)});function s(){return ot(this,s),i.apply(this,arguments)}return t=s,(n=[{key:"componentDidMount",value:function(){this.createContainer()}},{key:"componentDidUpdate",value:function(e){var t=this.props.didUpdate;t&&t(e)}},{key:"componentWillUnmount",value:function(){this.removeContainer()}},{key:"createContainer",value:function(){this._container=this.props.getContainer(),this.forceUpdate()}},{key:"removeContainer",value:function(){this._container&&this._container.parentNode.removeChild(this._container)}},{key:"render",value:function(){return this._container?a.a.createPortal(this.props.children,this._container):null}}])&&it(t.prototype,n),s}(o.a.Component);function ut(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function dt(e,t){this[e]=t}ct.propTypes={getContainer:de.a.func.isRequired,children:de.a.node.isRequired,didUpdate:de.a.func};var ft,pt=n(70),ht=n.n(pt);function vt(e){return(vt="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 gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var yt={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function bt(){if(void 0!==ft)return ft;ft="";var e=document.createElement("p").style;for(var t in yt)t+"Transform"in e&&(ft=t);return ft}function _t(){return bt()?"".concat(bt(),"TransitionProperty"):"transitionProperty"}function wt(){return bt()?"".concat(bt(),"Transform"):"transform"}function St(e,t){var n=_t();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function Ct(e,t){var n=wt();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}var Ot,xt=/matrix\((.*)\)/,Tt=/matrix3d\((.*)\)/;function kt(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function Dt(e,t,n){var r=n;if("object"!==vt(t))return void 0!==r?("number"==typeof r&&(r="".concat(r,"px")),void(e.style[t]=r)):Ot(e,t);for(var o in t)t.hasOwnProperty(o)&&Dt(e,o,t[o])}function Et(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function It(e){return Et(e)}function Pt(e){return Et(e,!0)}function Mt(e){var t=function(e){var t,n,r,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=It(r),t.top+=Pt(r),t}function Rt(e){return null!=e&&e==e.window}function Nt(e){return Rt(e)?e.document:9===e.nodeType?e:e.ownerDocument}var jt=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),At=/^(top|right|bottom|left)$/,Lt="left";function zt(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function Ft(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function Ht(e,t,n){"static"===Dt(e,"position")&&(e.style.position="relative");var r=-999,o=-999,i=zt("left",n),a=zt("top",n),s=Ft(i),l=Ft(a);"left"!==i&&(r=999),"top"!==a&&(o=999);var c,u="",d=Mt(e);("left"in t||"top"in t)&&(u=(c=e).style.transitionProperty||c.style[_t()]||"",St(e,"none")),"left"in t&&(e.style[s]="",e.style[i]="".concat(r,"px")),"top"in t&&(e.style[l]="",e.style[a]="".concat(o,"px")),kt(e);var f=Mt(e),p={};for(var h in t)if(t.hasOwnProperty(h)){var v=zt(h,n),g="left"===h?r:o,m=d[h]-f[h];p[v]=v===h?g+m:g-m}Dt(e,p),kt(e),("left"in t||"top"in t)&&St(e,u);var y={};for(var b in t)if(t.hasOwnProperty(b)){var _=zt(b,n),w=t[b]-d[b];y[_]=b===_?p[_]+w:p[_]-w}Dt(e,y)}function Wt(e,t){for(var n=0;n<e.length;n++)t(e[n])}function Gt(e){return"border-box"===Ot(e,"boxSizing")}"undefined"!=typeof window&&(Ot=window.getComputedStyle?function(e,t,n){var r=n,o="",i=Nt(e);return(r=r||i.defaultView.getComputedStyle(e,null))&&(o=r.getPropertyValue(t)||r[t]),o}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(jt.test(n)&&!At.test(t)){var r=e.style,o=r[Lt],i=e.runtimeStyle[Lt];e.runtimeStyle[Lt]=e.currentStyle[Lt],r[Lt]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[Lt]=o,e.runtimeStyle[Lt]=i}return""===n?"auto":n});var Ut=["margin","border","padding"];function Bt(e,t,n){var r,o={},i=e.style;for(r in t)t.hasOwnProperty(r)&&(o[r]=i[r],i[r]=t[r]);for(r in n.call(e),t)t.hasOwnProperty(r)&&(i[r]=o[r])}function Vt(e,t,n){var r,o,i,a=0;for(o=0;o<t.length;o++)if(r=t[o])for(i=0;i<n.length;i++){var s;s="border"===r?"".concat(r).concat(n[i],"Width"):r+n[i],a+=parseFloat(Ot(e,s))||0}return a}var Kt={getParent:function(e){var t=e;do{t=11===t.nodeType&&t.host?t.host:t.parentNode}while(t&&1!==t.nodeType&&9!==t.nodeType);return t}};function qt(e,t,n){var r=n;if(Rt(e))return"width"===t?Kt.viewportWidth(e):Kt.viewportHeight(e);if(9===e.nodeType)return"width"===t?Kt.docWidth(e):Kt.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],i="width"===t?e.getBoundingClientRect().width:e.getBoundingClientRect().height,a=(Ot(e),Gt(e)),s=0;(null==i||i<=0)&&(i=void 0,(null==(s=Ot(e,t))||Number(s)<0)&&(s=e.style[t]||0),s=parseFloat(s)||0),void 0===r&&(r=a?1:-1);var l=void 0!==i||a,c=i||s;return-1===r?l?c-Vt(e,["border","padding"],o):s:l?1===r?c:c+(2===r?-Vt(e,["border"],o):Vt(e,["margin"],o)):s+Vt(e,Ut.slice(r),o)}Wt(["Width","Height"],(function(e){Kt["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],Kt["viewport".concat(e)](n))},Kt["viewport".concat(e)]=function(t){var n="client".concat(e),r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var Yt={position:"absolute",visibility:"hidden",display:"block"};function Xt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t[0];return 0!==o.offsetWidth?r=qt.apply(void 0,t):Bt(o,Yt,(function(){r=qt.apply(void 0,t)})),r}function Zt(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}Wt(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);Kt["outer".concat(t)]=function(t,n){return t&&Xt(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];Kt[e]=function(t,r){var o=r;return void 0===o?t&&Xt(t,e,-1):t?(Ot(t),Gt(t)&&(o+=Vt(t,["padding","border"],n)),Dt(t,e,o)):void 0}}));var $t={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:Nt,offset:function(e,t,n){if(void 0===t)return Mt(e);!function(e,t,n){if(n.ignoreShake){var r=Mt(e),o=r.left.toFixed(0),i=r.top.toFixed(0),a=t.left.toFixed(0),s=t.top.toFixed(0);if(o===a&&i===s)return}n.useCssRight||n.useCssBottom?Ht(e,t,n):n.useCssTransform&&wt()in document.body.style?function(e,t){var n=Mt(e),r=function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(wt());if(n&&"none"!==n){var r=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(r[12]||r[4],0),y:parseFloat(r[13]||r[5],0)}}return{x:0,y:0}}(e),o={x:r.x,y:r.y};"left"in t&&(o.x=r.x+t.left-n.left),"top"in t&&(o.y=r.y+t.top-n.top),function(e,t){var n=window.getComputedStyle(e,null),r=n.getPropertyValue("transform")||n.getPropertyValue(wt());if(r&&"none"!==r){var o,i=r.match(xt);i?((o=(i=i[1]).split(",").map((function(e){return parseFloat(e,10)})))[4]=t.x,o[5]=t.y,Ct(e,"matrix(".concat(o.join(","),")"))):((o=r.match(Tt)[1].split(",").map((function(e){return parseFloat(e,10)})))[12]=t.x,o[13]=t.y,Ct(e,"matrix3d(".concat(o.join(","),")")))}else Ct(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}(e,o)}(e,t):Ht(e,t,n)}(e,t,n||{})},isWindow:Rt,each:Wt,css:Dt,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);if(e.overflow)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:Zt,getWindowScrollLeft:function(e){return It(e)},getWindowScrollTop:function(e){return Pt(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)$t.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};Zt($t,Kt);var Jt=$t.getParent;function Qt(e){if($t.isWindow(e)||9===e.nodeType)return null;var t,n=$t.getDocument(e).body,r=$t.css(e,"position");if("fixed"!==r&&"absolute"!==r)return"html"===e.nodeName.toLowerCase()?null:Jt(e);for(t=Jt(e);t&&t!==n&&9!==t.nodeType;t=Jt(t))if("static"!==(r=$t.css(t,"position")))return t;return null}var en=$t.getParent;function tn(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},r=Qt(e),o=$t.getDocument(e),i=o.defaultView||o.parentWindow,a=o.body,s=o.documentElement;r;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===r.clientWidth||r===a||r===s||"visible"===$t.css(r,"overflow")){if(r===a||r===s)break}else{var l=$t.offset(r);l.left+=r.clientLeft,l.top+=r.clientTop,n.top=Math.max(n.top,l.top),n.right=Math.min(n.right,l.left+r.clientWidth),n.bottom=Math.min(n.bottom,l.top+r.clientHeight),n.left=Math.max(n.left,l.left)}r=Qt(r)}var c=null;$t.isWindow(e)||9===e.nodeType||(c=e.style.position,"absolute"===$t.css(e,"position")&&(e.style.position="fixed"));var u=$t.getWindowScrollLeft(i),d=$t.getWindowScrollTop(i),f=$t.viewportWidth(i),p=$t.viewportHeight(i),h=s.scrollWidth,v=s.scrollHeight,g=window.getComputedStyle(a);if("hidden"===g.overflowX&&(h=i.innerWidth),"hidden"===g.overflowY&&(v=i.innerHeight),e.style&&(e.style.position=c),t||function(e){if($t.isWindow(e)||9===e.nodeType)return!1;var t=$t.getDocument(e).body,n=null;for(n=en(e);n&&n!==t;n=en(n))if("fixed"===$t.css(n,"position"))return!0;return!1}(e))n.left=Math.max(n.left,u),n.top=Math.max(n.top,d),n.right=Math.min(n.right,u+f),n.bottom=Math.min(n.bottom,d+p);else{var m=Math.max(h,u+f);n.right=Math.min(n.right,m);var y=Math.max(v,d+p);n.bottom=Math.min(n.bottom,y)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function nn(e){var t,n,r;if($t.isWindow(e)||9===e.nodeType){var o=$t.getWindow(e);t={left:$t.getWindowScrollLeft(o),top:$t.getWindowScrollTop(o)},n=$t.viewportWidth(o),r=$t.viewportHeight(o)}else t=$t.offset(e),n=$t.outerWidth(e),r=$t.outerHeight(e);return t.width=n,t.height=r,t}function rn(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,i=e.height,a=e.left,s=e.top;return"c"===n?s+=i/2:"b"===n&&(s+=i),"c"===r?a+=o/2:"r"===r&&(a+=o),{left:a,top:s}}function on(e,t,n,r,o){var i=rn(t,n[1]),a=rn(e,n[0]),s=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-s[0]+r[0]-o[0]),top:Math.round(e.top-s[1]+r[1]-o[1])}}function an(e,t,n){return e.left<n.left||e.left+t.width>n.right}function sn(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function ln(e,t,n){var r=[];return $t.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function cn(e,t){return e[t]=-e[t],e}function un(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function dn(e,t){e[0]=un(e[0],t.width),e[1]=un(e[1],t.height)}function fn(e,t,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],s=n.overflow,l=n.source||e;i=[].concat(i),a=[].concat(a);var c={},u=0,d=tn(l,!(!(s=s||{})||!s.alwaysByViewport)),f=nn(l);dn(i,f),dn(a,t);var p=on(f,t,o,i,a),h=$t.merge(f,p);if(d&&(s.adjustX||s.adjustY)&&r){if(s.adjustX&&an(p,f,d)){var v=ln(o,/[lr]/gi,{l:"r",r:"l"}),g=cn(i,0),m=cn(a,0);(function(e,t,n){return e.left>n.right||e.left+t.width<n.left})(on(f,t,v,g,m),f,d)||(u=1,o=v,i=g,a=m)}if(s.adjustY&&sn(p,f,d)){var y=ln(o,/[tb]/gi,{t:"b",b:"t"}),b=cn(i,1),_=cn(a,1);(function(e,t,n){return e.top>n.bottom||e.top+t.height<n.top})(on(f,t,y,b,_),f,d)||(u=1,o=y,i=b,a=_)}u&&(p=on(f,t,o,i,a),$t.mix(h,p));var w=an(p,f,d),S=sn(p,f,d);if(w||S){var C=o;w&&(C=ln(o,/[lr]/gi,{l:"r",r:"l"})),S&&(C=ln(o,/[tb]/gi,{t:"b",b:"t"})),o=C,i=n.offset||[0,0],a=n.targetOffset||[0,0]}c.adjustX=s.adjustX&&w,c.adjustY=s.adjustY&&S,(c.adjustX||c.adjustY)&&(h=function(e,t,n,r){var o=$t.clone(e),i={width:t.width,height:t.height};return r.adjustX&&o.left<n.left&&(o.left=n.left),r.resizeWidth&&o.left>=n.left&&o.left+i.width>n.right&&(i.width-=o.left+i.width-n.right),r.adjustX&&o.left+i.width>n.right&&(o.left=Math.max(n.right-i.width,n.left)),r.adjustY&&o.top<n.top&&(o.top=n.top),r.resizeHeight&&o.top>=n.top&&o.top+i.height>n.bottom&&(i.height-=o.top+i.height-n.bottom),r.adjustY&&o.top+i.height>n.bottom&&(o.top=Math.max(n.bottom-i.height,n.top)),$t.mix(o,i)}(p,f,d,c))}return h.width!==f.width&&$t.css(l,"width",$t.width(l)+h.width-f.width),h.height!==f.height&&$t.css(l,"height",$t.height(l)+h.height-f.height),$t.offset(l,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:c}}function pn(e,t,n){var r=n.target||t;return fn(e,nn(r),n,!function(e,t){var n=tn(e,t),r=nn(e);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}(r,n.overflow&&n.overflow.alwaysByViewport))}function hn(e,t,n){var r,o,i=$t.getDocument(e),a=i.defaultView||i.parentWindow,s=$t.getWindowScrollLeft(a),l=$t.getWindowScrollTop(a),c=$t.viewportWidth(a),u=$t.viewportHeight(a);r="pageX"in t?t.pageX:s+t.clientX,o="pageY"in t?t.pageY:l+t.clientY;var d=r>=0&&r<=s+c&&o>=0&&o<=l+u;return fn(e,{left:r,top:o,width:0,height:0},function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mt(n,!0).forEach((function(t){gt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{points:[n.points[0],"cc"]}),d)}function vn(e){return e&&"object"==typeof e&&e.window===e}function gn(e,t){var n=Math.floor(e),r=Math.floor(t);return Math.abs(n-r)<=1}function mn(e,t){e!==document.activeElement&&Ke(t,e)&&e.focus()}function yn(e){return"function"==typeof e&&e?e():null}function bn(e){return"object"==typeof e&&e?e:null}pn.__getOffsetParent=Qt,pn.__getVisibleRectForElement=tn;var wn=function(e){function t(){var e,n,r,o;He()(this,t);for(var i=arguments.length,s=Array(i),l=0;l<i;l++)s[l]=arguments[l];return n=r=Ge()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r.forceAlign=function(){var e=r.props,t=e.disabled,n=e.target,o=e.align,i=e.onAlign;if(!t&&n){var s=a.a.findDOMNode(r),l=void 0,c=yn(n),u=bn(n),d=document.activeElement;c?l=pn(s,c,o):u&&(l=hn(s,u,o)),mn(d,s),i&&i(s,l)}},o=n,Ge()(r,o)}return Be()(t,e),ht()(t,[{key:"componentDidMount",value:function(){var e=this.props;this.forceAlign(),!e.disabled&&e.monitorWindowResize&&this.startMonitorWindowResize()}},{key:"componentDidUpdate",value:function(e){var t,n,r=!1,o=this.props;if(!o.disabled){var i=a.a.findDOMNode(this),s=i?i.getBoundingClientRect():null;if(e.disabled)r=!0;else{var l=yn(e.target),c=yn(o.target),u=bn(e.target),d=bn(o.target);vn(l)&&vn(c)?r=!1:(l!==c||l&&!c&&d||u&&d&&c||d&&!((t=u)===(n=d)||t&&n&&("pageX"in n&&"pageY"in n?t.pageX===n.pageX&&t.pageY===n.pageY:"clientX"in n&&"clientY"in n&&t.clientX===n.clientX&&t.clientY===n.clientY)))&&(r=!0);var f=this.sourceRect||{};r||!i||gn(f.width,s.width)&&gn(f.height,s.height)||(r=!0)}this.sourceRect=s}r&&this.forceAlign(),o.monitorWindowResize&&!o.disabled?this.startMonitorWindowResize():this.stopMonitorWindowResize()}},{key:"componentWillUnmount",value:function(){this.stopMonitorWindowResize()}},{key:"startMonitorWindowResize",value:function(){this.resizeHandler||(this.bufferMonitor=function(e,t){var n=void 0;function r(){n&&(clearTimeout(n),n=null)}function o(){r(),n=setTimeout(e,t)}return o.clear=r,o}(this.forceAlign,this.props.monitorBufferTime),this.resizeHandler=Xe(window,"resize",this.bufferMonitor))}},{key:"stopMonitorWindowResize",value:function(){this.resizeHandler&&(this.bufferMonitor.clear(),this.resizeHandler.remove(),this.resizeHandler=null)}},{key:"render",value:function(){var e=this,t=this.props,n=t.childrenProps,r=t.children,i=o.a.Children.only(r);if(n){var a={};return Object.keys(n).forEach((function(t){a[t]=e.props[n[t]]})),o.a.cloneElement(i,a)}return i}}]),t}(r.Component);wn.propTypes={childrenProps:de.a.object,align:de.a.object.isRequired,target:de.a.oneOfType([de.a.func,de.a.shape({clientX:de.a.number,clientY:de.a.number,pageX:de.a.number,pageY:de.a.number})]),onAlign:de.a.func,monitorBufferTime:de.a.number,monitorWindowResize:de.a.bool,disabled:de.a.bool,children:de.a.any},wn.defaultProps={target:function(){return window},monitorBufferTime:50,monitorWindowResize:!1,disabled:!1};var Sn=wn,Cn=n(256),On=n.n(Cn);function xn(e){var t=[];return o.a.Children.forEach(e,(function(e){t.push(e)})),t}function Tn(e,t){var n=null;return e&&e.forEach((function(e){n||e&&e.key===t&&(n=e)})),n}function kn(e,t,n){var r=null;return e&&e.forEach((function(e){if(e&&e.key===t&&e.props[n]){if(r)throw new Error("two child with same key for <rc-animate> children");r=e}})),r}var Dn=n(108),En=n.n(Dn),In={transitionstart:{transition:"transitionstart",WebkitTransition:"webkitTransitionStart",MozTransition:"mozTransitionStart",OTransition:"oTransitionStart",msTransition:"MSTransitionStart"},animationstart:{animation:"animationstart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"mozAnimationStart",OAnimation:"oAnimationStart",msAnimation:"MSAnimationStart"}},Pn={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},Mn=[],Rn=[];function Nn(e,t,n){e.addEventListener(t,n,!1)}function jn(e,t,n){e.removeEventListener(t,n,!1)}"undefined"!=typeof window&&"undefined"!=typeof document&&function(){var e=document.createElement("div").style;function t(t,n){for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];for(var i in o)if(i in e){n.push(o[i]);break}}}"AnimationEvent"in window||(delete In.animationstart.animation,delete Pn.animationend.animation),"TransitionEvent"in window||(delete In.transitionstart.transition,delete Pn.transitionend.transition),t(In,Mn),t(Pn,Rn)}();var An=Rn,Ln=function(e,t){0!==Rn.length?Rn.forEach((function(n){Nn(e,n,t)})):window.setTimeout(t,0)},zn=function(e,t){0!==Rn.length&&Rn.forEach((function(n){jn(e,n,t)}))},Fn=n(257),Hn=n.n(Fn),Wn=0!==An.length,Gn=["Webkit","Moz","O","ms"],Un=["-webkit-","-moz-","-o-","ms-",""];function Bn(e,t){for(var n=window.getComputedStyle(e,null),r="",o=0;o<Un.length&&!(r=n.getPropertyValue(Un[o]+t));o++);return r}function Vn(e){if(Wn){var t=parseFloat(Bn(e,"transition-delay"))||0,n=parseFloat(Bn(e,"transition-duration"))||0,r=parseFloat(Bn(e,"animation-delay"))||0,o=parseFloat(Bn(e,"animation-duration"))||0,i=Math.max(n+t,o+r);e.rcEndAnimTimeout=setTimeout((function(){e.rcEndAnimTimeout=null,e.rcEndListener&&e.rcEndListener()}),1e3*i+200)}}function Kn(e){e.rcEndAnimTimeout&&(clearTimeout(e.rcEndAnimTimeout),e.rcEndAnimTimeout=null)}var qn=function(e,t,n){var r="object"===(void 0===t?"undefined":En()(t)),o=r?t.name:t,i=r?t.active:t+"-active",a=n,s=void 0,l=void 0,c=Hn()(e);return n&&"[object Object]"===Object.prototype.toString.call(n)&&(a=n.end,s=n.start,l=n.active),e.rcEndListener&&e.rcEndListener(),e.rcEndListener=function(t){t&&t.target!==e||(e.rcAnimTimeout&&(clearTimeout(e.rcAnimTimeout),e.rcAnimTimeout=null),Kn(e),c.remove(o),c.remove(i),zn(e,e.rcEndListener),e.rcEndListener=null,a&&a())},Ln(e,e.rcEndListener),s&&s(),c.add(o),e.rcAnimTimeout=setTimeout((function(){e.rcAnimTimeout=null,c.add(i),l&&setTimeout(l,0),Vn(e)}),30),{stop:function(){e.rcEndListener&&e.rcEndListener()}}};qn.style=function(e,t,n){e.rcEndListener&&e.rcEndListener(),e.rcEndListener=function(t){t&&t.target!==e||(e.rcAnimTimeout&&(clearTimeout(e.rcAnimTimeout),e.rcAnimTimeout=null),Kn(e),zn(e,e.rcEndListener),e.rcEndListener=null,n&&n())},Ln(e,e.rcEndListener),e.rcAnimTimeout=setTimeout((function(){for(var n in t)t.hasOwnProperty(n)&&(e.style[n]=t[n]);e.rcAnimTimeout=null,Vn(e)}),0)},qn.setTransition=function(e,t,n){var r=t,o=n;void 0===n&&(o=r,r=""),r=r||"",Gn.forEach((function(t){e.style[t+"Transition"+r]=o}))},qn.isCssAnimationSupported=Wn;var Yn=qn,Xn=function(e){return e.transitionName&&e.transitionAppear||e.animation.appear},Zn=function(e){return e.transitionName&&e.transitionEnter||e.animation.enter},$n=function(e){return e.transitionName&&e.transitionLeave||e.animation.leave},Jn=function(e){return e.transitionAppear||e.animation.appear},Qn=function(e){return e.transitionEnter||e.animation.enter},er=function(e){return e.transitionLeave||e.animation.leave},tr={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},nr=function(e){function t(){return He()(this,t),Ge()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return Be()(t,e),ht()(t,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(e){Zn(this.props)?this.transition("enter",e):e()}},{key:"componentWillAppear",value:function(e){Xn(this.props)?this.transition("appear",e):e()}},{key:"componentWillLeave",value:function(e){$n(this.props)?this.transition("leave",e):e()}},{key:"transition",value:function(e,t){var n=this,r=a.a.findDOMNode(this),o=this.props,i=o.transitionName,s="object"==typeof i;this.stop();var l=function(){n.stopper=null,t()};if((Wn||!o.animation[e])&&i&&o[tr[e]]){var c=s?i[e]:i+"-"+e,u=c+"-active";s&&i[e+"Active"]&&(u=i[e+"Active"]),this.stopper=Yn(r,{name:c,active:u},l)}else this.stopper=o.animation[e](r,l)}},{key:"stop",value:function(){var e=this.stopper;e&&(this.stopper=null,e.stop())}},{key:"render",value:function(){return this.props.children}}]),t}(o.a.Component);nr.propTypes={children:de.a.any,animation:de.a.any,transitionName:de.a.any};var rr=nr,or="rc_animate_"+Date.now();function ir(e){var t=e.children;return o.a.isValidElement(t)&&!t.key?o.a.cloneElement(t,{key:or}):t}function ar(){}var sr=function(e){function t(e){He()(this,t);var n=Ge()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return lr.call(n),n.currentlyAnimatingKeys={},n.keysToEnter=[],n.keysToLeave=[],n.state={children:xn(ir(e))},n.childrenRefs={},n}return Be()(t,e),ht()(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.showProp,n=this.state.children;t&&(n=n.filter((function(e){return!!e.props[t]}))),n.forEach((function(t){t&&e.performAppear(t.key)}))}},{key:"componentWillReceiveProps",value:function(e){var t=this;this.nextProps=e;var n=xn(ir(e)),r=this.props;r.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach((function(e){t.stop(e)}));var i,a,s,l,c=r.showProp,u=this.currentlyAnimatingKeys,d=r.exclusive?xn(ir(r)):this.state.children,f=[];c?(d.forEach((function(e){var t,r=e&&Tn(n,e.key);(t=r&&r.props[c]||!e.props[c]?r:o.a.cloneElement(r||e,On()({},c,!0)))&&f.push(t)})),n.forEach((function(e){e&&Tn(d,e.key)||f.push(e)}))):(i=n,a=[],s={},l=[],d.forEach((function(e){e&&Tn(i,e.key)?l.length&&(s[e.key]=l,l=[]):l.push(e)})),i.forEach((function(e){e&&Object.prototype.hasOwnProperty.call(s,e.key)&&(a=a.concat(s[e.key])),a.push(e)})),f=a=a.concat(l)),this.setState({children:f}),n.forEach((function(e){var n=e&&e.key;if(!e||!u[n]){var r=e&&Tn(d,n);if(c){var o=e.props[c];r?!kn(d,n,c)&&o&&t.keysToEnter.push(n):o&&t.keysToEnter.push(n)}else r||t.keysToEnter.push(n)}})),d.forEach((function(e){var r=e&&e.key;if(!e||!u[r]){var o=e&&Tn(n,r);if(c){var i=e.props[c];o?!kn(n,r,c)&&i&&t.keysToLeave.push(r):i&&t.keysToLeave.push(r)}else o||t.keysToLeave.push(r)}}))}},{key:"componentDidUpdate",value:function(){var e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(e,t){var n=this.props.showProp;return n?kn(e,t,n):Tn(e,t)}},{key:"stop",value:function(e){delete this.currentlyAnimatingKeys[e];var t=this.childrenRefs[e];t&&t.stop()}},{key:"render",value:function(){var e=this,t=this.props;this.nextProps=t;var n=this.state.children,r=null;n&&(r=n.map((function(n){if(null==n)return n;if(!n.key)throw new Error("must set key for <rc-animate> children");return o.a.createElement(rr,{key:n.key,ref:function(t){e.childrenRefs[n.key]=t},animation:t.animation,transitionName:t.transitionName,transitionEnter:t.transitionEnter,transitionAppear:t.transitionAppear,transitionLeave:t.transitionLeave},n)})));var i=t.component;if(i){var a=t;return"string"==typeof i&&(a=_e()({className:t.className,style:t.style},t.componentProps)),o.a.createElement(i,a,r)}return r[0]||null}}]),t}(o.a.Component);sr.isAnimate=!0,sr.propTypes={className:de.a.string,style:de.a.object,component:de.a.any,componentProps:de.a.object,animation:de.a.object,transitionName:de.a.oneOfType([de.a.string,de.a.object]),transitionEnter:de.a.bool,transitionAppear:de.a.bool,exclusive:de.a.bool,transitionLeave:de.a.bool,onEnd:de.a.func,onEnter:de.a.func,onLeave:de.a.func,onAppear:de.a.func,showProp:de.a.string,children:de.a.node},sr.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:ar,onEnter:ar,onLeave:ar,onAppear:ar};var lr=function(){var e=this;this.performEnter=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillEnter(e.handleDoneAdding.bind(e,t,"enter")))},this.performAppear=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillAppear(e.handleDoneAdding.bind(e,t,"appear")))},this.handleDoneAdding=function(t,n){var r=e.props;if(delete e.currentlyAnimatingKeys[t],!r.exclusive||r===e.nextProps){var o=xn(ir(r));e.isValidChildByKey(o,t)?"appear"===n?Jn(r)&&(r.onAppear(t),r.onEnd(t,!0)):Qn(r)&&(r.onEnter(t),r.onEnd(t,!0)):e.performLeave(t)}},this.performLeave=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillLeave(e.handleDoneLeaving.bind(e,t)))},this.handleDoneLeaving=function(t){var n=e.props;if(delete e.currentlyAnimatingKeys[t],!n.exclusive||n===e.nextProps){var r,o,i,a,s=xn(ir(n));if(e.isValidChildByKey(s,t))e.performEnter(t);else{var l=function(){er(n)&&(n.onLeave(t),n.onEnd(t,!1))};r=e.state.children,o=s,i=n.showProp,(a=r.length===o.length)&&r.forEach((function(e,t){var n=o[t];e&&n&&(e&&!n||!e&&n||e.key!==n.key||i&&e.props[i]!==n.props[i])&&(a=!1)})),a?l():e.setState({children:s},l)}}}},cr=function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");return"function"!=typeof t.componentWillReceiveProps?e:o.a.Profiler?(t.UNSAFE_componentWillReceiveProps=t.componentWillReceiveProps,delete t.componentWillReceiveProps,e):e}(sr),ur=n(258),dr=n.n(ur),fr=function(e){function t(){return He()(this,t),Ge()(this,e.apply(this,arguments))}return Be()(t,e),t.prototype.shouldComponentUpdate=function(e){return e.hiddenClassName||e.visible},t.prototype.render=function(){var e=this.props,t=e.hiddenClassName,n=e.visible,r=dr()(e,["hiddenClassName","visible"]);return t||o.a.Children.count(r.children)>1?(!n&&t&&(r.className+=" "+t),o.a.createElement("div",r)):o.a.Children.only(r.children)},t}(r.Component);fr.propTypes={children:de.a.any,className:de.a.string,visible:de.a.bool,hiddenClassName:de.a.string};var pr=fr,hr=function(e){function t(){return He()(this,t),Ge()(this,e.apply(this,arguments))}return Be()(t,e),t.prototype.render=function(){var e=this.props,t=e.className;return e.visible||(t+=" "+e.hiddenClassName),o.a.createElement("div",{className:t,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onMouseDown:e.onMouseDown,onTouchStart:e.onTouchStart,style:e.style},o.a.createElement(pr,{className:e.prefixCls+"-content",visible:e.visible},e.children))},t}(r.Component);hr.propTypes={hiddenClassName:de.a.string,className:de.a.string,prefixCls:de.a.string,onMouseEnter:de.a.func,onMouseLeave:de.a.func,onMouseDown:de.a.func,onTouchStart:de.a.func,children:de.a.any};var vr=hr,gr=function(e){function t(n){He()(this,t);var r=Ge()(this,e.call(this,n));return mr.call(r),r.state={stretchChecked:!1,targetWidth:void 0,targetHeight:void 0},r.savePopupRef=dt.bind(r,"popupInstance"),r.saveAlignRef=dt.bind(r,"alignInstance"),r}return Be()(t,e),t.prototype.componentDidMount=function(){this.rootNode=this.getPopupDomNode(),this.setStretchSize()},t.prototype.componentDidUpdate=function(){this.setStretchSize()},t.prototype.getPopupDomNode=function(){return a.a.findDOMNode(this.popupInstance)},t.prototype.getMaskTransitionName=function(){var e=this.props,t=e.maskTransitionName,n=e.maskAnimation;return!t&&n&&(t=e.prefixCls+"-"+n),t},t.prototype.getTransitionName=function(){var e=this.props,t=e.transitionName;return!t&&e.animation&&(t=e.prefixCls+"-"+e.animation),t},t.prototype.getClassName=function(e){return this.props.prefixCls+" "+this.props.className+" "+e},t.prototype.getPopupElement=function(){var e=this,t=this.savePopupRef,n=this.state,r=n.stretchChecked,i=n.targetHeight,a=n.targetWidth,s=this.props,l=s.align,c=s.visible,u=s.prefixCls,d=s.style,f=s.getClassNameFromAlign,p=s.destroyPopupOnHide,h=s.stretch,v=s.children,g=s.onMouseEnter,m=s.onMouseLeave,y=s.onMouseDown,b=s.onTouchStart,_=this.getClassName(this.currentAlignClassName||f(l)),w=u+"-hidden";c||(this.currentAlignClassName=null);var S={};h&&(-1!==h.indexOf("height")?S.height=i:-1!==h.indexOf("minHeight")&&(S.minHeight=i),-1!==h.indexOf("width")?S.width=a:-1!==h.indexOf("minWidth")&&(S.minWidth=a),r||(S.visibility="hidden",setTimeout((function(){e.alignInstance&&e.alignInstance.forceAlign()}),0)));var C={className:_,prefixCls:u,ref:t,onMouseEnter:g,onMouseLeave:m,onMouseDown:y,onTouchStart:b,style:_e()({},S,d,this.getZIndexStyle())};return p?o.a.createElement(cr,{component:"",exclusive:!0,transitionAppear:!0,transitionName:this.getTransitionName()},c?o.a.createElement(Sn,{target:this.getAlignTarget(),key:"popup",ref:this.saveAlignRef,monitorWindowResize:!0,align:l,onAlign:this.onAlign},o.a.createElement(vr,_e()({visible:!0},C),v)):null):o.a.createElement(cr,{component:"",exclusive:!0,transitionAppear:!0,transitionName:this.getTransitionName(),showProp:"xVisible"},o.a.createElement(Sn,{target:this.getAlignTarget(),key:"popup",ref:this.saveAlignRef,monitorWindowResize:!0,xVisible:c,childrenProps:{visible:"xVisible"},disabled:!c,align:l,onAlign:this.onAlign},o.a.createElement(vr,_e()({hiddenClassName:w},C),v)))},t.prototype.getZIndexStyle=function(){var e={},t=this.props;return void 0!==t.zIndex&&(e.zIndex=t.zIndex),e},t.prototype.getMaskElement=function(){var e=this.props,t=void 0;if(e.mask){var n=this.getMaskTransitionName();t=o.a.createElement(pr,{style:this.getZIndexStyle(),key:"mask",className:e.prefixCls+"-mask",hiddenClassName:e.prefixCls+"-mask-hidden",visible:e.visible}),n&&(t=o.a.createElement(cr,{key:"mask",showProp:"visible",transitionAppear:!0,component:"",transitionName:n},t))}return t},t.prototype.render=function(){return o.a.createElement("div",null,this.getMaskElement(),this.getPopupElement())},t}(r.Component);gr.propTypes={visible:de.a.bool,style:de.a.object,getClassNameFromAlign:de.a.func,onAlign:de.a.func,getRootDomNode:de.a.func,align:de.a.any,destroyPopupOnHide:de.a.bool,className:de.a.string,prefixCls:de.a.string,onMouseEnter:de.a.func,onMouseLeave:de.a.func,onMouseDown:de.a.func,onTouchStart:de.a.func,stretch:de.a.string,children:de.a.node,point:de.a.shape({pageX:de.a.number,pageY:de.a.number})};var mr=function(){var e=this;this.onAlign=function(t,n){var r=e.props,o=r.getClassNameFromAlign(n);e.currentAlignClassName!==o&&(e.currentAlignClassName=o,t.className=e.getClassName(o)),r.onAlign(t,n)},this.setStretchSize=function(){var t=e.props,n=t.stretch,r=t.getRootDomNode,o=t.visible,i=e.state,a=i.stretchChecked,s=i.targetHeight,l=i.targetWidth;if(n&&o){var c=r();if(c){var u=c.offsetHeight,d=c.offsetWidth;s===u&&l===d&&a||e.setState({stretchChecked:!0,targetHeight:u,targetWidth:d})}}else a&&e.setState({stretchChecked:!1})},this.getTargetElement=function(){return e.props.getRootDomNode()},this.getAlignTarget=function(){return e.props.point||e.getTargetElement}},yr=gr;function br(){}var _r=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"],wr=!!i.createPortal,Sr={rcTrigger:de.a.shape({onPopupMouseDown:de.a.func})},Cr=function(e){function t(n){He()(this,t);var r=Ge()(this,e.call(this,n));Or.call(r);var o;return o="popupVisible"in n?!!n.popupVisible:!!n.defaultPopupVisible,r.state={prevPopupVisible:o,popupVisible:o},_r.forEach((function(e){r["fire"+e]=function(t){r.fireEvents(e,t)}})),r}return Be()(t,e),t.prototype.getChildContext=function(){return{rcTrigger:{onPopupMouseDown:this.onPopupMouseDown}}},t.prototype.componentDidMount=function(){this.componentDidUpdate({},{popupVisible:this.state.popupVisible})},t.prototype.componentDidUpdate=function(e,t){var n=this.props,r=this.state;if(wr||this.renderComponent(null,(function(){t.popupVisible!==r.popupVisible&&n.afterPopupVisibleChange(r.popupVisible)})),r.popupVisible){var o=void 0;return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(o=n.getDocument(),this.clickOutsideHandler=Xe(o,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(o=o||n.getDocument(),this.touchOutsideHandler=Xe(o,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(o=o||n.getDocument(),this.contextMenuOutsideHandler1=Xe(o,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Xe(window,"blur",this.onContextMenuClose)))}this.clearOutsideHandler()},t.prototype.componentWillUnmount=function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)},t.getDerivedStateFromProps=function(e,t){var n=e.popupVisible,r={};return void 0!==n&&t.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=t.popupVisible),r},t.prototype.getPopupDomNode=function(){return this._component&&this._component.getPopupDomNode?this._component.getPopupDomNode():null},t.prototype.getPopupAlign=function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?function(e,t,n){var r=e[t]||{};return _e()({},r,n)}(r,t,n):n},t.prototype.setPopupVisible=function(e,t){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:r}),this.props.onPopupVisibleChange(e)),n&&t&&this.setPoint(t)},t.prototype.delaySetPopupVisible=function(e,t,n){var r=this,o=1e3*t;if(this.clearDelayTimer(),o){var i=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=setTimeout((function(){r.setPopupVisible(e,i),r.clearDelayTimer()}),o)}else this.setPopupVisible(e,n)},t.prototype.clearDelayTimer=function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},t.prototype.clearOutsideHandler=function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},t.prototype.createTwoChains=function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire"+e]:t[e]||n[e]},t.prototype.isClickToShow=function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")},t.prototype.isContextMenuToShow=function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")},t.prototype.isClickToHide=function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")},t.prototype.isMouseEnterToShow=function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")},t.prototype.isMouseLeaveToHide=function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")},t.prototype.isFocusToShow=function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")},t.prototype.isBlurToHide=function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")},t.prototype.forcePopupAlign=function(){this.state.popupVisible&&this._component&&this._component.alignInstance&&this._component.alignInstance.forceAlign()},t.prototype.fireEvents=function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)},t.prototype.close=function(){this.setPopupVisible(!1)},t.prototype.render=function(){var e=this,t=this.state.popupVisible,n=this.props,r=n.children,i=n.forceRender,a=n.alignPoint,s=n.className,l=o.a.Children.only(r),c={key:"trigger"};this.isContextMenuToShow()?c.onContextMenu=this.onContextMenu:c.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(c.onClick=this.onClick,c.onMouseDown=this.onMouseDown,c.onTouchStart=this.onTouchStart):(c.onClick=this.createTwoChains("onClick"),c.onMouseDown=this.createTwoChains("onMouseDown"),c.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(c.onMouseEnter=this.onMouseEnter,a&&(c.onMouseMove=this.onMouseMove)):c.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?c.onMouseLeave=this.onMouseLeave:c.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(c.onFocus=this.onFocus,c.onBlur=this.onBlur):(c.onFocus=this.createTwoChains("onFocus"),c.onBlur=this.createTwoChains("onBlur"));var u=De()(l&&l.props&&l.props.className,s);u&&(c.className=u);var d=o.a.cloneElement(l,c);if(!wr)return o.a.createElement(nt,{parent:this,visible:t,autoMount:!1,forceRender:i,getComponent:this.getComponent,getContainer:this.getContainer},(function(t){var n=t.renderComponent;return e.renderComponent=n,d}));var f=void 0;return(t||this._component||i)&&(f=o.a.createElement(ct,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),[d,f]},t}(o.a.Component);Cr.propTypes={children:de.a.any,action:de.a.oneOfType([de.a.string,de.a.arrayOf(de.a.string)]),showAction:de.a.any,hideAction:de.a.any,getPopupClassNameFromAlign:de.a.any,onPopupVisibleChange:de.a.func,afterPopupVisibleChange:de.a.func,popup:de.a.oneOfType([de.a.node,de.a.func]).isRequired,popupStyle:de.a.object,prefixCls:de.a.string,popupClassName:de.a.string,className:de.a.string,popupPlacement:de.a.string,builtinPlacements:de.a.object,popupTransitionName:de.a.oneOfType([de.a.string,de.a.object]),popupAnimation:de.a.any,mouseEnterDelay:de.a.number,mouseLeaveDelay:de.a.number,zIndex:de.a.number,focusDelay:de.a.number,blurDelay:de.a.number,getPopupContainer:de.a.func,getDocument:de.a.func,forceRender:de.a.bool,destroyPopupOnHide:de.a.bool,mask:de.a.bool,maskClosable:de.a.bool,onPopupAlign:de.a.func,popupAlign:de.a.object,popupVisible:de.a.bool,defaultPopupVisible:de.a.bool,maskTransitionName:de.a.oneOfType([de.a.string,de.a.object]),maskAnimation:de.a.string,stretch:de.a.string,alignPoint:de.a.bool},Cr.contextTypes=Sr,Cr.childContextTypes=Sr,Cr.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:function(){return""},getDocument:function(){return window.document},onPopupVisibleChange:br,afterPopupVisibleChange:br,onPopupAlign:br,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[]};var Or=function(){var e=this;this.onMouseEnter=function(t){var n=e.props.mouseEnterDelay;e.fireEvents("onMouseEnter",t),e.delaySetPopupVisible(!0,n,n?null:t)},this.onMouseMove=function(t){e.fireEvents("onMouseMove",t),e.setPoint(t)},this.onMouseLeave=function(t){e.fireEvents("onMouseLeave",t),e.delaySetPopupVisible(!1,e.props.mouseLeaveDelay)},this.onPopupMouseEnter=function(){e.clearDelayTimer()},this.onPopupMouseLeave=function(t){t.relatedTarget&&!t.relatedTarget.setTimeout&&e._component&&e._component.getPopupDomNode&&Ke(e._component.getPopupDomNode(),t.relatedTarget)||e.delaySetPopupVisible(!1,e.props.mouseLeaveDelay)},this.onFocus=function(t){e.fireEvents("onFocus",t),e.clearDelayTimer(),e.isFocusToShow()&&(e.focusTime=Date.now(),e.delaySetPopupVisible(!0,e.props.focusDelay))},this.onMouseDown=function(t){e.fireEvents("onMouseDown",t),e.preClickTime=Date.now()},this.onTouchStart=function(t){e.fireEvents("onTouchStart",t),e.preTouchTime=Date.now()},this.onBlur=function(t){e.fireEvents("onBlur",t),e.clearDelayTimer(),e.isBlurToHide()&&e.delaySetPopupVisible(!1,e.props.blurDelay)},this.onContextMenu=function(t){t.preventDefault(),e.fireEvents("onContextMenu",t),e.setPopupVisible(!0,t)},this.onContextMenuClose=function(){e.isContextMenuToShow()&&e.close()},this.onClick=function(t){if(e.fireEvents("onClick",t),e.focusTime){var n=void 0;if(e.preClickTime&&e.preTouchTime?n=Math.min(e.preClickTime,e.preTouchTime):e.preClickTime?n=e.preClickTime:e.preTouchTime&&(n=e.preTouchTime),Math.abs(n-e.focusTime)<20)return;e.focusTime=0}e.preClickTime=0,e.preTouchTime=0,e.isClickToShow()&&(e.isClickToHide()||e.isBlurToHide())&&t&&t.preventDefault&&t.preventDefault();var r=!e.state.popupVisible;(e.isClickToHide()&&!r||r&&e.isClickToShow())&&e.setPopupVisible(!e.state.popupVisible,t)},this.onPopupMouseDown=function(){var t=e.context.rcTrigger,n=void 0===t?{}:t;e.hasPopupMouseDown=!0,clearTimeout(e.mouseDownTimeout),e.mouseDownTimeout=setTimeout((function(){e.hasPopupMouseDown=!1}),0),n.onPopupMouseDown&&n.onPopupMouseDown.apply(n,arguments)},this.onDocumentClick=function(t){if(!e.props.mask||e.props.maskClosable){var n=t.target;Ke(Object(i.findDOMNode)(e),n)||e.hasPopupMouseDown||e.close()}},this.getRootDomNode=function(){return Object(i.findDOMNode)(e)},this.getPopupClassNameFromAlign=function(t){var n=[],r=e.props,o=r.popupPlacement,i=r.builtinPlacements,a=r.prefixCls,s=r.alignPoint,l=r.getPopupClassNameFromAlign;return o&&i&&n.push(function(e,t,n,r){var o=n.points;for(var i in e)if(e.hasOwnProperty(i)&&ut(e[i].points,o,r))return t+"-placement-"+i;return""}(i,a,t,s)),l&&n.push(l(t)),n.join(" ")},this.getComponent=function(){var t=e.props,n=t.prefixCls,r=t.destroyPopupOnHide,i=t.popupClassName,a=t.action,s=t.onPopupAlign,l=t.popupAnimation,c=t.popupTransitionName,u=t.popupStyle,d=t.mask,f=t.maskAnimation,p=t.maskTransitionName,h=t.zIndex,v=t.popup,g=t.stretch,m=t.alignPoint,y=e.state,b=y.popupVisible,_=y.point,w=e.getPopupAlign(),S={};return e.isMouseEnterToShow()&&(S.onMouseEnter=e.onPopupMouseEnter),e.isMouseLeaveToHide()&&(S.onMouseLeave=e.onPopupMouseLeave),S.onMouseDown=e.onPopupMouseDown,S.onTouchStart=e.onPopupMouseDown,o.a.createElement(yr,_e()({prefixCls:n,destroyPopupOnHide:r,visible:b,point:m&&_,className:i,action:a,align:w,onAlign:s,animation:l,getClassNameFromAlign:e.getPopupClassNameFromAlign},S,{stretch:g,getRootDomNode:e.getRootDomNode,style:u,mask:d,zIndex:h,transitionName:c,maskAnimation:f,maskTransitionName:p,ref:e.savePopup}),"function"==typeof v?v():v)},this.getContainer=function(){var t=e.props,n=document.createElement("div");return n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",(t.getPopupContainer?t.getPopupContainer(Object(i.findDOMNode)(e)):t.getDocument().body).appendChild(n),n},this.setPoint=function(t){e.props.alignPoint&&t&&e.setState({point:{pageX:t.pageX,pageY:t.pageY}})},this.handlePortalUpdate=function(){e.state.prevPopupVisible!==e.state.popupVisible&&e.props.afterPopupVisibleChange(e.state.popupVisible)},this.savePopup=function(t){e._component=t}};Object(Ve.polyfill)(Cr);var xr=Cr,Tr=Se()({displayName:"SubPopupMenu",propTypes:{onSelect:de.a.func,onClick:de.a.func,onDeselect:de.a.func,onOpenChange:de.a.func,onDestroy:de.a.func,openTransitionName:de.a.string,openAnimation:de.a.oneOfType([de.a.string,de.a.object]),openKeys:de.a.arrayOf(de.a.string),visible:de.a.bool,children:de.a.any},mixins:[Le],getInitialState:function(){var e,t=this.props;return t.store.setState({activeKey:_e()({},t.store.getState().activeKey,(e={},e[t.eventKey]=je(t,t.activeKey),e))}),{}},componentDidMount:function(){this.props.manualRef&&this.props.manualRef(this)},onDeselect:function(e){this.props.onDeselect(e)},onSelect:function(e){this.props.onSelect(e)},onClick:function(e){this.props.onClick(e)},onOpenChange:function(e){this.props.onOpenChange(e)},onDestroy:function(e){this.props.onDestroy(e)},getOpenTransitionName:function(){return this.props.openTransitionName},renderMenuItem:function(e,t,n,r){if(!e)return null;var o=this.props,i={openKeys:o.openKeys,selectedKeys:o.selectedKeys,triggerSubMenuAction:o.triggerSubMenuAction,subMenuKey:r};return this.renderCommonMenuItem(e,t,n,i)},render:function(){var e=_e()({},this.props),t=this.haveRendered;if(this.haveRendered=!0,this.haveOpened=this.haveOpened||e.visible||e.forceSubMenuRender,!this.haveOpened)return null;var n=!(!t&&e.visible&&"inline"===e.mode);e.className+=" "+e.prefixCls+"-sub";var r={};return e.openTransitionName?r.transitionName=e.openTransitionName:"object"==typeof e.openAnimation&&(r.animation=_e()({},e.openAnimation),n||delete r.animation.appear),o.a.createElement(cr,_e()({},r,{showProp:"visible",component:"",transitionAppear:n}),this.renderRoot(e))}}),kr=Object(Ce.connect)()(Tr),Dr={adjustX:1,adjustY:1},Er={topLeft:{points:["bl","tl"],overflow:Dr,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Dr,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Dr,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Dr,offset:[4,0]}},Ir=0,Pr={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Mr=function(e,t,n){var r,o=Pe(t),i=e.getState();e.setState({defaultActiveFirst:_e()({},i.defaultActiveFirst,(r={},r[o]=n,r))})},Rr=Se()({displayName:"SubMenu",propTypes:{parentMenu:de.a.object,title:de.a.node,children:de.a.any,selectedKeys:de.a.array,openKeys:de.a.array,onClick:de.a.func,onOpenChange:de.a.func,rootPrefixCls:de.a.string,eventKey:de.a.string,multiple:de.a.bool,active:de.a.bool,onItemHover:de.a.func,onSelect:de.a.func,triggerSubMenuAction:de.a.string,onDeselect:de.a.func,onDestroy:de.a.func,onMouseEnter:de.a.func,onMouseLeave:de.a.func,onTitleMouseEnter:de.a.func,onTitleMouseLeave:de.a.func,onTitleClick:de.a.func,isOpen:de.a.bool},isRootMenu:!1,getDefaultProps:function(){return{onMouseEnter:Ee,onMouseLeave:Ee,onTitleMouseEnter:Ee,onTitleMouseLeave:Ee,onTitleClick:Ee,title:""}},getInitialState:function(){this.isSubMenu=1;var e=this.props,t=e.store,n=e.eventKey,r=t.getState().defaultActiveFirst,o=!1;return r&&(o=r[n]),Mr(t,n,o),{}},componentDidMount:function(){this.componentDidUpdate(),this.props.manualRef&&this.props.manualRef(this)},componentDidUpdate:function(){var e=this,t=this.props,n=t.mode,r=t.parentMenu;"horizontal"===n&&r.isRootMenu&&this.props.isOpen&&(this.minWidthTimeout=setTimeout((function(){if(e.subMenuTitle&&e.menuInstance){var t=a.a.findDOMNode(e.menuInstance);t.offsetWidth>=e.subMenuTitle.offsetWidth||(t.style.minWidth=e.subMenuTitle.offsetWidth+"px")}}),0))},componentWillUnmount:function(){var e=this.props,t=e.onDestroy,n=e.eventKey;t&&t(n),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)},onDestroy:function(e){this.props.onDestroy(e)},onKeyDown:function(e){var t=e.keyCode,n=this.menuInstance,r=this.props,o=r.isOpen,i=r.store;if(t===xe.ENTER)return this.onTitleClick(e),Mr(i,this.props.eventKey,!0),!0;if(t===xe.RIGHT)return o?n.onKeyDown(e):(this.triggerOpenChange(!0),Mr(i,this.props.eventKey,!0)),!0;if(t===xe.LEFT){var a=void 0;if(!o)return;return(a=n.onKeyDown(e))||(this.triggerOpenChange(!1),a=!0),a}return!o||t!==xe.UP&&t!==xe.DOWN?void 0:n.onKeyDown(e)},onOpenChange:function(e){this.props.onOpenChange(e)},onPopupVisibleChange:function(e){this.triggerOpenChange(e,e?"mouseenter":"mouseleave")},onMouseEnter:function(e){var t=this.props,n=t.eventKey,r=t.onMouseEnter,o=t.store;Mr(o,this.props.eventKey,!1),r({key:n,domEvent:e})},onMouseLeave:function(e){var t=this.props,n=t.parentMenu,r=t.eventKey,o=t.onMouseLeave;n.subMenuInstance=this,o({key:r,domEvent:e})},onTitleMouseEnter:function(e){var t=this.props,n=t.eventKey,r=t.onItemHover,o=t.onTitleMouseEnter;r({key:n,hover:!0}),o({key:n,domEvent:e})},onTitleMouseLeave:function(e){var t=this.props,n=t.parentMenu,r=t.eventKey,o=t.onItemHover,i=t.onTitleMouseLeave;n.subMenuInstance=this,o({key:r,hover:!1}),i({key:r,domEvent:e})},onTitleClick:function(e){var t=this.props;t.onTitleClick({key:t.eventKey,domEvent:e}),"hover"!==t.triggerSubMenuAction&&(this.triggerOpenChange(!t.isOpen,"click"),Mr(t.store,this.props.eventKey,!1))},onSubMenuClick:function(e){this.props.onClick(this.addKeyPath(e))},onSelect:function(e){this.props.onSelect(e)},onDeselect:function(e){this.props.onDeselect(e)},getPrefixCls:function(){return this.props.rootPrefixCls+"-submenu"},getActiveClassName:function(){return this.getPrefixCls()+"-active"},getDisabledClassName:function(){return this.getPrefixCls()+"-disabled"},getSelectedClassName:function(){return this.getPrefixCls()+"-selected"},getOpenClassName:function(){return this.props.rootPrefixCls+"-submenu-open"},saveMenuInstance:function(e){this.menuInstance=e},addKeyPath:function(e){return _e()({},e,{keyPath:(e.keyPath||[]).concat(this.props.eventKey)})},triggerOpenChange:function(e,t){var n=this,r=this.props.eventKey,o=function(){n.onOpenChange({key:r,item:n,trigger:t,open:e})};"mouseenter"===t?this.mouseenterTimeout=setTimeout((function(){o()}),0):o()},isChildrenSelected:function(){var e={find:!1};return function e(t,n,r){t&&!r.find&&o.a.Children.forEach(t,(function(t){if(!r.find&&t){var o=t.type;if(!o||!(o.isSubMenu||o.isMenuItem||o.isMenuItemGroup))return;-1!==n.indexOf(t.key)?r.find=!0:t.props.children&&e(t.props.children,n,r)}}))}(this.props.children,this.props.selectedKeys,e),e.find},isOpen:function(){return-1!==this.props.openKeys.indexOf(this.props.eventKey)},renderChildren:function(e){var t=this.props,n={mode:"horizontal"===t.mode?"vertical":t.mode,visible:this.props.isOpen,level:t.level+1,inlineIndent:t.inlineIndent,focusable:!1,onClick:this.onSubMenuClick,onSelect:this.onSelect,onDeselect:this.onDeselect,onDestroy:this.onDestroy,selectedKeys:t.selectedKeys,eventKey:t.eventKey+"-menu-",openKeys:t.openKeys,openTransitionName:t.openTransitionName,openAnimation:t.openAnimation,onOpenChange:this.onOpenChange,subMenuOpenDelay:t.subMenuOpenDelay,subMenuCloseDelay:t.subMenuCloseDelay,forceSubMenuRender:t.forceSubMenuRender,triggerSubMenuAction:t.triggerSubMenuAction,defaultActiveFirst:t.store.getState().defaultActiveFirst[Pe(t.eventKey)],multiple:t.multiple,prefixCls:t.rootPrefixCls,id:this._menuId,manualRef:this.saveMenuInstance};return o.a.createElement(kr,n,e)},saveSubMenuTitle:function(e){this.subMenuTitle=e},render:function(){var e,t=this.props,n=t.isOpen,r=this.getPrefixCls(),i="inline"===t.mode,a=De()(r,r+"-"+t.mode,((e={})[t.className]=!!t.className,e[this.getOpenClassName()]=n,e[this.getActiveClassName()]=t.active||n&&!i,e[this.getDisabledClassName()]=t.disabled,e[this.getSelectedClassName()]=this.isChildrenSelected(),e));this._menuId||(t.eventKey?this._menuId=t.eventKey+"$Menu":this._menuId="$__$"+ ++Ir+"$Menu");var s={},l={},c={};t.disabled||(s={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},l={onClick:this.onTitleClick},c={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var u={};i&&(u.paddingLeft=t.inlineIndent*t.level);var d=o.a.createElement("div",_e()({ref:this.saveSubMenuTitle,style:u,className:r+"-title"},c,l,{"aria-expanded":n,"aria-owns":this._menuId,"aria-haspopup":"true",title:"string"==typeof t.title?t.title:void 0}),t.title,o.a.createElement("i",{className:r+"-arrow"})),f=this.renderChildren(t.children),p=t.parentMenu.isRootMenu?t.parentMenu.props.getPopupContainer:function(e){return e.parentNode},h=Pr[t.mode],v="inline"===t.mode?"":t.popupClassName;return o.a.createElement("li",_e()({},s,{className:a,style:t.style}),i&&d,i&&f,!i&&o.a.createElement(xr,{prefixCls:r,popupClassName:r+"-popup "+v,getPopupContainer:p,builtinPlacements:Er,popupPlacement:h,popupVisible:n,popup:f,action:t.disabled?[]:[t.triggerSubMenuAction],mouseEnterDelay:t.subMenuOpenDelay,mouseLeaveDelay:t.subMenuCloseDelay,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:t.forceSubMenuRender},d))}});Rr.isSubMenu=1;var Nr=Object(Ce.connect)((function(e,t){var n=e.openKeys,r=e.activeKey,o=t.eventKey,i=t.subMenuKey;return{isOpen:n.indexOf(o)>-1,active:r[i]===o}}))(Rr),jr=n(259),Ar=n.n(jr),Lr=Se()({displayName:"MenuItem",propTypes:{rootPrefixCls:de.a.string,eventKey:de.a.string,active:de.a.bool,children:de.a.any,selectedKeys:de.a.array,disabled:de.a.bool,title:de.a.string,onItemHover:de.a.func,onSelect:de.a.func,onClick:de.a.func,onDeselect:de.a.func,parentMenu:de.a.object,onDestroy:de.a.func,onMouseEnter:de.a.func,onMouseLeave:de.a.func},getDefaultProps:function(){return{onSelect:Ee,onMouseEnter:Ee,onMouseLeave:Ee}},componentWillUnmount:function(){var e=this.props;e.onDestroy&&e.onDestroy(e.eventKey)},componentDidMount:function(){this.callRef()},componentDidUpdate:function(){this.props.active&&Ar()(a.a.findDOMNode(this),a.a.findDOMNode(this.props.parentMenu),{onlyScrollIfNeeded:!0}),this.callRef()},onKeyDown:function(e){if(e.keyCode===xe.ENTER)return this.onClick(e),!0},onMouseLeave:function(e){var t=this.props,n=t.eventKey,r=t.onItemHover,o=t.onMouseLeave;r({key:n,hover:!1}),o({key:n,domEvent:e})},onMouseEnter:function(e){var t=this.props,n=t.eventKey,r=t.onItemHover,o=t.onMouseEnter;r({key:n,hover:!0}),o({key:n,domEvent:e})},onClick:function(e){var t=this.props,n=t.eventKey,r=t.multiple,o=t.onClick,i=t.onSelect,a=t.onDeselect,s=t.isSelected,l={key:n,keyPath:[n],item:this,domEvent:e};o(l),r?s?a(l):i(l):s||i(l)},getPrefixCls:function(){return this.props.rootPrefixCls+"-item"},getActiveClassName:function(){return this.getPrefixCls()+"-active"},getSelectedClassName:function(){return this.getPrefixCls()+"-selected"},getDisabledClassName:function(){return this.getPrefixCls()+"-disabled"},callRef:function(){this.props.manualRef&&this.props.manualRef(this)},render:function(){var e,t=this.props,n=De()(this.getPrefixCls(),t.className,((e={})[this.getActiveClassName()]=!t.disabled&&t.active,e[this.getSelectedClassName()]=t.isSelected,e[this.getDisabledClassName()]=t.disabled,e)),r=_e()({},t.attribute,{title:t.title,className:n,role:"menuitem","aria-selected":t.isSelected,"aria-disabled":t.disabled}),i={};t.disabled||(i={onClick:this.onClick,onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter});var a=_e()({},t.style);return"inline"===t.mode&&(a.paddingLeft=t.inlineIndent*t.level),o.a.createElement("li",_e()({},r,i,{style:a}),t.children)}});Lr.isMenuItem=1;var zr=Object(Ce.connect)((function(e,t){var n=e.activeKey,r=e.selectedKeys,o=t.eventKey;return{active:n[t.subMenuKey]===o,isSelected:-1!==r.indexOf(o)}}))(Lr);Se()({displayName:"MenuItemGroup",propTypes:{renderMenuItem:de.a.func,index:de.a.number,className:de.a.string,rootPrefixCls:de.a.string},getDefaultProps:function(){return{disabled:!0}},renderInnerMenuItem:function(e,t){var n=this.props;return(0,n.renderMenuItem)(e,n.index,t,this.props.subMenuKey)},render:function(){var e=this.props,t=e.className,n=void 0===t?"":t,r=e.rootPrefixCls,i=r+"-item-group-title",a=r+"-item-group-list";return o.a.createElement("li",{className:n+" "+r+"-item-group"},o.a.createElement("div",{className:i,title:"string"==typeof e.title?e.title:void 0},e.title),o.a.createElement("ul",{className:a},o.a.Children.map(e.children,this.renderInnerMenuItem)))}}).isMenuItemGroup=!0;var Fr=function(e){function t(){return He()(this,t),Ge()(this,e.apply(this,arguments))}return Be()(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=void 0===t?"":t,r=e.rootPrefixCls;return o.a.createElement("li",{className:n+" "+r+"-item-divider"})},t}(o.a.Component);Fr.propTypes={className:de.a.string,rootPrefixCls:de.a.string},Fr.defaultProps={disabled:!0};var Hr=ze,Wr=(n(62),{InputItemOptions:"InputItemOptions___tUHoF",InputItemButtons:"InputItemButtons___+euIA",InputItemButton:"InputItemButton___H9vF2",InputItemButtonDisabled:"InputItemButtonDisabled___qebKo",InputItemTypeSelect:"InputItemTypeSelect___XZYS0","rc-menu":"rc-menu___ObcjS"});function Gr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Br(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ur(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Vr=Br({},window.wp.i18n).__,Kr=Br({},window.wp.data).dispatch,qr=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.c