WP Recipe Maker - Version 8.3.0

Version Description

  • Feature: Shop Ingredients with Instacart button
  • Improvement: Quick insert icon for group names
  • Improvement: Ability to password protect when using recipes as a public post type
  • Improvement: Automatic alt tag for external roundup images when not saved locally
  • Improvement: New shopping cart icons for the template editor
  • Fix: Snippets showing up for password protected posts
  • Fix: Template editor names with non-latin characters
  • Fix: Smooth scroll in Jump to Comments button
  • Fix: Nutrition fields not instantly updating when using comma as decimal character
  • Fix: Gutenberg deprecations
  • Fix: Elementor deprecation warning
  • Fix: Make sure shortcodes work inside of template conditions
Download this release

Release Info

Developer BrechtVds
Plugin Icon 128x128 WP Recipe Maker
Version 8.3.0
Comparing to
See all releases

Code changes from version 8.2.0 to 8.3.0

assets/css/admin/modal/recipe/fields/ingredients.scss CHANGED
@@ -80,10 +80,6 @@
80
 
81
  .wprm-admin-icon {
82
  margin-right: 5px;
83
-
84
- &:last-child {
85
- margin-right: 0;
86
- }
87
  }
88
  }
89
  }
80
 
81
  .wprm-admin-icon {
82
  margin-right: 5px;
 
 
 
 
83
  }
84
  }
85
  }
assets/css/admin/modal/recipe/fields/instructions.scss CHANGED
@@ -94,7 +94,7 @@
94
  }
95
 
96
  .wprm-admin-modal-field-instruction-after-container {
97
- margin-left: 21px;
98
 
99
  .wprm-admin-modal-field-instruction-after-container-icons {
100
  margin: 5px;
@@ -102,10 +102,6 @@
102
 
103
  .wprm-admin-icon {
104
  margin-right: 5px;
105
-
106
- &:last-child {
107
- margin-right: 0;
108
- }
109
  }
110
  }
111
  .wprm-admin-modal-field-instruction-after-container-ingredient,
@@ -237,7 +233,7 @@
237
  }
238
 
239
  .wprm-admin-modal-field-instruction-unused-ingredients {
240
- padding-left: 80px;
241
  margin-left: 0;
242
  width: 40%;
243
  float: right;
94
  }
95
 
96
  .wprm-admin-modal-field-instruction-after-container {
97
+ margin-left: 17px;
98
 
99
  .wprm-admin-modal-field-instruction-after-container-icons {
100
  margin: 5px;
102
 
103
  .wprm-admin-icon {
104
  margin-right: 5px;
 
 
 
 
105
  }
106
  }
107
  .wprm-admin-modal-field-instruction-after-container-ingredient,
233
  }
234
 
235
  .wprm-admin-modal-field-instruction-unused-ingredients {
236
+ padding-left: 100px;
237
  margin-left: 0;
238
  width: 40%;
239
  float: right;
assets/icons/admin/plus-text.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><rect data-element="frame" x="0" y="0" width="16" height="16" rx="4" ry="4" stroke="none" fill="#ffffff"></rect><g class="nc-icon-wrapper" transform="translate(1.5999999999999996 1.5999999999999996) scale(0.8)" stroke-width="1" fill="none" stroke="#111111" stroke-linecap="round" stroke-linejoin="round"><polyline points="0.5 2.5 0.5 0.5 14.5 0.5 14.5 2.5"></polyline><line x1="7.5" y1="0.5" x2="7.5" y2="15.5"></line><line x1="4.5" y1="15.5" x2="10.5" y2="15.5"></line><line x1="13" y1="6" x2="13" y2="11" stroke="#111111"></line><line x1="10.5" y1="8.5" x2="15.5" y2="8.5" stroke="#111111"></line></g></svg>
assets/icons/basket-simple.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g class="nc-icon-wrapper" stroke-width="1" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"><polygon points="12.5,15.5 3.5,15.5 0.5,6.5 15.5,6.5 " data-cap="butt"></polygon> <line x1="3.5" y1="4.5" x2="5.5" y2="0.5" data-cap="butt" stroke="#000000"></line> <line x1="12.5" y1="4.5" x2="10.5" y2="0.5" data-cap="butt" stroke="#000000"></line></g></svg>
assets/icons/basket.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g class="nc-icon-wrapper" stroke-linecap="square" stroke-linejoin="miter" stroke-width="1" transform="translate(0.5 0.5)" fill="none" stroke="#000000" stroke-miterlimit="10"><line x1="12" y1="13" x2="12" y2="17" stroke="#000000"></line> <line x1="8" y1="13" x2="8" y2="17" stroke="#000000"></line> <line x1="16" y1="13" x2="16" y2="17" stroke="#000000"></line> <line data-cap="butt" x1="5" y1="8" x2="9" y2="1" stroke-linecap="butt"></line> <line data-cap="butt" x1="19" y1="8" x2="15" y2="1" stroke-linecap="butt"></line> <path d="M21,12v8a2,2,0,0,1-2,2H5a2,2,0,0,1-2-2V12"></path> <line x1="1" y1="8" x2="23" y2="8"></line></g></svg>
assets/icons/cart-alt.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g class="nc-icon-wrapper" stroke-width="1" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"><polyline points="0.5,0.5 3.5,0.5 3.5,9.5 13.5,9.5 15.5,2.5 6.5,2.5 " data-cap="butt"></polyline> <circle cx="4" cy="14" r="1.5" data-cap="butt" stroke="#000000"></circle> <circle cx="13" cy="14" r="1.5" data-cap="butt" stroke="#000000"></circle></g></svg>
assets/icons/cart-simple-add.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g class="nc-icon-wrapper" stroke-width="1" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"><polyline points="0.5,0.5 3.5,0.5 3.5,9.5 13.5,9.5 15.5,2.5 " data-cap="butt"></polyline> <circle cx="4" cy="14" r="1.5" data-cap="butt" stroke="#000000"></circle> <circle cx="13" cy="14" r="1.5" data-cap="butt" stroke="#000000"></circle> <line x1="9.5" y1="0.5" x2="9.5" y2="6.5" data-cap="butt" stroke="#000000"></line> <line x1="6.5" y1="3.5" x2="12.5" y2="3.5" data-cap="butt" stroke="#000000"></line></g></svg>
assets/icons/cart.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g class="nc-icon-wrapper" stroke-width="1" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"><circle cx="3" cy="14" r="1.5" data-cap="butt" stroke="#000000"></circle> <circle cx="13" cy="14" r="1.5" data-cap="butt" stroke="#000000"></circle> <polyline points="2.5,2.5 14.5,2.5 12.5,7.5 2.5,7.5 " data-cap="butt"></polyline> <polyline id="butt_41_" points=" 0.5,0.5 2.5,2.5 2.5,7.5 0.5,10.5 15.5,10.5 " data-cap="butt"></polyline></g></svg>
assets/js/admin-modal/bulk-edit/ActionsRecipe.js CHANGED
@@ -37,7 +37,8 @@ const ActionsRecipe = (props) => {
37
  // Only for "public" recipe type.
38
  if ( 'public' === wprm_admin.settings.post_type_structure ) {
39
  actionOptions.push(
40
- { value: 'change-status', label: __wprm( 'Change Recipe Status' ), default: 'draft' }
 
41
  );
42
 
43
  if ( wprm_admin_manage.multilingual && 'wpml' === wprm_admin_manage.multilingual.plugin ) {
@@ -134,6 +135,23 @@ const ActionsRecipe = (props) => {
134
  }}
135
  />
136
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  {
138
  'change-language' === selectedAction
139
  &&
37
  // Only for "public" recipe type.
38
  if ( 'public' === wprm_admin.settings.post_type_structure ) {
39
  actionOptions.push(
40
+ { value: 'change-status', label: __wprm( 'Change Recipe Status' ), default: 'draft' },
41
+ { value: 'change-password', label: __wprm( 'Change Password' ), default: '' },
42
  );
43
 
44
  if ( wprm_admin_manage.multilingual && 'wpml' === wprm_admin_manage.multilingual.plugin ) {
135
  }}
136
  />
137
  }
138
+ {
139
+ 'change-password' === selectedAction
140
+ &&
141
+ <FieldText
142
+ name="password"
143
+ placeholder={ __wprm( 'Password' ) }
144
+ value={ props.action.options }
145
+ onChange={ (value) => {
146
+ const newAction = {
147
+ ...props.action,
148
+ options: value,
149
+ }
150
+
151
+ props.onActionChange(newAction);
152
+ }}
153
+ />
154
+ }
155
  {
156
  'change-language' === selectedAction
157
  &&
assets/js/admin-modal/fields/FieldIngredient.js CHANGED
@@ -43,11 +43,17 @@ const group = (props, provided) => (
43
  <div className="wprm-admin-modal-field-ingredient-after-container-icons">
44
  <Icon
45
  type="trash"
 
46
  onClick={ props.onDelete }
47
  />
 
 
 
 
 
48
  <Icon
49
  type="plus"
50
- title={ __wprm( 'Insert After' ) }
51
  onClick={ props.onAdd }
52
  />
53
  </div>
@@ -115,11 +121,17 @@ const ingredient = (props, provided) => {
115
  <div className="wprm-admin-modal-field-ingredient-after-container-icons">
116
  <Icon
117
  type="trash"
 
118
  onClick={ props.onDelete }
119
  />
 
 
 
 
 
120
  <Icon
121
  type="plus"
122
- title={ __wprm( 'Insert After' ) }
123
  onClick={ props.onAdd }
124
  />
125
  </div>
43
  <div className="wprm-admin-modal-field-ingredient-after-container-icons">
44
  <Icon
45
  type="trash"
46
+ title={ __wprm( 'Remove' ) }
47
  onClick={ props.onDelete }
48
  />
49
+ <Icon
50
+ type="plus-text"
51
+ title={ __wprm( 'Insert Group After' ) }
52
+ onClick={ props.onAddGroup }
53
+ />
54
  <Icon
55
  type="plus"
56
+ title={ __wprm( 'Insert Ingredient After' ) }
57
  onClick={ props.onAdd }
58
  />
59
  </div>
121
  <div className="wprm-admin-modal-field-ingredient-after-container-icons">
122
  <Icon
123
  type="trash"
124
+ title={ __wprm( 'Remove' ) }
125
  onClick={ props.onDelete }
126
  />
127
+ <Icon
128
+ type="plus-text"
129
+ title={ __wprm( 'Insert Group After' ) }
130
+ onClick={ props.onAddGroup }
131
+ />
132
  <Icon
133
  type="plus"
134
+ title={ __wprm( 'Insert Ingredient After' ) }
135
  onClick={ props.onAdd }
136
  />
137
  </div>
assets/js/admin-modal/fields/FieldInstruction.js CHANGED
@@ -51,11 +51,17 @@ const group = (props, provided) => (
51
  <div className="wprm-admin-modal-field-instruction-after-container-icons">
52
  <Icon
53
  type="trash"
 
54
  onClick={ props.onDelete }
55
  />
 
 
 
 
 
56
  <Icon
57
  type="plus"
58
- title={ __wprm( 'Insert After' ) }
59
  onClick={ props.onAdd }
60
  />
61
  </div>
@@ -159,11 +165,17 @@ const instruction = (props, provided) => {
159
  <div className="wprm-admin-modal-field-instruction-after-container-icons">
160
  <Icon
161
  type="trash"
 
162
  onClick={ props.onDelete }
163
  />
 
 
 
 
 
164
  <Icon
165
  type="plus"
166
- title={ __wprm( 'Insert After' ) }
167
  onClick={ props.onAdd }
168
  />
169
  </div>
51
  <div className="wprm-admin-modal-field-instruction-after-container-icons">
52
  <Icon
53
  type="trash"
54
+ title={ __wprm( 'Delete' ) }
55
  onClick={ props.onDelete }
56
  />
57
+ <Icon
58
+ type="plus-text"
59
+ title={ __wprm( 'Insert Group After' ) }
60
+ onClick={ props.onAddGroup }
61
+ />
62
  <Icon
63
  type="plus"
64
+ title={ __wprm( 'Insert Instruction After' ) }
65
  onClick={ props.onAdd }
66
  />
67
  </div>
165
  <div className="wprm-admin-modal-field-instruction-after-container-icons">
166
  <Icon
167
  type="trash"
168
+ title={ __wprm( 'Delete' ) }
169
  onClick={ props.onDelete }
170
  />
171
+ <Icon
172
+ type="plus-text"
173
+ title={ __wprm( 'Insert Group After' ) }
174
+ onClick={ props.onAddGroup }
175
+ />
176
  <Icon
177
  type="plus"
178
+ title={ __wprm( 'Insert Instruction After' ) }
179
  onClick={ props.onAdd }
180
  />
181
  </div>
assets/js/admin-modal/recipe/edit/RecipeIngredients/IngredientsEdit.js CHANGED
@@ -166,6 +166,9 @@ export default class IngredientsEdit extends Component {
166
  onAdd={() => {
167
  this.addField('ingredient', index);
168
  }}
 
 
 
169
  />
170
  ))
171
  }
166
  onAdd={() => {
167
  this.addField('ingredient', index);
168
  }}
169
+ onAddGroup={() => {
170
+ this.addField('group', index);
171
+ }}
172
  />
173
  ))
174
  }
assets/js/admin-modal/recipe/edit/RecipeInstructions.js CHANGED
@@ -222,6 +222,9 @@ export default class RecipeInstructions extends Component {
222
  onAdd={() => {
223
  this.addField('instruction', index);
224
  }}
 
 
 
225
  allowVideo={ this.props.allowVideo }
226
  onChangeVideo={ ( video ) => {
227
  let newFields = JSON.parse( JSON.stringify( this.props.instructions ) );
222
  onAdd={() => {
223
  this.addField('instruction', index);
224
  }}
225
+ onAddGroup={() => {
226
+ this.addField('group', index);
227
+ }}
228
  allowVideo={ this.props.allowVideo }
229
  onChangeVideo={ ( video ) => {
230
  let newFields = JSON.parse( JSON.stringify( this.props.instructions ) );
assets/js/admin-modal/recipe/edit/RecipePostType.js CHANGED
@@ -45,6 +45,19 @@ const RecipePostType = (props) => {
45
  />
46
  </FieldContainer>
47
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  <FieldContainer id="post_author" label={ __wprm( 'Post Author' ) }>
49
  <FieldDropdown
50
  options={ wprm_admin_modal.options.post_author }
45
  />
46
  </FieldContainer>
47
  }
48
+ {
49
+ showAll
50
+ &&
51
+ <FieldContainer id="post_password" label={ __wprm( 'Password' ) } help={ __wprm( `Optionally set a password to restrict access to the recipe post.` ) }>
52
+ <FieldText
53
+ name="post-password"
54
+ value={ props.post_password }
55
+ onChange={ (post_password) => {
56
+ props.onRecipeChange( { post_password } );
57
+ }}
58
+ />
59
+ </FieldContainer>
60
+ }
61
  <FieldContainer id="post_author" label={ __wprm( 'Post Author' ) }>
62
  <FieldDropdown
63
  options={ wprm_admin_modal.options.post_author }
assets/js/admin-modal/recipe/edit/index.js CHANGED
@@ -69,6 +69,7 @@ const EditRecipe = (props) => {
69
  <RecipePostType
70
  slug={ props.recipe.slug }
71
  post_status={ props.recipe.post_status }
 
72
  post_author={ props.recipe.post_author }
73
  language={ props.recipe.language }
74
  onRecipeChange={ props.onRecipeChange }
69
  <RecipePostType
70
  slug={ props.recipe.slug }
71
  post_status={ props.recipe.post_status }
72
+ post_password={ props.recipe.post_password }
73
  post_author={ props.recipe.post_author }
74
  language={ props.recipe.language }
75
  onRecipeChange={ props.onRecipeChange }
assets/js/blocks/jump-to-recipe/index.js CHANGED
@@ -1,6 +1,13 @@
1
  const { __ } = wp.i18n;
2
  const { registerBlockType } = wp.blocks;
3
- const { RichText } = wp.editor;
 
 
 
 
 
 
 
4
 
5
  import '../../../css/public/snippets.scss';
6
 
@@ -58,7 +65,7 @@ registerBlockType( 'wp-recipe-maker/jump-to-recipe', {
58
  value={ [text] }
59
  onChange={ ( nextValue ) => richToString( nextValue ) }
60
  multiline={ false }
61
- formattingControls={ [] }
62
  />
63
  </div>
64
  )
1
  const { __ } = wp.i18n;
2
  const { registerBlockType } = wp.blocks;
3
+
4
+ // Backwards compatibility.
5
+ let RichText;
6
+ if ( wp.hasOwnProperty( 'blockEditor' ) ) {
7
+ RichText = wp.blockEditor.RichText;
8
+ } else {
9
+ RichText = wp.editor.RichText;
10
+ }
11
 
12
  import '../../../css/public/snippets.scss';
13
 
65
  value={ [text] }
66
  onChange={ ( nextValue ) => richToString( nextValue ) }
67
  multiline={ false }
68
+ allowedFormats={ [] }
69
  />
70
  </div>
71
  )
assets/js/blocks/jump-to-video/index.js CHANGED
@@ -1,6 +1,13 @@
1
  const { __ } = wp.i18n;
2
  const { registerBlockType } = wp.blocks;
3
- const { RichText } = wp.editor;
 
 
 
 
 
 
 
4
 
5
  import '../../../css/public/snippets.scss';
6
 
@@ -58,7 +65,7 @@ registerBlockType( 'wp-recipe-maker/jump-to-video', {
58
  value={ [text] }
59
  onChange={ ( nextValue ) => richToString( nextValue ) }
60
  multiline={ false }
61
- formattingControls={ [] }
62
  />
63
  </div>
64
  )
1
  const { __ } = wp.i18n;
2
  const { registerBlockType } = wp.blocks;
3
+
4
+ // Backwards compatibility.
5
+ let RichText;
6
+ if ( wp.hasOwnProperty( 'blockEditor' ) ) {
7
+ RichText = wp.blockEditor.RichText;
8
+ } else {
9
+ RichText = wp.editor.RichText;
10
+ }
11
 
12
  import '../../../css/public/snippets.scss';
13
 
65
  value={ [text] }
66
  onChange={ ( nextValue ) => richToString( nextValue ) }
67
  multiline={ false }
68
+ allowedFormats={ [] }
69
  />
70
  </div>
71
  )
assets/js/blocks/nutrition-label/index.js CHANGED
@@ -1,11 +1,18 @@
1
  const { __ } = wp.i18n;
2
  const { registerBlockType } = wp.blocks;
3
- const {
4
- BlockControls,
5
- AlignmentToolbar,
6
- } = wp.editor;
7
  const { Fragment } = wp.element;
8
 
 
 
 
 
 
 
 
 
 
 
 
9
  import '../../../css/blocks/nutrition-label.scss';
10
 
11
  registerBlockType( 'wp-recipe-maker/nutrition-label', {
1
  const { __ } = wp.i18n;
2
  const { registerBlockType } = wp.blocks;
 
 
 
 
3
  const { Fragment } = wp.element;
4
 
5
+ // Backwards compatibility.
6
+ let BlockControls;
7
+ let AlignmentToolbar;
8
+ if ( wp.hasOwnProperty( 'blockEditor' ) ) {
9
+ BlockControls = wp.blockEditor.BlockControls;
10
+ AlignmentToolbar = wp.blockEditor.AlignmentToolbar;
11
+ } else {
12
+ BlockControls = wp.editor.BlockControls;
13
+ AlignmentToolbar = wp.editor.AlignmentToolbar;
14
+ }
15
+
16
  import '../../../css/blocks/nutrition-label.scss';
17
 
18
  registerBlockType( 'wp-recipe-maker/nutrition-label', {
assets/js/blocks/print-recipe/index.js CHANGED
@@ -1,6 +1,13 @@
1
  const { __ } = wp.i18n;
2
  const { registerBlockType } = wp.blocks;
3
- const { RichText } = wp.editor;
 
 
 
 
 
 
 
4
 
5
  import '../../../css/public/snippets.scss';
6
 
@@ -58,7 +65,7 @@ registerBlockType( 'wp-recipe-maker/print-recipe', {
58
  value={ [text] }
59
  onChange={ ( nextValue ) => richToString( nextValue ) }
60
  multiline={ false }
61
- formattingControls={ [] }
62
  />
63
  </div>
64
  )
1
  const { __ } = wp.i18n;
2
  const { registerBlockType } = wp.blocks;
3
+
4
+ // Backwards compatibility.
5
+ let RichText;
6
+ if ( wp.hasOwnProperty( 'blockEditor' ) ) {
7
+ RichText = wp.blockEditor.RichText;
8
+ } else {
9
+ RichText = wp.editor.RichText;
10
+ }
11
 
12
  import '../../../css/public/snippets.scss';
13
 
65
  value={ [text] }
66
  onChange={ ( nextValue ) => richToString( nextValue ) }
67
  multiline={ false }
68
+ allowedFormats={ [] }
69
  />
70
  </div>
71
  )
assets/js/blocks/recipe-part/index.js CHANGED
@@ -2,17 +2,30 @@ const { __ } = wp.i18n;
2
  const { registerBlockType } = wp.blocks;
3
  const {
4
  Button,
5
- ServerSideRender,
6
  PanelBody,
7
  Toolbar,
8
  TextControl,
9
  SelectControl,
10
  } = wp.components;
11
  const { Fragment } = wp.element;
12
- const {
13
- InspectorControls,
14
- BlockControls,
15
- } = wp.editor;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
 
17
  registerBlockType( 'wp-recipe-maker/recipe-part', {
18
  title: __( 'Recipe Part' ),
2
  const { registerBlockType } = wp.blocks;
3
  const {
4
  Button,
 
5
  PanelBody,
6
  Toolbar,
7
  TextControl,
8
  SelectControl,
9
  } = wp.components;
10
  const { Fragment } = wp.element;
11
+
12
+ // Backwards compatibility.
13
+ let InspectorControls;
14
+ let BlockControls;
15
+ if ( wp.hasOwnProperty( 'blockEditor' ) ) {
16
+ InspectorControls = wp.blockEditor.InspectorControls;
17
+ BlockControls = wp.blockEditor.BlockControls;
18
+ } else {
19
+ InspectorControls = wp.editor.InspectorControls;
20
+ BlockControls = wp.editor.BlockControls;
21
+ }
22
+
23
+ let ServerSideRender;
24
+ if ( wp.hasOwnProperty( 'serverSideRender' ) ) {
25
+ ServerSideRender = wp.serverSideRender;
26
+ } else {
27
+ ServerSideRender = wp.components.ServerSideRender;
28
+ }
29
 
30
  registerBlockType( 'wp-recipe-maker/recipe-part', {
31
  title: __( 'Recipe Part' ),
assets/js/blocks/recipe-roundup/Sidebar.js CHANGED
@@ -5,12 +5,17 @@ const {
5
  TextareaControl,
6
  SelectControl,
7
  } = wp.components;
8
- const {
9
- InspectorControls,
10
- } = wp.editor;
11
  const { compose } = wp.compose;
12
  const { withSelect, withDispatch } = wp.data;
13
 
 
 
 
 
 
 
 
 
14
  function Sidebar( props ) {
15
  const { attributes, setAttributes, name, onChangeName, description, onChangeDescription, recipeRoundupCount } = props;
16
 
@@ -90,7 +95,7 @@ function Sidebar( props ) {
90
 
91
  const applyWithSelect = withSelect( ( select, ownProps ) => {
92
  const meta = select( 'core/editor' ).getEditedPostAttribute( 'meta' );
93
- const { getGlobalBlockCount } = select( 'core/editor' );
94
 
95
  const nameMeta = meta['wprm-recipe-roundup-name'];
96
  const name = nameMeta instanceof Array ? nameMeta[0] : nameMeta;
5
  TextareaControl,
6
  SelectControl,
7
  } = wp.components;
 
 
 
8
  const { compose } = wp.compose;
9
  const { withSelect, withDispatch } = wp.data;
10
 
11
+ // Backwards compatibility.
12
+ let InspectorControls;
13
+ if ( wp.hasOwnProperty( 'blockEditor' ) ) {
14
+ InspectorControls = wp.blockEditor.InspectorControls;
15
+ } else {
16
+ InspectorControls = wp.editor.InspectorControls;
17
+ }
18
+
19
  function Sidebar( props ) {
20
  const { attributes, setAttributes, name, onChangeName, description, onChangeDescription, recipeRoundupCount } = props;
21
 
95
 
96
  const applyWithSelect = withSelect( ( select, ownProps ) => {
97
  const meta = select( 'core/editor' ).getEditedPostAttribute( 'meta' );
98
+ const { getGlobalBlockCount } = select( 'core/block-editor' );
99
 
100
  const nameMeta = meta['wprm-recipe-roundup-name'];
101
  const name = nameMeta instanceof Array ? nameMeta[0] : nameMeta;
assets/js/blocks/recipe-roundup/index.js CHANGED
@@ -2,14 +2,26 @@ const { __ } = wp.i18n;
2
  const { registerBlockType } = wp.blocks;
3
  const {
4
  Button,
5
- ServerSideRender,
6
- Toolbar,
7
  } = wp.components;
8
- const {
9
- BlockControls,
10
- } = wp.editor;
11
  const { Fragment } = wp.element;
12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  import Sidebar from './Sidebar';
14
 
15
  import '../../../css/blocks/recipe.scss';
@@ -136,24 +148,22 @@ registerBlockType( 'wp-recipe-maker/recipe-roundup-item', {
136
  <Fragment>
137
  <Sidebar {...props} />
138
  <BlockControls>
139
- <Toolbar
140
- controls={[
141
- {
142
- icon: 'edit',
143
- title: __( 'Edit Recipe' ),
144
- onClick: () => {
145
- WPRM_Modal.open( 'roundup', {
146
- fields: {
147
- roundup: attributes,
148
- },
149
- insertCallback: ( fields ) => {
150
- modalCallback( fields );
151
- },
152
- } );
153
- }
154
- }
155
- ]}
156
- />
157
  </BlockControls>
158
  <ServerSideRender
159
  block="wp-recipe-maker/recipe-roundup-item"
2
  const { registerBlockType } = wp.blocks;
3
  const {
4
  Button,
5
+ ToolbarGroup,
6
+ ToolbarButton,
7
  } = wp.components;
 
 
 
8
  const { Fragment } = wp.element;
9
 
10
+ // Backwards compatibility.
11
+ let BlockControls;
12
+ if ( wp.hasOwnProperty( 'blockEditor' ) ) {
13
+ BlockControls = wp.blockEditor.BlockControls;
14
+ } else {
15
+ BlockControls = wp.editor.BlockControls;
16
+ }
17
+
18
+ let ServerSideRender;
19
+ if ( wp.hasOwnProperty( 'serverSideRender' ) ) {
20
+ ServerSideRender = wp.serverSideRender;
21
+ } else {
22
+ ServerSideRender = wp.components.ServerSideRender;
23
+ }
24
+
25
  import Sidebar from './Sidebar';
26
 
27
  import '../../../css/blocks/recipe.scss';
148
  <Fragment>
149
  <Sidebar {...props} />
150
  <BlockControls>
151
+ <ToolbarGroup>
152
+ <ToolbarButton
153
+ icon="edit"
154
+ label={ __( 'Edit Recipe' ) }
155
+ onClick={ () => {
156
+ WPRM_Modal.open( 'roundup', {
157
+ fields: {
158
+ roundup: attributes,
159
+ },
160
+ insertCallback: ( fields ) => {
161
+ modalCallback( fields );
162
+ },
163
+ } );
164
+ } }
165
+ />
166
+ </ToolbarGroup>
 
 
167
  </BlockControls>
168
  <ServerSideRender
169
  block="wp-recipe-maker/recipe-roundup-item"
assets/js/blocks/recipe-snippet/index.js CHANGED
@@ -2,17 +2,30 @@ const { __ } = wp.i18n;
2
  const { registerBlockType } = wp.blocks;
3
  const {
4
  Button,
5
- ServerSideRender,
6
  PanelBody,
7
  Toolbar,
8
  TextControl,
9
  SelectControl,
10
  } = wp.components;
11
  const { Fragment } = wp.element;
12
- const {
13
- InspectorControls,
14
- BlockControls,
15
- } = wp.editor;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
 
17
  registerBlockType( 'wp-recipe-maker/recipe-snippet', {
18
  title: __( 'Recipe Snippet' ),
2
  const { registerBlockType } = wp.blocks;
3
  const {
4
  Button,
 
5
  PanelBody,
6
  Toolbar,
7
  TextControl,
8
  SelectControl,
9
  } = wp.components;
10
  const { Fragment } = wp.element;
11
+
12
+ // Backwards compatibility.
13
+ let InspectorControls;
14
+ let BlockControls;
15
+ if ( wp.hasOwnProperty( 'blockEditor' ) ) {
16
+ InspectorControls = wp.blockEditor.InspectorControls;
17
+ BlockControls = wp.blockEditor.BlockControls;
18
+ } else {
19
+ InspectorControls = wp.editor.InspectorControls;
20
+ BlockControls = wp.editor.BlockControls;
21
+ }
22
+
23
+ let ServerSideRender;
24
+ if ( wp.hasOwnProperty( 'serverSideRender' ) ) {
25
+ ServerSideRender = wp.serverSideRender;
26
+ } else {
27
+ ServerSideRender = wp.components.ServerSideRender;
28
+ }
29
 
30
  registerBlockType( 'wp-recipe-maker/recipe-snippet', {
31
  title: __( 'Recipe Snippet' ),
assets/js/blocks/recipe/index.js CHANGED
@@ -2,20 +2,34 @@ const { __ } = wp.i18n;
2
  const { registerBlockType } = wp.blocks;
3
  const {
4
  Button,
5
- ServerSideRender,
6
  PanelBody,
7
  PanelRow,
8
- Toolbar,
 
9
  TextControl,
10
  SelectControl,
11
  } = wp.components;
12
  const { Fragment } = wp.element;
13
- const {
14
- InspectorControls,
15
- BlockControls,
16
- } = wp.editor;
17
  const { select } = wp.data;
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  import '../../../css/blocks/recipe.scss';
20
 
21
  registerBlockType( 'wp-recipe-maker/recipe', {
@@ -86,20 +100,20 @@ registerBlockType( 'wp-recipe-maker/recipe', {
86
  ?
87
  <Fragment>
88
  <BlockControls>
89
- <Toolbar
90
- controls={[
91
- {
92
- icon: 'edit',
93
- title: __( 'Edit Recipe' ),
94
- onClick: () => {
95
  WPRM_Modal.open( 'recipe', {
96
  recipeId: attributes.id,
97
  saveCallback: modalCallback,
98
  } );
99
  }
100
  }
101
- ]}
102
- />
103
  </BlockControls>
104
  <InspectorControls>
105
  <PanelBody title={ __( 'Recipe Details' ) }>
@@ -119,7 +133,7 @@ registerBlockType( 'wp-recipe-maker/recipe', {
119
  />
120
  <PanelRow>
121
  <Button
122
- isDefault
123
  onClick={ () => {
124
  WPRM_Modal.open( 'recipe', {
125
  recipeId: attributes.id,
2
  const { registerBlockType } = wp.blocks;
3
  const {
4
  Button,
 
5
  PanelBody,
6
  PanelRow,
7
+ ToolbarGroup,
8
+ ToolbarButton,
9
  TextControl,
10
  SelectControl,
11
  } = wp.components;
12
  const { Fragment } = wp.element;
 
 
 
 
13
  const { select } = wp.data;
14
 
15
+ // Backwards compatibility.
16
+ let InspectorControls;
17
+ let BlockControls;
18
+ if ( wp.hasOwnProperty( 'blockEditor' ) ) {
19
+ InspectorControls = wp.blockEditor.InspectorControls;
20
+ BlockControls = wp.blockEditor.BlockControls;
21
+ } else {
22
+ InspectorControls = wp.editor.InspectorControls;
23
+ BlockControls = wp.editor.BlockControls;
24
+ }
25
+
26
+ let ServerSideRender;
27
+ if ( wp.hasOwnProperty( 'serverSideRender' ) ) {
28
+ ServerSideRender = wp.serverSideRender;
29
+ } else {
30
+ ServerSideRender = wp.components.ServerSideRender;
31
+ }
32
+
33
  import '../../../css/blocks/recipe.scss';
34
 
35
  registerBlockType( 'wp-recipe-maker/recipe', {
100
  ?
101
  <Fragment>
102
  <BlockControls>
103
+ <ToolbarGroup>
104
+ <ToolbarButton
105
+ icon="edit"
106
+ label={ __( 'Edit Recipe' ) }
107
+ onClick={
108
+ () => {
109
  WPRM_Modal.open( 'recipe', {
110
  recipeId: attributes.id,
111
  saveCallback: modalCallback,
112
  } );
113
  }
114
  }
115
+ />
116
+ </ToolbarGroup>
117
  </BlockControls>
118
  <InspectorControls>
119
  <PanelBody title={ __( 'Recipe Details' ) }>
133
  />
134
  <PanelRow>
135
  <Button
136
+ variant="secondary"
137
  onClick={ () => {
138
  WPRM_Modal.open( 'recipe', {
139
  recipeId: attributes.id,
assets/js/shared/Icon.js CHANGED
@@ -25,6 +25,7 @@ import IconMovie from '../../icons/admin/movie.svg';
25
  import IconPencil from '../../icons/admin/pencil.svg';
26
  import IconPhoto from '../../icons/admin/photo.svg';
27
  import IconPlus from '../../icons/admin/plus.svg';
 
28
  import IconPrint from '../../icons/admin/print.svg';
29
  import IconQuestion from '../../icons/admin/question.svg';
30
  import IconReload from '../../icons/admin/reload.svg';
@@ -60,6 +61,7 @@ const icons = {
60
  pencil: IconPencil,
61
  photo: IconPhoto,
62
  plus: IconPlus,
 
63
  print: IconPrint,
64
  question: IconQuestion,
65
  reload: IconReload,
25
  import IconPencil from '../../icons/admin/pencil.svg';
26
  import IconPhoto from '../../icons/admin/photo.svg';
27
  import IconPlus from '../../icons/admin/plus.svg';
28
+ import IconPlusText from '../../icons/admin/plus-text.svg';
29
  import IconPrint from '../../icons/admin/print.svg';
30
  import IconQuestion from '../../icons/admin/question.svg';
31
  import IconReload from '../../icons/admin/reload.svg';
61
  pencil: IconPencil,
62
  photo: IconPhoto,
63
  plus: IconPlus,
64
+ 'plus-text': IconPlusText,
65
  print: IconPrint,
66
  question: IconQuestion,
67
  reload: IconReload,
dist/admin-dashboard.js CHANGED
@@ -1,14 +1,14 @@
1
- var WPRecipeMaker;(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-recipe-maker/dist/admin-dashboard"]=(self.webpackChunkWPRecipeMaker_name_=self.webpackChunkWPRecipeMaker_name_||[]).push([[752],{81162:function(e,t,r){"use strict";r.r(t);var n={};r.r(n),r.d(n,{scaleBand:function(){return Ka},scaleDiverging:function(){return Np},scaleDivergingLog:function(){return Pp},scaleDivergingPow:function(){return Lp},scaleDivergingSqrt:function(){return Rp},scaleDivergingSymlog:function(){return Cp},scaleIdentity:function(){return ms},scaleImplicit:function(){return Qa},scaleLinear:function(){return hs},scaleLog:function(){return Ss},scaleOrdinal:function(){return $a},scalePoint:function(){return tc},scalePow:function(){return Ns},scaleQuantile:function(){return qs},scaleQuantize:function(){return Zs},scaleRadial:function(){return Rs},scaleSequential:function(){return Mp},scaleSequentialLog:function(){return Op},scaleSequentialPow:function(){return jp},scaleSequentialQuantile:function(){return Dp},scaleSequentialSqrt:function(){return Tp},scaleSequentialSymlog:function(){return kp},scaleSqrt:function(){return Ps},scaleSymlog:function(){return js},scaleThreshold:function(){return Fs},scaleTime:function(){return xp},scaleUtc:function(){return Ep},tickFormat:function(){return ps}});var i=r(73961),o=r(89526);function a(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f={breakpointCols:void 0,className:void 0,columnClassName:void 0,children:void 0,columnAttrs:void 0,column:void 0};class p extends o.Component{constructor(e){let t;super(e),this.reCalculateColumnCount=this.reCalculateColumnCount.bind(this),this.reCalculateColumnCountDebounce=this.reCalculateColumnCountDebounce.bind(this),t=this.props.breakpointCols&&this.props.breakpointCols.default?this.props.breakpointCols.default:parseInt(this.props.breakpointCols)||2,this.state={columnCount:t}}componentDidMount(){this.reCalculateColumnCount(),window&&window.addEventListener("resize",this.reCalculateColumnCountDebounce)}componentDidUpdate(){this.reCalculateColumnCount()}componentWillUnmount(){window&&window.removeEventListener("resize",this.reCalculateColumnCountDebounce)}reCalculateColumnCountDebounce(){window&&window.requestAnimationFrame?(window.cancelAnimationFrame&&window.cancelAnimationFrame(this._lastRecalculateAnimationFrame),this._lastRecalculateAnimationFrame=window.requestAnimationFrame((()=>{this.reCalculateColumnCount()}))):this.reCalculateColumnCount()}reCalculateColumnCount(){const e=window&&window.innerWidth||1/0;let t=this.props.breakpointCols;"object"!=typeof t&&(t={default:parseInt(t)||2});let r=1/0,n=t.default||2;for(let i in t){const o=parseInt(i);o>0&&e<=o&&o<r&&(r=o,n=t[i])}n=Math.max(1,parseInt(n)||1),this.state.columnCount!==n&&this.setState({columnCount:n})}itemsInColumns(){const e=this.state.columnCount,t=new Array(e),r=o.Children.toArray(this.props.children);for(let n=0;n<r.length;n++){const i=n%e;t[i]||(t[i]=[]),t[i].push(r[n])}return t}renderColumns(){const{column:e,columnAttrs:t={},columnClassName:r}=this.props,n=this.itemsInColumns(),i=100/n.length+"%";let a=r;a&&"string"!=typeof a&&(this.logDeprecated('The property "columnClassName" requires a string'),void 0===a&&(a="my-masonry-grid_column"));const u=s(s(s({},e),t),{},{style:s(s({},t.style),{},{width:i}),className:a});return n.map(((e,t)=>o.createElement("div",c({},u,{key:t}),e)))}logDeprecated(e){console.error("[Masonry]",e)}render(){const e=this.props,{children:t,breakpointCols:r,columnClassName:n,columnAttrs:i,column:u,className:s}=e,l=a(e,["children","breakpointCols","columnClassName","columnAttrs","column","className"]);let f=s;return"string"!=typeof s&&(this.logDeprecated('The property "className" requires a string'),void 0===s&&(f="my-masonry-grid")),o.createElement("div",c({},l,{className:f}),this.renderColumns())}}p.defaultProps=f;var d=p,h={default:2,1150:1},m=e=>o.createElement(d,{breakpointCols:h,className:"wprm-admin-dashboard-blocks-grid",columnClassName:"wprm-admin-dashboard-blocks-grid-column"},e.blocks.map((e=>{var t=e.block;return o.createElement(t,{key:e.id})}))),v=r(99237),y=r(52082),g=e=>o.createElement("div",{className:"wprm-admin-dashboard-block-container"},o.createElement("div",{className:"wprm-admin-dashboard-block-header"},o.createElement("div",{className:"wprm-admin-dashboard-block-header-title"},e.title),e.hasOwnProperty("button")&&o.createElement("div",{className:"wprm-admin-dashboard-block-header-button"},o.createElement("button",{className:"button button-primary",onClick:()=>{e.buttonAction()}},e.button))),o.createElement("div",{className:"wprm-admin-dashboard-block"},e.children)),b=(r(21682),"undefined"!=typeof window?function(){if(!e)var e={};var t={FONT:"font",VIEW:"view",TRANSFORM:"transform",EASING_FUNCTION:"easing-function",TRANSITION:"transition"},r={};r[t.FONT]={},r[t.VIEW]={},r[t.TRANSFORM]={},r[t.EASING_FUNCTION]={},r[t.TRANSITION]={};var n=function(e,t){if(!r[e])return null;for(var n in t)if(t.hasOwnProperty(n)){if(r[e][n])return null;r[e][n]=t[n]}},i=function(e,t,n){if(!r[e])throw"Can't add extension with type of \""+e+'", "'+e+'" is not a valid extension type. The following types are valid: '+qt(r);if(!/^[-a-z]+$/.test(t))throw"Can't add extension with name \""+t+'", "'+t+'" is contains invalid characters. Only lowercase alphabetical characters and dashes are allowed.';if(r[e][t])throw"Can't add extension with name \""+t+'", "'+t+'" is already added.';r[e][t]=n},o=function(e,t){if(!r[e])throw"Can't get extension with type of \""+e+'", "'+e+'" is not a valid extension type. The following types are available: '+qt(r);if(!r[e][t])throw"Can't get extension with name \""+t+'", "'+t+'" is not available. The following extensions are available: '+qt(r[e]);return r[e][t]},a=2628e6,c={Week:6048e5,Day:864e5,Hour:36e5,Minute:6e4,Second:1e3,Millisecond:1,Month:a,Year:31536e6},u=["Januari","Februari","March","April","May","June","July","August","September","October","November","December"];for(var s in c)if(c.hasOwnProperty(s)){var l=c[s];1===l?(c.mi=l,c.ms=l):l===a?c.M=l:c[s.charAt(0).toLowerCase()]=l,c[s.toLowerCase()]=l,c[s.toLowerCase()+"s"]=l}var f={Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6,Sunday:0},p={M:1,y:12},d=function(e){return e instanceof Date},h=function(e,t){var r=t-e.getDay();return e.setDate(e.getDate()+r),e},m=function(e,t){var r=E(e.getMonth()+1,e.getFullYear());return t="last"===t?r:Math.max(1,Math.min(r,t)),e.setDate(t),e},v=function(e,t){return e.setMonth(u.map((function(e){return e.toLowerCase()})).indexOf(t)),e},y=function(e){var t=6e4*(new Date).getTimezoneOffset();if("Z"===e)return t;var r=e.match(/\+|-|[\d]{2}|[\d]{2}/g);return("-"===r.shift()?-1:1)*(36e5*parseInt(r[0],10)+6e4*parseInt(r[1],10))+t},g=function(e){return new Date(Date.now()+e)},b=function(e,t){return new Date(e.getTime()+t)},w=function(e,t){return e.toDateString()===t.toDateString()},x=function(e,t){return e.getTime()===t.getTime()},E=function(e,t){return new Date(t,e,0).getDate()},I=function(e){return e.match(/(Z)|([+\-][0-9]{2}:?[0-9]*$)/g)?new Date(e):(e+=-1!==e.indexOf("T")?"Z":"",S(new Date(e)))},S=function(e){return new Date(e.getTime()+6e4*e.getTimezoneOffset())},M=function(e,t){return t.map((function(t){var r=c[t],n=Math.max(0,Math.floor(e/r));return e%=r,n}))},O=function(e,t,r){var n=t-e,i=!1;if(n<0){n=e-t;var o=[t,e];e=o[0],t=o[1],i=!0}r||(r=["d","h","m"]);var a=r.indexOf("m");a>=0&&("y"===r[a-1]||"d"===r[a+1])&&(r[a].key="M");var u=void 0,s=void 0,l=void 0,f=r.includes("y"),d=r.includes("M");(d||f)&&(u=new Date(e.valueOf()+n),s=A(u,e),l=d?Math.floor(s):12*Math.floor(s/12),n=u.valueOf()-D(T(e),l).valueOf());var h=r.map((function(e){if("y"===e||"M"===e){var t=Math.max(0,Math.floor(s/p[e]));return s-=t*p[e],t}var r=c[e],i=Math.max(0,Math.floor(n/r));return n%=r,i}));return i?h.map((function(e){return e>0?-e:e})):h},k=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if("number"==typeof t[0]&&"string"==typeof t[1]){if(!c[t[1]])throw'"'+t[1]+'" is not a valid amount.';return t[0]*c[t[1]]}return d(t[0])?O.apply(void 0,t):"number"==typeof t[0]&&Array.isArray(t[1])?M.apply(void 0,t):null},j=function(){return new Date},T=function(e){return new Date(e.valueOf())},D=function(e,t){return e.setMonth(e.getMonth()+t),e},A=function(e,t){var r=12*(t.getFullYear()-e.getFullYear())+(t.getMonth()-e.getMonth()),n=D(T(e),r);return-(r+(t-n<0?(t-n)/(n-D(T(e),r-1)):(t-n)/(D(T(e),r+1)-n)))},_=function(e){return{destroy:function(){e.destroyed=!0,e.frame&&cancelAnimationFrame(e.frame),e.styleObserver&&e.styleObserver.disconnect(),e.didResizeWindow&&window.removeEventListener("resize",e.didResizeWindow),e.root&&e.root.parentNode&&e.root.parentNode.removeChild(e.root)}}},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.createElement("span"),r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return e.root=t,e.aligned=null,e.destroyed=!1,t&&r&&(e.root.classList.add("tick-"+r),e.root.setAttribute("data-view",r)),t&&t.dataset.layout&&(e.align=(t.dataset.layout.match(/left|right|center/)||[])[0]||"left"),{appendTo:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"last";!e.root||e.root&&e.root.parentNode||("last"!==r?("first"===r&&(0===t.childNodes.length?t.appendChild(e.root):0===t.children.length&&t.childNodes.length?t.insertBefore(e.root,t.childNodes[t.childNodes.length-1]):t.insertBefore(e.root,t.children[0])),"string"!=typeof r&&t.insertBefore(e.root,r)):t.childNodes.length&&t.childNodes[t.childNodes.length-1].nodeType===Node.TEXT_NODE?t.insertBefore(e.root,t.childNodes[t.childNodes.length-1]):t.appendChild(e.root))}}},P=function(e,t){return e.definition=t,{setDefinition:function(t){e.definition=t}}},C=function(e,t,r,n){return{draw:function(){if(!e.dirty){if(r)r(e)&&L(e);return!1}return t(e,n),L(e),e.dirty=!1,!0}}},L=function(e){if(!e.fit){if(!e.root||!(e.root.getAttribute("data-layout")||"").match(/fit/))return void(e.fit=!1);var t=window.getComputedStyle(e.root,null);e.fit=!0,e.fitInfo={currentFontSize:parseInt(t.getPropertyValue("font-size"),10)}}e.fitInfo.availableWidth=e.root.parentNode.clientWidth,e.fitInfo.currentWidth=e.root.scrollWidth;var r=Math.min(Math.max(4,e.fitInfo.availableWidth/e.fitInfo.currentWidth*e.fitInfo.currentFontSize),1024);Math.abs(r-e.fitInfo.currentFontSize)<=1||(e.fitInfo.currentFontSize=r,e.root.style.fontSize=e.fitInfo.currentFontSize+"px")},R=function(e){return e.dirty=!0,e.value=null,e.valueUpdateCount=0,e.isInitialValue=function(){return e.valueUpdateCount<=1},{reset:function(){e.dirty=!0,e.value=null,e.valueUpdateCount=0},update:function(t){zt(e.value,t)||(e.value=t,e.valueUpdateCount++,e.dirty=!0)}}},B=function(e){e.didResizeWindow=function(){e.dirty=!0},window.addEventListener("resize",e.didResizeWindow)},U="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},z=(function(){function e(e){this.value=e}function t(t){var r,n;function i(r,n){try{var a=t[r](n),c=a.value;c instanceof e?Promise.resolve(c.value).then((function(e){i("next",e)}),(function(e){i("throw",e)})):o(a.done?"return":"normal",a.value)}catch(u){o("throw",u)}}function o(e,t){switch(e){case"return":r.resolve({value:t,done:!0});break;case"throw":r.reject(t);break;default:r.resolve({value:t,done:!1})}(r=r.next)?i(r.key,r.arg):n=null}this._invoke=function(e,t){return new Promise((function(o,a){var c={key:e,arg:t,resolve:o,reject:a,next:null};n?n=n.next=c:(r=n=c,i(e,t))}))},"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),H=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},W=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},q=function(e,t){var r=(e.definition||[]).concat();"right"===e.align&&r.reverse();var n=Array.isArray(e.value)?e.value.concat():"object"===U(e.value)?Nt(e.value):e.value;r.forEach((function(r){if(!r.presenter){if(e.update=t(r),!r.presenter)return;r.presenter.appendTo(e.root)}})),r.filter((function(e){return void 0!==e.presenter})).forEach((function(t){Array.isArray(n)&&e.valueMapping?e.update(t,"indexes"===e.valueMapping?"right"===e.align?n.pop():n.shift():n):t.key&&void 0!==n[t.key]?e.update(t,n[t.key]):e.update(t,n)})),e.views=r,Z(e)},Z=function(e){var t=!1;return e.views.filter((function(e){return void 0!==e.presenter})).forEach((function(e){e.presenter.draw()&&(t=!0)})),t},F=function(e,t,r){var n=Pt(Array.isArray(e.value)?e.value:(e.value+"").split(""));if("right"===e.align&&n.reverse(),e.definitions.length>n.length)for(;e.definitions.length>n.length;){e.definitions.pop().presenter.destroy()}n.forEach((function(r,n){var i=e.definitions[n];i||(i=e.definitions[n]=ct(e.definition),e.update=t(i),i.presenter.appendTo(e.root,"right"===e.align?"first":"last"))})),n.forEach((function(t,r){return e.update(e.definitions[r],t)})),e.views=n,V(e)},V=function(e){var t=!1;return e.views.forEach((function(r,n){e.definitions[n].presenter.draw()&&(t=!0)})),t},J="undefined"==typeof document?null:function(){for(var e=["webkit","Moz","ms","O"],t=0,r=e.length,n=document.createElement("div").style;t<r;t++)if(e[t]+"Transform"in n)return e[t];return null}(),Y=function(e,t){var r=document.createElement(e);return t&&(r.className=t),r},X=function(e,t,r){var n=new MutationObserver((function(n){t.forEach((function(i){n.filter((function(e){return t.includes(e.attributeName)})).length&&r(e.getAttribute(i))}))}));return n.observe(e,{attributes:!0}),n},Q=function(e){return e instanceof HTMLElement},$=function(e,t){e.style.transformOrigin=t},K=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";e.transforms||(e.transforms=[]);var i=e.transforms.find((function(e){return e.name===t}));i?i.value=r:e.transforms.push({name:t,value:r,unit:n}),ee(e,e.transforms)},ee=function(e,t){e.style.transform=t.map((function(e){return e.name+"("+e.value+e.unit+")"})).join(" ")},te=function(e){var t=e.getBoundingClientRect();return!(t.bottom<0)&&!(t.top>window.scrollY+window.innerHeight)},re=function(e){return e.trim()},ne={},ie=function(e,t){var r=t.toString();return ne[r]||(ne[r]={}),ne[r][e]||(ne[r][e]=t(e)),ne[r][e]},oe=new RegExp("^[0-9]+$"),ae=new RegExp("^(true|false)$"),ce=new RegExp("^[0-9.]+$"),ue=new RegExp("color"),se=new RegExp("shadow"),le=new RegExp("^(follow-gradient|horizontal-gradient|vertical-gradient)"),fe=new RegExp("^[.0-9]+(?:ms|s){1}$"),pe=new RegExp("^transition-?(?:in|out)?$"),de=new RegExp("^url\\("),he=function(e){return e?parseFloat(e)*(/ms$/.test(e)?1:1e3):0},me=function(e){return e.match(/[a-z]+(?:\(.*?\))?\s?(?:origin\(.*?\))?\s?(?:[a-z]+\(.*?\))?[ .a-z-0-9]*/g).map(ve)},ve=function(e){var t=e.match(/([a-z]+(?:\(.*?\))?)\s?(?:origin\((.*?)\))?\s?([a-z]+(?:\(.*?\))?)?\s?(?:([.0-9ms]+)?\s?(?:(ease-[a-z-]+))?\s?([.0-9ms]+)?)?/),r=vt(t[1]),n=void 0,i=void 0,o=void 0,a=void 0,c=void 0;return t.slice(2).filter((function(e){return void 0!==e})).forEach((function(e){fe.test(e)?void 0===i?i=he(e):a=he(e):/ /.test(e)?n=e:/^ease-[a-z-]+$/.test(e)?o=e:/^[a-z]+/.test(e)&&(c=vt(e))})),c&&(i=void 0,o=void 0),{name:r.name,parameters:r.parameters,duration:i,ease:o,delay:a,origin:n,resolver:c}},ye=function(e){var t=e.match(/follow-gradient|horizontal-gradient|vertical-gradient/)[0];return{type:t,colors:e.substr(t.length).match(/(?:transparent|rgb\(.*?\)|hsl\(.*?\)|hsla\(.*?\)|rgba\(.*?\)|[a-z]+|#[abcdefABCDEF\d]+)\s?(?:[\d]{1,3}%?)?/g).map(be)}},ge=/\s([\d]{1,3})%?$/,be=function(e){var t=e.match(ge);return{offset:t?parseFloat(t[1])/100:null,value:Se(e.replace(ge,""))}},we=[],xe=function(e,t){return we[e]?we[e].find((function(e){return e.node.parentNode===t})):null},Ee=function(e,t){we[e]||(we[e]=[]),we[e].push(t)},Ie="undefined"==typeof document?function(e){return 0}:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(0==e)return 0;if(r){var n=xe(r,t)||{};return n.node||(n.node=document.createElement("span"),n.node.style.cssText="position:absolute;padding:0;visibility:hidden;",t.appendChild(n.node)),n.node.style.marginTop=e,n.style||(n.style=window.getComputedStyle(n.node)),Ee(r,n),parseInt(n.style.marginTop,10)}var i=document.createElement("span");return i.style.cssText="position:absolute;padding:0;visibility:hidden;margin-top:"+e,t.appendChild(i),requestAnimationFrame((function(){i.parentNode.removeChild(i)})),parseInt(window.getComputedStyle(i).marginTop,10)},Se="undefined"==typeof document?function(e){return e}:function(e){if("transparent"===e)return"rgba(0,0,0,0)";var t=document.createElement("span");return t.style.cssText="position:absolute;visibility:hidden;color:"+e,document.body.appendChild(t),requestAnimationFrame((function(){t.parentNode.removeChild(t)})),window.getComputedStyle(t).getPropertyValue("color")},Me=function(e){return"string"!=typeof e?e:e.match(/([-.\d]+(?:%|ms|s|deg|cm|em|ch|ex|q|in|mm|pc|pt|px|vh|vw|vmin|vmax)?)|[%#A-Za-z0-9,.()]+/g)},Oe=function(e){var t=e.split(":").map(re),r=function(e){return e.trim().split("-").map((function(e,t){return t>0?function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(e):e})).join("")}(t[0]),n=function(e,t){return ae.test(e)?function(e){return"string"==typeof e?"true"===e:e}(e):oe.test(e)?parseInt(e,10):ce.test(e)?parseFloat(e):de.test(e)?1===(r=e.match(/url\((.*?)\)/g).map((function(e){return e.substring(4,e.length-1)}))).length?r[0]:r:ue.test(t)?le.test(e)?ie(e,ye):ie(e,Se):se.test(t)?ie(e,Me):pe.test(t)?"none"===e?e:ie(e,me):e;var r}(t[1],t[0]);return r&&null!=n?{property:r,value:n}:null},ke=function(e){return e},je=function(e){return e<.5?2*e*e:(4-2*e)*e-1},Te={"ease-linear":ke,"ease-in-sine":function(e){return-1*Math.cos(e*(Math.PI/2))+1},"ease-out-sine":function(e){return Math.sin(e*(Math.PI/2))},"ease-in-out-sine":function(e){return-.5*(Math.cos(Math.PI*e)-1)},"ease-in-cubic":function(e){return e*e*e},"ease-out-cubic":function(e){var t=e-1;return t*t*t+1},"ease-in-out-cubic":function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},"ease-in-circ":function(e){var t=e/1;return-1*(Math.sqrt(1-t*e)-1)},"ease-out-circ":function(e){var t=e-1;return Math.sqrt(1-t*t)},"ease-in-out-circ":function(e){var t=2*e,r=t-2;return t<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-r*r)+1)},"ease-in-quad":function(e){return e*e},"ease-out-quad":function(e){return e*(2-e)},"ease-in-out-quad":je,"ease-in-quart":function(e){return e*e*e*e},"ease-out-quart":function(e){return 1- --e*e*e*e},"ease-in-out-quart":function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},"ease-in-expo":function(e){return 0===e?0:Math.pow(2,10*(e-1))},"ease-out-expo":function(e){return 1===e?1:1-Math.pow(2,-10*e)},"ease-in-out-expo":function(e){if(0===e||1===e)return e;var t=2*e,r=t-1;return t<1?.5*Math.pow(2,10*r):.5*(2-Math.pow(2,-10*r))},"ease-in-back":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.70158,r=e/1;return r*r*((t+1)*r-t)},"ease-out-back":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.70158,r=e/1-1;return r*r*((t+1)*r+t)+1},"ease-in-out-back":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.70158,r=2*e,n=r-2,i=1.525*t;return r<1?.5*r*r*((i+1)*r-i):.5*(n*n*((i+1)*n+i)+2)},"ease-out-elastic":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.7,r=1-t,n=2*e;if(0===e||1===e)return e;var i=r/(2*Math.PI)*Math.asin(1);return Math.pow(2,-10*n)*Math.sin((n-i)*(2*Math.PI)/r)+1},"ease-out-bounce":function(e){var t=e/1;if(t<1/2.75)return 7.5625*t*t;if(t<2/2.75){var r=t-1.5/2.75;return 7.5625*r*r+.75}if(t<2.5/2.75){var n=t-2.25/2.75;return 7.5625*n*n+.9375}var i=t-2.625/2.75;return 7.5625*i*i+.984375}};n(t.EASING_FUNCTION,Te);var De=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ke,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;return Ae((function(t){e(n(t))}),t,r,i)},Ae=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(!e)return null;var i=null,o=void 0,a=null,c=function c(u){if(null===i&&(i=u),(o=u-i-n)<r)return e(o>=0?o/r:0),a=requestAnimationFrame(c),null;e(1),t&&t()};return c(Bt()),function(){cancelAnimationFrame(a)}},_e=function(){var e=1e3/24,t=null,r={velocity:0,origin:0,position:0,destination:1},n=function(){cancelAnimationFrame(t)};return{getPosition:function(){return r.position},cancel:n,translate:function(i,o,a,c){n(),null===a?r.destination=o:(r.position=o,r.destination=a,r.velocity=0),r.origin=r.position;var u=null;!function o(a){t=requestAnimationFrame(o),u||(u=a);var s=a-u;s<=e||(u=a-s%e,c(r,n),i(r.position))}(Bt())}}},Ne=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=_e(),o={update:null,cancel:i.cancel,getPosition:i.getPosition};return"arrive"===e?o.update=Pe.apply(void 0,[i.translate].concat(r)):"spring"===e?o.update=Le.apply(void 0,[i.translate].concat(r)):"step"===e&&(o.update=Ce.apply(void 0,[i.translate].concat(r))),o},Pe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.01;return function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e(n,i,o,(function(e,n){var i=e.destination-e.position,o=e.origin+.5*(e.destination-e.origin);e.velocity+=2*(-(o-e.origin)+i)*r,e.position+=e.velocity<0?Math.max(e.velocity,-t):Math.min(e.velocity,t),(e.origin<e.destination&&e.position>=e.destination||e.origin>=e.destination&&e.position<=e.destination)&&(n(),e.velocity=0,e.position=e.destination)}))}},Ce=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.01;return function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e(r,n,i,(function(e,r){e.velocity=t,e.position+=e.velocity,(e.origin<e.destination&&e.position>=e.destination||e.origin>=e.destination&&e.position<=e.destination)&&(r(),e.velocity=0,e.position=e.destination)}))}},Le=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.75,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;return function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e(i,o,a,(function(e,i){var o=-(e.position-e.destination)*t;e.velocity+=o/n,e.position+=e.velocity,e.velocity*=r,Re(e.position,e.destination,e.velocity)&&(i(),e.position=e.destination,e.velocity=0)}))}},Re=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.001;return Math.abs(e-t)<n&&Math.abs(r)<n},Be=function(e){var t=e.map((function(e){return ze(Ue(e.name,e.parameters,e.ease),e.origin,e.duration,e.delay)}));return function(e,r,n){if(!Q(e))return!1;var i=t.length;t.forEach((function(t){t(e,r,(function(){!--i&&n&&n(e)}))}))}},Ue=function(e,r,n){var i=n?o(t.EASING_FUNCTION,n):n,a=o(t.TRANSITION,e);return function(e,t,n){a.apply(void 0,[e,n,t,i].concat(W(r)))}},ze=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"50% 50% 0",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,n=arguments[3];return function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments[2];$(i,t),Ae((function(t){e(i,o,t)}),a,r,n)}},He=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.lastAppliedStyles=null,Ge(e,t,e.root.dataset.style),e.styleObserver=X(e.root,["data-style"],(function(r){Ge(e,t,r)})),{setStyle:function(r){Ge(e,t,r)}}},Ge=function(e,r,n){if(e.lastAppliedStyles!==n){e.lastAppliedStyles=n,e.style=n?jt(r,function(e){return e.split(";").filter((function(e){return e.trim().length})).map(Oe).filter((function(e){return null!==e})).reduce((function(e,t){return e[t.property]=t.value,e}),{})}(n)):r;var i=[],a=[];e.style.transitionIn&&e.style.transitionIn.length?(i=e.style.transitionIn,a=e.style.transitionOut):e.style.transition&&"none"!==e.style.transition&&e.style.transition.forEach((function(e){var r=function(e){return o(t.TRANSITION,e.name).apply(void 0,W(e.parameters||[]))}(e);i=i.concat(r.intro),a=a.concat(r.outro)})),i&&a&&(e.transitionIn=Be(i),e.transitionOut=Be(a),e.skipToTransitionInEnd=Be(i.map(We)),e.skipToTransitionOutEnd=Be(a.map(We))),e.dirty=!0}},We=function(e){var t=Nt(e);return t.duration=0,t.delay=0,t},qe=function(e){return e[J+"BackingStorePixelRatio"]||e.backingStorePixelRatio||1},Ze=function(){return window.devicePixelRatio||1},Fe=function(e){e.getContext("2d").clearRect(0,0,e.width,e.height)},Ve={text:function(){return function(e){var t={};return Object.assign({},N(t,e,"text"),R(t),C(t,(function(e){e.root.setAttribute("data-value",e.value),function(e,t){var r=e.childNodes[0];r?t!==r.nodeValue&&(r.nodeValue=t):(r=document.createTextNode(t),e.appendChild(r))}(e.root,e.value)})),_(t))}}};n(t.VIEW,Ve);var Je=function(e,t,r){return function(e,t,r){var n={valueMapping:null};if(e&&e.dataset.valueMapping){var i=e.dataset.valueMapping;n.valueMapping=-1!==["none","indexes"].indexOf(i)?i:null}return Object.assign({},N(n,e),B(n),R(n),P(n,t),C(n,q,Z,r),_(n))}(e,t,r)},Ye=function(e,t,r){return function(e,t,r){var n={definitions:[]};return Object.assign({},N(n,e),R(n),P(n,t),C(n,F,V,r),_(n))}(e,t,r)},Xe=function(e,r,n){var i=o(t.VIEW,e);return i?i({Extension:{Type:t,getExtension:o},Utils:{toPixels:Ie,toColor:Se},Canvas:{clear:Fe,getDevicePixelRatio:Ze,getBackingStoreRatio:qe},DOM:{visible:te,create:Y,transform:K},Animation:{animate:De},Data:{request:Ut},Date:{performance:Bt},View:{rooter:N,drawer:C,updater:R,styler:He,grouper:P,resizer:B,destroyer:_}})(r,n):null},Qe=function(e,t){return"-"===e[t]&&">"===e[t+1]},$e=function(e){return"'"===e||'"'===e},Ke=function(e){return","===e},et=function(e){return"("===e},tt=function(e){return")"===e},rt=function(e){return 0!==e.trim().length},nt=function(e,t){return e.push(t.trim())},it=function(e,t){return rt(t)?(nt(e,t),""):t},ot=function(e,t){return e.length&&t.push(e.length>1?e.concat():e[0]),[]},at=function e(t,r,n){for(var i="",o=[],a=null,c=!1;t<r.length;){var u=r[t];if(et(u)){c=!1;var s=[i.trim()];u=r[t=e(t+1,r,s)],o.push(s),i=""}else{if(tt(u))return c&&i.trim().length&&(o.push([i.trim()]),i="",c=!1),rt(i)&&nt(o,i),o=ot(o,n),t+1;null!==a&&u!==a?i+=u:u===a?(o.push(i),i="",a=null):$e(u)?(i="",a=u):Qe(r,t)?(c=!0,i.trim().length&&(o.push([i.trim()]),i=""),t+=2):Ke(u)?(c&&i.trim().length&&(o.push([i.trim()]),i="",c=!1),o=ot(o,n),i=it(n,i)):i+=u,t++}}return(c&&i.trim().length||!c&&i.trim().length&&!o.length)&&(o.push([i.trim()]),i=""),ot(o,n),it(n,i),t},ct=function e(t){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]="root"!==n?"children"!==n?"repeat"!==n?t[n]:null===t[n]?null:e(t[n]):null===t[n]?null:t[n].map(e):t[n].cloneNode());return r.presenter=null,r},ut={root:null,key:null,view:null,overlay:null,presenter:null,transform:null,layout:null,style:null,repeat:null,children:null,className:null},st=function e(t){return Array.from(t).map((function(t){var r=jt(ut,{root:t});for(var n in t.dataset)t.dataset.hasOwnProperty(n)&&void 0!==r[n]&&(r[n]=t.dataset[n]);return r.repeat?(r.repeat=e(t.children).pop(),Array.from(t.children).forEach((function(e){e.parentNode.removeChild(e)}))):t.children.length&&(r.children=e(t.children)),r}))},lt=function e(t){return t.map((function(t){return"string"==typeof(t=jt(ut,t)).root?t.root=document.createElement(t.root):t.root=document.createElement("span"),t.transform&&(t.root.dataset.transform=t.transform),t.className&&(t.root.className=t.className),t.overlay&&(t.root.dataset.overlay=t.overlay),t.view?(t.root.dataset.view=t.view,t.style&&(t.root.dataset.style=t.style),t.repeat=null):(t.layout&&(t.root.dataset.layout=t.layout),t.repeat?(t.root.dataset.repeat=!0,t.repeat=e(t.children).pop()):t.children&&(t.children=e(t.children),t.children.forEach((function(e){t.root.appendChild(e.root)})))),t}))},ft=function(e){var t=!1,r=function(r,i){r.transform(i,(function(e){r.presenter.update(e)}),e),t||(t=!0,n())},n=function t(){e.baseDefinition.presenter.draw(),requestAnimationFrame(t)};return function t(n){return n.presenter=function(e,t){var r=void 0;return e.repeat?r=Ye(e.root,e.repeat,t):"string"==typeof e.view?r=Xe(e.view,e.root,e.style):function(e){return e.children&&e.children.length}(e)&&(r=Je(e.root,e.children,t)),r}(n,t),n.transform=ht(n.transform,e),r}(e.baseDefinition)},pt=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(t,n){!function t(i,o){r.length<=i?n(o):r[i](o,dt(t,[i+1]),e)}(0,t)}},dt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments[2];return function(){var n=Array.from(t);return Array.prototype.push.apply(n,arguments),e.apply(r,n)}},ht=function(e,t){if(!e)return function(e,t){return t(e)};if("function"==typeof e)return e;var r=function(e){var t=[];return at(0,e,t),t}("transform("+(/^[a-z]+$/.test(e)?e+"()":e)+")");return mt(r,t)},mt=function e(r,n){var i=r.map((function(r){var i=r.shift(),a=o(t.TRANSFORM,i)||function(e,t,r){t(e)},c=r.map((function(t){return Array.isArray(t)?"string"==typeof t[0]?e([t],n):e(t,n):Ot(t)}));return a.apply(void 0,W(c))}));return pt.apply(void 0,[n].concat(W(i)))},vt=function(e){var t=e.match(/[a-z]+/)[0];return{name:t,parameters:yt(e.substring(t.length))}},yt=function(e){return(e.match(/('.+?')|(".+?")|(\[.+?])|([.:\-\d\sa-zA-Z]+%?)/g)||[]).map(_t).filter((function(e){return e.length})).map(Ot)},gt=function(e){return e.substring(1,e.length-1)},bt=/^([\d]{4}-[\d]{1,2}-[\d]{1,2})/,wt=/^(true|false)$/,xt=/^[\a-zA-Z]+$/,Et=/^0[\d]+/,It=/^('|")/,St=/^-?(?:\d+)?(?:\.|0\.)?[\d]+$/,Mt=/^(\[)/,Ot=function(e){return wt.test(e)?"true"===e:Mt.test(e)?yt(gt(e)):bt.test(e)?I(e):It.test(e)?gt(e):xt.test(e)||Et.test(e)?e:St.test(e)?parseFloat(e):e},kt=function(e){var t=(e+"").match(/(-?[.\d]+)(%|ms|s|deg|cm|em|ch|ex|q|in|mm|pc|pt|px|vh|vw|vmin|vmax)?/);return{value:parseFloat(t[1]),units:t[2]}},jt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=void 0,n={};for(r in e)e.hasOwnProperty(r)&&(n[r]=void 0===t[r]?e[r]:t[r]);return n},Tt=function(e){var t=window,r=e.split(".");return r.forEach((function(e,n){t[r[n]]&&(t=t[r[n]])})),t!==window?t:null},Dt=function(e){return/^(?:[\w]+\s?:\s?[\w.]+,\s?)+(?:[\w]+\s?:\s?[\w.]+)$/g.test(e)?e.match(/(?:(\w+)\s?:\s?([\w.]+))/g).reduce((function(e,t){var r=t.split(":");return e[r[0]]=Ot(r[1]),e}),{}):Ot(e)},At=function(e){return parseInt(e,10)},_t=function(e){return e.trim()},Nt=function(e){return"object"===(void 0===e?"undefined":U(e))&&null!==e?JSON.parse(JSON.stringify(e)):e},Pt=function(e){return e.slice()},Ct=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e+Math.random()*(t-e)},Lt=function(e){for(var t=[],r=0;r<e;r++)t.push(r);return t},Rt=function(e){for(var t=e.length;t;t--){var r=Math.floor(Math.random()*t),n=[e[r],e[t-1]];e[t-1]=n[0],e[r]=n[1]}},Bt=function(){return window.performance.now()},Ut=function(e,t,r,n){var i=new XMLHttpRequest;n&&n(i),i.open("GET",e,!0),i.onload=function(){t(i.response)},r&&(i.onerror=function(){r(i,i.status)}),i.send()},zt=function(e,t){return Ht(e)?Gt(e,t):Array.isArray(e)?Wt(e,t):e===t},Ht=function(e){return e===Object(e)},Gt=function(e,t){for(var r in e)if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1;return!0},Wt=function(e,t){return e.length==t.length&&e.every((function(e,r){return e===t[r]}))},qt=function(e){return Object.keys(e).map((function(e){return'"'+e+'"'})).join(", ")},Zt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.createElement("div");z(this,e),this._options=jt(e.options(),t),this._element=r,this._value=null,this._observer=null,this._viewDefinition=null,this._constants=null,this._presets=null,this._updater=null,this._didInit=null,this._didDestroy=null,this._willDestroy=null,this._didUpdate=null,this._init()}return H(e,[{key:"isRootElement",value:function(e){return this._element===e}},{key:"setConstant",value:function(e,t){this._constants[e]=t}},{key:"getConstants",value:function(){return this._constants}},{key:"getConstant",value:function(e){return this._constants[e]}},{key:"setPreset",value:function(e,t){this._presets[e]=t}},{key:"getPreset",value:function(e){return this._presets[e]}},{key:"destroy",value:function(){this._willDestroy(this),this._observer.disconnect(),this.baseDefinition.presenter.destroy(),this._didDestroy(this)}},{key:"redraw",value:function(){this.baseDefinition&&this.baseDefinition.presenter&&(this.baseDefinition.presenter.reset(),this.baseDefinition.presenter.draw(),this._updater(this.baseDefinition,this._value))}},{key:"_init",value:function(){var e=this;this._viewDefinition=this._options.view,this._willDestroy=this._options.willDestroy,this._didDestroy=this._options.didDestroy,this._didInit=this._options.didInit,this._didUpdate=this._options.didUpdate,this._value=this._options.value,this._presets=this._options.presets,this._constants=this._options.constants,this._element.classList.contains("tick")||this._element.classList.add("tick"),this._observer=X(this._element,["data-value"],(function(t){e.value=t})),this._viewDefinition.root!==this._element&&(Array.from(this._viewDefinition.root.children).forEach((function(t){e._element.appendChild(t)})),this._viewDefinition.root=this._element),this._viewDefinition.view||this._viewDefinition.children||(this._viewDefinition.view="text"),this._updater=ft(this),null!==this.value&&this._update(this.value),this._element.dataset.state="initialised",this._didInit(this,this.value)}},{key:"_update",value:function(e){this._updater(this.baseDefinition,e),this._didUpdate(this,e)}},{key:"baseDefinition",get:function(){return this._viewDefinition}},{key:"root",get:function(){return this._element}},{key:"value",get:function(){return this._value},set:function(e){this._value="string"==typeof e?Dt(e):e,this._update(e)}}],[{key:"options",value:function(){return{constants:Jt(),presets:Yt(),value:null,view:null,didInit:function(e){},didUpdate:function(e,t){},willDestroy:function(e){},didDestroy:function(e){}}}}]),e}(),Ft=function(e,t,r,n){return{label:1===e?t:r,progress:e/n,value:e}},Vt=[],Jt=function(){return Xt},Yt=function(){return Qt},Xt={YEAR_PLURAL:"Years",YEAR_SINGULAR:"Year",MONTH_PLURAL:"Months",MONTH_SINGULAR:"Month",WEEK_PLURAL:"Weeks",WEEK_SINGULAR:"Week",DAY_PLURAL:"Days",DAY_SINGULAR:"Day",HOUR_PLURAL:"Hours",HOUR_SINGULAR:"Hour",MINUTE_PLURAL:"Minutes",MINUTE_SINGULAR:"Minute",SECOND_PLURAL:"Seconds",SECOND_SINGULAR:"Second",MILLISECOND_PLURAL:"Milliseconds",MILLISECOND_SINGULAR:"Millisecond"},Qt={y:function(e,t){return Ft(e,t.YEAR_SINGULAR,t.YEAR_PLURAL,10)},M:function(e,t){return Ft(e,t.MONTH_SINGULAR,t.MONTH_PLURAL,12)},w:function(e,t){return Ft(e,t.WEEK_SINGULAR,t.WEEK_PLURAL,52)},d:function(e,t){return Ft(e,t.DAY_SINGULAR,t.DAY_PLURAL,365)},h:function(e,t){return Ft(e,t.HOUR_SINGULAR,t.HOUR_PLURAL,24)},m:function(e,t){return Ft(e,t.MINUTE_SINGULAR,t.MINUTE_PLURAL,60)},s:function(e,t){return Ft(e,t.SECOND_SINGULAR,t.SECOND_PLURAL,60)},mi:function(e,t){return Ft(e,t.MILLISECOND_SINGULAR,t.MILLISECOND_PLURAL,1e3)}},$t={value:Dt,didInit:Tt,didUpdate:Tt,didDestroy:Tt,willDestroy:Tt},Kt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=e.dataset,i={meta:{}};for(var o in n)if(n.hasOwnProperty(o)){var a=t[o],c=n[o];a&&(c=null===(c=a(c))?Nt(r[o]):c,i[o]=c)}return i},er=function(e){var t=Vt.filter((function(t){return t.isRootElement(e)}));return t?t[0]:null},tr=function(){return G({},Zt.options(),{constants:G({},Xt),presets:G({},Qt)})},rr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(e&&!Q(e)&&(t=e,e=void 0),!e||!er(e)){t&&t.view&&(t.view=lt([t.view])[0]),!t&&e&&(t=Kt(e,$t,tr())),e&&(t||(t={}),t.view||(t.view=st([e])[0]));var r=new Zt(t,e);return Vt.push(r),r}},nr=function(e){return function(){setTimeout(e,0)}},ir=function(){return Date.now()},or=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=jt({autostart:!0},r),i=null,o=null,a=null,c=0,u=null,s=!1,l=null,f=function(){return s},p=function(){return null!==o},d=function(){return document.hidden},h=function r(){var n=ir(),a=i-n,u=t+a;i=n+u,e(n-o-c+a),l=setTimeout(r,u)},m=function(){f()?b():p()||(o=ir(),setTimeout((function(){e(0)}),0),M(),d()?E():(i=ir()+t,l=setTimeout((function(){h()}),t)))},v=function(){clearTimeout(l),l=null,o=null,i=null,a=null,c=0,u=null,s=!1,S()},y=function(){v(),m()},g=function(){p()&&!d()&&(s=!0,S(),w())},b=function(){f()&&p()&&!d()&&(s=!1,M(),x())},w=function(){clearTimeout(l),a=ir(),u=i-a},x=function(){c+=ir()-a,a=null,i=ir()+u,l=setTimeout((function(){h()}),u)},E=function(){w()},I=function(){p()&&x()},S=function(){document.removeEventListener("visibilitychange",O)},M=function(){document.addEventListener("visibilitychange",O)},O=function(){d()?E():I()};return n.autostart&&m(),{start:m,stop:nr(v),reset:nr(y),pause:nr(g),resume:b}},ar=function(e){/^[\d]+/.test(e)||(e="1 "+e);var t=e.split(" ");return parseFloat(t[0])*c[t[1].toLowerCase()]},cr=function(e,t){return function(e,t){return e.setHours(t[0]||0,t[1]||0,t[2]||0,t[3]||0),e}(e,t.split(":").map(At))},ur=function(e,t){var r=t.match(/((?:[\d]+\s)?(?:hours|hour|minutes|minute|seconds|second))|((?:from|till)\s[\d]+(?::[\d]+)?(?::[\d]+)?)|(wait\s[\d]+\s[a-z]+)/g).reduce((function(e,t){return/from/.test(t)?e.from=cr(e.from,t.split(" ")[1]):/till/.test(t)?e.till=cr(e.till,t.split(" ")[1]):/wait/.test(t)?e.idle=ar(t.substr(5)):/hours|hour|minutes|minute|seconds|second/.test(t)&&(e.interval=ar(t)),e}),{idle:null,interval:null,date:null,dist:null,wait:!1,from:cr(T(e),"0"),till:cr(T(e),"23:59:59:999")});if(e<r.from||e>=r.till)return r;if(r.interval>r.till-r.from)return r;var n=e-r.from,i=r.interval-n%r.interval;return null!==r.idle&&i>=r.interval-r.idle?(r.wait=!0,r):(r.dist=i,r.date=new Date(e.getTime()+r.dist),r)},sr=function(e,t){return/januari|februari|march|april|may|june|july|august|september|october|november|december/.test(t)?function(e,t){var r=t.match(/januari|februari|march|april|may|june|july|august|september|october|november|december|[\d]+th|\dst|\dnd|first|last|at\s[\d]+(?::[\d]+)?(?::[\d]+)?/g);if(r.length>1){var n="";r.forEach((function(e){n=t.split(e)[1]||""}));var i=n.trim().match(/wait\s[\d]+\s[a-z]+/);i&&r.push(i[0])}var o=r.reduce((function(t,r){return/([\d]+th|\dst|\dnd|first|last)/.test(r)&&(t.day=/^[\d]/.test(r)?parseInt(r,10):"first"===r?1:r),/^at/.test(r)?t.time=cr(T(e),r.substr(3)):/wait/.test(r)?t.idle=ar(r.substr(5)):/^[\a-zA-Z]+$/.test(r)&&(t.month=r),t}),{idle:null,day:null,month:null,time:null,date:null,dist:null,wait:!1});if(o.time){o.time.setDate(1),o.time=v(o.time,o.month),o.time=m(o.time,o.day);var a=o.time-e,c=0;if(a<0&&(c=a,o.time.setFullYear(o.time.getFullYear()+1),a=o.time-e),null!==o.idle&&c+o.idle>0)return o.wait=!0,o;o.dist=a}else{o.time=T(e),o.time.setDate(1),o.time=v(o.time,o.month),o.time=m(o.time,o.day);var u=ur(o.time,t);if(u.wait)return o;o.time=T(w(e,o.time)&&u.date?u.date:u.from);var s=o.time-e;s<0&&(o.time=T(u.from),o.time.setFullYear(o.time.getFullYear()+1),s=o.time-e),o.dist=s}return o.date=T(o.time),o}(e,t):/month/.test(t)?function(e,t){var r=t.match(/[\d]+th|\dst|\dnd|first|last|at\s[\d]+(?::[\d]+)?(?::[\d]+)?/g);if(r.length>1){var n="";r.forEach((function(e){n=t.split(e)[1]||""}));var i=n.trim().match(/wait\s[\d]+\s[a-z]+/);i&&r.push(i[0])}var o=r.reduce((function(t,r){return/([\d]+th|\dst|\dnd|first|last)/.test(r)&&(t.day=/^[\d]/.test(r)?parseInt(r,10):"first"===r?1:r),/^at/.test(r)?t.time=cr(T(e),r.substr(3)):/wait/.test(r)&&(t.idle=ar(r.substr(5))),t}),{idle:null,day:null,time:null,date:null,dist:null,wait:!1});if(o.time){o.time=m(o.time,o.day);var a=o.time-e,c=0;if(a<0&&(c=a,o.time.setDate(1),o.time.setMonth(o.time.getMonth()+1),m(o.time,o.day),a=o.time-e),null!==o.idle&&c+o.idle>0)return o.wait=!0,o;o.dist=a}else{o.time=m(T(e),o.day);var u=ur(o.time,t);if(u.wait)return o;o.time=T(w(e,o.time)&&u.date?u.date:u.from);var s=o.time-e;s<0&&(o.time=T(u.from),o.time.setDate(1),o.time.setMonth(o.time.getMonth()+1),m(o.time,o.day),s=o.time-e),o.dist=s}return o.date=T(o.time),o}(e,t):/(?:mon|tues|wednes|thurs|fri|satur|sun)day/.test(t)?function(e,t){var r=t.match(/(?:mon|tues|wednes|thurs|fri|satur|sun)day|at\s[\d]+(?::[\d]+)?(?::[\d]+)?/g);if(r.length>1){var n="";r.forEach((function(e){n=t.split(e)[1]||""}));var i=n.trim().match(/wait\s[\d]+\s[a-z]+/);i&&r.push(i[0])}var o=r.reduce((function(t,r){return/(?:mon|tues|wednes|thurs|fri|satur|sun)day/.test(r)&&(t.day=f[function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(r)]),/^at/.test(r)?t.time=cr(T(e),r.substr(3)):/wait/.test(r)&&(t.idle=ar(r.substr(5))),t}),{idle:null,day:null,time:null,date:null,dist:null,wait:!1});if(o.time){o.time=h(o.time,o.day);var a=o.time-e;if(a<0&&(o.time.setDate(o.time.getDate()+7),a=o.time-e),null!==o.idle&&a>=c.Week-o.idle)return o.wait=!0,o;o.dist=a}else{o.time=h(T(e),o.day);var u=ur(o.time,t);if(u.wait)return o;o.time=T(w(e,o.time)&&u.date?u.date:u.from);var s=o.time-e;s<0&&o.time.setDate(o.time.getDate()+7),o.dist=s}return o.date=T(o.time),o}(e,t):/day at/.test(t)||/^at /.test(t)?function(e,t){var r=t.match(/([\d]+(?::[\d]+)?(?::[\d]+)?)|(wait\s[\d]+\s[a-z]+)/g).reduce((function(t,r){return/^[\d]/.test(r)?t.time=cr(T(e),r):/wait/.test(r)&&(t.idle=ar(r.substr(5))),t}),{idle:null,time:null,date:null,wait:!1,dist:null}),n=r.time-e;return n<0&&(r.time.setDate(r.time.getDate()+1),n=r.time-e),null!==r.idle&&n>=c.Day-r.idle?(r.wait=!0,r):(r.dist=n,r.date=T(r.time),r)}(e,t):/hours|hour|minutes|minute|seconds|second/.test(t)?ur(e,t):null},lr=function(e,t){for(var r=t.split(",").map(_t).map((function(t){return sr(e,t)})),n=null,i=0;i<r.length;i++){var o=r[i];if(null===n&&o.wait)return null;(null===n||null===n.dist&&null!==o.dist||null!==o.dist&&o.dist<n.dist)&&(n=o)}return n.date},fr=function(e,t){!0!==e?"string"!=typeof e?setTimeout((function(){t(0)}),0):setTimeout((function(){t(I(e).getTime()-j().getTime())}),0):function(e){var t=new XMLHttpRequest,r=Date.now();t.open("HEAD",window.location+"?noCache="+r),t.setRequestHeader("Content-Type","text/html"),t.setRequestHeader("Cache-Control","no-cache"),t.onload=function(){var n=.5*(r-Date.now()),i=new Date(t.getResponseHeader("Date"));e(new Date(i.getTime()+n))},t.send()}((function(e){t(e.getTime()-j().getTime())}))},pr={format:["d","h","m","s"],cascade:!0,server:null,interval:1e3},dr=function(e){return G({complete:!1,offset:null,value:null,timer:null,onload:function(){},onupdate:function(e){}},e)},hr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("number"!=typeof e)throw'Can\'t start counter, the "milliseconds" parameter is required';var r=(t=jt({units:"seconds",target:0,amount:1e3,interval:1e3},t)).target,n=e,i=dr({target:r,onended:function(){}});return setTimeout((function(){i.timer=or((function(o){if((n=e-o/t.interval*t.amount)<=r)return i.value=t.target,i.onupdate(i.value/c[t.units]),i.timer.stop(),void i.onended();i.value=n,i.onupdate(i.value/c[t.units])}),t.interval,{autostart:!1}),i.complete=!0,i.onload(),i.timer.start()}),0),i},mr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e)throw'Can\'t start counter, the "due" parameter is required';t=jt(pr,t);var r=d(e)?e:I(e),n=dr({due:T(r),onended:function(){}});return fr(t.server,(function(e){n.offset=e;n.timer=or((function(){var i=g(e);if(r-i<=0)return n.value=new Array(t.format.length).fill(0),n.onupdate(n.value),n.timer.stop(),void n.onended();n.value=O(i,r,t.format,t.cascade),n.onupdate(n.value)}),t.interval,{autostart:!1}),n.complete=!0,n.onload(),n.timer.start()})),n},vr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return function(r,n){return n((parseFloat(r)-e)/(t-e))}},yr=function(e,t,r,n){t[e]=r[e],n(Pt(t))},gr={ascii:function(){return function(e,t){return t((e+"").charCodeAt(0))}},char:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e?new RegExp("[^"+e+"]","g"):null;return function(e,n){var i=String.fromCharCode(e);r&&(i=i.replace(r,t)),n(i)}},tween:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ease-linear",n=arguments[2];e=he(e);var i=o(t.EASING_FUNCTION,r),a=null,c=null;return function(t,r){if(t=parseFloat(t),a&&a(),null===c||t===c)return c=t,void r(t);var o=c,u=t-o;a=De((function(e){r(o+e*u)}),(function(){a=null}),e,i,n),c=t}},value:function(e){return function(t,r){return r(e)}},input:function(){return function(e,t){return t(e)}},rotate:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r){var n=Array.isArray(e)?e:[e],i=[],o=t.length;n.forEach((function(e,a){t[a%o](e,(function(e){i[a]=e,a===n.length-1&&r(i)}))}))}},map:function(e){return function(t,r){var n=[],i=t;i.forEach((function(t,o){e(t,(function(e){n[o]=e,o===i.length-1&&r(n.concat())}))}))}},transform:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r){var n=[],i=e;t.forEach((function(e,o){e(i,(function(e){n[o]=e,o===t.length-1&&r(1===n.length?n[0]:n)}))}))}},upper:function(){return function(e,t){return t((e+"").toUpperCase())}},lower:function(){return function(e,t){return t((e+"").toLowerCase())}},abs:function(){return function(e,t){return t(Math.abs(e))}},add:function(e){return function(t,r){return r(t+e)}},subtract:function(e){return function(t,r){return r(t-e)}},modulus:function(e){return function(t,r){return r(t%e)}},pad:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"left";return function(r,n){return n(e.length>(""+r).length?"left"===t?(""+e+r).slice(-e.length):(""+r+e).substring(0,e.length):r)}},number:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return function(n,i){i((n<0?"-":"")+parseFloat(Math.abs(n)).toFixed(r).replace(/./g,(function(r,n,i){return"."===r?e:n&&(i.length-n)%3==0?t+r:r})))}},replace:function(e,t){return function(r,n){return n((r+"").replace(new RegExp("."===e?"\\"+e:e,"g"),t))}},round:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(t,r){return r(e?t.toFixed(e):Math.round(t))}},ceil:function(){return function(e,t){return t(Math.ceil(e))}},floor:function(){return function(e,t){return t(Math.floor(e))}},fraction:vr,percentage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,r=vr(e,t);return function(e,t){r(e,(function(e){t(100*e)}))}},multiply:function(e){return function(t,r){return r(t*e)}},divide:function(e){return function(t,r){return r(t/e)}},split:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return function(t,r){return r((t+"").split(e))}},format:function(e){return function(t,r){return r(e.replace(/\$0/gi,t))}},plural:function(e,t){return function(r,n){return n(1===r?e:t)}},limit:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(r,n){return n(Math.min(Math.max(r,e),t))}},reverse:function(){return function(e,t){return t(Array.isArray(e)?e.reverse():(e+"").split("").reverse().join(""))}},arrive:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=null,o=null,a=null;return function(c,u){return c=parseFloat(c),null===i?(i=c,void u(c)):(r&&null!==o&&i===c&&(a.cancel(),a=null),n&&null!==o&&c-a.getPosition()>1?(a.cancel(),a=null,o=null,i=c,void u(c)):(a?a.update(u,c):(a=Ne("arrive",e,t)).update(u,i,c),void(o=c)))}},spring:function(e,t,r){var n=null,i=null;return function(o,a){if(o=parseFloat(o),null===n)return n=o,void a(o);i?i.update(a,o):(i=Ne("spring",e,t,r)).update(a,n,o)}},delay:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rtl",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:50,n=null;return function(i,o){if(!n)return n=Pt(i),void o(Pt(n));n="rtl"===e?n.slice(n.length-i.length,n.length):n.slice(0,i.length);var a=Lt(i.length);"random"===e&&Rt(a),"rtl"===e&&a.reverse();!function e(){yr(a.shift(),n,i,o),a.length&&setTimeout(e,Ct(t,r))}()}},step:function(e){var t=null,r=null,n=null;return function(i,o){if(i=parseFloat(i),null===t)return t=i,void o(i);null!==r&&t===i&&(n.cancel(),n=null),n?n.update(o,i):(n=Ne("step",e)).update(o,t,i),r=i}},keys:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r){var n={};e.forEach((function(e,r){n[t[r]]=e})),r(n)}},duration:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r){return r(M(e,t))}},substring:function(e,t){return function(r,n){return n((r+"").substring(e,t))}},preset:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r,n){return r(e.map((function(e,r){return n.getPreset(t[r])(e,n.getConstants(),n)})))}}};n(t.TRANSFORM,gr);var br={x:"translateX",y:"translateY",z:"translateZ"},wr={x:"rotateX",y:"rotateY",z:"rotateZ"},xr={both:"scale",x:"scaleX",y:"scaleY"},Er=function(e,t,r){return e+(t-e)*r},Ir={fade:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:je,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;if(r<0){var a=[o,i];i=a[0],o=a[1]}e.style.opacity=Er(i,o,n(t))},move:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:je,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"0",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"100%",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"y";if(r<0){var c=[o,i];i=c[0],o=c[1]}var u=ie(i,kt),s=ie(o,kt);K(e,br[a],Er(u.value,s.value,n(t)),u.units||s.units)},rotate:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:je,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"0",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"90deg",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"x";if(r<0){var c=[o,i];i=c[0],o=c[1]}var u=ie(i,kt),s=ie(o,kt);K(e,wr[a],Er(u.value,s.value,n(t)),u.units||s.units)},scale:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:je,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"both";if(r<0){var c=[o,i];i=c[0],o=c[1]}K(e,xr[a],Er(i,o,n(t)))},crossfade:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments[1],r=arguments[2];return{intro:[{name:"fade",parameters:[0,1],duration:1e3*e,delay:he(t)}],outro:[{name:"fade",parameters:[1,0],duration:1e3*e,delay:he(r)}]}},swap:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments[3],i=arguments[4];return{intro:[{name:"move",parameters:[""+100*-t,"0%",e],duration:1e3*r,delay:he(n)}],outro:[{name:"move",parameters:["0%",""+100*t,e],duration:1e3*r,delay:he(i)}]}},revolve:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments[3],i=arguments[4];return{intro:[{name:"rotate",parameters:[90*-t+"deg","0deg",e],duration:1e3*r,delay:he(n)}],outro:[{name:"rotate",parameters:["0deg",90*t+"deg",e],duration:1e3*r,delay:he(i)}]}},zoom:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments[2],n=arguments[3];return{intro:[{name:"scale",parameters:[e,1],duration:1e3*t,delay:he(r)}],outro:[{name:"scale",parameters:[1,e],duration:1e3*t,delay:he(n)}]}}};n(t.TRANSITION,Ir);var Sr={supported:function(){var e=window;if(void 0===e)return!1;var t=e.CSS&&e.CSS.supports,r=!!e.MSInputMethodContext&&!!document.documentMode,n=t&&CSS.supports("transform","translateX(0)");return r||t&&n&&!!["MutationObserver","requestAnimationFrame"].filter((function(t){return t in e})).length}(),options:{setConstant:function(e,t){Xt[e]=t},setPreset:function(e,t){Qt[e]=t}},helper:{interval:or,date:function(e){return e?I(e):j()},duration:k},data:{request:Ut,poll:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return or((function(){Ut(e,t)}),r)}},DOM:{create:rr,destroy:function(e){var t=function(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r].isRootElement(t))return r;return-1}(Vt,e);return!(t<0)&&(Vt[t].destroy(),Vt.splice(t,1),!0)},parse:function(e){var t,r=void 0,n=void 0,i=[];for(n=(t=e.querySelectorAll(".tick:not([data-state])")).length;n--;)r=t[n],i.push(rr(r));return i},find:er},count:{down:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if("number"==typeof t[0]&&"string"==typeof t[1]){var n=t[0],i=t[1].toLowerCase();return t.shift(),t[0]=k(n,i),t[1]=t[1]||{},t[1].units=i,hr.apply(void 0,t)}return"string"==typeof t[0]||d(t[0])?mr.apply(void 0,t):null},up:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e)throw'Can\'t start counter, the "since" parameter is required';t=jt(pr,t);var r=d(e)?e:I(e),n=dr({since:T(r)});return fr(t.server,(function(e){n.offset=e;n.timer=or((function(){var i=g(e);n.value=O(r,i,t.format,t.cascade),n.onupdate(n.value)}),t.interval,{autostart:!1}),n.complete=!0,n.onload(),n.timer.start()})),n},schedule:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof e)throw'Can\'t start scheduler, "schedule" is a required parameter';var r=(t=jt(G({},pr,{timezone:null}),t)).timezone?y(t.timezone):null,n=dr({waiting:null,nextScheduledDate:null,previouslyScheduledDate:null,onrepeat:function(e,t){},onresume:function(e){},onwait:function(e){}}),i=void 0,o=null;return fr(t.server,(function(a){n.offset=a;n.timer=or((function(){var c=g(a);if(null!==r&&(c=b(c,r)),o=lr(c,e),n.waiting=null===o,n.waiting)return void 0===i&&(i=null),n.value=new Array(t.format.length).fill(0),n.nextScheduledDate&&(n.previouslyScheduledDate=T(n.nextScheduledDate)),n.nextScheduledDate=null===o?null:T(o),void n.onwait(n.previouslyScheduledDate?T(n.previouslyScheduledDate):null);n.nextScheduledDate=T(o),null===i&&n.onresume(T(o)),(null===i||void 0!==i&&!x(i,o))&&(n.onrepeat(T(o),i?T(i):null),i&&(n.previouslyScheduledDate=T(i))),i=T(o),n.value=O(c,o,t.format,t.cascade),n.onupdate(n.value)}),t.interval,{autostart:!1}),n.complete=!0,n.onload(),n.timer.start()})),n}},plugin:{add:function(e,t,r){if("function"==typeof e){var n=e;return i(n.identifier.type,n.identifier.name,n)}return i(e,t,r)}}},Mr=function(e){if(!t.hasOwnProperty(e))return"continue";Sr.plugin[function(e){return e.replace(/-./g,(function(e){return e.charAt(1).toUpperCase()}))}("add-"+t[e])]=function(r,n){i(t[e],r,n)}};for(var Or in t)Mr(Or);return e.exports=Sr,e.exports}():null),w="undefined"!=typeof window?function(){if(!e)var e={};!function(){function e(e){this.value=e}function t(t){var r,n;function i(r,n){try{var a=t[r](n),c=a.value;c instanceof e?Promise.resolve(c.value).then((function(e){i("next",e)}),(function(e){i("throw",e)})):o(a.done?"return":"normal",a.value)}catch(u){o("throw",u)}}function o(e,t){switch(e){case"return":r.resolve({value:t,done:!0});break;case"throw":r.reject(t);break;default:r.resolve({value:t,done:!1})}(r=r.next)?i(r.key,r.arg):n=null}this._invoke=function(e,t){return new Promise((function(o,a){var c={key:e,arg:t,resolve:o,reject:a,next:null};n?n=n.next=c:(r=n=c,i(e,t))}))},"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}();var t=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();return e.exports=function(e){var r=e.DOM,n=(e.Animation.animate,e.Extension),i=e.Date.performance,o=e.View,a=o.rooter,c=o.destroyer,u=o.drawer,s=o.updater,l=o.styler,f=n.getExtension(n.Type.EASING_FUNCTION,"ease-out-cubic"),p=n.getExtension(n.Type.EASING_FUNCTION,"ease-out-sine"),d=function(e){if(e.isInitialValue()){e.root.textContent="",e.spacer=r.create("span","tick-flip-spacer"),e.root.appendChild(e.spacer);var t=r.create("span","tick-flip-shadow-top tick-flip-shadow tick-flip-front"),o=r.create("span","tick-flip-shadow-bottom tick-flip-shadow tick-flip-back");e.root.appendChild(t),e.root.appendChild(o),e.shadowCard=r.create("span","tick-flip-card-shadow"),e.root.appendChild(e.shadowCard)}if(e.spacer.textContent=e.value,e.isInitialValue()||r.visible(e.root)){var a=e.cards[e.cards.length-1];if(a&&(a.waiting=!1,a.offset=i(),a.back=e.value),e.isInitialValue()){var c=new h;c.back=e.value,c.offset=null,c.progress=1,e.root.insertBefore(c.root,e.root.firstChild),e.cards.push(c)}var u=new h;if(u.offset=null,u.progress=0,u.visual_progress=0,u.waiting=!0,u.front=e.value,u.rotate(0),e.root.insertBefore(u.root,e.root.firstChild),e.cards.push(u),!e.animating){e.animating=!0;var s=n.getExtension(n.Type.EASING_FUNCTION,e.style.flipEasing);!function t(){var n=e.cards.filter((function(e){return!e.done&&!e.waiting}));if(0!==n.length){n.forEach((function(t){null!==t.offset&&(t.progress=(i()-t.offset)/e.style.flipDuration),t.progress>=1&&(t.progress=1,t.done=!0),t.visual_progress=s(t.progress)}));n.reverse().forEach((function(e,t){var r=n[t-1];r&&e.visual_progress<=r.visual_progress&&(e.visual_progress=r.visual_progress+.01)})),n.reverse(),e.cards.forEach((function(t,r){var n=1-2*Math.abs(t.visual_progress-.5),i=1-(t.visual_progress-.5)/.5;t.shadowFront=n,t.highlightBack=i;var o=e.cards[r+1];o&&t.visual_progress>.5&&t.visual_progress>0&&(t.shadowBack=f(o.visual_progress))})),n.forEach((function(e,t){var r=e.visual_progress;r>.5&&!e.done?e.root.style.zIndex=10+t:e.root.style.removeProperty("z-index"),e.rotate(-180*r)}));var o=0,a=1;n.forEach((function(e){var t=Math.abs(e.visual_progress-.5);t<a&&(a=t,o=e.visual_progress)}));var c=p(o<.5?o/.5:(1-o)/.5);e.shadowCard.style.opacity=c,r.transform(e.shadowCard,"scaleY",c),e.cards.filter((function(e){return e.done})).slice(0,-1).forEach((function(t){e.cards=e.cards.filter((function(e){return e!==t})),t.root.parentNode&&e.root.removeChild(t.root)})),requestAnimationFrame(t)}else e.animating=!1}()}}else e.cards.forEach((function(t){t.back=e.value,t.front=e.value}))},h=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._root=r.create("span","tick-flip-card");var t=r.create("span","tick-flip-panel-front tick-flip-front tick-flip-panel"),n=r.create("span","tick-flip-panel-front-text"),i=r.create("span","tick-flip-panel-text-wrapper");n.appendChild(i);var o=r.create("span","tick-flip-panel-front-shadow");t.appendChild(n),t.appendChild(o);var a=r.create("span","tick-flip-panel-back tick-flip-back tick-flip-panel"),c=r.create("span","tick-flip-panel-back-text"),u=r.create("span","tick-flip-panel-text-wrapper");c.appendChild(u);var s=r.create("span","tick-flip-panel-back-highlight"),l=r.create("span","tick-flip-panel-back-shadow");a.appendChild(c),a.appendChild(s),a.appendChild(l),this._root.appendChild(t),this._root.appendChild(a),this._front=t,this._back=a,this._shadowFront=o,this._shadowBack=l,this._highlightBack=s,this._textBack=u,this._textFront=i,this._frontValue=null,this._backValue=null}return t(e,[{key:"rotate",value:function(e){this._front.style.transform="rotateX("+e+"deg)",this._back.style.transform="rotateX("+(-180+e)+"deg)"}},{key:"root",get:function(){return this._root}},{key:"front",set:function(e){this._frontValue=e,this._textFront.textContent=e},get:function(){return this._frontValue}},{key:"back",set:function(e){this._backValue=e,this._textBack.textContent=e},get:function(){return this._backValue}},{key:"highlightBack",set:function(e){this._highlightBack.style.opacity=e}},{key:"shadowBack",set:function(e){this._shadowBack.style.opacity=e}},{key:"shadowFront",set:function(e){this._shadowFront.style.opacity=e}}]),e}();return function(e){var t={cards:[],lastCard:null,initialCard:null,shadowAbove:null,shadowBelow:null,shadowCard:null,currentValue:null,lastValue:null,front:null,back:null};return Object.assign({},a(t,e,"flip"),s(t),l(t,{flipDuration:800,flipEasing:"ease-out-bounce"}),u(t,d),c(t))}},e.exports.identifier={name:"flip",type:"view"},e.exports}():null;b.plugin.add(w);var x=b;class E extends o.Component{constructor(e){super(e),this._tickRef=o.createRef()}componentDidMount(){this._tickInstance=x.DOM.create(this._tickRef.current,{value:this.props.value})}componentDidUpdate(){this._tickInstance&&(this._tickInstance.value=this.props.value)}componentWillUnmount(){this._tickInstance&&x.DOM.destroy(this._tickRef.current)}render(){return o.createElement("div",{ref:this._tickRef,className:"tick"},o.createElement("div",{"data-repeat":"true","aria-hidden":"true"},o.createElement("span",{"data-view":"flip"},"Tick")))}}class I extends o.Component{constructor(e){super(e);var t=0;t+=e.countdown.seconds,t+=60*e.countdown.minutes,t+=60*e.countdown.hours*60,t+=24*e.countdown.days*60*60;var r=setInterval(this.updateCountdown.bind(this),1e3);this.state={start:Date.now(),interval:r,total:t,timeLeft:t}}updateCountdown(){var e=Date.now(),t=Math.round((e-this.state.start)/1e3);this.setState({timeLeft:this.state.total-t})}render(){var{timeLeft:e}=this.state,t=e<=0,r=0,n=0,i=0,a=0;return t||(r=Math.floor(e/86400),n=Math.floor(e%86400/3600),i=Math.floor(e%3600/60),a=Math.floor(e%60)),o.createElement(o.Fragment,null,t?o.createElement("p",{style:{color:"darkred"}},(0,y.S)("You just missed the deadline!")):o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown"},o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(E,{value:r})," ",1===r?(0,y.S)("day"):(0,y.S)("days")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(E,{value:String(n).padStart(2,"0")})," ",1===n?(0,y.S)("hour"):(0,y.S)("hours")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(E,{value:String(i).padStart(2,"0")})," ",1===i?(0,y.S)("minute"):(0,y.S)("minutes")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(E,{value:String(a).padStart(2,"0")})," ",1===a?(0,y.S)("second"):(0,y.S)("seconds")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-label"},(0,y.S)("left to grab the discount!"))))}}class S extends o.Component{render(){var{campaign:e}=this.props;return e.hasOwnProperty("dismissed")&&e.dismissed?null:o.createElement("div",{className:"wprm-admin-dashboard-marketing"},o.createElement(g,{title:e.page_title},o.createElement("p",{dangerouslySetInnerHTML:{__html:e.page_text}}),o.createElement(I,{countdown:e.countdown}),o.createElement("div",{class:"wprm-admin-dashboard-marketing-actions"},o.createElement("a",{className:"button button-primary",href:e.url,target:"_blank"},(0,y.S)("Learn more about the sale")," 🎉"),o.createElement("a",{href:"#",class:"wprm-admin-dashboard-marketing-actions-remove",onClick:()=>{v.Z.general.dismissNotice("dashboard_".concat(e.id)),e.dismissed=!0,this.forceUpdate()}},(0,y.S)("Remove Notice")))))}}var M=e=>o.createElement("div",{className:"wprm-admin-dashboard-block-footer-container"},e.hasOwnProperty("title")&&o.createElement("div",{className:"wprm-admin-dashboard-block-footer-title"},e.title),o.createElement("div",{className:"wprm-admin-dashboard-block-footer"},e.children)),O=r(67127),k=e=>o.createElement("label",{className:"wprm-admin-dashboard-toggle-container"},o.createElement(O.Z,{className:"wprm-admin-dashboard-toggle",checked:e.value,onChange:t=>e.onChange(t.target.checked)}),o.createElement("span",{className:"wprm-admin-dashboard-toggle-label"},e.children)),j=e=>o.createElement(o.Fragment,null,o.createElement("p",null,(0,y.S)("Track different visitor actions related to recipes.")," ",(0,y.S)("Find out what recipes visitors are interacting with, what affiliate links are getting clicked on, and more...")),o.createElement(k,{value:!1,onChange:()=>{e.onEnable()}},(0,y.S)("Enable Analytics"))),T=r(34133),D=r(71629),A=r.n(D),_=r(64403),N=r.n(_),P=r(81668),C=r(63774),L=r.n(C),R=r(86901),B=r.n(R),U=r(81027),z=r.n(U),H=r(10442),G=r.n(H),W=r(9338),q=r.n(W),Z=function(e){return 0===e?0:e>0?1:-1},F=function(e){return q()(e)&&e.indexOf("%")===e.length-1},V=function(e){return G()(e)&&!z()(e)},J=function(e){return V(e)||q()(e)},Y=0,X=function(e){var t=++Y;return"".concat(e||"").concat(t)},Q=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!V(e)&&!q()(e))return n;if(F(e)){var o=e.indexOf("%");r=t*parseFloat(e.slice(0,o))/100}else r=+e;return z()(r)&&(r=n),i&&r>t&&(r=t),r},$=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},K=function(e,t){return V(e)&&V(t)?function(r){return e+r*(t-e)}:function(){return t}};function ee(e,t,r){return e&&e.length?e.find((function(e){return e&&("function"==typeof t?t(e):L()(e,t))===r})):null}var te=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i]};function re(e){return(re="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 ne(){return(ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ie(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oe(e,t){return(oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ae(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=ue(e);if(t){var i=ue(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return ce(this,r)}}function ce(e,t){return!t||"object"!==re(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 ue(e){return(ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var se=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&&oe(e,t)}(a,e);var t,r,n,i=ae(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).handleResize=void 0,t.mounted=void 0,t.containerRef=void 0,t.updateDimensionsImmediate=function(){if(t.mounted){var e=t.getContainerSize();if(e){var r=t.state,n=r.containerWidth,i=r.containerHeight,o=e.containerWidth,a=e.containerHeight;o===n&&a===i||t.setState({containerWidth:o,containerHeight:a})}}},t.state={containerWidth:-1,containerHeight:-1},t.handleResize=e.debounce>0?A()(t.updateDimensionsImmediate,e.debounce):t.updateDimensionsImmediate,t.containerRef=o.createRef(),t}return t=a,(r=[{key:"componentDidMount",value:function(){this.mounted=!0;var e=this.getContainerSize();e&&this.setState(e)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"getContainerSize",value:function(){return this.containerRef.current?{containerWidth:this.containerRef.current.clientWidth,containerHeight:this.containerRef.current.clientHeight}:null}},{key:"renderChart",value:function(){var e=this.state,t=e.containerWidth,r=e.containerHeight;if(t<0||r<0)return null;var n=this.props,i=n.aspect,a=n.width,c=n.height,u=n.minWidth,s=n.minHeight,l=n.maxHeight,f=n.children;te(F(a)||F(c),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,c),te(!i||i>0,"The aspect(%s) must be greater than zero.",i);var p=F(a)?t:a,d=F(c)?r:c;return i&&i>0&&(p?d=p/i:d&&(p=d*i),l&&d>l&&(d=l)),te(p>0||d>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",p,d,a,c,u,s,i),o.cloneElement(f,{width:p,height:d})}},{key:"render",value:function(){var e=this.props,t=e.minWidth,r=e.minHeight,n=e.width,i=e.height,a=e.maxHeight,c=e.id,u=e.className,s={width:n,height:i,minWidth:t,minHeight:r,maxHeight:a};return o.createElement(P.ZP,{handleWidth:!0,handleHeight:!0,onResize:this.handleResize,targetRef:this.containerRef},o.createElement("div",ne({},null!=c?{id:"".concat(c)}:{},{className:N()("recharts-responsive-container",u),style:s,ref:this.containerRef}),this.renderChart()))}}])&&ie(t.prototype,r),n&&ie(t,n),a}(o.Component);se.defaultProps={width:"100%",height:"100%",debounce:0};var le=r(13485),fe=r.n(le),pe=r(77106),de=r.n(pe),he=r(46423),me=r.n(he),ve=r(73804),ye=r.n(ve),ge=r(5251),be=r.n(ge),we=r(6934),xe=r.n(we),Ee=r(14847),Ie=r.n(Ee),Se=r(47563),Me=r.n(Se),Oe=r(11006),ke=r.n(Oe);function je(e){return(je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Te=["viewBox","children"],De=["className","color","height","id","lang","max","media","method","min","name","style","target","type","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],Ae=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],_e=function(e,t,r){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var n=e;if((0,o.isValidElement)(e)&&(n=e.props),!ke()(n))return null;var i={};return Object.keys(n).forEach((function(e){(De.includes(e)||r&&Te.includes(e)||t&&Ae.includes(e))&&(i[e]=n[e])})),i},Ne=function(e,t){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var r=e;if((0,o.isValidElement)(e)&&(r=e.props),!ke()(r))return null;var n={};return Object.keys(r).forEach((function(e){Ae.includes(e)&&(n[e]=t||function(t){return r[e](r,t)})})),n},Pe=function(e,t,r){if(!ke()(e)||"object"!==je(e))return null;var n=null;return Object.keys(e).forEach((function(i){var o=e[i];Ae.includes(i)&&"function"==typeof o&&(n||(n={}),n[i]=function(e,t,r){return function(n){return e(t,r,n),null}}(o,t,r))})),n};function Ce(){return(Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Le(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Re(e){var t=e.children,r=e.width,n=e.height,i=e.viewBox,a=e.className,c=e.style,u=Le(e,["children","width","height","viewBox","className","style"]),s=i||{width:r,height:n,x:0,y:0},l=N()("recharts-surface",a);return o.createElement("svg",Ce({},_e(u,!0,!0),{className:l,width:r,height:n,style:c,viewBox:"".concat(s.x," ").concat(s.y," ").concat(s.width," ").concat(s.height),version:"1.1"}),t)}function Be(){return(Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Ue(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function ze(e){var t=e.children,r=e.className,n=Ue(e,["children","className"]),i=N()("recharts-layer",r);return o.createElement("g",Be({className:i},_e(n,!0)),t)}var He=r(36766),Ge=r.n(He),We=r(2652),qe=r.n(We),Ze=r(44287),Fe=r(61666),Ve=r.n(Fe);function Je(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1,n=function n(i){r<0&&(r=i),i-r>t?(e(i),r=-1):Ve()(n)};Ve()(n)}function Ye(e){return(Ye="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 Xe(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Qe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qe(e,t)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $e(){var e=function(){return null},t=!1,r=function r(n){if(!t){if(Array.isArray(n)){if(!n.length)return;var i=Xe(n),o=i[0],a=i.slice(1);return"number"==typeof o?void Je(r.bind(null,a),o):(r(o),void Je(r.bind(null,a)))}"object"===Ye(n)&&e(n),"function"==typeof n&&n()}};return{stop:function(){t=!0},start:function(e){t=!1,r(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}function Ke(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(r),!0).forEach((function(t){tt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ke(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var rt=["Webkit","Moz","O","ms"],nt=["-webkit-","-moz-","-o-","-ms-"],it=["transform","transformOrigin","transition"],ot=function(e){return e},at=function(e,t){return Object.keys(t).reduce((function(r,n){return et(et({},r),{},tt({},n,e(n,t[n])))}),{})},ct=function(e){return Object.keys(e).reduce((function(e,t){return et(et({},e),function(e,t){if(-1===it.indexOf(e))return tt({},e,t);var r="transition"===e,n=e.replace(/(\w)/,(function(e){return e.toUpperCase()})),i=t;return rt.reduce((function(e,o,a){return r&&(i=t.replace(/(transform|transform-origin)/gim,"".concat(nt[a],"$1"))),et(et({},e),{},tt({},o+n,i))}),{})}(t,e[t]))}),e)},ut=function(e,t,r){return e.map((function(e){return"".concat((n=e,n.replace(/([A-Z])/g,(function(e){return"-".concat(e.toLowerCase())})))," ").concat(t,"ms ").concat(r);var n})).join(",")};function st(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||ft(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lt(e){return function(e){if(Array.isArray(e))return pt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||ft(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ft(e,t){if(e){if("string"==typeof e)return pt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pt(e,t):void 0}}function pt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var dt=1e-4,ht=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},mt=function(e,t){return e.map((function(e,r){return e*Math.pow(t,r)})).reduce((function(e,t){return e+t}))},vt=function(e,t){return function(r){var n=ht(e,t);return mt(n,r)}},yt=function(e,t){return function(r){var n=ht(e,t),i=[].concat(lt(n.map((function(e,t){return e*t})).slice(1)),[0]);return mt(i,r)}},gt=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],i=t[1],o=t[2],a=t[3];if(1===t.length)switch(t[0]){case"linear":n=0,i=0,o=1,a=1;break;case"ease":n=.25,i=.1,o=.25,a=1;break;case"ease-in":n=.42,i=0,o=1,a=1;break;case"ease-out":n=.42,i=0,o=.58,a=1;break;case"ease-in-out":n=0,i=0,o=.58,a=1;break;default:var c=t[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var u=c[1].split(")")[0].split(",").map((function(e){return parseFloat(e)})),s=st(u,4);n=s[0],i=s[1],o=s[2],a=s[3]}}[n,o,i,a].every((function(e){return"number"==typeof e&&e>=0&&e<=1}));var l=vt(n,o),f=vt(i,a),p=yt(n,o),d=function(e){return e>1?1:e<0?0:e},h=function(e){for(var t=e>1?1:e,r=t,n=0;n<8;++n){var i=l(r)-t,o=p(r);if(Math.abs(i-t)<dt||o<dt)return f(r);r=d(r-i/o)}return f(r)};return h.isStepper=!1,h},bt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,r=void 0===t?100:t,n=e.damping,i=void 0===n?8:n,o=e.dt,a=void 0===o?17:o,c=function(e,t,n){var o=n+(-(e-t)*r-n*i)*a/1e3,c=n*a/1e3+e;return Math.abs(c-t)<dt&&Math.abs(o)<dt?[t,0]:[c,o]};return c.isStepper=!0,c.dt=a,c};function wt(e){return function(e){if(Array.isArray(e))return Ot(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Mt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xt(Object(r),!0).forEach((function(t){It(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function It(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function St(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||Mt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mt(e,t){if(e){if("string"==typeof e)return Ot(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ot(e,t):void 0}}function Ot(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var kt=function(e,t,r){return e+(t-e)*r},jt=function(e){return e.from!==e.to},Tt=function e(t,r,n){var i=at((function(e,r){if(jt(r)){var n=St(t(r.from,r.to,r.velocity),2),i=n[0],o=n[1];return Et(Et({},r),{},{from:i,velocity:o})}return r}),r);return n<1?at((function(e,t){return jt(t)?Et(Et({},t),{},{velocity:kt(t.velocity,i[e].velocity,n),from:kt(t.from,i[e].from,n)}):t}),r):e(t,i,n-1)},Dt=function(e,t,r,n,i){var o,a,c,u,s=(o=e,a=t,[Object.keys(o),Object.keys(a)].reduce((function(e,t){return e.filter((function(e){return t.includes(e)}))}))),l=s.reduce((function(r,n){return Et(Et({},r),{},It({},n,[e[n],t[n]]))}),{}),f=s.reduce((function(r,n){return Et(Et({},r),{},It({},n,{from:e[n],velocity:0,to:t[n]}))}),{}),p=-1,d=function(){return null};return d=r.isStepper?function(n){c||(c=n);var o=(n-c)/r.dt;f=Tt(r,f,o),i(Et(Et(Et({},e),t),at((function(e,t){return t.from}),f))),c=n,Object.values(f).filter(jt).length&&(p=Ve()(d))}:function(o){u||(u=o);var a=(o-u)/n,c=at((function(e,t){return kt.apply(void 0,wt(t).concat([r(a)]))}),l);if(i(Et(Et(Et({},e),t),c)),a<1)p=Ve()(d);else{var s=at((function(e,t){return kt.apply(void 0,wt(t).concat([r(1)]))}),l);i(Et(Et(Et({},e),t),s))}},function(){return Ve()(d),function(){(0,Fe.cancel)(p)}}};function At(e){return(At="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 _t(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Nt(e){return function(e){if(Array.isArray(e))return Pt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Pt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Pt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ct(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Lt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(r),!0).forEach((function(t){Rt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ct(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ut(e,t){return(Ut=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function zt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Wt(e);if(t){var i=Wt(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Ht(this,r)}}function Ht(e,t){return!t||"object"!==At(t)&&"function"!=typeof t?Gt(e):t}function Gt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wt(e){return(Wt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var qt=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&&Ut(e,t)}(a,e);var t,r,n,i=zt(a);function a(e,t){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var n=(r=i.call(this,e,t)).props,o=n.isActive,c=n.attributeName,u=n.from,s=n.to,l=n.steps,f=n.children;if(r.handleStyleChange=r.handleStyleChange.bind(Gt(r)),r.changeStyle=r.changeStyle.bind(Gt(r)),!o)return r.state={style:{}},"function"==typeof f&&(r.state={style:s}),Ht(r);if(l&&l.length)r.state={style:l[0].style};else if(u){if("function"==typeof f)return r.state={style:u},Ht(r);r.state={style:c?Rt({},c,u):u}}else r.state={style:{}};return r}return t=a,(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,r=e.canBegin;this.mounted=!0,t&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isActive,n=t.canBegin,i=t.attributeName,o=t.shouldReAnimate;if(n)if(r){if(!((0,Ze.deepEqual)(e.to,this.props.to)&&e.canBegin&&e.isActive)){var a=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var c=a||o?this.props.from:e.to;if(this.state&&this.state.style){var u={style:i?Rt({},i,c):c};(i&&this.state.style[i]!==c||!i&&this.state.style!==c)&&this.setState(u)}this.runAnimation(Lt(Lt({},this.props),{},{from:c,begin:0}))}}else{var s={style:i?Rt({},i,this.props.to):this.props.to};this.state&&this.state.style&&(i&&this.state.style[i]!==this.props.to||!i&&this.state.style!==this.props.to)&&this.setState(s)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1,this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation()}},{key:"runJSAnimation",value:function(e){var t=this,r=e.from,n=e.to,i=e.duration,o=e.easing,a=e.begin,c=e.onAnimationEnd,u=e.onAnimationStart,s=Dt(r,n,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return gt(n);case"spring":return bt();default:if("cubic-bezier"===n.split("(")[0])return gt(n)}return"function"==typeof n?n:null}(o),i,this.changeStyle);this.manager.start([u,a,function(){t.stopJSAnimation=s()},i,c])}},{key:"runStepAnimation",value:function(e){var t=this,r=e.steps,n=e.begin,i=e.onAnimationStart,o=r[0],a=o.style,c=o.duration,u=void 0===c?0:c;return this.manager.start([i].concat(Nt(r.reduce((function(e,n,i){if(0===i)return e;var o=n.duration,a=n.easing,c=void 0===a?"ease":a,u=n.style,s=n.properties,l=n.onAnimationEnd,f=i>0?r[i-1]:n,p=s||Object.keys(u);if("function"==typeof c||"spring"===c)return[].concat(Nt(e),[t.runJSAnimation.bind(t,{from:f.style,to:u,duration:o,easing:c}),o]);var d=ut(p,o,c),h=Lt(Lt(Lt({},f.style),u),{},{transition:d});return[].concat(Nt(e),[h,o,l]).filter(ot)}),[a,Math.max(u,n)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=$e());var t=e.begin,r=e.duration,n=e.attributeName,i=e.to,o=e.easing,a=e.onAnimationStart,c=e.onAnimationEnd,u=e.steps,s=e.children,l=this.manager;if(this.unSubscribe=l.subscribe(this.handleStyleChange),"function"!=typeof o&&"function"!=typeof s&&"spring"!==o)if(u.length>1)this.runStepAnimation(e);else{var f=n?Rt({},n,i):i,p=ut(Object.keys(f),r,o);l.start([a,t,Lt(Lt({},f),{},{transition:p}),r,c])}else this.runJSAnimation(e)}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"render",value:function(){var e=this.props,t=e.children,r=(e.begin,e.duration,e.attributeName,e.easing,e.isActive),n=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,_t(e,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),i=o.Children.count(t),a=ct(this.state.style);if("function"==typeof t)return t(a);if(!r||0===i)return t;var c=function(e){var t=e.props,r=t.style,i=void 0===r?{}:r,c=t.className;return(0,o.cloneElement)(e,Lt(Lt({},n),{},{style:Lt(Lt({},i),a),className:c}))};return 1===i?c(o.Children.only(t)):o.createElement("div",null,o.Children.map(t,(function(e){return c(e)})))}}])&&Bt(t.prototype,r),n&&Bt(t,n),a}(o.PureComponent);qt.displayName="Animate",qt.propTypes={from:qe().oneOfType([qe().object,qe().string]),to:qe().oneOfType([qe().object,qe().string]),attributeName:qe().string,duration:qe().number,begin:qe().number,easing:qe().oneOfType([qe().string,qe().func]),steps:qe().arrayOf(qe().shape({duration:qe().number.isRequired,style:qe().object.isRequired,easing:qe().oneOfType([qe().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),qe().func]),properties:qe().arrayOf("string"),onAnimationEnd:qe().func})),children:qe().oneOfType([qe().node,qe().func]),isActive:qe().bool,canBegin:qe().bool,onAnimationEnd:qe().func,shouldReAnimate:qe().bool,onAnimationStart:qe().func,onAnimationReStart:qe().func},qt.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};var Zt=qt,Ft=r(33092);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 Jt(){return(Jt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Yt(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Xt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xt(Object(r),!0).forEach((function(t){$t(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function $t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tr(e,t){return(tr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=ir(e);if(t){var i=ir(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return nr(this,r)}}function nr(e,t){return!t||"object"!==Vt(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 ir(e){return(ir=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}void 0===Number.isFinite&&(Number.isFinite=function(e){return"number"==typeof e&&isFinite(e)});var or=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.steps,r=e.duration;return t&&t.length?t.reduce((function(e,t){return e+(Number.isFinite(t.duration)&&t.duration>0?t.duration:0)}),0):Number.isFinite(r)?r:0},ar=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&&tr(e,t)}(a,e);var t,r,n,i=rr(a);function a(){var e;Kt(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).state={isActive:!1},e.handleEnter=function(t,r){var n=e.props,i=n.appearOptions,o=n.enterOptions;e.handleStyleActive(r?i:o)},e.handleExit=function(){e.handleStyleActive(e.props.leaveOptions)},e}return t=a,(r=[{key:"handleStyleActive",value:function(e){if(e){var t=e.onAnimationEnd?function(){e.onAnimationEnd()}:null;this.setState(Qt(Qt({},e),{},{onAnimationEnd:t,isActive:!0}))}}},{key:"parseTimeout",value:function(){var e=this.props,t=e.appearOptions,r=e.enterOptions,n=e.leaveOptions;return or(t)+or(r)+or(n)}},{key:"render",value:function(){var e=this,t=this.props,r=t.children,n=(t.appearOptions,t.enterOptions,t.leaveOptions,Yt(t,["children","appearOptions","enterOptions","leaveOptions"]));return o.createElement(Ft.Transition,Jt({},n,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return o.createElement(Zt,e.state,o.Children.only(r))}))}}])&&er(t.prototype,r),n&&er(t,n),a}(o.Component);ar.propTypes={appearOptions:qe().object,enterOptions:qe().object,leaveOptions:qe().object,children:qe().element};var cr=ar;function ur(e){var t=e.component,r=e.children,n=e.appear,i=e.enter,a=e.leave;return o.createElement(Ft.TransitionGroup,{component:t},o.Children.map(r,(function(e,t){return o.createElement(cr,{appearOptions:n,enterOptions:i,leaveOptions:a,key:"child-".concat(t)},e)})))}ur.propTypes={appear:qe().object,enter:qe().object,leave:qe().object,children:qe().oneOfType([qe().array,qe().element]),component:qe().any},ur.defaultProps={component:"span"};var sr=Zt;function lr(e){return(lr="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 fr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return pr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return pr(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function dr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function hr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dr(Object(r),!0).forEach((function(t){mr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function mr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gr(e,t){return(gr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function br(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=xr(e);if(t){var i=xr(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return wr(this,r)}}function wr(e,t){return!t||"object"!==lr(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 xr(e){return(xr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Er(e){return B()(e)&&J(e[0])&&J(e[1])?e.join(" ~ "):e}var Ir=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&&gr(e,t)}(a,e);var t,r,n,i=br(a);function a(){return vr(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"renderContent",value:function(){var e=this.props,t=e.payload,r=e.separator,n=e.formatter,i=e.itemStyle,a=e.itemSorter;if(t&&t.length){var c=(a?be()(t,a):t).map((function(e,a){if("none"===e.type)return null;var c=hr({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},i),u=e.formatter||n||Er,s=e.name,l=e.value;if(u){var f=u(l,s,e,a,t);if(Array.isArray(f)){var p=fr(f,2);l=p[0],s=p[1]}else l=f}return o.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(a),style:c},J(s)?o.createElement("span",{className:"recharts-tooltip-item-name"},s):null,J(s)?o.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,o.createElement("span",{className:"recharts-tooltip-item-value"},l),o.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))}));return o.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},c)}return null}},{key:"render",value:function(){var e=this.props,t=e.wrapperClassName,r=e.contentStyle,n=e.labelClassName,i=e.labelStyle,a=e.label,c=e.labelFormatter,u=e.payload,s=hr({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},r),l=hr({margin:0},i),f=!Ie()(a),p=f?a:"",d=N()("recharts-default-tooltip",t),h=N()("recharts-tooltip-label",n);return f&&c&&(p=c(a,u)),o.createElement("div",{className:d,style:s},o.createElement("p",{className:h,style:l},o.isValidElement(p)?p:"".concat(p)),this.renderContent())}}])&&yr(t.prototype,r),n&&yr(t,n),a}(o.PureComponent);Ir.displayName="DefaultTooltipContent",Ir.defaultProps={separator:" : ",contentStyle:{},itemStyle:{},labelStyle:{}};var Sr={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return Sr[e]},set:function(e,t){if("string"==typeof e)Sr[e]=t;else{var r=Object.keys(e);r&&r.length&&r.forEach((function(t){Sr[t]=e[t]}))}}};function Mr(e){return(Mr="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 Or(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function kr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Or(Object(r),!0).forEach((function(t){jr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Or(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ar(e,t){return(Ar=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Pr(e);if(t){var i=Pr(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Nr(this,r)}}function Nr(e,t){return!t||"object"!==Mr(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 Pr(e){return(Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Cr="recharts-tooltip-wrapper";function Lr(e){return e.dataKey}var Rr=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&&Ar(e,t)}(a,e);var t,r,n,i=_r(a);function a(){var e;Tr(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).state={boxWidth:-1,boxHeight:-1},e.wrapperNode=void 0,e.getTranslate=function(t){var r=t.key,n=t.tooltipDimension,i=t.viewBoxDimension,o=e.props,a=o.allowEscapeViewBox,c=o.coordinate,u=o.offset,s=o.position,l=o.viewBox;if(s&&V(s[r]))return s[r];var f=c[r]-n-u,p=c[r]+u;return a[r]?p:c[r]+n+u>l[r]+i?Math.max(f,l[r]):Math.max(p,l[r])},e}return t=a,(r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var e=this.state,t=e.boxWidth,r=e.boxHeight;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();(Math.abs(n.width-t)>1||Math.abs(n.height-r)>1)&&this.setState({boxWidth:n.width,boxHeight:n.height})}else-1===t&&-1===r||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var e,t,r,n=this,i=this.props,a=i.payload,c=i.isAnimationActive,u=i.animationDuration,s=i.animationEasing,l=i.filterNull,f=function(e,t){return!0===e?Ge()(t,Lr):me()(e)?Ge()(t,e):t}(i.payloadUniqBy,l&&a&&a.length?a.filter((function(e){return!Ie()(e.value)})):a),p=f&&f.length,d=this.props,h=d.content,m=d.viewBox,v=d.coordinate,y=d.position,g=d.active,b=kr({pointerEvents:"none",visibility:g&&p?"visible":"hidden",position:"absolute",top:0,left:0},d.wrapperStyle);if(y&&V(y.x)&&V(y.y))t=y.x,r=y.y;else{var w=this.state,x=w.boxWidth,E=w.boxHeight;x>0&&E>0&&v?(t=this.getTranslate({key:"x",tooltipDimension:x,viewBoxDimension:m.width}),r=this.getTranslate({key:"y",tooltipDimension:E,viewBoxDimension:m.height})):b.visibility="hidden"}b=kr(kr({},ct({transform:this.props.useTranslate3d?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")})),b),c&&g&&(b=kr(kr({},ct({transition:"transform ".concat(u,"ms ").concat(s)})),b));var I=N()(Cr,(jr(e={},"".concat(Cr,"-right"),V(t)&&v&&V(v.x)&&t>=v.x),jr(e,"".concat(Cr,"-left"),V(t)&&v&&V(v.x)&&t<v.x),jr(e,"".concat(Cr,"-bottom"),V(r)&&v&&V(v.y)&&r>=v.y),jr(e,"".concat(Cr,"-top"),V(r)&&v&&V(v.y)&&r<v.y),e));return o.createElement("div",{className:I,style:b,ref:function(e){n.wrapperNode=e}},function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?o.createElement(e,t):o.createElement(Ir,t)}(h,kr(kr({},this.props),{},{payload:f})))}}])&&Dr(t.prototype,r),n&&Dr(t,n),a}(o.PureComponent);Rr.displayName="Tooltip",Rr.defaultProps={active:!1,allowEscapeViewBox:{x:!1,y:!1},offset:10,viewBox:{x1:0,x2:0,y1:0,y2:0},coordinate:{x:0,y:0},cursorStyle:{},separator:" : ",wrapperStyle:{},contentStyle:{},itemStyle:{},labelStyle:{},cursor:!0,trigger:"hover",isAnimationActive:!Sr.isSsr,animationEasing:"ease",animationDuration:400,filterNull:!0,useTranslate3d:!1};var Br=r(21528),Ur=r.n(Br),zr=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,Math.PI),Hr=2*zr;var Gr={draw:function(e,t){var r=Math.sqrt(t/zr);e.moveTo(r,0),e.arc(0,0,r,0,Hr)}},Wr={draw:function(e,t){var r=Math.sqrt(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},qr=Math.sqrt(1/3),Zr=2*qr,Fr={draw:function(e,t){var r=Math.sqrt(t/Zr),n=r*qr;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},Vr={draw:function(e,t){var r=Math.sqrt(t),n=-r/2;e.rect(n,n,r,r)}},Jr=Math.sin(zr/10)/Math.sin(7*zr/10),Yr=Math.sin(Hr/10)*Jr,Xr=-Math.cos(Hr/10)*Jr,Qr={draw:function(e,t){var r=Math.sqrt(.8908130915292852*t),n=Yr*r,i=Xr*r;e.moveTo(0,-r),e.lineTo(n,i);for(var o=1;o<5;++o){var a=Hr*o/5,c=Math.cos(a),u=Math.sin(a);e.lineTo(u*r,-c*r),e.lineTo(c*n-u*i,u*n+c*i)}e.closePath()}},$r=Math.sqrt(3),Kr={draw:function(e,t){var r=-Math.sqrt(t/(3*$r));e.moveTo(0,2*r),e.lineTo(-$r*r,-r),e.lineTo($r*r,-r),e.closePath()}},en=-.5,tn=Math.sqrt(3)/2,rn=1/Math.sqrt(12),nn=3*(rn/2+1),on={draw:function(e,t){var r=Math.sqrt(t/nn),n=r/2,i=r*rn,o=n,a=r*rn+r,c=-o,u=a;e.moveTo(n,i),e.lineTo(o,a),e.lineTo(c,u),e.lineTo(en*n-tn*i,tn*n+en*i),e.lineTo(en*o-tn*a,tn*o+en*a),e.lineTo(en*c-tn*u,tn*c+en*u),e.lineTo(en*n+tn*i,en*i-tn*n),e.lineTo(en*o+tn*a,en*a-tn*o),e.lineTo(en*c+tn*u,en*u-tn*c),e.closePath()}};const an=Math.PI,cn=2*an,un=1e-6,sn=cn-un;function ln(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function fn(){return new ln}ln.prototype=fn.prototype={constructor:ln,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,r,n){this._+="Q"+ +e+","+ +t+","+(this._x1=+r)+","+(this._y1=+n)},bezierCurveTo:function(e,t,r,n,i,o){this._+="C"+ +e+","+ +t+","+ +r+","+ +n+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(e,t,r,n,i){e=+e,t=+t,r=+r,n=+n,i=+i;var o=this._x1,a=this._y1,c=r-e,u=n-t,s=o-e,l=a-t,f=s*s+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(f>un)if(Math.abs(l*c-u*s)>un&&i){var p=r-o,d=n-a,h=c*c+u*u,m=p*p+d*d,v=Math.sqrt(h),y=Math.sqrt(f),g=i*Math.tan((an-Math.acos((h+f-m)/(2*v*y)))/2),b=g/y,w=g/v;Math.abs(b-1)>un&&(this._+="L"+(e+b*s)+","+(t+b*l)),this._+="A"+i+","+i+",0,0,"+ +(l*p>s*d)+","+(this._x1=e+w*c)+","+(this._y1=t+w*u)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,r,n,i,o){e=+e,t=+t,o=!!o;var a=(r=+r)*Math.cos(n),c=r*Math.sin(n),u=e+a,s=t+c,l=1^o,f=o?n-i:i-n;if(r<0)throw new Error("negative radius: "+r);null===this._x1?this._+="M"+u+","+s:(Math.abs(this._x1-u)>un||Math.abs(this._y1-s)>un)&&(this._+="L"+u+","+s),r&&(f<0&&(f=f%cn+cn),f>sn?this._+="A"+r+","+r+",0,1,"+l+","+(e-a)+","+(t-c)+"A"+r+","+r+",0,1,"+l+","+(this._x1=u)+","+(this._y1=s):f>un&&(this._+="A"+r+","+r+",0,"+ +(f>=an)+","+l+","+(this._x1=e+r*Math.cos(i))+","+(this._y1=t+r*Math.sin(i))))},rect:function(e,t,r,n){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +r+"v"+ +n+"h"+-r+"Z"},toString:function(){return this._}};var pn=fn;function dn(e){return function(){return e}}function hn(e){return(hn="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 mn(){return(mn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function vn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gn(e,t){return(gn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function bn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=xn(e);if(t){var i=xn(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return wn(this,r)}}function wn(e,t){return!t||"object"!==hn(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 xn(e){return(xn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var En={symbolCircle:Gr,symbolCross:Wr,symbolDiamond:Fr,symbolSquare:Vr,symbolStar:Qr,symbolTriangle:Kr,symbolWye:on},In=Math.PI/180,Sn=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&&gn(e,t)}(a,e);var t,r,n,i=bn(a);function a(){return vn(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"getPath",value:function(){var e=this.props,t=e.size,r=e.sizeType,n=e.type,i=function(e){var t="symbol".concat(Ur()(e));return En[t]||Gr}(n);return function(e,t){var r=null;function n(){var n;if(r||(r=n=pn()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),n)return r=null,n+""||null}return e="function"==typeof e?e:dn(e||Gr),t="function"==typeof t?t:dn(void 0===t?64:+t),n.type=function(t){return arguments.length?(e="function"==typeof t?t:dn(t),n):e},n.size=function(e){return arguments.length?(t="function"==typeof e?e:dn(+e),n):t},n.context=function(e){return arguments.length?(r=null==e?null:e,n):r},n}().type(i).size(function(e,t,r){if("area"===t)return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return.5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var n=18*In;return 1.25*e*e*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}}(t,r,n))()}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.cx,n=e.cy,i=e.size;return r===+r&&n===+n&&i===+i?o.createElement("path",mn({},_e(this.props,!0),{className:N()("recharts-symbols",t),transform:"translate(".concat(r,", ").concat(n,")"),d:this.getPath()})):null}}])&&yn(t.prototype,r),n&&yn(t,n),a}(o.PureComponent);function Mn(e){return(Mn="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 On(){return(On=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function kn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function jn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function An(e,t){return(An=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _n(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Pn(e);if(t){var i=Pn(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Nn(this,r)}}function Nn(e,t){return!t||"object"!==Mn(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 Pn(e){return(Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Sn.defaultProps={type:"circle",size:64,sizeType:"area"},Sn.registerSymbol=function(e,t){En["symbol".concat(Ur()(e))]=t};var Cn=32,Ln=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&&An(e,t)}(a,e);var t,r,n,i=_n(a);function a(){return Tn(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"renderIcon",value:function(e){var t=this.props.inactiveColor,r=16,n=Cn/6,i=Cn/3,a=e.inactive?t:e.color;if("plainline"===e.type)return o.createElement("line",{strokeWidth:4,fill:"none",stroke:a,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:r,x2:Cn,y2:r,className:"recharts-legend-icon"});if("line"===e.type)return o.createElement("path",{strokeWidth:4,fill:"none",stroke:a,d:"M0,".concat(r,"h").concat(i,"\n A").concat(n,",").concat(n,",0,1,1,").concat(2*i,",").concat(r,"\n H").concat(Cn,"M").concat(2*i,",").concat(r,"\n A").concat(n,",").concat(n,",0,1,1,").concat(i,",").concat(r),className:"recharts-legend-icon"});if("rect"===e.type)return o.createElement("path",{stroke:"none",fill:a,d:"M0,".concat(4,"h").concat(Cn,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(o.isValidElement(e.legendIcon)){var c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kn(Object(r),!0).forEach((function(t){jn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e);return delete c.legendIcon,o.cloneElement(e.legendIcon,c)}return o.createElement(Sn,{fill:a,cx:r,cy:r,size:Cn,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,t=this.props,r=t.payload,n=t.iconSize,i=t.layout,a=t.formatter,c=t.inactiveColor,u={x:0,y:0,width:Cn,height:Cn},s={display:"horizontal"===i?"inline-block":"block",marginRight:10},l={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(t,r){var i,f=t.formatter||a,p=N()((jn(i={"recharts-legend-item":!0},"legend-item-".concat(r),!0),jn(i,"inactive",t.inactive),i));if("none"===t.type)return null;var d=t.inactive?c:t.color;return o.createElement("li",On({className:p,style:s,key:"legend-item-".concat(r)},Pe(e.props,t,r)),o.createElement(Re,{width:n,height:n,viewBox:u,style:l},e.renderIcon(t)),o.createElement("span",{className:"recharts-legend-item-text",style:{color:d}},f?f(t.value,t,r):t.value))}))}},{key:"render",value:function(){var e=this.props,t=e.payload,r=e.layout,n=e.align;if(!t||!t.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?n:"left"};return o.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}])&&Dn(t.prototype,r),n&&Dn(t,n),a}(o.PureComponent);function Rn(e){return(Rn="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 Bn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Un(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Bn(Object(r),!0).forEach((function(t){zn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wn(e,t){return(Wn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Fn(e);if(t){var i=Fn(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Zn(this,r)}}function Zn(e,t){return!t||"object"!==Rn(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 Fn(e){return(Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Vn(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Jn(e){return e.value}function Yn(e,t){return!0===e?Ge()(t,Jn):me()(e)?Ge()(t,e):t}Ln.displayName="Legend",Ln.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"};var Xn=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&&Wn(e,t)}(a,e);var t,r,n,i=qn(a);function a(){var e;Hn(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).wrapperNode=void 0,e.state={boxWidth:-1,boxHeight:-1},e}return t=a,n=[{key:"getWithHeight",value:function(e,t){var r=e.props.layout;return"vertical"===r&&V(e.props.height)?{height:e.props.height}:"horizontal"===r?{width:e.props.width||t}:null}}],(r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){return this.wrapperNode&&this.wrapperNode.getBoundingClientRect?this.wrapperNode.getBoundingClientRect():null}},{key:"getBBoxSnapshot",value:function(){var e=this.state,t=e.boxWidth,r=e.boxHeight;return t>=0&&r>=0?{width:t,height:r}:null}},{key:"getDefaultPosition",value:function(e){var t,r,n=this.props,i=n.layout,o=n.align,a=n.verticalAlign,c=n.margin,u=n.chartWidth,s=n.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===o&&"vertical"===i?{left:((u||0)-(this.getBBoxSnapshot()||{width:0}).width)/2}:"right"===o?{right:c&&c.right||0}:{left:c&&c.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(r="middle"===a?{top:((s||0)-(this.getBBoxSnapshot()||{height:0}).height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),Un(Un({},t),r)}},{key:"updateBBox",value:function(){var e=this.state,t=e.boxWidth,r=e.boxHeight,n=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var i=this.wrapperNode.getBoundingClientRect();(Math.abs(i.width-t)>1||Math.abs(i.height-r)>1)&&this.setState({boxWidth:i.width,boxHeight:i.height},(function(){n&&n(i)}))}else-1===t&&-1===r||this.setState({boxWidth:-1,boxHeight:-1},(function(){n&&n(null)}))}},{key:"render",value:function(){var e=this,t=this.props,r=t.content,n=t.width,i=t.height,a=t.wrapperStyle,c=t.payloadUniqBy,u=t.payload,s=Un(Un({position:"absolute",width:n||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return o.createElement("div",{className:"recharts-legend-wrapper",style:s,ref:function(t){e.wrapperNode=t}},function(e,t){if(o.isValidElement(e))return o.cloneElement(e,t);if(me()(e))return o.createElement(e,t);t.ref;var r=Vn(t,["ref"]);return o.createElement(Ln,r)}(r,Un(Un({},this.props),{},{payload:Yn(c,u)})))}}])&&Gn(t.prototype,r),n&&Gn(t,n),a}(o.PureComponent);function Qn(){}function $n(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function Kn(e){this._context=e}function ei(e){this._context=e}function ti(e){this._context=e}function ri(e){this._context=e}function ni(e){this._context=e}function ii(e){return new ni(e)}function oi(e){return e<0?-1:1}function ai(e,t,r){var n=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(n||i<0&&-0),a=(r-e._y1)/(i||n<0&&-0),c=(o*i+a*n)/(n+i);return(oi(o)+oi(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(c))||0}function ci(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function ui(e,t,r){var n=e._x0,i=e._y0,o=e._x1,a=e._y1,c=(o-n)/3;e._context.bezierCurveTo(n+c,i+c*t,o-c,a-c*r,o,a)}function si(e){this._context=e}function li(e){this._context=new fi(e)}function fi(e){this._context=e}function pi(e){this._context=e}function di(e){var t,r,n=e.length-1,i=new Array(n),o=new Array(n),a=new Array(n);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/o[t-1],o[t]-=r,a[t]-=r*a[t-1];for(i[n-1]=a[n-1]/o[n-1],t=n-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function hi(e,t){this._context=e,this._t=t}Xn.displayName="Legend",Xn.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"},Kn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:$n(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:$n(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ei.prototype={areaStart:Qn,areaEnd:Qn,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:$n(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ti.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:$n(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ri.prototype={areaStart:Qn,areaEnd:Qn,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},ni.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},si.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:ui(this,this._t0,ci(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,ui(this,ci(this,r=ai(this,e,t)),r);break;default:ui(this,this._t0,r=ai(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}},(li.prototype=Object.create(si.prototype)).point=function(e,t){si.prototype.point.call(this,t,e)},fi.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,o){this._context.bezierCurveTo(t,e,n,r,o,i)}},pi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===r)this._context.lineTo(e[1],t[1]);else for(var n=di(e),i=di(t),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(n[0][o],i[0][o],n[1][o],i[1][o],e[a],t[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},hi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}}this._x=e,this._y=t}};Array.prototype.slice;function mi(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function vi(e){return e[0]}function yi(e){return e[1]}function gi(e,t){var r=dn(!0),n=null,i=ii,o=null;function a(a){var c,u,s,l=(a=mi(a)).length,f=!1;for(null==n&&(o=i(s=pn())),c=0;c<=l;++c)!(c<l&&r(u=a[c],c,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+e(u,c,a),+t(u,c,a));if(s)return o=null,s+""||null}return e="function"==typeof e?e:void 0===e?vi:dn(e),t="function"==typeof t?t:void 0===t?yi:dn(t),a.x=function(t){return arguments.length?(e="function"==typeof t?t:dn(+t),a):e},a.y=function(e){return arguments.length?(t="function"==typeof e?e:dn(+e),a):t},a.defined=function(e){return arguments.length?(r="function"==typeof e?e:dn(!!e),a):r},a.curve=function(e){return arguments.length?(i=e,null!=n&&(o=i(n)),a):i},a.context=function(e){return arguments.length?(null==e?n=o=null:o=i(n=e),a):n},a}function bi(e,t,r){var n=null,i=dn(!0),o=null,a=ii,c=null;function u(u){var s,l,f,p,d,h=(u=mi(u)).length,m=!1,v=new Array(h),y=new Array(h);for(null==o&&(c=a(d=pn())),s=0;s<=h;++s){if(!(s<h&&i(p=u[s],s,u))===m)if(m=!m)l=s,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),f=s-1;f>=l;--f)c.point(v[f],y[f]);c.lineEnd(),c.areaEnd()}m&&(v[s]=+e(p,s,u),y[s]=+t(p,s,u),c.point(n?+n(p,s,u):v[s],r?+r(p,s,u):y[s]))}if(d)return c=null,d+""||null}function s(){return gi().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?vi:dn(+e),t="function"==typeof t?t:dn(void 0===t?0:+t),r="function"==typeof r?r:void 0===r?yi:dn(+r),u.x=function(t){return arguments.length?(e="function"==typeof t?t:dn(+t),n=null,u):e},u.x0=function(t){return arguments.length?(e="function"==typeof t?t:dn(+t),u):e},u.x1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:dn(+e),u):n},u.y=function(e){return arguments.length?(t="function"==typeof e?e:dn(+e),r=null,u):t},u.y0=function(e){return arguments.length?(t="function"==typeof e?e:dn(+e),u):t},u.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:dn(+e),u):r},u.lineX0=u.lineY0=function(){return s().x(e).y(t)},u.lineY1=function(){return s().x(e).y(r)},u.lineX1=function(){return s().x(n).y(t)},u.defined=function(e){return arguments.length?(i="function"==typeof e?e:dn(!!e),u):i},u.curve=function(e){return arguments.length?(a=e,null!=o&&(c=a(o)),u):a},u.context=function(e){return arguments.length?(null==e?o=c=null:c=a(o=e),u):o},u}function wi(e){return(wi="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 xi(){return(xi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Ei(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ii(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ei(Object(r),!0).forEach((function(t){Si(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ei(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Si(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ki(e,t){return(ki=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ji(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Di(e);if(t){var i=Di(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Ti(this,r)}}function Ti(e,t){return!t||"object"!==wi(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 Di(e){return(Di=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ai={curveBasisClosed:function(e){return new ei(e)},curveBasisOpen:function(e){return new ti(e)},curveBasis:function(e){return new Kn(e)},curveLinearClosed:function(e){return new ri(e)},curveLinear:ii,curveMonotoneX:function(e){return new si(e)},curveMonotoneY:function(e){return new li(e)},curveNatural:function(e){return new pi(e)},curveStep:function(e){return new hi(e,.5)},curveStepAfter:function(e){return new hi(e,1)},curveStepBefore:function(e){return new hi(e,0)}},_i=function(e){return e.x===+e.x&&e.y===+e.y},Ni=function(e){return e.x},Pi=function(e){return e.y},Ci=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&&ki(e,t)}(a,e);var t,r,n,i=ji(a);function a(){return Mi(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"getPath",value:function(){var e,t=this.props,r=t.type,n=t.points,i=t.baseLine,o=t.layout,a=t.connectNulls,c=function(e,t){if(me()(e))return e;var r="curve".concat(Ur()(e));return"curveMonotone"===r&&t?Ai["".concat(r).concat("vertical"===t?"Y":"X")]:Ai[r]||ii}(r,o),u=a?n.filter((function(e){return _i(e)})):n;if(B()(i)){var s=a?i.filter((function(e){return _i(e)})):i,l=u.map((function(e,t){return Ii(Ii({},e),{},{base:s[t]})}));return(e="vertical"===o?bi().y(Pi).x1(Ni).x0((function(e){return e.base.x})):bi().x(Ni).y1(Pi).y0((function(e){return e.base.y}))).defined(_i).curve(c),e(l)}return(e="vertical"===o&&V(i)?bi().y(Pi).x1(Ni).x0(i):V(i)?bi().x(Ni).y1(Pi).y0(i):gi().x(Ni).y(Pi)).defined(_i).curve(c),e(u)}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.points,n=e.path,i=e.pathRef;if(!(r&&r.length||n))return null;var a=r&&r.length?this.getPath():n;return o.createElement("path",xi({},_e(this.props),Ne(this.props),{className:N()("recharts-curve",t),d:a,ref:i}))}}])&&Oi(t.prototype,r),n&&Oi(t,n),a}(o.PureComponent);function Li(e){return(Li="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 Ri(){return(Ri=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Bi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ui(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zi(e,t){return(zi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Hi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Wi(e);if(t){var i=Wi(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Gi(this,r)}}function Gi(e,t){return!t||"object"!==Li(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 Wi(e){return(Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Ci.defaultProps={type:"linear",points:[],connectNulls:!1};var qi=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&&zi(e,t)}(a,e);var t,r,n,i=Hi(a);function a(){return Bi(this,a),i.apply(this,arguments)}return t=a,n=[{key:"getPath",value:function(e,t,r,n,i,o){return"M".concat(e,",").concat(i,"v").concat(n,"M").concat(o,",").concat(t,"h").concat(r)}}],(r=[{key:"render",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,c=e.top,u=e.left,s=e.className;return V(t)&&V(r)&&V(n)&&V(i)&&V(c)&&V(u)?o.createElement("path",Ri({},_e(this.props,!0),{className:N()("recharts-cross",s),d:a.getPath(t,r,n,i,c,u)})):null}}])&&Ui(t.prototype,r),n&&Ui(t,n),a}(o.PureComponent);function Zi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Fi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Zi(Object(r),!0).forEach((function(t){Vi(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Vi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}qi.defaultProps={x:0,y:0,top:0,left:0,width:0,height:0};var Ji=Math.PI/180,Yi=function(e){return 180*e/Math.PI},Xi=function(e,t,r,n){return{x:e+Math.cos(-Ji*n)*r,y:t+Math.sin(-Ji*n)*r}},Qi=function(e,t){var r=e.x,n=e.y,i=t.cx,o=t.cy,a=function(e,t){var r=e.x,n=e.y,i=t.x,o=t.y;return Math.sqrt(Math.pow(r-i,2)+Math.pow(n-o,2))}({x:r,y:n},{x:i,y:o});if(a<=0)return{radius:a};var c=(r-i)/a,u=Math.acos(c);return n>o&&(u=2*Math.PI-u),{radius:a,angle:Yi(u),angleInRadian:u}},$i=function(e,t){var r=t.startAngle,n=t.endAngle,i=Math.floor(r/360),o=Math.floor(n/360);return e+360*Math.min(i,o)},Ki=function(e,t){var r=e.x,n=e.y,i=Qi({x:r,y:n},t),o=i.radius,a=i.angle,c=t.innerRadius,u=t.outerRadius;if(o<c||o>u)return!1;if(0===o)return!0;var s,l=function(e){var t=e.startAngle,r=e.endAngle,n=Math.floor(t/360),i=Math.floor(r/360),o=Math.min(n,i);return{startAngle:t-360*o,endAngle:r-360*o}}(t),f=l.startAngle,p=l.endAngle,d=a;if(f<=p){for(;d>p;)d-=360;for(;d<f;)d+=360;s=d>=f&&d<=p}else{for(;d>f;)d-=360;for(;d<p;)d+=360;s=d>=p&&d<=f}return s?Fi(Fi({},t),{},{radius:o,angle:$i(d,t)}):null};function eo(e){return(eo="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 to(){return(to=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ro(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function no(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function io(e,t){return(io=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=co(e);if(t){var i=co(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return ao(this,r)}}function ao(e,t){return!t||"object"!==eo(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 co(e){return(co=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var uo=function(e){var t=e.cx,r=e.cy,n=e.radius,i=e.angle,o=e.sign,a=e.isExternal,c=e.cornerRadius,u=e.cornerIsExternal,s=c*(a?1:-1)+n,l=Math.asin(c/s)/Ji,f=u?i:i+o*l,p=u?i-o*l:i;return{center:Xi(t,r,s,f),circleTangency:Xi(t,r,n,f),lineTangency:Xi(t,r,s*Math.cos(l*Ji),p),theta:l}},so=function(e){var t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,o=e.startAngle,a=function(e,t){return Z(t-e)*Math.min(Math.abs(t-e),359.999)}(o,e.endAngle),c=o+a,u=Xi(t,r,i,o),s=Xi(t,r,i,c),l="M ".concat(u.x,",").concat(u.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o>c),",\n ").concat(s.x,",").concat(s.y,"\n ");if(n>0){var f=Xi(t,r,n,o),p=Xi(t,r,n,c);l+="L ".concat(p.x,",").concat(p.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o<=c),",\n ").concat(f.x,",").concat(f.y," Z")}else l+="L ".concat(t,",").concat(r," Z");return l},lo=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&&io(e,t)}(a,e);var t,r,n,i=oo(a);function a(){return ro(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"render",value:function(){var e=this.props,t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,a=e.cornerRadius,c=e.forceCornerRadius,u=e.cornerIsExternal,s=e.startAngle,l=e.endAngle,f=e.className;if(i<n||s===l)return null;var p,d=N()("recharts-sector",f),h=i-n,m=Q(a,h,0,!0);return p=m>0&&Math.abs(s-l)<360?function(e){var t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,o=e.cornerRadius,a=e.forceCornerRadius,c=e.cornerIsExternal,u=e.startAngle,s=e.endAngle,l=Z(s-u),f=uo({cx:t,cy:r,radius:i,angle:u,sign:l,cornerRadius:o,cornerIsExternal:c}),p=f.circleTangency,d=f.lineTangency,h=f.theta,m=uo({cx:t,cy:r,radius:i,angle:s,sign:-l,cornerRadius:o,cornerIsExternal:c}),v=m.circleTangency,y=m.lineTangency,g=m.theta,b=c?Math.abs(u-s):Math.abs(u-s)-h-g;if(b<0)return a?"M ".concat(d.x,",").concat(d.y,"\n a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n a").concat(o,",").concat(o,",0,0,1,").concat(2*-o,",0\n "):so({cx:t,cy:r,innerRadius:n,outerRadius:i,startAngle:u,endAngle:s});var w="M ".concat(d.x,",").concat(d.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(p.x,",").concat(p.y,"\n A").concat(i,",").concat(i,",0,").concat(+(b>180),",").concat(+(l<0),",").concat(v.x,",").concat(v.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(y.x,",").concat(y.y,"\n ");if(n>0){var x=uo({cx:t,cy:r,radius:n,angle:u,sign:l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),E=x.circleTangency,I=x.lineTangency,S=x.theta,M=uo({cx:t,cy:r,radius:n,angle:s,sign:-l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),O=M.circleTangency,k=M.lineTangency,j=M.theta,T=c?Math.abs(u-s):Math.abs(u-s)-S-j;if(T<0&&0===o)return"".concat(w,"L").concat(t,",").concat(r,"Z");w+="L".concat(k.x,",").concat(k.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(O.x,",").concat(O.y,"\n A").concat(n,",").concat(n,",0,").concat(+(T>180),",").concat(+(l>0),",").concat(E.x,",").concat(E.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(I.x,",").concat(I.y,"Z")}else w+="L".concat(t,",").concat(r,"Z");return w}({cx:t,cy:r,innerRadius:n,outerRadius:i,cornerRadius:Math.min(m,h/2),forceCornerRadius:c,cornerIsExternal:u,startAngle:s,endAngle:l}):so({cx:t,cy:r,innerRadius:n,outerRadius:i,startAngle:s,endAngle:l}),o.createElement("path",to({},_e(this.props,!0),{className:d,d:p}))}}])&&no(t.prototype,r),n&&no(t,n),a}(o.PureComponent);function fo(e){return(fo="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 po(){return(po=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ho(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mo(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vo(e,t){return(vo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=bo(e);if(t){var i=bo(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return go(this,r)}}function go(e,t){return!t||"object"!==fo(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 bo(e){return(bo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}lo.defaultProps={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1};var wo=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&&vo(e,t)}(a,e);var t,r,n,i=yo(a);function a(){return ho(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"render",value:function(){var e=this.props,t=e.cx,r=e.cy,n=e.r,i=e.className,a=N()("recharts-dot",i);return t===+t&&r===+r&&n===+n?o.createElement("circle",po({},_e(this.props),Ne(this.props),{className:a,cx:t,cy:r,r:n})):null}}])&&mo(t.prototype,r),n&&mo(t,n),a}(o.PureComponent);function xo(e){return(xo="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 Eo(){return(Eo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Io(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function So(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mo(e,t){return(Mo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=jo(e);if(t){var i=jo(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return ko(this,r)}}function ko(e,t){return!t||"object"!==xo(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 jo(e){return(jo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var To=function(e,t,r,n,i){var o,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,u=r>=0?1:-1,s=n>=0&&r>=0||n<0&&r<0?1:0;if(a>0&&i instanceof Array){for(var l=[0,0,0,0],f=0;f<4;f++)l[f]=i[f]>a?a:i[f];o="M".concat(e,",").concat(t+c*l[0]),l[0]>0&&(o+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(s,",").concat(e+u*l[0],",").concat(t)),o+="L ".concat(e+r-u*l[1],",").concat(t),l[1]>0&&(o+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(s,",\n ").concat(e+r,",").concat(t+c*l[1])),o+="L ".concat(e+r,",").concat(t+n-c*l[2]),l[2]>0&&(o+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(s,",\n ").concat(e+r-u*l[2],",").concat(t+n)),o+="L ".concat(e+u*l[3],",").concat(t+n),l[3]>0&&(o+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(s,",\n ").concat(e,",").concat(t+n-c*l[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var p=Math.min(a,i);o="M ".concat(e,",").concat(t+c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(e+u*p,",").concat(t,"\n L ").concat(e+r-u*p,",").concat(t,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(e+r,",").concat(t+c*p,"\n L ").concat(e+r,",").concat(t+n-c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(e+r-u*p,",").concat(t+n,"\n L ").concat(e+u*p,",").concat(t+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(e,",").concat(t+n-c*p," Z")}else o="M ".concat(e,",").concat(t," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return o},Do=function(e,t){if(!e||!t)return!1;var r=e.x,n=e.y,i=t.x,o=t.y,a=t.width,c=t.height;if(Math.abs(a)>0&&Math.abs(c)>0){var u=Math.min(i,i+a),s=Math.max(i,i+a),l=Math.min(o,o+c),f=Math.max(o,o+c);return r>=u&&r<=s&&n>=l&&n<=f}return!1},Ao=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&&Mo(e,t)}(a,e);var t,r,n,i=Oo(a);function a(){var e;Io(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).state={totalLength:-1},e.node=void 0,e}return t=a,(r=[{key:"componentDidMount",value:function(){if(this.node&&this.node.getTotalLength)try{var e=this.node.getTotalLength();e&&this.setState({totalLength:e})}catch(t){}}},{key:"render",value:function(){var e=this,t=this.props,r=t.x,n=t.y,i=t.width,a=t.height,c=t.radius,u=t.className,s=this.state.totalLength,l=this.props,f=l.animationEasing,p=l.animationDuration,d=l.animationBegin,h=l.isAnimationActive,m=l.isUpdateAnimationActive;if(r!==+r||n!==+n||i!==+i||a!==+a||0===i||0===a)return null;var v=N()("recharts-rectangle",u);return m?o.createElement(sr,{canBegin:s>0,from:{width:i,height:a,x:r,y:n},to:{width:i,height:a,x:r,y:n},duration:p,animationEasing:f,isActive:m},(function(t){var r=t.width,n=t.height,i=t.x,a=t.y;return o.createElement(sr,{canBegin:s>0,from:"0px ".concat(-1===s?1:s,"px"),to:"".concat(s,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:p,isActive:h,easing:f},o.createElement("path",Eo({},_e(e.props,!0),{className:v,d:To(i,a,r,n,c),ref:function(t){e.node=t}})))})):o.createElement("path",Eo({},_e(this.props,!0),{className:v,d:To(r,n,i,a,c)}))}}])&&So(t.prototype,r),n&&So(t,n),a}(o.PureComponent);Ao.defaultProps={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"};var _o=r(70418),No=r.n(_o),Po=r(32822);function Co(e,t){for(var r in e)if({}.hasOwnProperty.call(e,r)&&(!{}.hasOwnProperty.call(t,r)||e[r]!==t[r]))return!1;for(var n in t)if({}.hasOwnProperty.call(t,n)&&!{}.hasOwnProperty.call(e,n))return!1;return!0}function Lo(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var Ro={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},Bo=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},Uo=function e(t,r){var n=[],i=[];return i=B()(r)?r.map((function(e){return Bo(e)})):[Bo(r)],o.Children.forEach(t,(function(t){(0,Po.isFragment)(t)&&(n=n.concat(e(t.props.children,r)));var o=L()(t,"type.displayName")||L()(t,"type.name");-1!==i.indexOf(o)&&n.push(t)})),n},zo=function(e,t){var r=Uo(e,t);return r&&r[0]},Ho=function(e){if(!e||!e.props)return!1;var t=e.props,r=t.width,n=t.height;return!(!V(r)||r<=0||!V(n)||n<=0)},Go=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],Wo=function(e){return e&&e.type&&q()(e.type)&&Go.indexOf(e.type)>=0},qo=function e(t,r){if(t===r)return!0;if(o.Children.count(t)!==o.Children.count(r))return!1;var n=o.Children.count(t);if(0===n)return!0;if(1===n)return Zo(B()(t)?t[0]:t,B()(r)?r[0]:r);for(var i=0;i<n;i++){var a=t[i],c=r[i];if(B()(a)||B()(c)){if(!e(a,c))return!1}else if(!Zo(a,c))return!1}return!0},Zo=function(e,t){if(Ie()(e)&&Ie()(t))return!0;if(!Ie()(e)&&!Ie()(t)){var r=e.props||{},n=r.children,i=Lo(r,["children"]),o=t.props||{},a=o.children,c=Lo(o,["children"]);return n&&a?Co(i,c)&&qo(n,a):!n&&!a&&Co(i,c)}return!1},Fo=function(e,t){var r=[],n={};return o.Children.forEach(e,(function(e,i){if(Wo(e))r.push(e);else if(e){var o=Bo(e.type),a=t[o]||{},c=a.handler,u=a.once;if(c&&(!u||!n[o])){var s=c(e,o,i);r.push(s),n[o]=!0}}})),No()(r).filter((function(e){return!Ie()(e)}))};function Vo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Jo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vo(Object(r),!0).forEach((function(t){Yo(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Yo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xo(e){return function(e){if(Array.isArray(e))return Qo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Qo(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qo(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qo(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var $o={widthCache:{},cacheCount:0},Ko={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},ea=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","lineHeight","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],ta="recharts_measurement_span";var ra=function(e){return Object.keys(e).reduce((function(t,r){return"".concat(t).concat((n=r,n.split("").reduce((function(e,t){return t===t.toUpperCase()?[].concat(Xo(e),["-",t.toLowerCase()]):[].concat(Xo(e),[t])}),[]).join("")),":").concat(function(e,t){return ea.indexOf(e)>=0&&t===+t?"".concat(t,"px"):t}(r,e[r]),";");var n}),"")},na=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||Sr.isSsr)return{width:0,height:0};var r="".concat(e),n=ra(t),i="".concat(r,"-").concat(n);if($o.widthCache[i])return $o.widthCache[i];try{var o=document.getElementById(ta);o||((o=document.createElement("span")).setAttribute("id",ta),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=Jo(Jo({},Ko),t);Object.keys(a).map((function(e){return o.style[e]=a[e],e})),o.textContent=r;var c=o.getBoundingClientRect(),u={width:c.width,height:c.height};return $o.widthCache[i]=u,++$o.cacheCount>2e3&&($o.cacheCount=0,$o.widthCache={}),u}catch(s){return{width:0,height:0}}},ia=r(55502),oa=r.n(ia);function aa(e){return(aa="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 ca(){return(ca=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ua(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function sa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function la(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fa(e,t){return(fa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=ha(e);if(t){var i=ha(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return da(this,r)}}function da(e,t){return!t||"object"!==aa(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 ha(e){return(ha=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ma(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return va(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return va(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function va(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ya(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ga(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ya(Object(r),!0).forEach((function(t){ba(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ya(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ba(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var wa=/[ \f\n\r\t\v\u2028\u2029]+/,xa=function(e){try{var t=[];return Ie()(e.children)||(t=e.breakAll?e.children.toString().split(""):e.children.toString().split(wa)),{wordsWithComputedWidth:t.map((function(t){return{word:t,width:na(t,e.style).width}})),spaceWidth:e.breakAll?0:na(" ",e.style).width}}catch(r){return null}},Ea=function(e){return[{words:Ie()(e)?[]:e.toString().split(wa)}]},Ia=function(e,t){if((e.width||e.scaleToFit)&&!Sr.isSsr&&t){var r=xa(e);return r?function(e,t,r,n,i){var o=V(e.maxLines),a=e.children,c=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,t){var o=t.word,a=t.width,c=e[e.length-1];if(c&&(null==n||i||c.width+a+r<n))c.words.push(o),c.width+=a+r;else{var u={words:[o],width:a};e.push(u)}return e}),[])},u=c(t);if(!o)return u;for(var s,l=function(t){var r=a.slice(0,t),i=xa(ga(ga({},e),{},{children:r+"…"})).wordsWithComputedWidth,o=c(i);return[o.length>e.maxLines||function(e){return e.reduce((function(e,t){return e.width>t.width?e:t}))}(o).width>n,o]},f=0,p=a.length-1,d=0;f<=p&&d<=a.length-1;){var h=Math.floor((f+p)/2),m=ma(l(h-1),2),v=m[0],y=m[1],g=ma(l(h),1)[0];if(v||g||(f=h+1),v&&g&&(p=h-1),!v&&g){s=y;break}d++}return s||u}(e,r.wordsWithComputedWidth,r.spaceWidth,e.width,e.scaleToFit):Ea(e.children)}return Ea(e.children)},Sa=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&&fa(e,t)}(a,e);var t,r,n,i=pa(a);function a(){var e;sa(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).state={},e}return t=a,n=[{key:"getDerivedStateFromProps",value:function(e,t){if(e.width!==t.prevWidth||e.scaleToFit!==t.prevScaleToFit||e.children!==t.prevChildren||e.style!==t.prevStyle||e.breakAll!==t.prevBreakAll){var r=e.children!==t.prevChildren||e.style!==t.prevStyle||e.breakAll!==t.prevBreakAll;return{prevWidth:e.width,prevScaleToFit:e.scaleToFit,prevChildren:e.children,prevStyle:e.style,wordsByLines:Ia(e,r)}}return null}}],(r=[{key:"render",value:function(){var e=this.props,t=e.dx,r=e.dy,n=e.textAnchor,i=e.verticalAnchor,a=e.scaleToFit,c=e.angle,u=e.lineHeight,s=e.capHeight,l=e.className,f=e.breakAll,p=ua(e,["dx","dy","textAnchor","verticalAnchor","scaleToFit","angle","lineHeight","capHeight","className","breakAll"]),d=this.state.wordsByLines;if(!J(p.x)||!J(p.y))return null;var h,m=p.x+(V(t)?t:0),v=p.y+(V(r)?r:0);switch(i){case"start":h=oa()("calc(".concat(s,")"));break;case"middle":h=oa()("calc(".concat((d.length-1)/2," * -").concat(u," + (").concat(s," / 2))"));break;default:h=oa()("calc(".concat(d.length-1," * -").concat(u,")"))}var y=[];if(a){var g=d[0].width,b=this.props.width;y.push("scale(".concat((V(b)?b/g:1)/g,")"))}return c&&y.push("rotate(".concat(c,", ").concat(m,", ").concat(v,")")),y.length&&(p.transform=y.join(" ")),o.createElement("text",ca({},_e(p,!0),{x:m,y:v,className:N()("recharts-text",l),textAnchor:n}),d.map((function(e,t){return o.createElement("tspan",{x:m,dy:0===t?h:u,key:t},e.words.join(f?"":" "))})))}}])&&la(t.prototype,r),n&&la(t,n),a}(o.Component);function Ma(e){return function(e){if(Array.isArray(e))return Oa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Oa(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Oa(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oa(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ka(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ja(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ka(Object(r),!0).forEach((function(t){Ta(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ka(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ta(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Da(){return(Da=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}Sa.defaultProps={x:0,y:0,lineHeight:"1em",capHeight:"0.71em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end"};var Aa=function(e,t,r){var n,i,a=e.position,c=e.viewBox,u=e.offset,s=e.className,l=c,f=l.cx,p=l.cy,d=l.innerRadius,h=l.outerRadius,m=l.startAngle,v=l.endAngle,y=l.clockWise,g=(d+h)/2,b=function(e,t){return Z(t-e)*Math.min(Math.abs(t-e),360)}(m,v),w=b>=0?1:-1;"insideStart"===a?(n=m+w*u,i=y):"insideEnd"===a?(n=v-w*u,i=!y):"end"===a&&(n=v+w*u,i=y),i=b<=0?i:!i;var x=Xi(f,p,g,n),E=Xi(f,p,g,n+359*(i?1:-1)),I="M".concat(x.x,",").concat(x.y,"\n A").concat(g,",").concat(g,",0,1,").concat(i?0:1,",\n ").concat(E.x,",").concat(E.y),S=Ie()(e.id)?X("recharts-radial-line-"):e.id;return o.createElement("text",Da({},r,{dominantBaseline:"central",className:N()("recharts-radial-bar-label",s)}),o.createElement("defs",null,o.createElement("path",{id:S,d:I})),o.createElement("textPath",{xlinkHref:"#".concat(S)},t))};function _a(e){var t,r=e.viewBox,n=e.position,i=e.value,a=e.children,c=e.content,u=e.className,s=void 0===u?"":u,l=e.textBreakAll;if(!r||Ie()(i)&&Ie()(a)&&!(0,o.isValidElement)(c)&&!me()(c))return null;if((0,o.isValidElement)(c))return(0,o.cloneElement)(c,e);if(me()(c)){if(t=(0,o.createElement)(c,e),(0,o.isValidElement)(t))return t}else t=function(e){var t=e.value,r=e.formatter,n=Ie()(e.children)?t:e.children;return me()(r)?r(n):n}(e);var f=function(e){return V(e.cx)}(r),p=_e(e,!0);if(f&&("insideStart"===n||"insideEnd"===n||"end"===n))return Aa(e,t,p);var d=f?function(e){var t=e.viewBox,r=e.offset,n=e.position,i=t,o=i.cx,a=i.cy,c=i.innerRadius,u=i.outerRadius,s=(i.startAngle+i.endAngle)/2;if("outside"===n){var l=Xi(o,a,u+r,s),f=l.x;return{x:f,y:l.y,textAnchor:f>=o?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"end"};var p=Xi(o,a,(c+u)/2,s);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}}(e):function(e){var t=e.viewBox,r=e.parentViewBox,n=e.offset,i=e.position,o=t,a=o.x,c=o.y,u=o.width,s=o.height,l=s>=0?1:-1,f=l*n,p=l>0?"end":"start",d=l>0?"start":"end",h=u>=0?1:-1,m=h*n,v=h>0?"end":"start",y=h>0?"start":"end";if("top"===i)return ja(ja({},{x:a+u/2,y:c-l*n,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(c-r.y,0),width:u}:{});if("bottom"===i)return ja(ja({},{x:a+u/2,y:c+s+f,textAnchor:"middle",verticalAnchor:d}),r?{height:Math.max(r.y+r.height-(c+s),0),width:u}:{});if("left"===i){var g={x:a-m,y:c+s/2,textAnchor:v,verticalAnchor:"middle"};return ja(ja({},g),r?{width:Math.max(g.x-r.x,0),height:s}:{})}if("right"===i){var b={x:a+u+m,y:c+s/2,textAnchor:y,verticalAnchor:"middle"};return ja(ja({},b),r?{width:Math.max(r.x+r.width-b.x,0),height:s}:{})}var w=r?{width:u,height:s}:{};return"insideLeft"===i?ja({x:a+m,y:c+s/2,textAnchor:y,verticalAnchor:"middle"},w):"insideRight"===i?ja({x:a+u-m,y:c+s/2,textAnchor:v,verticalAnchor:"middle"},w):"insideTop"===i?ja({x:a+u/2,y:c+f,textAnchor:"middle",verticalAnchor:d},w):"insideBottom"===i?ja({x:a+u/2,y:c+s-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===i?ja({x:a+m,y:c+f,textAnchor:y,verticalAnchor:d},w):"insideTopRight"===i?ja({x:a+u-m,y:c+f,textAnchor:v,verticalAnchor:d},w):"insideBottomLeft"===i?ja({x:a+m,y:c+s-f,textAnchor:y,verticalAnchor:p},w):"insideBottomRight"===i?ja({x:a+u-m,y:c+s-f,textAnchor:v,verticalAnchor:p},w):ke()(i)&&(V(i.x)||F(i.x))&&(V(i.y)||F(i.y))?ja({x:a+Q(i.x,u),y:c+Q(i.y,s),textAnchor:"end",verticalAnchor:"end"},w):ja({x:a+u/2,y:c+s/2,textAnchor:"middle",verticalAnchor:"middle"},w)}(e);return o.createElement(Sa,Da({className:N()("recharts-label",s)},p,d,{breakAll:l}),t)}_a.displayName="Label",_a.defaultProps={offset:5};var Na=function(e){var t=e.cx,r=e.cy,n=e.angle,i=e.startAngle,o=e.endAngle,a=e.r,c=e.radius,u=e.innerRadius,s=e.outerRadius,l=e.x,f=e.y,p=e.top,d=e.left,h=e.width,m=e.height,v=e.clockWise,y=e.labelViewBox;if(y)return y;if(V(h)&&V(m)){if(V(l)&&V(f))return{x:l,y:f,width:h,height:m};if(V(p)&&V(d))return{x:p,y:d,width:h,height:m}}return V(l)&&V(f)?{x:l,y:f,width:0,height:0}:V(t)&&V(r)?{cx:t,cy:r,startAngle:i||n||0,endAngle:o||n||0,innerRadius:u||0,outerRadius:s||c||a||0,clockWise:v}:e.viewBox?e.viewBox:{}},Pa=function(e,t){return e?!0===e?o.createElement(_a,{key:"label-implicit",viewBox:t}):J(e)?o.createElement(_a,{key:"label-implicit",viewBox:t,value:e}):(0,o.isValidElement)(e)?e.type===_a?(0,o.cloneElement)(e,{key:"label-implicit",viewBox:t}):o.createElement(_a,{key:"label-implicit",content:e,viewBox:t}):me()(e)?o.createElement(_a,{key:"label-implicit",content:e,viewBox:t}):ke()(e)?o.createElement(_a,Da({viewBox:t},e,{key:"label-implicit"})):null:null};function Ca(e){return(Ca="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 La(){return(La=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Ra(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ba(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ra(Object(r),!0).forEach((function(t){Ua(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ra(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ua(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function za(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Ha(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ga(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wa(e,t){return(Wa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Fa(e);if(t){var i=Fa(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Za(this,r)}}function Za(e,t){return!t||"object"!==Ca(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 Fa(e){return(Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}_a.parseViewBox=Na,_a.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var n=e.children,i=Na(e),a=Uo(n,_a.displayName).map((function(e,r){return(0,o.cloneElement)(e,{viewBox:t||i,key:"label-".concat(r)})}));if(!r)return a;var c=Pa(e.label,t||i);return[c].concat(Ma(a))};var Va=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&&Wa(e,t)}(a,e);var t,r,n,i=qa(a);function a(){return Ha(this,a),i.apply(this,arguments)}return t=a,n=[{key:"getTicks",value:function(e){var t=e.tick,r=e.ticks,n=e.viewBox,i=e.minTickGap,o=e.orientation,c=e.interval,u=e.tickFormatter,s=e.unit;return r&&r.length&&t?V(c)||Sr.isSsr?a.getNumberIntervalTicks(r,"number"==typeof c&&V(c)?c:0):"preserveStartEnd"===c?a.getTicksStart({ticks:r,tickFormatter:u,viewBox:n,orientation:o,minTickGap:i,unit:s},!0):"preserveStart"===c?a.getTicksStart({ticks:r,tickFormatter:u,viewBox:n,orientation:o,minTickGap:i,unit:s}):a.getTicksEnd({ticks:r,tickFormatter:u,viewBox:n,orientation:o,minTickGap:i,unit:s}):[]}},{key:"getNumberIntervalTicks",value:function(e,t){return e.filter((function(e,r){return r%(t+1)==0}))}},{key:"getTicksStart",value:function(e,t){var r,n,i=e.ticks,o=e.tickFormatter,a=e.viewBox,c=e.orientation,u=e.minTickGap,s=e.unit,l=a.x,f=a.y,p=a.width,d=a.height,h="top"===c||"bottom"===c?"width":"height",m=(i||[]).slice(),v=s&&"width"===h?na(s)[h]:0,y=m.length,g=y>=2?Z(m[1].coordinate-m[0].coordinate):1;if(1===g?(r="width"===h?l:f,n="width"===h?l+p:f+d):(r="width"===h?l+p:f+d,n="width"===h?l:f),t){var b=i[y-1],w=me()(o)?o(b.value,y-1):b.value,x=na(w)[h]+v,E=g*(b.coordinate+g*x/2-n);m[y-1]=b=Ba(Ba({},b),{},{tickCoord:E>0?b.coordinate-E*g:b.coordinate}),g*(b.tickCoord-g*x/2-r)>=0&&g*(b.tickCoord+g*x/2-n)<=0&&(n=b.tickCoord-g*(x/2+u),m[y-1]=Ba(Ba({},b),{},{isShow:!0}))}for(var I=t?y-1:y,S=0;S<I;S++){var M=m[S],O=me()(o)?o(M.value,S):M.value,k=na(O)[h]+v;if(0===S){var j=g*(M.coordinate-g*k/2-r);m[S]=M=Ba(Ba({},M),{},{tickCoord:j<0?M.coordinate-j*g:M.coordinate})}else m[S]=M=Ba(Ba({},M),{},{tickCoord:M.coordinate});g*(M.tickCoord-g*k/2-r)>=0&&g*(M.tickCoord+g*k/2-n)<=0&&(r=M.tickCoord+g*(k/2+u),m[S]=Ba(Ba({},M),{},{isShow:!0}))}return m.filter((function(e){return e.isShow}))}},{key:"getTicksEnd",value:function(e){var t,r,n=e.ticks,i=e.tickFormatter,o=e.viewBox,a=e.orientation,c=e.minTickGap,u=e.unit,s=o.x,l=o.y,f=o.width,p=o.height,d="top"===a||"bottom"===a?"width":"height",h=u&&"width"===d?na(u)[d]:0,m=(n||[]).slice(),v=m.length,y=v>=2?Z(m[1].coordinate-m[0].coordinate):1;1===y?(t="width"===d?s:l,r="width"===d?s+f:l+p):(t="width"===d?s+f:l+p,r="width"===d?s:l);for(var g=v-1;g>=0;g--){var b=m[g],w=me()(i)?i(b.value,v-g-1):b.value,x=na(w)[d]+h;if(g===v-1){var E=y*(b.coordinate+y*x/2-r);m[g]=b=Ba(Ba({},b),{},{tickCoord:E>0?b.coordinate-E*y:b.coordinate})}else m[g]=b=Ba(Ba({},b),{},{tickCoord:b.coordinate});y*(b.tickCoord-y*x/2-t)>=0&&y*(b.tickCoord+y*x/2-r)<=0&&(r=b.tickCoord-y*(x/2+c),m[g]=Ba(Ba({},b),{},{isShow:!0}))}return m.filter((function(e){return e.isShow}))}},{key:"renderTickItem",value:function(e,t,r){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):o.createElement(Sa,La({},t,{className:"recharts-cartesian-axis-tick-value"}),r)}}],(r=[{key:"shouldComponentUpdate",value:function(e){var t=e.viewBox,r=za(e,["viewBox"]),n=this.props,i=n.viewBox,o=za(n,["viewBox"]);return!Co(t,i)||!Co(r,o)}},{key:"getTickLineCoord",value:function(e){var t,r,n,i,o,a,c=this.props,u=c.x,s=c.y,l=c.width,f=c.height,p=c.orientation,d=c.tickSize,h=c.mirror,m=c.tickMargin,v=h?-1:1,y=e.tickSize||d,g=V(e.tickCoord)?e.tickCoord:e.coordinate;switch(p){case"top":t=r=e.coordinate,a=(n=(i=s+ +!h*f)-v*y)-v*m,o=g;break;case"left":n=i=e.coordinate,o=(t=(r=u+ +!h*l)-v*y)-v*m,a=g;break;case"right":n=i=e.coordinate,o=(t=(r=u+ +h*l)+v*y)+v*m,a=g;break;default:t=r=e.coordinate,a=(n=(i=s+ +h*f)+v*y)+v*m,o=g}return{line:{x1:t,y1:n,x2:r,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,r=t.orientation,n=t.mirror;switch(r){case"left":e=n?"start":"end";break;case"right":e=n?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,r=e.mirror,n="end";switch(t){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,a=e.orientation,c=e.mirror,u=e.axisLine,s=Ba(Ba(Ba({},_e(this.props)),_e(u)),{},{fill:"none"});if("top"===a||"bottom"===a){var l=+("top"===a&&!c||"bottom"===a&&c);s=Ba(Ba({},s),{},{x1:t,y1:r+l*i,x2:t+n,y2:r+l*i})}else{var f=+("left"===a&&!c||"right"===a&&c);s=Ba(Ba({},s),{},{x1:t+f*n,y1:r,x2:t+f*n,y2:r+i})}return o.createElement("line",La({},s,{className:N()("recharts-cartesian-axis-line",L()(u,"className"))}))}},{key:"renderTicks",value:function(e){var t=this,r=this.props,n=r.tickLine,i=r.stroke,c=r.tick,u=r.tickFormatter,s=r.unit,l=a.getTicks(Ba(Ba({},this.props),{},{ticks:e})),f=this.getTickTextAnchor(),p=this.getTickVerticalAnchor(),d=_e(this.props),h=_e(c),m=Ba(Ba({},d),{},{fill:"none"},_e(n)),v=l.map((function(e,r){var v=t.getTickLineCoord(e),y=v.line,g=v.tick,b=Ba(Ba(Ba(Ba({textAnchor:f,verticalAnchor:p},d),{},{stroke:"none",fill:i},h),g),{},{index:r,payload:e,visibleTicksCount:l.length,tickFormatter:u});return o.createElement(ze,La({className:"recharts-cartesian-axis-tick",key:"tick-".concat(r)},Pe(t.props,e,r)),n&&o.createElement("line",La({},m,y,{className:N()("recharts-cartesian-axis-tick-line",L()(n,"className"))})),c&&a.renderTickItem(c,b,"".concat(me()(u)?u(e.value,r):e.value).concat(s||"")))}));return o.createElement("g",{className:"recharts-cartesian-axis-ticks"},v)}},{key:"render",value:function(){var e=this.props,t=e.axisLine,r=e.width,n=e.height,i=e.ticksGenerator,a=e.className;if(e.hide)return null;var c=this.props,u=c.ticks,s=za(c,["ticks"]),l=u;return me()(i)&&(l=u&&u.length>0?i(this.props):i(s)),r<=0||n<=0||!l||!l.length?null:o.createElement(ze,{className:N()("recharts-cartesian-axis",a)},t&&this.renderAxisLine(),this.renderTicks(l),_a.renderCallByParent(this.props))}}])&&Ga(t.prototype,r),n&&Ga(t,n),a}(o.Component);function Ja(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((t-e)/r)),o=new Array(i);++n<i;)o[n]=e+n*r;return o}function Ya(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function Xa(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}Va.displayName="CartesianAxis",Va.defaultProps={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"};const Qa=Symbol("implicit");function $a(){var e=new Map,t=[],r=[],n=Qa;function i(i){var o=i+"",a=e.get(o);if(!a){if(n!==Qa)return n;e.set(o,a=t.push(i))}return r[(a-1)%r.length]}return i.domain=function(r){if(!arguments.length)return t.slice();t=[],e=new Map;for(const n of r){const r=n+"";e.has(r)||e.set(r,t.push(n))}return i},i.range=function(e){return arguments.length?(r=Array.from(e),i):r.slice()},i.unknown=function(e){return arguments.length?(n=e,i):n},i.copy=function(){return $a(t,r).unknown(n)},Ya.apply(i,arguments),i}function Ka(){var e,t,r=$a().unknown(void 0),n=r.domain,i=r.range,o=0,a=1,c=!1,u=0,s=0,l=.5;function f(){var r=n().length,f=a<o,p=f?a:o,d=f?o:a;e=(d-p)/Math.max(1,r-u+2*s),c&&(e=Math.floor(e)),p+=(d-p-e*(r-u))*l,t=e*(1-u),c&&(p=Math.round(p),t=Math.round(t));var h=Ja(r).map((function(t){return p+e*t}));return i(f?h.reverse():h)}return delete r.unknown,r.domain=function(e){return arguments.length?(n(e),f()):n()},r.range=function(e){return arguments.length?([o,a]=e,o=+o,a=+a,f()):[o,a]},r.rangeRound=function(e){return[o,a]=e,o=+o,a=+a,c=!0,f()},r.bandwidth=function(){return t},r.step=function(){return e},r.round=function(e){return arguments.length?(c=!!e,f()):c},r.padding=function(e){return arguments.length?(u=Math.min(1,s=+e),f()):u},r.paddingInner=function(e){return arguments.length?(u=Math.min(1,e),f()):u},r.paddingOuter=function(e){return arguments.length?(s=+e,f()):s},r.align=function(e){return arguments.length?(l=Math.max(0,Math.min(1,e)),f()):l},r.copy=function(){return Ka(n(),[o,a]).round(c).paddingInner(u).paddingOuter(s).align(l)},Ya.apply(f(),arguments)}function ec(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return ec(t())},e}function tc(){return ec(Ka.apply(null,arguments).paddingInner(1))}var rc=r(60879),nc=r.n(rc),ic=r(11974),oc=r.n(ic),ac=r(33323),cc=r.n(ac),uc=r(41719),sc=r.n(uc),lc=r(26058),fc=r.n(lc);function pc(e){return function(e){if(Array.isArray(e))return dc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return dc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dc(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var hc=function(e){return e},mc={"@@functional/placeholder":!0},vc=function(e){return e===mc},yc=function(e){return function t(){return 0===arguments.length||1===arguments.length&&vc(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},gc=function e(t,r){return 1===t?r:yc((function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.filter((function(e){return e!==mc})).length;return a>=t?r.apply(void 0,i):e(t-a,yc((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=i.map((function(e){return vc(e)?t.shift():e}));return r.apply(void 0,pc(o).concat(t))})))}))},bc=function(e){return gc(e.length,e)},wc=function(e,t){for(var r=[],n=e;n<t;++n)r[n-e]=n;return r},xc=bc((function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map((function(e){return t[e]})).map(e)})),Ec=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!t.length)return hc;var n=t.reverse(),i=n[0],o=n.slice(1);return function(){return o.reduce((function(e,t){return t(e)}),i.apply(void 0,arguments))}},Ic=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},Sc=function(e){var t=null,r=null;return function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t&&i.every((function(e,r){return e===t[r]}))?r:(t=i,r=e.apply(void 0,i))}};var Mc={rangeStep:function(e,t,r){for(var n=new(fc())(e),i=0,o=[];n.lt(t)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o},getDigitCount:function(e){return 0===e?1:Math.floor(new(fc())(e).abs().log(10).toNumber())+1},interpolateNumber:bc((function(e,t,r){var n=+e;return n+r*(+t-n)})),uninterpolateNumber:bc((function(e,t,r){var n=t-+e;return(r-e)/(n=n||1/0)})),uninterpolateTruncation:bc((function(e,t,r){var n=t-+e;return n=n||1/0,Math.max(0,Math.min(1,(r-e)/n))}))};function Oc(e){return function(e){if(Array.isArray(e))return Tc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||jc(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||jc(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jc(e,t){if(e){if("string"==typeof e)return Tc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Tc(e,t):void 0}}function Tc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Dc(e){var t=kc(e,2),r=t[0],n=t[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function Ac(e,t,r){if(e.lte(0))return new(fc())(0);var n=Mc.getDigitCount(e.toNumber()),i=new(fc())(10).pow(n),o=e.div(i),a=1!==n?.05:.1,c=new(fc())(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return t?c:new(fc())(Math.ceil(c))}function _c(e,t,r){var n=1,i=new(fc())(e);if(!i.isint()&&r){var o=Math.abs(e);o<1?(n=new(fc())(10).pow(Mc.getDigitCount(e)-1),i=new(fc())(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new(fc())(Math.floor(e)))}else 0===e?i=new(fc())(Math.floor((t-1)/2)):r||(i=new(fc())(Math.floor(e)));var a=Math.floor((t-1)/2);return Ec(xc((function(e){return i.add(new(fc())(e-a).mul(n)).toNumber()})),wc)(0,t)}function Nc(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(r-1)))return{step:new(fc())(0),tickMin:new(fc())(0),tickMax:new(fc())(0)};var o,a=Ac(new(fc())(t).sub(e).div(r-1),n,i);o=e<=0&&t>=0?new(fc())(0):(o=new(fc())(e).add(t).div(2)).sub(new(fc())(o).mod(a));var c=Math.ceil(o.sub(e).div(a).toNumber()),u=Math.ceil(new(fc())(t).sub(o).div(a).toNumber()),s=c+u+1;return s>r?Nc(e,t,r,n,i+1):(s<r&&(u=t>0?u+(r-s):u,c=t>0?c:c+(r-s)),{step:a,tickMin:o.sub(new(fc())(c).mul(a)),tickMax:o.add(new(fc())(u).mul(a))})}var Pc=Sc((function(e){var t=kc(e,2),r=t[0],n=t[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),c=Dc([r,n]),u=kc(c,2),s=u[0],l=u[1];if(s===-1/0||l===1/0){var f=l===1/0?[s].concat(Oc(wc(0,i-1).map((function(){return 1/0})))):[].concat(Oc(wc(0,i-1).map((function(){return-1/0}))),[l]);return r>n?Ic(f):f}if(s===l)return _c(s,i,o);var p=Nc(s,l,a,o),d=p.step,h=p.tickMin,m=p.tickMax,v=Mc.rangeStep(h,m.add(new(fc())(.1).mul(d)),d);return r>n?Ic(v):v})),Cc=(Sc((function(e){var t=kc(e,2),r=t[0],n=t[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),c=Dc([r,n]),u=kc(c,2),s=u[0],l=u[1];if(s===-1/0||l===1/0)return[r,n];if(s===l)return _c(s,i,o);var f=Ac(new(fc())(l).sub(s).div(a-1),o,0),p=Ec(xc((function(e){return new(fc())(s).add(new(fc())(e).mul(f)).toNumber()})),wc),d=p(0,a).filter((function(e){return e>=s&&e<=l}));return r>n?Ic(d):d})),Sc((function(e,t){var r=kc(e,2),n=r[0],i=r[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Dc([n,i]),c=kc(a,2),u=c[0],s=c[1];if(u===-1/0||s===1/0)return[n,i];if(u===s)return[u];var l=Math.max(t,2),f=Ac(new(fc())(s).sub(u).div(l-1),o,0),p=[].concat(Oc(Mc.rangeStep(new(fc())(u),new(fc())(s).sub(new(fc())(.99).mul(f)),f)),[s]);return n>i?Ic(p):p}))),Lc=Math.sqrt(50),Rc=Math.sqrt(10),Bc=Math.sqrt(2);function Uc(e,t,r){var n,i,o,a,c=-1;if(r=+r,(e=+e)===(t=+t)&&r>0)return[e];if((n=t<e)&&(i=e,e=t,t=i),0===(a=zc(e,t,r))||!isFinite(a))return[];if(a>0){let r=Math.round(e/a),n=Math.round(t/a);for(r*a<e&&++r,n*a>t&&--n,o=new Array(i=n-r+1);++c<i;)o[c]=(r+c)*a}else{a=-a;let r=Math.round(e*a),n=Math.round(t*a);for(r/a<e&&++r,n/a>t&&--n,o=new Array(i=n-r+1);++c<i;)o[c]=(r+c)/a}return n&&o.reverse(),o}function zc(e,t,r){var n=(t-e)/Math.max(0,r),i=Math.floor(Math.log(n)/Math.LN10),o=n/Math.pow(10,i);return i>=0?(o>=Lc?10:o>=Rc?5:o>=Bc?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Lc?10:o>=Rc?5:o>=Bc?2:1)}function Hc(e,t,r){var n=Math.abs(t-e)/Math.max(0,r),i=Math.pow(10,Math.floor(Math.log(n)/Math.LN10)),o=n/i;return o>=Lc?i*=10:o>=Rc?i*=5:o>=Bc&&(i*=2),t<e?-i:i}function Gc(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Wc(e){let t=e,r=e;function n(e,t,n,i){for(null==n&&(n=0),null==i&&(i=e.length);n<i;){const o=n+i>>>1;r(e[o],t)<0?n=o+1:i=o}return n}return 1===e.length&&(t=(t,r)=>e(t)-r,r=function(e){return(t,r)=>Gc(e(t),r)}(e)),{left:n,center:function(e,r,i,o){null==i&&(i=0),null==o&&(o=e.length);const a=n(e,r,i,o-1);return a>i&&t(e[a-1],r)>-t(e[a],r)?a-1:a},right:function(e,t,n,i){for(null==n&&(n=0),null==i&&(i=e.length);n<i;){const o=n+i>>>1;r(e[o],t)>0?i=o:n=o+1}return n}}}function qc(e){return null===e?NaN:+e}const Zc=Wc(Gc),Fc=Zc.right;Zc.left,Wc(qc).center;var Vc=Fc;function Jc(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Yc(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function Xc(){}var Qc=.7,$c=1/Qc,Kc="\\s*([+-]?\\d+)\\s*",eu="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",tu="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ru=/^#([0-9a-f]{3,8})$/,nu=new RegExp("^rgb\\("+[Kc,Kc,Kc]+"\\)$"),iu=new RegExp("^rgb\\("+[tu,tu,tu]+"\\)$"),ou=new RegExp("^rgba\\("+[Kc,Kc,Kc,eu]+"\\)$"),au=new RegExp("^rgba\\("+[tu,tu,tu,eu]+"\\)$"),cu=new RegExp("^hsl\\("+[eu,tu,tu]+"\\)$"),uu=new RegExp("^hsla\\("+[eu,tu,tu,eu]+"\\)$"),su={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function lu(){return this.rgb().formatHex()}function fu(){return this.rgb().formatRgb()}function pu(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=ru.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?du(t):3===r?new yu(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?hu(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?hu(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=nu.exec(e))?new yu(t[1],t[2],t[3],1):(t=iu.exec(e))?new yu(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=ou.exec(e))?hu(t[1],t[2],t[3],t[4]):(t=au.exec(e))?hu(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=cu.exec(e))?xu(t[1],t[2]/100,t[3]/100,1):(t=uu.exec(e))?xu(t[1],t[2]/100,t[3]/100,t[4]):su.hasOwnProperty(e)?du(su[e]):"transparent"===e?new yu(NaN,NaN,NaN,0):null}function du(e){return new yu(e>>16&255,e>>8&255,255&e,1)}function hu(e,t,r,n){return n<=0&&(e=t=r=NaN),new yu(e,t,r,n)}function mu(e){return e instanceof Xc||(e=pu(e)),e?new yu((e=e.rgb()).r,e.g,e.b,e.opacity):new yu}function vu(e,t,r,n){return 1===arguments.length?mu(e):new yu(e,t,r,null==n?1:n)}function yu(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function gu(){return"#"+wu(this.r)+wu(this.g)+wu(this.b)}function bu(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function wu(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function xu(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Iu(e,t,r,n)}function Eu(e){if(e instanceof Iu)return new Iu(e.h,e.s,e.l,e.opacity);if(e instanceof Xc||(e=pu(e)),!e)return new Iu;if(e instanceof Iu)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),a=NaN,c=o-i,u=(o+i)/2;return c?(a=t===o?(r-n)/c+6*(r<n):r===o?(n-t)/c+2:(t-r)/c+4,c/=u<.5?o+i:2-o-i,a*=60):c=u>0&&u<1?0:a,new Iu(a,c,u,e.opacity)}function Iu(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function Su(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}function Mu(e,t,r,n,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*r+(1+3*e+3*o-3*a)*n+a*i)/6}Jc(Xc,pu,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:lu,formatHex:lu,formatHsl:function(){return Eu(this).formatHsl()},formatRgb:fu,toString:fu}),Jc(yu,vu,Yc(Xc,{brighter:function(e){return e=null==e?$c:Math.pow($c,e),new yu(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Qc:Math.pow(Qc,e),new yu(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:gu,formatHex:gu,formatRgb:bu,toString:bu})),Jc(Iu,(function(e,t,r,n){return 1===arguments.length?Eu(e):new Iu(e,t,r,null==n?1:n)}),Yc(Xc,{brighter:function(e){return e=null==e?$c:Math.pow($c,e),new Iu(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Qc:Math.pow(Qc,e),new Iu(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new yu(Su(e>=240?e-240:e+120,i,n),Su(e,i,n),Su(e<120?e+240:e-120,i,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var Ou=e=>()=>e;function ku(e,t){return function(r){return e+r*t}}function ju(e){return 1==(e=+e)?Tu:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):Ou(isNaN(t)?r:t)}}function Tu(e,t){var r=t-e;return r?ku(e,r):Ou(isNaN(e)?t:e)}var Du=function e(t){var r=ju(t);function n(e,t){var n=r((e=vu(e)).r,(t=vu(t)).r),i=r(e.g,t.g),o=r(e.b,t.b),a=Tu(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);function Au(e){return function(t){var r,n,i=t.length,o=new Array(i),a=new Array(i),c=new Array(i);for(r=0;r<i;++r)n=vu(t[r]),o[r]=n.r||0,a[r]=n.g||0,c[r]=n.b||0;return o=e(o),a=e(a),c=e(c),n.opacity=1,function(e){return n.r=o(e),n.g=a(e),n.b=c(e),n+""}}}Au((function(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],o=e[n+1],a=n>0?e[n-1]:2*i-o,c=n<t-1?e[n+2]:2*o-i;return Mu((r-n/t)*t,a,i,o,c)}})),Au((function(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],o=e[n%t],a=e[(n+1)%t],c=e[(n+2)%t];return Mu((r-n/t)*t,i,o,a,c)}}));function _u(e,t){var r,n=t?t.length:0,i=e?Math.min(n,e.length):0,o=new Array(i),a=new Array(n);for(r=0;r<i;++r)o[r]=zu(e[r],t[r]);for(;r<n;++r)a[r]=t[r];return function(e){for(r=0;r<i;++r)a[r]=o[r](e);return a}}function Nu(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function Pu(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function Cu(e,t){var r,n={},i={};for(r in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)r in e?n[r]=zu(e[r],t[r]):i[r]=t[r];return function(e){for(r in n)i[r]=n[r](e);return i}}var Lu=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ru=new RegExp(Lu.source,"g");function Bu(e,t){var r,n,i,o=Lu.lastIndex=Ru.lastIndex=0,a=-1,c=[],u=[];for(e+="",t+="";(r=Lu.exec(e))&&(n=Ru.exec(t));)(i=n.index)>o&&(i=t.slice(o,i),c[a]?c[a]+=i:c[++a]=i),(r=r[0])===(n=n[0])?c[a]?c[a]+=n:c[++a]=n:(c[++a]=null,u.push({i:a,x:Pu(r,n)})),o=Ru.lastIndex;return o<t.length&&(i=t.slice(o),c[a]?c[a]+=i:c[++a]=i),c.length<2?u[0]?function(e){return function(t){return e(t)+""}}(u[0].x):function(e){return function(){return e}}(t):(t=u.length,function(e){for(var r,n=0;n<t;++n)c[(r=u[n]).i]=r.x(e);return c.join("")})}function Uu(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(r=0;r<n;++r)i[r]=e[r]*(1-o)+t[r]*o;return i}}function zu(e,t){var r,n,i=typeof t;return null==t||"boolean"===i?Ou(t):("number"===i?Pu:"string"===i?(r=pu(t))?(t=r,Du):Bu:t instanceof pu?Du:t instanceof Date?Nu:(n=t,!ArrayBuffer.isView(n)||n instanceof DataView?Array.isArray(t)?_u:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Cu:Pu:Uu))(e,t)}function Hu(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function Gu(e){return+e}var Wu=[0,1];function qu(e){return e}function Zu(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:(r=isNaN(t)?NaN:.5,function(){return r});var r}function Fu(e,t,r){var n=e[0],i=e[1],o=t[0],a=t[1];return i<n?(n=Zu(i,n),o=r(a,o)):(n=Zu(n,i),o=r(o,a)),function(e){return o(n(e))}}function Vu(e,t,r){var n=Math.min(e.length,t.length)-1,i=new Array(n),o=new Array(n),a=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<n;)i[a]=Zu(e[a],e[a+1]),o[a]=r(t[a],t[a+1]);return function(t){var r=Vc(e,t,1,n)-1;return o[r](i[r](t))}}function Ju(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Yu(){var e,t,r,n,i,o,a=Wu,c=Wu,u=zu,s=qu;function l(){var e=Math.min(a.length,c.length);return s!==qu&&(s=function(e,t){var r;return e>t&&(r=e,e=t,t=r),function(r){return Math.max(e,Math.min(t,r))}}(a[0],a[e-1])),n=e>2?Vu:Fu,i=o=null,f}function f(t){return null==t||isNaN(t=+t)?r:(i||(i=n(a.map(e),c,u)))(e(s(t)))}return f.invert=function(r){return s(t((o||(o=n(c,a.map(e),Pu)))(r)))},f.domain=function(e){return arguments.length?(a=Array.from(e,Gu),l()):a.slice()},f.range=function(e){return arguments.length?(c=Array.from(e),l()):c.slice()},f.rangeRound=function(e){return c=Array.from(e),u=Hu,l()},f.clamp=function(e){return arguments.length?(s=!!e||qu,l()):s!==qu},f.interpolate=function(e){return arguments.length?(u=e,l()):u},f.unknown=function(e){return arguments.length?(r=e,f):r},function(r,n){return e=r,t=n,l()}}function Xu(){return Yu()(qu,qu)}var Qu,$u=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ku(e){if(!(t=$u.exec(e)))throw new Error("invalid format: "+e);var t;return new es({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function es(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function ts(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function rs(e){return(e=ts(Math.abs(e)))?e[1]:NaN}function ns(e,t){var r=ts(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}Ku.prototype=es.prototype,es.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var is={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>ns(100*e,t),r:ns,s:function(e,t){var r=ts(e,t);if(!r)return e+"";var n=r[0],i=r[1],o=i-(Qu=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=n.length;return o===a?n:o>a?n+new Array(o-a+1).join("0"):o>0?n.slice(0,o)+"."+n.slice(o):"0."+new Array(1-o).join("0")+ts(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function os(e){return e}var as,cs,us,ss=Array.prototype.map,ls=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function fs(e){var t,r,n=void 0===e.grouping||void 0===e.thousands?os:(t=ss.call(e.grouping,Number),r=e.thousands+"",function(e,n){for(var i=e.length,o=[],a=0,c=t[0],u=0;i>0&&c>0&&(u+c+1>n&&(c=Math.max(1,n-u)),o.push(e.substring(i-=c,i+c)),!((u+=c+1)>n));)c=t[a=(a+1)%t.length];return o.reverse().join(r)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",c=void 0===e.numerals?os:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(ss.call(e.numerals,String)),u=void 0===e.percent?"%":e.percent+"",s=void 0===e.minus?"−":e.minus+"",l=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=Ku(e)).fill,r=e.align,f=e.sign,p=e.symbol,d=e.zero,h=e.width,m=e.comma,v=e.precision,y=e.trim,g=e.type;"n"===g?(m=!0,g="g"):is[g]||(void 0===v&&(v=12),y=!0,g="g"),(d||"0"===t&&"="===r)&&(d=!0,t="0",r="=");var b="$"===p?i:"#"===p&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",w="$"===p?o:/[%p]/.test(g)?u:"",x=is[g],E=/[defgprs%]/.test(g);function I(e){var i,o,u,p=b,I=w;if("c"===g)I=x(e)+I,e="";else{var S=(e=+e)<0||1/e<0;if(e=isNaN(e)?l:x(Math.abs(e),v),y&&(e=function(e){e:for(var t,r=e.length,n=1,i=-1;n<r;++n)switch(e[n]){case".":i=t=n;break;case"0":0===i&&(i=n),t=n;break;default:if(!+e[n])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),S&&0==+e&&"+"!==f&&(S=!1),p=(S?"("===f?f:s:"-"===f||"("===f?"":f)+p,I=("s"===g?ls[8+Qu/3]:"")+I+(S&&"("===f?")":""),E)for(i=-1,o=e.length;++i<o;)if(48>(u=e.charCodeAt(i))||u>57){I=(46===u?a+e.slice(i+1):e.slice(i))+I,e=e.slice(0,i);break}}m&&!d&&(e=n(e,1/0));var M=p.length+e.length+I.length,O=M<h?new Array(h-M+1).join(t):"";switch(m&&d&&(e=n(O+e,O.length?h-I.length:1/0),O=""),r){case"<":e=p+e+I+O;break;case"=":e=p+O+e+I;break;case"^":e=O.slice(0,M=O.length>>1)+p+e+I+O.slice(M);break;default:e=O+p+e+I}return c(e)}return v=void 0===v?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),I.toString=function(){return e+""},I}return{format:f,formatPrefix:function(e,t){var r=f(((e=Ku(e)).type="f",e)),n=3*Math.max(-8,Math.min(8,Math.floor(rs(t)/3))),i=Math.pow(10,-n),o=ls[8+n/3];return function(e){return r(i*e)+o}}}}function ps(e,t,r,n){var i,o=Hc(e,t,r);switch((n=Ku(null==n?",f":n)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=n.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(rs(t)/3)))-rs(Math.abs(e)))}(o,a))||(n.precision=i),us(n,a);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,rs(t)-rs(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))||(n.precision=i-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(i=function(e){return Math.max(0,-rs(Math.abs(e)))}(o))||(n.precision=i-2*("%"===n.type))}return cs(n)}function ds(e){var t=e.domain;return e.ticks=function(e){var r=t();return Uc(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){var n=t();return ps(n[0],n[n.length-1],null==e?10:e,r)},e.nice=function(r){null==r&&(r=10);var n,i,o=t(),a=0,c=o.length-1,u=o[a],s=o[c],l=10;for(s<u&&(i=u,u=s,s=i,i=a,a=c,c=i);l-- >0;){if((i=zc(u,s,r))===n)return o[a]=u,o[c]=s,t(o);if(i>0)u=Math.floor(u/i)*i,s=Math.ceil(s/i)*i;else{if(!(i<0))break;u=Math.ceil(u*i)/i,s=Math.floor(s*i)/i}n=i}return e},e}function hs(){var e=Xu();return e.copy=function(){return Ju(e,hs())},Ya.apply(e,arguments),ds(e)}function ms(e){var t;function r(e){return null==e||isNaN(e=+e)?t:e}return r.invert=r,r.domain=r.range=function(t){return arguments.length?(e=Array.from(t,Gu),r):e.slice()},r.unknown=function(e){return arguments.length?(t=e,r):t},r.copy=function(){return ms(e).unknown(t)},e=arguments.length?Array.from(e,Gu):[0,1],ds(r)}function vs(e,t){var r,n=0,i=(e=e.slice()).length-1,o=e[n],a=e[i];return a<o&&(r=n,n=i,i=r,r=o,o=a,a=r),e[n]=t.floor(o),e[i]=t.ceil(a),e}function ys(e){return Math.log(e)}function gs(e){return Math.exp(e)}function bs(e){return-Math.log(-e)}function ws(e){return-Math.exp(-e)}function xs(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Es(e){return function(t){return-e(-t)}}function Is(e){var t,r,n=e(ys,gs),i=n.domain,o=10;function a(){return t=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}(o),r=function(e){return 10===e?xs:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}(o),i()[0]<0?(t=Es(t),r=Es(r),e(bs,ws)):e(ys,gs),n}return n.base=function(e){return arguments.length?(o=+e,a()):o},n.domain=function(e){return arguments.length?(i(e),a()):i()},n.ticks=function(e){var n,a=i(),c=a[0],u=a[a.length-1];(n=u<c)&&(p=c,c=u,u=p);var s,l,f,p=t(c),d=t(u),h=null==e?10:+e,m=[];if(!(o%1)&&d-p<h){if(p=Math.floor(p),d=Math.ceil(d),c>0){for(;p<=d;++p)for(l=1,s=r(p);l<o;++l)if(!((f=s*l)<c)){if(f>u)break;m.push(f)}}else for(;p<=d;++p)for(l=o-1,s=r(p);l>=1;--l)if(!((f=s*l)<c)){if(f>u)break;m.push(f)}2*m.length<h&&(m=Uc(c,u,h))}else m=Uc(p,d,Math.min(d-p,h)).map(r);return n?m.reverse():m},n.tickFormat=function(e,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=cs(i)),e===1/0)return i;null==e&&(e=10);var a=Math.max(1,o*e/n.ticks().length);return function(e){var n=e/r(Math.round(t(e)));return n*o<o-.5&&(n*=o),n<=a?i(e):""}},n.nice=function(){return i(vs(i(),{floor:function(e){return r(Math.floor(t(e)))},ceil:function(e){return r(Math.ceil(t(e)))}}))},n}function Ss(){var e=Is(Yu()).domain([1,10]);return e.copy=function(){return Ju(e,Ss()).base(e.base())},Ya.apply(e,arguments),e}function Ms(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function Os(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function ks(e){var t=1,r=e(Ms(t),Os(t));return r.constant=function(r){return arguments.length?e(Ms(t=+r),Os(t)):t},ds(r)}function js(){var e=ks(Yu());return e.copy=function(){return Ju(e,js()).constant(e.constant())},Ya.apply(e,arguments)}function Ts(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Ds(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function As(e){return e<0?-e*e:e*e}function _s(e){var t=e(qu,qu),r=1;function n(){return 1===r?e(qu,qu):.5===r?e(Ds,As):e(Ts(r),Ts(1/r))}return t.exponent=function(e){return arguments.length?(r=+e,n()):r},ds(t)}function Ns(){var e=_s(Yu());return e.copy=function(){return Ju(e,Ns()).exponent(e.exponent())},Ya.apply(e,arguments),e}function Ps(){return Ns.apply(null,arguments).exponent(.5)}function Cs(e){return Math.sign(e)*e*e}function Ls(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function Rs(){var e,t=Xu(),r=[0,1],n=!1;function i(r){var i=Ls(t(r));return isNaN(i)?e:n?Math.round(i):i}return i.invert=function(e){return t.invert(Cs(e))},i.domain=function(e){return arguments.length?(t.domain(e),i):t.domain()},i.range=function(e){return arguments.length?(t.range((r=Array.from(e,Gu)).map(Cs)),i):r.slice()},i.rangeRound=function(e){return i.range(e).round(!0)},i.round=function(e){return arguments.length?(n=!!e,i):n},i.clamp=function(e){return arguments.length?(t.clamp(e),i):t.clamp()},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return Rs(t.domain(),r).round(n).clamp(t.clamp()).unknown(e)},Ya.apply(i,arguments),ds(i)}function Bs(e,t){let r;if(void 0===t)for(const n of e)null!=n&&(r<n||void 0===r&&n>=n)&&(r=n);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r<i||void 0===r&&i>=i)&&(r=i)}return r}function Us(e,t){let r;if(void 0===t)for(const n of e)null!=n&&(r>n||void 0===r&&n>=n)&&(r=n);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}function zs(e,t,r=0,n=e.length-1,i=Gc){for(;n>r;){if(n-r>600){const o=n-r+1,a=t-r+1,c=Math.log(o),u=.5*Math.exp(2*c/3),s=.5*Math.sqrt(c*u*(o-u)/o)*(a-o/2<0?-1:1);zs(e,t,Math.max(r,Math.floor(t-a*u/o+s)),Math.min(n,Math.floor(t+(o-a)*u/o+s)),i)}const o=e[t];let a=r,c=n;for(Hs(e,r,t),i(e[n],o)>0&&Hs(e,r,n);a<c;){for(Hs(e,a,c),++a,--c;i(e[a],o)<0;)++a;for(;i(e[c],o)>0;)--c}0===i(e[r],o)?Hs(e,r,c):(++c,Hs(e,c,n)),c<=t&&(r=c+1),t<=c&&(n=c-1)}return e}function Hs(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function Gs(e,t,r){if(n=(e=Float64Array.from(function*(e,t){if(void 0===t)for(let r of e)null!=r&&(r=+r)>=r&&(yield r);else{let r=-1;for(let n of e)null!=(n=t(n,++r,e))&&(n=+n)>=n&&(yield n)}}(e,r))).length){if((t=+t)<=0||n<2)return Us(e);if(t>=1)return Bs(e);var n,i=(n-1)*t,o=Math.floor(i),a=Bs(zs(e,o).subarray(0,o+1));return a+(Us(e.subarray(o+1))-a)*(i-o)}}function Ws(e,t,r=qc){if(n=e.length){if((t=+t)<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,o=Math.floor(i),a=+r(e[o],o,e);return a+(+r(e[o+1],o+1,e)-a)*(i-o)}}function qs(){var e,t=[],r=[],n=[];function i(){var e=0,i=Math.max(1,r.length);for(n=new Array(i-1);++e<i;)n[e-1]=Ws(t,e/i);return o}function o(t){return null==t||isNaN(t=+t)?e:r[Vc(n,t)]}return o.invertExtent=function(e){var i=r.indexOf(e);return i<0?[NaN,NaN]:[i>0?n[i-1]:t[0],i<n.length?n[i]:t[t.length-1]]},o.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let r of e)null==r||isNaN(r=+r)||t.push(r);return t.sort(Gc),i()},o.range=function(e){return arguments.length?(r=Array.from(e),i()):r.slice()},o.unknown=function(t){return arguments.length?(e=t,o):e},o.quantiles=function(){return n.slice()},o.copy=function(){return qs().domain(t).range(r).unknown(e)},Ya.apply(o,arguments)}function Zs(){var e,t=0,r=1,n=1,i=[.5],o=[0,1];function a(t){return null!=t&&t<=t?o[Vc(i,t,0,n)]:e}function c(){var e=-1;for(i=new Array(n);++e<n;)i[e]=((e+1)*r-(e-n)*t)/(n+1);return a}return a.domain=function(e){return arguments.length?([t,r]=e,t=+t,r=+r,c()):[t,r]},a.range=function(e){return arguments.length?(n=(o=Array.from(e)).length-1,c()):o.slice()},a.invertExtent=function(e){var a=o.indexOf(e);return a<0?[NaN,NaN]:a<1?[t,i[0]]:a>=n?[i[n-1],r]:[i[a-1],i[a]]},a.unknown=function(t){return arguments.length?(e=t,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return Zs().domain([t,r]).range(o).unknown(e)},Ya.apply(ds(a),arguments)}function Fs(){var e,t=[.5],r=[0,1],n=1;function i(i){return null!=i&&i<=i?r[Vc(t,i,0,n)]:e}return i.domain=function(e){return arguments.length?(t=Array.from(e),n=Math.min(t.length,r.length-1),i):t.slice()},i.range=function(e){return arguments.length?(r=Array.from(e),n=Math.min(t.length,r.length-1),i):r.slice()},i.invertExtent=function(e){var n=r.indexOf(e);return[t[n-1],t[n]]},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return Fs().domain(t).range(r).unknown(e)},Ya.apply(i,arguments)}as=fs({thousands:",",grouping:[3],currency:["$",""]}),cs=as.format,us=as.formatPrefix;const Vs=1e3,Js=6e4,Ys=36e5,Xs=864e5,Qs=6048e5,$s=2592e6,Ks=31536e6;var el=new Date,tl=new Date;function rl(e,t,r,n){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(r){return e(r=new Date(r-1)),t(r,1),e(r),r},i.round=function(e){var t=i(e),r=i.ceil(e);return e-t<r-e?t:r},i.offset=function(e,r){return t(e=new Date(+e),null==r?1:Math.floor(r)),e},i.range=function(r,n,o){var a,c=[];if(r=i.ceil(r),o=null==o?1:Math.floor(o),!(r<n&&o>0))return c;do{c.push(a=new Date(+r)),t(r,o),e(r)}while(a<r&&r<n);return c},i.filter=function(r){return rl((function(t){if(t>=t)for(;e(t),!r(t);)t.setTime(t-1)}),(function(e,n){if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););}))},r&&(i.count=function(t,n){return el.setTime(+t),tl.setTime(+n),e(el),e(tl),Math.floor(r(el,tl))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(n?function(t){return n(t)%e==0}:function(t){return i.count(0,t)%e==0}):i:null}),i}var nl=rl((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));nl.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?rl((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,r){t.setTime(+t+r*e)}),(function(t,r){return(r-t)/e})):nl:null};var il=nl,ol=(nl.range,rl((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*Vs)}),(function(e,t){return(t-e)/Vs}),(function(e){return e.getUTCSeconds()}))),al=ol,cl=(ol.range,rl((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Vs)}),(function(e,t){e.setTime(+e+t*Js)}),(function(e,t){return(t-e)/Js}),(function(e){return e.getMinutes()}))),ul=cl,sl=(cl.range,rl((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Vs-e.getMinutes()*Js)}),(function(e,t){e.setTime(+e+t*Ys)}),(function(e,t){return(t-e)/Ys}),(function(e){return e.getHours()}))),ll=sl,fl=(sl.range,rl((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Js)/Xs),(e=>e.getDate()-1))),pl=fl;fl.range;function dl(e){return rl((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Js)/Qs}))}var hl=dl(0),ml=dl(1),vl=dl(2),yl=dl(3),gl=dl(4),bl=dl(5),wl=dl(6),xl=(hl.range,ml.range,vl.range,yl.range,gl.range,bl.range,wl.range,rl((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))),El=xl,Il=(xl.range,rl((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()})));Il.every=function(e){return isFinite(e=Math.floor(e))&&e>0?rl((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,r){t.setFullYear(t.getFullYear()+r*e)})):null};var Sl=Il,Ml=(Il.range,rl((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*Js)}),(function(e,t){return(t-e)/Js}),(function(e){return e.getUTCMinutes()}))),Ol=Ml,kl=(Ml.range,rl((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*Ys)}),(function(e,t){return(t-e)/Ys}),(function(e){return e.getUTCHours()}))),jl=kl,Tl=(kl.range,rl((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/Xs}),(function(e){return e.getUTCDate()-1}))),Dl=Tl;Tl.range;function Al(e){return rl((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/Qs}))}var _l=Al(0),Nl=Al(1),Pl=Al(2),Cl=Al(3),Ll=Al(4),Rl=Al(5),Bl=Al(6),Ul=(_l.range,Nl.range,Pl.range,Cl.range,Ll.range,Rl.range,Bl.range,rl((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}))),zl=Ul,Hl=(Ul.range,rl((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));Hl.every=function(e){return isFinite(e=Math.floor(e))&&e>0?rl((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)})):null};var Gl=Hl;Hl.range;function Wl(e,t,r,n,i,o){const a=[[al,1,Vs],[al,5,5e3],[al,15,15e3],[al,30,3e4],[o,1,Js],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,Ys],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,Xs],[n,2,1728e5],[r,1,Qs],[t,1,$s],[t,3,7776e6],[e,1,Ks]];function c(t,r,n){const i=Math.abs(r-t)/n,o=Wc((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(Hc(t/Ks,r/Ks,n));if(0===o)return il.every(Math.max(Hc(t,r,n),1));const[c,u]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return c.every(u)}return[function(e,t,r){const n=t<e;n&&([e,t]=[t,e]);const i=r&&"function"==typeof r.range?r:c(e,t,r),o=i?i.range(e,+t+1):[];return n?o.reverse():o},c]}const[ql,Zl]=Wl(Gl,zl,_l,Dl,jl,Ol),[Fl,Vl]=Wl(Sl,El,hl,pl,ll,ul);function Jl(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Yl(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Xl(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}var Ql,$l,Kl,ef={"-":"",_:" ",0:"0"},tf=/^\s*\d+/,rf=/^%/,nf=/[\\^$*+?|[\]().{}]/g;function of(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",o=i.length;return n+(o<r?new Array(r-o+1).join(t)+i:i)}function af(e){return e.replace(nf,"\\$&")}function cf(e){return new RegExp("^(?:"+e.map(af).join("|")+")","i")}function uf(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function sf(e,t,r){var n=tf.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function lf(e,t,r){var n=tf.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function ff(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function pf(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function df(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function hf(e,t,r){var n=tf.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function mf(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function vf(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function yf(e,t,r){var n=tf.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function gf(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function bf(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function wf(e,t,r){var n=tf.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function xf(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function Ef(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function If(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function Sf(e,t,r){var n=tf.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function Mf(e,t,r){var n=tf.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Of(e,t,r){var n=rf.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function kf(e,t,r){var n=tf.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function jf(e,t,r){var n=tf.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function Tf(e,t){return of(e.getDate(),t,2)}function Df(e,t){return of(e.getHours(),t,2)}function Af(e,t){return of(e.getHours()%12||12,t,2)}function _f(e,t){return of(1+pl.count(Sl(e),e),t,3)}function Nf(e,t){return of(e.getMilliseconds(),t,3)}function Pf(e,t){return Nf(e,t)+"000"}function Cf(e,t){return of(e.getMonth()+1,t,2)}function Lf(e,t){return of(e.getMinutes(),t,2)}function Rf(e,t){return of(e.getSeconds(),t,2)}function Bf(e){var t=e.getDay();return 0===t?7:t}function Uf(e,t){return of(hl.count(Sl(e)-1,e),t,2)}function zf(e){var t=e.getDay();return t>=4||0===t?gl(e):gl.ceil(e)}function Hf(e,t){return e=zf(e),of(gl.count(Sl(e),e)+(4===Sl(e).getDay()),t,2)}function Gf(e){return e.getDay()}function Wf(e,t){return of(ml.count(Sl(e)-1,e),t,2)}function qf(e,t){return of(e.getFullYear()%100,t,2)}function Zf(e,t){return of((e=zf(e)).getFullYear()%100,t,2)}function Ff(e,t){return of(e.getFullYear()%1e4,t,4)}function Vf(e,t){var r=e.getDay();return of((e=r>=4||0===r?gl(e):gl.ceil(e)).getFullYear()%1e4,t,4)}function Jf(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+of(t/60|0,"0",2)+of(t%60,"0",2)}function Yf(e,t){return of(e.getUTCDate(),t,2)}function Xf(e,t){return of(e.getUTCHours(),t,2)}function Qf(e,t){return of(e.getUTCHours()%12||12,t,2)}function $f(e,t){return of(1+Dl.count(Gl(e),e),t,3)}function Kf(e,t){return of(e.getUTCMilliseconds(),t,3)}function ep(e,t){return Kf(e,t)+"000"}function tp(e,t){return of(e.getUTCMonth()+1,t,2)}function rp(e,t){return of(e.getUTCMinutes(),t,2)}function np(e,t){return of(e.getUTCSeconds(),t,2)}function ip(e){var t=e.getUTCDay();return 0===t?7:t}function op(e,t){return of(_l.count(Gl(e)-1,e),t,2)}function ap(e){var t=e.getUTCDay();return t>=4||0===t?Ll(e):Ll.ceil(e)}function cp(e,t){return e=ap(e),of(Ll.count(Gl(e),e)+(4===Gl(e).getUTCDay()),t,2)}function up(e){return e.getUTCDay()}function sp(e,t){return of(Nl.count(Gl(e)-1,e),t,2)}function lp(e,t){return of(e.getUTCFullYear()%100,t,2)}function fp(e,t){return of((e=ap(e)).getUTCFullYear()%100,t,2)}function pp(e,t){return of(e.getUTCFullYear()%1e4,t,4)}function dp(e,t){var r=e.getUTCDay();return of((e=r>=4||0===r?Ll(e):Ll.ceil(e)).getUTCFullYear()%1e4,t,4)}function hp(){return"+0000"}function mp(){return"%"}function vp(e){return+e}function yp(e){return Math.floor(+e/1e3)}function gp(e){return new Date(e)}function bp(e){return e instanceof Date?+e:+new Date(+e)}function wp(e,t,r,n,i,o,a,c,u,s){var l=Xu(),f=l.invert,p=l.domain,d=s(".%L"),h=s(":%S"),m=s("%I:%M"),v=s("%I %p"),y=s("%a %d"),g=s("%b %d"),b=s("%B"),w=s("%Y");function x(e){return(u(e)<e?d:c(e)<e?h:a(e)<e?m:o(e)<e?v:n(e)<e?i(e)<e?y:g:r(e)<e?b:w)(e)}return l.invert=function(e){return new Date(f(e))},l.domain=function(e){return arguments.length?p(Array.from(e,bp)):p().map(gp)},l.ticks=function(t){var r=p();return e(r[0],r[r.length-1],null==t?10:t)},l.tickFormat=function(e,t){return null==t?x:s(t)},l.nice=function(e){var r=p();return e&&"function"==typeof e.range||(e=t(r[0],r[r.length-1],null==e?10:e)),e?p(vs(r,e)):l},l.copy=function(){return Ju(l,wp(e,t,r,n,i,o,a,c,u,s))},l}function xp(){return Ya.apply(wp(Fl,Vl,Sl,El,hl,pl,ll,ul,al,$l).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Ep(){return Ya.apply(wp(ql,Zl,Gl,zl,_l,Dl,jl,Ol,al,Kl).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Ip(){var e,t,r,n,i,o=0,a=1,c=qu,u=!1;function s(t){return null==t||isNaN(t=+t)?i:c(0===r?.5:(t=(n(t)-e)*r,u?Math.max(0,Math.min(1,t)):t))}function l(e){return function(t){var r,n;return arguments.length?([r,n]=t,c=e(r,n),s):[c(0),c(1)]}}return s.domain=function(i){return arguments.length?([o,a]=i,e=n(o=+o),t=n(a=+a),r=e===t?0:1/(t-e),s):[o,a]},s.clamp=function(e){return arguments.length?(u=!!e,s):u},s.interpolator=function(e){return arguments.length?(c=e,s):c},s.range=l(zu),s.rangeRound=l(Hu),s.unknown=function(e){return arguments.length?(i=e,s):i},function(i){return n=i,e=i(o),t=i(a),r=e===t?0:1/(t-e),s}}function Sp(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Mp(){var e=ds(Ip()(qu));return e.copy=function(){return Sp(e,Mp())},Xa.apply(e,arguments)}function Op(){var e=Is(Ip()).domain([1,10]);return e.copy=function(){return Sp(e,Op()).base(e.base())},Xa.apply(e,arguments)}function kp(){var e=ks(Ip());return e.copy=function(){return Sp(e,kp()).constant(e.constant())},Xa.apply(e,arguments)}function jp(){var e=_s(Ip());return e.copy=function(){return Sp(e,jp()).exponent(e.exponent())},Xa.apply(e,arguments)}function Tp(){return jp.apply(null,arguments).exponent(.5)}function Dp(){var e=[],t=qu;function r(r){if(null!=r&&!isNaN(r=+r))return t((Vc(e,r,1)-1)/(e.length-1))}return r.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let r of t)null==r||isNaN(r=+r)||e.push(r);return e.sort(Gc),r},r.interpolator=function(e){return arguments.length?(t=e,r):t},r.range=function(){return e.map(((r,n)=>t(n/(e.length-1))))},r.quantiles=function(t){return Array.from({length:t+1},((r,n)=>Gs(e,n/t)))},r.copy=function(){return Dp(t).domain(e)},Xa.apply(r,arguments)}function Ap(e,t){void 0===t&&(t=e,e=zu);for(var r=0,n=t.length-1,i=t[0],o=new Array(n<0?0:n);r<n;)o[r]=e(i,i=t[++r]);return function(e){var t=Math.max(0,Math.min(n-1,Math.floor(e*=n)));return o[t](e-t)}}function _p(){var e,t,r,n,i,o,a,c=0,u=.5,s=1,l=1,f=qu,p=!1;function d(e){return isNaN(e=+e)?a:(e=.5+((e=+o(e))-t)*(l*e<l*t?n:i),f(p?Math.max(0,Math.min(1,e)):e))}function h(e){return function(t){var r,n,i;return arguments.length?([r,n,i]=t,f=Ap(e,[r,n,i]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([c,u,s]=a,e=o(c=+c),t=o(u=+u),r=o(s=+s),n=e===t?0:.5/(t-e),i=t===r?0:.5/(r-t),l=t<e?-1:1,d):[c,u,s]},d.clamp=function(e){return arguments.length?(p=!!e,d):p},d.interpolator=function(e){return arguments.length?(f=e,d):f},d.range=h(zu),d.rangeRound=h(Hu),d.unknown=function(e){return arguments.length?(a=e,d):a},function(a){return o=a,e=a(c),t=a(u),r=a(s),n=e===t?0:.5/(t-e),i=t===r?0:.5/(r-t),l=t<e?-1:1,d}}function Np(){var e=ds(_p()(qu));return e.copy=function(){return Sp(e,Np())},Xa.apply(e,arguments)}function Pp(){var e=Is(_p()).domain([.1,1,10]);return e.copy=function(){return Sp(e,Pp()).base(e.base())},Xa.apply(e,arguments)}function Cp(){var e=ks(_p());return e.copy=function(){return Sp(e,Cp()).constant(e.constant())},Xa.apply(e,arguments)}function Lp(){var e=_s(_p());return e.copy=function(){return Sp(e,Lp()).exponent(e.exponent())},Xa.apply(e,arguments)}function Rp(){return Lp.apply(null,arguments).exponent(.5)}function Bp(e,t){if((i=e.length)>1)for(var r,n,i,o=1,a=e[t[0]],c=a.length;o<i;++o)for(n=a,a=e[t[o]],r=0;r<c;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function Up(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function zp(e,t){return e[t]}function Hp(e){const t=[];return t.key=e,t}function Gp(e){return function(e){if(Array.isArray(e))return Wp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Wp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Wp(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wp(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function qp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Zp(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qp(Object(r),!0).forEach((function(t){Fp(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qp(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Fp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vp(e,t,r){return Ie()(e)||Ie()(t)?r:J(t)?L()(e,t,r):me()(t)?t(e):r}function Jp(e,t,r,n){var i=sc()(e,(function(e){return Vp(e,t)}));if("number"===r){var o=i.filter((function(e){return V(e)||parseFloat(e)}));return o.length?[cc()(o),oc()(o)]:[1/0,-1/0]}return(n?i.filter((function(e){return!Ie()(e)})):i).map((function(e){return J(e)||e instanceof Date?e:""}))}!function(e){Ql=function(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,o=e.days,a=e.shortDays,c=e.months,u=e.shortMonths,s=cf(i),l=uf(i),f=cf(o),p=uf(o),d=cf(a),h=uf(a),m=cf(c),v=uf(c),y=cf(u),g=uf(u),b={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return u[e.getMonth()]},B:function(e){return c[e.getMonth()]},c:null,d:Tf,e:Tf,f:Pf,g:Zf,G:Vf,H:Df,I:Af,j:_f,L:Nf,m:Cf,M:Lf,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:vp,s:yp,S:Rf,u:Bf,U:Uf,V:Hf,w:Gf,W:Wf,x:null,X:null,y:qf,Y:Ff,Z:Jf,"%":mp},w={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return u[e.getUTCMonth()]},B:function(e){return c[e.getUTCMonth()]},c:null,d:Yf,e:Yf,f:ep,g:fp,G:dp,H:Xf,I:Qf,j:$f,L:Kf,m:tp,M:rp,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:vp,s:yp,S:np,u:ip,U:op,V:cp,w:up,W:sp,x:null,X:null,y:lp,Y:pp,Z:hp,"%":mp},x={a:function(e,t,r){var n=d.exec(t.slice(r));return n?(e.w=h.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){var n=f.exec(t.slice(r));return n?(e.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){var n=y.exec(t.slice(r));return n?(e.m=g.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){var n=m.exec(t.slice(r));return n?(e.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,r,n){return S(e,t,r,n)},d:bf,e:bf,f:Mf,g:mf,G:hf,H:xf,I:xf,j:wf,L:Sf,m:gf,M:Ef,p:function(e,t,r){var n=s.exec(t.slice(r));return n?(e.p=l.get(n[0].toLowerCase()),r+n[0].length):-1},q:yf,Q:kf,s:jf,S:If,u:lf,U:ff,V:pf,w:sf,W:df,x:function(e,t,n){return S(e,r,t,n)},X:function(e,t,r){return S(e,n,t,r)},y:mf,Y:hf,Z:vf,"%":Of};function E(e,t){return function(r){var n,i,o,a=[],c=-1,u=0,s=e.length;for(r instanceof Date||(r=new Date(+r));++c<s;)37===e.charCodeAt(c)&&(a.push(e.slice(u,c)),null!=(i=ef[n=e.charAt(++c)])?n=e.charAt(++c):i="e"===n?" ":"0",(o=t[n])&&(n=o(r,i)),a.push(n),u=c+1);return a.push(e.slice(u,c)),a.join("")}}function I(e,t){return function(r){var n,i,o=Xl(1900,void 0,1);if(S(o,e,r+="",0)!=r.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(n=Yl(Xl(o.y,0,1))).getUTCDay(),n=i>4||0===i?Nl.ceil(n):Nl(n),n=Dl.offset(n,7*(o.V-1)),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(i=(n=Jl(Xl(o.y,0,1))).getDay(),n=i>4||0===i?ml.ceil(n):ml(n),n=pl.offset(n,7*(o.V-1)),o.y=n.getFullYear(),o.m=n.getMonth(),o.d=n.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Yl(Xl(o.y,0,1)).getUTCDay():Jl(Xl(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Yl(o)):Jl(o)}}function S(e,t,r,n){for(var i,o,a=0,c=t.length,u=r.length;a<c;){if(n>=u)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=x[i in ef?t.charAt(a++):i])||(n=o(e,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}return b.x=E(r,b),b.X=E(n,b),b.c=E(t,b),w.x=E(r,w),w.X=E(n,w),w.c=E(t,w),{format:function(e){var t=E(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=I(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=E(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=I(e+="",!0);return t.toString=function(){return e},t}}}(e),$l=Ql.format,Ql.parse,Kl=Ql.utcFormat,Ql.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Yp=function(e){var t,r=e.type.displayName,n=e.props,i=n.stroke,o=n.fill;switch(r){case"Line":t=i;break;case"Area":case"Radar":t=i&&"none"!==i?i:o;break;default:t=o}return t},Xp=function(e){var t,r=e.children,n=e.formatedGraphicalItems,i=e.legendWidth,o=e.legendContent,a=zo(r,Xn.displayName);return a?(t=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(n||[]).reduce((function(e,t){var r=t.item,n=t.props,i=n.sectors||n.data||[];return e.concat(i.map((function(e){return{type:a.props.iconType||r.props.legendType,value:e.name,color:e.fill,payload:e}})))}),[]):(n||[]).map((function(e){var t=e.item,r=t.props,n=r.dataKey,i=r.name,o=r.legendType;return{inactive:r.hide,dataKey:n,type:a.props.iconType||o||"square",color:Yp(t),value:i||n,payload:t.props}})),Zp(Zp(Zp({},a.props),Xn.getWithHeight(a,i)),{},{payload:t,item:a})):null},Qp=function(e,t,r,n){var i=t.props.children,o=Uo(i,"ErrorBar").filter((function(e){var t=e.props.direction;return!(!Ie()(t)&&!Ie()(n))||n.indexOf(t)>=0}));if(o&&o.length){var a=o.map((function(e){return e.props.dataKey}));return e.reduce((function(e,t){var n=Vp(t,r,0),i=B()(n)?[cc()(n),oc()(n)]:[n,n],o=a.reduce((function(e,r){var n=Vp(t,r,0),o=i[0]-Math.abs(B()(n)?n[0]:n),a=i[1]+Math.abs(B()(n)?n[1]:n);return[Math.min(o,e[0]),Math.max(a,e[1])]}),[1/0,-1/0]);return[Math.min(o[0],e[0]),Math.max(o[1],e[1])]}),[1/0,-1/0])}return null},$p=function(e,t,r,n){var i=t.map((function(t){var i=t.props.dataKey;return"number"===r&&i&&Qp(e,t,i)||Jp(e,i,r,n)}));if("number"===r)return i.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]);var o={};return i.reduce((function(e,t){for(var r=0,n=t.length;r<n;r++)o[t[r]]||(o[t[r]]=!0,e.push(t[r]));return e}),[])},Kp=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},ed=function(e,t,r){var n,i,o=e.map((function(e){return e.coordinate===t&&(n=!0),e.coordinate===r&&(i=!0),e.coordinate}));return n||o.push(t),i||o.push(r),o},td=function(e,t,r){if(!e)return null;var n=e.scale,i=e.duplicateDomain,o=e.type,a=e.range,c=(t||r)&&"category"===o&&n.bandwidth?n.bandwidth()/2:0;return c="angleAxis"===e.axisType?2*Z(a[0]-a[1])*c:c,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map((function(e){var t=i?i.indexOf(e):e;return{coordinate:n(t)+c,value:e,offset:c}})):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map((function(e,t){return{coordinate:n(e)+c,value:e,index:t,offset:c}})):n.ticks&&!r?n.ticks(e.tickCount).map((function(e){return{coordinate:n(e)+c,value:e,offset:c}})):n.domain().map((function(e,t){return{coordinate:n(e)+c,value:i?i[e]:e,index:t,offset:c}}))},rd=function(e,t,r){var n;return me()(r)?n=r:me()(t)&&(n=t),me()(e)||n?function(t,r,i,o){me()(e)&&e(t,r,i,o),me()(n)&&n(t,r,i,o)}:null},nd=1e-4,id={sign:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,o=0,a=0;a<t;++a){var c=z()(e[a][r][1])?e[a][r][0]:e[a][r][1];c>=0?(e[a][r][0]=i,e[a][r][1]=i+c,i=e[a][r][1]):(e[a][r][0]=o,e[a][r][1]=o+c,o=e[a][r][1])}},expand:function(e,t){if((n=e.length)>0){for(var r,n,i,o=0,a=e[0].length;o<a;++o){for(i=r=0;r<n;++r)i+=e[r][o][1]||0;if(i)for(r=0;r<n;++r)e[r][o][1]/=i}Bp(e,t)}},none:Bp,silhouette:function(e,t){if((r=e.length)>0){for(var r,n=0,i=e[t[0]],o=i.length;n<o;++n){for(var a=0,c=0;a<r;++a)c+=e[a][n][1]||0;i[n][1]+=i[n][0]=-c/2}Bp(e,t)}},wiggle:function(e,t){if((i=e.length)>0&&(n=(r=e[t[0]]).length)>0){for(var r,n,i,o=0,a=1;a<n;++a){for(var c=0,u=0,s=0;c<i;++c){for(var l=e[t[c]],f=l[a][1]||0,p=(f-(l[a-1][1]||0))/2,d=0;d<c;++d){var h=e[t[d]];p+=(h[a][1]||0)-(h[a-1][1]||0)}u+=f,s+=p*f}r[a-1][1]+=r[a-1][0]=o,u&&(o-=s/u)}r[a-1][1]+=r[a-1][0]=o,Bp(e,t)}},positive:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,o=0;o<t;++o){var a=z()(e[o][r][1])?e[o][r][0]:e[o][r][1];a>=0?(e[o][r][0]=i,e[o][r][1]=i+a,i=e[o][r][1]):(e[o][r][0]=0,e[o][r][1]=0)}}},od=function(e,t,r){var n=t.map((function(e){return e.props.dataKey}));return function(){var e=dn([]),t=Up,r=Bp,n=zp;function i(i){var o,a,c=Array.from(e.apply(this,arguments),Hp),u=c.length,s=-1;for(const e of i)for(o=0,++s;o<u;++o)(c[o][s]=[0,+n(e,c[o].key,s,i)]).data=e;for(o=0,a=mi(t(c));o<u;++o)c[a[o]].index=o;return r(c,a),c}return i.keys=function(t){return arguments.length?(e="function"==typeof t?t:dn(Array.from(t)),i):e},i.value=function(e){return arguments.length?(n="function"==typeof e?e:dn(+e),i):n},i.order=function(e){return arguments.length?(t=null==e?Up:"function"==typeof e?e:dn(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(r=null==e?Bp:e,i):r},i}().keys(n).value((function(e,t){return+Vp(e,t,0)})).order(Up).offset(id[r])(e)},ad=function(e,t){var r=t.realScaleType,n=t.type,i=t.tickCount,o=t.originalDomain,a=t.allowDecimals,c=r||t.scale;if("auto"!==c&&"linear"!==c)return null;if(i&&"number"===n&&o&&("auto"===o[0]||"auto"===o[1])){var u=e.domain();if(!u.length)return null;var s=Pc(u,i,a);return e.domain(function(e,t){return"number"===t?[cc()(e),oc()(e)]:e}(s,n)),{niceTicks:s}}if(i&&"number"===n){var l=e.domain();return{niceTicks:Cc(l,i,a)}}return null},cd=function(e){var t=e.axis,r=e.ticks,n=e.offset,i=e.bandSize,o=e.entry,a=e.index;if("category"===t.type)return r[a]?r[a].coordinate+n:null;var c=Vp(o,t.dataKey,t.domain[a]);return Ie()(c)?null:t.scale(c)-i/2+n},ud=function(e,t,r){return Object.keys(e).reduce((function(n,i){var o=e[i].stackedData.reduce((function(e,n){var i=n.slice(t,r+1).reduce((function(e,t){return[cc()(t.concat([e[0]]).filter(V)),oc()(t.concat([e[1]]).filter(V))]}),[1/0,-1/0]);return[Math.min(e[0],i[0]),Math.max(e[1],i[1])]}),[1/0,-1/0]);return[Math.min(o[0],n[0]),Math.max(o[1],n[1])]}),[1/0,-1/0]).map((function(e){return e===1/0||e===-1/0?0:e}))},sd=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ld=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,fd=function(e,t,r){if(!B()(e))return t;var n=[];if(V(e[0]))n[0]=r?e[0]:Math.min(e[0],t[0]);else if(sd.test(e[0])){var i=+sd.exec(e[0])[1];n[0]=t[0]-i}else me()(e[0])?n[0]=e[0](t[0]):n[0]=t[0];if(V(e[1]))n[1]=r?e[1]:Math.max(e[1],t[1]);else if(ld.test(e[1])){var o=+ld.exec(e[1])[1];n[1]=t[1]+o}else me()(e[1])?n[1]=e[1](t[1]):n[1]=t[1];return n},pd=function(e,t,r){if(e&&e.scale&&e.scale.bandwidth){var n=e.scale.bandwidth();if(!r||n>0)return n}if(e&&t&&t.length>=2){for(var i=be()(t,(function(e){return e.coordinate})),o=1/0,a=1,c=i.length;a<c;a++){var u=i[a],s=i[a-1];o=Math.min((u.coordinate||0)-(s.coordinate||0),o)}return o===1/0?0:o}return 0},dd=function(e,t,r){return e&&e.length?nc()(e,L()(r,"type.defaultProps.domain"))?t:e:t},hd=function(e,t){var r=e.props,n=r.dataKey,i=r.name,o=r.unit,a=r.formatter,c=r.tooltipType;return Zp(Zp({},_e(e)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:Yp(e),value:Vp(t,n),type:c,payload:t})};function md(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function vd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?md(Object(r),!0).forEach((function(t){yd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):md(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var gd=["Webkit","Moz","O","ms"];function bd(e){return(bd="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 wd(){return(wd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function xd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ed(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xd(Object(r),!0).forEach((function(t){Id(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Id(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sd(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Md(e,t){return(Md=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Od(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Td(e);if(t){var i=Td(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return kd(this,r)}}function kd(e,t){return!t||"object"!==bd(t)&&"function"!=typeof t?jd(e):t}function jd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Td(e){return(Td=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Dd=function(e){return e.changedTouches&&!!e.changedTouches.length},Ad=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&&Md(e,t)}(a,e);var t,r,n,i=Od(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).leaveTimer=void 0,t.travellerDragStartHandlers=void 0,t.handleDrag=function(e){t.leaveTimer&&(clearTimeout(t.leaveTimer),t.leaveTimer=null),t.state.isTravellerMoving?t.handleTravellerMove(e):t.state.isSlideMoving&&t.handleSlideDrag(e)},t.handleTouchMove=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleDrag(e.changedTouches[0])},t.handleDragEnd=function(){t.setState({isTravellerMoving:!1,isSlideMoving:!1}),t.detachDragEndListener()},t.handleLeaveWrapper=function(){(t.state.isTravellerMoving||t.state.isSlideMoving)&&(t.leaveTimer=window.setTimeout(t.handleDragEnd,t.props.leaveTimeOut))},t.handleEnterSlideOrTraveller=function(){t.setState({isTextActive:!0})},t.handleLeaveSlideOrTraveller=function(){t.setState({isTextActive:!1})},t.handleSlideDragStart=function(e){var r=Dd(e)?e.changedTouches[0]:e;t.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),t.attachDragEndListener()},t.travellerDragStartHandlers={startX:t.handleTravellerDragStart.bind(jd(t),"startX"),endX:t.handleTravellerDragStart.bind(jd(t),"endX")},t.state={},t}return t=a,n=[{key:"renderDefaultTraveller",value:function(e){var t=e.x,r=e.y,n=e.width,i=e.height,a=e.stroke,c=Math.floor(r+i/2)-1;return o.createElement(o.Fragment,null,o.createElement("rect",{x:t,y:r,width:n,height:i,fill:a,stroke:"none"}),o.createElement("line",{x1:t+1,y1:c,x2:t+n-1,y2:c,fill:"none",stroke:"#fff"}),o.createElement("line",{x1:t+1,y1:c+2,x2:t+n-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):a.renderDefaultTraveller(t)}},{key:"getDerivedStateFromProps",value:function(e,t){var r=e.data,n=e.width,i=e.x,o=e.travellerWidth,a=e.updateId,c=e.startIndex,u=e.endIndex;if(r!==t.prevData||a!==t.prevUpdateId)return Ed({prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n},r&&r.length?function(e){var t=e.data,r=e.startIndex,n=e.endIndex,i=e.x,o=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var c=t.length,u=tc().domain(xe()(0,c)).range([i,i+o-a]),s=u.domain().map((function(e){return u(e)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:u(r),endX:u(n),scale:u,scaleValues:s}}({data:r,width:n,x:i,travellerWidth:o,startIndex:c,endIndex:u}):{scale:null,scaleValues:null});if(t.scale&&(n!==t.prevWidth||i!==t.prevX||o!==t.prevTravellerWidth)){t.scale.range([i,i+n-o]);var s=t.scale.domain().map((function(e){return t.scale(e)}));return{prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:s}}return null}},{key:"getIndexInRange",value:function(e,t){for(var r=0,n=e.length-1;n-r>1;){var i=Math.floor((r+n)/2);e[i]>t?n=i:r=i}return t>=e[n]?n:r}}],(r=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var t=e.startX,r=e.endX,n=this.state.scaleValues,i=this.props,o=i.gap,c=i.data.length-1,u=Math.min(t,r),s=Math.max(t,r),l=a.getIndexInRange(n,u),f=a.getIndexInRange(n,s);return{startIndex:l-l%o,endIndex:f===c?c:f-f%o}}},{key:"getTextOfTick",value:function(e){var t=this.props,r=t.data,n=t.tickFormatter,i=t.dataKey,o=Vp(r[e],i,e);return me()(n)?n(o,e):o}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0)}},{key:"handleSlideDrag",value:function(e){var t=this.state,r=t.slideMoveStartX,n=t.startX,i=t.endX,o=this.props,a=o.x,c=o.width,u=o.travellerWidth,s=o.startIndex,l=o.endIndex,f=o.onChange,p=e.pageX-r;p>0?p=Math.min(p,a+c-u-i,a+c-u-n):p<0&&(p=Math.max(p,a-n,a-i));var d=this.getIndex({startX:n+p,endX:i+p});d.startIndex===s&&d.endIndex===l||!f||f(d),this.setState({startX:n+p,endX:i+p,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var r=Dd(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t,r=this.state,n=r.brushMoveStartX,i=r.movingTravellerId,o=r.endX,a=r.startX,c=this.state[i],u=this.props,s=u.x,l=u.width,f=u.travellerWidth,p=u.onChange,d=u.gap,h=u.data,m={startX:this.state.startX,endX:this.state.endX},v=e.pageX-n;v>0?v=Math.min(v,s+l-f-c):v<0&&(v=Math.max(v,s-c)),m[i]=c+v;var y=this.getIndex(m),g=y.startIndex,b=y.endIndex;this.setState((Id(t={},i,c+v),Id(t,"brushMoveStartX",e.pageX),t),(function(){var e;p&&(e=h.length-1,("startX"===i&&(o>a?g%d==0:b%d==0)||o<a&&b===e||"endX"===i&&(o>a?b%d==0:g%d==0)||o>a&&b===e)&&p(y))}))}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,a=e.fill,c=e.stroke;return o.createElement("rect",{stroke:c,fill:a,x:t,y:r,width:n,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,a=e.data,c=e.children,u=e.padding,s=o.Children.only(c);return s?o.cloneElement(s,{x:t,y:r,width:n,height:i,margin:u,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(e,t){var r=this.props,n=r.y,i=r.travellerWidth,c=r.height,u=r.traveller,s=Math.max(e,this.props.x),l=Ed(Ed({},_e(this.props)),{},{x:s,y:n,width:i,height:c});return o.createElement(ze,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[t],onTouchStart:this.travellerDragStartHandlers[t],style:{cursor:"col-resize"}},a.renderTraveller(u,l))}},{key:"renderSlide",value:function(e,t){var r=this.props,n=r.y,i=r.height,a=r.stroke,c=r.travellerWidth,u=Math.min(e,t)+c,s=Math.max(Math.abs(t-e)-c,0);return o.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:u,y:n,width:s,height:i})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,r=e.endIndex,n=e.y,i=e.height,a=e.travellerWidth,c=e.stroke,u=this.state,s=u.startX,l=u.endX,f={pointerEvents:"none",fill:c};return o.createElement(ze,{className:"recharts-brush-texts"},o.createElement(Sa,wd({textAnchor:"end",verticalAnchor:"middle",x:Math.min(s,l)-5,y:n+i/2},f),this.getTextOfTick(t)),o.createElement(Sa,wd({textAnchor:"start",verticalAnchor:"middle",x:Math.max(s,l)+a+5,y:n+i/2},f),this.getTextOfTick(r)))}},{key:"render",value:function(){var e=this.props,t=e.data,r=e.className,n=e.children,i=e.x,a=e.y,c=e.width,u=e.height,s=e.alwaysShowText,l=this.state,f=l.startX,p=l.endX,d=l.isTextActive,h=l.isSlideMoving,m=l.isTravellerMoving;if(!t||!t.length||!V(i)||!V(a)||!V(c)||!V(u)||c<=0||u<=0)return null;var v=N()("recharts-brush",r),y=1===o.Children.count(n),g=function(e,t){if(!e)return null;var r=e.replace(/(\w)/,(function(e){return e.toUpperCase()})),n=gd.reduce((function(e,n){return vd(vd({},e),{},yd({},n+r,t))}),{});return n[e]=t,n}("userSelect","none");return o.createElement(ze,{className:v,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:g},this.renderBackground(),y&&this.renderPanorama(),this.renderSlide(f,p),this.renderTravellerLayer(f,"startX"),this.renderTravellerLayer(p,"endX"),(d||h||m||s)&&this.renderText())}}])&&Sd(t.prototype,r),n&&Sd(t,n),a}(o.PureComponent);Ad.displayName="Brush",Ad.defaultProps={height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1};var _d=function(e,t){var r=e.alwaysShow,n=e.ifOverflow;return r&&(n="extendDomain"),n===t},Nd=r(18345),Pd=r.n(Nd);function Cd(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ld(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Rd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ld(Object(r),!0).forEach((function(t){Bd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ld(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Bd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ud=function(e,t){var r=e.x,n=e.y,i=t.x,o=t.y;return{x:Math.min(r,i),y:Math.min(n,o),width:Math.abs(i-r),height:Math.abs(o-n)}},zd=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scale=void 0,this.scale=t}var t,r,n;return t=e,n=[{key:"create",value:function(t){return new e(t)}}],(r=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.bandAware,n=t.position;if(void 0!==e){if(n)switch(n){case"start":return this.scale(e);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(e)+o;default:return this.scale(e)}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),r=t[0],n=t[t.length-1];return r<=n?e>=r&&e<=n:e>=n&&e<=r}}])&&Cd(t.prototype,r),n&&Cd(t,n),e}();zd.EPS=1e-4;var Hd=function(e){var t=Object.keys(e).reduce((function(t,r){return Rd(Rd({},t),{},Bd({},r,zd.create(e[r])))}),{});return Rd(Rd({},t),{},{apply:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware;return Pd()(e,(function(e,r){return t[r].apply(e,{bandAware:n})}))},isInRange:function(e){return fe()(e,(function(e,r){return t[r].isInRange(e)}))}})};function Gd(){return(Gd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Wd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wd(Object(r),!0).forEach((function(t){Zd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Zd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fd(e){var t=e.x,r=e.y,n=e.r,i=e.alwaysShow,a=e.clipPathId,c=J(t),u=J(r);if(te(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!c||!u)return null;var s=function(e){var t=e.x,r=e.y,n=e.xAxis,i=e.yAxis,o=Hd({x:n.scale,y:i.scale}),a=o.apply({x:t,y:r},{bandAware:!0});return _d(e,"discard")&&!o.isInRange(a)?null:a}(e);if(!s)return null;var l=s.x,f=s.y,p=e.shape,d=e.className,h=qd(qd({clipPath:_d(e,"hidden")?"url(#".concat(a,")"):void 0},_e(e,!0)),{},{cx:l,cy:f});return o.createElement(ze,{className:N()("recharts-reference-dot",d)},Fd.renderDot(p,h),_a.renderCallByParent(e,{x:l-n,y:f-n,width:2*n,height:2*n}))}Fd.displayName="ReferenceDot",Fd.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},Fd.renderDot=function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):o.createElement(wo,Gd({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}))};var Vd=r(94927),Jd=r.n(Vd);function Yd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Xd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Yd(Object(r),!0).forEach((function(t){Qd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Qd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Kd(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Kd(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kd(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function eh(){return(eh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function th(e){var t=e.x,r=e.y,n=e.segment,i=e.xAxis,a=e.yAxis,c=e.shape,u=e.className,s=e.alwaysShow,l=e.clipPathId;te(void 0===s,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var f=function(e,t,r,n,i){var o=i.viewBox,a=o.x,c=o.y,u=o.width,s=o.height,l=i.position;if(r){var f=i.y,p=i.yAxis.orientation,d=e.y.apply(f,{position:l});if(_d(i,"discard")&&!e.y.isInRange(d))return null;var h=[{x:a+u,y:d},{x:a,y:d}];return"left"===p?h.reverse():h}if(t){var m=i.x,v=i.xAxis.orientation,y=e.x.apply(m,{position:l});if(_d(i,"discard")&&!e.x.isInRange(y))return null;var g=[{x:y,y:c+s},{x:y,y:c}];return"top"===v?g.reverse():g}if(n){var b=i.segment.map((function(t){return e.apply(t,{position:l})}));return _d(i,"discard")&&Jd()(b,(function(t){return!e.isInRange(t)}))?null:b}return null}(Hd({x:i.scale,y:a.scale}),J(t),J(r),n&&2===n.length,e);if(!f)return null;var p=$d(f,2),d=p[0],h=d.x,m=d.y,v=p[1],y=v.x,g=v.y,b=Xd(Xd({clipPath:_d(e,"hidden")?"url(#".concat(l,")"):void 0},_e(e,!0)),{},{x1:h,y1:m,x2:y,y2:g});return o.createElement(ze,{className:N()("recharts-reference-line",u)},function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):o.createElement("line",eh({},t,{className:"recharts-reference-line-line"}))}(c,b),_a.renderCallByParent(e,function(e){var t=e.x1,r=e.y1,n=e.x2,i=e.y2;return Ud({x:t,y:r},{x:n,y:i})}({x1:h,y1:m,x2:y,y2:g})))}function rh(){return(rh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function nh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ih(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nh(Object(r),!0).forEach((function(t){oh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function oh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}th.displayName="ReferenceLine",th.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function ah(e){var t=e.x1,r=e.x2,n=e.y1,i=e.y2,a=e.className,c=e.alwaysShow,u=e.clipPathId;te(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var s=J(t),l=J(r),f=J(n),p=J(i),d=e.shape;if(!(s||l||f||p||d))return null;var h=function(e,t,r,n,i){var o=i.x1,a=i.x2,c=i.y1,u=i.y2,s=i.xAxis,l=i.yAxis,f=Hd({x:s.scale,y:l.scale}),p={x:e?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(c,{position:"start"}):f.y.rangeMin},d={x:t?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(u,{position:"end"}):f.y.rangeMax};return!_d(i,"discard")||f.isInRange(p)&&f.isInRange(d)?Ud(p,d):null}(s,l,f,p,e);if(!h&&!d)return null;var m=_d(e,"hidden")?"url(#".concat(u,")"):void 0;return o.createElement(ze,{className:N()("recharts-reference-area",a)},ah.renderRect(d,ih(ih({clipPath:m},_e(e,!0)),h)),_a.renderCallByParent(e,h))}ah.displayName="ReferenceArea",ah.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},ah.renderRect=function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):o.createElement(Ao,rh({},t,{className:"recharts-reference-area-rect"}))};var ch=function(e,t,r,n,i){var o=Uo(e,th.displayName),a=Uo(e,Fd.displayName),c=o.concat(a),u=Uo(e,ah.displayName),s="".concat(n,"Id"),l=n[0],f=t;if(c.length&&(f=c.reduce((function(e,t){if(t.props[s]===r&&_d(t.props,"extendDomain")&&V(t.props[l])){var n=t.props[l];return[Math.min(e[0],n),Math.max(e[1],n)]}return e}),f)),u.length){var p="".concat(l,"1"),d="".concat(l,"2");f=u.reduce((function(e,t){if(t.props[s]===r&&_d(t.props,"extendDomain")&&V(t.props[p])&&V(t.props[d])){var n=t.props[p],i=t.props[d];return[Math.min(e[0],n,i),Math.max(e[1],n,i)]}return e}),f)}return i&&i.length&&(f=i.reduce((function(e,t){return V(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e}),f)),f},uh=r(2594),sh=new(r.n(uh)());sh.setMaxListeners&&sh.setMaxListeners(10);var lh="recharts.syncMouseEvents";function fh(e){return(fh="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 ph(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||Eh(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dh(){return(dh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function hh(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function mh(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vh(e,t){return(vh=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yh(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=wh(e);if(t){var i=wh(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return gh(this,r)}}function gh(e,t){return!t||"object"!==fh(t)&&"function"!=typeof t?bh(e):t}function bh(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wh(e){return(wh=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function xh(e){return function(e){if(Array.isArray(e))return Ih(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Eh(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Eh(e,t){if(e){if("string"==typeof e)return Ih(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ih(e,t):void 0}}function Ih(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Sh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Mh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Sh(Object(r),!0).forEach((function(t){Oh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Oh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var kh={xAxis:["bottom","top"],yAxis:["left","right"]},jh={x:0,y:0},Th=Number.isFinite?Number.isFinite:isFinite,Dh="function"==typeof requestAnimationFrame?requestAnimationFrame:"function"==typeof setImmediate?setImmediate:setTimeout,Ah="function"==typeof cancelAnimationFrame?cancelAnimationFrame:"function"==typeof clearImmediate?clearImmediate:clearTimeout,_h=function(e,t,r){var n=t.graphicalItems,i=t.dataStartIndex,o=t.dataEndIndex,a=(n||[]).reduce((function(e,t){var r=t.props.data;return r&&r.length?[].concat(xh(e),xh(r)):e}),[]);return a&&a.length>0?a:r&&r.props&&r.props.data&&r.props.data.length>0?r.props.data:e&&e.length&&V(i)&&V(o)?e.slice(i,o+1):[]},Nh=function(e,t,r,n){var i=e.graphicalItems,o=e.tooltipAxis,a=_h(t,e);return r<0||!i||!i.length||r>=a.length?null:i.reduce((function(e,t){if(t.props.hide)return e;var i,c=t.props.data;o.dataKey&&!o.allowDuplicatedCategory?i=ee(void 0===c?a:c,o.dataKey,n):i=c&&c[r]||a[r];return i?[].concat(xh(e),[hd(t,i)]):e}),[])},Ph=function(e,t,r,n){var i=n||{x:e.chartX,y:e.chartY},o=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}(i,r),a=e.orderedTooltipTicks,c=e.tooltipAxis,u=e.tooltipTicks,s=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(t=null==r?void 0:r.length)&&void 0!==t?t:0;if(a>1){if(i&&"angleAxis"===i.axisType&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var c=i.range,u=0;u<a;u++){var s=u>0?n[u-1].coordinate:n[a-1].coordinate,l=n[u].coordinate,f=u>=a-1?n[0].coordinate:n[u+1].coordinate,p=void 0;if(Z(l-s)!==Z(f-l)){var d=[];if(Z(f-l)===Z(c[1]-c[0])){p=f;var h=l+c[1]-c[0];d[0]=Math.min(h,(h+s)/2),d[1]=Math.max(h,(h+s)/2)}else{p=s;var m=f+c[1]-c[0];d[0]=Math.min(l,(m+l)/2),d[1]=Math.max(l,(m+l)/2)}var v=[Math.min(l,(p+l)/2),Math.max(l,(p+l)/2)];if(e>v[0]&&e<=v[1]||e>=d[0]&&e<=d[1]){o=n[u].index;break}}else{var y=Math.min(s,f),g=Math.max(s,f);if(e>(y+l)/2&&e<=(g+l)/2){o=n[u].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b>0&&b<a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b===a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2){o=r[b].index;break}}else o=0;return o}(o,a,u,c);if(s>=0&&u){var l=u[s]&&u[s].value;return{activeTooltipIndex:s,activeLabel:l,activePayload:Nh(e,t,s,l),activeCoordinate:function(e,t,r,n){var i=t.find((function(e){return e&&e.index===r}));if(i){if("horizontal"===e)return{x:i.coordinate,y:n.y};if("vertical"===e)return{x:n.x,y:i.coordinate};if("centric"===e){var o=i.coordinate,a=n.radius;return Mh(Mh(Mh({},n),Xi(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var c=i.coordinate,u=n.angle;return Mh(Mh(Mh({},n),Xi(n.cx,n.cy,c,u)),{},{angle:u,radius:c})}return jh}(r,a,s,i)}}return null},Ch=function(e,t){var r=t.axes,n=t.graphicalItems,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,c=t.dataStartIndex,u=t.dataEndIndex,s=e.layout,l=e.children,f=e.stackOffset,p=Kp(s,i);return r.reduce((function(t,r){var d=r.props,h=d.type,m=d.dataKey,v=d.allowDataOverflow,y=d.allowDuplicatedCategory,g=d.scale,b=d.ticks,w=r.props[o],x=_h(e.data,{graphicalItems:n.filter((function(e){return e.props[o]===w})),dataStartIndex:c,dataEndIndex:u}),E=x.length;if(!t[w]){var I,S,M;if(m){if(I=Jp(x,m,h),"category"===h&&p){var O=function(e){if(!B()(e))return!1;for(var t=e.length,r={},n=0;n<t;n++){if(r[e[n]])return!0;r[e[n]]=!0}return!1}(I);y&&O?(S=I,I=xe()(0,E)):y||(I=dd(r.props.domain,I,r).reduce((function(e,t){return e.indexOf(t)>=0?e:[].concat(xh(e),[t])}),[]))}else if("category"===h)I=y?I.filter((function(e){return""!==e&&!Ie()(e)})):dd(r.props.domain,I,r).reduce((function(e,t){return e.indexOf(t)>=0||""===t||Ie()(t)?e:[].concat(xh(e),[t])}),[]);else if("number"===h){var k=function(e,t,r,n){var i=t.map((function(t){return Qp(e,t,r,n)})).filter((function(e){return!Ie()(e)}));return i&&i.length?i.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]):null}(x,n.filter((function(e){return e.props[o]===w&&!e.props.hide})),m,i);k&&(I=k)}!p||"number"!==h&&"auto"===g||(M=Jp(x,m,"category"))}else I=p?xe()(0,E):a&&a[w]&&a[w].hasStack&&"number"===h?"expand"===f?[0,1]:ud(a[w].stackGroups,c,u):$p(x,n.filter((function(e){return e.props[o]===w&&!e.props.hide})),h,!0);if("number"===h)I=ch(l,I,w,i,b),r.props.domain&&(I=fd(r.props.domain,I,v));else if("category"===h&&r.props.domain){var j=r.props.domain;I.every((function(e){return j.indexOf(e)>=0}))&&(I=j)}return Mh(Mh({},t),{},Oh({},w,Mh(Mh({},r.props),{},{axisType:i,domain:I,categoricalDomain:M,duplicateDomain:S,originalDomain:r.props.domain,isCategorical:p,layout:s})))}return t}),{})},Lh=function(e,t){var r=t.axisType,n=void 0===r?"xAxis":r,i=t.AxisComp,o=t.graphicalItems,a=t.stackGroups,c=t.dataStartIndex,u=t.dataEndIndex,s=e.children,l="".concat(n,"Id"),f=Uo(s,i),p={};return f&&f.length?p=Ch(e,{axes:f,graphicalItems:o,axisType:n,axisIdKey:l,stackGroups:a,dataStartIndex:c,dataEndIndex:u}):o&&o.length&&(p=function(e,t){var r=t.graphicalItems,n=t.Axis,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,c=t.dataStartIndex,u=t.dataEndIndex,s=e.layout,l=e.children,f=_h(e.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:u}),p=f.length,d=Kp(s,i),h=-1;return r.reduce((function(e,t){var m,v=t.props[o];return e[v]?e:(h++,d?m=xe()(0,p):a&&a[v]&&a[v].hasStack?(m=ud(a[v].stackGroups,c,u),m=ch(l,m,v,i)):(m=fd(n.defaultProps.domain,$p(f,r.filter((function(e){return e.props[o]===v&&!e.props.hide})),"number"),n.defaultProps.allowDataOverflow),m=ch(l,m,v,i)),Mh(Mh({},e),{},Oh({},v,Mh(Mh({axisType:i},n.defaultProps),{},{hide:!0,orientation:L()(kh,"".concat(i,".").concat(h%2),null),domain:m,originalDomain:n.defaultProps.domain,isCategorical:d,layout:s}))))}),{})}(e,{Axis:i,graphicalItems:o,axisType:n,axisIdKey:l,stackGroups:a,dataStartIndex:c,dataEndIndex:u})),p},Rh=function(e){var t=e.children,r=e.defaultShowTooltip,n=zo(t,Ad.displayName);return{chartX:0,chartY:0,dataStartIndex:n&&n.props&&n.props.startIndex||0,dataEndIndex:n&&n.props&&n.props.endIndex||e.data&&e.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:!Ie()(r)&&r}},Bh=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},Uh=function(e,t){var r=e.props,n=(e.graphicalItems,e.xAxisMap),i=void 0===n?{}:n,o=e.yAxisMap,a=void 0===o?{}:o,c=r.width,u=r.height,s=r.children,l=r.margin||{},f=zo(s,Ad.displayName),p=zo(s,Xn.displayName),d=Object.keys(a).reduce((function(e,t){var r=a[t],n=r.orientation;return r.mirror||r.hide?e:Mh(Mh({},e),{},Oh({},n,e[n]+r.width))}),{left:l.left||0,right:l.right||0}),h=Object.keys(i).reduce((function(e,t){var r=i[t],n=r.orientation;return r.mirror||r.hide?e:Mh(Mh({},e),{},Oh({},n,L()(e,"".concat(n))+r.height))}),{top:l.top||0,bottom:l.bottom||0}),m=Mh(Mh({},h),d),v=m.bottom;return f&&(m.bottom+=f.props.height||Ad.defaultProps.height),p&&t&&(m=function(e,t,r,n){var i=r.children,o=r.width,a=r.margin,c=o-(a.left||0)-(a.right||0),u=Xp({children:i,legendWidth:c}),s=e;if(u){var l=n||{},f=u.align,p=u.verticalAlign,d=u.layout;("vertical"===d||"horizontal"===d&&"center"===p)&&V(e[f])&&(s=Zp(Zp({},e),{},Fp({},f,s[f]+(l.width||0)))),("horizontal"===d||"vertical"===d&&"center"===f)&&V(e[p])&&(s=Zp(Zp({},e),{},Fp({},p,s[p]+(l.height||0))))}return s}(m,0,r,t)),Mh(Mh({brushBottom:v},m),{},{width:c-m.left-m.right,height:u-m.top-m.bottom})};function zh(){return(zh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Hh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Gh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gh(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Wh(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function qh(e){var t=e.offset,r=e.layout,n=e.width,i=e.dataKey,a=e.data,c=e.dataPointFormatter,u=e.xAxis,s=e.yAxis,l=Wh(e,["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"]),f=_e(l),p=a.map((function(e,a){var l=c(e,i),p=l.x,d=l.y,h=l.value,m=l.errorVal;if(!m)return null;var v,y,g=[];if(Array.isArray(m)){var b=Hh(m,2);v=b[0],y=b[1]}else v=y=m;if("vertical"===r){var w=u.scale,x=d+t,E=x+n,I=x-n,S=w(h-v),M=w(h+y);g.push({x1:M,y1:E,x2:M,y2:I}),g.push({x1:S,y1:x,x2:M,y2:x}),g.push({x1:S,y1:E,x2:S,y2:I})}else if("horizontal"===r){var O=s.scale,k=p+t,j=k-n,T=k+n,D=O(h-v),A=O(h+y);g.push({x1:j,y1:A,x2:T,y2:A}),g.push({x1:k,y1:D,x2:k,y2:A}),g.push({x1:j,y1:D,x2:T,y2:D})}return o.createElement(ze,zh({className:"recharts-errorBar",key:"bar-".concat(a)},f),g.map((function(e,t){return o.createElement("line",zh({},e,{key:"line-".concat(t)}))})))}));return o.createElement(ze,{className:"recharts-errorBars"},p)}qh.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},qh.displayName="ErrorBar";var Zh=function(e){return null};Zh.displayName="Cell";var Fh=r(16731),Vh=r.n(Fh);function Jh(e){return function(e){if(Array.isArray(e))return Yh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Yh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Yh(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Xh(){return(Xh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Qh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qh(Object(r),!0).forEach((function(t){Kh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Kh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function em(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var tm={valueAccessor:function(e){return B()(e.value)?Vh()(e.value):e.value}};function rm(e){var t=e.data,r=e.valueAccessor,n=e.dataKey,i=e.clockWise,a=e.id,c=e.textBreakAll,u=em(e,["data","valueAccessor","dataKey","clockWise","id","textBreakAll"]);return t&&t.length?o.createElement(ze,{className:"recharts-label-list"},t.map((function(e,t){var s=Ie()(n)?r(e,t):Vp(e&&e.payload,n),l=Ie()(a)?{}:{id:"".concat(a,"-").concat(t)};return o.createElement(_a,Xh({},_e(e,!0),u,l,{parentViewBox:e.parentViewBox,index:t,value:s,textBreakAll:c,viewBox:_a.parseViewBox(Ie()(i)?e:$h($h({},e),{},{clockWise:i})),key:"label-".concat(t)}))}))):null}function nm(e,t){return e?!0===e?o.createElement(rm,{key:"labelList-implicit",data:t}):o.isValidElement(e)||me()(e)?o.createElement(rm,{key:"labelList-implicit",data:t,content:e}):ke()(e)?o.createElement(rm,Xh({data:t},e,{key:"labelList-implicit"})):null:null}function im(e){return(im="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 om(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function am(){return(am=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function cm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function um(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?cm(Object(r),!0).forEach((function(t){sm(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cm(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function sm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pm(e,t){return(pm=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function dm(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=mm(e);if(t){var i=mm(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return hm(this,r)}}function hm(e,t){return!t||"object"!==im(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 mm(e){return(mm=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}rm.displayName="LabelList",rm.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var n=e.children,i=Uo(n,rm.displayName).map((function(e,r){return(0,o.cloneElement)(e,{data:t,key:"labelList-".concat(r)})}));if(!r)return i;var a=nm(e.label,t);return[a].concat(Jh(i))},rm.defaultProps=tm;var vm=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&&pm(e,t)}(a,e);var t,r,n,i=dm(a);function a(){var e;lm(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).state={isAnimationFinished:!1},e.id=X("recharts-bar-"),e.handleAnimationEnd=function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),t&&t()},e.handleAnimationStart=function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),t&&t()},e}return t=a,n=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curData:e.data,prevData:t.curData}:e.data!==t.curData?{curData:e.data}:null}},{key:"renderRectangle",value:function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):o.createElement(Ao,t)}}],(r=[{key:"renderRectanglesStatically",value:function(e){var t=this,r=this.props.shape,n=_e(this.props);return e&&e.map((function(e,i){var c=um(um(um({},n),e),{},{index:i});return o.createElement(ze,am({className:"recharts-bar-rectangle"},Pe(t.props,e,i),{key:"rectangle-".concat(i)}),a.renderRectangle(r,c))}))}},{key:"renderRectanglesWithAnimation",value:function(){var e=this,t=this.props,r=t.data,n=t.layout,i=t.isAnimationActive,a=t.animationBegin,c=t.animationDuration,u=t.animationEasing,s=t.animationId,l=this.state.prevData;return o.createElement(sr,{begin:a,duration:c,isActive:i,easing:u,from:{t:0},to:{t:1},key:"bar-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(t){var i=t.t,a=r.map((function(e,t){var r=l&&l[t];if(r){var o=K(r.x,e.x),a=K(r.y,e.y),c=K(r.width,e.width),u=K(r.height,e.height);return um(um({},e),{},{x:o(i),y:a(i),width:c(i),height:u(i)})}if("horizontal"===n){var s=K(0,e.height)(i);return um(um({},e),{},{y:e.y+e.height-s,height:s})}var f=K(0,e.width)(i);return um(um({},e),{},{width:f})}));return o.createElement(ze,null,e.renderRectanglesStatically(a))}))}},{key:"renderRectangles",value:function(){var e=this.props,t=e.data,r=e.isAnimationActive,n=this.state.prevData;return!(r&&t&&t.length)||n&&nc()(n,t)?this.renderRectanglesStatically(t):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var e=this,t=this.props.data,r=_e(this.props.background);return t.map((function(t,n){t.value;var i=t.background,o=om(t,["value","background"]);if(!i)return null;var c=um(um(um(um(um({},o),{},{fill:"#eee"},i),r),Pe(e.props,t,n)),{},{index:n,key:"background-bar-".concat(n),className:"recharts-bar-background-rectangle"});return a.renderRectangle(e.props.background,c)}))}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var e=this.props,t=e.data,r=e.xAxis,n=e.yAxis,i=e.layout,a=e.children,c=Uo(a,qh.displayName);if(!c)return null;var u="vertical"===i?t[0].height/2:t[0].width/2;function s(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:Vp(e,t)}}return c.map((function(e,a){return o.cloneElement(e,{key:"error-bar-".concat(a),data:t,xAxis:r,yAxis:n,layout:i,offset:u,dataPointFormatter:s})}))}},{key:"render",value:function(){var e=this.props,t=e.hide,r=e.data,n=e.className,i=e.xAxis,a=e.yAxis,c=e.left,u=e.top,s=e.width,l=e.height,f=e.isAnimationActive,p=e.background,d=e.id;if(t||!r||!r.length)return null;var h=this.state.isAnimationFinished,m=N()("recharts-bar",n),v=i&&i.allowDataOverflow||a&&a.allowDataOverflow,y=Ie()(d)?this.id:d;return o.createElement(ze,{className:m},v?o.createElement("defs",null,o.createElement("clipPath",{id:"clipPath-".concat(y)},o.createElement("rect",{x:c,y:u,width:s,height:l}))):null,o.createElement(ze,{className:"recharts-bar-rectangles",clipPath:v?"url(#clipPath-".concat(y,")"):null},p?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(),(!f||h)&&rm.renderCallByParent(this.props,r))}}])&&fm(t.prototype,r),n&&fm(t,n),a}(o.PureComponent);vm.displayName="Bar",vm.defaultProps={xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",isAnimationActive:!Sr.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"},vm.getComposedData=function(e){var t=e.props,r=e.item,n=e.barPosition,i=e.bandSize,o=e.xAxis,a=e.yAxis,c=e.xAxisTicks,u=e.yAxisTicks,s=e.stackedData,l=e.dataStartIndex,f=e.displayedData,p=e.offset,d=function(e,t){if(!e)return null;for(var r=0,n=e.length;r<n;r++)if(e[r].item===t)return e[r].position;return null}(n,r);if(!d)return null;var h=t.layout,m=r.props,v=m.dataKey,y=m.children,g=m.minPointSize,b="horizontal"===h?a:o,w=s?b.scale.domain():null,x=function(e){var t=e.numericAxis,r=t.scale.domain();if("number"===t.type){var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return n<=0&&i>=0?0:i<0?i:n}return r[0]}({numericAxis:b}),E=Uo(y,Zh.displayName),I=f.map((function(e,t){var n,f,p,m,y,b;if(s?n=function(e,t){if(!t||2!==t.length||!V(t[0])||!V(t[1]))return e;var r=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!V(e[0])||e[0]<r)&&(i[0]=r),(!V(e[1])||e[1]>n)&&(i[1]=n),i[0]>n&&(i[0]=n),i[1]<r&&(i[1]=r),i}(s[l+t],w):(n=Vp(e,v),B()(n)||(n=[x,n])),"horizontal"===h){if(f=cd({axis:o,ticks:c,bandSize:i,offset:d.offset,entry:e,index:t}),p=a.scale(n[1]),m=d.size,y=a.scale(n[0])-a.scale(n[1]),b={x:f,y:a.y,width:m,height:a.height},Math.abs(g)>0&&Math.abs(y)<Math.abs(g)){var I=Z(y||g)*(Math.abs(g)-Math.abs(y));p-=I,y+=I}}else f=o.scale(n[0]),p=cd({axis:a,ticks:u,bandSize:i,offset:d.offset,entry:e,index:t}),m=o.scale(n[1])-o.scale(n[0]),y=d.size,b={x:o.x,y:p,width:o.width,height:y},Math.abs(g)>0&&Math.abs(m)<Math.abs(g)&&(m+=Z(m||g)*(Math.abs(g)-Math.abs(m)));return um(um(um({},e),{},{x:f,y:p,width:m,height:y,value:s?n:n[1],payload:e,background:b},E&&E[t]&&E[t].props),{},{tooltipPayload:[hd(r,e)],tooltipPosition:{x:f+m/2,y:p+y/2}})}));return um({data:I,layout:h},p)};var ym=function(){return null};ym.displayName="XAxis",ym.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",domain:[0,"auto"],padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0};var gm=function(){return null};gm.displayName="YAxis",gm.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",domain:[0,"auto"],padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1};var bm=function(e){var t,r,n=e.chartName,i=e.GraphicalChild,a=e.defaultTooltipEventType,c=void 0===a?"axis":a,u=e.validateTooltipEventTypes,s=void 0===u?["axis"]:u,l=e.axisComponents,f=e.legendContent,p=e.formatAxisMap,d=e.defaultProps,h=function(e,t){var r=t.graphicalItems,n=t.stackGroups,i=t.offset,a=t.updateId,c=t.dataStartIndex,u=t.dataEndIndex,s=e.barSize,f=e.layout,p=e.barGap,d=e.barCategoryGap,h=e.maxBarSize,m=Bh(f),v=m.numericAxisName,y=m.cateAxisName,g=function(e){return!(!e||!e.length)&&e.some((function(e){var t=Bo(e&&e.type);return t&&t.indexOf("Bar")>=0}))}(r)&&function(e){var t=e.barSize,r=e.stackGroups,n=void 0===r?{}:r;if(!n)return{};for(var i={},o=Object.keys(n),a=0,c=o.length;a<c;a++)for(var u=n[o[a]].stackGroups,s=Object.keys(u),l=0,f=s.length;l<f;l++){var p=u[s[l]],d=p.items,h=p.cateAxisId,m=d.filter((function(e){return Bo(e.type).indexOf("Bar")>=0}));if(m&&m.length){var v=m[0].props.barSize,y=m[0].props[h];i[y]||(i[y]=[]),i[y].push({item:m[0],stackList:m.slice(1),barSize:Ie()(v)?t:v})}}return i}({barSize:s,stackGroups:n}),b=[];return r.forEach((function(r,s){var m=_h(e.data,{dataStartIndex:c,dataEndIndex:u},r),w=r.props,x=w.dataKey,E=w.maxBarSize,I=r.props["".concat(v,"Id")],S=r.props["".concat(y,"Id")],M=l.reduce((function(e,n){var i,o=t["".concat(n.axisType,"Map")],a=r.props["".concat(n.axisType,"Id")],c=o&&o[a];return Mh(Mh({},e),{},(Oh(i={},n.axisType,c),Oh(i,"".concat(n.axisType,"Ticks"),td(c)),i))}),{}),O=M[y],k=M["".concat(y,"Ticks")],j=n&&n[I]&&n[I].hasStack&&function(e,t){var r=e.props.stackId;if(J(r)){var n=t[r];if(n&&n.items.length){for(var i=-1,o=0,a=n.items.length;o<a;o++)if(n.items[o]===e){i=o;break}return i>=0?n.stackedData[i]:null}}return null}(r,n[I].stackGroups),T=Bo(r.type).indexOf("Bar")>=0,D=pd(O,k),A=[];if(T){var _=pd(O,k,!0),N=Ie()(E)?h:E;A=function(e){var t=e.barGap,r=e.barCategoryGap,n=e.bandSize,i=e.sizeList,o=void 0===i?[]:i,a=e.maxBarSize,c=o.length;if(c<1)return null;var u,s=Q(t,n,0,!0);if(o[0].barSize===+o[0].barSize){var l=!1,f=n/c,p=o.reduce((function(e,t){return e+t.barSize||0}),0);(p+=(c-1)*s)>=n&&(p-=(c-1)*s,s=0),p>=n&&f>0&&(l=!0,p=c*(f*=.9));var d={offset:((n-p)/2>>0)-s,size:0};u=o.reduce((function(e,t){var r=[].concat(Gp(e),[{item:t.item,position:{offset:d.offset+d.size+s,size:l?f:t.barSize}}]);return d=r[r.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:d})})),r}),[])}else{var h=Q(r,n,0,!0);n-2*h-(c-1)*s<=0&&(s=0);var m=(n-2*h-(c-1)*s)/c;m>1&&(m>>=0);var v=a===+a?Math.min(m,a):m;u=o.reduce((function(e,t,r){var n=[].concat(Gp(e),[{item:t.item,position:{offset:h+(m+s)*r+(m-v)/2,size:v}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){n.push({item:e,position:n[n.length-1].position})})),n}),[])}return u}({barGap:p,barCategoryGap:d,bandSize:_!==D?_:D,sizeList:g[S],maxBarSize:N}),_!==D&&(A=A.map((function(e){return Mh(Mh({},e),{},{position:Mh(Mh({},e.position),{},{offset:e.position.offset-_/2})})})))}var P,C,L,R,B=r&&r.type&&r.type.getComposedData;B&&b.push({props:Mh(Mh({},B(Mh(Mh({},M),{},{displayedData:m,props:e,dataKey:x,item:r,bandSize:D,barPosition:A,offset:i,stackedData:j,layout:f,dataStartIndex:c,dataEndIndex:u}))),{},(P={key:r.key||"item-".concat(s)},Oh(P,v,M[v]),Oh(P,y,M[y]),Oh(P,"animationId",a),P)),childIndex:(C=r,L=e.children,R=-1,o.Children.forEach(L,(function(e,t){e===C&&(R=t)})),R),item:r})})),b},m=function(e,t){var r=e.props,o=e.dataStartIndex,a=e.dataEndIndex,c=e.updateId;if(!Ho({props:r}))return null;var u=r.children,s=r.layout,f=r.stackOffset,d=r.data,m=r.reverseStackOrder,v=Bh(s),y=v.numericAxisName,g=v.cateAxisName,b=Uo(u,i),w=function(e,t,r,n,i,o){if(!e)return null;var a=(o?t.reverse():t).reduce((function(e,t){var i=t.props,o=i.stackId;if(i.hide)return e;var a=t.props[r],c=e[a]||{hasStack:!1,stackGroups:{}};if(J(o)){var u=c.stackGroups[o]||{numericAxisId:r,cateAxisId:n,items:[]};u.items.push(t),c.hasStack=!0,c.stackGroups[o]=u}else c.stackGroups[X("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[t]};return Zp(Zp({},e),{},Fp({},a,c))}),{});return Object.keys(a).reduce((function(t,o){var c=a[o];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce((function(t,o){var a=c.stackGroups[o];return Zp(Zp({},t),{},Fp({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:od(e,a.items,i)}))}),{})),Zp(Zp({},t),{},Fp({},o,c))}),{})}(d,b,"".concat(y,"Id"),"".concat(g,"Id"),f,m),x=l.reduce((function(e,t){var n="".concat(t.axisType,"Map");return Mh(Mh({},e),{},Oh({},n,Lh(r,Mh(Mh({},t),{},{graphicalItems:b,stackGroups:t.axisType===y&&w,dataStartIndex:o,dataEndIndex:a}))))}),{}),E=Uh(Mh(Mh({},x),{},{props:r,graphicalItems:b}),null==t?void 0:t.legendBBox);Object.keys(x).forEach((function(e){x[e]=p(r,x[e],E,e.replace("Map",""),n)}));var I,S,M=x["".concat(g,"Map")],O=(I=$(M),{tooltipTicks:S=td(I,!1,!0),orderedTooltipTicks:be()(S,(function(e){return e.coordinate})),tooltipAxis:I,tooltipAxisBandSize:pd(I)}),k=h(r,Mh(Mh({},x),{},{dataStartIndex:o,dataEndIndex:a,updateId:c,graphicalItems:b,stackGroups:w,offset:E}));return Mh(Mh({formatedGraphicalItems:k,graphicalItems:b,offset:E,stackGroups:w},O),x)};return r=t=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&&vh(e,t)}(u,e);var t,r,i,a=yh(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=a.call(this,e)).uniqueChartId=void 0,t.clipPathId=void 0,t.legendInstance=void 0,t.deferId=void 0,t.container=void 0,t.clearDeferId=function(){!Ie()(t.deferId)&&Ah&&Ah(t.deferId),t.deferId=null},t.handleLegendBBoxUpdate=function(e){if(e&&t.legendInstance){var r=t.state,n=r.dataStartIndex,i=r.dataEndIndex,o=r.updateId;t.setState(Mh({legendBBox:e},m({props:t.props,dataStartIndex:n,dataEndIndex:i,updateId:o},Mh(Mh({},t.state),{},{legendBBox:e}))))}},t.handleReceiveSyncEvent=function(e,r,n){t.props.syncId===e&&r!==t.uniqueChartId&&(t.clearDeferId(),t.deferId=Dh&&Dh(t.applySyncEvent.bind(bh(t),n)))},t.handleBrushChange=function(e){var r=e.startIndex,n=e.endIndex;if(r!==t.state.dataStartIndex||n!==t.state.dataEndIndex){var i=t.state.updateId;t.setState((function(){return Mh({dataStartIndex:r,dataEndIndex:n},m({props:t.props,dataStartIndex:r,dataEndIndex:n,updateId:i},t.state))})),t.triggerSyncEvent({dataStartIndex:r,dataEndIndex:n})}},t.handleMouseEnter=function(e){var r=t.props.onMouseEnter,n=t.getMouseInfo(e);if(n){var i=Mh(Mh({},n),{},{isTooltipActive:!0});t.setState(i),t.triggerSyncEvent(i),me()(r)&&r(i,e)}},t.triggeredAfterMouseMove=function(e){var r=t.props.onMouseMove,n=t.getMouseInfo(e),i=n?Mh(Mh({},n),{},{isTooltipActive:!0}):{isTooltipActive:!1};t.setState(i),t.triggerSyncEvent(i),me()(r)&&r(i,e)},t.handleItemMouseEnter=function(e){t.setState((function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}}))},t.handleItemMouseLeave=function(){t.setState((function(){return{isTooltipActive:!1}}))},t.handleMouseMove=function(e){e&&me()(e.persist)&&e.persist(),t.triggeredAfterMouseMove(e)},t.handleMouseLeave=function(e){var r=t.props.onMouseLeave,n={isTooltipActive:!1};t.setState(n),t.triggerSyncEvent(n),me()(r)&&r(n,e),t.cancelThrottledTriggerAfterMouseMove()},t.handleOuterEvent=function(e){var r=function(e){var t=e&&e.type;return t&&Ro[t]?Ro[t]:null}(e),n=L()(t.props,"".concat(r));r&&me()(n)&&n(/.*touch.*/i.test(r)?t.getMouseInfo(e.changedTouches[0]):t.getMouseInfo(e),e)},t.handleClick=function(e){var r=t.props.onClick,n=t.getMouseInfo(e);if(n){var i=Mh(Mh({},n),{},{isTooltipActive:!0});t.setState(i),t.triggerSyncEvent(i),me()(r)&&r(i,e)}},t.handleMouseDown=function(e){var r=t.props.onMouseDown;me()(r)&&r(t.getMouseInfo(e),e)},t.handleMouseUp=function(e){var r=t.props.onMouseUp;me()(r)&&r(t.getMouseInfo(e),e)},t.handleTouchMove=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleMouseMove(e.changedTouches[0])},t.handleTouchStart=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleMouseDown(e.changedTouches[0])},t.handleTouchEnd=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleMouseUp(e.changedTouches[0])},t.verticalCoordinatesGenerator=function(e){var t=e.xAxis,r=e.width,n=e.height,i=e.offset;return ed(Va.getTicks(Mh(Mh(Mh({},Va.defaultProps),t),{},{ticks:td(t,!0),viewBox:{x:0,y:0,width:r,height:n}})),i.left,i.left+i.width)},t.horizontalCoordinatesGenerator=function(e){var t=e.yAxis,r=e.width,n=e.height,i=e.offset;return ed(Va.getTicks(Mh(Mh(Mh({},Va.defaultProps),t),{},{ticks:td(t,!0),viewBox:{x:0,y:0,width:r,height:n}})),i.top,i.top+i.height)},t.axesTicksGenerator=function(e){return td(e,!0)},t.renderCursor=function(e){var r=t.state,i=r.isTooltipActive,a=r.activeCoordinate,c=r.activePayload,u=r.offset,s=r.activeTooltipIndex,l=t.getTooltipEventType();if(!(e&&e.props.cursor&&i&&a&&"axis"===l))return null;var f,p=t.props.layout,d=Ci;if("ScatterChart"===n)f=a,d=qi;else if("BarChart"===n)f=t.getCursorRectangle(),d=Ao;else if("radial"===p){var h=t.getCursorPoints(),m=h.cx,v=h.cy,y=h.radius;f={cx:m,cy:v,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:y,outerRadius:y},d=lo}else f={points:t.getCursorPoints()},d=Ci;var g=e.key||"_recharts-cursor",b=Mh(Mh(Mh(Mh({stroke:"#ccc",pointerEvents:"none"},u),f),_e(e.props.cursor)),{},{payload:c,payloadIndex:s,key:g,className:"recharts-tooltip-cursor"});return(0,o.isValidElement)(e.props.cursor)?(0,o.cloneElement)(e.props.cursor,b):(0,o.createElement)(d,b)},t.renderPolarAxis=function(e,r,n){var i=L()(e,"type.axisType"),a=L()(t.state,"".concat(i,"Map"))[e.props["".concat(i,"Id")]];return(0,o.cloneElement)(e,Mh(Mh({},a),{},{className:i,key:e.key||"".concat(r,"-").concat(n),ticks:td(a,!0)}))},t.renderXAxis=function(e,r,n){var i=t.state.xAxisMap[e.props.xAxisId];return t.renderAxis(i,e,r,n)},t.renderYAxis=function(e,r,n){var i=t.state.yAxisMap[e.props.yAxisId];return t.renderAxis(i,e,r,n)},t.renderGrid=function(e){var r=t.state,n=r.xAxisMap,i=r.yAxisMap,a=r.offset,c=t.props,u=c.width,s=c.height,l=$(n),f=de()(i,(function(e){return fe()(e.domain,Th)}))||$(i),p=e.props||{};return(0,o.cloneElement)(e,{key:e.key||"grid",x:V(p.x)?p.x:a.left,y:V(p.y)?p.y:a.top,width:V(p.width)?p.width:a.width,height:V(p.height)?p.height:a.height,xAxis:l,yAxis:f,offset:a,chartWidth:u,chartHeight:s,verticalCoordinatesGenerator:p.verticalCoordinatesGenerator||t.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:p.horizontalCoordinatesGenerator||t.horizontalCoordinatesGenerator})},t.renderPolarGrid=function(e){var r=e.props,n=r.radialLines,i=r.polarAngles,a=r.polarRadius,c=t.state,u=c.radiusAxisMap,s=c.angleAxisMap,l=$(u),f=$(s),p=f.cx,d=f.cy,h=f.innerRadius,m=f.outerRadius;e.props;return(0,o.cloneElement)(e,{polarAngles:B()(i)?i:td(f,!0).map((function(e){return e.coordinate})),polarRadius:B()(a)?a:td(l,!0).map((function(e){return e.coordinate})),cx:p,cy:d,innerRadius:h,outerRadius:m,key:e.key||"polar-grid",radialLines:n})},t.renderLegend=function(){var e=t.state.formatedGraphicalItems,r=t.props,n=r.children,i=r.width,a=r.height,c=t.props.margin||{},u=i-(c.left||0)-(c.right||0),s=Xp({children:n,formatedGraphicalItems:e,legendWidth:u,legendContent:f});if(!s)return null;var l=s.item,p=hh(s,["item"]);return(0,o.cloneElement)(l,Mh(Mh({},p),{},{chartWidth:i,chartHeight:a,margin:c,ref:function(e){t.legendInstance=e},onBBoxUpdate:t.handleLegendBBoxUpdate}))},t.renderTooltip=function(){var e=t.props.children,r=zo(e,Rr.displayName);if(!r)return null;var n=t.state,i=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,u=n.activeLabel,s=n.offset;return(0,o.cloneElement)(r,{viewBox:Mh(Mh({},s),{},{x:s.left,y:s.top}),active:i,label:u,payload:i?c:[],coordinate:a})},t.renderBrush=function(e){var r=t.props,n=r.margin,i=r.data,a=t.state,c=a.offset,u=a.dataStartIndex,s=a.dataEndIndex,l=a.updateId;return(0,o.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:rd(t.handleBrushChange,null,e.props.onChange),data:i,x:V(e.props.x)?e.props.x:c.left,y:V(e.props.y)?e.props.y:c.top+c.height+c.brushBottom-(n.bottom||0),width:V(e.props.width)?e.props.width:c.width,startIndex:u,endIndex:s,updateId:"brush-".concat(l)})},t.renderReferenceElement=function(e,r,n){if(!e)return null;var i=bh(t).clipPathId,a=t.state,c=a.xAxisMap,u=a.yAxisMap,s=a.offset,l=e.props,f=l.xAxisId,p=l.yAxisId;return(0,o.cloneElement)(e,{key:e.key||"".concat(r,"-").concat(n),xAxis:c[f],yAxis:u[p],viewBox:{x:s.left,y:s.top,width:s.width,height:s.height},clipPathId:i})},t.renderActivePoints=function(e){var t=e.item,r=e.activePoint,n=e.basePoint,i=e.childIndex,o=e.isRange,a=[],c=t.props.key,s=t.item.props,l=s.activeDot,f=Mh(Mh({index:i,dataKey:s.dataKey,cx:r.x,cy:r.y,r:4,fill:Yp(t.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value,key:"".concat(c,"-activePoint-").concat(i)},_e(l)),Ne(l));return a.push(u.renderActiveDot(l,f)),n?a.push(u.renderActiveDot(l,Mh(Mh({},f),{},{cx:n.x,cy:n.y,key:"".concat(c,"-basePoint-").concat(i)}))):o&&a.push(null),a},t.renderGraphicChild=function(e,r,n){var i=t.filterFormatItem(e,r,n);if(!i)return null;var a=t.getTooltipEventType(),c=t.state,u=c.isTooltipActive,s=c.tooltipAxis,l=c.activeTooltipIndex,f=c.activeLabel,p=t.props.children,d=zo(p,Rr.displayName),h=i.props,m=h.points,v=h.isRange,y=h.baseLine,g=i.item.props,b=g.activeDot,w=!g.hide&&u&&d&&b&&l>=0,x={};"axis"!==a&&d&&"click"===d.props.trigger?x={onClick:rd(t.handleItemMouseEnter,null,e.props.onCLick)}:"axis"!==a&&(x={onMouseLeave:rd(t.handleItemMouseLeave,null,e.props.onMouseLeave),onMouseEnter:rd(t.handleItemMouseEnter,null,e.props.onMouseEnter)});var E=(0,o.cloneElement)(e,Mh(Mh({},i.props),x));if(w){var I,S;if(s.dataKey&&!s.allowDuplicatedCategory){var M="function"==typeof s.dataKey?function(e){return"function"==typeof s.dataKey?s.dataKey(e.payload):null}:"payload.".concat(s.dataKey.toString());I=ee(m,M,f),S=v&&y&&ee(y,M,f)}else I=m[l],S=v&&y&&y[l];if(!Ie()(I))return[E].concat(xh(t.renderActivePoints({item:i,activePoint:I,basePoint:S,childIndex:l,isRange:v})))}return v?[E,null,null]:[E,null]},t.renderCustomized=function(e){return(0,o.cloneElement)(e,Mh(Mh({},t.props),t.state))},t.uniqueChartId=Ie()(e.id)?X("recharts"):e.id,t.clipPathId="".concat(t.uniqueChartId,"-clip"),e.throttleDelay&&(t.triggeredAfterMouseMove=ye()(t.triggeredAfterMouseMove,e.throttleDelay)),t.state={},t}return t=u,(r=[{key:"componentDidMount",value:function(){Ie()(this.props.syncId)||this.addListener()}},{key:"componentDidUpdate",value:function(e){Ie()(e.syncId)&&!Ie()(this.props.syncId)&&this.addListener(),!Ie()(e.syncId)&&Ie()(this.props.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){this.clearDeferId(),Ie()(this.props.syncId)||this.removeListener(),this.cancelThrottledTriggerAfterMouseMove()}},{key:"cancelThrottledTriggerAfterMouseMove",value:function(){"function"==typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=zo(this.props.children,Rr.displayName);if(e&&Me()(e.props.shared)){var t=e.props.shared?"axis":"item";return s.indexOf(t)>=0?t:c}return c}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t,r,n,i=function(e,t){return{chartX:Math.round(e.pageX-t.left),chartY:Math.round(e.pageY-t.top)}}(e,(t=this.container,r=t.ownerDocument.documentElement,n={top:0,left:0},void 0!==t.getBoundingClientRect&&(n=t.getBoundingClientRect()),{top:n.top+window.pageYOffset-r.clientTop,left:n.left+window.pageXOffset-r.clientLeft})),o=this.inRange(i.chartX,i.chartY);if(!o)return null;var a=this.state,c=a.xAxisMap,u=a.yAxisMap;if("axis"!==this.getTooltipEventType()&&c&&u){var s=$(c).scale,l=$(u).scale,f=s&&s.invert?s.invert(i.chartX):null,p=l&&l.invert?l.invert(i.chartY):null;return Mh(Mh({},i),{},{xValue:f,yValue:p})}var d=Ph(this.state,this.props.data,this.props.layout,o);return d?Mh(Mh({},i),d):null}},{key:"getCursorRectangle",value:function(){var e=this.props.layout,t=this.state,r=t.activeCoordinate,n=t.offset,i=t.tooltipAxisBandSize,o=i/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?r.x-o:n.left+.5,y:"horizontal"===e?n.top+.5:r.y-o,width:"horizontal"===e?i:n.width-1,height:"horizontal"===e?n.height-1:i}}},{key:"getCursorPoints",value:function(){var e,t,r,n,i=this.props.layout,o=this.state,a=o.activeCoordinate,c=o.offset;if("horizontal"===i)r=e=a.x,t=c.top,n=c.top+c.height;else if("vertical"===i)n=t=a.y,e=c.left,r=c.left+c.width;else if(!Ie()(a.cx)||!Ie()(a.cy)){if("centric"!==i){var u=a.cx,s=a.cy,l=a.radius,f=a.startAngle,p=a.endAngle;return{points:[Xi(u,s,l,f),Xi(u,s,l,p)],cx:u,cy:s,radius:l,startAngle:f,endAngle:p}}var d=a.cx,h=a.cy,m=a.innerRadius,v=a.outerRadius,y=a.angle,g=Xi(d,h,m,y),b=Xi(d,h,v,y);e=g.x,t=g.y,r=b.x,n=b.y}return[{x:e,y:t},{x:r,y:n}]}},{key:"inRange",value:function(e,t){var r=this.props.layout;if("horizontal"===r||"vertical"===r){var n=this.state.offset;return e>=n.left&&e<=n.left+n.width&&t>=n.top&&t<=n.top+n.height?{x:e,y:t}:null}var i=this.state,o=i.angleAxisMap,a=i.radiusAxisMap;if(o&&a){var c=$(o);return Ki({x:e,y:t},c)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),r=zo(e,Rr.displayName),n={};return r&&"axis"===t&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),Mh(Mh({},Ne(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){sh.on(lh,this.handleReceiveSyncEvent),sh.setMaxListeners&&sh._maxListeners&&sh.setMaxListeners(sh._maxListeners+1)}},{key:"removeListener",value:function(){sh.removeListener(lh,this.handleReceiveSyncEvent),sh.setMaxListeners&&sh._maxListeners&&sh.setMaxListeners(sh._maxListeners-1)}},{key:"triggerSyncEvent",value:function(e){var t=this.props.syncId;Ie()(t)||sh.emit(lh,t,this.uniqueChartId,e)}},{key:"applySyncEvent",value:function(e){var t=this.props,r=t.layout,n=t.syncMethod,i=this.state.updateId,o=e.dataStartIndex,a=e.dataEndIndex;if(Ie()(e.dataStartIndex)&&Ie()(e.dataEndIndex))if(Ie()(e.activeTooltipIndex))this.setState(e);else{var c=e.chartX,u=e.chartY,s=e.activeTooltipIndex,l=this.state,f=l.offset,p=l.tooltipTicks;if(!f)return;if("function"==typeof n)s=n(p,e);else if("value"===n){s=-1;for(var d=0;d<p.length;d++)if(p[d].value===e.activeLabel){s=d;break}}var h=Mh(Mh({},f),{},{x:f.left,y:f.top}),v=Math.min(c,h.x+h.width),y=Math.min(u,h.y+h.height),g=p[s]&&p[s].value,b=Nh(this.state,this.props.data,s),w=p[s]?{x:"horizontal"===r?p[s].coordinate:v,y:"horizontal"===r?y:p[s].coordinate}:jh;this.setState(Mh(Mh({},e),{},{activeLabel:g,activeCoordinate:w,activePayload:b,activeTooltipIndex:s}))}else this.setState(Mh({dataStartIndex:o,dataEndIndex:a},m({props:this.props,dataStartIndex:o,dataEndIndex:a,updateId:i},this.state)))}},{key:"filterFormatItem",value:function(e,t,r){for(var n=this.state.formatedGraphicalItems,i=0,o=n.length;i<o;i++){var a=n[i];if(a.item===e||a.props.key===e.key||t===Bo(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderAxis",value:function(e,t,r,n){var i=this.props,a=i.width,c=i.height;return o.createElement(Va,dh({},e,{className:"recharts-".concat(e.axisType," ").concat(e.axisType),key:t.key||"".concat(r,"-").concat(n),viewBox:{x:0,y:0,width:a,height:c},ticksGenerator:this.axesTicksGenerator}))}},{key:"renderClipPath",value:function(){var e=this.clipPathId,t=this.state.offset,r=t.left,n=t.top,i=t.height,a=t.width;return o.createElement("defs",null,o.createElement("clipPath",{id:e},o.createElement("rect",{x:r,y:n,height:i,width:a})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce((function(e,t){var r=ph(t,2),n=r[0],i=r[1];return Mh(Mh({},e),{},Oh({},n,i.scale))}),{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce((function(e,t){var r=ph(t,2),n=r[0],i=r[1];return Mh(Mh({},e),{},Oh({},n,i.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(e){var t,r;return null===(t=this.state.xAxisMap)||void 0===t||null===(r=t[e])||void 0===r?void 0:r.scale}},{key:"getYScaleByAxisId",value:function(e){var t,r;return null===(t=this.state.yAxisMap)||void 0===t||null===(r=t[e])||void 0===r?void 0:r.scale}},{key:"getItemByXY",value:function(e){var t=this.state.formatedGraphicalItems;if(t&&t.length)for(var r=0,n=t.length;r<n;r++){var i=t[r],o=i.props,a=i.item,c=Bo(a.type);if("Bar"===c){var u=(o.data||[]).find((function(t){return Do(e,t)}));if(u)return{graphicalItem:i,payload:u}}else if("RadialBar"===c){var s=(o.data||[]).find((function(t){return Ki(e,t)}));if(s)return{graphicalItem:i,payload:s}}}return null}},{key:"render",value:function(){var e=this;if(!Ho(this))return null;var t=this.props,r=t.children,n=t.className,i=t.width,a=t.height,c=t.style,u=t.compact,s=hh(t,["children","className","width","height","style","compact"]),l=_e(s),f={CartesianGrid:{handler:this.renderGrid,once:!0},ReferenceArea:{handler:this.renderReferenceElement},ReferenceLine:{handler:this.renderReferenceElement},ReferenceDot:{handler:this.renderReferenceElement},XAxis:{handler:this.renderXAxis},YAxis:{handler:this.renderYAxis},Brush:{handler:this.renderBrush,once:!0},Bar:{handler:this.renderGraphicChild},Line:{handler:this.renderGraphicChild},Area:{handler:this.renderGraphicChild},Radar:{handler:this.renderGraphicChild},RadialBar:{handler:this.renderGraphicChild},Scatter:{handler:this.renderGraphicChild},Pie:{handler:this.renderGraphicChild},Funnel:{handler:this.renderGraphicChild},Tooltip:{handler:this.renderCursor,once:!0},PolarGrid:{handler:this.renderPolarGrid,once:!0},PolarAngleAxis:{handler:this.renderPolarAxis},PolarRadiusAxis:{handler:this.renderPolarAxis},Customized:{handler:this.renderCustomized}};if(u)return o.createElement(Re,dh({},l,{width:i,height:a}),this.renderClipPath(),Fo(r,f));var p=this.parseEventsOfWrapper();return o.createElement("div",dh({className:N()("recharts-wrapper",n),style:Mh({position:"relative",cursor:"default",width:i,height:a},c)},p,{ref:function(t){e.container=t}}),o.createElement(Re,dh({},l,{width:i,height:a}),this.renderClipPath(),Fo(r,f)),this.renderLegend(),this.renderTooltip())}}])&&mh(t.prototype,r),i&&mh(t,i),u}(o.Component),t.displayName=n,t.defaultProps=Mh({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},d),t.getDerivedStateFromProps=function(e,t){var r=e.data,n=e.children,i=e.width,o=e.height,a=e.layout,c=e.stackOffset,u=e.margin;if(Ie()(t.updateId)){var s=Rh(e);return Mh(Mh(Mh({},s),{},{updateId:0},m(Mh(Mh({props:e},s),{},{updateId:0}),t)),{},{prevData:r,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:c,prevMargin:u,prevChildren:n})}if(r!==t.prevData||i!==t.prevWidth||o!==t.prevHeight||a!==t.prevLayout||c!==t.prevStackOffset||!Co(u,t.prevMargin)){var l=Rh(e),f={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},p=Mh(Mh({},Ph(t,r,a)),{},{updateId:t.updateId+1}),d=Mh(Mh(Mh({},l),f),p);return Mh(Mh(Mh({},d),m(Mh({props:e},d),t)),{},{prevData:r,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:c,prevMargin:u,prevChildren:n})}if(!qo(n,t.prevChildren)){var h=!Ie()(r)?t.updateId:t.updateId+1;return Mh(Mh({updateId:h},m(Mh(Mh({props:e},t),{},{updateId:h}),t)),{},{prevChildren:n})}return null},t.renderActiveDot=function(e,t){var r;return r=(0,o.isValidElement)(e)?(0,o.cloneElement)(e,t):me()(e)?e(t):o.createElement(wo,t),o.createElement(ze,{className:"recharts-active-dot",key:t.key},r)},r}({chartName:"BarChart",GraphicalChild:vm,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:ym},{axisType:"yAxis",AxisComp:gm}],formatAxisMap:function(e,t,r,i,o){var a=e.width,c=e.height,u=e.layout,s=e.children,l=Object.keys(t),f={left:r.left,leftMirror:r.left,right:a-r.right,rightMirror:a-r.right,top:r.top,topMirror:r.top,bottom:c-r.bottom,bottomMirror:c-r.bottom},p=!!zo(s,"Bar");return l.reduce((function(e,a){var c,s,l,d,h=t[a],m=h.orientation,v=h.domain,y=h.padding,g=void 0===y?{}:y,b=h.mirror,w=h.reversed,x="".concat(m).concat(b?"Mirror":"");c="xAxis"===i?[r.left+(g.left||0),r.left+r.width-(g.right||0)]:"yAxis"===i?"horizontal"===u?[r.top+r.height-(g.bottom||0),r.top+(g.top||0)]:[r.top+(g.top||0),r.top+r.height-(g.bottom||0)]:h.range,w&&(c=[c[1],c[0]]);var E=function(e,t,r){var i=e.scale,o=e.type,a=e.layout,c=e.axisType;if("auto"===i)return"radial"===a&&"radiusAxis"===c?{scale:Ka(),realScaleType:"band"}:"radial"===a&&"angleAxis"===c?{scale:hs(),realScaleType:"linear"}:"category"===o&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>=0||t.indexOf("ComposedChart")>=0&&!r)?{scale:tc(),realScaleType:"point"}:"category"===o?{scale:Ka(),realScaleType:"band"}:{scale:hs(),realScaleType:"linear"};if(q()(i)){var u="scale".concat(Ur()(i));return{scale:(n[u]||tc)(),realScaleType:n[u]?u:"point"}}return me()(i)?{scale:i}:{scale:tc(),realScaleType:"point"}}(h,o,p),I=E.scale,S=E.realScaleType;I.domain(v).range(c),function(e){var t=e.domain();if(t&&!(t.length<=2)){var r=t.length,n=e.range(),i=Math.min(n[0],n[1])-nd,o=Math.max(n[0],n[1])+nd,a=e(t[0]),c=e(t[r-1]);(a<i||a>o||c<i||c>o)&&e.domain([t[0],t[r-1]])}}(I);var M=ad(I,Rd(Rd({},h),{},{realScaleType:S}));"xAxis"===i?(d="top"===m&&!b||"bottom"===m&&b,s=r.left,l=f[x]-d*h.height):"yAxis"===i&&(d="left"===m&&!b||"right"===m&&b,s=f[x]-d*h.width,l=r.top);var O=Rd(Rd(Rd({},h),M),{},{realScaleType:S,x:s,y:l,scale:I,width:"xAxis"===i?r.width:h.width,height:"yAxis"===i?r.height:h.height});return O.bandSize=pd(O,M),h.hide||"xAxis"!==i?h.hide||(f[x]+=(d?-1:1)*O.width):f[x]+=(d?-1:1)*O.height,Rd(Rd({},e),{},Bd({},a,O))}),{})}}),wm=e=>o.createElement("div",{className:"wprm-admin-dashboard-block-chart-days-container"},o.createElement("div",{className:"wprm-admin-dashboard-block-chart-title"},"📊 ".concat((0,y.S)("Daily Interaction"))),o.createElement(se,{width:"100%",height:300},o.createElement(bm,{data:e.data},o.createElement(ym,{dataKey:"date"}),o.createElement(gm,{type:"number",domain:[0,"dataMax"],allowDecimals:!1}),o.createElement(Rr,null),o.createElement(vm,{dataKey:"total",name:(0,y.S)("Interactions"),fill:"#2271b1"})))),xm=e=>0===e.data.length?null:o.createElement("div",{className:"wprm-admin-dashboard-block-chart-table-container"},o.createElement("div",{className:"wprm-admin-dashboard-block-chart-title"},e.title),o.createElement("table",{className:"wprm-admin-dashboard-block-chart-table"},o.createElement("thead",null,o.createElement("tr",null,o.createElement("th",null,e.label),o.createElement("th",null,(0,y.S)("Total")),o.createElement("th",null,(0,y.S)("Unique")))),o.createElement("tbody",null,e.data.map(((e,t)=>o.createElement("tr",{key:t},o.createElement("td",null,e.name),o.createElement("td",null,e.total),o.createElement("td",null,e.unique)))))));class Em extends o.Component{constructor(e){super(e),this.state={loading:!0,data:!1}}componentDidMount(){this.checkForUpdate()}checkForUpdate(){this.setState({loading:!0},(()=>{v.Z.dashboard.getAnalytics().then((e=>{var t=!1;e&&(t=e.data),this.setState({loading:!1,data:t})}))}))}render(){var{data:e}=this.state;return o.createElement(o.Fragment,null,this.state.loading?o.createElement(T.Z,null):o.createElement(o.Fragment,null,0===e.total?o.createElement("span",null,(0,y.S)("No actions found for the last 7 days. If you just enabled analytics they should start showing up soon.")):o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-dashboard-block-chart"},o.createElement(wm,{data:e.per_day})),o.createElement("div",{className:"wprm-admin-dashboard-block-chart"},o.createElement(xm,{title:"🏆 ".concat((0,y.S)("Top Recipe Interactions (last 7 days)")),label:(0,y.S)("Recipe"),data:e.per_recipe})),o.createElement("div",{className:"wprm-admin-dashboard-block-chart"},o.createElement(xm,{title:"👍 ".concat((0,y.S)("Interactions (last 7 days)")),label:(0,y.S)("Type"),data:e.per_type})))))}}class Im extends o.Component{constructor(e){super(e),this.state={analyticsEnabled:wprm_admin_dashboard.settings.analytics_enabled}}render(){return o.createElement(g,{title:(0,y.S)("Analytics")},this.state.analyticsEnabled?o.createElement(o.Fragment,null,o.createElement(Em,null),wprm_admin_dashboard.settings.honey_home_integration?o.createElement(M,{title:(0,y.S)("Learn more")},"Go to your ",o.createElement("a",{href:"https://dailygrub.com/dashboard",target:"_blank"},"DailyGrub Dashboard")," for more insights!"):o.createElement(M,{title:"📈 ".concat((0,y.S)("Interested in more data?"))},"WP Recipe Maker partners with ",o.createElement("a",{href:"https://dailygrub.com",target:"_blank"},"DailyGrub")," to offer a full suite of recipe-specific analytics!")):o.createElement(j,{onEnable:()=>{v.Z.settings.save({analytics_enabled:!0}),this.setState({analyticsEnabled:!0})}}))}}var Sm=r(47750);class Mm extends o.Component{constructor(e){super(e),this.state={rating:0}}render(){return o.createElement(g,{title:(0,y.S)("Feedback")},o.createElement("div",{className:"wprm-admin-dashboard-feedback-container"},0===this.state.rating&&o.createElement(o.Fragment,null,o.createElement("label",null,(0,y.S)("How would you rate WP Recipe Maker?")),o.createElement("div",null,o.createElement(Sm.Z,{rating:this.state.rating,starDimension:"25px",starSpacing:"0",starHoverColor:"#2271b1",changeRating:e=>{this.setState({rating:e},(()=>{v.Z.utilities.giveFeedback(e)}))},numberOfStars:5,name:"feedback"}))),0<this.state.rating&&3>=this.state.rating&&o.createElement(o.Fragment,null,o.createElement("p",null,"Sorry to hear you don't seem to be enjoying WP Recipe Maker as much as we want you to. It would be great if you could provide us with any feedback at all."),o.createElement("p",null,"Email ",o.createElement("a",{href:"mailto:support@bootstrapped.ventures",target:"_blank"},"support@bootstrapped.ventures")," with any problems, frustrations or suggestions and we'll be happy to help you out! We improve the plugin weekly based on customer feedback, so your thoughts can really make a difference."),o.createElement("a",{className:"button button-primary",href:"mailto:support@bootstrapped.ventures",target:"_blank"},"Contact us now!")),4==this.state.rating&&o.createElement(o.Fragment,null,o.createElement("p",null,"Happy to hear that you do seem to be enjoying WP Recipe Maker! We are aiming to be a 5-star plugin though, so it would be amazing if you could give us any feedback at all on how we can get there for you."),o.createElement("p",null,"Email ",o.createElement("a",{href:"mailto:support@bootstrapped.ventures",target:"_blank"},"support@bootstrapped.ventures")," with any problems, frustrations or suggestions and we'll be happy to help you out! We improve the plugin weekly based on customer feedback, so your thoughts can really make a difference."),o.createElement("a",{className:"button button-primary",href:"mailto:support@bootstrapped.ventures",target:"_blank"},"Contact us now!")),5==this.state.rating&&o.createElement(o.Fragment,null,o.createElement("p",null,"Very happy to hear you're enjoying WP Recipe Maker!"),o.createElement("p",null,"It would be amazing if you could help spread the word and leave an honest ",o.createElement("a",{href:"https://wordpress.org/support/plugin/wp-recipe-maker/reviews/#new-post",target:"_blank"},"review over at wordpress.org")," for our plugin. This really helps with getting new users, which leads to more customers and more time we can spend improving WPRM."),o.createElement("a",{className:"button button-primary",href:"https://wordpress.org/support/plugin/wp-recipe-maker/reviews/#new-post",target:"_blank"},"Leave a review!"),o.createElement("p",null,"Already left a review? Thanks a lot for taking the time! If you have any further feedback at all, feel free to contact us at ",o.createElement("a",{href:"mailto:support@bootstrapped.ventures",target:"_blank"},"support@bootstrapped.ventures"),". We improve the plugin weekly based on customer feedback, so your thoughts can really make a difference."))))}}r(19985);class Om extends o.Component{constructor(e){super(e),this.state={open:!1}}render(){return o.createElement("div",{className:"wprm-admin-dashboard-health-check-item"},o.createElement("div",{className:"wprm-admin-dashboard-health-check-header",onClick:()=>{this.setState({open:!this.state.open})}},this.props.header),this.state.open&&o.createElement("div",{className:"wprm-admin-dashboard-health-check-content"},this.props.children))}}var km=e=>o.createElement(o.Fragment,null,e.item.includes("litespeed-cache")&&o.createElement(Om,{header:"🔌 LiteSpeed Cache might be breaking recipe saving"},o.createElement("p",null,'There have been issues with LiteSpeed Cache breaking the recipe saving if the "Cache REST API" setting is enabled on the ',o.createElement("em",null,"LiteSpeed Cache > Cache")," page."),o.createElement("p",null,'We recommend setting that setting to "Off".'))),jm=e=>{var t=e.item;return t.length?o.createElement(Om,{header:"✍️ Duplicate recipe names: ".concat(t.length)},o.createElement("p",null,"These recipe names are used in more than 1 recipe and might be duplicates. Click to find them on the manage page:"),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list"},t.map(((e,t)=>o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item",key:t},o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item-main"},o.createElement("a",{href:"".concat(wprm_admin.manage_url,"#recipe/name=").concat(encodeURIComponent(e.name))},e.name)),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item-side"},e.recipes.length," recipes")))))):null},Tm=e=>{var t=e.item;return t&&Object.keys(t).length?o.createElement(Om,{header:"📸 Missing recipe thumbnails: ".concat(Object.keys(t).length)},o.createElement("p",null,"Google expects to see 3 different ratios for the recipe image in the recipe metadata. WP Recipe Maker automatically generates those ratios for the recipe images, but some of them seem to be missing. This can happen if you converted those recipes from another plugin, for example."),o.createElement("p",null,"Try using a plugin like ",o.createElement("a",{href:"https://wordpress.org/plugins/regenerate-thumbnails/",target:"_blank"},"Regenerate Thumbnails")," to make sure all thumbnail sizes exist."),o.createElement("p",null,"If that doesn't fix things, the problem could also be that the original recipe image is too small. A recipe image should be at least 500 by 500 pixels to be able to generate all thumbnail sizes."),o.createElement("p",null,"Click through to find the problem recipes on the Manage page:"),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list"},Object.keys(t).map(((e,r)=>{var n=t[e]?t[e]:"n/a";return o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item",key:r},o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item-main"},o.createElement("a",{href:"".concat(wprm_admin.manage_url,"#recipe/id=").concat(encodeURIComponent(e))},n)))})))):null},Dm=r(2778),Am=r.n(Dm),_m={compatibility:km,duplicate_names:jm,missing_thumbnails:Tm,multiple_parents:e=>{var t=e.item;return Object.keys(t).length?o.createElement(Om,{header:"📑 Recipes used in multiple places: ".concat(Object.keys(t).length)},o.createElement("p",null,"These recipes have been added to more than 1 post or page. A recipe should generally only exist in 1 parent post. References should be made using the ",o.createElement("a",{href:"https://help.bootstrapped.ventures/article/182-itemlist-metadata-for-recipe-roundup-posts",target:"_blank"},"Recipe Roundup feature")," instead. Click on a post to edit it:"),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list"},Object.keys(t).map(((e,r)=>{var n=t[e];return o.createElement("div",{className:"wprm-admin-dashboard-health-check-multiple-parents",key:r},o.createElement("div",{className:"wprm-admin-dashboard-health-check-multiple-parents-recipe"},e," - ",n.name),o.createElement("div",{className:"wprm-admin-dashboard-health-check-multiple-parents-posts"},n.posts.map(((e,t)=>{var r="".concat(e.id," - ").concat(e.name?e.name:"n/a");return o.createElement("div",{className:"wprm-admin-dashboard-health-check-multiple-parents-post",key:t},e.edit_url?o.createElement(o.Fragment,null,o.createElement("a",{href:Am().decode(e.edit_url)},r),parseInt(n.parent_post_id)===parseInt(e.id)&&" (parent post)"):r)}))))})))):null},seo_types:e=>{var t=e.item,r=Object.values(t).reduce(((e,t)=>e+t));if(0===r)return o.createElement(Om,{header:"🤷‍♂️ No recipes yet"},o.createElement("p",null,"We can't seem to find any recipes yet. Start adding them!"));var n={good:"Good SEO",rating:"Only missing recipe ratings",warning:"Missing some recommended fields",bad:"Missing some required fields",other:"Not using metadata (excluded from count)"};return o.createElement(Om,{header:"🔍 Recipes with a good SEO rating: ".concat(t.good," of ").concat(r-t.other)},o.createElement("p",null,"Google has a list of required and recommended fields they want to see in the metadata. You definitely need to fill in all required fields. Not filling in recommended fields will get you a warning, but is not a huge problem. Click to see those recipes on the manage page:"),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list"},Object.keys(n).map(((e,r)=>{var i=n[e];return o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item",key:r},o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item-main"},o.createElement("a",{href:"".concat(wprm_admin.manage_url,"#recipe/seo=").concat(e)},i)),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item-side"},t[e]," ",1===t[e]?"recipe":"recipes"))}))))}};class Nm extends o.Component{constructor(e){super(e),this.state={items:wprm_admin_dashboard.health.items}}render(){return o.createElement(g,{title:(0,y.S)("Health Check"),button:(0,y.S)("Run Check"),buttonAction:()=>{window.location=wprm_admin_dashboard.health.tool}},o.createElement("div",{className:"wprm-admin-dashboard-health-check-container"},o.createElement("div",{className:"wprm-admin-dashboard-health-check-last-update wprm-admin-dashboard-health-check-last-update-".concat(wprm_admin_dashboard.health.urgency),title:wprm_admin_dashboard.health.date?wprm_admin_dashboard.health.date_formatted_full:null},(0,y.S)("Last check:")," ",wprm_admin_dashboard.health.date_formatted,wprm_admin_dashboard.health.updated&&" (".concat((0,y.S)("outdated version"),")")),o.createElement("div",{className:"wprm-admin-dashboard-health-check-description"},(0,y.S)("Use the Health Check feature to search for any WPRM-related issues and improve your recipes.")," ","never"===wprm_admin_dashboard.health.urgency?(0,y.S)("Recommended to run occassionally by clicking on the blue button."):(0,y.S)("Most recent results:")),Object.keys(this.state.items).map(((e,t)=>{var r=this.state.items[e],n=!!_m.hasOwnProperty(e)&&_m[e];return n?o.createElement(n,{item:r,key:t}):null})),o.createElement("div",{className:"wprm-admin-dashboard-health-check-learn-more"},o.createElement("a",{href:"https://help.bootstrapped.ventures/article/306-health-check",target:"_blank"},(0,y.S)("Learn more about the Health Check feature")))))}}var Pm=e=>o.createElement("div",{className:"wprm-admin-dashboard-learn-section-container"},o.createElement("div",{className:"wprm-admin-dashboard-learn-section-title"},e.title),o.createElement("div",{className:"wprm-admin-dashboard-learn-section"},e.children)),Cm=e=>o.createElement("div",{className:"wprm-admin-dashboard-learn-section-item"},e.hasOwnProperty("url")?o.createElement("a",{href:e.url,target:"_blank"},e.children):e.children),Lm=e=>o.createElement(g,{title:(0,y.S)("Get the most out of WPRM")},o.createElement("div",{className:"wprm-admin-dashboard-learn-container"},o.createElement(Pm,{title:"🧑‍🎓 ".concat((0,y.S)("Learn More"))},o.createElement(Cm,{url:"https://help.bootstrapped.ventures/collection/1-wp-recipe-maker"},(0,y.S)("Documentation in our knowledge base")),o.createElement(Cm,{url:"https://demo.wprecipemaker.com/all-features/"},(0,y.S)("All features in action on our demo site")),o.createElement(Cm,{url:"https://bootstrapped.ventures/wp-recipe-maker/videos/"},(0,y.S)("Video tutorials and walkthroughs"))),o.createElement(Pm,{title:"🤝 ".concat((0,y.S)("Our Partners"))},o.createElement(Cm,{url:"https://myemissions.green/wp-recipe-maker?ref=wprm"},(0,y.S)("My Emissions carbon footprint labels")),o.createElement(Cm,{url:"https://dailygrub.com"},(0,y.S)("DailyGrub recipe analytics suite"))),o.createElement(Pm,{title:"🙋 ".concat((0,y.S)("Get Help"))},o.createElement(Cm,{url:"https://www.facebook.com/groups/1741126932849712"},(0,y.S)("WP Recipe Maker Facebook Group")),o.createElement(Cm,{url:"mailto:support@bootstrapped.ventures"},(0,y.S)("Email our support team"))))),Rm=e=>{var{item:t}=e;if(!t.title)return null;var r=o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-dashboard-news-item-title-container"},o.createElement("div",{className:"wprm-admin-dashboard-news-item-date"},t.date_formatted),o.createElement("div",{className:"wprm-admin-dashboard-news-item-title"},t.title)),t.hasOwnProperty("label")&&o.createElement("div",{className:"wprm-admin-dashboard-news-item-label wprm-admin-dashboard-news-item-label-".concat(t.label_key)},t.label)),n=["wprm-admin-dashboard-news-item"];return t.new&&n.push("wprm-admin-dashboard-news-item-new"),o.createElement(o.Fragment,null,t.hasOwnProperty("url")?o.createElement("a",{href:t.url,target:"_blank",className:n.join(" ")},r):o.createElement("div",{className:n.join(" ")},r))},Bm=e=>{var t=wprm_admin_dashboard.news;return t&&0!==t.length?o.createElement(g,{title:(0,y.S)("News")},o.createElement("div",{className:"wprm-admin-dashboard-news-container"},t.map(((e,t)=>o.createElement(Rm,{item:e,key:t}))))):null},Um=r(76044),zm=e=>{var{recipe:t}=e,r=t.hasOwnProperty("permalink")&&t.permalink;return o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe"},o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-name-container"},o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-date"},t.date_formatted?t.date_formatted:""),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-name"},t.name?t.name:"n/a")),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-actions"},r&&o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-action"},o.createElement("a",{href:t.permalink,target:"_blank"},o.createElement(Um.Z,{type:"eye",title:(0,y.S)("View Recipe")}))),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-action"},o.createElement(Um.Z,{type:"pencil",title:(0,y.S)("Edit Recipe"),onClick:()=>{WPRM_Modal.open("recipe",{recipeId:t.id,saveCallback:r=>{var n=JSON.parse(JSON.stringify(t));n.name=r.name,e.onUpdate(n)}})}}))))};class Hm extends o.Component{constructor(e){super(e),this.state={recipes:wprm_admin_dashboard.recipes}}render(){return o.createElement(g,{title:(0,y.S)("Latest Recipes"),button:(0,y.S)("Create Recipe"),buttonAction:()=>{WPRM_Modal.open("recipe",{saveCallback:e=>{var t=JSON.parse(JSON.stringify(this.state.recipes)),r=JSON.parse(JSON.stringify(e));r.date_formatted=wprm_admin_dashboard.today_formatted,(t=t.filter((e=>e.id!==r.id))).unshift(r),this.setState({recipes:t})}})}},o.createElement("div",{className:"wprm-admin-dashboard-recipes-container"},0===this.state.recipes.length?o.createElement("div",{className:"wprm-admin-dashboard-recipes-all"},(0,y.S)("No recipes found. Welcome to WP Recipe Maker!")):o.createElement(o.Fragment,null,this.state.recipes.map(((e,t)=>o.createElement(zm,{recipe:e,onUpdate:e=>{var r=JSON.parse(JSON.stringify(this.state.recipes));r[t]=e,this.setState({recipes:r})},key:t})))),o.createElement("div",{className:"wprm-admin-dashboard-recipes-all"},o.createElement("a",{href:wprm_admin.manage_url},(0,y.S)("Manage all recipes...")))))}}var Gm=e=>o.createElement("div",{className:"wprm-admin-dashboard-tip"},e.children),Wm=[o.createElement(Gm,null,"Use the ",o.createElement("strong",null,"TAB key")," while entering ingredients or instructions to easily jump from field to field and create new lines."),o.createElement(Gm,null,"Copying your recipes from other sources?",o.createElement("br",null),"Use our ",o.createElement("a",{href:"https://help.bootstrapped.ventures/article/70-import-recipe-from-text",target:"_blank"},"Import Recipe from Text")," feature to speed things up."),o.createElement(Gm,null,"Have you seen the ",o.createElement("strong",null,"toolbar at the bottom of the recipe modal")," when editing rich fields (like the summary or instructions)? It gives you quick access to some editing and symbols."),o.createElement(Gm,null,"The ",o.createElement("strong",null,"Bulk Edit column")," on some of the WP Recipe Maker > Manage pages allows you to quickly edit multiple rows at once."),o.createElement(Gm,null,"Make sure to use the ",o.createElement("a",{href:"https://help.bootstrapped.ventures/article/182-itemlist-metadata-for-recipe-roundup-posts",target:"_blank"},"Recipe Roundup feature")," for roundup posts. This will add itemList metadata that allows those posts to show up as a carousel in Google."),o.createElement(Gm,null,"Give your visitors an easy way to find recipes by course, cuisine, ingredient, calories, ... by combining WPRM with our ",o.createElement("a",{href:"https://demo.wprecipemaker.com/recipe-index/",target:"_blank"},"WP Ultimate Post Grid plugin"),"."),o.createElement(Gm,null,"When adding equipment or ingredient names, the toolbar at the bottom of the recipe modal will ",o.createElement("strong",null,"show suggestions")," that you used before. Just click to use them and keep things consistent!"),o.createElement(Gm,null,o.createElement("strong",null,"Toggle specific columns")," at the top of the WP Recipe Maker > Manage page to customize it to your needs."),o.createElement(Gm,null,"Join the ",o.createElement("a",{href:"https://www.facebook.com/groups/1741126932849712/",target:"_blank"},"WP Recipe Maker Facebook Group")," to get access to a community of WPRM food bloggers, just like you!")];class qm extends o.Component{constructor(e){super(e);var t=Math.floor(Math.random()*Wm.length);this.changeTip=this.changeTip.bind(this);var r=setInterval(this.changeTip,15e3);this.state={activeTip:t,interval:r,bar:"odd"}}changeTip(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.state.activeTip+e;t<0?t+=Wm.length:t%=Wm.length,clearInterval(this.state.interval),this.setState({activeTip:t,interval:setInterval(this.changeTip,15e3),bar:"even"===this.state.bar?"odd":"even"})}render(){return o.createElement(g,{title:(0,y.S)("Quick Tips")},o.createElement("div",{className:"wprm-admin-dashboard-tips-container"},o.createElement("div",{className:"wprm-admin-dashboard-tips-prev",onClick:()=>{this.changeTip(-1)}},"<"),o.createElement("div",{className:"wprm-admin-dashboard-tips"},Wm.map(((e,t)=>{var r=["wprm-admin-dashboard-tip-container"];return t===this.state.activeTip&&r.push("wprm-admin-dashboard-tip-container-active"),o.createElement("div",{className:r.join(" "),key:t},e)}))),o.createElement("div",{className:"wprm-admin-dashboard-tips-next",onClick:()=>{this.changeTip(1)}},">")),o.createElement("div",{className:"wprm-admin-dashboard-tips-progress"},o.createElement("div",{className:"wprm-admin-dashboard-tips-progress-bar wprm-admin-dashboard-tips-progress-bar-".concat(this.state.bar)})))}}var{hooks:Zm}=WPRecipeMaker["wp-recipe-maker/dist/shared"],Fm=Zm.applyFilters("dashboardBlocks",[{id:"recipes",block:Hm},{id:"news",block:Bm},{id:"health",block:Nm},{id:"tips",block:qm},{id:"learn",block:Lm},{id:"analytics",block:Im}]);window.wprm_admin_dashboard.hasOwnProperty("feedback")&&window.wprm_admin_dashboard.feedback&&Fm.unshift({id:"feedback",block:Mm});class Vm extends o.Component{render(){var e=!1;return window.wprm_admin_dashboard.hasOwnProperty("marketing")&&window.wprm_admin_dashboard.marketing&&(e=wprm_admin_dashboard.marketing),o.createElement(o.Fragment,null,o.createElement("h1",null,"WP Recipe Maker"),!1!==e&&o.createElement(S,{campaign:e}),o.createElement(m,{blocks:Fm}))}}var Jm=document.getElementById("wprm-admin-dashboard");Jm&&i.render(o.createElement(Vm,null),Jm)},99237:function(e,t,r){"use strict";r.d(t,{Z:function(){return G}});var n=r(46087),i=wprm_admin.endpoints.analytics,o={delete:e=>n.Z.call("".concat(i,"/").concat(e),"DELETE")};function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=wprm_admin.endpoints.custom_taxonomies,s={save(e,t){var r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t),i=e?"PUT":"POST";return n.Z.call(u,i,r)}},l=wprm_admin.endpoints.dashboard,f={getAnalytics:()=>n.Z.call("".concat(l,"/analytics"))},p=wprm_admin.endpoints.notices,d={dismissNotice(e){var t={id:e};return n.Z.call(p,"DELETE",t)}},h=wprm_admin.endpoints.modal,m={parseIngredients(e){var t={ingredients:e};return n.Z.call("".concat(h,"/ingredient/parse"),"POST",t)}},v=(r(35054),wprm_admin.endpoints.manage),y=wprm_admin.endpoints.rating,g=wprm_admin.endpoints.taxonomy,b=!1,w=!1,x={getData(e){return b?(w=e,new Promise((e=>e(!1)))):this.getDataDebounced(e)},getDataDebounced(e){return b=!0,n.Z.call("".concat(v,"/").concat(e.route),"POST",e).then((e=>{if(w){var t=w;return w=!1,this.getDataDebounced(t)}return b=!1,e}))},deleteUserRatings:e=>n.Z.call("".concat(y,"/recipe/").concat(e),"DELETE"),getTerm:(e,t)=>n.Z.call("".concat(g).concat(e,"/").concat(t)),createTerm(e,t){var r={name:t};return n.Z.call("".concat(g).concat(e),"POST",r)},deleteTerm:(e,t)=>n.Z.call("".concat(g).concat(e,"/").concat(t,"?force=true"),"DELETE"),renameTerm(e,t,r){var i={name:r};return n.Z.call("".concat(g).concat(e,"/").concat(t),"POST",i)},changeTermSlug(e,t,r){var i={slug:r};return n.Z.call("".concat(g).concat(e,"/").concat(t),"POST",i)},renameTermLabel(e,t,r){var i={type:e,id:t,label:r};return n.Z.call("".concat(v,"/taxonomy/label"),"POST",i)},mergeTerm(e,t,r){var i={type:e,oldId:t,newId:r};return n.Z.call("".concat(v,"/taxonomy/merge"),"POST",i)},updateTaxonomyMeta(e,t,r){var i={};return i[e]=r,n.Z.call("".concat(g).concat(e,"/").concat(t),"POST",i)},bulkEdit(e,t,r,i){var o={type:t,ids:r,action:i};return n.Z.call("".concat(v,"/").concat(e,"/bulk"),"POST",o)}},E=wprm_admin.endpoints.modal,I=!1,S=!1,M=!1,O={getSuggestions(e){return I?(M=e,new Promise((e=>e(!1)))):this.getSuggestionsDebounced(e)},getSuggestionsDebounced(e){I=!0;var t=Date.now();return!1!==S&&500>t-S?new Promise((r=>{setTimeout((()=>{r(this.getSuggestionsDebounced(e))}),t-S)})):(S=t,n.Z.call("".concat(E,"/suggest"),"POST",e).then((e=>{if(M){var t=M;return M=!1,this.getSuggestionsDebounced(t)}return I=!1,e})))}},k=wprm_admin.endpoints.rating,j={update(e){var t={rating:e};return n.Z.call("".concat(k),"POST",t)},updateComment(e,t){var r={rating:t};return n.Z.call("".concat(k,"/comment/").concat(e),"POST",r)},delete:e=>n.Z.call("".concat(k,"/").concat(e),"DELETE")},T=wprm_admin.endpoints.recipe,D=wprm_admin.endpoints.manage,A={get:e=>n.Z.call("".concat(T,"/").concat(e,"?t=").concat(Date.now())),save(e){var t={recipe:e},r=T,i="POST",o=!!e.id&&parseInt(e.id);return o&&(r+="/".concat(o),i="PUT"),n.Z.call(r,i,t)},updateStatus(e,t){var r={status:t};return n.Z.call("".concat(T,"/").concat(e),"PUT",r)},delete(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r="".concat(T,"/").concat(e);return t&&(r+="?force=true"),n.Z.call(r,"DELETE")},deleteRevision:e=>n.Z.call("".concat(D,"/revision/").concat(e),"DELETE")},_=wprm_admin.endpoints.setting,N={save(e){var t={settings:e};return n.Z.call(_,"POST",t)}},P=wprm_admin.endpoints.template,C=[],L={},R=null,B={previewShortcode(e,t,r){return L[e]=t,clearTimeout(R),R=setTimeout((()=>{this.previewShortcodes(r)}),500),new Promise((e=>C.push(e)))},previewShortcodes(e){var t=C,r=L;C=[],L={};var n={recipeId:e,shortcodes:r};fetch("".concat(P,"/preview"),{method:"POST",headers:{"X-WP-Nonce":wprm_admin.api_nonce,Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(n)}).then((e=>e.json().then((r=>{var n=e.ok?r.preview:{};t.forEach((e=>e(n)))}))))},searchRecipes:e=>fetch(wprm_admin.ajax_url,{method:"POST",credentials:"same-origin",body:"action=wprm_search_recipes&security="+wprm_admin.nonce+"&search="+encodeURIComponent(e),headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded; charset=utf-8"}}).then((e=>e.json())),save(e){var t={template:e};return n.Z.call(P,"POST",t)},delete(e){var t={slug:e};return n.Z.call(P,"DELETE",t)}},U=wprm_admin.endpoints.utilities,z={saveImage(e){var t={url:e};return n.Z.call("".concat(U,"/save_image"),"POST",t)},giveFeedback(e){var t={feedback:e};return n.Z.call("".concat(U,"/feedback"),"POST",t)}},{hooks:H}=WPRecipeMaker["wp-recipe-maker/dist/shared"],G=H.applyFilters("api",{analytics:o,customTaxonomy:s,dashboard:f,general:d,import:m,manage:x,modal:O,rating:j,recipe:A,settings:N,template:B,utilities:z})},46087:function(e,t,r){"use strict";r(31807),r(35054),r(22321);function n(e,t,r,n,i,o,a){try{var c=e[o](a),u=c.value}catch(s){return void r(s)}c.done?t(u):Promise.resolve(u).then(n,i)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var a=e.apply(t,r);function c(e){n(a,i,o,c,u,"next",e)}function u(e){n(a,i,o,c,u,"throw",e)}c(void 0)}))}}function o(){return(o=i((function*(e,t,r){console.log(e,t),console.log(r);var n="",i=parseInt(r.status),o=!1;300<=i&&i<=399?o="A redirection is breaking the API endpoint. Are any redirections set up in the .htaccess file or using a plugin?":401===i||403===i?o="Something is blocking access. Are you or your webhost using a firewall like Cloudflare WAF or Sucuri? Try whitelisting your own IP address or this specific action.":404===i?o="The rest API endpoint could not be found. Are your permalinks set up correctly?":500<=i&&i<=599&&(o="The server is throwing an error. It could be hitting a memory or execution limit. Check with your webhost what the exact error is in the logs."),o&&(n+="".concat(o,"\r\n\r\n")),n+="Press OK to contact support@bootstrapped.ventures for support (opens an email popup).";var a="".concat(r.url," ").concat(r.redirected?"(redirected)":"","- ").concat(r.status," - ").concat(r.statusText);n+="\r\n\r\n".concat(a);var c=!0;try{yield r.text().then((e=>{console.log(e),-1!==e.indexOf("rest_cookie_invalid_nonce")?(alert("You got logged out or your session expired. Please try logging out of WordPress and back in again."),c=!1):n+="\r\n\r\n".concat(e)}))}catch(s){console.log(s),n+="\r\n\r\n".concat(s)}if(c&&confirm(n)){var u="I received the error message below at ".concat(window.location.href,"\r\n\r\n").concat(n);window.open("mailto:".concat(encodeURIComponent("support@bootstrapped.ventures"),"?subject=").concat(encodeURIComponent("WP Recipe Maker Error Message"),"&body=").concat(encodeURIComponent(u)))}}))).apply(this,arguments)}t.Z={call(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=wprm_admin.api_nonce;"object"==typeof window.wpApiSettings&&window.wpApiSettings.nonce&&(n=window.wpApiSettings.nonce);var i={method:t,headers:{"X-WP-Nonce":n,Accept:"application/json","Content-Type":"application/json","Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:0},credentials:"same-origin"};"PUT"!==t&&"DELETE"!==t||(i.method="POST",i.headers["X-HTTP-Method-Override"]=t),r&&(i.body=JSON.stringify(r));var a=0;return e=e.replace(/\?/g,(function(e){return 2<=++a?"&":e})),fetch(e,i).then((function(t){return t.ok?t.json():(function(e,t,r){o.apply(this,arguments)}(e,i,t),!1)}))}}},76044:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(89526),i=r(49092),o=r(95075),a={adjustable:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyLjUiIHkxPSIxMi41IiB4Mj0iMTUuNSIgeTI9IjEyLjUiPjwvbGluZT4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjAuNSIgeTE9IjMuNSIgeDI9IjMuNSIgeTI9IjMuNSI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iOS41IiB5MT0iMy41IiB4Mj0iMTUuNSIgeTI9IjMuNSI+PC9saW5lPiA8cmVjdCBkYXRhLWNvbG9yPSJjb2xvci0yIiB4PSIzLjUiIHk9IjAuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHdpZHRoPSIzIiBoZWlnaHQ9IjYiPjwvcmVjdD4gPHJlY3QgZGF0YS1jb2xvcj0iY29sb3ItMiIgeD0iOS41IiB5PSI5LjUiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB3aWR0aD0iMyIgaGVpZ2h0PSI2Ij48L3JlY3Q+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIwLjUiIHkxPSIxMi41IiB4Mj0iNi41IiB5Mj0iMTIuNSI+PC9saW5lPiA8L2c+PC9zdmc+",bold:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZD0iTTIuNSwxLjVoNmEzLDMsMCwwLDEsMywzaDBhMywzLDAsMCwxLTMsM2gtNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvcGF0aD4gPHBhdGggZD0iTTQuNSw3LjVIMTBBMy41LDMuNSwwLDAsMSwxMy41LDExaDBBMy41LDMuNSwwLDAsMSwxMCwxNC41SDIuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvcGF0aD4gPGxpbmUgeDE9IjQuNSIgeTE9IjEuNSIgeDI9IjQuNSIgeTI9IjE0LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+PC9nPjwvc3ZnPg==",clock:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGNpcmNsZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBjeD0iOC41IiBjeT0iOC41IiByPSI3Ij48L2NpcmNsZT4gPHBvbHlsaW5lIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IiA1LjUsNS41IDguNSw4LjUgMTMuNSw4LjUgIj48L3BvbHlsaW5lPiA8bGluZSBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjguNSIgeTE9IjMuNSIgeDI9IjguNSIgeTI9IjQuNSI+PC9saW5lPiA8bGluZSBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjguNSIgeTE9IjEzLjUiIHgyPSI4LjUiIHkyPSIxMi41Ij48L2xpbmU+IDxsaW5lIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMy41IiB5MT0iOC41IiB4Mj0iNC41IiB5Mj0iOC41Ij48L2xpbmU+IDwvZz48L3N2Zz4=",close:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEzLjUiIHkxPSIyLjUiIHgyPSIyLjUiIHkyPSIxMy41IiBkYXRhLWNhcD0iYnV0dCI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMi41IiB5MT0iMi41IiB4Mj0iMTMuNSIgeTI9IjEzLjUiIGRhdGEtY2FwPSJidXR0Ij48L2xpbmU+IDwvZz48L3N2Zz4=",code:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBmaWxsPSIjMTExMTExIj48bGluZSB4MT0iMTAuNSIgeTE9IjEuNSIgeDI9IjUuNSIgeTI9IjE0LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8cG9seWxpbmUgcG9pbnRzPSIzLjUgNC41IDAuNSA3LjUgMy41IDEwLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNhcD0iYnV0dCI+PC9wb2x5bGluZT4gPHBvbHlsaW5lIHBvaW50cz0iMTIuNSA0LjUgMTUuNSA3LjUgMTIuNSAxMC41IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZGF0YS1jYXA9ImJ1dHQiPjwvcG9seWxpbmU+PC9nPjwvc3ZnPg==","checkbox-alternate":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IiA0LjUsNi41IDcuNSw5LjUgMTUuNSwxLjUgIi8+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik0xMy41LDcuNXY2IGMwLDAuNTUyLTAuNDQ4LDEtMSwxaC0xMWMtMC41NTIsMC0xLTAuNDQ4LTEtMXYtMTFjMC0wLjU1MiwwLjQ0OC0xLDEtMWg5Ii8+IDwvZz48L3N2Zz4=","checkbox-checked":"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PGcgY2xhc3M9Im5jLWljb24td3JhcHBlciIgZmlsbD0iIzQ0NDQ0NCI+PHBvbHlsaW5lIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzQ0NDQ0NCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iNC41LDcuNSA3LDEwIDEyLDUgIj48L3BvbHlsaW5lPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzQ0NDQ0NCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik0xNC41LDE1LjVoLTEzYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiI+PC9wYXRoPjwvZz48L3N2Zz4=","checkbox-empty":"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PGcgY2xhc3M9Im5jLWljb24td3JhcHBlciIgZmlsbD0iIzQ0NDQ0NCI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNDQ0NDQ0IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTNjLTAuNTUyLDAtMS0wLjQ0OC0xLTF2LTEzYzAtMC41NTIsMC40NDgtMSwxLTFoMTNjMC41NTIsMCwxLDAuNDQ4LDEsMXYxM0MxNS41LDE1LjA1MiwxNS4wNTIsMTUuNSwxNC41LDE1LjV6Ij48L3BhdGg+PC9nPjwvc3ZnPg==",checkmark:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIHBvaW50cz0iMSA5LjUgNS41IDE0IDE1IDEuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIi8+PC9nPjwvc3ZnPg==",duplicate:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHJlY3QgeD0iMC41IiB5PSIwLjUiIHdpZHRoPSIxMSIgaGVpZ2h0PSIxMSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGRhdGEtY2FwPSJidXR0Ii8+IDxwb2x5bGluZSBwb2ludHM9IjEzLjUgNC41IDE1LjUgNC41IDE1LjUgMTUuNSA0LjUgMTUuNSA0LjUgMTMuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPjwvZz48L3N2Zz4=",drag:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgeDE9IjAuNSIgeTE9IjUuNSIgeDI9IjE1LjUiIHkyPSI1LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PGxpbmUgeDE9IjAuNSIgeTE9IjEwLjUiIHgyPSIxNS41IiB5Mj0iMTAuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNvbG9yPSJjb2xvci0yIi8+PC9nPjwvc3ZnPg==","eafl-link":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMyOTgwYjkiIHN0cm9rZT0iIzI5ODBiOSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMjk4MGI5IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEyLDlsMS45NzUtMi4wMjUgYzEuMzY3LTEuMzY3LDEuMzY3LTMuNTgzLDAtNC45NWwwLDBjLTEuMzY3LTEuMzY3LTMuNTgzLTEuMzY3LTQuOTUsMEw3LDQiIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI5ODBiOSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik05LDEybC0yLjAyNSwxLjk3NSBjLTEuMzY3LDEuMzY3LTMuNTgzLDEuMzY3LTQuOTUsMGwwLDBjLTEuMzY3LTEuMzY3LTEuMzY3LTMuNTgzLDAtNC45NUw0LDciIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iNSIgeTE9IjExIiB4Mj0iMTEiIHkyPSI1IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8L2c+PC9zdmc+","eafl-unlink":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMyOTgwYjkiIHN0cm9rZT0iIzI5ODBiOSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMjk4MGI5IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEyLDlsMS45NzUtMi4wMjUgYzEuMzY3LTEuMzY3LDEuMzY3LTMuNTgzLDAtNC45NWwwLDBjLTEuMzY3LTEuMzY3LTMuNTgzLTEuMzY3LTQuOTUsMEw3LDQiIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI5ODBiOSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik05LDEybC0yLjAyNSwxLjk3NSBjLTEuMzY3LDEuMzY3LTMuNTgzLDEuMzY3LTQuOTUsMGwwLDBjLTEuMzY3LTEuMzY3LTEuMzY3LTMuNTgzLDAtNC45NUw0LDciIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iNSIgeTE9IjExIiB4Mj0iMTEiIHkyPSI1IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEuNSIgeTE9IjEuNSIgeDI9IjQiIHkyPSI0IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyIiB5MT0iMTIiIHgyPSIxNC41IiB5Mj0iMTQuNSIgZGF0YS1jYXA9ImJ1dHQiIGRhdGEtY29sb3I9ImNvbG9yLTIiPjwvbGluZT4gPC9nPjwvc3ZnPg==",eye:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTAuNSw4IGMwLDAsMy01LjUsNy41LTUuNVMxNS41LDgsMTUuNSw4cy0zLDUuNS03LjUsNS41UzAuNSw4LDAuNSw4eiIvPiA8Y2lyY2xlIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBjeD0iOCIgY3k9IjgiIHI9IjIuNSIvPiA8L2c+PC9zdmc+",italic:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgeDE9IjYuNSIgeTE9IjAuNSIgeDI9IjEyLjUiIHkyPSIwLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+IDxsaW5lIHgxPSIzLjUiIHkxPSIxNS41IiB4Mj0iOS41IiB5Mj0iMTUuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvbGluZT4gPGxpbmUgeDE9IjkuNSIgeTE9IjAuNSIgeDI9IjYuNSIgeTI9IjE1LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+PC9nPjwvc3ZnPg==",link:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEyLDlsMS45NzUtMi4wMjUgYzEuMzY3LTEuMzY3LDEuMzY3LTMuNTgzLDAtNC45NWwwLDBjLTEuMzY3LTEuMzY3LTMuNTgzLTEuMzY3LTQuOTUsMEw3LDQiIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik05LDEybC0yLjAyNSwxLjk3NSBjLTEuMzY3LDEuMzY3LTMuNTgzLDEuMzY3LTQuOTUsMGwwLDBjLTEuMzY3LTEuMzY3LTEuMzY3LTMuNTgzLDAtNC45NUw0LDciIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iNSIgeTE9IjExIiB4Mj0iMTEiIHkyPSI1IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8L2c+PC9zdmc+",merge:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIxMC41IiB5MT0iMTIuNSIgeDI9IjEzLjUiIHkyPSIxNS41IiBkYXRhLWNvbG9yPSJjb2xvci0yIj48L2xpbmU+IDxwb2x5bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IjQuNSw0LjUgOC41LDAuNSAxMi41LDQuNSAiPjwvcG9seWxpbmU+IDxwb2x5bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IjguNSwwLjUgOC41LDEwLjUgMy41LDE1LjUgIj48L3BvbHlsaW5lPjwvZz48L3N2Zz4=",movie:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGNpcmNsZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgY3g9IjIuNSIgY3k9IjIuNSIgcj0iMiIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8Y2lyY2xlIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBjeD0iOCIgY3k9IjMiIHI9IjEuNSIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMTAuNSw5LjV2LTIgYzAtMC41NTItMC40NDgtMS0xLTFoLThjLTAuNTUyLDAtMSwwLjQ0OC0xLDF2N2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDhjMC41NTIsMCwxLTAuNDQ4LDEtMXYtMmw1LDJ2LTdMMTAuNSw5LjV6Ii8+PC9nPjwvc3ZnPg==",pencil:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBmaWxsPSIjMTExMTExIj48cG9seWdvbiBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IiAxMywwLjUgMTUuNSwzIDcuNSwxMSA0LDEyIDUsOC41ICI+PC9wb2x5Z29uPiA8bGluZSBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMTEiIHkxPSIyLjUiIHgyPSIxMy41IiB5Mj0iNSI+PC9saW5lPiA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMTMuNSw5LjV2NSBjMCwwLjU1Mi0wLjQ0OCwxLTEsMWgtMTFjLTAuNTUyLDAtMS0wLjQ0OC0xLTF2LTExYzAtMC41NTIsMC40NDgtMSwxLTFoNSI+PC9wYXRoPiA8L2c+PC9zdmc+",photo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTMgYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiIvPiA8cG9seWxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iMi41LDEyLjUgOS41LDcuNSAxMy41LDExLjUgIiBkYXRhLWNvbG9yPSJjb2xvci0yIi8+IDxjaXJjbGUgY3g9IjQuNSIgY3k9IjUuNSIgcj0iMS41IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiIgZGF0YS1zdHJva2U9Im5vbmUiIHN0cm9rZT0ibm9uZSIvPjwvZz48L3N2Zz4=",plus:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjguNSIgeTE9IjQuNSIgeDI9IjguNSIgeTI9IjEyLjUiLz4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjQuNSIgeTE9IjguNSIgeDI9IjEyLjUiIHkyPSI4LjUiLz4gPC9nPjwvc3ZnPg==",print:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIHBvaW50cz0iMy41IDMuNSAzLjUgMC41IDEyLjUgMC41IDEyLjUgMy41IiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPHBvbHlsaW5lIHBvaW50cz0iMy41IDEyLjUgMC41IDEyLjUgMC41IDUuNSAxNS41IDUuNSAxNS41IDEyLjUgMTIuNSAxMi41IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPiA8cmVjdCB4PSIzLjUiIHk9IjkuNSIgd2lkdGg9IjkiIGhlaWdodD0iNiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L2c+PC9zdmc+",question:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBmaWxsPSIjMTExMTExIj48Y2lyY2xlIGRhdGEtY29sb3I9ImNvbG9yLTIiIGN4PSI4IiBjeT0iMTMuNSIgcj0iMS41Ii8+IDxwYXRoIGZpbGw9IiMxMTExMTEiIGQ9Ik04LDBDNi4zMDksMCw0Ljc5MiwxLjA3Miw0LjIyOSwyLjY2N0wzLjg5NSwzLjYwOUw1Ljc4LDQuMjc2bDAuMzMzLTAuOTQzQzYuMzk2LDIuNTM2LDcuMTU0LDIsOCwyIGMxLjEwMywwLDIsMC44OTcsMiwyYzAsMC42MzItMC4yNDUsMC44MzktMC45NTIsMS4zNDdDOC4xODQsNS45NjcsNyw2LjgxNyw3LDl2MWgyVjljMC0xLjE1NywwLjQ4Mi0xLjUwMywxLjIxNC0yLjAyOCBDMTAuOTY4LDYuNDMxLDEyLDUuNjksMTIsNEMxMiwxLjc5NCwxMC4yMDYsMCw4LDB6Ii8+PC9nPjwvc3ZnPg==",reload:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik0xLjUsNy41IGMwLTMuODY2LDMuMTM0LTcsNy03YzIuNjM2LDAsNC44MjgsMS42NDEsNiw0Ij48L3BhdGg+IDxwb2x5bGluZSBwb2ludHM9IjE0LjUsMC41IDE0LjUsNC41IDEwLjUsNC41ICI+PC9wb2x5bGluZT4gPHBhdGggZD0iTTE1LjUsOC41IGMwLDMuODY2LTMuMTM0LDctNyw3Yy0yLjYzNiwwLTQuODI4LTEuNjQxLTYtNCIgc3Ryb2tlPSIjMTExMTExIj48L3BhdGg+IDxwb2x5bGluZSBwb2ludHM9IjIuNSwxNS41IDIuNSwxMS41IDYuNSwxMS41ICIgc3Ryb2tlPSIjMTExMTExIj48L3BvbHlsaW5lPjwvZz48L3N2Zz4=",restore:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik0wLjUsNS41bDUtNXYzIGMzLjE1NiwwLDcsMS44NTQsNyw3Yy0xLjU1OS0yLjUyMy00LjUtMy03LTN2M0wwLjUsNS41eiIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMC41LDEwLjV2NCBjMCwwLjU1MiwwLjQ0OCwxLDEsMWgxM2MwLjU1MiwwLDEtMC40NDgsMS0xdi0xMWMwLTAuNTUyLTAuNDQ4LTEtMS0xaC0yIi8+PC9nPjwvc3ZnPg==","star-empty":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyAgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCwgMCkiPjxwb2x5Z29uIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzM0MzQzNCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iMTIsMi42IDE1LDkgMjEuNCw5IDE2LjcsMTMuOSAxOC42LDIxLjQgMTIsMTcuNiA1LjQsMjEuNCA3LjMsMTMuOSAyLjYsOSA5LDkgIiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PC9nPjwvc3ZnPg==","star-full":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyA+PHBhdGggZmlsbD0iIzM0MzQzNCIgZD0iTTEyLjcxMiwxLjk0MmwyLjk2OSw2LjAxNWw2LjYzOCwwLjk2NWMwLjY1MSwwLjA5NSwwLjkxMSwwLjg5NSwwLjQ0LDEuMzU0bC00LjgwNCw0LjY4MmwxLjEzNCw2LjYxMmMwLjExMSwwLjY0OS0wLjU3LDEuMTQzLTEuMTUyLDAuODM3TDEyLDE5LjI4NmwtNS45MzgsMy4xMjJDNS40OCwyMi43MTQsNC43OTksMjIuMjE5LDQuOTEsMjEuNTdsMS4xMzQtNi42MTJsLTQuODA0LTQuNjgyYy0wLjQ3MS0wLjQ1OS0wLjIxMS0xLjI2LDAuNDQtMS4zNTRsNi42MzgtMC45NjVsMi45NjktNi4wMTVDMTEuNTc5LDEuMzUyLDEyLjQyMSwxLjM1MiwxMi43MTIsMS45NDJ6Ii8+PC9nPjwvc3ZnPg==",subscript:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIHBvaW50cz0iMi41IDQuNSAyLjUgMi41IDEyLjUgMi41IDEyLjUgNC41IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wb2x5bGluZT4gPGxpbmUgeDE9IjcuNSIgeTE9IjIuNSIgeDI9IjcuNSIgeTI9IjEzLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+IDxsaW5lIHgxPSI1LjUiIHkxPSIxMy41IiB4Mj0iOS41IiB5Mj0iMTMuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvbGluZT4gPHBhdGggZD0iTTE1LDE1LjMyNEgxMS45MDd2LS43NThsMS4wNC0xLjA1M3EuNDQ3LS40NjUuNTg0LS42MzZhMS40MzcsMS40MzcsMCwwLDAsLjE5MS0uMjkzLjY1LjY1LDAsMCwwLC4wNTMtLjI1Ny4zMzUuMzM1LDAsMCwwLS4xMDctLjI2Mi40NDQuNDQ0LDAsMCwwLS4zLS4xLjgyLjgyLDAsMCwwLS40MDYuMTE1LDIuOTM1LDIuOTM1LDAsMCwwLS40NjUuMzRsLS42MzMtLjc0MWEzLjQ1NCwzLjQ1NCwwLDAsMSwuNTU0LS40MjEsMS45NzIsMS45NzIsMCwwLDEsLjQ4OC0uMTkzQTIuMzU0LDIuMzU0LDAsMCwxLDEzLjUsMTFhMS44LDEuOCwwLDAsMSwuNzM5LjE0NiwxLjE1NSwxLjE1NSwwLDAsMSwuNS40MTYsMS4wNjMsMS4wNjMsMCwwLDEsLjE3OS42LDEuNTcyLDEuNTcyLDAsMCwxLS4yNTYuODgzLDIuOTQzLDIuOTQzLDAsMCwxLS4zNDkuNDMzcS0uMjE4LjIyNi0uOTI1Ljg2M3YuMDI5SDE1WiIgZGF0YS1jYXA9ImJ1dHQiIGRhdGEtY29sb3I9ImNvbG9yLTIiIGRhdGEtc3Ryb2tlPSJub25lIiBzdHJva2U9Im5vbmUiPjwvcGF0aD48L2c+PC9zdmc+",superscript:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIHBvaW50cz0iMC41IDQuNSAwLjUgMi41IDEwLjUgMi41IDEwLjUgNC41IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wb2x5bGluZT4gPGxpbmUgeDE9IjUuNSIgeTE9IjIuNSIgeDI9IjUuNSIgeTI9IjEzLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+IDxsaW5lIHgxPSIzLjUiIHkxPSIxMy41IiB4Mj0iNy41IiB5Mj0iMTMuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvbGluZT4gPHBhdGggZD0iTTE2LDQuMzI0SDEyLjkwN1YzLjU2NmwxLjA0LTEuMDUzcS40NDctLjQ2NS41ODQtLjYzNmExLjQzNywxLjQzNywwLDAsMCwuMTkxLS4yOTMuNjUuNjUsMCwwLDAsLjA1My0uMjU3LjMzNS4zMzUsMCwwLDAtLjEwNy0uMjYyLjQ0NC40NDQsMCwwLDAtLjMtLjEuODIuODIsMCwwLDAtLjQwNi4xMTUsMi45MzUsMi45MzUsMCwwLDAtLjQ2NS4zNEwxMi44Ni42ODJhMy40NTQsMy40NTQsMCwwLDEsLjU1NC0uNDIxQTEuOTcyLDEuOTcyLDAsMCwxLDEzLjkuMDY4LDIuMzU0LDIuMzU0LDAsMCwxLDE0LjUsMGExLjgsMS44LDAsMCwxLC43MzkuMTQ2LDEuMTU1LDEuMTU1LDAsMCwxLC41LjQxNiwxLjA2MywxLjA2MywwLDAsMSwuMTc5LjYsMS42MjcsMS42MjcsMCwwLDEtLjA2My40NjQsMS42NCwxLjY0LDAsMCwxLS4xOTMuNDE5LDIuOTQzLDIuOTQzLDAsMCwxLS4zNDkuNDMzcS0uMjE4LjIyNi0uOTI1Ljg2M3YuMDI5SDE2WiIgZGF0YS1jYXA9ImJ1dHQiIGRhdGEtY29sb3I9ImNvbG9yLTIiIGRhdGEtc3Ryb2tlPSJub25lIiBzdHJva2U9Im5vbmUiPjwvcGF0aD48L2c+PC9zdmc+",trash:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTIuNSw2LjV2NyBjMCwxLjEwNSwwLjg5NSwyLDIsMmg4YzEuMTA1LDAsMi0wLjg5NSwyLTJ2LTciLz4gPGxpbmUgZGF0YS1jb2xvcj0iY29sb3ItMiIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIxLjUiIHkxPSIzLjUiIHgyPSIxNS41IiB5Mj0iMy41Ii8+IDxwb2x5bGluZSBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgcG9pbnRzPSIgNi41LDMuNSA2LjUsMC41IDEwLjUsMC41IDEwLjUsMy41ICIvPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iOC41IiB5MT0iNy41IiB4Mj0iOC41IiB5Mj0iMTIuNSIvPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMTEuNSIgeTE9IjcuNSIgeDI9IjExLjUiIHkyPSIxMi41Ii8+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSI1LjUiIHkxPSI3LjUiIHgyPSI1LjUiIHkyPSIxMi41Ii8+IDwvZz48L3N2Zz4=",underline:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgeDE9IjAuNSIgeTE9IjE1LjUiIHgyPSIxNS41IiB5Mj0iMTUuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNvbG9yPSJjb2xvci0yIj48L2xpbmU+IDxwYXRoIGQ9Ik0xMi41LDEuNVY4QTQuNSw0LjUsMCwwLDEsOCwxMi41SDhBNC41LDQuNSwwLDAsMSwzLjUsOFYxLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L3BhdGg+IDxsaW5lIHgxPSIxLjUiIHkxPSIxLjUiIHgyPSI1LjUiIHkyPSIxLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+IDxsaW5lIHgxPSIxMC41IiB5MT0iMS41IiB4Mj0iMTQuNSIgeTI9IjEuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvbGluZT48L2c+PC9zdmc+",unlink:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEyLDlsMS45NzUtMi4wMjUgYzEuMzY3LTEuMzY3LDEuMzY3LTMuNTgzLDAtNC45NWwwLDBjLTEuMzY3LTEuMzY3LTMuNTgzLTEuMzY3LTQuOTUsMEw3LDQiIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik05LDEybC0yLjAyNSwxLjk3NSBjLTEuMzY3LDEuMzY3LTMuNTgzLDEuMzY3LTQuOTUsMGwwLDBjLTEuMzY3LTEuMzY3LTEuMzY3LTMuNTgzLDAtNC45NUw0LDciIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iNSIgeTE9IjExIiB4Mj0iMTEiIHkyPSI1IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEuNSIgeTE9IjEuNSIgeDI9IjQiIHkyPSI0IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyIiB5MT0iMTIiIHgyPSIxNC41IiB5Mj0iMTQuNSIgZGF0YS1jYXA9ImJ1dHQiIGRhdGEtY29sb3I9ImNvbG9yLTIiPjwvbGluZT4gPC9nPjwvc3ZnPg==",videoplayer:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlnb24gZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iNi41LDIuNSA2LjUsNy41IDEwLjUsNSAiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPGNpcmNsZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgY3g9IjguNSIgY3k9IjExLjUiIHI9IjIiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIyLjUiIHkxPSIxMS41IiB4Mj0iNi41IiB5Mj0iMTEuNSIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyLjUiIHkxPSIxMS41IiB4Mj0iMTMuNSIgeTI9IjExLjUiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTMgYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiIvPjwvZz48L3N2Zz4="},c=e=>{var t=!!a.hasOwnProperty(e.type)&&a[e.type];if(!t)return null;var r=e.title,c=e.className?"wprm-admin-icon ".concat(e.className):"wprm-admin-icon",u=!!e.hasOwnProperty("hidden")&&e.hidden;return u&&(r="",c+=" wprm-admin-icon-hidden"),n.createElement(o.Z,{content:r},n.createElement("span",{className:c,onClick:u?()=>{}:e.onClick},n.createElement(i.Z,{src:t})))}},34133:function(e,t,r){"use strict";var n=r(89526);t.Z=e=>n.createElement("div",{className:"wprm-admin-loader"})},95075:function(e,t,r){"use strict";var n=r(89526),i=r(20877);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.Z=e=>{if(!e.content)return e.children;var t=e.hasOwnProperty("style")?e.style:{};return n.createElement(i.Tooltip,{html:n.createElement("div",{dangerouslySetInnerHTML:{__html:e.content}}),popperOptions:{modifiers:{addZIndex:{enabled:!0,order:810,fn:e=>a(a({},e),{},{styles:a(a({},e.styles),{},{zIndex:1e5})})},preventOverflow:{boundariesElement:"window"}}},style:t},e.children)}},52082:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{S:function(){return c}});var a={};function c(e){return a.hasOwnProperty(e)?a[e]:e}window.hasOwnProperty("wprm_public")&&wprm_public.hasOwnProperty("translations")&&(a=i(i({},a),wprm_public.translations)),window.hasOwnProperty("wprm_admin")&&wprm_admin.hasOwnProperty("translations")&&(a=i(i({},a),wprm_admin.translations))},64403:function(e,t){var r;
2
  /*!
3
  Copyright (c) 2017 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
- */!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=i.apply(null,r);a&&e.push(a)}else if("object"===o)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},28641:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},13350:function(e,t,r){"use strict";var n=r(91140).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},9519:function(e){e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},83875:function(e,t,r){var n=r(52786);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},37190:function(e,t,r){var n=r(29580),i=r(35108),o=r(32565),a=function(e){return function(t,r,a){var c,u=n(t),s=i(u.length),l=o(a,s);if(e&&r!=r){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},54324:function(e,t,r){"use strict";var n=r(79044);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},5673:function(e,t,r){var n=r(7493),i=r(79044),o=r(40454),a=Object.defineProperty,c={},u=function(e){throw e};e.exports=function(e,t){if(o(c,e))return c[e];t||(t={});var r=[][e],s=!!o(t,"ACCESSORS")&&t.ACCESSORS,l=o(t,0)?t[0]:u,f=o(t,1)?t[1]:void 0;return c[e]=!!r&&!i((function(){if(s&&!n)return!0;var e={length:-1};s?a(e,1,{enumerable:!0,get:u}):e[1]=1,r.call(e,l,f)}))}},9637:function(e,t,r){var n=r(83875);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(a){var o=e.return;throw void 0!==o&&n(o.call(e)),a}}},8662:function(e,t,r){var n=r(52280)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(c){}return r}},79159:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},36994:function(e,t,r){var n=r(57301),i=r(79159),o=r(52280)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(r){}}(t=Object(e),o))?r:a?i(t):"Object"==(n=i(t))&&"function"==typeof t.callee?"Arguments":n}},73870:function(e,t,r){var n=r(40454),i=r(31561),o=r(66012),a=r(86385);e.exports=function(e,t){for(var r=i(t),c=a.f,u=o.f,s=0;s<r.length;s++){var l=r[s];n(e,l)||c(e,l,u(t,l))}}},15454:function(e,t,r){var n=r(52280)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(i){}}return!1}},45899:function(e,t,r){var n=r(7493),i=r(86385),o=r(69199);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},69199:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7493:function(e,t,r){var n=r(79044);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},92750:function(e,t,r){var n=r(98363),i=r(52786),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},53121:function(e,t,r){var n=r(82647);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},82647:function(e,t,r){var n=r(22773);e.exports=n("navigator","userAgent")||""},11197:function(e,t,r){var n,i,o=r(98363),a=r(82647),c=o.process,u=c&&c.versions,s=u&&u.v8;s?i=(n=s.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=n[1]),e.exports=i&&+i},48869:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},19882:function(e,t,r){var n=r(98363),i=r(66012).f,o=r(45899),a=r(35974),c=r(51621),u=r(73870),s=r(86291);e.exports=function(e,t){var r,l,f,p,d,h=e.target,m=e.global,v=e.stat;if(r=m?n:v?n[h]||c(h,{}):(n[h]||{}).prototype)for(l in t){if(p=t[l],f=e.noTargetGet?(d=i(r,l))&&d.value:r[l],!s(m?l:h+(v?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(e.sham||f&&f.sham)&&o(p,"sham",!0),a(r,l,p,e)}}},79044:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},81492:function(e,t,r){"use strict";r(39275);var n=r(35974),i=r(79044),o=r(52280),a=r(99749),c=r(45899),u=o("species"),s=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l="$0"==="a".replace(/./,"$0"),f=o("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),d=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));e.exports=function(e,t,r,f){var h=o(e),m=!i((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),v=m&&!i((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[h]=/./[h]),r.exec=function(){return t=!0,null},r[h](""),!t}));if(!m||!v||"replace"===e&&(!s||!l||p)||"split"===e&&!d){var y=/./[h],g=r(h,""[e],(function(e,t,r,n,i){return t.exec===a?m&&!i?{done:!0,value:y.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=g[0],w=g[1];n(String.prototype,e,b),n(RegExp.prototype,h,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}f&&c(RegExp.prototype[h],"sham",!0)}},98166:function(e,t,r){var n=r(28641);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},22773:function(e,t,r){var n=r(67290),i=r(98363),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},77193:function(e,t,r){var n=r(36994),i=r(44818),o=r(52280)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[n(e)]}},98363:function(e,t,r){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||Function("return this")()},40454:function(e){var t={}.hasOwnProperty;e.exports=function(e,r){return t.call(e,r)}},47505:function(e){e.exports={}},46271:function(e,t,r){var n=r(98363);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},47055:function(e,t,r){var n=r(22773);e.exports=n("document","documentElement")},67548:function(e,t,r){var n=r(7493),i=r(79044),o=r(92750);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},78609:function(e,t,r){var n=r(79044),i=r(79159),o="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},56429:function(e,t,r){var n=r(49415),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return i.call(e)}),e.exports=n.inspectSource},20821:function(e,t,r){var n,i,o,a=r(36830),c=r(98363),u=r(52786),s=r(45899),l=r(40454),f=r(50466),p=r(47505),d=c.WeakMap;if(a){var h=new d,m=h.get,v=h.has,y=h.set;n=function(e,t){return y.call(h,e,t),t},i=function(e){return m.call(h,e)||{}},o=function(e){return v.call(h,e)}}else{var g=f("state");p[g]=!0,n=function(e,t){return s(e,g,t),t},i=function(e){return l(e,g)?e[g]:{}},o=function(e){return l(e,g)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},68089:function(e,t,r){var n=r(52280),i=r(44818),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},86291:function(e,t,r){var n=r(79044),i=/#|\.prototype\./,o=function(e,t){var r=c[a(e)];return r==s||r!=u&&("function"==typeof t?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",s=o.POLYFILL="P";e.exports=o},52786:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},21178:function(e){e.exports=!1},42622:function(e,t,r){var n=r(52786),i=r(79159),o=r(52280)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},5166:function(e,t,r){var n=r(83875),i=r(68089),o=r(35108),a=r(98166),c=r(77193),u=r(9637),s=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,r,l,f){var p,d,h,m,v,y,g,b=a(t,r,l?2:1);if(f)p=e;else{if("function"!=typeof(d=c(e)))throw TypeError("Target is not iterable");if(i(d)){for(h=0,m=o(e.length);m>h;h++)if((v=l?b(n(g=e[h])[0],g[1]):b(e[h]))&&v instanceof s)return v;return new s(!1)}p=d.call(e)}for(y=p.next;!(g=y.call(p)).done;)if("object"==typeof(v=u(p,b,g.value,l))&&v&&v instanceof s)return v;return new s(!1)}).stop=function(e){return new s(!0,e)}},44818:function(e){e.exports={}},71800:function(e,t,r){var n,i,o,a,c,u,s,l,f=r(98363),p=r(66012).f,d=r(79159),h=r(84643).set,m=r(53121),v=f.MutationObserver||f.WebKitMutationObserver,y=f.process,g=f.Promise,b="process"==d(y),w=p(f,"queueMicrotask"),x=w&&w.value;x||(n=function(){var e,t;for(b&&(e=y.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(r){throw i?a():o=void 0,r}}o=void 0,e&&e.enter()},b?a=function(){y.nextTick(n)}:v&&!m?(c=!0,u=document.createTextNode(""),new v(n).observe(u,{characterData:!0}),a=function(){u.data=c=!c}):g&&g.resolve?(s=g.resolve(void 0),l=s.then,a=function(){l.call(s,n)}):a=function(){h.call(f,n)}),e.exports=x||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},58369:function(e,t,r){var n=r(98363);e.exports=n.Promise},3850:function(e,t,r){var n=r(79044);e.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},36830:function(e,t,r){var n=r(98363),i=r(56429),o=n.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},29269:function(e,t,r){"use strict";var n=r(28641),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},21049:function(e,t,r){var n=r(42622);e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},86385:function(e,t,r){var n=r(7493),i=r(67548),o=r(83875),a=r(21893),c=Object.defineProperty;t.f=n?c:function(e,t,r){if(o(e),t=a(t,!0),o(r),i)try{return c(e,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},66012:function(e,t,r){var n=r(7493),i=r(81513),o=r(69199),a=r(29580),c=r(21893),u=r(40454),s=r(67548),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=a(e),t=c(t,!0),s)try{return l(e,t)}catch(r){}if(u(e,t))return o(!i.f.call(e,t),e[t])}},87994:function(e,t,r){var n=r(18794),i=r(48869).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},89612:function(e,t){t.f=Object.getOwnPropertySymbols},18794:function(e,t,r){var n=r(40454),i=r(29580),o=r(37190).indexOf,a=r(47505);e.exports=function(e,t){var r,c=i(e),u=0,s=[];for(r in c)!n(a,r)&&n(c,r)&&s.push(r);for(;t.length>u;)n(c,r=t[u++])&&(~o(s,r)||s.push(r));return s}},81513:function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},31561:function(e,t,r){var n=r(22773),i=r(87994),o=r(89612),a=r(83875);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=o.f;return r?t.concat(r(e)):t}},67290:function(e,t,r){var n=r(98363);e.exports=n},74443:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},11621:function(e,t,r){var n=r(83875),i=r(52786),o=r(29269);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},7592:function(e,t,r){var n=r(35974);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},35974:function(e,t,r){var n=r(98363),i=r(45899),o=r(40454),a=r(51621),c=r(56429),u=r(20821),s=u.get,l=u.enforce,f=String(String).split("String");(e.exports=function(e,t,r,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof t||o(r,"name")||i(r,"name",t),l(r).source=f.join("string"==typeof t?t:"")),e!==n?(u?!p&&e[t]&&(s=!0):delete e[t],s?e[t]=r:i(e,t,r)):s?e[t]=r:a(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},94088:function(e,t,r){var n=r(79159),i=r(99749);e.exports=function(e,t){var r=e.exec;if("function"==typeof r){var o=r.call(e,t);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},99749:function(e,t,r){"use strict";var n,i,o=r(58083),a=r(97047),c=RegExp.prototype.exec,u=String.prototype.replace,s=c,l=(n=/a/,i=/b*/g,c.call(n,"a"),c.call(i,"a"),0!==n.lastIndex||0!==i.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(l||p||f)&&(s=function(e){var t,r,n,i,a=this,s=f&&a.sticky,d=o.call(a),h=a.source,m=0,v=e;return s&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),v=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(h="(?: "+h+")",v=" "+v,m++),r=new RegExp("^(?:"+h+")",d)),p&&(r=new RegExp("^"+h+"$(?!\\s)",d)),l&&(t=a.lastIndex),n=c.call(s?r:a,v),s?n?(n.input=n.input.slice(m),n[0]=n[0].slice(m),n.index=a.lastIndex,a.lastIndex+=n[0].length):a.lastIndex=0:l&&n&&(a.lastIndex=a.global?n.index+n[0].length:t),p&&n&&n.length>1&&u.call(n[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(n[i]=void 0)})),n}),e.exports=s},58083:function(e,t,r){"use strict";var n=r(83875);e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},97047:function(e,t,r){"use strict";var n=r(79044);function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=n((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},96411:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},51621:function(e,t,r){var n=r(98363),i=r(45899);e.exports=function(e,t){try{i(n,e,t)}catch(r){n[e]=t}return t}},57323:function(e,t,r){"use strict";var n=r(22773),i=r(86385),o=r(52280),a=r(7493),c=o("species");e.exports=function(e){var t=n(e),r=i.f;a&&t&&!t[c]&&r(t,c,{configurable:!0,get:function(){return this}})}},60878:function(e,t,r){var n=r(86385).f,i=r(40454),o=r(52280)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},50466:function(e,t,r){var n=r(53580),i=r(34524),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},49415:function(e,t,r){var n=r(98363),i=r(51621),o="__core-js_shared__",a=n[o]||i(o,{});e.exports=a},53580:function(e,t,r){var n=r(21178),i=r(49415);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},7270:function(e,t,r){var n=r(83875),i=r(28641),o=r(52280)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||null==(r=n(a)[o])?t:i(r)}},91140:function(e,t,r){var n=r(98330),i=r(96411),o=function(e){return function(t,r){var o,a,c=String(i(t)),u=n(r),s=c.length;return u<0||u>=s?e?"":void 0:(o=c.charCodeAt(u))<55296||o>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?e?c.charAt(u):o:e?c.slice(u,u+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},5167:function(e,t,r){var n=r(82647);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n)},98385:function(e,t,r){var n=r(35108),i=r(26031),o=r(96411),a=Math.ceil,c=function(e){return function(t,r,c){var u,s,l=String(o(t)),f=l.length,p=void 0===c?" ":String(c),d=n(r);return d<=f||""==p?l:(u=d-f,(s=i.call(p,a(u/p.length))).length>u&&(s=s.slice(0,u)),e?l+s:s+l)}};e.exports={start:c(!1),end:c(!0)}},26031:function(e,t,r){"use strict";var n=r(98330),i=r(96411);e.exports="".repeat||function(e){var t=String(i(this)),r="",o=n(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(r+=t);return r}},84643:function(e,t,r){var n,i,o,a=r(98363),c=r(79044),u=r(79159),s=r(98166),l=r(47055),f=r(92750),p=r(53121),d=a.location,h=a.setImmediate,m=a.clearImmediate,v=a.process,y=a.MessageChannel,g=a.Dispatch,b=0,w={},x="onreadystatechange",E=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},I=function(e){return function(){E(e)}},S=function(e){E(e.data)},M=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};h&&m||(h=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},m=function(e){delete w[e]},"process"==u(v)?n=function(e){v.nextTick(I(e))}:g&&g.now?n=function(e){g.now(I(e))}:y&&!p?(o=(i=new y).port2,i.port1.onmessage=S,n=s(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(M)||"file:"===d.protocol?n=x in f("script")?function(e){l.appendChild(f("script")).onreadystatechange=function(){l.removeChild(this),E(e)}}:function(e){setTimeout(I(e),0)}:(n=M,a.addEventListener("message",S,!1))),e.exports={set:h,clear:m}},32565:function(e,t,r){var n=r(98330),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},29580:function(e,t,r){var n=r(78609),i=r(96411);e.exports=function(e){return n(i(e))}},98330:function(e){var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},35108:function(e,t,r){var n=r(98330),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},30744:function(e,t,r){var n=r(96411);e.exports=function(e){return Object(n(e))}},21893:function(e,t,r){var n=r(52786);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},57301:function(e,t,r){var n={};n[r(52280)("toStringTag")]="z",e.exports="[object z]"===String(n)},34524:function(e){var t=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+r).toString(36)}},189:function(e,t,r){var n=r(3850);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},52280:function(e,t,r){var n=r(98363),i=r(53580),o=r(40454),a=r(34524),c=r(3850),u=r(189),s=i("wks"),l=n.Symbol,f=u?l:l&&l.withoutSetter||a;e.exports=function(e){return o(s,e)||(c&&o(l,e)?s[e]=l[e]:s[e]=f("Symbol."+e)),s[e]}},31807:function(e,t,r){"use strict";var n=r(19882),i=r(37190).indexOf,o=r(54324),a=r(5673),c=[].indexOf,u=!!c&&1/[1].indexOf(1,-0)<0,s=o("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:u||!s||!l},{indexOf:function(e){return u?c.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},35054:function(e,t,r){"use strict";var n,i,o,a,c=r(19882),u=r(21178),s=r(98363),l=r(22773),f=r(58369),p=r(35974),d=r(7592),h=r(60878),m=r(57323),v=r(52786),y=r(28641),g=r(9519),b=r(79159),w=r(56429),x=r(5166),E=r(8662),I=r(7270),S=r(84643).set,M=r(71800),O=r(11621),k=r(46271),j=r(29269),T=r(74443),D=r(20821),A=r(86291),_=r(52280),N=r(11197),P=_("species"),C="Promise",L=D.get,R=D.set,B=D.getterFor(C),U=f,z=s.TypeError,H=s.document,G=s.process,W=l("fetch"),q=j.f,Z=q,F="process"==b(G),V=!!(H&&H.createEvent&&s.dispatchEvent),J="unhandledrejection",Y=A(C,(function(){if(!(w(U)!==String(U))){if(66===N)return!0;if(!F&&"function"!=typeof PromiseRejectionEvent)return!0}if(u&&!U.prototype.finally)return!0;if(N>=51&&/native code/.test(U))return!1;var e=U.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[P]=t,!(e.then((function(){}))instanceof t)})),X=Y||!E((function(e){U.all(e).catch((function(){}))})),Q=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},$=function(e,t,r){if(!t.notified){t.notified=!0;var n=t.reactions;M((function(){for(var i=t.value,o=1==t.state,a=0;n.length>a;){var c,u,s,l=n[a++],f=o?l.ok:l.fail,p=l.resolve,d=l.reject,h=l.domain;try{f?(o||(2===t.rejection&&re(e,t),t.rejection=1),!0===f?c=i:(h&&h.enter(),c=f(i),h&&(h.exit(),s=!0)),c===l.promise?d(z("Promise-chain cycle")):(u=Q(c))?u.call(c,p,d):p(c)):d(i)}catch(m){h&&!s&&h.exit(),d(m)}}t.reactions=[],t.notified=!1,r&&!t.rejection&&ee(e,t)}))}},K=function(e,t,r){var n,i;V?((n=H.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),s.dispatchEvent(n)):n={promise:t,reason:r},(i=s["on"+e])?i(n):e===J&&k("Unhandled promise rejection",r)},ee=function(e,t){S.call(s,(function(){var r,n=t.value;if(te(t)&&(r=T((function(){F?G.emit("unhandledRejection",n,e):K(J,e,n)})),t.rejection=F||te(t)?2:1,r.error))throw r.value}))},te=function(e){return 1!==e.rejection&&!e.parent},re=function(e,t){S.call(s,(function(){F?G.emit("rejectionHandled",e):K("rejectionhandled",e,t.value)}))},ne=function(e,t,r,n){return function(i){e(t,r,i,n)}},ie=function(e,t,r,n){t.done||(t.done=!0,n&&(t=n),t.value=r,t.state=2,$(e,t,!0))},oe=function(e,t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(e===r)throw z("Promise can't be resolved itself");var i=Q(r);i?M((function(){var n={done:!1};try{i.call(r,ne(oe,e,n,t),ne(ie,e,n,t))}catch(o){ie(e,n,o,t)}})):(t.value=r,t.state=1,$(e,t,!1))}catch(o){ie(e,{done:!1},o,t)}}};Y&&(U=function(e){g(this,U,C),y(e),n.call(this);var t=L(this);try{e(ne(oe,this,t),ne(ie,this,t))}catch(r){ie(this,t,r)}},(n=function(e){R(this,{type:C,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(U.prototype,{then:function(e,t){var r=B(this),n=q(I(this,U));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=F?G.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&$(this,r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=L(e);this.promise=e,this.resolve=ne(oe,e,t),this.reject=ne(ie,e,t)},j.f=q=function(e){return e===U||e===o?new i(e):Z(e)},u||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(e,t){var r=this;return new U((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof W&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return O(U,W.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:Y},{Promise:U}),h(U,C,!1,!0),m(C),o=l(C),c({target:C,stat:!0,forced:Y},{reject:function(e){var t=q(this);return t.reject.call(void 0,e),t.promise}}),c({target:C,stat:!0,forced:u||Y},{resolve:function(e){return O(u&&this===o?U:this,e)}}),c({target:C,stat:!0,forced:X},{all:function(e){var t=this,r=q(t),n=r.resolve,i=r.reject,o=T((function(){var r=y(t.resolve),o=[],a=0,c=1;x(e,(function(e){var u=a++,s=!1;o.push(void 0),c++,r.call(t,e).then((function(e){s||(s=!0,o[u]=e,--c||n(o))}),i)})),--c||n(o)}));return o.error&&i(o.value),r.promise},race:function(e){var t=this,r=q(t),n=r.reject,i=T((function(){var i=y(t.resolve);x(e,(function(e){i.call(t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},39275:function(e,t,r){"use strict";var n=r(19882),i=r(99749);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},19985:function(e,t,r){"use strict";var n=r(19882),i=r(21049),o=r(96411);n({target:"String",proto:!0,forced:!r(15454)("includes")},{includes:function(e){return!!~String(o(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},21682:function(e,t,r){"use strict";var n=r(19882),i=r(98385).start;n({target:"String",proto:!0,forced:r(5167)},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},22321:function(e,t,r){"use strict";var n=r(81492),i=r(83875),o=r(30744),a=r(35108),c=r(98330),u=r(96411),s=r(13350),l=r(94088),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(e,t,r,n){var v=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=n.REPLACE_KEEPS_$0,g=v?"$":"$0";return[function(r,n){var i=u(this),o=null==r?void 0:r[e];return void 0!==o?o.call(r,i,n):t.call(String(i),r,n)},function(e,n){if(!v&&y||"string"==typeof n&&-1===n.indexOf(g)){var o=r(t,e,this,n);if(o.done)return o.value}var u=i(e),d=String(this),h="function"==typeof n;h||(n=String(n));var m=u.global;if(m){var w=u.unicode;u.lastIndex=0}for(var x=[];;){var E=l(u,d);if(null===E)break;if(x.push(E),!m)break;""===String(E[0])&&(u.lastIndex=s(d,a(u.lastIndex),w))}for(var I,S="",M=0,O=0;O<x.length;O++){E=x[O];for(var k=String(E[0]),j=f(p(c(E.index),d.length),0),T=[],D=1;D<E.length;D++)T.push(void 0===(I=E[D])?I:String(I));var A=E.groups;if(h){var _=[k].concat(T,j,d);void 0!==A&&_.push(A);var N=String(n.apply(void 0,_))}else N=b(k,d,j,T,A,n);j>=M&&(S+=d.slice(M,j)+N,M=j+k.length)}return S+d.slice(M)}];function b(e,r,n,i,a,c){var u=n+e.length,s=i.length,l=m;return void 0!==a&&(a=o(a),l=h),t.call(c,l,(function(t,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return r.slice(0,n);case"'":return r.slice(u);case"<":c=a[o.slice(1,-1)];break;default:var l=+o;if(0===l)return t;if(l>s){var f=d(l/10);return 0===f?t:f<=s?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):t}c=i[l-1]}return void 0===c?"":c}))}}))},68598:function(e){var t={px:{px:1,cm:96/2.54,mm:96/25.4,in:96,pt:96/72,pc:16},cm:{px:2.54/96,cm:1,mm:.1,in:2.54,pt:2.54/72,pc:2.54/6},mm:{px:25.4/96,cm:10,mm:1,in:25.4,pt:25.4/72,pc:25.4/6},in:{px:1/96,cm:1/2.54,mm:1/25.4,in:1,pt:1/72,pc:1/6},pt:{px:.75,cm:72/2.54,mm:72/25.4,in:72,pt:1,pc:12},pc:{px:6/96,cm:6/2.54,mm:6/25.4,in:6,pt:6/72,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:400/360,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:2*Math.PI},turn:{deg:1/360,grad:1/400,rad:.5/Math.PI,turn:1},s:{s:1,ms:.001},ms:{s:1e3,ms:1},Hz:{Hz:1,kHz:1e3},kHz:{Hz:.001,kHz:1},dpi:{dpi:1,dpcm:1/2.54,dppx:1/96},dpcm:{dpi:2.54,dpcm:1,dppx:2.54/96},dppx:{dpi:96,dpcm:96/2.54,dppx:1}};e.exports=function(e,r,n,i){if(!t.hasOwnProperty(n))throw new Error("Cannot convert to "+n);if(!t[n].hasOwnProperty(r))throw new Error("Cannot convert from "+r+" to "+n);return i=Math.pow(10,parseInt(i)||5),Math.round(t[n][r]*e*i)/i}},26058:function(e,t,r){var n;/*! decimal.js-light v2.5.1 https://github.com/MikeMcl/decimal.js-light/LICENCE */!function(i){"use strict";var o,a=1e9,c={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},u=!0,s="[DecimalError] ",l=s+"Invalid argument: ",f=s+"Exponent out of range: ",p=Math.floor,d=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,m=1e7,v=9007199254740991,y=p(1286742750677284.5),g={};function b(e,t){var r,n,i,o,a,c,s,l,f=e.constructor,p=f.precision;if(!e.s||!t.s)return t.s||(t=new f(e)),u?T(t,p):t;if(s=e.d,l=t.d,a=e.e,i=t.e,s=s.slice(),o=a-i){for(o<0?(n=s,o=-o,c=l.length):(n=l,i=a,c=s.length),o>(c=(a=Math.ceil(p/7))>c?a+1:c+1)&&(o=c,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for((c=s.length)-(o=l.length)<0&&(o=c,n=l,l=s,s=n),r=0;o;)r=(s[--o]=s[o]+l[o]+r)/m|0,s[o]%=m;for(r&&(s.unshift(r),++i),c=s.length;0==s[--c];)s.pop();return t.d=s,t.e=i,u?T(t,p):t}function w(e,t,r){if(e!==~~e||e<t||e>r)throw Error(l+e)}function x(e){var t,r,n,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;t<i;t++)(r=7-(n=e[t]+"").length)&&(o+=O(r)),o+=n;(r=7-(n=(a=e[t])+"").length)&&(o+=O(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}g.absoluteValue=g.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},g.comparedTo=g.cmp=function(e){var t,r,n,i,o=this;if(e=new o.constructor(e),o.s!==e.s)return o.s||-e.s;if(o.e!==e.e)return o.e>e.e^o.s<0?1:-1;for(t=0,r=(n=o.d.length)<(i=e.d.length)?n:i;t<r;++t)if(o.d[t]!==e.d[t])return o.d[t]>e.d[t]^o.s<0?1:-1;return n===i?0:n>i^o.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this,t=e.d.length-1,r=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)r--;return r<0?0:r},g.dividedBy=g.div=function(e){return E(this,new this.constructor(e))},g.dividedToIntegerBy=g.idiv=function(e){var t=this.constructor;return T(E(this,new t(e),0,1),t.precision)},g.equals=g.eq=function(e){return!this.cmp(e)},g.exponent=function(){return S(this)},g.greaterThan=g.gt=function(e){return this.cmp(e)>0},g.greaterThanOrEqualTo=g.gte=function(e){return this.cmp(e)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return 0===this.s},g.lessThan=g.lt=function(e){return this.cmp(e)<0},g.lessThanOrEqualTo=g.lte=function(e){return this.cmp(e)<1},g.logarithm=g.log=function(e){var t,r=this,n=r.constructor,i=n.precision,a=i+5;if(void 0===e)e=new n(10);else if((e=new n(e)).s<1||e.eq(o))throw Error(s+"NaN");if(r.s<1)throw Error(s+(r.s?"NaN":"-Infinity"));return r.eq(o)?new n(0):(u=!1,t=E(k(r,a),k(e,a),a),u=!0,T(t,i))},g.minus=g.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?D(t,e):b(t,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(!(e=new n(e)).s)throw Error(s+"NaN");return r.s?(u=!1,t=E(r,e,0,1).times(e),u=!0,r.minus(t)):T(new n(r),i)},g.naturalExponential=g.exp=function(){return I(this)},g.naturalLogarithm=g.ln=function(){return k(this)},g.negated=g.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},g.plus=g.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?b(t,e):D(t,(e.s=-e.s,e))},g.precision=g.sd=function(e){var t,r,n,i=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(l+e);if(t=S(i)+1,r=7*(n=i.d.length-1)+1,n=i.d[n]){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return e&&t>r?t:r},g.squareRoot=g.sqrt=function(){var e,t,r,n,i,o,a,c=this,l=c.constructor;if(c.s<1){if(!c.s)return new l(0);throw Error(s+"NaN")}for(e=S(c),u=!1,0==(i=Math.sqrt(+c))||i==1/0?(((t=x(c.d)).length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=p((e+1)/2)-(e<0||e%2),n=new l(t=i==1/0?"5e"+e:(t=i.toExponential()).slice(0,t.indexOf("e")+1)+e)):n=new l(i.toString()),i=a=(r=l.precision)+3;;)if(n=(o=n).plus(E(c,o,a+2)).times(.5),x(o.d).slice(0,a)===(t=x(n.d)).slice(0,a)){if(t=t.slice(a-3,a+1),i==a&&"4999"==t){if(T(o,r+1,0),o.times(o).eq(c)){n=o;break}}else if("9999"!=t)break;a+=4}return u=!0,T(n,r)},g.times=g.mul=function(e){var t,r,n,i,o,a,c,s,l,f=this,p=f.constructor,d=f.d,h=(e=new p(e)).d;if(!f.s||!e.s)return new p(0);for(e.s*=f.s,r=f.e+e.e,(s=d.length)<(l=h.length)&&(o=d,d=h,h=o,a=s,s=l,l=a),o=[],n=a=s+l;n--;)o.push(0);for(n=l;--n>=0;){for(t=0,i=s+n;i>n;)c=o[i]+h[n]*d[i-n-1]+t,o[i--]=c%m|0,t=c/m|0;o[i]=(o[i]+t)%m|0}for(;!o[--a];)o.pop();return t?++r:o.shift(),e.d=o,e.e=r,u?T(e,p.precision):e},g.toDecimalPlaces=g.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),void 0===e?r:(w(e,0,a),void 0===t?t=n.rounding:w(t,0,8),T(r,e+S(r)+1,t))},g.toExponential=function(e,t){var r,n=this,i=n.constructor;return void 0===e?r=A(n,!0):(w(e,0,a),void 0===t?t=i.rounding:w(t,0,8),r=A(n=T(new i(n),e+1,t),!0,e+1)),r},g.toFixed=function(e,t){var r,n,i=this,o=i.constructor;return void 0===e?A(i):(w(e,0,a),void 0===t?t=o.rounding:w(t,0,8),r=A((n=T(new o(i),e+S(i)+1,t)).abs(),!1,e+S(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)},g.toInteger=g.toint=function(){var e=this,t=e.constructor;return T(new t(e),S(e)+1,t.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(e){var t,r,n,i,a,c,l=this,f=l.constructor,d=+(e=new f(e));if(!e.s)return new f(o);if(!(l=new f(l)).s){if(e.s<1)throw Error(s+"Infinity");return l}if(l.eq(o))return l;if(n=f.precision,e.eq(o))return T(l,n);if(c=(t=e.e)>=(r=e.d.length-1),a=l.s,c){if((r=d<0?-d:d)<=v){for(i=new f(o),t=Math.ceil(n/7+4),u=!1;r%2&&_((i=i.times(l)).d,t),0!==(r=p(r/2));)_((l=l.times(l)).d,t);return u=!0,e.s<0?new f(o).div(i):T(i,n)}}else if(a<0)throw Error(s+"NaN");return a=a<0&&1&e.d[Math.max(t,r)]?-1:1,l.s=1,u=!1,i=e.times(k(l,n+12)),u=!0,(i=I(i)).s=a,i},g.toPrecision=function(e,t){var r,n,i=this,o=i.constructor;return void 0===e?n=A(i,(r=S(i))<=o.toExpNeg||r>=o.toExpPos):(w(e,1,a),void 0===t?t=o.rounding:w(t,0,8),n=A(i=T(new o(i),e,t),e<=(r=S(i))||r<=o.toExpNeg,e)),n},g.toSignificantDigits=g.tosd=function(e,t){var r=this.constructor;return void 0===e?(e=r.precision,t=r.rounding):(w(e,1,a),void 0===t?t=r.rounding:w(t,0,8)),T(new r(this),e,t)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=this,t=S(e),r=e.constructor;return A(e,t<=r.toExpNeg||t>=r.toExpPos)};var E=function(){function e(e,t){var r,n=0,i=e.length;for(e=e.slice();i--;)r=e[i]*t+n,e[i]=r%m|0,n=r/m|0;return n&&e.unshift(n),e}function t(e,t,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function r(e,t,r){for(var n=0;r--;)e[r]-=n,n=e[r]<t[r]?1:0,e[r]=n*m+e[r]-t[r];for(;!e[0]&&e.length>1;)e.shift()}return function(n,i,o,a){var c,u,l,f,p,d,h,v,y,g,b,w,x,E,I,M,O,k,j=n.constructor,D=n.s==i.s?1:-1,A=n.d,_=i.d;if(!n.s)return new j(n);if(!i.s)throw Error(s+"Division by zero");for(u=n.e-i.e,O=_.length,I=A.length,v=(h=new j(D)).d=[],l=0;_[l]==(A[l]||0);)++l;if(_[l]>(A[l]||0)&&--u,(w=null==o?o=j.precision:a?o+(S(n)-S(i))+1:o)<0)return new j(0);if(w=w/7+2|0,l=0,1==O)for(f=0,_=_[0],w++;(l<I||f)&&w--;l++)x=f*m+(A[l]||0),v[l]=x/_|0,f=x%_|0;else{for((f=m/(_[0]+1)|0)>1&&(_=e(_,f),A=e(A,f),O=_.length,I=A.length),E=O,g=(y=A.slice(0,O)).length;g<O;)y[g++]=0;(k=_.slice()).unshift(0),M=_[0],_[1]>=m/2&&++M;do{f=0,(c=t(_,y,O,g))<0?(b=y[0],O!=g&&(b=b*m+(y[1]||0)),(f=b/M|0)>1?(f>=m&&(f=m-1),1==(c=t(p=e(_,f),y,d=p.length,g=y.length))&&(f--,r(p,O<d?k:_,d))):(0==f&&(c=f=1),p=_.slice()),(d=p.length)<g&&p.unshift(0),r(y,p,g),-1==c&&(c=t(_,y,O,g=y.length))<1&&(f++,r(y,O<g?k:_,g)),g=y.length):0===c&&(f++,y=[0]),v[l++]=f,c&&y[0]?y[g++]=A[E]||0:(y=[A[E]],g=1)}while((E++<I||void 0!==y[0])&&w--)}return v[0]||v.shift(),h.e=u,T(h,a?o+S(h)+1:o)}}();function I(e,t){var r,n,i,a,c,s=0,l=0,p=e.constructor,h=p.precision;if(S(e)>16)throw Error(f+S(e));if(!e.s)return new p(o);for(null==t?(u=!1,c=h):c=t,a=new p(.03125);e.abs().gte(.1);)e=e.times(a),l+=5;for(c+=Math.log(d(2,l))/Math.LN10*2+5|0,r=n=i=new p(o),p.precision=c;;){if(n=T(n.times(e),c),r=r.times(++s),x((a=i.plus(E(n,r,c))).d).slice(0,c)===x(i.d).slice(0,c)){for(;l--;)i=T(i.times(i),c);return p.precision=h,null==t?(u=!0,T(i,h)):i}i=a}}function S(e){for(var t=7*e.e,r=e.d[0];r>=10;r/=10)t++;return t}function M(e,t,r){if(t>e.LN10.sd())throw u=!0,r&&(e.precision=r),Error(s+"LN10 precision limit exceeded");return T(new e(e.LN10),t)}function O(e){for(var t="";e--;)t+="0";return t}function k(e,t){var r,n,i,a,c,l,f,p,d,h=1,m=e,v=m.d,y=m.constructor,g=y.precision;if(m.s<1)throw Error(s+(m.s?"NaN":"-Infinity"));if(m.eq(o))return new y(0);if(null==t?(u=!1,p=g):p=t,m.eq(10))return null==t&&(u=!0),M(y,p);if(p+=10,y.precision=p,n=(r=x(v)).charAt(0),a=S(m),!(Math.abs(a)<15e14))return f=M(y,p+2,g).times(a+""),m=k(new y(n+"."+r.slice(1)),p-10).plus(f),y.precision=g,null==t?(u=!0,T(m,g)):m;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=x((m=m.times(e)).d)).charAt(0),h++;for(a=S(m),n>1?(m=new y("0."+r),a++):m=new y(n+"."+r.slice(1)),l=c=m=E(m.minus(o),m.plus(o),p),d=T(m.times(m),p),i=3;;){if(c=T(c.times(d),p),x((f=l.plus(E(c,new y(i),p))).d).slice(0,p)===x(l.d).slice(0,p))return l=l.times(2),0!==a&&(l=l.plus(M(y,p+2,g).times(a+""))),l=E(l,new y(h),p),y.precision=g,null==t?(u=!0,T(l,g)):l;l=f,i+=2}}function j(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;48===t.charCodeAt(n);)++n;for(i=t.length;48===t.charCodeAt(i-1);)--i;if(t=t.slice(n,i)){if(i-=n,r=r-n-1,e.e=p(r/7),e.d=[],n=(r+1)%7,r<0&&(n+=7),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=7;n<i;)e.d.push(+t.slice(n,n+=7));n=7-(t=t.slice(n)).length}else n-=i;for(;n--;)t+="0";if(e.d.push(+t),u&&(e.e>y||e.e<-y))throw Error(f+r)}else e.s=0,e.e=0,e.d=[0];return e}function T(e,t,r){var n,i,o,a,c,s,l,h,v=e.d;for(a=1,o=v[0];o>=10;o/=10)a++;if((n=t-a)<0)n+=7,i=t,l=v[h=0];else{if((h=Math.ceil((n+1)/7))>=(o=v.length))return e;for(l=o=v[h],a=1;o>=10;o/=10)a++;i=(n%=7)-7+a}if(void 0!==r&&(c=l/(o=d(10,a-i-1))%10|0,s=t<0||void 0!==v[h+1]||l%o,s=r<4?(c||s)&&(0==r||r==(e.s<0?3:2)):c>5||5==c&&(4==r||s||6==r&&(n>0?i>0?l/d(10,a-i):0:v[h-1])%10&1||r==(e.s<0?8:7))),t<1||!v[0])return s?(o=S(e),v.length=1,t=t-o-1,v[0]=d(10,(7-t%7)%7),e.e=p(-t/7)||0):(v.length=1,v[0]=e.e=e.s=0),e;if(0==n?(v.length=h,o=1,h--):(v.length=h+1,o=d(10,7-n),v[h]=i>0?(l/d(10,a-i)%d(10,i)|0)*o:0),s)for(;;){if(0==h){(v[0]+=o)==m&&(v[0]=1,++e.e);break}if(v[h]+=o,v[h]!=m)break;v[h--]=0,o=1}for(n=v.length;0===v[--n];)v.pop();if(u&&(e.e>y||e.e<-y))throw Error(f+S(e));return e}function D(e,t){var r,n,i,o,a,c,s,l,f,p,d=e.constructor,h=d.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new d(e),u?T(t,h):t;if(s=e.d,p=t.d,n=t.e,l=e.e,s=s.slice(),a=l-n){for((f=a<0)?(r=s,a=-a,c=p.length):(r=p,n=l,c=s.length),a>(i=Math.max(Math.ceil(h/7),c)+2)&&(a=i,r.length=1),r.reverse(),i=a;i--;)r.push(0);r.reverse()}else{for((f=(i=s.length)<(c=p.length))&&(c=i),i=0;i<c;i++)if(s[i]!=p[i]){f=s[i]<p[i];break}a=0}for(f&&(r=s,s=p,p=r,t.s=-t.s),c=s.length,i=p.length-c;i>0;--i)s[c++]=0;for(i=p.length;i>a;){if(s[--i]<p[i]){for(o=i;o&&0===s[--o];)s[o]=m-1;--s[o],s[i]+=m}s[i]-=p[i]}for(;0===s[--c];)s.pop();for(;0===s[0];s.shift())--n;return s[0]?(t.d=s,t.e=n,u?T(t,h):t):new d(0)}function A(e,t,r){var n,i=S(e),o=x(e.d),a=o.length;return t?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+O(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+O(-i-1)+o,r&&(n=r-a)>0&&(o+=O(n))):i>=a?(o+=O(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+O(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=O(n))),e.s<0?"-"+o:o}function _(e,t){if(e.length>t)return e.length=t,!0}function N(e){if(!e||"object"!=typeof e)throw Error(s+"Object expected");var t,r,n,i=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if(void 0!==(n=e[r=i[t]])){if(!(p(n)===n&&n>=i[t+1]&&n<=i[t+2]))throw Error(l+r+": "+n);this[r]=n}if(void 0!==(n=e[r="LN10"])){if(n!=Math.LN10)throw Error(l+r+": "+n);this[r]=new this(n)}return this}(c=function e(t){var r,n,i;function o(e){var t=this;if(!(t instanceof o))return new o(e);if(t.constructor=o,e instanceof o)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(l+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):j(t,e.toString())}if("string"!=typeof e)throw Error(l+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!h.test(e))throw Error(l+e);j(t,e)}if(o.prototype=g,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=e,o.config=o.set=N,void 0===t&&(t={}),t)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<i.length;)t.hasOwnProperty(n=i[r++])||(t[n]=this[n]);return o.config(t),o}(c)).default=c.Decimal=c,o=new c(1),void 0===(n=function(){return c}.call(t,r,t,e))||(e.exports=n)}()},37941:function(e,t,r){var n;
7
  /*!
8
  Copyright (c) 2015 Jed Watson.
9
  Based on code that is Copyright 2013-2015, Facebook, Inc.
10
  All rights reserved.
11
- */!function(){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0===(n=function(){return o}.call(t,r,t,e))||(e.exports=n)}()},44287:function(e,t){!function(e){"use strict";var t="function"==typeof WeakSet,r=Object.keys;function n(e,t){return e===t||e!=e&&t!=t}function i(e){return e.constructor===Object||null==e.constructor}function o(e){return!!e&&"function"==typeof e.then}function a(e){return!(!e||!e.$$typeof)}function c(){var e=[];return{add:function(t){e.push(t)},has:function(t){return-1!==e.indexOf(t)}}}var u=t?function(){return new WeakSet}:c;function s(e){return function(t){var r=e||t;return function(e,t,n){void 0===n&&(n=u());var i=!!e&&"object"==typeof e,o=!!t&&"object"==typeof t;if(i||o){var a=i&&n.has(e),c=o&&n.has(t);if(a||c)return a&&c;i&&n.add(e),o&&n.add(t)}return r(e,t,n)}}}function l(e,t,r,n){var i=e.length;if(t.length!==i)return!1;for(;i-- >0;)if(!r(e[i],t[i],n))return!1;return!0}function f(e,t,r,n){var i=e.size===t.size;return i&&e.size&&e.forEach((function(e,o){i&&(i=!1,t.forEach((function(t,a){!i&&r(o,a,n)&&(i=r(e,t,n))})))})),i}var p="_owner",d=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);function h(e,t,n,i){var o=r(e),c=o.length;if(r(t).length!==c)return!1;if(c)for(var u=void 0;c-- >0;){if((u=o[c])===p){var s=a(e),l=a(t);if((s||l)&&s!==l)return!1}if(!d(t,u)||!n(e[u],t[u],i))return!1}return!0}function m(e,t){return e.source===t.source&&e.global===t.global&&e.ignoreCase===t.ignoreCase&&e.multiline===t.multiline&&e.unicode===t.unicode&&e.sticky===t.sticky&&e.lastIndex===t.lastIndex}function v(e,t,r,n){var i=e.size===t.size;return i&&e.size&&e.forEach((function(e){i&&(i=!1,t.forEach((function(t){i||(i=r(e,t,n))})))})),i}var y="function"==typeof Map,g="function"==typeof Set;function b(e){var t="function"==typeof e?e(r):r;function r(e,r,a){if(e===r)return!0;if(e&&r&&"object"==typeof e&&"object"==typeof r){if(i(e)&&i(r))return h(e,r,t,a);var c=Array.isArray(e),u=Array.isArray(r);return c||u?c===u&&l(e,r,t,a):(c=e instanceof Date,u=r instanceof Date,c||u?c===u&&n(e.getTime(),r.getTime()):(c=e instanceof RegExp,u=r instanceof RegExp,c||u?c===u&&m(e,r):o(e)||o(r)?e===r:y&&(c=e instanceof Map,u=r instanceof Map,c||u)?c===u&&f(e,r,t,a):g&&(c=e instanceof Set,u=r instanceof Set,c||u)?c===u&&v(e,r,t,a):h(e,r,t,a)))}return e!=e&&r!=r}return r}var w=b(),x=b((function(){return n})),E=b(s()),I=b(s(n));e.circularDeepEqual=E,e.circularShallowEqual=I,e.createCustomEqual=b,e.deepEqual=w,e.sameValueZeroEqual=n,e.shallowEqual=x,Object.defineProperty(e,"__esModule",{value:!0})}(t)},2778:function(e,t,r){var n;/*! https://mths.be/he v1.2.0 by @mathias | MIT license */e=r.nmd(e),function(i){var o=t,a=(e&&e.exports,"object"==typeof r.g&&r.g);a.global!==a&&a.window;var c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=/[\x01-\x7F]/g,s=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,f={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},p=/["&'<>`]/g,d={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},h=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,m=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,v=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,y={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},g={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},b={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},w=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],x=String.fromCharCode,E={}.hasOwnProperty,I=function(e,t){return E.call(e,t)},S=function(e,t){if(!e)return t;var r,n={};for(r in t)n[r]=I(e,r)?e[r]:t[r];return n},M=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&j("character reference outside the permissible Unicode range"),"�"):I(b,e)?(t&&j("disallowed character reference"),b[e]):(t&&function(e,t){for(var r=-1,n=e.length;++r<n;)if(e[r]==t)return!0;return!1}(w,e)&&j("disallowed character reference"),e>65535&&(r+=x((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=x(e))},O=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},k=function(e){return"&#"+e+";"},j=function(e){throw Error("Parse error: "+e)},T=function(e,t){(t=S(t,T.options)).strict&&m.test(e)&&j("forbidden code point");var r=t.encodeEverything,n=t.useNamedReferences,i=t.allowUnsafeSymbols,o=t.decimal?k:O,a=function(e){return o(e.charCodeAt(0))};return r?(e=e.replace(u,(function(e){return n&&I(f,e)?"&"+f[e]+";":a(e)})),n&&(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),n&&(e=e.replace(l,(function(e){return"&"+f[e]+";"})))):n?(i||(e=e.replace(p,(function(e){return"&"+f[e]+";"}))),e=(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(l,(function(e){return"&"+f[e]+";"}))):i||(e=e.replace(p,a)),e.replace(c,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return o(1024*(t-55296)+r-56320+65536)})).replace(s,a)};T.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var D=function(e,t){var r=(t=S(t,D.options)).strict;return r&&h.test(e)&&j("malformed character reference"),e.replace(v,(function(e,n,i,o,a,c,u,s,l){var f,p,d,h,m,v;return n?y[m=n]:i?(m=i,(v=o)&&t.isAttributeValue?(r&&"="==v&&j("`&` did not start a character reference"),e):(r&&j("named character reference was not terminated by a semicolon"),g[m]+(v||""))):a?(d=a,p=c,r&&!p&&j("character reference was not terminated by a semicolon"),f=parseInt(d,10),M(f,r)):u?(h=u,p=s,r&&!p&&j("character reference was not terminated by a semicolon"),f=parseInt(h,16),M(f,r)):(r&&j("named character reference was not terminated by a semicolon"),e)}))};D.options={isAttributeValue:!1,strict:!1};var A={version:"1.2.0",encode:T,decode:D,escape:function(e){return e.replace(p,(function(e){return d[e]}))},unescape:D};void 0===(n=function(){return A}.call(t,r,t,e))||(e.exports=n)}()},18492:function(e,t,r){var n=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,c=parseInt,u="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,s="object"==typeof self&&self&&self.Object===Object&&self,l=u||s||Function("return this")(),f=Object.prototype.toString,p=Math.max,d=Math.min,h=function(){return l.Date.now()};function m(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]"==f.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var r=o.test(e);return r||a.test(e)?c(e.slice(2),r?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,r){var n,i,o,a,c,u,s=0,l=!1,f=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var r=n,o=i;return n=i=void 0,s=t,a=e.apply(o,r)}function b(e){return s=e,c=setTimeout(x,t),l?g(e):a}function w(e){var r=e-u;return void 0===u||r>=t||r<0||f&&e-s>=o}function x(){var e=h();if(w(e))return E(e);c=setTimeout(x,function(e){var r=t-(e-u);return f?d(r,o-(e-s)):r}(e))}function E(e){return c=void 0,y&&n?g(e):(n=i=void 0,a)}function I(){var e=h(),r=w(e);if(n=arguments,i=this,u=e,r){if(void 0===c)return b(u);if(f)return c=setTimeout(x,t),g(u)}return void 0===c&&(c=setTimeout(x,t)),a}return t=v(t)||0,m(r)&&(l=!!r.leading,o=(f="maxWait"in r)?p(v(r.maxWait)||0,t):o,y="trailing"in r?!!r.trailing:y),I.cancel=function(){void 0!==c&&clearTimeout(c),s=0,n=u=i=c=void 0},I.flush=function(){return void 0===c?a:E(h())},I}},7362:function(e,t,r){var n="Expected a function",i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,s="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,l="object"==typeof self&&self&&self.Object===Object&&self,f=s||l||Function("return this")(),p=Object.prototype.toString,d=Math.max,h=Math.min,m=function(){return f.Date.now()};function v(e,t,r){var i,o,a,c,u,s,l=0,f=!1,p=!1,v=!0;if("function"!=typeof e)throw new TypeError(n);function b(t){var r=i,n=o;return i=o=void 0,l=t,c=e.apply(n,r)}function w(e){return l=e,u=setTimeout(E,t),f?b(e):c}function x(e){var r=e-s;return void 0===s||r>=t||r<0||p&&e-l>=a}function E(){var e=m();if(x(e))return I(e);u=setTimeout(E,function(e){var r=t-(e-s);return p?h(r,a-(e-l)):r}(e))}function I(e){return u=void 0,v&&i?b(e):(i=o=void 0,c)}function S(){var e=m(),r=x(e);if(i=arguments,o=this,s=e,r){if(void 0===u)return w(s);if(p)return u=setTimeout(E,t),b(s)}return void 0===u&&(u=setTimeout(E,t)),c}return t=g(t)||0,y(r)&&(f=!!r.leading,a=(p="maxWait"in r)?d(g(r.maxWait)||0,t):a,v="trailing"in r?!!r.trailing:v),S.cancel=function(){void 0!==u&&clearTimeout(u),l=0,i=s=o=u=void 0},S.flush=function(){return void 0===u?c:I(m())},S}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==p.call(e)}(e))return NaN;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var r=a.test(e);return r||c.test(e)?u(e.slice(2),r?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,r){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError(n);return y(r)&&(i="leading"in r?!!r.leading:i,o="trailing"in r?!!r.trailing:o),v(e,t,{leading:i,maxWait:t,trailing:o})}},76279:function(e){(function(){var t,r,n,i,o,a;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-o)/1e6},r=process.hrtime,i=(t=function(){var e;return 1e9*(e=r())[0]+e[1]})(),a=1e9*process.uptime(),o=i-a):Date.now?(e.exports=function(){return Date.now()-n},n=Date.now()):(e.exports=function(){return(new Date).getTime()-n},n=(new Date).getTime())}).call(this)},65276:function(e,t,r){"use strict";r.r(t);for(
1
+ var WPRecipeMaker;(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-recipe-maker/dist/admin-dashboard"]=(self.webpackChunkWPRecipeMaker_name_=self.webpackChunkWPRecipeMaker_name_||[]).push([[752],{81162:function(e,t,r){"use strict";r.r(t);var n={};r.r(n),r.d(n,{scaleBand:function(){return Ka},scaleDiverging:function(){return _p},scaleDivergingLog:function(){return Np},scaleDivergingPow:function(){return Lp},scaleDivergingSqrt:function(){return Rp},scaleDivergingSymlog:function(){return Cp},scaleIdentity:function(){return ms},scaleImplicit:function(){return Qa},scaleLinear:function(){return hs},scaleLog:function(){return Ss},scaleOrdinal:function(){return $a},scalePoint:function(){return tc},scalePow:function(){return _s},scaleQuantile:function(){return Zs},scaleQuantize:function(){return qs},scaleRadial:function(){return Rs},scaleSequential:function(){return Mp},scaleSequentialLog:function(){return Op},scaleSequentialPow:function(){return jp},scaleSequentialQuantile:function(){return Dp},scaleSequentialSqrt:function(){return Tp},scaleSequentialSymlog:function(){return kp},scaleSqrt:function(){return Ns},scaleSymlog:function(){return js},scaleThreshold:function(){return Fs},scaleTime:function(){return xp},scaleUtc:function(){return Ip},tickFormat:function(){return ps}});var i=r(73961),o=r(89526);function a(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f={breakpointCols:void 0,className:void 0,columnClassName:void 0,children:void 0,columnAttrs:void 0,column:void 0};class p extends o.Component{constructor(e){let t;super(e),this.reCalculateColumnCount=this.reCalculateColumnCount.bind(this),this.reCalculateColumnCountDebounce=this.reCalculateColumnCountDebounce.bind(this),t=this.props.breakpointCols&&this.props.breakpointCols.default?this.props.breakpointCols.default:parseInt(this.props.breakpointCols)||2,this.state={columnCount:t}}componentDidMount(){this.reCalculateColumnCount(),window&&window.addEventListener("resize",this.reCalculateColumnCountDebounce)}componentDidUpdate(){this.reCalculateColumnCount()}componentWillUnmount(){window&&window.removeEventListener("resize",this.reCalculateColumnCountDebounce)}reCalculateColumnCountDebounce(){window&&window.requestAnimationFrame?(window.cancelAnimationFrame&&window.cancelAnimationFrame(this._lastRecalculateAnimationFrame),this._lastRecalculateAnimationFrame=window.requestAnimationFrame((()=>{this.reCalculateColumnCount()}))):this.reCalculateColumnCount()}reCalculateColumnCount(){const e=window&&window.innerWidth||1/0;let t=this.props.breakpointCols;"object"!=typeof t&&(t={default:parseInt(t)||2});let r=1/0,n=t.default||2;for(let i in t){const o=parseInt(i);o>0&&e<=o&&o<r&&(r=o,n=t[i])}n=Math.max(1,parseInt(n)||1),this.state.columnCount!==n&&this.setState({columnCount:n})}itemsInColumns(){const e=this.state.columnCount,t=new Array(e),r=o.Children.toArray(this.props.children);for(let n=0;n<r.length;n++){const i=n%e;t[i]||(t[i]=[]),t[i].push(r[n])}return t}renderColumns(){const{column:e,columnAttrs:t={},columnClassName:r}=this.props,n=this.itemsInColumns(),i=100/n.length+"%";let a=r;a&&"string"!=typeof a&&(this.logDeprecated('The property "columnClassName" requires a string'),void 0===a&&(a="my-masonry-grid_column"));const u=s(s(s({},e),t),{},{style:s(s({},t.style),{},{width:i}),className:a});return n.map(((e,t)=>o.createElement("div",c({},u,{key:t}),e)))}logDeprecated(e){console.error("[Masonry]",e)}render(){const e=this.props,{children:t,breakpointCols:r,columnClassName:n,columnAttrs:i,column:u,className:s}=e,l=a(e,["children","breakpointCols","columnClassName","columnAttrs","column","className"]);let f=s;return"string"!=typeof s&&(this.logDeprecated('The property "className" requires a string'),void 0===s&&(f="my-masonry-grid")),o.createElement("div",c({},l,{className:f}),this.renderColumns())}}p.defaultProps=f;var d=p,h={default:2,1150:1},m=e=>o.createElement(d,{breakpointCols:h,className:"wprm-admin-dashboard-blocks-grid",columnClassName:"wprm-admin-dashboard-blocks-grid-column"},e.blocks.map((e=>{var t=e.block;return o.createElement(t,{key:e.id})}))),v=r(99237),y=r(52082),g=e=>o.createElement("div",{className:"wprm-admin-dashboard-block-container"},o.createElement("div",{className:"wprm-admin-dashboard-block-header"},o.createElement("div",{className:"wprm-admin-dashboard-block-header-title"},e.title),e.hasOwnProperty("button")&&o.createElement("div",{className:"wprm-admin-dashboard-block-header-button"},o.createElement("button",{className:"button button-primary",onClick:()=>{e.buttonAction()}},e.button))),o.createElement("div",{className:"wprm-admin-dashboard-block"},e.children)),b=(r(21682),"undefined"!=typeof window?function(){if(!e)var e={};var t={FONT:"font",VIEW:"view",TRANSFORM:"transform",EASING_FUNCTION:"easing-function",TRANSITION:"transition"},r={};r[t.FONT]={},r[t.VIEW]={},r[t.TRANSFORM]={},r[t.EASING_FUNCTION]={},r[t.TRANSITION]={};var n=function(e,t){if(!r[e])return null;for(var n in t)if(t.hasOwnProperty(n)){if(r[e][n])return null;r[e][n]=t[n]}},i=function(e,t,n){if(!r[e])throw"Can't add extension with type of \""+e+'", "'+e+'" is not a valid extension type. The following types are valid: '+Zt(r);if(!/^[-a-z]+$/.test(t))throw"Can't add extension with name \""+t+'", "'+t+'" is contains invalid characters. Only lowercase alphabetical characters and dashes are allowed.';if(r[e][t])throw"Can't add extension with name \""+t+'", "'+t+'" is already added.';r[e][t]=n},o=function(e,t){if(!r[e])throw"Can't get extension with type of \""+e+'", "'+e+'" is not a valid extension type. The following types are available: '+Zt(r);if(!r[e][t])throw"Can't get extension with name \""+t+'", "'+t+'" is not available. The following extensions are available: '+Zt(r[e]);return r[e][t]},a=2628e6,c={Week:6048e5,Day:864e5,Hour:36e5,Minute:6e4,Second:1e3,Millisecond:1,Month:a,Year:31536e6},u=["Januari","Februari","March","April","May","June","July","August","September","October","November","December"];for(var s in c)if(c.hasOwnProperty(s)){var l=c[s];1===l?(c.mi=l,c.ms=l):l===a?c.M=l:c[s.charAt(0).toLowerCase()]=l,c[s.toLowerCase()]=l,c[s.toLowerCase()+"s"]=l}var f={Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6,Sunday:0},p={M:1,y:12},d=function(e){return e instanceof Date},h=function(e,t){var r=t-e.getDay();return e.setDate(e.getDate()+r),e},m=function(e,t){var r=I(e.getMonth()+1,e.getFullYear());return t="last"===t?r:Math.max(1,Math.min(r,t)),e.setDate(t),e},v=function(e,t){return e.setMonth(u.map((function(e){return e.toLowerCase()})).indexOf(t)),e},y=function(e){var t=6e4*(new Date).getTimezoneOffset();if("Z"===e)return t;var r=e.match(/\+|-|[\d]{2}|[\d]{2}/g);return("-"===r.shift()?-1:1)*(36e5*parseInt(r[0],10)+6e4*parseInt(r[1],10))+t},g=function(e){return new Date(Date.now()+e)},b=function(e,t){return new Date(e.getTime()+t)},w=function(e,t){return e.toDateString()===t.toDateString()},x=function(e,t){return e.getTime()===t.getTime()},I=function(e,t){return new Date(t,e,0).getDate()},E=function(e){return e.match(/(Z)|([+\-][0-9]{2}:?[0-9]*$)/g)?new Date(e):(e+=-1!==e.indexOf("T")?"Z":"",S(new Date(e)))},S=function(e){return new Date(e.getTime()+6e4*e.getTimezoneOffset())},M=function(e,t){return t.map((function(t){var r=c[t],n=Math.max(0,Math.floor(e/r));return e%=r,n}))},O=function(e,t,r){var n=t-e,i=!1;if(n<0){n=e-t;var o=[t,e];e=o[0],t=o[1],i=!0}r||(r=["d","h","m"]);var a=r.indexOf("m");a>=0&&("y"===r[a-1]||"d"===r[a+1])&&(r[a].key="M");var u=void 0,s=void 0,l=void 0,f=r.includes("y"),d=r.includes("M");(d||f)&&(u=new Date(e.valueOf()+n),s=A(u,e),l=d?Math.floor(s):12*Math.floor(s/12),n=u.valueOf()-D(T(e),l).valueOf());var h=r.map((function(e){if("y"===e||"M"===e){var t=Math.max(0,Math.floor(s/p[e]));return s-=t*p[e],t}var r=c[e],i=Math.max(0,Math.floor(n/r));return n%=r,i}));return i?h.map((function(e){return e>0?-e:e})):h},k=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if("number"==typeof t[0]&&"string"==typeof t[1]){if(!c[t[1]])throw'"'+t[1]+'" is not a valid amount.';return t[0]*c[t[1]]}return d(t[0])?O.apply(void 0,t):"number"==typeof t[0]&&Array.isArray(t[1])?M.apply(void 0,t):null},j=function(){return new Date},T=function(e){return new Date(e.valueOf())},D=function(e,t){return e.setMonth(e.getMonth()+t),e},A=function(e,t){var r=12*(t.getFullYear()-e.getFullYear())+(t.getMonth()-e.getMonth()),n=D(T(e),r);return-(r+(t-n<0?(t-n)/(n-D(T(e),r-1)):(t-n)/(D(T(e),r+1)-n)))},P=function(e){return{destroy:function(){e.destroyed=!0,e.frame&&cancelAnimationFrame(e.frame),e.styleObserver&&e.styleObserver.disconnect(),e.didResizeWindow&&window.removeEventListener("resize",e.didResizeWindow),e.root&&e.root.parentNode&&e.root.parentNode.removeChild(e.root)}}},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.createElement("span"),r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return e.root=t,e.aligned=null,e.destroyed=!1,t&&r&&(e.root.classList.add("tick-"+r),e.root.setAttribute("data-view",r)),t&&t.dataset.layout&&(e.align=(t.dataset.layout.match(/left|right|center/)||[])[0]||"left"),{appendTo:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"last";!e.root||e.root&&e.root.parentNode||("last"!==r?("first"===r&&(0===t.childNodes.length?t.appendChild(e.root):0===t.children.length&&t.childNodes.length?t.insertBefore(e.root,t.childNodes[t.childNodes.length-1]):t.insertBefore(e.root,t.children[0])),"string"!=typeof r&&t.insertBefore(e.root,r)):t.childNodes.length&&t.childNodes[t.childNodes.length-1].nodeType===Node.TEXT_NODE?t.insertBefore(e.root,t.childNodes[t.childNodes.length-1]):t.appendChild(e.root))}}},N=function(e,t){return e.definition=t,{setDefinition:function(t){e.definition=t}}},C=function(e,t,r,n){return{draw:function(){if(!e.dirty){if(r)r(e)&&L(e);return!1}return t(e,n),L(e),e.dirty=!1,!0}}},L=function(e){if(!e.fit){if(!e.root||!(e.root.getAttribute("data-layout")||"").match(/fit/))return void(e.fit=!1);var t=window.getComputedStyle(e.root,null);e.fit=!0,e.fitInfo={currentFontSize:parseInt(t.getPropertyValue("font-size"),10)}}e.fitInfo.availableWidth=e.root.parentNode.clientWidth,e.fitInfo.currentWidth=e.root.scrollWidth;var r=Math.min(Math.max(4,e.fitInfo.availableWidth/e.fitInfo.currentWidth*e.fitInfo.currentFontSize),1024);Math.abs(r-e.fitInfo.currentFontSize)<=1||(e.fitInfo.currentFontSize=r,e.root.style.fontSize=e.fitInfo.currentFontSize+"px")},R=function(e){return e.dirty=!0,e.value=null,e.valueUpdateCount=0,e.isInitialValue=function(){return e.valueUpdateCount<=1},{reset:function(){e.dirty=!0,e.value=null,e.valueUpdateCount=0},update:function(t){zt(e.value,t)||(e.value=t,e.valueUpdateCount++,e.dirty=!0)}}},B=function(e){e.didResizeWindow=function(){e.dirty=!0},window.addEventListener("resize",e.didResizeWindow)},U="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},z=(function(){function e(e){this.value=e}function t(t){var r,n;function i(r,n){try{var a=t[r](n),c=a.value;c instanceof e?Promise.resolve(c.value).then((function(e){i("next",e)}),(function(e){i("throw",e)})):o(a.done?"return":"normal",a.value)}catch(u){o("throw",u)}}function o(e,t){switch(e){case"return":r.resolve({value:t,done:!0});break;case"throw":r.reject(t);break;default:r.resolve({value:t,done:!1})}(r=r.next)?i(r.key,r.arg):n=null}this._invoke=function(e,t){return new Promise((function(o,a){var c={key:e,arg:t,resolve:o,reject:a,next:null};n?n=n.next=c:(r=n=c,i(e,t))}))},"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),H=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},W=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},Z=function(e,t){var r=(e.definition||[]).concat();"right"===e.align&&r.reverse();var n=Array.isArray(e.value)?e.value.concat():"object"===U(e.value)?_t(e.value):e.value;r.forEach((function(r){if(!r.presenter){if(e.update=t(r),!r.presenter)return;r.presenter.appendTo(e.root)}})),r.filter((function(e){return void 0!==e.presenter})).forEach((function(t){Array.isArray(n)&&e.valueMapping?e.update(t,"indexes"===e.valueMapping?"right"===e.align?n.pop():n.shift():n):t.key&&void 0!==n[t.key]?e.update(t,n[t.key]):e.update(t,n)})),e.views=r,q(e)},q=function(e){var t=!1;return e.views.filter((function(e){return void 0!==e.presenter})).forEach((function(e){e.presenter.draw()&&(t=!0)})),t},F=function(e,t,r){var n=Nt(Array.isArray(e.value)?e.value:(e.value+"").split(""));if("right"===e.align&&n.reverse(),e.definitions.length>n.length)for(;e.definitions.length>n.length;){e.definitions.pop().presenter.destroy()}n.forEach((function(r,n){var i=e.definitions[n];i||(i=e.definitions[n]=ct(e.definition),e.update=t(i),i.presenter.appendTo(e.root,"right"===e.align?"first":"last"))})),n.forEach((function(t,r){return e.update(e.definitions[r],t)})),e.views=n,V(e)},V=function(e){var t=!1;return e.views.forEach((function(r,n){e.definitions[n].presenter.draw()&&(t=!0)})),t},J="undefined"==typeof document?null:function(){for(var e=["webkit","Moz","ms","O"],t=0,r=e.length,n=document.createElement("div").style;t<r;t++)if(e[t]+"Transform"in n)return e[t];return null}(),Y=function(e,t){var r=document.createElement(e);return t&&(r.className=t),r},X=function(e,t,r){var n=new MutationObserver((function(n){t.forEach((function(i){n.filter((function(e){return t.includes(e.attributeName)})).length&&r(e.getAttribute(i))}))}));return n.observe(e,{attributes:!0}),n},Q=function(e){return e instanceof HTMLElement},$=function(e,t){e.style.transformOrigin=t},K=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";e.transforms||(e.transforms=[]);var i=e.transforms.find((function(e){return e.name===t}));i?i.value=r:e.transforms.push({name:t,value:r,unit:n}),ee(e,e.transforms)},ee=function(e,t){e.style.transform=t.map((function(e){return e.name+"("+e.value+e.unit+")"})).join(" ")},te=function(e){var t=e.getBoundingClientRect();return!(t.bottom<0)&&!(t.top>window.scrollY+window.innerHeight)},re=function(e){return e.trim()},ne={},ie=function(e,t){var r=t.toString();return ne[r]||(ne[r]={}),ne[r][e]||(ne[r][e]=t(e)),ne[r][e]},oe=new RegExp("^[0-9]+$"),ae=new RegExp("^(true|false)$"),ce=new RegExp("^[0-9.]+$"),ue=new RegExp("color"),se=new RegExp("shadow"),le=new RegExp("^(follow-gradient|horizontal-gradient|vertical-gradient)"),fe=new RegExp("^[.0-9]+(?:ms|s){1}$"),pe=new RegExp("^transition-?(?:in|out)?$"),de=new RegExp("^url\\("),he=function(e){return e?parseFloat(e)*(/ms$/.test(e)?1:1e3):0},me=function(e){return e.match(/[a-z]+(?:\(.*?\))?\s?(?:origin\(.*?\))?\s?(?:[a-z]+\(.*?\))?[ .a-z-0-9]*/g).map(ve)},ve=function(e){var t=e.match(/([a-z]+(?:\(.*?\))?)\s?(?:origin\((.*?)\))?\s?([a-z]+(?:\(.*?\))?)?\s?(?:([.0-9ms]+)?\s?(?:(ease-[a-z-]+))?\s?([.0-9ms]+)?)?/),r=vt(t[1]),n=void 0,i=void 0,o=void 0,a=void 0,c=void 0;return t.slice(2).filter((function(e){return void 0!==e})).forEach((function(e){fe.test(e)?void 0===i?i=he(e):a=he(e):/ /.test(e)?n=e:/^ease-[a-z-]+$/.test(e)?o=e:/^[a-z]+/.test(e)&&(c=vt(e))})),c&&(i=void 0,o=void 0),{name:r.name,parameters:r.parameters,duration:i,ease:o,delay:a,origin:n,resolver:c}},ye=function(e){var t=e.match(/follow-gradient|horizontal-gradient|vertical-gradient/)[0];return{type:t,colors:e.substr(t.length).match(/(?:transparent|rgb\(.*?\)|hsl\(.*?\)|hsla\(.*?\)|rgba\(.*?\)|[a-z]+|#[abcdefABCDEF\d]+)\s?(?:[\d]{1,3}%?)?/g).map(be)}},ge=/\s([\d]{1,3})%?$/,be=function(e){var t=e.match(ge);return{offset:t?parseFloat(t[1])/100:null,value:Se(e.replace(ge,""))}},we=[],xe=function(e,t){return we[e]?we[e].find((function(e){return e.node.parentNode===t})):null},Ie=function(e,t){we[e]||(we[e]=[]),we[e].push(t)},Ee="undefined"==typeof document?function(e){return 0}:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(0==e)return 0;if(r){var n=xe(r,t)||{};return n.node||(n.node=document.createElement("span"),n.node.style.cssText="position:absolute;padding:0;visibility:hidden;",t.appendChild(n.node)),n.node.style.marginTop=e,n.style||(n.style=window.getComputedStyle(n.node)),Ie(r,n),parseInt(n.style.marginTop,10)}var i=document.createElement("span");return i.style.cssText="position:absolute;padding:0;visibility:hidden;margin-top:"+e,t.appendChild(i),requestAnimationFrame((function(){i.parentNode.removeChild(i)})),parseInt(window.getComputedStyle(i).marginTop,10)},Se="undefined"==typeof document?function(e){return e}:function(e){if("transparent"===e)return"rgba(0,0,0,0)";var t=document.createElement("span");return t.style.cssText="position:absolute;visibility:hidden;color:"+e,document.body.appendChild(t),requestAnimationFrame((function(){t.parentNode.removeChild(t)})),window.getComputedStyle(t).getPropertyValue("color")},Me=function(e){return"string"!=typeof e?e:e.match(/([-.\d]+(?:%|ms|s|deg|cm|em|ch|ex|q|in|mm|pc|pt|px|vh|vw|vmin|vmax)?)|[%#A-Za-z0-9,.()]+/g)},Oe=function(e){var t=e.split(":").map(re),r=function(e){return e.trim().split("-").map((function(e,t){return t>0?function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(e):e})).join("")}(t[0]),n=function(e,t){return ae.test(e)?function(e){return"string"==typeof e?"true"===e:e}(e):oe.test(e)?parseInt(e,10):ce.test(e)?parseFloat(e):de.test(e)?1===(r=e.match(/url\((.*?)\)/g).map((function(e){return e.substring(4,e.length-1)}))).length?r[0]:r:ue.test(t)?le.test(e)?ie(e,ye):ie(e,Se):se.test(t)?ie(e,Me):pe.test(t)?"none"===e?e:ie(e,me):e;var r}(t[1],t[0]);return r&&null!=n?{property:r,value:n}:null},ke=function(e){return e},je=function(e){return e<.5?2*e*e:(4-2*e)*e-1},Te={"ease-linear":ke,"ease-in-sine":function(e){return-1*Math.cos(e*(Math.PI/2))+1},"ease-out-sine":function(e){return Math.sin(e*(Math.PI/2))},"ease-in-out-sine":function(e){return-.5*(Math.cos(Math.PI*e)-1)},"ease-in-cubic":function(e){return e*e*e},"ease-out-cubic":function(e){var t=e-1;return t*t*t+1},"ease-in-out-cubic":function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},"ease-in-circ":function(e){var t=e/1;return-1*(Math.sqrt(1-t*e)-1)},"ease-out-circ":function(e){var t=e-1;return Math.sqrt(1-t*t)},"ease-in-out-circ":function(e){var t=2*e,r=t-2;return t<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-r*r)+1)},"ease-in-quad":function(e){return e*e},"ease-out-quad":function(e){return e*(2-e)},"ease-in-out-quad":je,"ease-in-quart":function(e){return e*e*e*e},"ease-out-quart":function(e){return 1- --e*e*e*e},"ease-in-out-quart":function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},"ease-in-expo":function(e){return 0===e?0:Math.pow(2,10*(e-1))},"ease-out-expo":function(e){return 1===e?1:1-Math.pow(2,-10*e)},"ease-in-out-expo":function(e){if(0===e||1===e)return e;var t=2*e,r=t-1;return t<1?.5*Math.pow(2,10*r):.5*(2-Math.pow(2,-10*r))},"ease-in-back":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.70158,r=e/1;return r*r*((t+1)*r-t)},"ease-out-back":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.70158,r=e/1-1;return r*r*((t+1)*r+t)+1},"ease-in-out-back":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.70158,r=2*e,n=r-2,i=1.525*t;return r<1?.5*r*r*((i+1)*r-i):.5*(n*n*((i+1)*n+i)+2)},"ease-out-elastic":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.7,r=1-t,n=2*e;if(0===e||1===e)return e;var i=r/(2*Math.PI)*Math.asin(1);return Math.pow(2,-10*n)*Math.sin((n-i)*(2*Math.PI)/r)+1},"ease-out-bounce":function(e){var t=e/1;if(t<1/2.75)return 7.5625*t*t;if(t<2/2.75){var r=t-1.5/2.75;return 7.5625*r*r+.75}if(t<2.5/2.75){var n=t-2.25/2.75;return 7.5625*n*n+.9375}var i=t-2.625/2.75;return 7.5625*i*i+.984375}};n(t.EASING_FUNCTION,Te);var De=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ke,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;return Ae((function(t){e(n(t))}),t,r,i)},Ae=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(!e)return null;var i=null,o=void 0,a=null,c=function c(u){if(null===i&&(i=u),(o=u-i-n)<r)return e(o>=0?o/r:0),a=requestAnimationFrame(c),null;e(1),t&&t()};return c(Bt()),function(){cancelAnimationFrame(a)}},Pe=function(){var e=1e3/24,t=null,r={velocity:0,origin:0,position:0,destination:1},n=function(){cancelAnimationFrame(t)};return{getPosition:function(){return r.position},cancel:n,translate:function(i,o,a,c){n(),null===a?r.destination=o:(r.position=o,r.destination=a,r.velocity=0),r.origin=r.position;var u=null;!function o(a){t=requestAnimationFrame(o),u||(u=a);var s=a-u;s<=e||(u=a-s%e,c(r,n),i(r.position))}(Bt())}}},_e=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=Pe(),o={update:null,cancel:i.cancel,getPosition:i.getPosition};return"arrive"===e?o.update=Ne.apply(void 0,[i.translate].concat(r)):"spring"===e?o.update=Le.apply(void 0,[i.translate].concat(r)):"step"===e&&(o.update=Ce.apply(void 0,[i.translate].concat(r))),o},Ne=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.01;return function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e(n,i,o,(function(e,n){var i=e.destination-e.position,o=e.origin+.5*(e.destination-e.origin);e.velocity+=2*(-(o-e.origin)+i)*r,e.position+=e.velocity<0?Math.max(e.velocity,-t):Math.min(e.velocity,t),(e.origin<e.destination&&e.position>=e.destination||e.origin>=e.destination&&e.position<=e.destination)&&(n(),e.velocity=0,e.position=e.destination)}))}},Ce=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.01;return function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e(r,n,i,(function(e,r){e.velocity=t,e.position+=e.velocity,(e.origin<e.destination&&e.position>=e.destination||e.origin>=e.destination&&e.position<=e.destination)&&(r(),e.velocity=0,e.position=e.destination)}))}},Le=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.75,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;return function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e(i,o,a,(function(e,i){var o=-(e.position-e.destination)*t;e.velocity+=o/n,e.position+=e.velocity,e.velocity*=r,Re(e.position,e.destination,e.velocity)&&(i(),e.position=e.destination,e.velocity=0)}))}},Re=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.001;return Math.abs(e-t)<n&&Math.abs(r)<n},Be=function(e){var t=e.map((function(e){return ze(Ue(e.name,e.parameters,e.ease),e.origin,e.duration,e.delay)}));return function(e,r,n){if(!Q(e))return!1;var i=t.length;t.forEach((function(t){t(e,r,(function(){!--i&&n&&n(e)}))}))}},Ue=function(e,r,n){var i=n?o(t.EASING_FUNCTION,n):n,a=o(t.TRANSITION,e);return function(e,t,n){a.apply(void 0,[e,n,t,i].concat(W(r)))}},ze=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"50% 50% 0",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,n=arguments[3];return function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments[2];$(i,t),Ae((function(t){e(i,o,t)}),a,r,n)}},He=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.lastAppliedStyles=null,Ge(e,t,e.root.dataset.style),e.styleObserver=X(e.root,["data-style"],(function(r){Ge(e,t,r)})),{setStyle:function(r){Ge(e,t,r)}}},Ge=function(e,r,n){if(e.lastAppliedStyles!==n){e.lastAppliedStyles=n,e.style=n?jt(r,function(e){return e.split(";").filter((function(e){return e.trim().length})).map(Oe).filter((function(e){return null!==e})).reduce((function(e,t){return e[t.property]=t.value,e}),{})}(n)):r;var i=[],a=[];e.style.transitionIn&&e.style.transitionIn.length?(i=e.style.transitionIn,a=e.style.transitionOut):e.style.transition&&"none"!==e.style.transition&&e.style.transition.forEach((function(e){var r=function(e){return o(t.TRANSITION,e.name).apply(void 0,W(e.parameters||[]))}(e);i=i.concat(r.intro),a=a.concat(r.outro)})),i&&a&&(e.transitionIn=Be(i),e.transitionOut=Be(a),e.skipToTransitionInEnd=Be(i.map(We)),e.skipToTransitionOutEnd=Be(a.map(We))),e.dirty=!0}},We=function(e){var t=_t(e);return t.duration=0,t.delay=0,t},Ze=function(e){return e[J+"BackingStorePixelRatio"]||e.backingStorePixelRatio||1},qe=function(){return window.devicePixelRatio||1},Fe=function(e){e.getContext("2d").clearRect(0,0,e.width,e.height)},Ve={text:function(){return function(e){var t={};return Object.assign({},_(t,e,"text"),R(t),C(t,(function(e){e.root.setAttribute("data-value",e.value),function(e,t){var r=e.childNodes[0];r?t!==r.nodeValue&&(r.nodeValue=t):(r=document.createTextNode(t),e.appendChild(r))}(e.root,e.value)})),P(t))}}};n(t.VIEW,Ve);var Je=function(e,t,r){return function(e,t,r){var n={valueMapping:null};if(e&&e.dataset.valueMapping){var i=e.dataset.valueMapping;n.valueMapping=-1!==["none","indexes"].indexOf(i)?i:null}return Object.assign({},_(n,e),B(n),R(n),N(n,t),C(n,Z,q,r),P(n))}(e,t,r)},Ye=function(e,t,r){return function(e,t,r){var n={definitions:[]};return Object.assign({},_(n,e),R(n),N(n,t),C(n,F,V,r),P(n))}(e,t,r)},Xe=function(e,r,n){var i=o(t.VIEW,e);return i?i({Extension:{Type:t,getExtension:o},Utils:{toPixels:Ee,toColor:Se},Canvas:{clear:Fe,getDevicePixelRatio:qe,getBackingStoreRatio:Ze},DOM:{visible:te,create:Y,transform:K},Animation:{animate:De},Data:{request:Ut},Date:{performance:Bt},View:{rooter:_,drawer:C,updater:R,styler:He,grouper:N,resizer:B,destroyer:P}})(r,n):null},Qe=function(e,t){return"-"===e[t]&&">"===e[t+1]},$e=function(e){return"'"===e||'"'===e},Ke=function(e){return","===e},et=function(e){return"("===e},tt=function(e){return")"===e},rt=function(e){return 0!==e.trim().length},nt=function(e,t){return e.push(t.trim())},it=function(e,t){return rt(t)?(nt(e,t),""):t},ot=function(e,t){return e.length&&t.push(e.length>1?e.concat():e[0]),[]},at=function e(t,r,n){for(var i="",o=[],a=null,c=!1;t<r.length;){var u=r[t];if(et(u)){c=!1;var s=[i.trim()];u=r[t=e(t+1,r,s)],o.push(s),i=""}else{if(tt(u))return c&&i.trim().length&&(o.push([i.trim()]),i="",c=!1),rt(i)&&nt(o,i),o=ot(o,n),t+1;null!==a&&u!==a?i+=u:u===a?(o.push(i),i="",a=null):$e(u)?(i="",a=u):Qe(r,t)?(c=!0,i.trim().length&&(o.push([i.trim()]),i=""),t+=2):Ke(u)?(c&&i.trim().length&&(o.push([i.trim()]),i="",c=!1),o=ot(o,n),i=it(n,i)):i+=u,t++}}return(c&&i.trim().length||!c&&i.trim().length&&!o.length)&&(o.push([i.trim()]),i=""),ot(o,n),it(n,i),t},ct=function e(t){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]="root"!==n?"children"!==n?"repeat"!==n?t[n]:null===t[n]?null:e(t[n]):null===t[n]?null:t[n].map(e):t[n].cloneNode());return r.presenter=null,r},ut={root:null,key:null,view:null,overlay:null,presenter:null,transform:null,layout:null,style:null,repeat:null,children:null,className:null},st=function e(t){return Array.from(t).map((function(t){var r=jt(ut,{root:t});for(var n in t.dataset)t.dataset.hasOwnProperty(n)&&void 0!==r[n]&&(r[n]=t.dataset[n]);return r.repeat?(r.repeat=e(t.children).pop(),Array.from(t.children).forEach((function(e){e.parentNode.removeChild(e)}))):t.children.length&&(r.children=e(t.children)),r}))},lt=function e(t){return t.map((function(t){return"string"==typeof(t=jt(ut,t)).root?t.root=document.createElement(t.root):t.root=document.createElement("span"),t.transform&&(t.root.dataset.transform=t.transform),t.className&&(t.root.className=t.className),t.overlay&&(t.root.dataset.overlay=t.overlay),t.view?(t.root.dataset.view=t.view,t.style&&(t.root.dataset.style=t.style),t.repeat=null):(t.layout&&(t.root.dataset.layout=t.layout),t.repeat?(t.root.dataset.repeat=!0,t.repeat=e(t.children).pop()):t.children&&(t.children=e(t.children),t.children.forEach((function(e){t.root.appendChild(e.root)})))),t}))},ft=function(e){var t=!1,r=function(r,i){r.transform(i,(function(e){r.presenter.update(e)}),e),t||(t=!0,n())},n=function t(){e.baseDefinition.presenter.draw(),requestAnimationFrame(t)};return function t(n){return n.presenter=function(e,t){var r=void 0;return e.repeat?r=Ye(e.root,e.repeat,t):"string"==typeof e.view?r=Xe(e.view,e.root,e.style):function(e){return e.children&&e.children.length}(e)&&(r=Je(e.root,e.children,t)),r}(n,t),n.transform=ht(n.transform,e),r}(e.baseDefinition)},pt=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(t,n){!function t(i,o){r.length<=i?n(o):r[i](o,dt(t,[i+1]),e)}(0,t)}},dt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments[2];return function(){var n=Array.from(t);return Array.prototype.push.apply(n,arguments),e.apply(r,n)}},ht=function(e,t){if(!e)return function(e,t){return t(e)};if("function"==typeof e)return e;var r=function(e){var t=[];return at(0,e,t),t}("transform("+(/^[a-z]+$/.test(e)?e+"()":e)+")");return mt(r,t)},mt=function e(r,n){var i=r.map((function(r){var i=r.shift(),a=o(t.TRANSFORM,i)||function(e,t,r){t(e)},c=r.map((function(t){return Array.isArray(t)?"string"==typeof t[0]?e([t],n):e(t,n):Ot(t)}));return a.apply(void 0,W(c))}));return pt.apply(void 0,[n].concat(W(i)))},vt=function(e){var t=e.match(/[a-z]+/)[0];return{name:t,parameters:yt(e.substring(t.length))}},yt=function(e){return(e.match(/('.+?')|(".+?")|(\[.+?])|([.:\-\d\sa-zA-Z]+%?)/g)||[]).map(Pt).filter((function(e){return e.length})).map(Ot)},gt=function(e){return e.substring(1,e.length-1)},bt=/^([\d]{4}-[\d]{1,2}-[\d]{1,2})/,wt=/^(true|false)$/,xt=/^[\a-zA-Z]+$/,It=/^0[\d]+/,Et=/^('|")/,St=/^-?(?:\d+)?(?:\.|0\.)?[\d]+$/,Mt=/^(\[)/,Ot=function(e){return wt.test(e)?"true"===e:Mt.test(e)?yt(gt(e)):bt.test(e)?E(e):Et.test(e)?gt(e):xt.test(e)||It.test(e)?e:St.test(e)?parseFloat(e):e},kt=function(e){var t=(e+"").match(/(-?[.\d]+)(%|ms|s|deg|cm|em|ch|ex|q|in|mm|pc|pt|px|vh|vw|vmin|vmax)?/);return{value:parseFloat(t[1]),units:t[2]}},jt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=void 0,n={};for(r in e)e.hasOwnProperty(r)&&(n[r]=void 0===t[r]?e[r]:t[r]);return n},Tt=function(e){var t=window,r=e.split(".");return r.forEach((function(e,n){t[r[n]]&&(t=t[r[n]])})),t!==window?t:null},Dt=function(e){return/^(?:[\w]+\s?:\s?[\w.]+,\s?)+(?:[\w]+\s?:\s?[\w.]+)$/g.test(e)?e.match(/(?:(\w+)\s?:\s?([\w.]+))/g).reduce((function(e,t){var r=t.split(":");return e[r[0]]=Ot(r[1]),e}),{}):Ot(e)},At=function(e){return parseInt(e,10)},Pt=function(e){return e.trim()},_t=function(e){return"object"===(void 0===e?"undefined":U(e))&&null!==e?JSON.parse(JSON.stringify(e)):e},Nt=function(e){return e.slice()},Ct=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e+Math.random()*(t-e)},Lt=function(e){for(var t=[],r=0;r<e;r++)t.push(r);return t},Rt=function(e){for(var t=e.length;t;t--){var r=Math.floor(Math.random()*t),n=[e[r],e[t-1]];e[t-1]=n[0],e[r]=n[1]}},Bt=function(){return window.performance.now()},Ut=function(e,t,r,n){var i=new XMLHttpRequest;n&&n(i),i.open("GET",e,!0),i.onload=function(){t(i.response)},r&&(i.onerror=function(){r(i,i.status)}),i.send()},zt=function(e,t){return Ht(e)?Gt(e,t):Array.isArray(e)?Wt(e,t):e===t},Ht=function(e){return e===Object(e)},Gt=function(e,t){for(var r in e)if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1;return!0},Wt=function(e,t){return e.length==t.length&&e.every((function(e,r){return e===t[r]}))},Zt=function(e){return Object.keys(e).map((function(e){return'"'+e+'"'})).join(", ")},qt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.createElement("div");z(this,e),this._options=jt(e.options(),t),this._element=r,this._value=null,this._observer=null,this._viewDefinition=null,this._constants=null,this._presets=null,this._updater=null,this._didInit=null,this._didDestroy=null,this._willDestroy=null,this._didUpdate=null,this._init()}return H(e,[{key:"isRootElement",value:function(e){return this._element===e}},{key:"setConstant",value:function(e,t){this._constants[e]=t}},{key:"getConstants",value:function(){return this._constants}},{key:"getConstant",value:function(e){return this._constants[e]}},{key:"setPreset",value:function(e,t){this._presets[e]=t}},{key:"getPreset",value:function(e){return this._presets[e]}},{key:"destroy",value:function(){this._willDestroy(this),this._observer.disconnect(),this.baseDefinition.presenter.destroy(),this._didDestroy(this)}},{key:"redraw",value:function(){this.baseDefinition&&this.baseDefinition.presenter&&(this.baseDefinition.presenter.reset(),this.baseDefinition.presenter.draw(),this._updater(this.baseDefinition,this._value))}},{key:"_init",value:function(){var e=this;this._viewDefinition=this._options.view,this._willDestroy=this._options.willDestroy,this._didDestroy=this._options.didDestroy,this._didInit=this._options.didInit,this._didUpdate=this._options.didUpdate,this._value=this._options.value,this._presets=this._options.presets,this._constants=this._options.constants,this._element.classList.contains("tick")||this._element.classList.add("tick"),this._observer=X(this._element,["data-value"],(function(t){e.value=t})),this._viewDefinition.root!==this._element&&(Array.from(this._viewDefinition.root.children).forEach((function(t){e._element.appendChild(t)})),this._viewDefinition.root=this._element),this._viewDefinition.view||this._viewDefinition.children||(this._viewDefinition.view="text"),this._updater=ft(this),null!==this.value&&this._update(this.value),this._element.dataset.state="initialised",this._didInit(this,this.value)}},{key:"_update",value:function(e){this._updater(this.baseDefinition,e),this._didUpdate(this,e)}},{key:"baseDefinition",get:function(){return this._viewDefinition}},{key:"root",get:function(){return this._element}},{key:"value",get:function(){return this._value},set:function(e){this._value="string"==typeof e?Dt(e):e,this._update(e)}}],[{key:"options",value:function(){return{constants:Jt(),presets:Yt(),value:null,view:null,didInit:function(e){},didUpdate:function(e,t){},willDestroy:function(e){},didDestroy:function(e){}}}}]),e}(),Ft=function(e,t,r,n){return{label:1===e?t:r,progress:e/n,value:e}},Vt=[],Jt=function(){return Xt},Yt=function(){return Qt},Xt={YEAR_PLURAL:"Years",YEAR_SINGULAR:"Year",MONTH_PLURAL:"Months",MONTH_SINGULAR:"Month",WEEK_PLURAL:"Weeks",WEEK_SINGULAR:"Week",DAY_PLURAL:"Days",DAY_SINGULAR:"Day",HOUR_PLURAL:"Hours",HOUR_SINGULAR:"Hour",MINUTE_PLURAL:"Minutes",MINUTE_SINGULAR:"Minute",SECOND_PLURAL:"Seconds",SECOND_SINGULAR:"Second",MILLISECOND_PLURAL:"Milliseconds",MILLISECOND_SINGULAR:"Millisecond"},Qt={y:function(e,t){return Ft(e,t.YEAR_SINGULAR,t.YEAR_PLURAL,10)},M:function(e,t){return Ft(e,t.MONTH_SINGULAR,t.MONTH_PLURAL,12)},w:function(e,t){return Ft(e,t.WEEK_SINGULAR,t.WEEK_PLURAL,52)},d:function(e,t){return Ft(e,t.DAY_SINGULAR,t.DAY_PLURAL,365)},h:function(e,t){return Ft(e,t.HOUR_SINGULAR,t.HOUR_PLURAL,24)},m:function(e,t){return Ft(e,t.MINUTE_SINGULAR,t.MINUTE_PLURAL,60)},s:function(e,t){return Ft(e,t.SECOND_SINGULAR,t.SECOND_PLURAL,60)},mi:function(e,t){return Ft(e,t.MILLISECOND_SINGULAR,t.MILLISECOND_PLURAL,1e3)}},$t={value:Dt,didInit:Tt,didUpdate:Tt,didDestroy:Tt,willDestroy:Tt},Kt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=e.dataset,i={meta:{}};for(var o in n)if(n.hasOwnProperty(o)){var a=t[o],c=n[o];a&&(c=null===(c=a(c))?_t(r[o]):c,i[o]=c)}return i},er=function(e){var t=Vt.filter((function(t){return t.isRootElement(e)}));return t?t[0]:null},tr=function(){return G({},qt.options(),{constants:G({},Xt),presets:G({},Qt)})},rr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(e&&!Q(e)&&(t=e,e=void 0),!e||!er(e)){t&&t.view&&(t.view=lt([t.view])[0]),!t&&e&&(t=Kt(e,$t,tr())),e&&(t||(t={}),t.view||(t.view=st([e])[0]));var r=new qt(t,e);return Vt.push(r),r}},nr=function(e){return function(){setTimeout(e,0)}},ir=function(){return Date.now()},or=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=jt({autostart:!0},r),i=null,o=null,a=null,c=0,u=null,s=!1,l=null,f=function(){return s},p=function(){return null!==o},d=function(){return document.hidden},h=function r(){var n=ir(),a=i-n,u=t+a;i=n+u,e(n-o-c+a),l=setTimeout(r,u)},m=function(){f()?b():p()||(o=ir(),setTimeout((function(){e(0)}),0),M(),d()?I():(i=ir()+t,l=setTimeout((function(){h()}),t)))},v=function(){clearTimeout(l),l=null,o=null,i=null,a=null,c=0,u=null,s=!1,S()},y=function(){v(),m()},g=function(){p()&&!d()&&(s=!0,S(),w())},b=function(){f()&&p()&&!d()&&(s=!1,M(),x())},w=function(){clearTimeout(l),a=ir(),u=i-a},x=function(){c+=ir()-a,a=null,i=ir()+u,l=setTimeout((function(){h()}),u)},I=function(){w()},E=function(){p()&&x()},S=function(){document.removeEventListener("visibilitychange",O)},M=function(){document.addEventListener("visibilitychange",O)},O=function(){d()?I():E()};return n.autostart&&m(),{start:m,stop:nr(v),reset:nr(y),pause:nr(g),resume:b}},ar=function(e){/^[\d]+/.test(e)||(e="1 "+e);var t=e.split(" ");return parseFloat(t[0])*c[t[1].toLowerCase()]},cr=function(e,t){return function(e,t){return e.setHours(t[0]||0,t[1]||0,t[2]||0,t[3]||0),e}(e,t.split(":").map(At))},ur=function(e,t){var r=t.match(/((?:[\d]+\s)?(?:hours|hour|minutes|minute|seconds|second))|((?:from|till)\s[\d]+(?::[\d]+)?(?::[\d]+)?)|(wait\s[\d]+\s[a-z]+)/g).reduce((function(e,t){return/from/.test(t)?e.from=cr(e.from,t.split(" ")[1]):/till/.test(t)?e.till=cr(e.till,t.split(" ")[1]):/wait/.test(t)?e.idle=ar(t.substr(5)):/hours|hour|minutes|minute|seconds|second/.test(t)&&(e.interval=ar(t)),e}),{idle:null,interval:null,date:null,dist:null,wait:!1,from:cr(T(e),"0"),till:cr(T(e),"23:59:59:999")});if(e<r.from||e>=r.till)return r;if(r.interval>r.till-r.from)return r;var n=e-r.from,i=r.interval-n%r.interval;return null!==r.idle&&i>=r.interval-r.idle?(r.wait=!0,r):(r.dist=i,r.date=new Date(e.getTime()+r.dist),r)},sr=function(e,t){return/januari|februari|march|april|may|june|july|august|september|october|november|december/.test(t)?function(e,t){var r=t.match(/januari|februari|march|april|may|june|july|august|september|october|november|december|[\d]+th|\dst|\dnd|first|last|at\s[\d]+(?::[\d]+)?(?::[\d]+)?/g);if(r.length>1){var n="";r.forEach((function(e){n=t.split(e)[1]||""}));var i=n.trim().match(/wait\s[\d]+\s[a-z]+/);i&&r.push(i[0])}var o=r.reduce((function(t,r){return/([\d]+th|\dst|\dnd|first|last)/.test(r)&&(t.day=/^[\d]/.test(r)?parseInt(r,10):"first"===r?1:r),/^at/.test(r)?t.time=cr(T(e),r.substr(3)):/wait/.test(r)?t.idle=ar(r.substr(5)):/^[\a-zA-Z]+$/.test(r)&&(t.month=r),t}),{idle:null,day:null,month:null,time:null,date:null,dist:null,wait:!1});if(o.time){o.time.setDate(1),o.time=v(o.time,o.month),o.time=m(o.time,o.day);var a=o.time-e,c=0;if(a<0&&(c=a,o.time.setFullYear(o.time.getFullYear()+1),a=o.time-e),null!==o.idle&&c+o.idle>0)return o.wait=!0,o;o.dist=a}else{o.time=T(e),o.time.setDate(1),o.time=v(o.time,o.month),o.time=m(o.time,o.day);var u=ur(o.time,t);if(u.wait)return o;o.time=T(w(e,o.time)&&u.date?u.date:u.from);var s=o.time-e;s<0&&(o.time=T(u.from),o.time.setFullYear(o.time.getFullYear()+1),s=o.time-e),o.dist=s}return o.date=T(o.time),o}(e,t):/month/.test(t)?function(e,t){var r=t.match(/[\d]+th|\dst|\dnd|first|last|at\s[\d]+(?::[\d]+)?(?::[\d]+)?/g);if(r.length>1){var n="";r.forEach((function(e){n=t.split(e)[1]||""}));var i=n.trim().match(/wait\s[\d]+\s[a-z]+/);i&&r.push(i[0])}var o=r.reduce((function(t,r){return/([\d]+th|\dst|\dnd|first|last)/.test(r)&&(t.day=/^[\d]/.test(r)?parseInt(r,10):"first"===r?1:r),/^at/.test(r)?t.time=cr(T(e),r.substr(3)):/wait/.test(r)&&(t.idle=ar(r.substr(5))),t}),{idle:null,day:null,time:null,date:null,dist:null,wait:!1});if(o.time){o.time=m(o.time,o.day);var a=o.time-e,c=0;if(a<0&&(c=a,o.time.setDate(1),o.time.setMonth(o.time.getMonth()+1),m(o.time,o.day),a=o.time-e),null!==o.idle&&c+o.idle>0)return o.wait=!0,o;o.dist=a}else{o.time=m(T(e),o.day);var u=ur(o.time,t);if(u.wait)return o;o.time=T(w(e,o.time)&&u.date?u.date:u.from);var s=o.time-e;s<0&&(o.time=T(u.from),o.time.setDate(1),o.time.setMonth(o.time.getMonth()+1),m(o.time,o.day),s=o.time-e),o.dist=s}return o.date=T(o.time),o}(e,t):/(?:mon|tues|wednes|thurs|fri|satur|sun)day/.test(t)?function(e,t){var r=t.match(/(?:mon|tues|wednes|thurs|fri|satur|sun)day|at\s[\d]+(?::[\d]+)?(?::[\d]+)?/g);if(r.length>1){var n="";r.forEach((function(e){n=t.split(e)[1]||""}));var i=n.trim().match(/wait\s[\d]+\s[a-z]+/);i&&r.push(i[0])}var o=r.reduce((function(t,r){return/(?:mon|tues|wednes|thurs|fri|satur|sun)day/.test(r)&&(t.day=f[function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(r)]),/^at/.test(r)?t.time=cr(T(e),r.substr(3)):/wait/.test(r)&&(t.idle=ar(r.substr(5))),t}),{idle:null,day:null,time:null,date:null,dist:null,wait:!1});if(o.time){o.time=h(o.time,o.day);var a=o.time-e;if(a<0&&(o.time.setDate(o.time.getDate()+7),a=o.time-e),null!==o.idle&&a>=c.Week-o.idle)return o.wait=!0,o;o.dist=a}else{o.time=h(T(e),o.day);var u=ur(o.time,t);if(u.wait)return o;o.time=T(w(e,o.time)&&u.date?u.date:u.from);var s=o.time-e;s<0&&o.time.setDate(o.time.getDate()+7),o.dist=s}return o.date=T(o.time),o}(e,t):/day at/.test(t)||/^at /.test(t)?function(e,t){var r=t.match(/([\d]+(?::[\d]+)?(?::[\d]+)?)|(wait\s[\d]+\s[a-z]+)/g).reduce((function(t,r){return/^[\d]/.test(r)?t.time=cr(T(e),r):/wait/.test(r)&&(t.idle=ar(r.substr(5))),t}),{idle:null,time:null,date:null,wait:!1,dist:null}),n=r.time-e;return n<0&&(r.time.setDate(r.time.getDate()+1),n=r.time-e),null!==r.idle&&n>=c.Day-r.idle?(r.wait=!0,r):(r.dist=n,r.date=T(r.time),r)}(e,t):/hours|hour|minutes|minute|seconds|second/.test(t)?ur(e,t):null},lr=function(e,t){for(var r=t.split(",").map(Pt).map((function(t){return sr(e,t)})),n=null,i=0;i<r.length;i++){var o=r[i];if(null===n&&o.wait)return null;(null===n||null===n.dist&&null!==o.dist||null!==o.dist&&o.dist<n.dist)&&(n=o)}return n.date},fr=function(e,t){!0!==e?"string"!=typeof e?setTimeout((function(){t(0)}),0):setTimeout((function(){t(E(e).getTime()-j().getTime())}),0):function(e){var t=new XMLHttpRequest,r=Date.now();t.open("HEAD",window.location+"?noCache="+r),t.setRequestHeader("Content-Type","text/html"),t.setRequestHeader("Cache-Control","no-cache"),t.onload=function(){var n=.5*(r-Date.now()),i=new Date(t.getResponseHeader("Date"));e(new Date(i.getTime()+n))},t.send()}((function(e){t(e.getTime()-j().getTime())}))},pr={format:["d","h","m","s"],cascade:!0,server:null,interval:1e3},dr=function(e){return G({complete:!1,offset:null,value:null,timer:null,onload:function(){},onupdate:function(e){}},e)},hr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("number"!=typeof e)throw'Can\'t start counter, the "milliseconds" parameter is required';var r=(t=jt({units:"seconds",target:0,amount:1e3,interval:1e3},t)).target,n=e,i=dr({target:r,onended:function(){}});return setTimeout((function(){i.timer=or((function(o){if((n=e-o/t.interval*t.amount)<=r)return i.value=t.target,i.onupdate(i.value/c[t.units]),i.timer.stop(),void i.onended();i.value=n,i.onupdate(i.value/c[t.units])}),t.interval,{autostart:!1}),i.complete=!0,i.onload(),i.timer.start()}),0),i},mr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e)throw'Can\'t start counter, the "due" parameter is required';t=jt(pr,t);var r=d(e)?e:E(e),n=dr({due:T(r),onended:function(){}});return fr(t.server,(function(e){n.offset=e;n.timer=or((function(){var i=g(e);if(r-i<=0)return n.value=new Array(t.format.length).fill(0),n.onupdate(n.value),n.timer.stop(),void n.onended();n.value=O(i,r,t.format,t.cascade),n.onupdate(n.value)}),t.interval,{autostart:!1}),n.complete=!0,n.onload(),n.timer.start()})),n},vr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return function(r,n){return n((parseFloat(r)-e)/(t-e))}},yr=function(e,t,r,n){t[e]=r[e],n(Nt(t))},gr={ascii:function(){return function(e,t){return t((e+"").charCodeAt(0))}},char:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e?new RegExp("[^"+e+"]","g"):null;return function(e,n){var i=String.fromCharCode(e);r&&(i=i.replace(r,t)),n(i)}},tween:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ease-linear",n=arguments[2];e=he(e);var i=o(t.EASING_FUNCTION,r),a=null,c=null;return function(t,r){if(t=parseFloat(t),a&&a(),null===c||t===c)return c=t,void r(t);var o=c,u=t-o;a=De((function(e){r(o+e*u)}),(function(){a=null}),e,i,n),c=t}},value:function(e){return function(t,r){return r(e)}},input:function(){return function(e,t){return t(e)}},rotate:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r){var n=Array.isArray(e)?e:[e],i=[],o=t.length;n.forEach((function(e,a){t[a%o](e,(function(e){i[a]=e,a===n.length-1&&r(i)}))}))}},map:function(e){return function(t,r){var n=[],i=t;i.forEach((function(t,o){e(t,(function(e){n[o]=e,o===i.length-1&&r(n.concat())}))}))}},transform:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r){var n=[],i=e;t.forEach((function(e,o){e(i,(function(e){n[o]=e,o===t.length-1&&r(1===n.length?n[0]:n)}))}))}},upper:function(){return function(e,t){return t((e+"").toUpperCase())}},lower:function(){return function(e,t){return t((e+"").toLowerCase())}},abs:function(){return function(e,t){return t(Math.abs(e))}},add:function(e){return function(t,r){return r(t+e)}},subtract:function(e){return function(t,r){return r(t-e)}},modulus:function(e){return function(t,r){return r(t%e)}},pad:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"left";return function(r,n){return n(e.length>(""+r).length?"left"===t?(""+e+r).slice(-e.length):(""+r+e).substring(0,e.length):r)}},number:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return function(n,i){i((n<0?"-":"")+parseFloat(Math.abs(n)).toFixed(r).replace(/./g,(function(r,n,i){return"."===r?e:n&&(i.length-n)%3==0?t+r:r})))}},replace:function(e,t){return function(r,n){return n((r+"").replace(new RegExp("."===e?"\\"+e:e,"g"),t))}},round:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(t,r){return r(e?t.toFixed(e):Math.round(t))}},ceil:function(){return function(e,t){return t(Math.ceil(e))}},floor:function(){return function(e,t){return t(Math.floor(e))}},fraction:vr,percentage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,r=vr(e,t);return function(e,t){r(e,(function(e){t(100*e)}))}},multiply:function(e){return function(t,r){return r(t*e)}},divide:function(e){return function(t,r){return r(t/e)}},split:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return function(t,r){return r((t+"").split(e))}},format:function(e){return function(t,r){return r(e.replace(/\$0/gi,t))}},plural:function(e,t){return function(r,n){return n(1===r?e:t)}},limit:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(r,n){return n(Math.min(Math.max(r,e),t))}},reverse:function(){return function(e,t){return t(Array.isArray(e)?e.reverse():(e+"").split("").reverse().join(""))}},arrive:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=null,o=null,a=null;return function(c,u){return c=parseFloat(c),null===i?(i=c,void u(c)):(r&&null!==o&&i===c&&(a.cancel(),a=null),n&&null!==o&&c-a.getPosition()>1?(a.cancel(),a=null,o=null,i=c,void u(c)):(a?a.update(u,c):(a=_e("arrive",e,t)).update(u,i,c),void(o=c)))}},spring:function(e,t,r){var n=null,i=null;return function(o,a){if(o=parseFloat(o),null===n)return n=o,void a(o);i?i.update(a,o):(i=_e("spring",e,t,r)).update(a,n,o)}},delay:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rtl",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:50,n=null;return function(i,o){if(!n)return n=Nt(i),void o(Nt(n));n="rtl"===e?n.slice(n.length-i.length,n.length):n.slice(0,i.length);var a=Lt(i.length);"random"===e&&Rt(a),"rtl"===e&&a.reverse();!function e(){yr(a.shift(),n,i,o),a.length&&setTimeout(e,Ct(t,r))}()}},step:function(e){var t=null,r=null,n=null;return function(i,o){if(i=parseFloat(i),null===t)return t=i,void o(i);null!==r&&t===i&&(n.cancel(),n=null),n?n.update(o,i):(n=_e("step",e)).update(o,t,i),r=i}},keys:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r){var n={};e.forEach((function(e,r){n[t[r]]=e})),r(n)}},duration:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r){return r(M(e,t))}},substring:function(e,t){return function(r,n){return n((r+"").substring(e,t))}},preset:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r,n){return r(e.map((function(e,r){return n.getPreset(t[r])(e,n.getConstants(),n)})))}}};n(t.TRANSFORM,gr);var br={x:"translateX",y:"translateY",z:"translateZ"},wr={x:"rotateX",y:"rotateY",z:"rotateZ"},xr={both:"scale",x:"scaleX",y:"scaleY"},Ir=function(e,t,r){return e+(t-e)*r},Er={fade:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:je,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;if(r<0){var a=[o,i];i=a[0],o=a[1]}e.style.opacity=Ir(i,o,n(t))},move:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:je,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"0",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"100%",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"y";if(r<0){var c=[o,i];i=c[0],o=c[1]}var u=ie(i,kt),s=ie(o,kt);K(e,br[a],Ir(u.value,s.value,n(t)),u.units||s.units)},rotate:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:je,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"0",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"90deg",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"x";if(r<0){var c=[o,i];i=c[0],o=c[1]}var u=ie(i,kt),s=ie(o,kt);K(e,wr[a],Ir(u.value,s.value,n(t)),u.units||s.units)},scale:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:je,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"both";if(r<0){var c=[o,i];i=c[0],o=c[1]}K(e,xr[a],Ir(i,o,n(t)))},crossfade:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments[1],r=arguments[2];return{intro:[{name:"fade",parameters:[0,1],duration:1e3*e,delay:he(t)}],outro:[{name:"fade",parameters:[1,0],duration:1e3*e,delay:he(r)}]}},swap:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments[3],i=arguments[4];return{intro:[{name:"move",parameters:[""+100*-t,"0%",e],duration:1e3*r,delay:he(n)}],outro:[{name:"move",parameters:["0%",""+100*t,e],duration:1e3*r,delay:he(i)}]}},revolve:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments[3],i=arguments[4];return{intro:[{name:"rotate",parameters:[90*-t+"deg","0deg",e],duration:1e3*r,delay:he(n)}],outro:[{name:"rotate",parameters:["0deg",90*t+"deg",e],duration:1e3*r,delay:he(i)}]}},zoom:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments[2],n=arguments[3];return{intro:[{name:"scale",parameters:[e,1],duration:1e3*t,delay:he(r)}],outro:[{name:"scale",parameters:[1,e],duration:1e3*t,delay:he(n)}]}}};n(t.TRANSITION,Er);var Sr={supported:function(){var e=window;if(void 0===e)return!1;var t=e.CSS&&e.CSS.supports,r=!!e.MSInputMethodContext&&!!document.documentMode,n=t&&CSS.supports("transform","translateX(0)");return r||t&&n&&!!["MutationObserver","requestAnimationFrame"].filter((function(t){return t in e})).length}(),options:{setConstant:function(e,t){Xt[e]=t},setPreset:function(e,t){Qt[e]=t}},helper:{interval:or,date:function(e){return e?E(e):j()},duration:k},data:{request:Ut,poll:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return or((function(){Ut(e,t)}),r)}},DOM:{create:rr,destroy:function(e){var t=function(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r].isRootElement(t))return r;return-1}(Vt,e);return!(t<0)&&(Vt[t].destroy(),Vt.splice(t,1),!0)},parse:function(e){var t,r=void 0,n=void 0,i=[];for(n=(t=e.querySelectorAll(".tick:not([data-state])")).length;n--;)r=t[n],i.push(rr(r));return i},find:er},count:{down:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if("number"==typeof t[0]&&"string"==typeof t[1]){var n=t[0],i=t[1].toLowerCase();return t.shift(),t[0]=k(n,i),t[1]=t[1]||{},t[1].units=i,hr.apply(void 0,t)}return"string"==typeof t[0]||d(t[0])?mr.apply(void 0,t):null},up:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e)throw'Can\'t start counter, the "since" parameter is required';t=jt(pr,t);var r=d(e)?e:E(e),n=dr({since:T(r)});return fr(t.server,(function(e){n.offset=e;n.timer=or((function(){var i=g(e);n.value=O(r,i,t.format,t.cascade),n.onupdate(n.value)}),t.interval,{autostart:!1}),n.complete=!0,n.onload(),n.timer.start()})),n},schedule:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof e)throw'Can\'t start scheduler, "schedule" is a required parameter';var r=(t=jt(G({},pr,{timezone:null}),t)).timezone?y(t.timezone):null,n=dr({waiting:null,nextScheduledDate:null,previouslyScheduledDate:null,onrepeat:function(e,t){},onresume:function(e){},onwait:function(e){}}),i=void 0,o=null;return fr(t.server,(function(a){n.offset=a;n.timer=or((function(){var c=g(a);if(null!==r&&(c=b(c,r)),o=lr(c,e),n.waiting=null===o,n.waiting)return void 0===i&&(i=null),n.value=new Array(t.format.length).fill(0),n.nextScheduledDate&&(n.previouslyScheduledDate=T(n.nextScheduledDate)),n.nextScheduledDate=null===o?null:T(o),void n.onwait(n.previouslyScheduledDate?T(n.previouslyScheduledDate):null);n.nextScheduledDate=T(o),null===i&&n.onresume(T(o)),(null===i||void 0!==i&&!x(i,o))&&(n.onrepeat(T(o),i?T(i):null),i&&(n.previouslyScheduledDate=T(i))),i=T(o),n.value=O(c,o,t.format,t.cascade),n.onupdate(n.value)}),t.interval,{autostart:!1}),n.complete=!0,n.onload(),n.timer.start()})),n}},plugin:{add:function(e,t,r){if("function"==typeof e){var n=e;return i(n.identifier.type,n.identifier.name,n)}return i(e,t,r)}}},Mr=function(e){if(!t.hasOwnProperty(e))return"continue";Sr.plugin[function(e){return e.replace(/-./g,(function(e){return e.charAt(1).toUpperCase()}))}("add-"+t[e])]=function(r,n){i(t[e],r,n)}};for(var Or in t)Mr(Or);return e.exports=Sr,e.exports}():null),w="undefined"!=typeof window?function(){if(!e)var e={};!function(){function e(e){this.value=e}function t(t){var r,n;function i(r,n){try{var a=t[r](n),c=a.value;c instanceof e?Promise.resolve(c.value).then((function(e){i("next",e)}),(function(e){i("throw",e)})):o(a.done?"return":"normal",a.value)}catch(u){o("throw",u)}}function o(e,t){switch(e){case"return":r.resolve({value:t,done:!0});break;case"throw":r.reject(t);break;default:r.resolve({value:t,done:!1})}(r=r.next)?i(r.key,r.arg):n=null}this._invoke=function(e,t){return new Promise((function(o,a){var c={key:e,arg:t,resolve:o,reject:a,next:null};n?n=n.next=c:(r=n=c,i(e,t))}))},"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}();var t=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();return e.exports=function(e){var r=e.DOM,n=(e.Animation.animate,e.Extension),i=e.Date.performance,o=e.View,a=o.rooter,c=o.destroyer,u=o.drawer,s=o.updater,l=o.styler,f=n.getExtension(n.Type.EASING_FUNCTION,"ease-out-cubic"),p=n.getExtension(n.Type.EASING_FUNCTION,"ease-out-sine"),d=function(e){if(e.isInitialValue()){e.root.textContent="",e.spacer=r.create("span","tick-flip-spacer"),e.root.appendChild(e.spacer);var t=r.create("span","tick-flip-shadow-top tick-flip-shadow tick-flip-front"),o=r.create("span","tick-flip-shadow-bottom tick-flip-shadow tick-flip-back");e.root.appendChild(t),e.root.appendChild(o),e.shadowCard=r.create("span","tick-flip-card-shadow"),e.root.appendChild(e.shadowCard)}if(e.spacer.textContent=e.value,e.isInitialValue()||r.visible(e.root)){var a=e.cards[e.cards.length-1];if(a&&(a.waiting=!1,a.offset=i(),a.back=e.value),e.isInitialValue()){var c=new h;c.back=e.value,c.offset=null,c.progress=1,e.root.insertBefore(c.root,e.root.firstChild),e.cards.push(c)}var u=new h;if(u.offset=null,u.progress=0,u.visual_progress=0,u.waiting=!0,u.front=e.value,u.rotate(0),e.root.insertBefore(u.root,e.root.firstChild),e.cards.push(u),!e.animating){e.animating=!0;var s=n.getExtension(n.Type.EASING_FUNCTION,e.style.flipEasing);!function t(){var n=e.cards.filter((function(e){return!e.done&&!e.waiting}));if(0!==n.length){n.forEach((function(t){null!==t.offset&&(t.progress=(i()-t.offset)/e.style.flipDuration),t.progress>=1&&(t.progress=1,t.done=!0),t.visual_progress=s(t.progress)}));n.reverse().forEach((function(e,t){var r=n[t-1];r&&e.visual_progress<=r.visual_progress&&(e.visual_progress=r.visual_progress+.01)})),n.reverse(),e.cards.forEach((function(t,r){var n=1-2*Math.abs(t.visual_progress-.5),i=1-(t.visual_progress-.5)/.5;t.shadowFront=n,t.highlightBack=i;var o=e.cards[r+1];o&&t.visual_progress>.5&&t.visual_progress>0&&(t.shadowBack=f(o.visual_progress))})),n.forEach((function(e,t){var r=e.visual_progress;r>.5&&!e.done?e.root.style.zIndex=10+t:e.root.style.removeProperty("z-index"),e.rotate(-180*r)}));var o=0,a=1;n.forEach((function(e){var t=Math.abs(e.visual_progress-.5);t<a&&(a=t,o=e.visual_progress)}));var c=p(o<.5?o/.5:(1-o)/.5);e.shadowCard.style.opacity=c,r.transform(e.shadowCard,"scaleY",c),e.cards.filter((function(e){return e.done})).slice(0,-1).forEach((function(t){e.cards=e.cards.filter((function(e){return e!==t})),t.root.parentNode&&e.root.removeChild(t.root)})),requestAnimationFrame(t)}else e.animating=!1}()}}else e.cards.forEach((function(t){t.back=e.value,t.front=e.value}))},h=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._root=r.create("span","tick-flip-card");var t=r.create("span","tick-flip-panel-front tick-flip-front tick-flip-panel"),n=r.create("span","tick-flip-panel-front-text"),i=r.create("span","tick-flip-panel-text-wrapper");n.appendChild(i);var o=r.create("span","tick-flip-panel-front-shadow");t.appendChild(n),t.appendChild(o);var a=r.create("span","tick-flip-panel-back tick-flip-back tick-flip-panel"),c=r.create("span","tick-flip-panel-back-text"),u=r.create("span","tick-flip-panel-text-wrapper");c.appendChild(u);var s=r.create("span","tick-flip-panel-back-highlight"),l=r.create("span","tick-flip-panel-back-shadow");a.appendChild(c),a.appendChild(s),a.appendChild(l),this._root.appendChild(t),this._root.appendChild(a),this._front=t,this._back=a,this._shadowFront=o,this._shadowBack=l,this._highlightBack=s,this._textBack=u,this._textFront=i,this._frontValue=null,this._backValue=null}return t(e,[{key:"rotate",value:function(e){this._front.style.transform="rotateX("+e+"deg)",this._back.style.transform="rotateX("+(-180+e)+"deg)"}},{key:"root",get:function(){return this._root}},{key:"front",set:function(e){this._frontValue=e,this._textFront.textContent=e},get:function(){return this._frontValue}},{key:"back",set:function(e){this._backValue=e,this._textBack.textContent=e},get:function(){return this._backValue}},{key:"highlightBack",set:function(e){this._highlightBack.style.opacity=e}},{key:"shadowBack",set:function(e){this._shadowBack.style.opacity=e}},{key:"shadowFront",set:function(e){this._shadowFront.style.opacity=e}}]),e}();return function(e){var t={cards:[],lastCard:null,initialCard:null,shadowAbove:null,shadowBelow:null,shadowCard:null,currentValue:null,lastValue:null,front:null,back:null};return Object.assign({},a(t,e,"flip"),s(t),l(t,{flipDuration:800,flipEasing:"ease-out-bounce"}),u(t,d),c(t))}},e.exports.identifier={name:"flip",type:"view"},e.exports}():null;b.plugin.add(w);var x=b;class I extends o.Component{constructor(e){super(e),this._tickRef=o.createRef()}componentDidMount(){this._tickInstance=x.DOM.create(this._tickRef.current,{value:this.props.value})}componentDidUpdate(){this._tickInstance&&(this._tickInstance.value=this.props.value)}componentWillUnmount(){this._tickInstance&&x.DOM.destroy(this._tickRef.current)}render(){return o.createElement("div",{ref:this._tickRef,className:"tick"},o.createElement("div",{"data-repeat":"true","aria-hidden":"true"},o.createElement("span",{"data-view":"flip"},"Tick")))}}class E extends o.Component{constructor(e){super(e);var t=0;t+=e.countdown.seconds,t+=60*e.countdown.minutes,t+=60*e.countdown.hours*60,t+=24*e.countdown.days*60*60;var r=setInterval(this.updateCountdown.bind(this),1e3);this.state={start:Date.now(),interval:r,total:t,timeLeft:t}}updateCountdown(){var e=Date.now(),t=Math.round((e-this.state.start)/1e3);this.setState({timeLeft:this.state.total-t})}render(){var{timeLeft:e}=this.state,t=e<=0,r=0,n=0,i=0,a=0;return t||(r=Math.floor(e/86400),n=Math.floor(e%86400/3600),i=Math.floor(e%3600/60),a=Math.floor(e%60)),o.createElement(o.Fragment,null,t?o.createElement("p",{style:{color:"darkred"}},(0,y.S)("You just missed the deadline!")):o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown"},o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(I,{value:r})," ",1===r?(0,y.S)("day"):(0,y.S)("days")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(I,{value:String(n).padStart(2,"0")})," ",1===n?(0,y.S)("hour"):(0,y.S)("hours")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(I,{value:String(i).padStart(2,"0")})," ",1===i?(0,y.S)("minute"):(0,y.S)("minutes")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(I,{value:String(a).padStart(2,"0")})," ",1===a?(0,y.S)("second"):(0,y.S)("seconds")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-label"},(0,y.S)("left to grab the discount!"))))}}class S extends o.Component{render(){var{campaign:e}=this.props;return e.hasOwnProperty("dismissed")&&e.dismissed?null:o.createElement("div",{className:"wprm-admin-dashboard-marketing"},o.createElement(g,{title:e.page_title},o.createElement("p",{dangerouslySetInnerHTML:{__html:e.page_text}}),o.createElement(E,{countdown:e.countdown}),o.createElement("div",{class:"wprm-admin-dashboard-marketing-actions"},o.createElement("a",{className:"button button-primary",href:e.url,target:"_blank"},(0,y.S)("Learn more about the sale")," 🎉"),o.createElement("a",{href:"#",class:"wprm-admin-dashboard-marketing-actions-remove",onClick:()=>{v.Z.general.dismissNotice("dashboard_".concat(e.id)),e.dismissed=!0,this.forceUpdate()}},(0,y.S)("Remove Notice")))))}}var M=e=>o.createElement("div",{className:"wprm-admin-dashboard-block-footer-container"},e.hasOwnProperty("title")&&o.createElement("div",{className:"wprm-admin-dashboard-block-footer-title"},e.title),o.createElement("div",{className:"wprm-admin-dashboard-block-footer"},e.children)),O=r(67127),k=e=>o.createElement("label",{className:"wprm-admin-dashboard-toggle-container"},o.createElement(O.Z,{className:"wprm-admin-dashboard-toggle",checked:e.value,onChange:t=>e.onChange(t.target.checked)}),o.createElement("span",{className:"wprm-admin-dashboard-toggle-label"},e.children)),j=e=>o.createElement(o.Fragment,null,o.createElement("p",null,(0,y.S)("Track different visitor actions related to recipes.")," ",(0,y.S)("Find out what recipes visitors are interacting with, what affiliate links are getting clicked on, and more...")),o.createElement(k,{value:!1,onChange:()=>{e.onEnable()}},(0,y.S)("Enable Analytics"))),T=r(34133),D=r(71629),A=r.n(D),P=r(64403),_=r.n(P),N=r(81668),C=r(63774),L=r.n(C),R=r(86901),B=r.n(R),U=r(81027),z=r.n(U),H=r(10442),G=r.n(H),W=r(9338),Z=r.n(W),q=function(e){return 0===e?0:e>0?1:-1},F=function(e){return Z()(e)&&e.indexOf("%")===e.length-1},V=function(e){return G()(e)&&!z()(e)},J=function(e){return V(e)||Z()(e)},Y=0,X=function(e){var t=++Y;return"".concat(e||"").concat(t)},Q=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!V(e)&&!Z()(e))return n;if(F(e)){var o=e.indexOf("%");r=t*parseFloat(e.slice(0,o))/100}else r=+e;return z()(r)&&(r=n),i&&r>t&&(r=t),r},$=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},K=function(e,t){return V(e)&&V(t)?function(r){return e+r*(t-e)}:function(){return t}};function ee(e,t,r){return e&&e.length?e.find((function(e){return e&&("function"==typeof t?t(e):L()(e,t))===r})):null}var te=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i]};function re(e){return(re="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 ne(){return(ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ie(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oe(e,t){return(oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ae(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=ue(e);if(t){var i=ue(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return ce(this,r)}}function ce(e,t){return!t||"object"!==re(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 ue(e){return(ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var se=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&&oe(e,t)}(a,e);var t,r,n,i=ae(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).handleResize=void 0,t.mounted=void 0,t.containerRef=void 0,t.updateDimensionsImmediate=function(){if(t.mounted){var e=t.getContainerSize();if(e){var r=t.state,n=r.containerWidth,i=r.containerHeight,o=e.containerWidth,a=e.containerHeight;o===n&&a===i||t.setState({containerWidth:o,containerHeight:a})}}},t.state={containerWidth:-1,containerHeight:-1},t.handleResize=e.debounce>0?A()(t.updateDimensionsImmediate,e.debounce):t.updateDimensionsImmediate,t.containerRef=o.createRef(),t}return t=a,(r=[{key:"componentDidMount",value:function(){this.mounted=!0;var e=this.getContainerSize();e&&this.setState(e)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"getContainerSize",value:function(){return this.containerRef.current?{containerWidth:this.containerRef.current.clientWidth,containerHeight:this.containerRef.current.clientHeight}:null}},{key:"renderChart",value:function(){var e=this.state,t=e.containerWidth,r=e.containerHeight;if(t<0||r<0)return null;var n=this.props,i=n.aspect,a=n.width,c=n.height,u=n.minWidth,s=n.minHeight,l=n.maxHeight,f=n.children;te(F(a)||F(c),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,c),te(!i||i>0,"The aspect(%s) must be greater than zero.",i);var p=F(a)?t:a,d=F(c)?r:c;return i&&i>0&&(p?d=p/i:d&&(p=d*i),l&&d>l&&(d=l)),te(p>0||d>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",p,d,a,c,u,s,i),o.cloneElement(f,{width:p,height:d})}},{key:"render",value:function(){var e=this.props,t=e.minWidth,r=e.minHeight,n=e.width,i=e.height,a=e.maxHeight,c=e.id,u=e.className,s={width:n,height:i,minWidth:t,minHeight:r,maxHeight:a};return o.createElement(N.ZP,{handleWidth:!0,handleHeight:!0,onResize:this.handleResize,targetRef:this.containerRef},o.createElement("div",ne({},null!=c?{id:"".concat(c)}:{},{className:_()("recharts-responsive-container",u),style:s,ref:this.containerRef}),this.renderChart()))}}])&&ie(t.prototype,r),n&&ie(t,n),a}(o.Component);se.defaultProps={width:"100%",height:"100%",debounce:0};var le=r(13485),fe=r.n(le),pe=r(77106),de=r.n(pe),he=r(46423),me=r.n(he),ve=r(73804),ye=r.n(ve),ge=r(5251),be=r.n(ge),we=r(6934),xe=r.n(we),Ie=r(14847),Ee=r.n(Ie),Se=r(47563),Me=r.n(Se),Oe=r(11006),ke=r.n(Oe);function je(e){return(je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Te=["viewBox","children"],De=["className","color","height","id","lang","max","media","method","min","name","style","target","type","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],Ae=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],Pe=function(e,t,r){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var n=e;if((0,o.isValidElement)(e)&&(n=e.props),!ke()(n))return null;var i={};return Object.keys(n).forEach((function(e){(De.includes(e)||r&&Te.includes(e)||t&&Ae.includes(e))&&(i[e]=n[e])})),i},_e=function(e,t){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var r=e;if((0,o.isValidElement)(e)&&(r=e.props),!ke()(r))return null;var n={};return Object.keys(r).forEach((function(e){Ae.includes(e)&&(n[e]=t||function(t){return r[e](r,t)})})),n},Ne=function(e,t,r){if(!ke()(e)||"object"!==je(e))return null;var n=null;return Object.keys(e).forEach((function(i){var o=e[i];Ae.includes(i)&&"function"==typeof o&&(n||(n={}),n[i]=function(e,t,r){return function(n){return e(t,r,n),null}}(o,t,r))})),n};function Ce(){return(Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Le(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Re(e){var t=e.children,r=e.width,n=e.height,i=e.viewBox,a=e.className,c=e.style,u=Le(e,["children","width","height","viewBox","className","style"]),s=i||{width:r,height:n,x:0,y:0},l=_()("recharts-surface",a);return o.createElement("svg",Ce({},Pe(u,!0,!0),{className:l,width:r,height:n,style:c,viewBox:"".concat(s.x," ").concat(s.y," ").concat(s.width," ").concat(s.height),version:"1.1"}),t)}function Be(){return(Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Ue(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function ze(e){var t=e.children,r=e.className,n=Ue(e,["children","className"]),i=_()("recharts-layer",r);return o.createElement("g",Be({className:i},Pe(n,!0)),t)}var He=r(36766),Ge=r.n(He),We=r(2652),Ze=r.n(We),qe=r(44287),Fe=r(61666),Ve=r.n(Fe);function Je(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1,n=function n(i){r<0&&(r=i),i-r>t?(e(i),r=-1):Ve()(n)};Ve()(n)}function Ye(e){return(Ye="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 Xe(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Qe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qe(e,t)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $e(){var e=function(){return null},t=!1,r=function r(n){if(!t){if(Array.isArray(n)){if(!n.length)return;var i=Xe(n),o=i[0],a=i.slice(1);return"number"==typeof o?void Je(r.bind(null,a),o):(r(o),void Je(r.bind(null,a)))}"object"===Ye(n)&&e(n),"function"==typeof n&&n()}};return{stop:function(){t=!0},start:function(e){t=!1,r(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}function Ke(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(r),!0).forEach((function(t){tt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ke(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var rt=["Webkit","Moz","O","ms"],nt=["-webkit-","-moz-","-o-","-ms-"],it=["transform","transformOrigin","transition"],ot=function(e){return e},at=function(e,t){return Object.keys(t).reduce((function(r,n){return et(et({},r),{},tt({},n,e(n,t[n])))}),{})},ct=function(e){return Object.keys(e).reduce((function(e,t){return et(et({},e),function(e,t){if(-1===it.indexOf(e))return tt({},e,t);var r="transition"===e,n=e.replace(/(\w)/,(function(e){return e.toUpperCase()})),i=t;return rt.reduce((function(e,o,a){return r&&(i=t.replace(/(transform|transform-origin)/gim,"".concat(nt[a],"$1"))),et(et({},e),{},tt({},o+n,i))}),{})}(t,e[t]))}),e)},ut=function(e,t,r){return e.map((function(e){return"".concat((n=e,n.replace(/([A-Z])/g,(function(e){return"-".concat(e.toLowerCase())})))," ").concat(t,"ms ").concat(r);var n})).join(",")};function st(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||ft(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lt(e){return function(e){if(Array.isArray(e))return pt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||ft(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ft(e,t){if(e){if("string"==typeof e)return pt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pt(e,t):void 0}}function pt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var dt=1e-4,ht=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},mt=function(e,t){return e.map((function(e,r){return e*Math.pow(t,r)})).reduce((function(e,t){return e+t}))},vt=function(e,t){return function(r){var n=ht(e,t);return mt(n,r)}},yt=function(e,t){return function(r){var n=ht(e,t),i=[].concat(lt(n.map((function(e,t){return e*t})).slice(1)),[0]);return mt(i,r)}},gt=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],i=t[1],o=t[2],a=t[3];if(1===t.length)switch(t[0]){case"linear":n=0,i=0,o=1,a=1;break;case"ease":n=.25,i=.1,o=.25,a=1;break;case"ease-in":n=.42,i=0,o=1,a=1;break;case"ease-out":n=.42,i=0,o=.58,a=1;break;case"ease-in-out":n=0,i=0,o=.58,a=1;break;default:var c=t[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var u=c[1].split(")")[0].split(",").map((function(e){return parseFloat(e)})),s=st(u,4);n=s[0],i=s[1],o=s[2],a=s[3]}}[n,o,i,a].every((function(e){return"number"==typeof e&&e>=0&&e<=1}));var l=vt(n,o),f=vt(i,a),p=yt(n,o),d=function(e){return e>1?1:e<0?0:e},h=function(e){for(var t=e>1?1:e,r=t,n=0;n<8;++n){var i=l(r)-t,o=p(r);if(Math.abs(i-t)<dt||o<dt)return f(r);r=d(r-i/o)}return f(r)};return h.isStepper=!1,h},bt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,r=void 0===t?100:t,n=e.damping,i=void 0===n?8:n,o=e.dt,a=void 0===o?17:o,c=function(e,t,n){var o=n+(-(e-t)*r-n*i)*a/1e3,c=n*a/1e3+e;return Math.abs(c-t)<dt&&Math.abs(o)<dt?[t,0]:[c,o]};return c.isStepper=!0,c.dt=a,c};function wt(e){return function(e){if(Array.isArray(e))return Ot(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Mt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function It(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xt(Object(r),!0).forEach((function(t){Et(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Et(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function St(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||Mt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mt(e,t){if(e){if("string"==typeof e)return Ot(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ot(e,t):void 0}}function Ot(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var kt=function(e,t,r){return e+(t-e)*r},jt=function(e){return e.from!==e.to},Tt=function e(t,r,n){var i=at((function(e,r){if(jt(r)){var n=St(t(r.from,r.to,r.velocity),2),i=n[0],o=n[1];return It(It({},r),{},{from:i,velocity:o})}return r}),r);return n<1?at((function(e,t){return jt(t)?It(It({},t),{},{velocity:kt(t.velocity,i[e].velocity,n),from:kt(t.from,i[e].from,n)}):t}),r):e(t,i,n-1)},Dt=function(e,t,r,n,i){var o,a,c,u,s=(o=e,a=t,[Object.keys(o),Object.keys(a)].reduce((function(e,t){return e.filter((function(e){return t.includes(e)}))}))),l=s.reduce((function(r,n){return It(It({},r),{},Et({},n,[e[n],t[n]]))}),{}),f=s.reduce((function(r,n){return It(It({},r),{},Et({},n,{from:e[n],velocity:0,to:t[n]}))}),{}),p=-1,d=function(){return null};return d=r.isStepper?function(n){c||(c=n);var o=(n-c)/r.dt;f=Tt(r,f,o),i(It(It(It({},e),t),at((function(e,t){return t.from}),f))),c=n,Object.values(f).filter(jt).length&&(p=Ve()(d))}:function(o){u||(u=o);var a=(o-u)/n,c=at((function(e,t){return kt.apply(void 0,wt(t).concat([r(a)]))}),l);if(i(It(It(It({},e),t),c)),a<1)p=Ve()(d);else{var s=at((function(e,t){return kt.apply(void 0,wt(t).concat([r(1)]))}),l);i(It(It(It({},e),t),s))}},function(){return Ve()(d),function(){(0,Fe.cancel)(p)}}};function At(e){return(At="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 Pt(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function _t(e){return function(e){if(Array.isArray(e))return Nt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Nt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Nt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ct(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Lt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(r),!0).forEach((function(t){Rt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ct(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ut(e,t){return(Ut=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function zt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Wt(e);if(t){var i=Wt(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Ht(this,r)}}function Ht(e,t){return!t||"object"!==At(t)&&"function"!=typeof t?Gt(e):t}function Gt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wt(e){return(Wt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Zt=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&&Ut(e,t)}(a,e);var t,r,n,i=zt(a);function a(e,t){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var n=(r=i.call(this,e,t)).props,o=n.isActive,c=n.attributeName,u=n.from,s=n.to,l=n.steps,f=n.children;if(r.handleStyleChange=r.handleStyleChange.bind(Gt(r)),r.changeStyle=r.changeStyle.bind(Gt(r)),!o)return r.state={style:{}},"function"==typeof f&&(r.state={style:s}),Ht(r);if(l&&l.length)r.state={style:l[0].style};else if(u){if("function"==typeof f)return r.state={style:u},Ht(r);r.state={style:c?Rt({},c,u):u}}else r.state={style:{}};return r}return t=a,(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,r=e.canBegin;this.mounted=!0,t&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isActive,n=t.canBegin,i=t.attributeName,o=t.shouldReAnimate;if(n)if(r){if(!((0,qe.deepEqual)(e.to,this.props.to)&&e.canBegin&&e.isActive)){var a=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var c=a||o?this.props.from:e.to;if(this.state&&this.state.style){var u={style:i?Rt({},i,c):c};(i&&this.state.style[i]!==c||!i&&this.state.style!==c)&&this.setState(u)}this.runAnimation(Lt(Lt({},this.props),{},{from:c,begin:0}))}}else{var s={style:i?Rt({},i,this.props.to):this.props.to};this.state&&this.state.style&&(i&&this.state.style[i]!==this.props.to||!i&&this.state.style!==this.props.to)&&this.setState(s)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1,this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation()}},{key:"runJSAnimation",value:function(e){var t=this,r=e.from,n=e.to,i=e.duration,o=e.easing,a=e.begin,c=e.onAnimationEnd,u=e.onAnimationStart,s=Dt(r,n,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return gt(n);case"spring":return bt();default:if("cubic-bezier"===n.split("(")[0])return gt(n)}return"function"==typeof n?n:null}(o),i,this.changeStyle);this.manager.start([u,a,function(){t.stopJSAnimation=s()},i,c])}},{key:"runStepAnimation",value:function(e){var t=this,r=e.steps,n=e.begin,i=e.onAnimationStart,o=r[0],a=o.style,c=o.duration,u=void 0===c?0:c;return this.manager.start([i].concat(_t(r.reduce((function(e,n,i){if(0===i)return e;var o=n.duration,a=n.easing,c=void 0===a?"ease":a,u=n.style,s=n.properties,l=n.onAnimationEnd,f=i>0?r[i-1]:n,p=s||Object.keys(u);if("function"==typeof c||"spring"===c)return[].concat(_t(e),[t.runJSAnimation.bind(t,{from:f.style,to:u,duration:o,easing:c}),o]);var d=ut(p,o,c),h=Lt(Lt(Lt({},f.style),u),{},{transition:d});return[].concat(_t(e),[h,o,l]).filter(ot)}),[a,Math.max(u,n)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=$e());var t=e.begin,r=e.duration,n=e.attributeName,i=e.to,o=e.easing,a=e.onAnimationStart,c=e.onAnimationEnd,u=e.steps,s=e.children,l=this.manager;if(this.unSubscribe=l.subscribe(this.handleStyleChange),"function"!=typeof o&&"function"!=typeof s&&"spring"!==o)if(u.length>1)this.runStepAnimation(e);else{var f=n?Rt({},n,i):i,p=ut(Object.keys(f),r,o);l.start([a,t,Lt(Lt({},f),{},{transition:p}),r,c])}else this.runJSAnimation(e)}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"render",value:function(){var e=this.props,t=e.children,r=(e.begin,e.duration,e.attributeName,e.easing,e.isActive),n=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,Pt(e,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),i=o.Children.count(t),a=ct(this.state.style);if("function"==typeof t)return t(a);if(!r||0===i)return t;var c=function(e){var t=e.props,r=t.style,i=void 0===r?{}:r,c=t.className;return(0,o.cloneElement)(e,Lt(Lt({},n),{},{style:Lt(Lt({},i),a),className:c}))};return 1===i?c(o.Children.only(t)):o.createElement("div",null,o.Children.map(t,(function(e){return c(e)})))}}])&&Bt(t.prototype,r),n&&Bt(t,n),a}(o.PureComponent);Zt.displayName="Animate",Zt.propTypes={from:Ze().oneOfType([Ze().object,Ze().string]),to:Ze().oneOfType([Ze().object,Ze().string]),attributeName:Ze().string,duration:Ze().number,begin:Ze().number,easing:Ze().oneOfType([Ze().string,Ze().func]),steps:Ze().arrayOf(Ze().shape({duration:Ze().number.isRequired,style:Ze().object.isRequired,easing:Ze().oneOfType([Ze().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),Ze().func]),properties:Ze().arrayOf("string"),onAnimationEnd:Ze().func})),children:Ze().oneOfType([Ze().node,Ze().func]),isActive:Ze().bool,canBegin:Ze().bool,onAnimationEnd:Ze().func,shouldReAnimate:Ze().bool,onAnimationStart:Ze().func,onAnimationReStart:Ze().func},Zt.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};var qt=Zt,Ft=r(33092);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 Jt(){return(Jt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Yt(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Xt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xt(Object(r),!0).forEach((function(t){$t(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function $t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tr(e,t){return(tr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=ir(e);if(t){var i=ir(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return nr(this,r)}}function nr(e,t){return!t||"object"!==Vt(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 ir(e){return(ir=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}void 0===Number.isFinite&&(Number.isFinite=function(e){return"number"==typeof e&&isFinite(e)});var or=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.steps,r=e.duration;return t&&t.length?t.reduce((function(e,t){return e+(Number.isFinite(t.duration)&&t.duration>0?t.duration:0)}),0):Number.isFinite(r)?r:0},ar=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&&tr(e,t)}(a,e);var t,r,n,i=rr(a);function a(){var e;Kt(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).state={isActive:!1},e.handleEnter=function(t,r){var n=e.props,i=n.appearOptions,o=n.enterOptions;e.handleStyleActive(r?i:o)},e.handleExit=function(){e.handleStyleActive(e.props.leaveOptions)},e}return t=a,(r=[{key:"handleStyleActive",value:function(e){if(e){var t=e.onAnimationEnd?function(){e.onAnimationEnd()}:null;this.setState(Qt(Qt({},e),{},{onAnimationEnd:t,isActive:!0}))}}},{key:"parseTimeout",value:function(){var e=this.props,t=e.appearOptions,r=e.enterOptions,n=e.leaveOptions;return or(t)+or(r)+or(n)}},{key:"render",value:function(){var e=this,t=this.props,r=t.children,n=(t.appearOptions,t.enterOptions,t.leaveOptions,Yt(t,["children","appearOptions","enterOptions","leaveOptions"]));return o.createElement(Ft.Transition,Jt({},n,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return o.createElement(qt,e.state,o.Children.only(r))}))}}])&&er(t.prototype,r),n&&er(t,n),a}(o.Component);ar.propTypes={appearOptions:Ze().object,enterOptions:Ze().object,leaveOptions:Ze().object,children:Ze().element};var cr=ar;function ur(e){var t=e.component,r=e.children,n=e.appear,i=e.enter,a=e.leave;return o.createElement(Ft.TransitionGroup,{component:t},o.Children.map(r,(function(e,t){return o.createElement(cr,{appearOptions:n,enterOptions:i,leaveOptions:a,key:"child-".concat(t)},e)})))}ur.propTypes={appear:Ze().object,enter:Ze().object,leave:Ze().object,children:Ze().oneOfType([Ze().array,Ze().element]),component:Ze().any},ur.defaultProps={component:"span"};var sr=qt;function lr(e){return(lr="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 fr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return pr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return pr(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function dr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function hr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dr(Object(r),!0).forEach((function(t){mr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function mr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gr(e,t){return(gr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function br(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=xr(e);if(t){var i=xr(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return wr(this,r)}}function wr(e,t){return!t||"object"!==lr(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 xr(e){return(xr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ir(e){return B()(e)&&J(e[0])&&J(e[1])?e.join(" ~ "):e}var Er=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&&gr(e,t)}(a,e);var t,r,n,i=br(a);function a(){return vr(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"renderContent",value:function(){var e=this.props,t=e.payload,r=e.separator,n=e.formatter,i=e.itemStyle,a=e.itemSorter;if(t&&t.length){var c=(a?be()(t,a):t).map((function(e,a){if("none"===e.type)return null;var c=hr({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},i),u=e.formatter||n||Ir,s=e.name,l=e.value;if(u){var f=u(l,s,e,a,t);if(Array.isArray(f)){var p=fr(f,2);l=p[0],s=p[1]}else l=f}return o.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(a),style:c},J(s)?o.createElement("span",{className:"recharts-tooltip-item-name"},s):null,J(s)?o.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,o.createElement("span",{className:"recharts-tooltip-item-value"},l),o.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))}));return o.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},c)}return null}},{key:"render",value:function(){var e=this.props,t=e.wrapperClassName,r=e.contentStyle,n=e.labelClassName,i=e.labelStyle,a=e.label,c=e.labelFormatter,u=e.payload,s=hr({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},r),l=hr({margin:0},i),f=!Ee()(a),p=f?a:"",d=_()("recharts-default-tooltip",t),h=_()("recharts-tooltip-label",n);return f&&c&&(p=c(a,u)),o.createElement("div",{className:d,style:s},o.createElement("p",{className:h,style:l},o.isValidElement(p)?p:"".concat(p)),this.renderContent())}}])&&yr(t.prototype,r),n&&yr(t,n),a}(o.PureComponent);Er.displayName="DefaultTooltipContent",Er.defaultProps={separator:" : ",contentStyle:{},itemStyle:{},labelStyle:{}};var Sr={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return Sr[e]},set:function(e,t){if("string"==typeof e)Sr[e]=t;else{var r=Object.keys(e);r&&r.length&&r.forEach((function(t){Sr[t]=e[t]}))}}};function Mr(e){return(Mr="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 Or(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function kr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Or(Object(r),!0).forEach((function(t){jr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Or(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ar(e,t){return(Ar=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Nr(e);if(t){var i=Nr(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return _r(this,r)}}function _r(e,t){return!t||"object"!==Mr(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 Nr(e){return(Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Cr="recharts-tooltip-wrapper";function Lr(e){return e.dataKey}var Rr=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&&Ar(e,t)}(a,e);var t,r,n,i=Pr(a);function a(){var e;Tr(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).state={boxWidth:-1,boxHeight:-1},e.wrapperNode=void 0,e.getTranslate=function(t){var r=t.key,n=t.tooltipDimension,i=t.viewBoxDimension,o=e.props,a=o.allowEscapeViewBox,c=o.coordinate,u=o.offset,s=o.position,l=o.viewBox;if(s&&V(s[r]))return s[r];var f=c[r]-n-u,p=c[r]+u;return a[r]?p:c[r]+n+u>l[r]+i?Math.max(f,l[r]):Math.max(p,l[r])},e}return t=a,(r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var e=this.state,t=e.boxWidth,r=e.boxHeight;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();(Math.abs(n.width-t)>1||Math.abs(n.height-r)>1)&&this.setState({boxWidth:n.width,boxHeight:n.height})}else-1===t&&-1===r||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var e,t,r,n=this,i=this.props,a=i.payload,c=i.isAnimationActive,u=i.animationDuration,s=i.animationEasing,l=i.filterNull,f=function(e,t){return!0===e?Ge()(t,Lr):me()(e)?Ge()(t,e):t}(i.payloadUniqBy,l&&a&&a.length?a.filter((function(e){return!Ee()(e.value)})):a),p=f&&f.length,d=this.props,h=d.content,m=d.viewBox,v=d.coordinate,y=d.position,g=d.active,b=kr({pointerEvents:"none",visibility:g&&p?"visible":"hidden",position:"absolute",top:0,left:0},d.wrapperStyle);if(y&&V(y.x)&&V(y.y))t=y.x,r=y.y;else{var w=this.state,x=w.boxWidth,I=w.boxHeight;x>0&&I>0&&v?(t=this.getTranslate({key:"x",tooltipDimension:x,viewBoxDimension:m.width}),r=this.getTranslate({key:"y",tooltipDimension:I,viewBoxDimension:m.height})):b.visibility="hidden"}b=kr(kr({},ct({transform:this.props.useTranslate3d?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")})),b),c&&g&&(b=kr(kr({},ct({transition:"transform ".concat(u,"ms ").concat(s)})),b));var E=_()(Cr,(jr(e={},"".concat(Cr,"-right"),V(t)&&v&&V(v.x)&&t>=v.x),jr(e,"".concat(Cr,"-left"),V(t)&&v&&V(v.x)&&t<v.x),jr(e,"".concat(Cr,"-bottom"),V(r)&&v&&V(v.y)&&r>=v.y),jr(e,"".concat(Cr,"-top"),V(r)&&v&&V(v.y)&&r<v.y),e));return o.createElement("div",{className:E,style:b,ref:function(e){n.wrapperNode=e}},function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?o.createElement(e,t):o.createElement(Er,t)}(h,kr(kr({},this.props),{},{payload:f})))}}])&&Dr(t.prototype,r),n&&Dr(t,n),a}(o.PureComponent);Rr.displayName="Tooltip",Rr.defaultProps={active:!1,allowEscapeViewBox:{x:!1,y:!1},offset:10,viewBox:{x1:0,x2:0,y1:0,y2:0},coordinate:{x:0,y:0},cursorStyle:{},separator:" : ",wrapperStyle:{},contentStyle:{},itemStyle:{},labelStyle:{},cursor:!0,trigger:"hover",isAnimationActive:!Sr.isSsr,animationEasing:"ease",animationDuration:400,filterNull:!0,useTranslate3d:!1};var Br=r(21528),Ur=r.n(Br),zr=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,Math.PI),Hr=2*zr;var Gr={draw:function(e,t){var r=Math.sqrt(t/zr);e.moveTo(r,0),e.arc(0,0,r,0,Hr)}},Wr={draw:function(e,t){var r=Math.sqrt(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},Zr=Math.sqrt(1/3),qr=2*Zr,Fr={draw:function(e,t){var r=Math.sqrt(t/qr),n=r*Zr;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},Vr={draw:function(e,t){var r=Math.sqrt(t),n=-r/2;e.rect(n,n,r,r)}},Jr=Math.sin(zr/10)/Math.sin(7*zr/10),Yr=Math.sin(Hr/10)*Jr,Xr=-Math.cos(Hr/10)*Jr,Qr={draw:function(e,t){var r=Math.sqrt(.8908130915292852*t),n=Yr*r,i=Xr*r;e.moveTo(0,-r),e.lineTo(n,i);for(var o=1;o<5;++o){var a=Hr*o/5,c=Math.cos(a),u=Math.sin(a);e.lineTo(u*r,-c*r),e.lineTo(c*n-u*i,u*n+c*i)}e.closePath()}},$r=Math.sqrt(3),Kr={draw:function(e,t){var r=-Math.sqrt(t/(3*$r));e.moveTo(0,2*r),e.lineTo(-$r*r,-r),e.lineTo($r*r,-r),e.closePath()}},en=-.5,tn=Math.sqrt(3)/2,rn=1/Math.sqrt(12),nn=3*(rn/2+1),on={draw:function(e,t){var r=Math.sqrt(t/nn),n=r/2,i=r*rn,o=n,a=r*rn+r,c=-o,u=a;e.moveTo(n,i),e.lineTo(o,a),e.lineTo(c,u),e.lineTo(en*n-tn*i,tn*n+en*i),e.lineTo(en*o-tn*a,tn*o+en*a),e.lineTo(en*c-tn*u,tn*c+en*u),e.lineTo(en*n+tn*i,en*i-tn*n),e.lineTo(en*o+tn*a,en*a-tn*o),e.lineTo(en*c+tn*u,en*u-tn*c),e.closePath()}};const an=Math.PI,cn=2*an,un=1e-6,sn=cn-un;function ln(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function fn(){return new ln}ln.prototype=fn.prototype={constructor:ln,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,r,n){this._+="Q"+ +e+","+ +t+","+(this._x1=+r)+","+(this._y1=+n)},bezierCurveTo:function(e,t,r,n,i,o){this._+="C"+ +e+","+ +t+","+ +r+","+ +n+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(e,t,r,n,i){e=+e,t=+t,r=+r,n=+n,i=+i;var o=this._x1,a=this._y1,c=r-e,u=n-t,s=o-e,l=a-t,f=s*s+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(f>un)if(Math.abs(l*c-u*s)>un&&i){var p=r-o,d=n-a,h=c*c+u*u,m=p*p+d*d,v=Math.sqrt(h),y=Math.sqrt(f),g=i*Math.tan((an-Math.acos((h+f-m)/(2*v*y)))/2),b=g/y,w=g/v;Math.abs(b-1)>un&&(this._+="L"+(e+b*s)+","+(t+b*l)),this._+="A"+i+","+i+",0,0,"+ +(l*p>s*d)+","+(this._x1=e+w*c)+","+(this._y1=t+w*u)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,r,n,i,o){e=+e,t=+t,o=!!o;var a=(r=+r)*Math.cos(n),c=r*Math.sin(n),u=e+a,s=t+c,l=1^o,f=o?n-i:i-n;if(r<0)throw new Error("negative radius: "+r);null===this._x1?this._+="M"+u+","+s:(Math.abs(this._x1-u)>un||Math.abs(this._y1-s)>un)&&(this._+="L"+u+","+s),r&&(f<0&&(f=f%cn+cn),f>sn?this._+="A"+r+","+r+",0,1,"+l+","+(e-a)+","+(t-c)+"A"+r+","+r+",0,1,"+l+","+(this._x1=u)+","+(this._y1=s):f>un&&(this._+="A"+r+","+r+",0,"+ +(f>=an)+","+l+","+(this._x1=e+r*Math.cos(i))+","+(this._y1=t+r*Math.sin(i))))},rect:function(e,t,r,n){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +r+"v"+ +n+"h"+-r+"Z"},toString:function(){return this._}};var pn=fn;function dn(e){return function(){return e}}function hn(e){return(hn="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 mn(){return(mn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function vn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gn(e,t){return(gn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function bn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=xn(e);if(t){var i=xn(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return wn(this,r)}}function wn(e,t){return!t||"object"!==hn(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 xn(e){return(xn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var In={symbolCircle:Gr,symbolCross:Wr,symbolDiamond:Fr,symbolSquare:Vr,symbolStar:Qr,symbolTriangle:Kr,symbolWye:on},En=Math.PI/180,Sn=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&&gn(e,t)}(a,e);var t,r,n,i=bn(a);function a(){return vn(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"getPath",value:function(){var e=this.props,t=e.size,r=e.sizeType,n=e.type,i=function(e){var t="symbol".concat(Ur()(e));return In[t]||Gr}(n);return function(e,t){var r=null;function n(){var n;if(r||(r=n=pn()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),n)return r=null,n+""||null}return e="function"==typeof e?e:dn(e||Gr),t="function"==typeof t?t:dn(void 0===t?64:+t),n.type=function(t){return arguments.length?(e="function"==typeof t?t:dn(t),n):e},n.size=function(e){return arguments.length?(t="function"==typeof e?e:dn(+e),n):t},n.context=function(e){return arguments.length?(r=null==e?null:e,n):r},n}().type(i).size(function(e,t,r){if("area"===t)return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return.5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var n=18*En;return 1.25*e*e*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}}(t,r,n))()}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.cx,n=e.cy,i=e.size;return r===+r&&n===+n&&i===+i?o.createElement("path",mn({},Pe(this.props,!0),{className:_()("recharts-symbols",t),transform:"translate(".concat(r,", ").concat(n,")"),d:this.getPath()})):null}}])&&yn(t.prototype,r),n&&yn(t,n),a}(o.PureComponent);function Mn(e){return(Mn="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 On(){return(On=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function kn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function jn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function An(e,t){return(An=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Nn(e);if(t){var i=Nn(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return _n(this,r)}}function _n(e,t){return!t||"object"!==Mn(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 Nn(e){return(Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Sn.defaultProps={type:"circle",size:64,sizeType:"area"},Sn.registerSymbol=function(e,t){In["symbol".concat(Ur()(e))]=t};var Cn=32,Ln=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&&An(e,t)}(a,e);var t,r,n,i=Pn(a);function a(){return Tn(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"renderIcon",value:function(e){var t=this.props.inactiveColor,r=16,n=Cn/6,i=Cn/3,a=e.inactive?t:e.color;if("plainline"===e.type)return o.createElement("line",{strokeWidth:4,fill:"none",stroke:a,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:r,x2:Cn,y2:r,className:"recharts-legend-icon"});if("line"===e.type)return o.createElement("path",{strokeWidth:4,fill:"none",stroke:a,d:"M0,".concat(r,"h").concat(i,"\n A").concat(n,",").concat(n,",0,1,1,").concat(2*i,",").concat(r,"\n H").concat(Cn,"M").concat(2*i,",").concat(r,"\n A").concat(n,",").concat(n,",0,1,1,").concat(i,",").concat(r),className:"recharts-legend-icon"});if("rect"===e.type)return o.createElement("path",{stroke:"none",fill:a,d:"M0,".concat(4,"h").concat(Cn,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(o.isValidElement(e.legendIcon)){var c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kn(Object(r),!0).forEach((function(t){jn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e);return delete c.legendIcon,o.cloneElement(e.legendIcon,c)}return o.createElement(Sn,{fill:a,cx:r,cy:r,size:Cn,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,t=this.props,r=t.payload,n=t.iconSize,i=t.layout,a=t.formatter,c=t.inactiveColor,u={x:0,y:0,width:Cn,height:Cn},s={display:"horizontal"===i?"inline-block":"block",marginRight:10},l={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(t,r){var i,f=t.formatter||a,p=_()((jn(i={"recharts-legend-item":!0},"legend-item-".concat(r),!0),jn(i,"inactive",t.inactive),i));if("none"===t.type)return null;var d=t.inactive?c:t.color;return o.createElement("li",On({className:p,style:s,key:"legend-item-".concat(r)},Ne(e.props,t,r)),o.createElement(Re,{width:n,height:n,viewBox:u,style:l},e.renderIcon(t)),o.createElement("span",{className:"recharts-legend-item-text",style:{color:d}},f?f(t.value,t,r):t.value))}))}},{key:"render",value:function(){var e=this.props,t=e.payload,r=e.layout,n=e.align;if(!t||!t.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?n:"left"};return o.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}])&&Dn(t.prototype,r),n&&Dn(t,n),a}(o.PureComponent);function Rn(e){return(Rn="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 Bn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Un(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Bn(Object(r),!0).forEach((function(t){zn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wn(e,t){return(Wn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Zn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Fn(e);if(t){var i=Fn(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return qn(this,r)}}function qn(e,t){return!t||"object"!==Rn(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 Fn(e){return(Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Vn(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Jn(e){return e.value}function Yn(e,t){return!0===e?Ge()(t,Jn):me()(e)?Ge()(t,e):t}Ln.displayName="Legend",Ln.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"};var Xn=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&&Wn(e,t)}(a,e);var t,r,n,i=Zn(a);function a(){var e;Hn(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).wrapperNode=void 0,e.state={boxWidth:-1,boxHeight:-1},e}return t=a,n=[{key:"getWithHeight",value:function(e,t){var r=e.props.layout;return"vertical"===r&&V(e.props.height)?{height:e.props.height}:"horizontal"===r?{width:e.props.width||t}:null}}],(r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){return this.wrapperNode&&this.wrapperNode.getBoundingClientRect?this.wrapperNode.getBoundingClientRect():null}},{key:"getBBoxSnapshot",value:function(){var e=this.state,t=e.boxWidth,r=e.boxHeight;return t>=0&&r>=0?{width:t,height:r}:null}},{key:"getDefaultPosition",value:function(e){var t,r,n=this.props,i=n.layout,o=n.align,a=n.verticalAlign,c=n.margin,u=n.chartWidth,s=n.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===o&&"vertical"===i?{left:((u||0)-(this.getBBoxSnapshot()||{width:0}).width)/2}:"right"===o?{right:c&&c.right||0}:{left:c&&c.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(r="middle"===a?{top:((s||0)-(this.getBBoxSnapshot()||{height:0}).height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),Un(Un({},t),r)}},{key:"updateBBox",value:function(){var e=this.state,t=e.boxWidth,r=e.boxHeight,n=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var i=this.wrapperNode.getBoundingClientRect();(Math.abs(i.width-t)>1||Math.abs(i.height-r)>1)&&this.setState({boxWidth:i.width,boxHeight:i.height},(function(){n&&n(i)}))}else-1===t&&-1===r||this.setState({boxWidth:-1,boxHeight:-1},(function(){n&&n(null)}))}},{key:"render",value:function(){var e=this,t=this.props,r=t.content,n=t.width,i=t.height,a=t.wrapperStyle,c=t.payloadUniqBy,u=t.payload,s=Un(Un({position:"absolute",width:n||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return o.createElement("div",{className:"recharts-legend-wrapper",style:s,ref:function(t){e.wrapperNode=t}},function(e,t){if(o.isValidElement(e))return o.cloneElement(e,t);if(me()(e))return o.createElement(e,t);t.ref;var r=Vn(t,["ref"]);return o.createElement(Ln,r)}(r,Un(Un({},this.props),{},{payload:Yn(c,u)})))}}])&&Gn(t.prototype,r),n&&Gn(t,n),a}(o.PureComponent);function Qn(){}function $n(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function Kn(e){this._context=e}function ei(e){this._context=e}function ti(e){this._context=e}function ri(e){this._context=e}function ni(e){this._context=e}function ii(e){return new ni(e)}function oi(e){return e<0?-1:1}function ai(e,t,r){var n=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(n||i<0&&-0),a=(r-e._y1)/(i||n<0&&-0),c=(o*i+a*n)/(n+i);return(oi(o)+oi(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(c))||0}function ci(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function ui(e,t,r){var n=e._x0,i=e._y0,o=e._x1,a=e._y1,c=(o-n)/3;e._context.bezierCurveTo(n+c,i+c*t,o-c,a-c*r,o,a)}function si(e){this._context=e}function li(e){this._context=new fi(e)}function fi(e){this._context=e}function pi(e){this._context=e}function di(e){var t,r,n=e.length-1,i=new Array(n),o=new Array(n),a=new Array(n);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/o[t-1],o[t]-=r,a[t]-=r*a[t-1];for(i[n-1]=a[n-1]/o[n-1],t=n-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function hi(e,t){this._context=e,this._t=t}Xn.displayName="Legend",Xn.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"},Kn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:$n(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:$n(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ei.prototype={areaStart:Qn,areaEnd:Qn,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:$n(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ti.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:$n(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ri.prototype={areaStart:Qn,areaEnd:Qn,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},ni.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},si.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:ui(this,this._t0,ci(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,ui(this,ci(this,r=ai(this,e,t)),r);break;default:ui(this,this._t0,r=ai(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}},(li.prototype=Object.create(si.prototype)).point=function(e,t){si.prototype.point.call(this,t,e)},fi.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,o){this._context.bezierCurveTo(t,e,n,r,o,i)}},pi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===r)this._context.lineTo(e[1],t[1]);else for(var n=di(e),i=di(t),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(n[0][o],i[0][o],n[1][o],i[1][o],e[a],t[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},hi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}}this._x=e,this._y=t}};Array.prototype.slice;function mi(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function vi(e){return e[0]}function yi(e){return e[1]}function gi(e,t){var r=dn(!0),n=null,i=ii,o=null;function a(a){var c,u,s,l=(a=mi(a)).length,f=!1;for(null==n&&(o=i(s=pn())),c=0;c<=l;++c)!(c<l&&r(u=a[c],c,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+e(u,c,a),+t(u,c,a));if(s)return o=null,s+""||null}return e="function"==typeof e?e:void 0===e?vi:dn(e),t="function"==typeof t?t:void 0===t?yi:dn(t),a.x=function(t){return arguments.length?(e="function"==typeof t?t:dn(+t),a):e},a.y=function(e){return arguments.length?(t="function"==typeof e?e:dn(+e),a):t},a.defined=function(e){return arguments.length?(r="function"==typeof e?e:dn(!!e),a):r},a.curve=function(e){return arguments.length?(i=e,null!=n&&(o=i(n)),a):i},a.context=function(e){return arguments.length?(null==e?n=o=null:o=i(n=e),a):n},a}function bi(e,t,r){var n=null,i=dn(!0),o=null,a=ii,c=null;function u(u){var s,l,f,p,d,h=(u=mi(u)).length,m=!1,v=new Array(h),y=new Array(h);for(null==o&&(c=a(d=pn())),s=0;s<=h;++s){if(!(s<h&&i(p=u[s],s,u))===m)if(m=!m)l=s,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),f=s-1;f>=l;--f)c.point(v[f],y[f]);c.lineEnd(),c.areaEnd()}m&&(v[s]=+e(p,s,u),y[s]=+t(p,s,u),c.point(n?+n(p,s,u):v[s],r?+r(p,s,u):y[s]))}if(d)return c=null,d+""||null}function s(){return gi().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?vi:dn(+e),t="function"==typeof t?t:dn(void 0===t?0:+t),r="function"==typeof r?r:void 0===r?yi:dn(+r),u.x=function(t){return arguments.length?(e="function"==typeof t?t:dn(+t),n=null,u):e},u.x0=function(t){return arguments.length?(e="function"==typeof t?t:dn(+t),u):e},u.x1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:dn(+e),u):n},u.y=function(e){return arguments.length?(t="function"==typeof e?e:dn(+e),r=null,u):t},u.y0=function(e){return arguments.length?(t="function"==typeof e?e:dn(+e),u):t},u.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:dn(+e),u):r},u.lineX0=u.lineY0=function(){return s().x(e).y(t)},u.lineY1=function(){return s().x(e).y(r)},u.lineX1=function(){return s().x(n).y(t)},u.defined=function(e){return arguments.length?(i="function"==typeof e?e:dn(!!e),u):i},u.curve=function(e){return arguments.length?(a=e,null!=o&&(c=a(o)),u):a},u.context=function(e){return arguments.length?(null==e?o=c=null:c=a(o=e),u):o},u}function wi(e){return(wi="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 xi(){return(xi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Ii(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ei(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ii(Object(r),!0).forEach((function(t){Si(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ii(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Si(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ki(e,t){return(ki=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ji(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Di(e);if(t){var i=Di(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Ti(this,r)}}function Ti(e,t){return!t||"object"!==wi(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 Di(e){return(Di=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ai={curveBasisClosed:function(e){return new ei(e)},curveBasisOpen:function(e){return new ti(e)},curveBasis:function(e){return new Kn(e)},curveLinearClosed:function(e){return new ri(e)},curveLinear:ii,curveMonotoneX:function(e){return new si(e)},curveMonotoneY:function(e){return new li(e)},curveNatural:function(e){return new pi(e)},curveStep:function(e){return new hi(e,.5)},curveStepAfter:function(e){return new hi(e,1)},curveStepBefore:function(e){return new hi(e,0)}},Pi=function(e){return e.x===+e.x&&e.y===+e.y},_i=function(e){return e.x},Ni=function(e){return e.y},Ci=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&&ki(e,t)}(a,e);var t,r,n,i=ji(a);function a(){return Mi(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"getPath",value:function(){var e,t=this.props,r=t.type,n=t.points,i=t.baseLine,o=t.layout,a=t.connectNulls,c=function(e,t){if(me()(e))return e;var r="curve".concat(Ur()(e));return"curveMonotone"===r&&t?Ai["".concat(r).concat("vertical"===t?"Y":"X")]:Ai[r]||ii}(r,o),u=a?n.filter((function(e){return Pi(e)})):n;if(B()(i)){var s=a?i.filter((function(e){return Pi(e)})):i,l=u.map((function(e,t){return Ei(Ei({},e),{},{base:s[t]})}));return(e="vertical"===o?bi().y(Ni).x1(_i).x0((function(e){return e.base.x})):bi().x(_i).y1(Ni).y0((function(e){return e.base.y}))).defined(Pi).curve(c),e(l)}return(e="vertical"===o&&V(i)?bi().y(Ni).x1(_i).x0(i):V(i)?bi().x(_i).y1(Ni).y0(i):gi().x(_i).y(Ni)).defined(Pi).curve(c),e(u)}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.points,n=e.path,i=e.pathRef;if(!(r&&r.length||n))return null;var a=r&&r.length?this.getPath():n;return o.createElement("path",xi({},Pe(this.props),_e(this.props),{className:_()("recharts-curve",t),d:a,ref:i}))}}])&&Oi(t.prototype,r),n&&Oi(t,n),a}(o.PureComponent);function Li(e){return(Li="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 Ri(){return(Ri=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Bi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ui(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zi(e,t){return(zi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Hi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Wi(e);if(t){var i=Wi(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Gi(this,r)}}function Gi(e,t){return!t||"object"!==Li(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 Wi(e){return(Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Ci.defaultProps={type:"linear",points:[],connectNulls:!1};var Zi=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&&zi(e,t)}(a,e);var t,r,n,i=Hi(a);function a(){return Bi(this,a),i.apply(this,arguments)}return t=a,n=[{key:"getPath",value:function(e,t,r,n,i,o){return"M".concat(e,",").concat(i,"v").concat(n,"M").concat(o,",").concat(t,"h").concat(r)}}],(r=[{key:"render",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,c=e.top,u=e.left,s=e.className;return V(t)&&V(r)&&V(n)&&V(i)&&V(c)&&V(u)?o.createElement("path",Ri({},Pe(this.props,!0),{className:_()("recharts-cross",s),d:a.getPath(t,r,n,i,c,u)})):null}}])&&Ui(t.prototype,r),n&&Ui(t,n),a}(o.PureComponent);function qi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Fi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qi(Object(r),!0).forEach((function(t){Vi(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Vi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Zi.defaultProps={x:0,y:0,top:0,left:0,width:0,height:0};var Ji=Math.PI/180,Yi=function(e){return 180*e/Math.PI},Xi=function(e,t,r,n){return{x:e+Math.cos(-Ji*n)*r,y:t+Math.sin(-Ji*n)*r}},Qi=function(e,t){var r=e.x,n=e.y,i=t.cx,o=t.cy,a=function(e,t){var r=e.x,n=e.y,i=t.x,o=t.y;return Math.sqrt(Math.pow(r-i,2)+Math.pow(n-o,2))}({x:r,y:n},{x:i,y:o});if(a<=0)return{radius:a};var c=(r-i)/a,u=Math.acos(c);return n>o&&(u=2*Math.PI-u),{radius:a,angle:Yi(u),angleInRadian:u}},$i=function(e,t){var r=t.startAngle,n=t.endAngle,i=Math.floor(r/360),o=Math.floor(n/360);return e+360*Math.min(i,o)},Ki=function(e,t){var r=e.x,n=e.y,i=Qi({x:r,y:n},t),o=i.radius,a=i.angle,c=t.innerRadius,u=t.outerRadius;if(o<c||o>u)return!1;if(0===o)return!0;var s,l=function(e){var t=e.startAngle,r=e.endAngle,n=Math.floor(t/360),i=Math.floor(r/360),o=Math.min(n,i);return{startAngle:t-360*o,endAngle:r-360*o}}(t),f=l.startAngle,p=l.endAngle,d=a;if(f<=p){for(;d>p;)d-=360;for(;d<f;)d+=360;s=d>=f&&d<=p}else{for(;d>f;)d-=360;for(;d<p;)d+=360;s=d>=p&&d<=f}return s?Fi(Fi({},t),{},{radius:o,angle:$i(d,t)}):null};function eo(e){return(eo="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 to(){return(to=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ro(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function no(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function io(e,t){return(io=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=co(e);if(t){var i=co(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return ao(this,r)}}function ao(e,t){return!t||"object"!==eo(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 co(e){return(co=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var uo=function(e){var t=e.cx,r=e.cy,n=e.radius,i=e.angle,o=e.sign,a=e.isExternal,c=e.cornerRadius,u=e.cornerIsExternal,s=c*(a?1:-1)+n,l=Math.asin(c/s)/Ji,f=u?i:i+o*l,p=u?i-o*l:i;return{center:Xi(t,r,s,f),circleTangency:Xi(t,r,n,f),lineTangency:Xi(t,r,s*Math.cos(l*Ji),p),theta:l}},so=function(e){var t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,o=e.startAngle,a=function(e,t){return q(t-e)*Math.min(Math.abs(t-e),359.999)}(o,e.endAngle),c=o+a,u=Xi(t,r,i,o),s=Xi(t,r,i,c),l="M ".concat(u.x,",").concat(u.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o>c),",\n ").concat(s.x,",").concat(s.y,"\n ");if(n>0){var f=Xi(t,r,n,o),p=Xi(t,r,n,c);l+="L ".concat(p.x,",").concat(p.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o<=c),",\n ").concat(f.x,",").concat(f.y," Z")}else l+="L ".concat(t,",").concat(r," Z");return l},lo=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&&io(e,t)}(a,e);var t,r,n,i=oo(a);function a(){return ro(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"render",value:function(){var e=this.props,t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,a=e.cornerRadius,c=e.forceCornerRadius,u=e.cornerIsExternal,s=e.startAngle,l=e.endAngle,f=e.className;if(i<n||s===l)return null;var p,d=_()("recharts-sector",f),h=i-n,m=Q(a,h,0,!0);return p=m>0&&Math.abs(s-l)<360?function(e){var t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,o=e.cornerRadius,a=e.forceCornerRadius,c=e.cornerIsExternal,u=e.startAngle,s=e.endAngle,l=q(s-u),f=uo({cx:t,cy:r,radius:i,angle:u,sign:l,cornerRadius:o,cornerIsExternal:c}),p=f.circleTangency,d=f.lineTangency,h=f.theta,m=uo({cx:t,cy:r,radius:i,angle:s,sign:-l,cornerRadius:o,cornerIsExternal:c}),v=m.circleTangency,y=m.lineTangency,g=m.theta,b=c?Math.abs(u-s):Math.abs(u-s)-h-g;if(b<0)return a?"M ".concat(d.x,",").concat(d.y,"\n a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n a").concat(o,",").concat(o,",0,0,1,").concat(2*-o,",0\n "):so({cx:t,cy:r,innerRadius:n,outerRadius:i,startAngle:u,endAngle:s});var w="M ".concat(d.x,",").concat(d.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(p.x,",").concat(p.y,"\n A").concat(i,",").concat(i,",0,").concat(+(b>180),",").concat(+(l<0),",").concat(v.x,",").concat(v.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(y.x,",").concat(y.y,"\n ");if(n>0){var x=uo({cx:t,cy:r,radius:n,angle:u,sign:l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),I=x.circleTangency,E=x.lineTangency,S=x.theta,M=uo({cx:t,cy:r,radius:n,angle:s,sign:-l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),O=M.circleTangency,k=M.lineTangency,j=M.theta,T=c?Math.abs(u-s):Math.abs(u-s)-S-j;if(T<0&&0===o)return"".concat(w,"L").concat(t,",").concat(r,"Z");w+="L".concat(k.x,",").concat(k.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(O.x,",").concat(O.y,"\n A").concat(n,",").concat(n,",0,").concat(+(T>180),",").concat(+(l>0),",").concat(I.x,",").concat(I.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(E.x,",").concat(E.y,"Z")}else w+="L".concat(t,",").concat(r,"Z");return w}({cx:t,cy:r,innerRadius:n,outerRadius:i,cornerRadius:Math.min(m,h/2),forceCornerRadius:c,cornerIsExternal:u,startAngle:s,endAngle:l}):so({cx:t,cy:r,innerRadius:n,outerRadius:i,startAngle:s,endAngle:l}),o.createElement("path",to({},Pe(this.props,!0),{className:d,d:p}))}}])&&no(t.prototype,r),n&&no(t,n),a}(o.PureComponent);function fo(e){return(fo="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 po(){return(po=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ho(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mo(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vo(e,t){return(vo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=bo(e);if(t){var i=bo(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return go(this,r)}}function go(e,t){return!t||"object"!==fo(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 bo(e){return(bo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}lo.defaultProps={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1};var wo=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&&vo(e,t)}(a,e);var t,r,n,i=yo(a);function a(){return ho(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"render",value:function(){var e=this.props,t=e.cx,r=e.cy,n=e.r,i=e.className,a=_()("recharts-dot",i);return t===+t&&r===+r&&n===+n?o.createElement("circle",po({},Pe(this.props),_e(this.props),{className:a,cx:t,cy:r,r:n})):null}}])&&mo(t.prototype,r),n&&mo(t,n),a}(o.PureComponent);function xo(e){return(xo="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 Io(){return(Io=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Eo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function So(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mo(e,t){return(Mo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=jo(e);if(t){var i=jo(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return ko(this,r)}}function ko(e,t){return!t||"object"!==xo(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 jo(e){return(jo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var To=function(e,t,r,n,i){var o,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,u=r>=0?1:-1,s=n>=0&&r>=0||n<0&&r<0?1:0;if(a>0&&i instanceof Array){for(var l=[0,0,0,0],f=0;f<4;f++)l[f]=i[f]>a?a:i[f];o="M".concat(e,",").concat(t+c*l[0]),l[0]>0&&(o+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(s,",").concat(e+u*l[0],",").concat(t)),o+="L ".concat(e+r-u*l[1],",").concat(t),l[1]>0&&(o+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(s,",\n ").concat(e+r,",").concat(t+c*l[1])),o+="L ".concat(e+r,",").concat(t+n-c*l[2]),l[2]>0&&(o+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(s,",\n ").concat(e+r-u*l[2],",").concat(t+n)),o+="L ".concat(e+u*l[3],",").concat(t+n),l[3]>0&&(o+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(s,",\n ").concat(e,",").concat(t+n-c*l[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var p=Math.min(a,i);o="M ".concat(e,",").concat(t+c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(e+u*p,",").concat(t,"\n L ").concat(e+r-u*p,",").concat(t,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(e+r,",").concat(t+c*p,"\n L ").concat(e+r,",").concat(t+n-c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(e+r-u*p,",").concat(t+n,"\n L ").concat(e+u*p,",").concat(t+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(e,",").concat(t+n-c*p," Z")}else o="M ".concat(e,",").concat(t," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return o},Do=function(e,t){if(!e||!t)return!1;var r=e.x,n=e.y,i=t.x,o=t.y,a=t.width,c=t.height;if(Math.abs(a)>0&&Math.abs(c)>0){var u=Math.min(i,i+a),s=Math.max(i,i+a),l=Math.min(o,o+c),f=Math.max(o,o+c);return r>=u&&r<=s&&n>=l&&n<=f}return!1},Ao=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&&Mo(e,t)}(a,e);var t,r,n,i=Oo(a);function a(){var e;Eo(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).state={totalLength:-1},e.node=void 0,e}return t=a,(r=[{key:"componentDidMount",value:function(){if(this.node&&this.node.getTotalLength)try{var e=this.node.getTotalLength();e&&this.setState({totalLength:e})}catch(t){}}},{key:"render",value:function(){var e=this,t=this.props,r=t.x,n=t.y,i=t.width,a=t.height,c=t.radius,u=t.className,s=this.state.totalLength,l=this.props,f=l.animationEasing,p=l.animationDuration,d=l.animationBegin,h=l.isAnimationActive,m=l.isUpdateAnimationActive;if(r!==+r||n!==+n||i!==+i||a!==+a||0===i||0===a)return null;var v=_()("recharts-rectangle",u);return m?o.createElement(sr,{canBegin:s>0,from:{width:i,height:a,x:r,y:n},to:{width:i,height:a,x:r,y:n},duration:p,animationEasing:f,isActive:m},(function(t){var r=t.width,n=t.height,i=t.x,a=t.y;return o.createElement(sr,{canBegin:s>0,from:"0px ".concat(-1===s?1:s,"px"),to:"".concat(s,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:p,isActive:h,easing:f},o.createElement("path",Io({},Pe(e.props,!0),{className:v,d:To(i,a,r,n,c),ref:function(t){e.node=t}})))})):o.createElement("path",Io({},Pe(this.props,!0),{className:v,d:To(r,n,i,a,c)}))}}])&&So(t.prototype,r),n&&So(t,n),a}(o.PureComponent);Ao.defaultProps={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"};var Po=r(70418),_o=r.n(Po),No=r(32822);function Co(e,t){for(var r in e)if({}.hasOwnProperty.call(e,r)&&(!{}.hasOwnProperty.call(t,r)||e[r]!==t[r]))return!1;for(var n in t)if({}.hasOwnProperty.call(t,n)&&!{}.hasOwnProperty.call(e,n))return!1;return!0}function Lo(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var Ro={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},Bo=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},Uo=function e(t,r){var n=[],i=[];return i=B()(r)?r.map((function(e){return Bo(e)})):[Bo(r)],o.Children.forEach(t,(function(t){(0,No.isFragment)(t)&&(n=n.concat(e(t.props.children,r)));var o=L()(t,"type.displayName")||L()(t,"type.name");-1!==i.indexOf(o)&&n.push(t)})),n},zo=function(e,t){var r=Uo(e,t);return r&&r[0]},Ho=function(e){if(!e||!e.props)return!1;var t=e.props,r=t.width,n=t.height;return!(!V(r)||r<=0||!V(n)||n<=0)},Go=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],Wo=function(e){return e&&e.type&&Z()(e.type)&&Go.indexOf(e.type)>=0},Zo=function e(t,r){if(t===r)return!0;if(o.Children.count(t)!==o.Children.count(r))return!1;var n=o.Children.count(t);if(0===n)return!0;if(1===n)return qo(B()(t)?t[0]:t,B()(r)?r[0]:r);for(var i=0;i<n;i++){var a=t[i],c=r[i];if(B()(a)||B()(c)){if(!e(a,c))return!1}else if(!qo(a,c))return!1}return!0},qo=function(e,t){if(Ee()(e)&&Ee()(t))return!0;if(!Ee()(e)&&!Ee()(t)){var r=e.props||{},n=r.children,i=Lo(r,["children"]),o=t.props||{},a=o.children,c=Lo(o,["children"]);return n&&a?Co(i,c)&&Zo(n,a):!n&&!a&&Co(i,c)}return!1},Fo=function(e,t){var r=[],n={};return o.Children.forEach(e,(function(e,i){if(Wo(e))r.push(e);else if(e){var o=Bo(e.type),a=t[o]||{},c=a.handler,u=a.once;if(c&&(!u||!n[o])){var s=c(e,o,i);r.push(s),n[o]=!0}}})),_o()(r).filter((function(e){return!Ee()(e)}))};function Vo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Jo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vo(Object(r),!0).forEach((function(t){Yo(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Yo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xo(e){return function(e){if(Array.isArray(e))return Qo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Qo(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qo(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qo(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var $o={widthCache:{},cacheCount:0},Ko={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},ea=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","lineHeight","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],ta="recharts_measurement_span";var ra=function(e){return Object.keys(e).reduce((function(t,r){return"".concat(t).concat((n=r,n.split("").reduce((function(e,t){return t===t.toUpperCase()?[].concat(Xo(e),["-",t.toLowerCase()]):[].concat(Xo(e),[t])}),[]).join("")),":").concat(function(e,t){return ea.indexOf(e)>=0&&t===+t?"".concat(t,"px"):t}(r,e[r]),";");var n}),"")},na=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||Sr.isSsr)return{width:0,height:0};var r="".concat(e),n=ra(t),i="".concat(r,"-").concat(n);if($o.widthCache[i])return $o.widthCache[i];try{var o=document.getElementById(ta);o||((o=document.createElement("span")).setAttribute("id",ta),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=Jo(Jo({},Ko),t);Object.keys(a).map((function(e){return o.style[e]=a[e],e})),o.textContent=r;var c=o.getBoundingClientRect(),u={width:c.width,height:c.height};return $o.widthCache[i]=u,++$o.cacheCount>2e3&&($o.cacheCount=0,$o.widthCache={}),u}catch(s){return{width:0,height:0}}},ia=r(55502),oa=r.n(ia);function aa(e){return(aa="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 ca(){return(ca=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ua(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function sa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function la(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fa(e,t){return(fa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=ha(e);if(t){var i=ha(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return da(this,r)}}function da(e,t){return!t||"object"!==aa(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 ha(e){return(ha=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ma(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return va(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return va(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function va(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ya(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ga(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ya(Object(r),!0).forEach((function(t){ba(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ya(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ba(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var wa=/[ \f\n\r\t\v\u2028\u2029]+/,xa=function(e){try{var t=[];return Ee()(e.children)||(t=e.breakAll?e.children.toString().split(""):e.children.toString().split(wa)),{wordsWithComputedWidth:t.map((function(t){return{word:t,width:na(t,e.style).width}})),spaceWidth:e.breakAll?0:na(" ",e.style).width}}catch(r){return null}},Ia=function(e){return[{words:Ee()(e)?[]:e.toString().split(wa)}]},Ea=function(e,t){if((e.width||e.scaleToFit)&&!Sr.isSsr&&t){var r=xa(e);return r?function(e,t,r,n,i){var o=V(e.maxLines),a=e.children,c=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,t){var o=t.word,a=t.width,c=e[e.length-1];if(c&&(null==n||i||c.width+a+r<n))c.words.push(o),c.width+=a+r;else{var u={words:[o],width:a};e.push(u)}return e}),[])},u=c(t);if(!o)return u;for(var s,l=function(t){var r=a.slice(0,t),i=xa(ga(ga({},e),{},{children:r+"…"})).wordsWithComputedWidth,o=c(i);return[o.length>e.maxLines||function(e){return e.reduce((function(e,t){return e.width>t.width?e:t}))}(o).width>n,o]},f=0,p=a.length-1,d=0;f<=p&&d<=a.length-1;){var h=Math.floor((f+p)/2),m=ma(l(h-1),2),v=m[0],y=m[1],g=ma(l(h),1)[0];if(v||g||(f=h+1),v&&g&&(p=h-1),!v&&g){s=y;break}d++}return s||u}(e,r.wordsWithComputedWidth,r.spaceWidth,e.width,e.scaleToFit):Ia(e.children)}return Ia(e.children)},Sa=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&&fa(e,t)}(a,e);var t,r,n,i=pa(a);function a(){var e;sa(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).state={},e}return t=a,n=[{key:"getDerivedStateFromProps",value:function(e,t){if(e.width!==t.prevWidth||e.scaleToFit!==t.prevScaleToFit||e.children!==t.prevChildren||e.style!==t.prevStyle||e.breakAll!==t.prevBreakAll){var r=e.children!==t.prevChildren||e.style!==t.prevStyle||e.breakAll!==t.prevBreakAll;return{prevWidth:e.width,prevScaleToFit:e.scaleToFit,prevChildren:e.children,prevStyle:e.style,wordsByLines:Ea(e,r)}}return null}}],(r=[{key:"render",value:function(){var e=this.props,t=e.dx,r=e.dy,n=e.textAnchor,i=e.verticalAnchor,a=e.scaleToFit,c=e.angle,u=e.lineHeight,s=e.capHeight,l=e.className,f=e.breakAll,p=ua(e,["dx","dy","textAnchor","verticalAnchor","scaleToFit","angle","lineHeight","capHeight","className","breakAll"]),d=this.state.wordsByLines;if(!J(p.x)||!J(p.y))return null;var h,m=p.x+(V(t)?t:0),v=p.y+(V(r)?r:0);switch(i){case"start":h=oa()("calc(".concat(s,")"));break;case"middle":h=oa()("calc(".concat((d.length-1)/2," * -").concat(u," + (").concat(s," / 2))"));break;default:h=oa()("calc(".concat(d.length-1," * -").concat(u,")"))}var y=[];if(a){var g=d[0].width,b=this.props.width;y.push("scale(".concat((V(b)?b/g:1)/g,")"))}return c&&y.push("rotate(".concat(c,", ").concat(m,", ").concat(v,")")),y.length&&(p.transform=y.join(" ")),o.createElement("text",ca({},Pe(p,!0),{x:m,y:v,className:_()("recharts-text",l),textAnchor:n}),d.map((function(e,t){return o.createElement("tspan",{x:m,dy:0===t?h:u,key:t},e.words.join(f?"":" "))})))}}])&&la(t.prototype,r),n&&la(t,n),a}(o.Component);function Ma(e){return function(e){if(Array.isArray(e))return Oa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Oa(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Oa(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oa(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ka(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ja(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ka(Object(r),!0).forEach((function(t){Ta(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ka(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ta(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Da(){return(Da=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}Sa.defaultProps={x:0,y:0,lineHeight:"1em",capHeight:"0.71em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end"};var Aa=function(e,t,r){var n,i,a=e.position,c=e.viewBox,u=e.offset,s=e.className,l=c,f=l.cx,p=l.cy,d=l.innerRadius,h=l.outerRadius,m=l.startAngle,v=l.endAngle,y=l.clockWise,g=(d+h)/2,b=function(e,t){return q(t-e)*Math.min(Math.abs(t-e),360)}(m,v),w=b>=0?1:-1;"insideStart"===a?(n=m+w*u,i=y):"insideEnd"===a?(n=v-w*u,i=!y):"end"===a&&(n=v+w*u,i=y),i=b<=0?i:!i;var x=Xi(f,p,g,n),I=Xi(f,p,g,n+359*(i?1:-1)),E="M".concat(x.x,",").concat(x.y,"\n A").concat(g,",").concat(g,",0,1,").concat(i?0:1,",\n ").concat(I.x,",").concat(I.y),S=Ee()(e.id)?X("recharts-radial-line-"):e.id;return o.createElement("text",Da({},r,{dominantBaseline:"central",className:_()("recharts-radial-bar-label",s)}),o.createElement("defs",null,o.createElement("path",{id:S,d:E})),o.createElement("textPath",{xlinkHref:"#".concat(S)},t))};function Pa(e){var t,r=e.viewBox,n=e.position,i=e.value,a=e.children,c=e.content,u=e.className,s=void 0===u?"":u,l=e.textBreakAll;if(!r||Ee()(i)&&Ee()(a)&&!(0,o.isValidElement)(c)&&!me()(c))return null;if((0,o.isValidElement)(c))return(0,o.cloneElement)(c,e);if(me()(c)){if(t=(0,o.createElement)(c,e),(0,o.isValidElement)(t))return t}else t=function(e){var t=e.value,r=e.formatter,n=Ee()(e.children)?t:e.children;return me()(r)?r(n):n}(e);var f=function(e){return V(e.cx)}(r),p=Pe(e,!0);if(f&&("insideStart"===n||"insideEnd"===n||"end"===n))return Aa(e,t,p);var d=f?function(e){var t=e.viewBox,r=e.offset,n=e.position,i=t,o=i.cx,a=i.cy,c=i.innerRadius,u=i.outerRadius,s=(i.startAngle+i.endAngle)/2;if("outside"===n){var l=Xi(o,a,u+r,s),f=l.x;return{x:f,y:l.y,textAnchor:f>=o?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"end"};var p=Xi(o,a,(c+u)/2,s);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}}(e):function(e){var t=e.viewBox,r=e.parentViewBox,n=e.offset,i=e.position,o=t,a=o.x,c=o.y,u=o.width,s=o.height,l=s>=0?1:-1,f=l*n,p=l>0?"end":"start",d=l>0?"start":"end",h=u>=0?1:-1,m=h*n,v=h>0?"end":"start",y=h>0?"start":"end";if("top"===i)return ja(ja({},{x:a+u/2,y:c-l*n,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(c-r.y,0),width:u}:{});if("bottom"===i)return ja(ja({},{x:a+u/2,y:c+s+f,textAnchor:"middle",verticalAnchor:d}),r?{height:Math.max(r.y+r.height-(c+s),0),width:u}:{});if("left"===i){var g={x:a-m,y:c+s/2,textAnchor:v,verticalAnchor:"middle"};return ja(ja({},g),r?{width:Math.max(g.x-r.x,0),height:s}:{})}if("right"===i){var b={x:a+u+m,y:c+s/2,textAnchor:y,verticalAnchor:"middle"};return ja(ja({},b),r?{width:Math.max(r.x+r.width-b.x,0),height:s}:{})}var w=r?{width:u,height:s}:{};return"insideLeft"===i?ja({x:a+m,y:c+s/2,textAnchor:y,verticalAnchor:"middle"},w):"insideRight"===i?ja({x:a+u-m,y:c+s/2,textAnchor:v,verticalAnchor:"middle"},w):"insideTop"===i?ja({x:a+u/2,y:c+f,textAnchor:"middle",verticalAnchor:d},w):"insideBottom"===i?ja({x:a+u/2,y:c+s-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===i?ja({x:a+m,y:c+f,textAnchor:y,verticalAnchor:d},w):"insideTopRight"===i?ja({x:a+u-m,y:c+f,textAnchor:v,verticalAnchor:d},w):"insideBottomLeft"===i?ja({x:a+m,y:c+s-f,textAnchor:y,verticalAnchor:p},w):"insideBottomRight"===i?ja({x:a+u-m,y:c+s-f,textAnchor:v,verticalAnchor:p},w):ke()(i)&&(V(i.x)||F(i.x))&&(V(i.y)||F(i.y))?ja({x:a+Q(i.x,u),y:c+Q(i.y,s),textAnchor:"end",verticalAnchor:"end"},w):ja({x:a+u/2,y:c+s/2,textAnchor:"middle",verticalAnchor:"middle"},w)}(e);return o.createElement(Sa,Da({className:_()("recharts-label",s)},p,d,{breakAll:l}),t)}Pa.displayName="Label",Pa.defaultProps={offset:5};var _a=function(e){var t=e.cx,r=e.cy,n=e.angle,i=e.startAngle,o=e.endAngle,a=e.r,c=e.radius,u=e.innerRadius,s=e.outerRadius,l=e.x,f=e.y,p=e.top,d=e.left,h=e.width,m=e.height,v=e.clockWise,y=e.labelViewBox;if(y)return y;if(V(h)&&V(m)){if(V(l)&&V(f))return{x:l,y:f,width:h,height:m};if(V(p)&&V(d))return{x:p,y:d,width:h,height:m}}return V(l)&&V(f)?{x:l,y:f,width:0,height:0}:V(t)&&V(r)?{cx:t,cy:r,startAngle:i||n||0,endAngle:o||n||0,innerRadius:u||0,outerRadius:s||c||a||0,clockWise:v}:e.viewBox?e.viewBox:{}},Na=function(e,t){return e?!0===e?o.createElement(Pa,{key:"label-implicit",viewBox:t}):J(e)?o.createElement(Pa,{key:"label-implicit",viewBox:t,value:e}):(0,o.isValidElement)(e)?e.type===Pa?(0,o.cloneElement)(e,{key:"label-implicit",viewBox:t}):o.createElement(Pa,{key:"label-implicit",content:e,viewBox:t}):me()(e)?o.createElement(Pa,{key:"label-implicit",content:e,viewBox:t}):ke()(e)?o.createElement(Pa,Da({viewBox:t},e,{key:"label-implicit"})):null:null};function Ca(e){return(Ca="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 La(){return(La=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Ra(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ba(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ra(Object(r),!0).forEach((function(t){Ua(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ra(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ua(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function za(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Ha(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ga(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wa(e,t){return(Wa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Za(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Fa(e);if(t){var i=Fa(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return qa(this,r)}}function qa(e,t){return!t||"object"!==Ca(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 Fa(e){return(Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Pa.parseViewBox=_a,Pa.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var n=e.children,i=_a(e),a=Uo(n,Pa.displayName).map((function(e,r){return(0,o.cloneElement)(e,{viewBox:t||i,key:"label-".concat(r)})}));if(!r)return a;var c=Na(e.label,t||i);return[c].concat(Ma(a))};var Va=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&&Wa(e,t)}(a,e);var t,r,n,i=Za(a);function a(){return Ha(this,a),i.apply(this,arguments)}return t=a,n=[{key:"getTicks",value:function(e){var t=e.tick,r=e.ticks,n=e.viewBox,i=e.minTickGap,o=e.orientation,c=e.interval,u=e.tickFormatter,s=e.unit;return r&&r.length&&t?V(c)||Sr.isSsr?a.getNumberIntervalTicks(r,"number"==typeof c&&V(c)?c:0):"preserveStartEnd"===c?a.getTicksStart({ticks:r,tickFormatter:u,viewBox:n,orientation:o,minTickGap:i,unit:s},!0):"preserveStart"===c?a.getTicksStart({ticks:r,tickFormatter:u,viewBox:n,orientation:o,minTickGap:i,unit:s}):a.getTicksEnd({ticks:r,tickFormatter:u,viewBox:n,orientation:o,minTickGap:i,unit:s}):[]}},{key:"getNumberIntervalTicks",value:function(e,t){return e.filter((function(e,r){return r%(t+1)==0}))}},{key:"getTicksStart",value:function(e,t){var r,n,i=e.ticks,o=e.tickFormatter,a=e.viewBox,c=e.orientation,u=e.minTickGap,s=e.unit,l=a.x,f=a.y,p=a.width,d=a.height,h="top"===c||"bottom"===c?"width":"height",m=(i||[]).slice(),v=s&&"width"===h?na(s)[h]:0,y=m.length,g=y>=2?q(m[1].coordinate-m[0].coordinate):1;if(1===g?(r="width"===h?l:f,n="width"===h?l+p:f+d):(r="width"===h?l+p:f+d,n="width"===h?l:f),t){var b=i[y-1],w=me()(o)?o(b.value,y-1):b.value,x=na(w)[h]+v,I=g*(b.coordinate+g*x/2-n);m[y-1]=b=Ba(Ba({},b),{},{tickCoord:I>0?b.coordinate-I*g:b.coordinate}),g*(b.tickCoord-g*x/2-r)>=0&&g*(b.tickCoord+g*x/2-n)<=0&&(n=b.tickCoord-g*(x/2+u),m[y-1]=Ba(Ba({},b),{},{isShow:!0}))}for(var E=t?y-1:y,S=0;S<E;S++){var M=m[S],O=me()(o)?o(M.value,S):M.value,k=na(O)[h]+v;if(0===S){var j=g*(M.coordinate-g*k/2-r);m[S]=M=Ba(Ba({},M),{},{tickCoord:j<0?M.coordinate-j*g:M.coordinate})}else m[S]=M=Ba(Ba({},M),{},{tickCoord:M.coordinate});g*(M.tickCoord-g*k/2-r)>=0&&g*(M.tickCoord+g*k/2-n)<=0&&(r=M.tickCoord+g*(k/2+u),m[S]=Ba(Ba({},M),{},{isShow:!0}))}return m.filter((function(e){return e.isShow}))}},{key:"getTicksEnd",value:function(e){var t,r,n=e.ticks,i=e.tickFormatter,o=e.viewBox,a=e.orientation,c=e.minTickGap,u=e.unit,s=o.x,l=o.y,f=o.width,p=o.height,d="top"===a||"bottom"===a?"width":"height",h=u&&"width"===d?na(u)[d]:0,m=(n||[]).slice(),v=m.length,y=v>=2?q(m[1].coordinate-m[0].coordinate):1;1===y?(t="width"===d?s:l,r="width"===d?s+f:l+p):(t="width"===d?s+f:l+p,r="width"===d?s:l);for(var g=v-1;g>=0;g--){var b=m[g],w=me()(i)?i(b.value,v-g-1):b.value,x=na(w)[d]+h;if(g===v-1){var I=y*(b.coordinate+y*x/2-r);m[g]=b=Ba(Ba({},b),{},{tickCoord:I>0?b.coordinate-I*y:b.coordinate})}else m[g]=b=Ba(Ba({},b),{},{tickCoord:b.coordinate});y*(b.tickCoord-y*x/2-t)>=0&&y*(b.tickCoord+y*x/2-r)<=0&&(r=b.tickCoord-y*(x/2+c),m[g]=Ba(Ba({},b),{},{isShow:!0}))}return m.filter((function(e){return e.isShow}))}},{key:"renderTickItem",value:function(e,t,r){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):o.createElement(Sa,La({},t,{className:"recharts-cartesian-axis-tick-value"}),r)}}],(r=[{key:"shouldComponentUpdate",value:function(e){var t=e.viewBox,r=za(e,["viewBox"]),n=this.props,i=n.viewBox,o=za(n,["viewBox"]);return!Co(t,i)||!Co(r,o)}},{key:"getTickLineCoord",value:function(e){var t,r,n,i,o,a,c=this.props,u=c.x,s=c.y,l=c.width,f=c.height,p=c.orientation,d=c.tickSize,h=c.mirror,m=c.tickMargin,v=h?-1:1,y=e.tickSize||d,g=V(e.tickCoord)?e.tickCoord:e.coordinate;switch(p){case"top":t=r=e.coordinate,a=(n=(i=s+ +!h*f)-v*y)-v*m,o=g;break;case"left":n=i=e.coordinate,o=(t=(r=u+ +!h*l)-v*y)-v*m,a=g;break;case"right":n=i=e.coordinate,o=(t=(r=u+ +h*l)+v*y)+v*m,a=g;break;default:t=r=e.coordinate,a=(n=(i=s+ +h*f)+v*y)+v*m,o=g}return{line:{x1:t,y1:n,x2:r,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,r=t.orientation,n=t.mirror;switch(r){case"left":e=n?"start":"end";break;case"right":e=n?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,r=e.mirror,n="end";switch(t){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,a=e.orientation,c=e.mirror,u=e.axisLine,s=Ba(Ba(Ba({},Pe(this.props)),Pe(u)),{},{fill:"none"});if("top"===a||"bottom"===a){var l=+("top"===a&&!c||"bottom"===a&&c);s=Ba(Ba({},s),{},{x1:t,y1:r+l*i,x2:t+n,y2:r+l*i})}else{var f=+("left"===a&&!c||"right"===a&&c);s=Ba(Ba({},s),{},{x1:t+f*n,y1:r,x2:t+f*n,y2:r+i})}return o.createElement("line",La({},s,{className:_()("recharts-cartesian-axis-line",L()(u,"className"))}))}},{key:"renderTicks",value:function(e){var t=this,r=this.props,n=r.tickLine,i=r.stroke,c=r.tick,u=r.tickFormatter,s=r.unit,l=a.getTicks(Ba(Ba({},this.props),{},{ticks:e})),f=this.getTickTextAnchor(),p=this.getTickVerticalAnchor(),d=Pe(this.props),h=Pe(c),m=Ba(Ba({},d),{},{fill:"none"},Pe(n)),v=l.map((function(e,r){var v=t.getTickLineCoord(e),y=v.line,g=v.tick,b=Ba(Ba(Ba(Ba({textAnchor:f,verticalAnchor:p},d),{},{stroke:"none",fill:i},h),g),{},{index:r,payload:e,visibleTicksCount:l.length,tickFormatter:u});return o.createElement(ze,La({className:"recharts-cartesian-axis-tick",key:"tick-".concat(r)},Ne(t.props,e,r)),n&&o.createElement("line",La({},m,y,{className:_()("recharts-cartesian-axis-tick-line",L()(n,"className"))})),c&&a.renderTickItem(c,b,"".concat(me()(u)?u(e.value,r):e.value).concat(s||"")))}));return o.createElement("g",{className:"recharts-cartesian-axis-ticks"},v)}},{key:"render",value:function(){var e=this.props,t=e.axisLine,r=e.width,n=e.height,i=e.ticksGenerator,a=e.className;if(e.hide)return null;var c=this.props,u=c.ticks,s=za(c,["ticks"]),l=u;return me()(i)&&(l=u&&u.length>0?i(this.props):i(s)),r<=0||n<=0||!l||!l.length?null:o.createElement(ze,{className:_()("recharts-cartesian-axis",a)},t&&this.renderAxisLine(),this.renderTicks(l),Pa.renderCallByParent(this.props))}}])&&Ga(t.prototype,r),n&&Ga(t,n),a}(o.Component);function Ja(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((t-e)/r)),o=new Array(i);++n<i;)o[n]=e+n*r;return o}function Ya(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function Xa(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}Va.displayName="CartesianAxis",Va.defaultProps={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"};const Qa=Symbol("implicit");function $a(){var e=new Map,t=[],r=[],n=Qa;function i(i){var o=i+"",a=e.get(o);if(!a){if(n!==Qa)return n;e.set(o,a=t.push(i))}return r[(a-1)%r.length]}return i.domain=function(r){if(!arguments.length)return t.slice();t=[],e=new Map;for(const n of r){const r=n+"";e.has(r)||e.set(r,t.push(n))}return i},i.range=function(e){return arguments.length?(r=Array.from(e),i):r.slice()},i.unknown=function(e){return arguments.length?(n=e,i):n},i.copy=function(){return $a(t,r).unknown(n)},Ya.apply(i,arguments),i}function Ka(){var e,t,r=$a().unknown(void 0),n=r.domain,i=r.range,o=0,a=1,c=!1,u=0,s=0,l=.5;function f(){var r=n().length,f=a<o,p=f?a:o,d=f?o:a;e=(d-p)/Math.max(1,r-u+2*s),c&&(e=Math.floor(e)),p+=(d-p-e*(r-u))*l,t=e*(1-u),c&&(p=Math.round(p),t=Math.round(t));var h=Ja(r).map((function(t){return p+e*t}));return i(f?h.reverse():h)}return delete r.unknown,r.domain=function(e){return arguments.length?(n(e),f()):n()},r.range=function(e){return arguments.length?([o,a]=e,o=+o,a=+a,f()):[o,a]},r.rangeRound=function(e){return[o,a]=e,o=+o,a=+a,c=!0,f()},r.bandwidth=function(){return t},r.step=function(){return e},r.round=function(e){return arguments.length?(c=!!e,f()):c},r.padding=function(e){return arguments.length?(u=Math.min(1,s=+e),f()):u},r.paddingInner=function(e){return arguments.length?(u=Math.min(1,e),f()):u},r.paddingOuter=function(e){return arguments.length?(s=+e,f()):s},r.align=function(e){return arguments.length?(l=Math.max(0,Math.min(1,e)),f()):l},r.copy=function(){return Ka(n(),[o,a]).round(c).paddingInner(u).paddingOuter(s).align(l)},Ya.apply(f(),arguments)}function ec(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return ec(t())},e}function tc(){return ec(Ka.apply(null,arguments).paddingInner(1))}var rc=r(60879),nc=r.n(rc),ic=r(11974),oc=r.n(ic),ac=r(33323),cc=r.n(ac),uc=r(41719),sc=r.n(uc),lc=r(26058),fc=r.n(lc);function pc(e){return function(e){if(Array.isArray(e))return dc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return dc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dc(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var hc=function(e){return e},mc={"@@functional/placeholder":!0},vc=function(e){return e===mc},yc=function(e){return function t(){return 0===arguments.length||1===arguments.length&&vc(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},gc=function e(t,r){return 1===t?r:yc((function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.filter((function(e){return e!==mc})).length;return a>=t?r.apply(void 0,i):e(t-a,yc((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=i.map((function(e){return vc(e)?t.shift():e}));return r.apply(void 0,pc(o).concat(t))})))}))},bc=function(e){return gc(e.length,e)},wc=function(e,t){for(var r=[],n=e;n<t;++n)r[n-e]=n;return r},xc=bc((function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map((function(e){return t[e]})).map(e)})),Ic=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!t.length)return hc;var n=t.reverse(),i=n[0],o=n.slice(1);return function(){return o.reduce((function(e,t){return t(e)}),i.apply(void 0,arguments))}},Ec=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},Sc=function(e){var t=null,r=null;return function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t&&i.every((function(e,r){return e===t[r]}))?r:(t=i,r=e.apply(void 0,i))}};var Mc={rangeStep:function(e,t,r){for(var n=new(fc())(e),i=0,o=[];n.lt(t)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o},getDigitCount:function(e){return 0===e?1:Math.floor(new(fc())(e).abs().log(10).toNumber())+1},interpolateNumber:bc((function(e,t,r){var n=+e;return n+r*(+t-n)})),uninterpolateNumber:bc((function(e,t,r){var n=t-+e;return(r-e)/(n=n||1/0)})),uninterpolateTruncation:bc((function(e,t,r){var n=t-+e;return n=n||1/0,Math.max(0,Math.min(1,(r-e)/n))}))};function Oc(e){return function(e){if(Array.isArray(e))return Tc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||jc(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||jc(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jc(e,t){if(e){if("string"==typeof e)return Tc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Tc(e,t):void 0}}function Tc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Dc(e){var t=kc(e,2),r=t[0],n=t[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function Ac(e,t,r){if(e.lte(0))return new(fc())(0);var n=Mc.getDigitCount(e.toNumber()),i=new(fc())(10).pow(n),o=e.div(i),a=1!==n?.05:.1,c=new(fc())(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return t?c:new(fc())(Math.ceil(c))}function Pc(e,t,r){var n=1,i=new(fc())(e);if(!i.isint()&&r){var o=Math.abs(e);o<1?(n=new(fc())(10).pow(Mc.getDigitCount(e)-1),i=new(fc())(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new(fc())(Math.floor(e)))}else 0===e?i=new(fc())(Math.floor((t-1)/2)):r||(i=new(fc())(Math.floor(e)));var a=Math.floor((t-1)/2);return Ic(xc((function(e){return i.add(new(fc())(e-a).mul(n)).toNumber()})),wc)(0,t)}function _c(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(r-1)))return{step:new(fc())(0),tickMin:new(fc())(0),tickMax:new(fc())(0)};var o,a=Ac(new(fc())(t).sub(e).div(r-1),n,i);o=e<=0&&t>=0?new(fc())(0):(o=new(fc())(e).add(t).div(2)).sub(new(fc())(o).mod(a));var c=Math.ceil(o.sub(e).div(a).toNumber()),u=Math.ceil(new(fc())(t).sub(o).div(a).toNumber()),s=c+u+1;return s>r?_c(e,t,r,n,i+1):(s<r&&(u=t>0?u+(r-s):u,c=t>0?c:c+(r-s)),{step:a,tickMin:o.sub(new(fc())(c).mul(a)),tickMax:o.add(new(fc())(u).mul(a))})}var Nc=Sc((function(e){var t=kc(e,2),r=t[0],n=t[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),c=Dc([r,n]),u=kc(c,2),s=u[0],l=u[1];if(s===-1/0||l===1/0){var f=l===1/0?[s].concat(Oc(wc(0,i-1).map((function(){return 1/0})))):[].concat(Oc(wc(0,i-1).map((function(){return-1/0}))),[l]);return r>n?Ec(f):f}if(s===l)return Pc(s,i,o);var p=_c(s,l,a,o),d=p.step,h=p.tickMin,m=p.tickMax,v=Mc.rangeStep(h,m.add(new(fc())(.1).mul(d)),d);return r>n?Ec(v):v})),Cc=(Sc((function(e){var t=kc(e,2),r=t[0],n=t[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),c=Dc([r,n]),u=kc(c,2),s=u[0],l=u[1];if(s===-1/0||l===1/0)return[r,n];if(s===l)return Pc(s,i,o);var f=Ac(new(fc())(l).sub(s).div(a-1),o,0),p=Ic(xc((function(e){return new(fc())(s).add(new(fc())(e).mul(f)).toNumber()})),wc),d=p(0,a).filter((function(e){return e>=s&&e<=l}));return r>n?Ec(d):d})),Sc((function(e,t){var r=kc(e,2),n=r[0],i=r[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Dc([n,i]),c=kc(a,2),u=c[0],s=c[1];if(u===-1/0||s===1/0)return[n,i];if(u===s)return[u];var l=Math.max(t,2),f=Ac(new(fc())(s).sub(u).div(l-1),o,0),p=[].concat(Oc(Mc.rangeStep(new(fc())(u),new(fc())(s).sub(new(fc())(.99).mul(f)),f)),[s]);return n>i?Ec(p):p}))),Lc=Math.sqrt(50),Rc=Math.sqrt(10),Bc=Math.sqrt(2);function Uc(e,t,r){var n,i,o,a,c=-1;if(r=+r,(e=+e)===(t=+t)&&r>0)return[e];if((n=t<e)&&(i=e,e=t,t=i),0===(a=zc(e,t,r))||!isFinite(a))return[];if(a>0){let r=Math.round(e/a),n=Math.round(t/a);for(r*a<e&&++r,n*a>t&&--n,o=new Array(i=n-r+1);++c<i;)o[c]=(r+c)*a}else{a=-a;let r=Math.round(e*a),n=Math.round(t*a);for(r/a<e&&++r,n/a>t&&--n,o=new Array(i=n-r+1);++c<i;)o[c]=(r+c)/a}return n&&o.reverse(),o}function zc(e,t,r){var n=(t-e)/Math.max(0,r),i=Math.floor(Math.log(n)/Math.LN10),o=n/Math.pow(10,i);return i>=0?(o>=Lc?10:o>=Rc?5:o>=Bc?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Lc?10:o>=Rc?5:o>=Bc?2:1)}function Hc(e,t,r){var n=Math.abs(t-e)/Math.max(0,r),i=Math.pow(10,Math.floor(Math.log(n)/Math.LN10)),o=n/i;return o>=Lc?i*=10:o>=Rc?i*=5:o>=Bc&&(i*=2),t<e?-i:i}function Gc(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Wc(e){let t=e,r=e;function n(e,t,n,i){for(null==n&&(n=0),null==i&&(i=e.length);n<i;){const o=n+i>>>1;r(e[o],t)<0?n=o+1:i=o}return n}return 1===e.length&&(t=(t,r)=>e(t)-r,r=function(e){return(t,r)=>Gc(e(t),r)}(e)),{left:n,center:function(e,r,i,o){null==i&&(i=0),null==o&&(o=e.length);const a=n(e,r,i,o-1);return a>i&&t(e[a-1],r)>-t(e[a],r)?a-1:a},right:function(e,t,n,i){for(null==n&&(n=0),null==i&&(i=e.length);n<i;){const o=n+i>>>1;r(e[o],t)>0?i=o:n=o+1}return n}}}function Zc(e){return null===e?NaN:+e}const qc=Wc(Gc),Fc=qc.right;qc.left,Wc(Zc).center;var Vc=Fc;function Jc(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Yc(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function Xc(){}var Qc=.7,$c=1/Qc,Kc="\\s*([+-]?\\d+)\\s*",eu="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",tu="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ru=/^#([0-9a-f]{3,8})$/,nu=new RegExp("^rgb\\("+[Kc,Kc,Kc]+"\\)$"),iu=new RegExp("^rgb\\("+[tu,tu,tu]+"\\)$"),ou=new RegExp("^rgba\\("+[Kc,Kc,Kc,eu]+"\\)$"),au=new RegExp("^rgba\\("+[tu,tu,tu,eu]+"\\)$"),cu=new RegExp("^hsl\\("+[eu,tu,tu]+"\\)$"),uu=new RegExp("^hsla\\("+[eu,tu,tu,eu]+"\\)$"),su={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function lu(){return this.rgb().formatHex()}function fu(){return this.rgb().formatRgb()}function pu(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=ru.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?du(t):3===r?new yu(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?hu(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?hu(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=nu.exec(e))?new yu(t[1],t[2],t[3],1):(t=iu.exec(e))?new yu(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=ou.exec(e))?hu(t[1],t[2],t[3],t[4]):(t=au.exec(e))?hu(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=cu.exec(e))?xu(t[1],t[2]/100,t[3]/100,1):(t=uu.exec(e))?xu(t[1],t[2]/100,t[3]/100,t[4]):su.hasOwnProperty(e)?du(su[e]):"transparent"===e?new yu(NaN,NaN,NaN,0):null}function du(e){return new yu(e>>16&255,e>>8&255,255&e,1)}function hu(e,t,r,n){return n<=0&&(e=t=r=NaN),new yu(e,t,r,n)}function mu(e){return e instanceof Xc||(e=pu(e)),e?new yu((e=e.rgb()).r,e.g,e.b,e.opacity):new yu}function vu(e,t,r,n){return 1===arguments.length?mu(e):new yu(e,t,r,null==n?1:n)}function yu(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function gu(){return"#"+wu(this.r)+wu(this.g)+wu(this.b)}function bu(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function wu(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function xu(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Eu(e,t,r,n)}function Iu(e){if(e instanceof Eu)return new Eu(e.h,e.s,e.l,e.opacity);if(e instanceof Xc||(e=pu(e)),!e)return new Eu;if(e instanceof Eu)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),a=NaN,c=o-i,u=(o+i)/2;return c?(a=t===o?(r-n)/c+6*(r<n):r===o?(n-t)/c+2:(t-r)/c+4,c/=u<.5?o+i:2-o-i,a*=60):c=u>0&&u<1?0:a,new Eu(a,c,u,e.opacity)}function Eu(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function Su(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}function Mu(e,t,r,n,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*r+(1+3*e+3*o-3*a)*n+a*i)/6}Jc(Xc,pu,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:lu,formatHex:lu,formatHsl:function(){return Iu(this).formatHsl()},formatRgb:fu,toString:fu}),Jc(yu,vu,Yc(Xc,{brighter:function(e){return e=null==e?$c:Math.pow($c,e),new yu(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Qc:Math.pow(Qc,e),new yu(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:gu,formatHex:gu,formatRgb:bu,toString:bu})),Jc(Eu,(function(e,t,r,n){return 1===arguments.length?Iu(e):new Eu(e,t,r,null==n?1:n)}),Yc(Xc,{brighter:function(e){return e=null==e?$c:Math.pow($c,e),new Eu(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Qc:Math.pow(Qc,e),new Eu(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new yu(Su(e>=240?e-240:e+120,i,n),Su(e,i,n),Su(e<120?e+240:e-120,i,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var Ou=e=>()=>e;function ku(e,t){return function(r){return e+r*t}}function ju(e){return 1==(e=+e)?Tu:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):Ou(isNaN(t)?r:t)}}function Tu(e,t){var r=t-e;return r?ku(e,r):Ou(isNaN(e)?t:e)}var Du=function e(t){var r=ju(t);function n(e,t){var n=r((e=vu(e)).r,(t=vu(t)).r),i=r(e.g,t.g),o=r(e.b,t.b),a=Tu(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);function Au(e){return function(t){var r,n,i=t.length,o=new Array(i),a=new Array(i),c=new Array(i);for(r=0;r<i;++r)n=vu(t[r]),o[r]=n.r||0,a[r]=n.g||0,c[r]=n.b||0;return o=e(o),a=e(a),c=e(c),n.opacity=1,function(e){return n.r=o(e),n.g=a(e),n.b=c(e),n+""}}}Au((function(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],o=e[n+1],a=n>0?e[n-1]:2*i-o,c=n<t-1?e[n+2]:2*o-i;return Mu((r-n/t)*t,a,i,o,c)}})),Au((function(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],o=e[n%t],a=e[(n+1)%t],c=e[(n+2)%t];return Mu((r-n/t)*t,i,o,a,c)}}));function Pu(e,t){var r,n=t?t.length:0,i=e?Math.min(n,e.length):0,o=new Array(i),a=new Array(n);for(r=0;r<i;++r)o[r]=zu(e[r],t[r]);for(;r<n;++r)a[r]=t[r];return function(e){for(r=0;r<i;++r)a[r]=o[r](e);return a}}function _u(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function Nu(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function Cu(e,t){var r,n={},i={};for(r in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)r in e?n[r]=zu(e[r],t[r]):i[r]=t[r];return function(e){for(r in n)i[r]=n[r](e);return i}}var Lu=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ru=new RegExp(Lu.source,"g");function Bu(e,t){var r,n,i,o=Lu.lastIndex=Ru.lastIndex=0,a=-1,c=[],u=[];for(e+="",t+="";(r=Lu.exec(e))&&(n=Ru.exec(t));)(i=n.index)>o&&(i=t.slice(o,i),c[a]?c[a]+=i:c[++a]=i),(r=r[0])===(n=n[0])?c[a]?c[a]+=n:c[++a]=n:(c[++a]=null,u.push({i:a,x:Nu(r,n)})),o=Ru.lastIndex;return o<t.length&&(i=t.slice(o),c[a]?c[a]+=i:c[++a]=i),c.length<2?u[0]?function(e){return function(t){return e(t)+""}}(u[0].x):function(e){return function(){return e}}(t):(t=u.length,function(e){for(var r,n=0;n<t;++n)c[(r=u[n]).i]=r.x(e);return c.join("")})}function Uu(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(r=0;r<n;++r)i[r]=e[r]*(1-o)+t[r]*o;return i}}function zu(e,t){var r,n,i=typeof t;return null==t||"boolean"===i?Ou(t):("number"===i?Nu:"string"===i?(r=pu(t))?(t=r,Du):Bu:t instanceof pu?Du:t instanceof Date?_u:(n=t,!ArrayBuffer.isView(n)||n instanceof DataView?Array.isArray(t)?Pu:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Cu:Nu:Uu))(e,t)}function Hu(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function Gu(e){return+e}var Wu=[0,1];function Zu(e){return e}function qu(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:(r=isNaN(t)?NaN:.5,function(){return r});var r}function Fu(e,t,r){var n=e[0],i=e[1],o=t[0],a=t[1];return i<n?(n=qu(i,n),o=r(a,o)):(n=qu(n,i),o=r(o,a)),function(e){return o(n(e))}}function Vu(e,t,r){var n=Math.min(e.length,t.length)-1,i=new Array(n),o=new Array(n),a=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<n;)i[a]=qu(e[a],e[a+1]),o[a]=r(t[a],t[a+1]);return function(t){var r=Vc(e,t,1,n)-1;return o[r](i[r](t))}}function Ju(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Yu(){var e,t,r,n,i,o,a=Wu,c=Wu,u=zu,s=Zu;function l(){var e=Math.min(a.length,c.length);return s!==Zu&&(s=function(e,t){var r;return e>t&&(r=e,e=t,t=r),function(r){return Math.max(e,Math.min(t,r))}}(a[0],a[e-1])),n=e>2?Vu:Fu,i=o=null,f}function f(t){return null==t||isNaN(t=+t)?r:(i||(i=n(a.map(e),c,u)))(e(s(t)))}return f.invert=function(r){return s(t((o||(o=n(c,a.map(e),Nu)))(r)))},f.domain=function(e){return arguments.length?(a=Array.from(e,Gu),l()):a.slice()},f.range=function(e){return arguments.length?(c=Array.from(e),l()):c.slice()},f.rangeRound=function(e){return c=Array.from(e),u=Hu,l()},f.clamp=function(e){return arguments.length?(s=!!e||Zu,l()):s!==Zu},f.interpolate=function(e){return arguments.length?(u=e,l()):u},f.unknown=function(e){return arguments.length?(r=e,f):r},function(r,n){return e=r,t=n,l()}}function Xu(){return Yu()(Zu,Zu)}var Qu,$u=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ku(e){if(!(t=$u.exec(e)))throw new Error("invalid format: "+e);var t;return new es({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function es(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function ts(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function rs(e){return(e=ts(Math.abs(e)))?e[1]:NaN}function ns(e,t){var r=ts(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}Ku.prototype=es.prototype,es.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var is={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>ns(100*e,t),r:ns,s:function(e,t){var r=ts(e,t);if(!r)return e+"";var n=r[0],i=r[1],o=i-(Qu=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=n.length;return o===a?n:o>a?n+new Array(o-a+1).join("0"):o>0?n.slice(0,o)+"."+n.slice(o):"0."+new Array(1-o).join("0")+ts(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function os(e){return e}var as,cs,us,ss=Array.prototype.map,ls=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function fs(e){var t,r,n=void 0===e.grouping||void 0===e.thousands?os:(t=ss.call(e.grouping,Number),r=e.thousands+"",function(e,n){for(var i=e.length,o=[],a=0,c=t[0],u=0;i>0&&c>0&&(u+c+1>n&&(c=Math.max(1,n-u)),o.push(e.substring(i-=c,i+c)),!((u+=c+1)>n));)c=t[a=(a+1)%t.length];return o.reverse().join(r)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",c=void 0===e.numerals?os:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(ss.call(e.numerals,String)),u=void 0===e.percent?"%":e.percent+"",s=void 0===e.minus?"−":e.minus+"",l=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=Ku(e)).fill,r=e.align,f=e.sign,p=e.symbol,d=e.zero,h=e.width,m=e.comma,v=e.precision,y=e.trim,g=e.type;"n"===g?(m=!0,g="g"):is[g]||(void 0===v&&(v=12),y=!0,g="g"),(d||"0"===t&&"="===r)&&(d=!0,t="0",r="=");var b="$"===p?i:"#"===p&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",w="$"===p?o:/[%p]/.test(g)?u:"",x=is[g],I=/[defgprs%]/.test(g);function E(e){var i,o,u,p=b,E=w;if("c"===g)E=x(e)+E,e="";else{var S=(e=+e)<0||1/e<0;if(e=isNaN(e)?l:x(Math.abs(e),v),y&&(e=function(e){e:for(var t,r=e.length,n=1,i=-1;n<r;++n)switch(e[n]){case".":i=t=n;break;case"0":0===i&&(i=n),t=n;break;default:if(!+e[n])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),S&&0==+e&&"+"!==f&&(S=!1),p=(S?"("===f?f:s:"-"===f||"("===f?"":f)+p,E=("s"===g?ls[8+Qu/3]:"")+E+(S&&"("===f?")":""),I)for(i=-1,o=e.length;++i<o;)if(48>(u=e.charCodeAt(i))||u>57){E=(46===u?a+e.slice(i+1):e.slice(i))+E,e=e.slice(0,i);break}}m&&!d&&(e=n(e,1/0));var M=p.length+e.length+E.length,O=M<h?new Array(h-M+1).join(t):"";switch(m&&d&&(e=n(O+e,O.length?h-E.length:1/0),O=""),r){case"<":e=p+e+E+O;break;case"=":e=p+O+e+E;break;case"^":e=O.slice(0,M=O.length>>1)+p+e+E+O.slice(M);break;default:e=O+p+e+E}return c(e)}return v=void 0===v?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),E.toString=function(){return e+""},E}return{format:f,formatPrefix:function(e,t){var r=f(((e=Ku(e)).type="f",e)),n=3*Math.max(-8,Math.min(8,Math.floor(rs(t)/3))),i=Math.pow(10,-n),o=ls[8+n/3];return function(e){return r(i*e)+o}}}}function ps(e,t,r,n){var i,o=Hc(e,t,r);switch((n=Ku(null==n?",f":n)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=n.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(rs(t)/3)))-rs(Math.abs(e)))}(o,a))||(n.precision=i),us(n,a);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,rs(t)-rs(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))||(n.precision=i-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(i=function(e){return Math.max(0,-rs(Math.abs(e)))}(o))||(n.precision=i-2*("%"===n.type))}return cs(n)}function ds(e){var t=e.domain;return e.ticks=function(e){var r=t();return Uc(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){var n=t();return ps(n[0],n[n.length-1],null==e?10:e,r)},e.nice=function(r){null==r&&(r=10);var n,i,o=t(),a=0,c=o.length-1,u=o[a],s=o[c],l=10;for(s<u&&(i=u,u=s,s=i,i=a,a=c,c=i);l-- >0;){if((i=zc(u,s,r))===n)return o[a]=u,o[c]=s,t(o);if(i>0)u=Math.floor(u/i)*i,s=Math.ceil(s/i)*i;else{if(!(i<0))break;u=Math.ceil(u*i)/i,s=Math.floor(s*i)/i}n=i}return e},e}function hs(){var e=Xu();return e.copy=function(){return Ju(e,hs())},Ya.apply(e,arguments),ds(e)}function ms(e){var t;function r(e){return null==e||isNaN(e=+e)?t:e}return r.invert=r,r.domain=r.range=function(t){return arguments.length?(e=Array.from(t,Gu),r):e.slice()},r.unknown=function(e){return arguments.length?(t=e,r):t},r.copy=function(){return ms(e).unknown(t)},e=arguments.length?Array.from(e,Gu):[0,1],ds(r)}function vs(e,t){var r,n=0,i=(e=e.slice()).length-1,o=e[n],a=e[i];return a<o&&(r=n,n=i,i=r,r=o,o=a,a=r),e[n]=t.floor(o),e[i]=t.ceil(a),e}function ys(e){return Math.log(e)}function gs(e){return Math.exp(e)}function bs(e){return-Math.log(-e)}function ws(e){return-Math.exp(-e)}function xs(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Is(e){return function(t){return-e(-t)}}function Es(e){var t,r,n=e(ys,gs),i=n.domain,o=10;function a(){return t=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}(o),r=function(e){return 10===e?xs:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}(o),i()[0]<0?(t=Is(t),r=Is(r),e(bs,ws)):e(ys,gs),n}return n.base=function(e){return arguments.length?(o=+e,a()):o},n.domain=function(e){return arguments.length?(i(e),a()):i()},n.ticks=function(e){var n,a=i(),c=a[0],u=a[a.length-1];(n=u<c)&&(p=c,c=u,u=p);var s,l,f,p=t(c),d=t(u),h=null==e?10:+e,m=[];if(!(o%1)&&d-p<h){if(p=Math.floor(p),d=Math.ceil(d),c>0){for(;p<=d;++p)for(l=1,s=r(p);l<o;++l)if(!((f=s*l)<c)){if(f>u)break;m.push(f)}}else for(;p<=d;++p)for(l=o-1,s=r(p);l>=1;--l)if(!((f=s*l)<c)){if(f>u)break;m.push(f)}2*m.length<h&&(m=Uc(c,u,h))}else m=Uc(p,d,Math.min(d-p,h)).map(r);return n?m.reverse():m},n.tickFormat=function(e,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=cs(i)),e===1/0)return i;null==e&&(e=10);var a=Math.max(1,o*e/n.ticks().length);return function(e){var n=e/r(Math.round(t(e)));return n*o<o-.5&&(n*=o),n<=a?i(e):""}},n.nice=function(){return i(vs(i(),{floor:function(e){return r(Math.floor(t(e)))},ceil:function(e){return r(Math.ceil(t(e)))}}))},n}function Ss(){var e=Es(Yu()).domain([1,10]);return e.copy=function(){return Ju(e,Ss()).base(e.base())},Ya.apply(e,arguments),e}function Ms(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function Os(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function ks(e){var t=1,r=e(Ms(t),Os(t));return r.constant=function(r){return arguments.length?e(Ms(t=+r),Os(t)):t},ds(r)}function js(){var e=ks(Yu());return e.copy=function(){return Ju(e,js()).constant(e.constant())},Ya.apply(e,arguments)}function Ts(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Ds(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function As(e){return e<0?-e*e:e*e}function Ps(e){var t=e(Zu,Zu),r=1;function n(){return 1===r?e(Zu,Zu):.5===r?e(Ds,As):e(Ts(r),Ts(1/r))}return t.exponent=function(e){return arguments.length?(r=+e,n()):r},ds(t)}function _s(){var e=Ps(Yu());return e.copy=function(){return Ju(e,_s()).exponent(e.exponent())},Ya.apply(e,arguments),e}function Ns(){return _s.apply(null,arguments).exponent(.5)}function Cs(e){return Math.sign(e)*e*e}function Ls(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function Rs(){var e,t=Xu(),r=[0,1],n=!1;function i(r){var i=Ls(t(r));return isNaN(i)?e:n?Math.round(i):i}return i.invert=function(e){return t.invert(Cs(e))},i.domain=function(e){return arguments.length?(t.domain(e),i):t.domain()},i.range=function(e){return arguments.length?(t.range((r=Array.from(e,Gu)).map(Cs)),i):r.slice()},i.rangeRound=function(e){return i.range(e).round(!0)},i.round=function(e){return arguments.length?(n=!!e,i):n},i.clamp=function(e){return arguments.length?(t.clamp(e),i):t.clamp()},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return Rs(t.domain(),r).round(n).clamp(t.clamp()).unknown(e)},Ya.apply(i,arguments),ds(i)}function Bs(e,t){let r;if(void 0===t)for(const n of e)null!=n&&(r<n||void 0===r&&n>=n)&&(r=n);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r<i||void 0===r&&i>=i)&&(r=i)}return r}function Us(e,t){let r;if(void 0===t)for(const n of e)null!=n&&(r>n||void 0===r&&n>=n)&&(r=n);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}function zs(e,t,r=0,n=e.length-1,i=Gc){for(;n>r;){if(n-r>600){const o=n-r+1,a=t-r+1,c=Math.log(o),u=.5*Math.exp(2*c/3),s=.5*Math.sqrt(c*u*(o-u)/o)*(a-o/2<0?-1:1);zs(e,t,Math.max(r,Math.floor(t-a*u/o+s)),Math.min(n,Math.floor(t+(o-a)*u/o+s)),i)}const o=e[t];let a=r,c=n;for(Hs(e,r,t),i(e[n],o)>0&&Hs(e,r,n);a<c;){for(Hs(e,a,c),++a,--c;i(e[a],o)<0;)++a;for(;i(e[c],o)>0;)--c}0===i(e[r],o)?Hs(e,r,c):(++c,Hs(e,c,n)),c<=t&&(r=c+1),t<=c&&(n=c-1)}return e}function Hs(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function Gs(e,t,r){if(n=(e=Float64Array.from(function*(e,t){if(void 0===t)for(let r of e)null!=r&&(r=+r)>=r&&(yield r);else{let r=-1;for(let n of e)null!=(n=t(n,++r,e))&&(n=+n)>=n&&(yield n)}}(e,r))).length){if((t=+t)<=0||n<2)return Us(e);if(t>=1)return Bs(e);var n,i=(n-1)*t,o=Math.floor(i),a=Bs(zs(e,o).subarray(0,o+1));return a+(Us(e.subarray(o+1))-a)*(i-o)}}function Ws(e,t,r=Zc){if(n=e.length){if((t=+t)<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,o=Math.floor(i),a=+r(e[o],o,e);return a+(+r(e[o+1],o+1,e)-a)*(i-o)}}function Zs(){var e,t=[],r=[],n=[];function i(){var e=0,i=Math.max(1,r.length);for(n=new Array(i-1);++e<i;)n[e-1]=Ws(t,e/i);return o}function o(t){return null==t||isNaN(t=+t)?e:r[Vc(n,t)]}return o.invertExtent=function(e){var i=r.indexOf(e);return i<0?[NaN,NaN]:[i>0?n[i-1]:t[0],i<n.length?n[i]:t[t.length-1]]},o.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let r of e)null==r||isNaN(r=+r)||t.push(r);return t.sort(Gc),i()},o.range=function(e){return arguments.length?(r=Array.from(e),i()):r.slice()},o.unknown=function(t){return arguments.length?(e=t,o):e},o.quantiles=function(){return n.slice()},o.copy=function(){return Zs().domain(t).range(r).unknown(e)},Ya.apply(o,arguments)}function qs(){var e,t=0,r=1,n=1,i=[.5],o=[0,1];function a(t){return null!=t&&t<=t?o[Vc(i,t,0,n)]:e}function c(){var e=-1;for(i=new Array(n);++e<n;)i[e]=((e+1)*r-(e-n)*t)/(n+1);return a}return a.domain=function(e){return arguments.length?([t,r]=e,t=+t,r=+r,c()):[t,r]},a.range=function(e){return arguments.length?(n=(o=Array.from(e)).length-1,c()):o.slice()},a.invertExtent=function(e){var a=o.indexOf(e);return a<0?[NaN,NaN]:a<1?[t,i[0]]:a>=n?[i[n-1],r]:[i[a-1],i[a]]},a.unknown=function(t){return arguments.length?(e=t,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return qs().domain([t,r]).range(o).unknown(e)},Ya.apply(ds(a),arguments)}function Fs(){var e,t=[.5],r=[0,1],n=1;function i(i){return null!=i&&i<=i?r[Vc(t,i,0,n)]:e}return i.domain=function(e){return arguments.length?(t=Array.from(e),n=Math.min(t.length,r.length-1),i):t.slice()},i.range=function(e){return arguments.length?(r=Array.from(e),n=Math.min(t.length,r.length-1),i):r.slice()},i.invertExtent=function(e){var n=r.indexOf(e);return[t[n-1],t[n]]},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return Fs().domain(t).range(r).unknown(e)},Ya.apply(i,arguments)}as=fs({thousands:",",grouping:[3],currency:["$",""]}),cs=as.format,us=as.formatPrefix;const Vs=1e3,Js=6e4,Ys=36e5,Xs=864e5,Qs=6048e5,$s=2592e6,Ks=31536e6;var el=new Date,tl=new Date;function rl(e,t,r,n){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(r){return e(r=new Date(r-1)),t(r,1),e(r),r},i.round=function(e){var t=i(e),r=i.ceil(e);return e-t<r-e?t:r},i.offset=function(e,r){return t(e=new Date(+e),null==r?1:Math.floor(r)),e},i.range=function(r,n,o){var a,c=[];if(r=i.ceil(r),o=null==o?1:Math.floor(o),!(r<n&&o>0))return c;do{c.push(a=new Date(+r)),t(r,o),e(r)}while(a<r&&r<n);return c},i.filter=function(r){return rl((function(t){if(t>=t)for(;e(t),!r(t);)t.setTime(t-1)}),(function(e,n){if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););}))},r&&(i.count=function(t,n){return el.setTime(+t),tl.setTime(+n),e(el),e(tl),Math.floor(r(el,tl))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(n?function(t){return n(t)%e==0}:function(t){return i.count(0,t)%e==0}):i:null}),i}var nl=rl((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));nl.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?rl((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,r){t.setTime(+t+r*e)}),(function(t,r){return(r-t)/e})):nl:null};var il=nl,ol=(nl.range,rl((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*Vs)}),(function(e,t){return(t-e)/Vs}),(function(e){return e.getUTCSeconds()}))),al=ol,cl=(ol.range,rl((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Vs)}),(function(e,t){e.setTime(+e+t*Js)}),(function(e,t){return(t-e)/Js}),(function(e){return e.getMinutes()}))),ul=cl,sl=(cl.range,rl((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Vs-e.getMinutes()*Js)}),(function(e,t){e.setTime(+e+t*Ys)}),(function(e,t){return(t-e)/Ys}),(function(e){return e.getHours()}))),ll=sl,fl=(sl.range,rl((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Js)/Xs),(e=>e.getDate()-1))),pl=fl;fl.range;function dl(e){return rl((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Js)/Qs}))}var hl=dl(0),ml=dl(1),vl=dl(2),yl=dl(3),gl=dl(4),bl=dl(5),wl=dl(6),xl=(hl.range,ml.range,vl.range,yl.range,gl.range,bl.range,wl.range,rl((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))),Il=xl,El=(xl.range,rl((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()})));El.every=function(e){return isFinite(e=Math.floor(e))&&e>0?rl((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,r){t.setFullYear(t.getFullYear()+r*e)})):null};var Sl=El,Ml=(El.range,rl((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*Js)}),(function(e,t){return(t-e)/Js}),(function(e){return e.getUTCMinutes()}))),Ol=Ml,kl=(Ml.range,rl((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*Ys)}),(function(e,t){return(t-e)/Ys}),(function(e){return e.getUTCHours()}))),jl=kl,Tl=(kl.range,rl((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/Xs}),(function(e){return e.getUTCDate()-1}))),Dl=Tl;Tl.range;function Al(e){return rl((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/Qs}))}var Pl=Al(0),_l=Al(1),Nl=Al(2),Cl=Al(3),Ll=Al(4),Rl=Al(5),Bl=Al(6),Ul=(Pl.range,_l.range,Nl.range,Cl.range,Ll.range,Rl.range,Bl.range,rl((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}))),zl=Ul,Hl=(Ul.range,rl((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));Hl.every=function(e){return isFinite(e=Math.floor(e))&&e>0?rl((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)})):null};var Gl=Hl;Hl.range;function Wl(e,t,r,n,i,o){const a=[[al,1,Vs],[al,5,5e3],[al,15,15e3],[al,30,3e4],[o,1,Js],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,Ys],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,Xs],[n,2,1728e5],[r,1,Qs],[t,1,$s],[t,3,7776e6],[e,1,Ks]];function c(t,r,n){const i=Math.abs(r-t)/n,o=Wc((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(Hc(t/Ks,r/Ks,n));if(0===o)return il.every(Math.max(Hc(t,r,n),1));const[c,u]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return c.every(u)}return[function(e,t,r){const n=t<e;n&&([e,t]=[t,e]);const i=r&&"function"==typeof r.range?r:c(e,t,r),o=i?i.range(e,+t+1):[];return n?o.reverse():o},c]}const[Zl,ql]=Wl(Gl,zl,Pl,Dl,jl,Ol),[Fl,Vl]=Wl(Sl,Il,hl,pl,ll,ul);function Jl(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Yl(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Xl(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}var Ql,$l,Kl,ef={"-":"",_:" ",0:"0"},tf=/^\s*\d+/,rf=/^%/,nf=/[\\^$*+?|[\]().{}]/g;function of(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",o=i.length;return n+(o<r?new Array(r-o+1).join(t)+i:i)}function af(e){return e.replace(nf,"\\$&")}function cf(e){return new RegExp("^(?:"+e.map(af).join("|")+")","i")}function uf(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function sf(e,t,r){var n=tf.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function lf(e,t,r){var n=tf.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function ff(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function pf(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function df(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function hf(e,t,r){var n=tf.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function mf(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function vf(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function yf(e,t,r){var n=tf.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function gf(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function bf(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function wf(e,t,r){var n=tf.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function xf(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function If(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function Ef(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function Sf(e,t,r){var n=tf.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function Mf(e,t,r){var n=tf.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Of(e,t,r){var n=rf.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function kf(e,t,r){var n=tf.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function jf(e,t,r){var n=tf.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function Tf(e,t){return of(e.getDate(),t,2)}function Df(e,t){return of(e.getHours(),t,2)}function Af(e,t){return of(e.getHours()%12||12,t,2)}function Pf(e,t){return of(1+pl.count(Sl(e),e),t,3)}function _f(e,t){return of(e.getMilliseconds(),t,3)}function Nf(e,t){return _f(e,t)+"000"}function Cf(e,t){return of(e.getMonth()+1,t,2)}function Lf(e,t){return of(e.getMinutes(),t,2)}function Rf(e,t){return of(e.getSeconds(),t,2)}function Bf(e){var t=e.getDay();return 0===t?7:t}function Uf(e,t){return of(hl.count(Sl(e)-1,e),t,2)}function zf(e){var t=e.getDay();return t>=4||0===t?gl(e):gl.ceil(e)}function Hf(e,t){return e=zf(e),of(gl.count(Sl(e),e)+(4===Sl(e).getDay()),t,2)}function Gf(e){return e.getDay()}function Wf(e,t){return of(ml.count(Sl(e)-1,e),t,2)}function Zf(e,t){return of(e.getFullYear()%100,t,2)}function qf(e,t){return of((e=zf(e)).getFullYear()%100,t,2)}function Ff(e,t){return of(e.getFullYear()%1e4,t,4)}function Vf(e,t){var r=e.getDay();return of((e=r>=4||0===r?gl(e):gl.ceil(e)).getFullYear()%1e4,t,4)}function Jf(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+of(t/60|0,"0",2)+of(t%60,"0",2)}function Yf(e,t){return of(e.getUTCDate(),t,2)}function Xf(e,t){return of(e.getUTCHours(),t,2)}function Qf(e,t){return of(e.getUTCHours()%12||12,t,2)}function $f(e,t){return of(1+Dl.count(Gl(e),e),t,3)}function Kf(e,t){return of(e.getUTCMilliseconds(),t,3)}function ep(e,t){return Kf(e,t)+"000"}function tp(e,t){return of(e.getUTCMonth()+1,t,2)}function rp(e,t){return of(e.getUTCMinutes(),t,2)}function np(e,t){return of(e.getUTCSeconds(),t,2)}function ip(e){var t=e.getUTCDay();return 0===t?7:t}function op(e,t){return of(Pl.count(Gl(e)-1,e),t,2)}function ap(e){var t=e.getUTCDay();return t>=4||0===t?Ll(e):Ll.ceil(e)}function cp(e,t){return e=ap(e),of(Ll.count(Gl(e),e)+(4===Gl(e).getUTCDay()),t,2)}function up(e){return e.getUTCDay()}function sp(e,t){return of(_l.count(Gl(e)-1,e),t,2)}function lp(e,t){return of(e.getUTCFullYear()%100,t,2)}function fp(e,t){return of((e=ap(e)).getUTCFullYear()%100,t,2)}function pp(e,t){return of(e.getUTCFullYear()%1e4,t,4)}function dp(e,t){var r=e.getUTCDay();return of((e=r>=4||0===r?Ll(e):Ll.ceil(e)).getUTCFullYear()%1e4,t,4)}function hp(){return"+0000"}function mp(){return"%"}function vp(e){return+e}function yp(e){return Math.floor(+e/1e3)}function gp(e){return new Date(e)}function bp(e){return e instanceof Date?+e:+new Date(+e)}function wp(e,t,r,n,i,o,a,c,u,s){var l=Xu(),f=l.invert,p=l.domain,d=s(".%L"),h=s(":%S"),m=s("%I:%M"),v=s("%I %p"),y=s("%a %d"),g=s("%b %d"),b=s("%B"),w=s("%Y");function x(e){return(u(e)<e?d:c(e)<e?h:a(e)<e?m:o(e)<e?v:n(e)<e?i(e)<e?y:g:r(e)<e?b:w)(e)}return l.invert=function(e){return new Date(f(e))},l.domain=function(e){return arguments.length?p(Array.from(e,bp)):p().map(gp)},l.ticks=function(t){var r=p();return e(r[0],r[r.length-1],null==t?10:t)},l.tickFormat=function(e,t){return null==t?x:s(t)},l.nice=function(e){var r=p();return e&&"function"==typeof e.range||(e=t(r[0],r[r.length-1],null==e?10:e)),e?p(vs(r,e)):l},l.copy=function(){return Ju(l,wp(e,t,r,n,i,o,a,c,u,s))},l}function xp(){return Ya.apply(wp(Fl,Vl,Sl,Il,hl,pl,ll,ul,al,$l).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Ip(){return Ya.apply(wp(Zl,ql,Gl,zl,Pl,Dl,jl,Ol,al,Kl).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Ep(){var e,t,r,n,i,o=0,a=1,c=Zu,u=!1;function s(t){return null==t||isNaN(t=+t)?i:c(0===r?.5:(t=(n(t)-e)*r,u?Math.max(0,Math.min(1,t)):t))}function l(e){return function(t){var r,n;return arguments.length?([r,n]=t,c=e(r,n),s):[c(0),c(1)]}}return s.domain=function(i){return arguments.length?([o,a]=i,e=n(o=+o),t=n(a=+a),r=e===t?0:1/(t-e),s):[o,a]},s.clamp=function(e){return arguments.length?(u=!!e,s):u},s.interpolator=function(e){return arguments.length?(c=e,s):c},s.range=l(zu),s.rangeRound=l(Hu),s.unknown=function(e){return arguments.length?(i=e,s):i},function(i){return n=i,e=i(o),t=i(a),r=e===t?0:1/(t-e),s}}function Sp(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Mp(){var e=ds(Ep()(Zu));return e.copy=function(){return Sp(e,Mp())},Xa.apply(e,arguments)}function Op(){var e=Es(Ep()).domain([1,10]);return e.copy=function(){return Sp(e,Op()).base(e.base())},Xa.apply(e,arguments)}function kp(){var e=ks(Ep());return e.copy=function(){return Sp(e,kp()).constant(e.constant())},Xa.apply(e,arguments)}function jp(){var e=Ps(Ep());return e.copy=function(){return Sp(e,jp()).exponent(e.exponent())},Xa.apply(e,arguments)}function Tp(){return jp.apply(null,arguments).exponent(.5)}function Dp(){var e=[],t=Zu;function r(r){if(null!=r&&!isNaN(r=+r))return t((Vc(e,r,1)-1)/(e.length-1))}return r.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let r of t)null==r||isNaN(r=+r)||e.push(r);return e.sort(Gc),r},r.interpolator=function(e){return arguments.length?(t=e,r):t},r.range=function(){return e.map(((r,n)=>t(n/(e.length-1))))},r.quantiles=function(t){return Array.from({length:t+1},((r,n)=>Gs(e,n/t)))},r.copy=function(){return Dp(t).domain(e)},Xa.apply(r,arguments)}function Ap(e,t){void 0===t&&(t=e,e=zu);for(var r=0,n=t.length-1,i=t[0],o=new Array(n<0?0:n);r<n;)o[r]=e(i,i=t[++r]);return function(e){var t=Math.max(0,Math.min(n-1,Math.floor(e*=n)));return o[t](e-t)}}function Pp(){var e,t,r,n,i,o,a,c=0,u=.5,s=1,l=1,f=Zu,p=!1;function d(e){return isNaN(e=+e)?a:(e=.5+((e=+o(e))-t)*(l*e<l*t?n:i),f(p?Math.max(0,Math.min(1,e)):e))}function h(e){return function(t){var r,n,i;return arguments.length?([r,n,i]=t,f=Ap(e,[r,n,i]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([c,u,s]=a,e=o(c=+c),t=o(u=+u),r=o(s=+s),n=e===t?0:.5/(t-e),i=t===r?0:.5/(r-t),l=t<e?-1:1,d):[c,u,s]},d.clamp=function(e){return arguments.length?(p=!!e,d):p},d.interpolator=function(e){return arguments.length?(f=e,d):f},d.range=h(zu),d.rangeRound=h(Hu),d.unknown=function(e){return arguments.length?(a=e,d):a},function(a){return o=a,e=a(c),t=a(u),r=a(s),n=e===t?0:.5/(t-e),i=t===r?0:.5/(r-t),l=t<e?-1:1,d}}function _p(){var e=ds(Pp()(Zu));return e.copy=function(){return Sp(e,_p())},Xa.apply(e,arguments)}function Np(){var e=Es(Pp()).domain([.1,1,10]);return e.copy=function(){return Sp(e,Np()).base(e.base())},Xa.apply(e,arguments)}function Cp(){var e=ks(Pp());return e.copy=function(){return Sp(e,Cp()).constant(e.constant())},Xa.apply(e,arguments)}function Lp(){var e=Ps(Pp());return e.copy=function(){return Sp(e,Lp()).exponent(e.exponent())},Xa.apply(e,arguments)}function Rp(){return Lp.apply(null,arguments).exponent(.5)}function Bp(e,t){if((i=e.length)>1)for(var r,n,i,o=1,a=e[t[0]],c=a.length;o<i;++o)for(n=a,a=e[t[o]],r=0;r<c;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function Up(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function zp(e,t){return e[t]}function Hp(e){const t=[];return t.key=e,t}function Gp(e){return function(e){if(Array.isArray(e))return Wp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Wp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Wp(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wp(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Zp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qp(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Zp(Object(r),!0).forEach((function(t){Fp(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zp(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Fp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vp(e,t,r){return Ee()(e)||Ee()(t)?r:J(t)?L()(e,t,r):me()(t)?t(e):r}function Jp(e,t,r,n){var i=sc()(e,(function(e){return Vp(e,t)}));if("number"===r){var o=i.filter((function(e){return V(e)||parseFloat(e)}));return o.length?[cc()(o),oc()(o)]:[1/0,-1/0]}return(n?i.filter((function(e){return!Ee()(e)})):i).map((function(e){return J(e)||e instanceof Date?e:""}))}!function(e){Ql=function(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,o=e.days,a=e.shortDays,c=e.months,u=e.shortMonths,s=cf(i),l=uf(i),f=cf(o),p=uf(o),d=cf(a),h=uf(a),m=cf(c),v=uf(c),y=cf(u),g=uf(u),b={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return u[e.getMonth()]},B:function(e){return c[e.getMonth()]},c:null,d:Tf,e:Tf,f:Nf,g:qf,G:Vf,H:Df,I:Af,j:Pf,L:_f,m:Cf,M:Lf,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:vp,s:yp,S:Rf,u:Bf,U:Uf,V:Hf,w:Gf,W:Wf,x:null,X:null,y:Zf,Y:Ff,Z:Jf,"%":mp},w={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return u[e.getUTCMonth()]},B:function(e){return c[e.getUTCMonth()]},c:null,d:Yf,e:Yf,f:ep,g:fp,G:dp,H:Xf,I:Qf,j:$f,L:Kf,m:tp,M:rp,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:vp,s:yp,S:np,u:ip,U:op,V:cp,w:up,W:sp,x:null,X:null,y:lp,Y:pp,Z:hp,"%":mp},x={a:function(e,t,r){var n=d.exec(t.slice(r));return n?(e.w=h.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){var n=f.exec(t.slice(r));return n?(e.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){var n=y.exec(t.slice(r));return n?(e.m=g.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){var n=m.exec(t.slice(r));return n?(e.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,r,n){return S(e,t,r,n)},d:bf,e:bf,f:Mf,g:mf,G:hf,H:xf,I:xf,j:wf,L:Sf,m:gf,M:If,p:function(e,t,r){var n=s.exec(t.slice(r));return n?(e.p=l.get(n[0].toLowerCase()),r+n[0].length):-1},q:yf,Q:kf,s:jf,S:Ef,u:lf,U:ff,V:pf,w:sf,W:df,x:function(e,t,n){return S(e,r,t,n)},X:function(e,t,r){return S(e,n,t,r)},y:mf,Y:hf,Z:vf,"%":Of};function I(e,t){return function(r){var n,i,o,a=[],c=-1,u=0,s=e.length;for(r instanceof Date||(r=new Date(+r));++c<s;)37===e.charCodeAt(c)&&(a.push(e.slice(u,c)),null!=(i=ef[n=e.charAt(++c)])?n=e.charAt(++c):i="e"===n?" ":"0",(o=t[n])&&(n=o(r,i)),a.push(n),u=c+1);return a.push(e.slice(u,c)),a.join("")}}function E(e,t){return function(r){var n,i,o=Xl(1900,void 0,1);if(S(o,e,r+="",0)!=r.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(n=Yl(Xl(o.y,0,1))).getUTCDay(),n=i>4||0===i?_l.ceil(n):_l(n),n=Dl.offset(n,7*(o.V-1)),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(i=(n=Jl(Xl(o.y,0,1))).getDay(),n=i>4||0===i?ml.ceil(n):ml(n),n=pl.offset(n,7*(o.V-1)),o.y=n.getFullYear(),o.m=n.getMonth(),o.d=n.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Yl(Xl(o.y,0,1)).getUTCDay():Jl(Xl(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Yl(o)):Jl(o)}}function S(e,t,r,n){for(var i,o,a=0,c=t.length,u=r.length;a<c;){if(n>=u)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=x[i in ef?t.charAt(a++):i])||(n=o(e,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}return b.x=I(r,b),b.X=I(n,b),b.c=I(t,b),w.x=I(r,w),w.X=I(n,w),w.c=I(t,w),{format:function(e){var t=I(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=E(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=I(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=E(e+="",!0);return t.toString=function(){return e},t}}}(e),$l=Ql.format,Ql.parse,Kl=Ql.utcFormat,Ql.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Yp=function(e){var t,r=e.type.displayName,n=e.props,i=n.stroke,o=n.fill;switch(r){case"Line":t=i;break;case"Area":case"Radar":t=i&&"none"!==i?i:o;break;default:t=o}return t},Xp=function(e){var t,r=e.children,n=e.formatedGraphicalItems,i=e.legendWidth,o=e.legendContent,a=zo(r,Xn.displayName);return a?(t=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(n||[]).reduce((function(e,t){var r=t.item,n=t.props,i=n.sectors||n.data||[];return e.concat(i.map((function(e){return{type:a.props.iconType||r.props.legendType,value:e.name,color:e.fill,payload:e}})))}),[]):(n||[]).map((function(e){var t=e.item,r=t.props,n=r.dataKey,i=r.name,o=r.legendType;return{inactive:r.hide,dataKey:n,type:a.props.iconType||o||"square",color:Yp(t),value:i||n,payload:t.props}})),qp(qp(qp({},a.props),Xn.getWithHeight(a,i)),{},{payload:t,item:a})):null},Qp=function(e,t,r,n){var i=t.props.children,o=Uo(i,"ErrorBar").filter((function(e){var t=e.props.direction;return!(!Ee()(t)&&!Ee()(n))||n.indexOf(t)>=0}));if(o&&o.length){var a=o.map((function(e){return e.props.dataKey}));return e.reduce((function(e,t){var n=Vp(t,r,0),i=B()(n)?[cc()(n),oc()(n)]:[n,n],o=a.reduce((function(e,r){var n=Vp(t,r,0),o=i[0]-Math.abs(B()(n)?n[0]:n),a=i[1]+Math.abs(B()(n)?n[1]:n);return[Math.min(o,e[0]),Math.max(a,e[1])]}),[1/0,-1/0]);return[Math.min(o[0],e[0]),Math.max(o[1],e[1])]}),[1/0,-1/0])}return null},$p=function(e,t,r,n){var i=t.map((function(t){var i=t.props.dataKey;return"number"===r&&i&&Qp(e,t,i)||Jp(e,i,r,n)}));if("number"===r)return i.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]);var o={};return i.reduce((function(e,t){for(var r=0,n=t.length;r<n;r++)o[t[r]]||(o[t[r]]=!0,e.push(t[r]));return e}),[])},Kp=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},ed=function(e,t,r){var n,i,o=e.map((function(e){return e.coordinate===t&&(n=!0),e.coordinate===r&&(i=!0),e.coordinate}));return n||o.push(t),i||o.push(r),o},td=function(e,t,r){if(!e)return null;var n=e.scale,i=e.duplicateDomain,o=e.type,a=e.range,c=(t||r)&&"category"===o&&n.bandwidth?n.bandwidth()/2:0;return c="angleAxis"===e.axisType?2*q(a[0]-a[1])*c:c,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map((function(e){var t=i?i.indexOf(e):e;return{coordinate:n(t)+c,value:e,offset:c}})):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map((function(e,t){return{coordinate:n(e)+c,value:e,index:t,offset:c}})):n.ticks&&!r?n.ticks(e.tickCount).map((function(e){return{coordinate:n(e)+c,value:e,offset:c}})):n.domain().map((function(e,t){return{coordinate:n(e)+c,value:i?i[e]:e,index:t,offset:c}}))},rd=function(e,t,r){var n;return me()(r)?n=r:me()(t)&&(n=t),me()(e)||n?function(t,r,i,o){me()(e)&&e(t,r,i,o),me()(n)&&n(t,r,i,o)}:null},nd=1e-4,id={sign:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,o=0,a=0;a<t;++a){var c=z()(e[a][r][1])?e[a][r][0]:e[a][r][1];c>=0?(e[a][r][0]=i,e[a][r][1]=i+c,i=e[a][r][1]):(e[a][r][0]=o,e[a][r][1]=o+c,o=e[a][r][1])}},expand:function(e,t){if((n=e.length)>0){for(var r,n,i,o=0,a=e[0].length;o<a;++o){for(i=r=0;r<n;++r)i+=e[r][o][1]||0;if(i)for(r=0;r<n;++r)e[r][o][1]/=i}Bp(e,t)}},none:Bp,silhouette:function(e,t){if((r=e.length)>0){for(var r,n=0,i=e[t[0]],o=i.length;n<o;++n){for(var a=0,c=0;a<r;++a)c+=e[a][n][1]||0;i[n][1]+=i[n][0]=-c/2}Bp(e,t)}},wiggle:function(e,t){if((i=e.length)>0&&(n=(r=e[t[0]]).length)>0){for(var r,n,i,o=0,a=1;a<n;++a){for(var c=0,u=0,s=0;c<i;++c){for(var l=e[t[c]],f=l[a][1]||0,p=(f-(l[a-1][1]||0))/2,d=0;d<c;++d){var h=e[t[d]];p+=(h[a][1]||0)-(h[a-1][1]||0)}u+=f,s+=p*f}r[a-1][1]+=r[a-1][0]=o,u&&(o-=s/u)}r[a-1][1]+=r[a-1][0]=o,Bp(e,t)}},positive:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,o=0;o<t;++o){var a=z()(e[o][r][1])?e[o][r][0]:e[o][r][1];a>=0?(e[o][r][0]=i,e[o][r][1]=i+a,i=e[o][r][1]):(e[o][r][0]=0,e[o][r][1]=0)}}},od=function(e,t,r){var n=t.map((function(e){return e.props.dataKey}));return function(){var e=dn([]),t=Up,r=Bp,n=zp;function i(i){var o,a,c=Array.from(e.apply(this,arguments),Hp),u=c.length,s=-1;for(const e of i)for(o=0,++s;o<u;++o)(c[o][s]=[0,+n(e,c[o].key,s,i)]).data=e;for(o=0,a=mi(t(c));o<u;++o)c[a[o]].index=o;return r(c,a),c}return i.keys=function(t){return arguments.length?(e="function"==typeof t?t:dn(Array.from(t)),i):e},i.value=function(e){return arguments.length?(n="function"==typeof e?e:dn(+e),i):n},i.order=function(e){return arguments.length?(t=null==e?Up:"function"==typeof e?e:dn(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(r=null==e?Bp:e,i):r},i}().keys(n).value((function(e,t){return+Vp(e,t,0)})).order(Up).offset(id[r])(e)},ad=function(e,t){var r=t.realScaleType,n=t.type,i=t.tickCount,o=t.originalDomain,a=t.allowDecimals,c=r||t.scale;if("auto"!==c&&"linear"!==c)return null;if(i&&"number"===n&&o&&("auto"===o[0]||"auto"===o[1])){var u=e.domain();if(!u.length)return null;var s=Nc(u,i,a);return e.domain(function(e,t){return"number"===t?[cc()(e),oc()(e)]:e}(s,n)),{niceTicks:s}}if(i&&"number"===n){var l=e.domain();return{niceTicks:Cc(l,i,a)}}return null},cd=function(e){var t=e.axis,r=e.ticks,n=e.offset,i=e.bandSize,o=e.entry,a=e.index;if("category"===t.type)return r[a]?r[a].coordinate+n:null;var c=Vp(o,t.dataKey,t.domain[a]);return Ee()(c)?null:t.scale(c)-i/2+n},ud=function(e,t,r){return Object.keys(e).reduce((function(n,i){var o=e[i].stackedData.reduce((function(e,n){var i=n.slice(t,r+1).reduce((function(e,t){return[cc()(t.concat([e[0]]).filter(V)),oc()(t.concat([e[1]]).filter(V))]}),[1/0,-1/0]);return[Math.min(e[0],i[0]),Math.max(e[1],i[1])]}),[1/0,-1/0]);return[Math.min(o[0],n[0]),Math.max(o[1],n[1])]}),[1/0,-1/0]).map((function(e){return e===1/0||e===-1/0?0:e}))},sd=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ld=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,fd=function(e,t,r){if(!B()(e))return t;var n=[];if(V(e[0]))n[0]=r?e[0]:Math.min(e[0],t[0]);else if(sd.test(e[0])){var i=+sd.exec(e[0])[1];n[0]=t[0]-i}else me()(e[0])?n[0]=e[0](t[0]):n[0]=t[0];if(V(e[1]))n[1]=r?e[1]:Math.max(e[1],t[1]);else if(ld.test(e[1])){var o=+ld.exec(e[1])[1];n[1]=t[1]+o}else me()(e[1])?n[1]=e[1](t[1]):n[1]=t[1];return n},pd=function(e,t,r){if(e&&e.scale&&e.scale.bandwidth){var n=e.scale.bandwidth();if(!r||n>0)return n}if(e&&t&&t.length>=2){for(var i=be()(t,(function(e){return e.coordinate})),o=1/0,a=1,c=i.length;a<c;a++){var u=i[a],s=i[a-1];o=Math.min((u.coordinate||0)-(s.coordinate||0),o)}return o===1/0?0:o}return 0},dd=function(e,t,r){return e&&e.length?nc()(e,L()(r,"type.defaultProps.domain"))?t:e:t},hd=function(e,t){var r=e.props,n=r.dataKey,i=r.name,o=r.unit,a=r.formatter,c=r.tooltipType;return qp(qp({},Pe(e)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:Yp(e),value:Vp(t,n),type:c,payload:t})};function md(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function vd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?md(Object(r),!0).forEach((function(t){yd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):md(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var gd=["Webkit","Moz","O","ms"];function bd(e){return(bd="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 wd(){return(wd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function xd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Id(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xd(Object(r),!0).forEach((function(t){Ed(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ed(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sd(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Md(e,t){return(Md=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Od(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Td(e);if(t){var i=Td(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return kd(this,r)}}function kd(e,t){return!t||"object"!==bd(t)&&"function"!=typeof t?jd(e):t}function jd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Td(e){return(Td=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Dd=function(e){return e.changedTouches&&!!e.changedTouches.length},Ad=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&&Md(e,t)}(a,e);var t,r,n,i=Od(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).leaveTimer=void 0,t.travellerDragStartHandlers=void 0,t.handleDrag=function(e){t.leaveTimer&&(clearTimeout(t.leaveTimer),t.leaveTimer=null),t.state.isTravellerMoving?t.handleTravellerMove(e):t.state.isSlideMoving&&t.handleSlideDrag(e)},t.handleTouchMove=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleDrag(e.changedTouches[0])},t.handleDragEnd=function(){t.setState({isTravellerMoving:!1,isSlideMoving:!1}),t.detachDragEndListener()},t.handleLeaveWrapper=function(){(t.state.isTravellerMoving||t.state.isSlideMoving)&&(t.leaveTimer=window.setTimeout(t.handleDragEnd,t.props.leaveTimeOut))},t.handleEnterSlideOrTraveller=function(){t.setState({isTextActive:!0})},t.handleLeaveSlideOrTraveller=function(){t.setState({isTextActive:!1})},t.handleSlideDragStart=function(e){var r=Dd(e)?e.changedTouches[0]:e;t.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),t.attachDragEndListener()},t.travellerDragStartHandlers={startX:t.handleTravellerDragStart.bind(jd(t),"startX"),endX:t.handleTravellerDragStart.bind(jd(t),"endX")},t.state={},t}return t=a,n=[{key:"renderDefaultTraveller",value:function(e){var t=e.x,r=e.y,n=e.width,i=e.height,a=e.stroke,c=Math.floor(r+i/2)-1;return o.createElement(o.Fragment,null,o.createElement("rect",{x:t,y:r,width:n,height:i,fill:a,stroke:"none"}),o.createElement("line",{x1:t+1,y1:c,x2:t+n-1,y2:c,fill:"none",stroke:"#fff"}),o.createElement("line",{x1:t+1,y1:c+2,x2:t+n-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):a.renderDefaultTraveller(t)}},{key:"getDerivedStateFromProps",value:function(e,t){var r=e.data,n=e.width,i=e.x,o=e.travellerWidth,a=e.updateId,c=e.startIndex,u=e.endIndex;if(r!==t.prevData||a!==t.prevUpdateId)return Id({prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n},r&&r.length?function(e){var t=e.data,r=e.startIndex,n=e.endIndex,i=e.x,o=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var c=t.length,u=tc().domain(xe()(0,c)).range([i,i+o-a]),s=u.domain().map((function(e){return u(e)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:u(r),endX:u(n),scale:u,scaleValues:s}}({data:r,width:n,x:i,travellerWidth:o,startIndex:c,endIndex:u}):{scale:null,scaleValues:null});if(t.scale&&(n!==t.prevWidth||i!==t.prevX||o!==t.prevTravellerWidth)){t.scale.range([i,i+n-o]);var s=t.scale.domain().map((function(e){return t.scale(e)}));return{prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:s}}return null}},{key:"getIndexInRange",value:function(e,t){for(var r=0,n=e.length-1;n-r>1;){var i=Math.floor((r+n)/2);e[i]>t?n=i:r=i}return t>=e[n]?n:r}}],(r=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var t=e.startX,r=e.endX,n=this.state.scaleValues,i=this.props,o=i.gap,c=i.data.length-1,u=Math.min(t,r),s=Math.max(t,r),l=a.getIndexInRange(n,u),f=a.getIndexInRange(n,s);return{startIndex:l-l%o,endIndex:f===c?c:f-f%o}}},{key:"getTextOfTick",value:function(e){var t=this.props,r=t.data,n=t.tickFormatter,i=t.dataKey,o=Vp(r[e],i,e);return me()(n)?n(o,e):o}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0)}},{key:"handleSlideDrag",value:function(e){var t=this.state,r=t.slideMoveStartX,n=t.startX,i=t.endX,o=this.props,a=o.x,c=o.width,u=o.travellerWidth,s=o.startIndex,l=o.endIndex,f=o.onChange,p=e.pageX-r;p>0?p=Math.min(p,a+c-u-i,a+c-u-n):p<0&&(p=Math.max(p,a-n,a-i));var d=this.getIndex({startX:n+p,endX:i+p});d.startIndex===s&&d.endIndex===l||!f||f(d),this.setState({startX:n+p,endX:i+p,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var r=Dd(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t,r=this.state,n=r.brushMoveStartX,i=r.movingTravellerId,o=r.endX,a=r.startX,c=this.state[i],u=this.props,s=u.x,l=u.width,f=u.travellerWidth,p=u.onChange,d=u.gap,h=u.data,m={startX:this.state.startX,endX:this.state.endX},v=e.pageX-n;v>0?v=Math.min(v,s+l-f-c):v<0&&(v=Math.max(v,s-c)),m[i]=c+v;var y=this.getIndex(m),g=y.startIndex,b=y.endIndex;this.setState((Ed(t={},i,c+v),Ed(t,"brushMoveStartX",e.pageX),t),(function(){var e;p&&(e=h.length-1,("startX"===i&&(o>a?g%d==0:b%d==0)||o<a&&b===e||"endX"===i&&(o>a?b%d==0:g%d==0)||o>a&&b===e)&&p(y))}))}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,a=e.fill,c=e.stroke;return o.createElement("rect",{stroke:c,fill:a,x:t,y:r,width:n,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,a=e.data,c=e.children,u=e.padding,s=o.Children.only(c);return s?o.cloneElement(s,{x:t,y:r,width:n,height:i,margin:u,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(e,t){var r=this.props,n=r.y,i=r.travellerWidth,c=r.height,u=r.traveller,s=Math.max(e,this.props.x),l=Id(Id({},Pe(this.props)),{},{x:s,y:n,width:i,height:c});return o.createElement(ze,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[t],onTouchStart:this.travellerDragStartHandlers[t],style:{cursor:"col-resize"}},a.renderTraveller(u,l))}},{key:"renderSlide",value:function(e,t){var r=this.props,n=r.y,i=r.height,a=r.stroke,c=r.travellerWidth,u=Math.min(e,t)+c,s=Math.max(Math.abs(t-e)-c,0);return o.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:u,y:n,width:s,height:i})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,r=e.endIndex,n=e.y,i=e.height,a=e.travellerWidth,c=e.stroke,u=this.state,s=u.startX,l=u.endX,f={pointerEvents:"none",fill:c};return o.createElement(ze,{className:"recharts-brush-texts"},o.createElement(Sa,wd({textAnchor:"end",verticalAnchor:"middle",x:Math.min(s,l)-5,y:n+i/2},f),this.getTextOfTick(t)),o.createElement(Sa,wd({textAnchor:"start",verticalAnchor:"middle",x:Math.max(s,l)+a+5,y:n+i/2},f),this.getTextOfTick(r)))}},{key:"render",value:function(){var e=this.props,t=e.data,r=e.className,n=e.children,i=e.x,a=e.y,c=e.width,u=e.height,s=e.alwaysShowText,l=this.state,f=l.startX,p=l.endX,d=l.isTextActive,h=l.isSlideMoving,m=l.isTravellerMoving;if(!t||!t.length||!V(i)||!V(a)||!V(c)||!V(u)||c<=0||u<=0)return null;var v=_()("recharts-brush",r),y=1===o.Children.count(n),g=function(e,t){if(!e)return null;var r=e.replace(/(\w)/,(function(e){return e.toUpperCase()})),n=gd.reduce((function(e,n){return vd(vd({},e),{},yd({},n+r,t))}),{});return n[e]=t,n}("userSelect","none");return o.createElement(ze,{className:v,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:g},this.renderBackground(),y&&this.renderPanorama(),this.renderSlide(f,p),this.renderTravellerLayer(f,"startX"),this.renderTravellerLayer(p,"endX"),(d||h||m||s)&&this.renderText())}}])&&Sd(t.prototype,r),n&&Sd(t,n),a}(o.PureComponent);Ad.displayName="Brush",Ad.defaultProps={height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1};var Pd=function(e,t){var r=e.alwaysShow,n=e.ifOverflow;return r&&(n="extendDomain"),n===t},_d=r(18345),Nd=r.n(_d);function Cd(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ld(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Rd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ld(Object(r),!0).forEach((function(t){Bd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ld(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Bd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ud=function(e,t){var r=e.x,n=e.y,i=t.x,o=t.y;return{x:Math.min(r,i),y:Math.min(n,o),width:Math.abs(i-r),height:Math.abs(o-n)}},zd=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scale=void 0,this.scale=t}var t,r,n;return t=e,n=[{key:"create",value:function(t){return new e(t)}}],(r=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.bandAware,n=t.position;if(void 0!==e){if(n)switch(n){case"start":return this.scale(e);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(e)+o;default:return this.scale(e)}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),r=t[0],n=t[t.length-1];return r<=n?e>=r&&e<=n:e>=n&&e<=r}}])&&Cd(t.prototype,r),n&&Cd(t,n),e}();zd.EPS=1e-4;var Hd=function(e){var t=Object.keys(e).reduce((function(t,r){return Rd(Rd({},t),{},Bd({},r,zd.create(e[r])))}),{});return Rd(Rd({},t),{},{apply:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware;return Nd()(e,(function(e,r){return t[r].apply(e,{bandAware:n})}))},isInRange:function(e){return fe()(e,(function(e,r){return t[r].isInRange(e)}))}})};function Gd(){return(Gd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Wd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Zd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wd(Object(r),!0).forEach((function(t){qd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fd(e){var t=e.x,r=e.y,n=e.r,i=e.alwaysShow,a=e.clipPathId,c=J(t),u=J(r);if(te(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!c||!u)return null;var s=function(e){var t=e.x,r=e.y,n=e.xAxis,i=e.yAxis,o=Hd({x:n.scale,y:i.scale}),a=o.apply({x:t,y:r},{bandAware:!0});return Pd(e,"discard")&&!o.isInRange(a)?null:a}(e);if(!s)return null;var l=s.x,f=s.y,p=e.shape,d=e.className,h=Zd(Zd({clipPath:Pd(e,"hidden")?"url(#".concat(a,")"):void 0},Pe(e,!0)),{},{cx:l,cy:f});return o.createElement(ze,{className:_()("recharts-reference-dot",d)},Fd.renderDot(p,h),Pa.renderCallByParent(e,{x:l-n,y:f-n,width:2*n,height:2*n}))}Fd.displayName="ReferenceDot",Fd.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},Fd.renderDot=function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):o.createElement(wo,Gd({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}))};var Vd=r(94927),Jd=r.n(Vd);function Yd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Xd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Yd(Object(r),!0).forEach((function(t){Qd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Qd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Kd(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Kd(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kd(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function eh(){return(eh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function th(e){var t=e.x,r=e.y,n=e.segment,i=e.xAxis,a=e.yAxis,c=e.shape,u=e.className,s=e.alwaysShow,l=e.clipPathId;te(void 0===s,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var f=function(e,t,r,n,i){var o=i.viewBox,a=o.x,c=o.y,u=o.width,s=o.height,l=i.position;if(r){var f=i.y,p=i.yAxis.orientation,d=e.y.apply(f,{position:l});if(Pd(i,"discard")&&!e.y.isInRange(d))return null;var h=[{x:a+u,y:d},{x:a,y:d}];return"left"===p?h.reverse():h}if(t){var m=i.x,v=i.xAxis.orientation,y=e.x.apply(m,{position:l});if(Pd(i,"discard")&&!e.x.isInRange(y))return null;var g=[{x:y,y:c+s},{x:y,y:c}];return"top"===v?g.reverse():g}if(n){var b=i.segment.map((function(t){return e.apply(t,{position:l})}));return Pd(i,"discard")&&Jd()(b,(function(t){return!e.isInRange(t)}))?null:b}return null}(Hd({x:i.scale,y:a.scale}),J(t),J(r),n&&2===n.length,e);if(!f)return null;var p=$d(f,2),d=p[0],h=d.x,m=d.y,v=p[1],y=v.x,g=v.y,b=Xd(Xd({clipPath:Pd(e,"hidden")?"url(#".concat(l,")"):void 0},Pe(e,!0)),{},{x1:h,y1:m,x2:y,y2:g});return o.createElement(ze,{className:_()("recharts-reference-line",u)},function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):o.createElement("line",eh({},t,{className:"recharts-reference-line-line"}))}(c,b),Pa.renderCallByParent(e,function(e){var t=e.x1,r=e.y1,n=e.x2,i=e.y2;return Ud({x:t,y:r},{x:n,y:i})}({x1:h,y1:m,x2:y,y2:g})))}function rh(){return(rh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function nh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ih(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nh(Object(r),!0).forEach((function(t){oh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function oh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}th.displayName="ReferenceLine",th.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function ah(e){var t=e.x1,r=e.x2,n=e.y1,i=e.y2,a=e.className,c=e.alwaysShow,u=e.clipPathId;te(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var s=J(t),l=J(r),f=J(n),p=J(i),d=e.shape;if(!(s||l||f||p||d))return null;var h=function(e,t,r,n,i){var o=i.x1,a=i.x2,c=i.y1,u=i.y2,s=i.xAxis,l=i.yAxis,f=Hd({x:s.scale,y:l.scale}),p={x:e?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(c,{position:"start"}):f.y.rangeMin},d={x:t?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(u,{position:"end"}):f.y.rangeMax};return!Pd(i,"discard")||f.isInRange(p)&&f.isInRange(d)?Ud(p,d):null}(s,l,f,p,e);if(!h&&!d)return null;var m=Pd(e,"hidden")?"url(#".concat(u,")"):void 0;return o.createElement(ze,{className:_()("recharts-reference-area",a)},ah.renderRect(d,ih(ih({clipPath:m},Pe(e,!0)),h)),Pa.renderCallByParent(e,h))}ah.displayName="ReferenceArea",ah.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},ah.renderRect=function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):o.createElement(Ao,rh({},t,{className:"recharts-reference-area-rect"}))};var ch=function(e,t,r,n,i){var o=Uo(e,th.displayName),a=Uo(e,Fd.displayName),c=o.concat(a),u=Uo(e,ah.displayName),s="".concat(n,"Id"),l=n[0],f=t;if(c.length&&(f=c.reduce((function(e,t){if(t.props[s]===r&&Pd(t.props,"extendDomain")&&V(t.props[l])){var n=t.props[l];return[Math.min(e[0],n),Math.max(e[1],n)]}return e}),f)),u.length){var p="".concat(l,"1"),d="".concat(l,"2");f=u.reduce((function(e,t){if(t.props[s]===r&&Pd(t.props,"extendDomain")&&V(t.props[p])&&V(t.props[d])){var n=t.props[p],i=t.props[d];return[Math.min(e[0],n,i),Math.max(e[1],n,i)]}return e}),f)}return i&&i.length&&(f=i.reduce((function(e,t){return V(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e}),f)),f},uh=r(2594),sh=new(r.n(uh)());sh.setMaxListeners&&sh.setMaxListeners(10);var lh="recharts.syncMouseEvents";function fh(e){return(fh="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 ph(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||Ih(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dh(){return(dh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function hh(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function mh(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vh(e,t){return(vh=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yh(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=wh(e);if(t){var i=wh(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return gh(this,r)}}function gh(e,t){return!t||"object"!==fh(t)&&"function"!=typeof t?bh(e):t}function bh(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wh(e){return(wh=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function xh(e){return function(e){if(Array.isArray(e))return Eh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Ih(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ih(e,t){if(e){if("string"==typeof e)return Eh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Eh(e,t):void 0}}function Eh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Sh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Mh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Sh(Object(r),!0).forEach((function(t){Oh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Oh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var kh={xAxis:["bottom","top"],yAxis:["left","right"]},jh={x:0,y:0},Th=Number.isFinite?Number.isFinite:isFinite,Dh="function"==typeof requestAnimationFrame?requestAnimationFrame:"function"==typeof setImmediate?setImmediate:setTimeout,Ah="function"==typeof cancelAnimationFrame?cancelAnimationFrame:"function"==typeof clearImmediate?clearImmediate:clearTimeout,Ph=function(e,t,r){var n=t.graphicalItems,i=t.dataStartIndex,o=t.dataEndIndex,a=(n||[]).reduce((function(e,t){var r=t.props.data;return r&&r.length?[].concat(xh(e),xh(r)):e}),[]);return a&&a.length>0?a:r&&r.props&&r.props.data&&r.props.data.length>0?r.props.data:e&&e.length&&V(i)&&V(o)?e.slice(i,o+1):[]},_h=function(e,t,r,n){var i=e.graphicalItems,o=e.tooltipAxis,a=Ph(t,e);return r<0||!i||!i.length||r>=a.length?null:i.reduce((function(e,t){if(t.props.hide)return e;var i,c=t.props.data;o.dataKey&&!o.allowDuplicatedCategory?i=ee(void 0===c?a:c,o.dataKey,n):i=c&&c[r]||a[r];return i?[].concat(xh(e),[hd(t,i)]):e}),[])},Nh=function(e,t,r,n){var i=n||{x:e.chartX,y:e.chartY},o=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}(i,r),a=e.orderedTooltipTicks,c=e.tooltipAxis,u=e.tooltipTicks,s=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(t=null==r?void 0:r.length)&&void 0!==t?t:0;if(a>1){if(i&&"angleAxis"===i.axisType&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var c=i.range,u=0;u<a;u++){var s=u>0?n[u-1].coordinate:n[a-1].coordinate,l=n[u].coordinate,f=u>=a-1?n[0].coordinate:n[u+1].coordinate,p=void 0;if(q(l-s)!==q(f-l)){var d=[];if(q(f-l)===q(c[1]-c[0])){p=f;var h=l+c[1]-c[0];d[0]=Math.min(h,(h+s)/2),d[1]=Math.max(h,(h+s)/2)}else{p=s;var m=f+c[1]-c[0];d[0]=Math.min(l,(m+l)/2),d[1]=Math.max(l,(m+l)/2)}var v=[Math.min(l,(p+l)/2),Math.max(l,(p+l)/2)];if(e>v[0]&&e<=v[1]||e>=d[0]&&e<=d[1]){o=n[u].index;break}}else{var y=Math.min(s,f),g=Math.max(s,f);if(e>(y+l)/2&&e<=(g+l)/2){o=n[u].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b>0&&b<a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b===a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2){o=r[b].index;break}}else o=0;return o}(o,a,u,c);if(s>=0&&u){var l=u[s]&&u[s].value;return{activeTooltipIndex:s,activeLabel:l,activePayload:_h(e,t,s,l),activeCoordinate:function(e,t,r,n){var i=t.find((function(e){return e&&e.index===r}));if(i){if("horizontal"===e)return{x:i.coordinate,y:n.y};if("vertical"===e)return{x:n.x,y:i.coordinate};if("centric"===e){var o=i.coordinate,a=n.radius;return Mh(Mh(Mh({},n),Xi(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var c=i.coordinate,u=n.angle;return Mh(Mh(Mh({},n),Xi(n.cx,n.cy,c,u)),{},{angle:u,radius:c})}return jh}(r,a,s,i)}}return null},Ch=function(e,t){var r=t.axes,n=t.graphicalItems,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,c=t.dataStartIndex,u=t.dataEndIndex,s=e.layout,l=e.children,f=e.stackOffset,p=Kp(s,i);return r.reduce((function(t,r){var d=r.props,h=d.type,m=d.dataKey,v=d.allowDataOverflow,y=d.allowDuplicatedCategory,g=d.scale,b=d.ticks,w=r.props[o],x=Ph(e.data,{graphicalItems:n.filter((function(e){return e.props[o]===w})),dataStartIndex:c,dataEndIndex:u}),I=x.length;if(!t[w]){var E,S,M;if(m){if(E=Jp(x,m,h),"category"===h&&p){var O=function(e){if(!B()(e))return!1;for(var t=e.length,r={},n=0;n<t;n++){if(r[e[n]])return!0;r[e[n]]=!0}return!1}(E);y&&O?(S=E,E=xe()(0,I)):y||(E=dd(r.props.domain,E,r).reduce((function(e,t){return e.indexOf(t)>=0?e:[].concat(xh(e),[t])}),[]))}else if("category"===h)E=y?E.filter((function(e){return""!==e&&!Ee()(e)})):dd(r.props.domain,E,r).reduce((function(e,t){return e.indexOf(t)>=0||""===t||Ee()(t)?e:[].concat(xh(e),[t])}),[]);else if("number"===h){var k=function(e,t,r,n){var i=t.map((function(t){return Qp(e,t,r,n)})).filter((function(e){return!Ee()(e)}));return i&&i.length?i.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]):null}(x,n.filter((function(e){return e.props[o]===w&&!e.props.hide})),m,i);k&&(E=k)}!p||"number"!==h&&"auto"===g||(M=Jp(x,m,"category"))}else E=p?xe()(0,I):a&&a[w]&&a[w].hasStack&&"number"===h?"expand"===f?[0,1]:ud(a[w].stackGroups,c,u):$p(x,n.filter((function(e){return e.props[o]===w&&!e.props.hide})),h,!0);if("number"===h)E=ch(l,E,w,i,b),r.props.domain&&(E=fd(r.props.domain,E,v));else if("category"===h&&r.props.domain){var j=r.props.domain;E.every((function(e){return j.indexOf(e)>=0}))&&(E=j)}return Mh(Mh({},t),{},Oh({},w,Mh(Mh({},r.props),{},{axisType:i,domain:E,categoricalDomain:M,duplicateDomain:S,originalDomain:r.props.domain,isCategorical:p,layout:s})))}return t}),{})},Lh=function(e,t){var r=t.axisType,n=void 0===r?"xAxis":r,i=t.AxisComp,o=t.graphicalItems,a=t.stackGroups,c=t.dataStartIndex,u=t.dataEndIndex,s=e.children,l="".concat(n,"Id"),f=Uo(s,i),p={};return f&&f.length?p=Ch(e,{axes:f,graphicalItems:o,axisType:n,axisIdKey:l,stackGroups:a,dataStartIndex:c,dataEndIndex:u}):o&&o.length&&(p=function(e,t){var r=t.graphicalItems,n=t.Axis,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,c=t.dataStartIndex,u=t.dataEndIndex,s=e.layout,l=e.children,f=Ph(e.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:u}),p=f.length,d=Kp(s,i),h=-1;return r.reduce((function(e,t){var m,v=t.props[o];return e[v]?e:(h++,d?m=xe()(0,p):a&&a[v]&&a[v].hasStack?(m=ud(a[v].stackGroups,c,u),m=ch(l,m,v,i)):(m=fd(n.defaultProps.domain,$p(f,r.filter((function(e){return e.props[o]===v&&!e.props.hide})),"number"),n.defaultProps.allowDataOverflow),m=ch(l,m,v,i)),Mh(Mh({},e),{},Oh({},v,Mh(Mh({axisType:i},n.defaultProps),{},{hide:!0,orientation:L()(kh,"".concat(i,".").concat(h%2),null),domain:m,originalDomain:n.defaultProps.domain,isCategorical:d,layout:s}))))}),{})}(e,{Axis:i,graphicalItems:o,axisType:n,axisIdKey:l,stackGroups:a,dataStartIndex:c,dataEndIndex:u})),p},Rh=function(e){var t=e.children,r=e.defaultShowTooltip,n=zo(t,Ad.displayName);return{chartX:0,chartY:0,dataStartIndex:n&&n.props&&n.props.startIndex||0,dataEndIndex:n&&n.props&&n.props.endIndex||e.data&&e.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:!Ee()(r)&&r}},Bh=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},Uh=function(e,t){var r=e.props,n=(e.graphicalItems,e.xAxisMap),i=void 0===n?{}:n,o=e.yAxisMap,a=void 0===o?{}:o,c=r.width,u=r.height,s=r.children,l=r.margin||{},f=zo(s,Ad.displayName),p=zo(s,Xn.displayName),d=Object.keys(a).reduce((function(e,t){var r=a[t],n=r.orientation;return r.mirror||r.hide?e:Mh(Mh({},e),{},Oh({},n,e[n]+r.width))}),{left:l.left||0,right:l.right||0}),h=Object.keys(i).reduce((function(e,t){var r=i[t],n=r.orientation;return r.mirror||r.hide?e:Mh(Mh({},e),{},Oh({},n,L()(e,"".concat(n))+r.height))}),{top:l.top||0,bottom:l.bottom||0}),m=Mh(Mh({},h),d),v=m.bottom;return f&&(m.bottom+=f.props.height||Ad.defaultProps.height),p&&t&&(m=function(e,t,r,n){var i=r.children,o=r.width,a=r.margin,c=o-(a.left||0)-(a.right||0),u=Xp({children:i,legendWidth:c}),s=e;if(u){var l=n||{},f=u.align,p=u.verticalAlign,d=u.layout;("vertical"===d||"horizontal"===d&&"center"===p)&&V(e[f])&&(s=qp(qp({},e),{},Fp({},f,s[f]+(l.width||0)))),("horizontal"===d||"vertical"===d&&"center"===f)&&V(e[p])&&(s=qp(qp({},e),{},Fp({},p,s[p]+(l.height||0))))}return s}(m,0,r,t)),Mh(Mh({brushBottom:v},m),{},{width:c-m.left-m.right,height:u-m.top-m.bottom})};function zh(){return(zh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Hh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Gh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gh(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Wh(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Zh(e){var t=e.offset,r=e.layout,n=e.width,i=e.dataKey,a=e.data,c=e.dataPointFormatter,u=e.xAxis,s=e.yAxis,l=Wh(e,["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"]),f=Pe(l),p=a.map((function(e,a){var l=c(e,i),p=l.x,d=l.y,h=l.value,m=l.errorVal;if(!m)return null;var v,y,g=[];if(Array.isArray(m)){var b=Hh(m,2);v=b[0],y=b[1]}else v=y=m;if("vertical"===r){var w=u.scale,x=d+t,I=x+n,E=x-n,S=w(h-v),M=w(h+y);g.push({x1:M,y1:I,x2:M,y2:E}),g.push({x1:S,y1:x,x2:M,y2:x}),g.push({x1:S,y1:I,x2:S,y2:E})}else if("horizontal"===r){var O=s.scale,k=p+t,j=k-n,T=k+n,D=O(h-v),A=O(h+y);g.push({x1:j,y1:A,x2:T,y2:A}),g.push({x1:k,y1:D,x2:k,y2:A}),g.push({x1:j,y1:D,x2:T,y2:D})}return o.createElement(ze,zh({className:"recharts-errorBar",key:"bar-".concat(a)},f),g.map((function(e,t){return o.createElement("line",zh({},e,{key:"line-".concat(t)}))})))}));return o.createElement(ze,{className:"recharts-errorBars"},p)}Zh.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},Zh.displayName="ErrorBar";var qh=function(e){return null};qh.displayName="Cell";var Fh=r(16731),Vh=r.n(Fh);function Jh(e){return function(e){if(Array.isArray(e))return Yh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Yh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Yh(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Xh(){return(Xh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Qh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qh(Object(r),!0).forEach((function(t){Kh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Kh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function em(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var tm={valueAccessor:function(e){return B()(e.value)?Vh()(e.value):e.value}};function rm(e){var t=e.data,r=e.valueAccessor,n=e.dataKey,i=e.clockWise,a=e.id,c=e.textBreakAll,u=em(e,["data","valueAccessor","dataKey","clockWise","id","textBreakAll"]);return t&&t.length?o.createElement(ze,{className:"recharts-label-list"},t.map((function(e,t){var s=Ee()(n)?r(e,t):Vp(e&&e.payload,n),l=Ee()(a)?{}:{id:"".concat(a,"-").concat(t)};return o.createElement(Pa,Xh({},Pe(e,!0),u,l,{parentViewBox:e.parentViewBox,index:t,value:s,textBreakAll:c,viewBox:Pa.parseViewBox(Ee()(i)?e:$h($h({},e),{},{clockWise:i})),key:"label-".concat(t)}))}))):null}function nm(e,t){return e?!0===e?o.createElement(rm,{key:"labelList-implicit",data:t}):o.isValidElement(e)||me()(e)?o.createElement(rm,{key:"labelList-implicit",data:t,content:e}):ke()(e)?o.createElement(rm,Xh({data:t},e,{key:"labelList-implicit"})):null:null}function im(e){return(im="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 om(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function am(){return(am=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function cm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function um(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?cm(Object(r),!0).forEach((function(t){sm(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cm(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function sm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pm(e,t){return(pm=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function dm(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=mm(e);if(t){var i=mm(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return hm(this,r)}}function hm(e,t){return!t||"object"!==im(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 mm(e){return(mm=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}rm.displayName="LabelList",rm.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var n=e.children,i=Uo(n,rm.displayName).map((function(e,r){return(0,o.cloneElement)(e,{data:t,key:"labelList-".concat(r)})}));if(!r)return i;var a=nm(e.label,t);return[a].concat(Jh(i))},rm.defaultProps=tm;var vm=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&&pm(e,t)}(a,e);var t,r,n,i=dm(a);function a(){var e;lm(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).state={isAnimationFinished:!1},e.id=X("recharts-bar-"),e.handleAnimationEnd=function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),t&&t()},e.handleAnimationStart=function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),t&&t()},e}return t=a,n=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curData:e.data,prevData:t.curData}:e.data!==t.curData?{curData:e.data}:null}},{key:"renderRectangle",value:function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):o.createElement(Ao,t)}}],(r=[{key:"renderRectanglesStatically",value:function(e){var t=this,r=this.props.shape,n=Pe(this.props);return e&&e.map((function(e,i){var c=um(um(um({},n),e),{},{index:i});return o.createElement(ze,am({className:"recharts-bar-rectangle"},Ne(t.props,e,i),{key:"rectangle-".concat(i)}),a.renderRectangle(r,c))}))}},{key:"renderRectanglesWithAnimation",value:function(){var e=this,t=this.props,r=t.data,n=t.layout,i=t.isAnimationActive,a=t.animationBegin,c=t.animationDuration,u=t.animationEasing,s=t.animationId,l=this.state.prevData;return o.createElement(sr,{begin:a,duration:c,isActive:i,easing:u,from:{t:0},to:{t:1},key:"bar-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(t){var i=t.t,a=r.map((function(e,t){var r=l&&l[t];if(r){var o=K(r.x,e.x),a=K(r.y,e.y),c=K(r.width,e.width),u=K(r.height,e.height);return um(um({},e),{},{x:o(i),y:a(i),width:c(i),height:u(i)})}if("horizontal"===n){var s=K(0,e.height)(i);return um(um({},e),{},{y:e.y+e.height-s,height:s})}var f=K(0,e.width)(i);return um(um({},e),{},{width:f})}));return o.createElement(ze,null,e.renderRectanglesStatically(a))}))}},{key:"renderRectangles",value:function(){var e=this.props,t=e.data,r=e.isAnimationActive,n=this.state.prevData;return!(r&&t&&t.length)||n&&nc()(n,t)?this.renderRectanglesStatically(t):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var e=this,t=this.props.data,r=Pe(this.props.background);return t.map((function(t,n){t.value;var i=t.background,o=om(t,["value","background"]);if(!i)return null;var c=um(um(um(um(um({},o),{},{fill:"#eee"},i),r),Ne(e.props,t,n)),{},{index:n,key:"background-bar-".concat(n),className:"recharts-bar-background-rectangle"});return a.renderRectangle(e.props.background,c)}))}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var e=this.props,t=e.data,r=e.xAxis,n=e.yAxis,i=e.layout,a=e.children,c=Uo(a,Zh.displayName);if(!c)return null;var u="vertical"===i?t[0].height/2:t[0].width/2;function s(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:Vp(e,t)}}return c.map((function(e,a){return o.cloneElement(e,{key:"error-bar-".concat(a),data:t,xAxis:r,yAxis:n,layout:i,offset:u,dataPointFormatter:s})}))}},{key:"render",value:function(){var e=this.props,t=e.hide,r=e.data,n=e.className,i=e.xAxis,a=e.yAxis,c=e.left,u=e.top,s=e.width,l=e.height,f=e.isAnimationActive,p=e.background,d=e.id;if(t||!r||!r.length)return null;var h=this.state.isAnimationFinished,m=_()("recharts-bar",n),v=i&&i.allowDataOverflow||a&&a.allowDataOverflow,y=Ee()(d)?this.id:d;return o.createElement(ze,{className:m},v?o.createElement("defs",null,o.createElement("clipPath",{id:"clipPath-".concat(y)},o.createElement("rect",{x:c,y:u,width:s,height:l}))):null,o.createElement(ze,{className:"recharts-bar-rectangles",clipPath:v?"url(#clipPath-".concat(y,")"):null},p?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(),(!f||h)&&rm.renderCallByParent(this.props,r))}}])&&fm(t.prototype,r),n&&fm(t,n),a}(o.PureComponent);vm.displayName="Bar",vm.defaultProps={xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",isAnimationActive:!Sr.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"},vm.getComposedData=function(e){var t=e.props,r=e.item,n=e.barPosition,i=e.bandSize,o=e.xAxis,a=e.yAxis,c=e.xAxisTicks,u=e.yAxisTicks,s=e.stackedData,l=e.dataStartIndex,f=e.displayedData,p=e.offset,d=function(e,t){if(!e)return null;for(var r=0,n=e.length;r<n;r++)if(e[r].item===t)return e[r].position;return null}(n,r);if(!d)return null;var h=t.layout,m=r.props,v=m.dataKey,y=m.children,g=m.minPointSize,b="horizontal"===h?a:o,w=s?b.scale.domain():null,x=function(e){var t=e.numericAxis,r=t.scale.domain();if("number"===t.type){var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return n<=0&&i>=0?0:i<0?i:n}return r[0]}({numericAxis:b}),I=Uo(y,qh.displayName),E=f.map((function(e,t){var n,f,p,m,y,b;if(s?n=function(e,t){if(!t||2!==t.length||!V(t[0])||!V(t[1]))return e;var r=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!V(e[0])||e[0]<r)&&(i[0]=r),(!V(e[1])||e[1]>n)&&(i[1]=n),i[0]>n&&(i[0]=n),i[1]<r&&(i[1]=r),i}(s[l+t],w):(n=Vp(e,v),B()(n)||(n=[x,n])),"horizontal"===h){if(f=cd({axis:o,ticks:c,bandSize:i,offset:d.offset,entry:e,index:t}),p=a.scale(n[1]),m=d.size,y=a.scale(n[0])-a.scale(n[1]),b={x:f,y:a.y,width:m,height:a.height},Math.abs(g)>0&&Math.abs(y)<Math.abs(g)){var E=q(y||g)*(Math.abs(g)-Math.abs(y));p-=E,y+=E}}else f=o.scale(n[0]),p=cd({axis:a,ticks:u,bandSize:i,offset:d.offset,entry:e,index:t}),m=o.scale(n[1])-o.scale(n[0]),y=d.size,b={x:o.x,y:p,width:o.width,height:y},Math.abs(g)>0&&Math.abs(m)<Math.abs(g)&&(m+=q(m||g)*(Math.abs(g)-Math.abs(m)));return um(um(um({},e),{},{x:f,y:p,width:m,height:y,value:s?n:n[1],payload:e,background:b},I&&I[t]&&I[t].props),{},{tooltipPayload:[hd(r,e)],tooltipPosition:{x:f+m/2,y:p+y/2}})}));return um({data:E,layout:h},p)};var ym=function(){return null};ym.displayName="XAxis",ym.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",domain:[0,"auto"],padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0};var gm=function(){return null};gm.displayName="YAxis",gm.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",domain:[0,"auto"],padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1};var bm=function(e){var t,r,n=e.chartName,i=e.GraphicalChild,a=e.defaultTooltipEventType,c=void 0===a?"axis":a,u=e.validateTooltipEventTypes,s=void 0===u?["axis"]:u,l=e.axisComponents,f=e.legendContent,p=e.formatAxisMap,d=e.defaultProps,h=function(e,t){var r=t.graphicalItems,n=t.stackGroups,i=t.offset,a=t.updateId,c=t.dataStartIndex,u=t.dataEndIndex,s=e.barSize,f=e.layout,p=e.barGap,d=e.barCategoryGap,h=e.maxBarSize,m=Bh(f),v=m.numericAxisName,y=m.cateAxisName,g=function(e){return!(!e||!e.length)&&e.some((function(e){var t=Bo(e&&e.type);return t&&t.indexOf("Bar")>=0}))}(r)&&function(e){var t=e.barSize,r=e.stackGroups,n=void 0===r?{}:r;if(!n)return{};for(var i={},o=Object.keys(n),a=0,c=o.length;a<c;a++)for(var u=n[o[a]].stackGroups,s=Object.keys(u),l=0,f=s.length;l<f;l++){var p=u[s[l]],d=p.items,h=p.cateAxisId,m=d.filter((function(e){return Bo(e.type).indexOf("Bar")>=0}));if(m&&m.length){var v=m[0].props.barSize,y=m[0].props[h];i[y]||(i[y]=[]),i[y].push({item:m[0],stackList:m.slice(1),barSize:Ee()(v)?t:v})}}return i}({barSize:s,stackGroups:n}),b=[];return r.forEach((function(r,s){var m=Ph(e.data,{dataStartIndex:c,dataEndIndex:u},r),w=r.props,x=w.dataKey,I=w.maxBarSize,E=r.props["".concat(v,"Id")],S=r.props["".concat(y,"Id")],M=l.reduce((function(e,n){var i,o=t["".concat(n.axisType,"Map")],a=r.props["".concat(n.axisType,"Id")],c=o&&o[a];return Mh(Mh({},e),{},(Oh(i={},n.axisType,c),Oh(i,"".concat(n.axisType,"Ticks"),td(c)),i))}),{}),O=M[y],k=M["".concat(y,"Ticks")],j=n&&n[E]&&n[E].hasStack&&function(e,t){var r=e.props.stackId;if(J(r)){var n=t[r];if(n&&n.items.length){for(var i=-1,o=0,a=n.items.length;o<a;o++)if(n.items[o]===e){i=o;break}return i>=0?n.stackedData[i]:null}}return null}(r,n[E].stackGroups),T=Bo(r.type).indexOf("Bar")>=0,D=pd(O,k),A=[];if(T){var P=pd(O,k,!0),_=Ee()(I)?h:I;A=function(e){var t=e.barGap,r=e.barCategoryGap,n=e.bandSize,i=e.sizeList,o=void 0===i?[]:i,a=e.maxBarSize,c=o.length;if(c<1)return null;var u,s=Q(t,n,0,!0);if(o[0].barSize===+o[0].barSize){var l=!1,f=n/c,p=o.reduce((function(e,t){return e+t.barSize||0}),0);(p+=(c-1)*s)>=n&&(p-=(c-1)*s,s=0),p>=n&&f>0&&(l=!0,p=c*(f*=.9));var d={offset:((n-p)/2>>0)-s,size:0};u=o.reduce((function(e,t){var r=[].concat(Gp(e),[{item:t.item,position:{offset:d.offset+d.size+s,size:l?f:t.barSize}}]);return d=r[r.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:d})})),r}),[])}else{var h=Q(r,n,0,!0);n-2*h-(c-1)*s<=0&&(s=0);var m=(n-2*h-(c-1)*s)/c;m>1&&(m>>=0);var v=a===+a?Math.min(m,a):m;u=o.reduce((function(e,t,r){var n=[].concat(Gp(e),[{item:t.item,position:{offset:h+(m+s)*r+(m-v)/2,size:v}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){n.push({item:e,position:n[n.length-1].position})})),n}),[])}return u}({barGap:p,barCategoryGap:d,bandSize:P!==D?P:D,sizeList:g[S],maxBarSize:_}),P!==D&&(A=A.map((function(e){return Mh(Mh({},e),{},{position:Mh(Mh({},e.position),{},{offset:e.position.offset-P/2})})})))}var N,C,L,R,B=r&&r.type&&r.type.getComposedData;B&&b.push({props:Mh(Mh({},B(Mh(Mh({},M),{},{displayedData:m,props:e,dataKey:x,item:r,bandSize:D,barPosition:A,offset:i,stackedData:j,layout:f,dataStartIndex:c,dataEndIndex:u}))),{},(N={key:r.key||"item-".concat(s)},Oh(N,v,M[v]),Oh(N,y,M[y]),Oh(N,"animationId",a),N)),childIndex:(C=r,L=e.children,R=-1,o.Children.forEach(L,(function(e,t){e===C&&(R=t)})),R),item:r})})),b},m=function(e,t){var r=e.props,o=e.dataStartIndex,a=e.dataEndIndex,c=e.updateId;if(!Ho({props:r}))return null;var u=r.children,s=r.layout,f=r.stackOffset,d=r.data,m=r.reverseStackOrder,v=Bh(s),y=v.numericAxisName,g=v.cateAxisName,b=Uo(u,i),w=function(e,t,r,n,i,o){if(!e)return null;var a=(o?t.reverse():t).reduce((function(e,t){var i=t.props,o=i.stackId;if(i.hide)return e;var a=t.props[r],c=e[a]||{hasStack:!1,stackGroups:{}};if(J(o)){var u=c.stackGroups[o]||{numericAxisId:r,cateAxisId:n,items:[]};u.items.push(t),c.hasStack=!0,c.stackGroups[o]=u}else c.stackGroups[X("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[t]};return qp(qp({},e),{},Fp({},a,c))}),{});return Object.keys(a).reduce((function(t,o){var c=a[o];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce((function(t,o){var a=c.stackGroups[o];return qp(qp({},t),{},Fp({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:od(e,a.items,i)}))}),{})),qp(qp({},t),{},Fp({},o,c))}),{})}(d,b,"".concat(y,"Id"),"".concat(g,"Id"),f,m),x=l.reduce((function(e,t){var n="".concat(t.axisType,"Map");return Mh(Mh({},e),{},Oh({},n,Lh(r,Mh(Mh({},t),{},{graphicalItems:b,stackGroups:t.axisType===y&&w,dataStartIndex:o,dataEndIndex:a}))))}),{}),I=Uh(Mh(Mh({},x),{},{props:r,graphicalItems:b}),null==t?void 0:t.legendBBox);Object.keys(x).forEach((function(e){x[e]=p(r,x[e],I,e.replace("Map",""),n)}));var E,S,M=x["".concat(g,"Map")],O=(E=$(M),{tooltipTicks:S=td(E,!1,!0),orderedTooltipTicks:be()(S,(function(e){return e.coordinate})),tooltipAxis:E,tooltipAxisBandSize:pd(E)}),k=h(r,Mh(Mh({},x),{},{dataStartIndex:o,dataEndIndex:a,updateId:c,graphicalItems:b,stackGroups:w,offset:I}));return Mh(Mh({formatedGraphicalItems:k,graphicalItems:b,offset:I,stackGroups:w},O),x)};return r=t=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&&vh(e,t)}(u,e);var t,r,i,a=yh(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=a.call(this,e)).uniqueChartId=void 0,t.clipPathId=void 0,t.legendInstance=void 0,t.deferId=void 0,t.container=void 0,t.clearDeferId=function(){!Ee()(t.deferId)&&Ah&&Ah(t.deferId),t.deferId=null},t.handleLegendBBoxUpdate=function(e){if(e&&t.legendInstance){var r=t.state,n=r.dataStartIndex,i=r.dataEndIndex,o=r.updateId;t.setState(Mh({legendBBox:e},m({props:t.props,dataStartIndex:n,dataEndIndex:i,updateId:o},Mh(Mh({},t.state),{},{legendBBox:e}))))}},t.handleReceiveSyncEvent=function(e,r,n){t.props.syncId===e&&r!==t.uniqueChartId&&(t.clearDeferId(),t.deferId=Dh&&Dh(t.applySyncEvent.bind(bh(t),n)))},t.handleBrushChange=function(e){var r=e.startIndex,n=e.endIndex;if(r!==t.state.dataStartIndex||n!==t.state.dataEndIndex){var i=t.state.updateId;t.setState((function(){return Mh({dataStartIndex:r,dataEndIndex:n},m({props:t.props,dataStartIndex:r,dataEndIndex:n,updateId:i},t.state))})),t.triggerSyncEvent({dataStartIndex:r,dataEndIndex:n})}},t.handleMouseEnter=function(e){var r=t.props.onMouseEnter,n=t.getMouseInfo(e);if(n){var i=Mh(Mh({},n),{},{isTooltipActive:!0});t.setState(i),t.triggerSyncEvent(i),me()(r)&&r(i,e)}},t.triggeredAfterMouseMove=function(e){var r=t.props.onMouseMove,n=t.getMouseInfo(e),i=n?Mh(Mh({},n),{},{isTooltipActive:!0}):{isTooltipActive:!1};t.setState(i),t.triggerSyncEvent(i),me()(r)&&r(i,e)},t.handleItemMouseEnter=function(e){t.setState((function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}}))},t.handleItemMouseLeave=function(){t.setState((function(){return{isTooltipActive:!1}}))},t.handleMouseMove=function(e){e&&me()(e.persist)&&e.persist(),t.triggeredAfterMouseMove(e)},t.handleMouseLeave=function(e){var r=t.props.onMouseLeave,n={isTooltipActive:!1};t.setState(n),t.triggerSyncEvent(n),me()(r)&&r(n,e),t.cancelThrottledTriggerAfterMouseMove()},t.handleOuterEvent=function(e){var r=function(e){var t=e&&e.type;return t&&Ro[t]?Ro[t]:null}(e),n=L()(t.props,"".concat(r));r&&me()(n)&&n(/.*touch.*/i.test(r)?t.getMouseInfo(e.changedTouches[0]):t.getMouseInfo(e),e)},t.handleClick=function(e){var r=t.props.onClick,n=t.getMouseInfo(e);if(n){var i=Mh(Mh({},n),{},{isTooltipActive:!0});t.setState(i),t.triggerSyncEvent(i),me()(r)&&r(i,e)}},t.handleMouseDown=function(e){var r=t.props.onMouseDown;me()(r)&&r(t.getMouseInfo(e),e)},t.handleMouseUp=function(e){var r=t.props.onMouseUp;me()(r)&&r(t.getMouseInfo(e),e)},t.handleTouchMove=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleMouseMove(e.changedTouches[0])},t.handleTouchStart=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleMouseDown(e.changedTouches[0])},t.handleTouchEnd=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleMouseUp(e.changedTouches[0])},t.verticalCoordinatesGenerator=function(e){var t=e.xAxis,r=e.width,n=e.height,i=e.offset;return ed(Va.getTicks(Mh(Mh(Mh({},Va.defaultProps),t),{},{ticks:td(t,!0),viewBox:{x:0,y:0,width:r,height:n}})),i.left,i.left+i.width)},t.horizontalCoordinatesGenerator=function(e){var t=e.yAxis,r=e.width,n=e.height,i=e.offset;return ed(Va.getTicks(Mh(Mh(Mh({},Va.defaultProps),t),{},{ticks:td(t,!0),viewBox:{x:0,y:0,width:r,height:n}})),i.top,i.top+i.height)},t.axesTicksGenerator=function(e){return td(e,!0)},t.renderCursor=function(e){var r=t.state,i=r.isTooltipActive,a=r.activeCoordinate,c=r.activePayload,u=r.offset,s=r.activeTooltipIndex,l=t.getTooltipEventType();if(!(e&&e.props.cursor&&i&&a&&"axis"===l))return null;var f,p=t.props.layout,d=Ci;if("ScatterChart"===n)f=a,d=Zi;else if("BarChart"===n)f=t.getCursorRectangle(),d=Ao;else if("radial"===p){var h=t.getCursorPoints(),m=h.cx,v=h.cy,y=h.radius;f={cx:m,cy:v,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:y,outerRadius:y},d=lo}else f={points:t.getCursorPoints()},d=Ci;var g=e.key||"_recharts-cursor",b=Mh(Mh(Mh(Mh({stroke:"#ccc",pointerEvents:"none"},u),f),Pe(e.props.cursor)),{},{payload:c,payloadIndex:s,key:g,className:"recharts-tooltip-cursor"});return(0,o.isValidElement)(e.props.cursor)?(0,o.cloneElement)(e.props.cursor,b):(0,o.createElement)(d,b)},t.renderPolarAxis=function(e,r,n){var i=L()(e,"type.axisType"),a=L()(t.state,"".concat(i,"Map"))[e.props["".concat(i,"Id")]];return(0,o.cloneElement)(e,Mh(Mh({},a),{},{className:i,key:e.key||"".concat(r,"-").concat(n),ticks:td(a,!0)}))},t.renderXAxis=function(e,r,n){var i=t.state.xAxisMap[e.props.xAxisId];return t.renderAxis(i,e,r,n)},t.renderYAxis=function(e,r,n){var i=t.state.yAxisMap[e.props.yAxisId];return t.renderAxis(i,e,r,n)},t.renderGrid=function(e){var r=t.state,n=r.xAxisMap,i=r.yAxisMap,a=r.offset,c=t.props,u=c.width,s=c.height,l=$(n),f=de()(i,(function(e){return fe()(e.domain,Th)}))||$(i),p=e.props||{};return(0,o.cloneElement)(e,{key:e.key||"grid",x:V(p.x)?p.x:a.left,y:V(p.y)?p.y:a.top,width:V(p.width)?p.width:a.width,height:V(p.height)?p.height:a.height,xAxis:l,yAxis:f,offset:a,chartWidth:u,chartHeight:s,verticalCoordinatesGenerator:p.verticalCoordinatesGenerator||t.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:p.horizontalCoordinatesGenerator||t.horizontalCoordinatesGenerator})},t.renderPolarGrid=function(e){var r=e.props,n=r.radialLines,i=r.polarAngles,a=r.polarRadius,c=t.state,u=c.radiusAxisMap,s=c.angleAxisMap,l=$(u),f=$(s),p=f.cx,d=f.cy,h=f.innerRadius,m=f.outerRadius;e.props;return(0,o.cloneElement)(e,{polarAngles:B()(i)?i:td(f,!0).map((function(e){return e.coordinate})),polarRadius:B()(a)?a:td(l,!0).map((function(e){return e.coordinate})),cx:p,cy:d,innerRadius:h,outerRadius:m,key:e.key||"polar-grid",radialLines:n})},t.renderLegend=function(){var e=t.state.formatedGraphicalItems,r=t.props,n=r.children,i=r.width,a=r.height,c=t.props.margin||{},u=i-(c.left||0)-(c.right||0),s=Xp({children:n,formatedGraphicalItems:e,legendWidth:u,legendContent:f});if(!s)return null;var l=s.item,p=hh(s,["item"]);return(0,o.cloneElement)(l,Mh(Mh({},p),{},{chartWidth:i,chartHeight:a,margin:c,ref:function(e){t.legendInstance=e},onBBoxUpdate:t.handleLegendBBoxUpdate}))},t.renderTooltip=function(){var e=t.props.children,r=zo(e,Rr.displayName);if(!r)return null;var n=t.state,i=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,u=n.activeLabel,s=n.offset;return(0,o.cloneElement)(r,{viewBox:Mh(Mh({},s),{},{x:s.left,y:s.top}),active:i,label:u,payload:i?c:[],coordinate:a})},t.renderBrush=function(e){var r=t.props,n=r.margin,i=r.data,a=t.state,c=a.offset,u=a.dataStartIndex,s=a.dataEndIndex,l=a.updateId;return(0,o.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:rd(t.handleBrushChange,null,e.props.onChange),data:i,x:V(e.props.x)?e.props.x:c.left,y:V(e.props.y)?e.props.y:c.top+c.height+c.brushBottom-(n.bottom||0),width:V(e.props.width)?e.props.width:c.width,startIndex:u,endIndex:s,updateId:"brush-".concat(l)})},t.renderReferenceElement=function(e,r,n){if(!e)return null;var i=bh(t).clipPathId,a=t.state,c=a.xAxisMap,u=a.yAxisMap,s=a.offset,l=e.props,f=l.xAxisId,p=l.yAxisId;return(0,o.cloneElement)(e,{key:e.key||"".concat(r,"-").concat(n),xAxis:c[f],yAxis:u[p],viewBox:{x:s.left,y:s.top,width:s.width,height:s.height},clipPathId:i})},t.renderActivePoints=function(e){var t=e.item,r=e.activePoint,n=e.basePoint,i=e.childIndex,o=e.isRange,a=[],c=t.props.key,s=t.item.props,l=s.activeDot,f=Mh(Mh({index:i,dataKey:s.dataKey,cx:r.x,cy:r.y,r:4,fill:Yp(t.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value,key:"".concat(c,"-activePoint-").concat(i)},Pe(l)),_e(l));return a.push(u.renderActiveDot(l,f)),n?a.push(u.renderActiveDot(l,Mh(Mh({},f),{},{cx:n.x,cy:n.y,key:"".concat(c,"-basePoint-").concat(i)}))):o&&a.push(null),a},t.renderGraphicChild=function(e,r,n){var i=t.filterFormatItem(e,r,n);if(!i)return null;var a=t.getTooltipEventType(),c=t.state,u=c.isTooltipActive,s=c.tooltipAxis,l=c.activeTooltipIndex,f=c.activeLabel,p=t.props.children,d=zo(p,Rr.displayName),h=i.props,m=h.points,v=h.isRange,y=h.baseLine,g=i.item.props,b=g.activeDot,w=!g.hide&&u&&d&&b&&l>=0,x={};"axis"!==a&&d&&"click"===d.props.trigger?x={onClick:rd(t.handleItemMouseEnter,null,e.props.onCLick)}:"axis"!==a&&(x={onMouseLeave:rd(t.handleItemMouseLeave,null,e.props.onMouseLeave),onMouseEnter:rd(t.handleItemMouseEnter,null,e.props.onMouseEnter)});var I=(0,o.cloneElement)(e,Mh(Mh({},i.props),x));if(w){var E,S;if(s.dataKey&&!s.allowDuplicatedCategory){var M="function"==typeof s.dataKey?function(e){return"function"==typeof s.dataKey?s.dataKey(e.payload):null}:"payload.".concat(s.dataKey.toString());E=ee(m,M,f),S=v&&y&&ee(y,M,f)}else E=m[l],S=v&&y&&y[l];if(!Ee()(E))return[I].concat(xh(t.renderActivePoints({item:i,activePoint:E,basePoint:S,childIndex:l,isRange:v})))}return v?[I,null,null]:[I,null]},t.renderCustomized=function(e){return(0,o.cloneElement)(e,Mh(Mh({},t.props),t.state))},t.uniqueChartId=Ee()(e.id)?X("recharts"):e.id,t.clipPathId="".concat(t.uniqueChartId,"-clip"),e.throttleDelay&&(t.triggeredAfterMouseMove=ye()(t.triggeredAfterMouseMove,e.throttleDelay)),t.state={},t}return t=u,(r=[{key:"componentDidMount",value:function(){Ee()(this.props.syncId)||this.addListener()}},{key:"componentDidUpdate",value:function(e){Ee()(e.syncId)&&!Ee()(this.props.syncId)&&this.addListener(),!Ee()(e.syncId)&&Ee()(this.props.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){this.clearDeferId(),Ee()(this.props.syncId)||this.removeListener(),this.cancelThrottledTriggerAfterMouseMove()}},{key:"cancelThrottledTriggerAfterMouseMove",value:function(){"function"==typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=zo(this.props.children,Rr.displayName);if(e&&Me()(e.props.shared)){var t=e.props.shared?"axis":"item";return s.indexOf(t)>=0?t:c}return c}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t,r,n,i=function(e,t){return{chartX:Math.round(e.pageX-t.left),chartY:Math.round(e.pageY-t.top)}}(e,(t=this.container,r=t.ownerDocument.documentElement,n={top:0,left:0},void 0!==t.getBoundingClientRect&&(n=t.getBoundingClientRect()),{top:n.top+window.pageYOffset-r.clientTop,left:n.left+window.pageXOffset-r.clientLeft})),o=this.inRange(i.chartX,i.chartY);if(!o)return null;var a=this.state,c=a.xAxisMap,u=a.yAxisMap;if("axis"!==this.getTooltipEventType()&&c&&u){var s=$(c).scale,l=$(u).scale,f=s&&s.invert?s.invert(i.chartX):null,p=l&&l.invert?l.invert(i.chartY):null;return Mh(Mh({},i),{},{xValue:f,yValue:p})}var d=Nh(this.state,this.props.data,this.props.layout,o);return d?Mh(Mh({},i),d):null}},{key:"getCursorRectangle",value:function(){var e=this.props.layout,t=this.state,r=t.activeCoordinate,n=t.offset,i=t.tooltipAxisBandSize,o=i/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?r.x-o:n.left+.5,y:"horizontal"===e?n.top+.5:r.y-o,width:"horizontal"===e?i:n.width-1,height:"horizontal"===e?n.height-1:i}}},{key:"getCursorPoints",value:function(){var e,t,r,n,i=this.props.layout,o=this.state,a=o.activeCoordinate,c=o.offset;if("horizontal"===i)r=e=a.x,t=c.top,n=c.top+c.height;else if("vertical"===i)n=t=a.y,e=c.left,r=c.left+c.width;else if(!Ee()(a.cx)||!Ee()(a.cy)){if("centric"!==i){var u=a.cx,s=a.cy,l=a.radius,f=a.startAngle,p=a.endAngle;return{points:[Xi(u,s,l,f),Xi(u,s,l,p)],cx:u,cy:s,radius:l,startAngle:f,endAngle:p}}var d=a.cx,h=a.cy,m=a.innerRadius,v=a.outerRadius,y=a.angle,g=Xi(d,h,m,y),b=Xi(d,h,v,y);e=g.x,t=g.y,r=b.x,n=b.y}return[{x:e,y:t},{x:r,y:n}]}},{key:"inRange",value:function(e,t){var r=this.props.layout;if("horizontal"===r||"vertical"===r){var n=this.state.offset;return e>=n.left&&e<=n.left+n.width&&t>=n.top&&t<=n.top+n.height?{x:e,y:t}:null}var i=this.state,o=i.angleAxisMap,a=i.radiusAxisMap;if(o&&a){var c=$(o);return Ki({x:e,y:t},c)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),r=zo(e,Rr.displayName),n={};return r&&"axis"===t&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),Mh(Mh({},_e(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){sh.on(lh,this.handleReceiveSyncEvent),sh.setMaxListeners&&sh._maxListeners&&sh.setMaxListeners(sh._maxListeners+1)}},{key:"removeListener",value:function(){sh.removeListener(lh,this.handleReceiveSyncEvent),sh.setMaxListeners&&sh._maxListeners&&sh.setMaxListeners(sh._maxListeners-1)}},{key:"triggerSyncEvent",value:function(e){var t=this.props.syncId;Ee()(t)||sh.emit(lh,t,this.uniqueChartId,e)}},{key:"applySyncEvent",value:function(e){var t=this.props,r=t.layout,n=t.syncMethod,i=this.state.updateId,o=e.dataStartIndex,a=e.dataEndIndex;if(Ee()(e.dataStartIndex)&&Ee()(e.dataEndIndex))if(Ee()(e.activeTooltipIndex))this.setState(e);else{var c=e.chartX,u=e.chartY,s=e.activeTooltipIndex,l=this.state,f=l.offset,p=l.tooltipTicks;if(!f)return;if("function"==typeof n)s=n(p,e);else if("value"===n){s=-1;for(var d=0;d<p.length;d++)if(p[d].value===e.activeLabel){s=d;break}}var h=Mh(Mh({},f),{},{x:f.left,y:f.top}),v=Math.min(c,h.x+h.width),y=Math.min(u,h.y+h.height),g=p[s]&&p[s].value,b=_h(this.state,this.props.data,s),w=p[s]?{x:"horizontal"===r?p[s].coordinate:v,y:"horizontal"===r?y:p[s].coordinate}:jh;this.setState(Mh(Mh({},e),{},{activeLabel:g,activeCoordinate:w,activePayload:b,activeTooltipIndex:s}))}else this.setState(Mh({dataStartIndex:o,dataEndIndex:a},m({props:this.props,dataStartIndex:o,dataEndIndex:a,updateId:i},this.state)))}},{key:"filterFormatItem",value:function(e,t,r){for(var n=this.state.formatedGraphicalItems,i=0,o=n.length;i<o;i++){var a=n[i];if(a.item===e||a.props.key===e.key||t===Bo(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderAxis",value:function(e,t,r,n){var i=this.props,a=i.width,c=i.height;return o.createElement(Va,dh({},e,{className:"recharts-".concat(e.axisType," ").concat(e.axisType),key:t.key||"".concat(r,"-").concat(n),viewBox:{x:0,y:0,width:a,height:c},ticksGenerator:this.axesTicksGenerator}))}},{key:"renderClipPath",value:function(){var e=this.clipPathId,t=this.state.offset,r=t.left,n=t.top,i=t.height,a=t.width;return o.createElement("defs",null,o.createElement("clipPath",{id:e},o.createElement("rect",{x:r,y:n,height:i,width:a})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce((function(e,t){var r=ph(t,2),n=r[0],i=r[1];return Mh(Mh({},e),{},Oh({},n,i.scale))}),{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce((function(e,t){var r=ph(t,2),n=r[0],i=r[1];return Mh(Mh({},e),{},Oh({},n,i.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(e){var t,r;return null===(t=this.state.xAxisMap)||void 0===t||null===(r=t[e])||void 0===r?void 0:r.scale}},{key:"getYScaleByAxisId",value:function(e){var t,r;return null===(t=this.state.yAxisMap)||void 0===t||null===(r=t[e])||void 0===r?void 0:r.scale}},{key:"getItemByXY",value:function(e){var t=this.state.formatedGraphicalItems;if(t&&t.length)for(var r=0,n=t.length;r<n;r++){var i=t[r],o=i.props,a=i.item,c=Bo(a.type);if("Bar"===c){var u=(o.data||[]).find((function(t){return Do(e,t)}));if(u)return{graphicalItem:i,payload:u}}else if("RadialBar"===c){var s=(o.data||[]).find((function(t){return Ki(e,t)}));if(s)return{graphicalItem:i,payload:s}}}return null}},{key:"render",value:function(){var e=this;if(!Ho(this))return null;var t=this.props,r=t.children,n=t.className,i=t.width,a=t.height,c=t.style,u=t.compact,s=hh(t,["children","className","width","height","style","compact"]),l=Pe(s),f={CartesianGrid:{handler:this.renderGrid,once:!0},ReferenceArea:{handler:this.renderReferenceElement},ReferenceLine:{handler:this.renderReferenceElement},ReferenceDot:{handler:this.renderReferenceElement},XAxis:{handler:this.renderXAxis},YAxis:{handler:this.renderYAxis},Brush:{handler:this.renderBrush,once:!0},Bar:{handler:this.renderGraphicChild},Line:{handler:this.renderGraphicChild},Area:{handler:this.renderGraphicChild},Radar:{handler:this.renderGraphicChild},RadialBar:{handler:this.renderGraphicChild},Scatter:{handler:this.renderGraphicChild},Pie:{handler:this.renderGraphicChild},Funnel:{handler:this.renderGraphicChild},Tooltip:{handler:this.renderCursor,once:!0},PolarGrid:{handler:this.renderPolarGrid,once:!0},PolarAngleAxis:{handler:this.renderPolarAxis},PolarRadiusAxis:{handler:this.renderPolarAxis},Customized:{handler:this.renderCustomized}};if(u)return o.createElement(Re,dh({},l,{width:i,height:a}),this.renderClipPath(),Fo(r,f));var p=this.parseEventsOfWrapper();return o.createElement("div",dh({className:_()("recharts-wrapper",n),style:Mh({position:"relative",cursor:"default",width:i,height:a},c)},p,{ref:function(t){e.container=t}}),o.createElement(Re,dh({},l,{width:i,height:a}),this.renderClipPath(),Fo(r,f)),this.renderLegend(),this.renderTooltip())}}])&&mh(t.prototype,r),i&&mh(t,i),u}(o.Component),t.displayName=n,t.defaultProps=Mh({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},d),t.getDerivedStateFromProps=function(e,t){var r=e.data,n=e.children,i=e.width,o=e.height,a=e.layout,c=e.stackOffset,u=e.margin;if(Ee()(t.updateId)){var s=Rh(e);return Mh(Mh(Mh({},s),{},{updateId:0},m(Mh(Mh({props:e},s),{},{updateId:0}),t)),{},{prevData:r,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:c,prevMargin:u,prevChildren:n})}if(r!==t.prevData||i!==t.prevWidth||o!==t.prevHeight||a!==t.prevLayout||c!==t.prevStackOffset||!Co(u,t.prevMargin)){var l=Rh(e),f={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},p=Mh(Mh({},Nh(t,r,a)),{},{updateId:t.updateId+1}),d=Mh(Mh(Mh({},l),f),p);return Mh(Mh(Mh({},d),m(Mh({props:e},d),t)),{},{prevData:r,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:c,prevMargin:u,prevChildren:n})}if(!Zo(n,t.prevChildren)){var h=!Ee()(r)?t.updateId:t.updateId+1;return Mh(Mh({updateId:h},m(Mh(Mh({props:e},t),{},{updateId:h}),t)),{},{prevChildren:n})}return null},t.renderActiveDot=function(e,t){var r;return r=(0,o.isValidElement)(e)?(0,o.cloneElement)(e,t):me()(e)?e(t):o.createElement(wo,t),o.createElement(ze,{className:"recharts-active-dot",key:t.key},r)},r}({chartName:"BarChart",GraphicalChild:vm,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:ym},{axisType:"yAxis",AxisComp:gm}],formatAxisMap:function(e,t,r,i,o){var a=e.width,c=e.height,u=e.layout,s=e.children,l=Object.keys(t),f={left:r.left,leftMirror:r.left,right:a-r.right,rightMirror:a-r.right,top:r.top,topMirror:r.top,bottom:c-r.bottom,bottomMirror:c-r.bottom},p=!!zo(s,"Bar");return l.reduce((function(e,a){var c,s,l,d,h=t[a],m=h.orientation,v=h.domain,y=h.padding,g=void 0===y?{}:y,b=h.mirror,w=h.reversed,x="".concat(m).concat(b?"Mirror":"");c="xAxis"===i?[r.left+(g.left||0),r.left+r.width-(g.right||0)]:"yAxis"===i?"horizontal"===u?[r.top+r.height-(g.bottom||0),r.top+(g.top||0)]:[r.top+(g.top||0),r.top+r.height-(g.bottom||0)]:h.range,w&&(c=[c[1],c[0]]);var I=function(e,t,r){var i=e.scale,o=e.type,a=e.layout,c=e.axisType;if("auto"===i)return"radial"===a&&"radiusAxis"===c?{scale:Ka(),realScaleType:"band"}:"radial"===a&&"angleAxis"===c?{scale:hs(),realScaleType:"linear"}:"category"===o&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>=0||t.indexOf("ComposedChart")>=0&&!r)?{scale:tc(),realScaleType:"point"}:"category"===o?{scale:Ka(),realScaleType:"band"}:{scale:hs(),realScaleType:"linear"};if(Z()(i)){var u="scale".concat(Ur()(i));return{scale:(n[u]||tc)(),realScaleType:n[u]?u:"point"}}return me()(i)?{scale:i}:{scale:tc(),realScaleType:"point"}}(h,o,p),E=I.scale,S=I.realScaleType;E.domain(v).range(c),function(e){var t=e.domain();if(t&&!(t.length<=2)){var r=t.length,n=e.range(),i=Math.min(n[0],n[1])-nd,o=Math.max(n[0],n[1])+nd,a=e(t[0]),c=e(t[r-1]);(a<i||a>o||c<i||c>o)&&e.domain([t[0],t[r-1]])}}(E);var M=ad(E,Rd(Rd({},h),{},{realScaleType:S}));"xAxis"===i?(d="top"===m&&!b||"bottom"===m&&b,s=r.left,l=f[x]-d*h.height):"yAxis"===i&&(d="left"===m&&!b||"right"===m&&b,s=f[x]-d*h.width,l=r.top);var O=Rd(Rd(Rd({},h),M),{},{realScaleType:S,x:s,y:l,scale:E,width:"xAxis"===i?r.width:h.width,height:"yAxis"===i?r.height:h.height});return O.bandSize=pd(O,M),h.hide||"xAxis"!==i?h.hide||(f[x]+=(d?-1:1)*O.width):f[x]+=(d?-1:1)*O.height,Rd(Rd({},e),{},Bd({},a,O))}),{})}}),wm=e=>o.createElement("div",{className:"wprm-admin-dashboard-block-chart-days-container"},o.createElement("div",{className:"wprm-admin-dashboard-block-chart-title"},"📊 ".concat((0,y.S)("Daily Interaction"))),o.createElement(se,{width:"100%",height:300},o.createElement(bm,{data:e.data},o.createElement(ym,{dataKey:"date"}),o.createElement(gm,{type:"number",domain:[0,"dataMax"],allowDecimals:!1}),o.createElement(Rr,null),o.createElement(vm,{dataKey:"total",name:(0,y.S)("Interactions"),fill:"#2271b1"})))),xm=e=>0===e.data.length?null:o.createElement("div",{className:"wprm-admin-dashboard-block-chart-table-container"},o.createElement("div",{className:"wprm-admin-dashboard-block-chart-title"},e.title),o.createElement("table",{className:"wprm-admin-dashboard-block-chart-table"},o.createElement("thead",null,o.createElement("tr",null,o.createElement("th",null,e.label),o.createElement("th",null,(0,y.S)("Total")),o.createElement("th",null,(0,y.S)("Unique")))),o.createElement("tbody",null,e.data.map(((e,t)=>o.createElement("tr",{key:t},o.createElement("td",null,e.name),o.createElement("td",null,e.total),o.createElement("td",null,e.unique)))))));class Im extends o.Component{constructor(e){super(e),this.state={loading:!0,data:!1}}componentDidMount(){this.checkForUpdate()}checkForUpdate(){this.setState({loading:!0},(()=>{v.Z.dashboard.getAnalytics().then((e=>{var t=!1;e&&(t=e.data),this.setState({loading:!1,data:t})}))}))}render(){var{data:e}=this.state;return o.createElement(o.Fragment,null,this.state.loading?o.createElement(T.Z,null):o.createElement(o.Fragment,null,0===e.total?o.createElement("span",null,(0,y.S)("No actions found for the last 7 days. If you just enabled analytics they should start showing up soon.")):o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-dashboard-block-chart"},o.createElement(wm,{data:e.per_day})),o.createElement("div",{className:"wprm-admin-dashboard-block-chart"},o.createElement(xm,{title:"🏆 ".concat((0,y.S)("Top Recipe Interactions (last 7 days)")),label:(0,y.S)("Recipe"),data:e.per_recipe})),o.createElement("div",{className:"wprm-admin-dashboard-block-chart"},o.createElement(xm,{title:"👍 ".concat((0,y.S)("Interactions (last 7 days)")),label:(0,y.S)("Type"),data:e.per_type})))))}}class Em extends o.Component{constructor(e){super(e),this.state={analyticsEnabled:wprm_admin_dashboard.settings.analytics_enabled}}render(){return o.createElement(g,{title:(0,y.S)("Analytics")},this.state.analyticsEnabled?o.createElement(o.Fragment,null,o.createElement(Im,null),wprm_admin_dashboard.settings.honey_home_integration?o.createElement(M,{title:(0,y.S)("Learn more")},"Go to your ",o.createElement("a",{href:"https://dailygrub.com/dashboard",target:"_blank"},"DailyGrub Dashboard")," for more insights!"):o.createElement(M,{title:"📈 ".concat((0,y.S)("Interested in more data?"))},"WP Recipe Maker partners with ",o.createElement("a",{href:"https://dailygrub.com",target:"_blank"},"DailyGrub")," to offer a full suite of recipe-specific analytics!")):o.createElement(j,{onEnable:()=>{v.Z.settings.save({analytics_enabled:!0}),this.setState({analyticsEnabled:!0})}}))}}var Sm=r(47750);class Mm extends o.Component{constructor(e){super(e),this.state={rating:0}}render(){return o.createElement(g,{title:(0,y.S)("Feedback")},o.createElement("div",{className:"wprm-admin-dashboard-feedback-container"},0===this.state.rating&&o.createElement(o.Fragment,null,o.createElement("label",null,(0,y.S)("How would you rate WP Recipe Maker?")),o.createElement("div",null,o.createElement(Sm.Z,{rating:this.state.rating,starDimension:"25px",starSpacing:"0",starHoverColor:"#2271b1",changeRating:e=>{this.setState({rating:e},(()=>{v.Z.utilities.giveFeedback(e)}))},numberOfStars:5,name:"feedback"}))),0<this.state.rating&&3>=this.state.rating&&o.createElement(o.Fragment,null,o.createElement("p",null,"Sorry to hear you don't seem to be enjoying WP Recipe Maker as much as we want you to. It would be great if you could provide us with any feedback at all."),o.createElement("p",null,"Email ",o.createElement("a",{href:"mailto:support@bootstrapped.ventures",target:"_blank"},"support@bootstrapped.ventures")," with any problems, frustrations or suggestions and we'll be happy to help you out! We improve the plugin weekly based on customer feedback, so your thoughts can really make a difference."),o.createElement("a",{className:"button button-primary",href:"mailto:support@bootstrapped.ventures",target:"_blank"},"Contact us now!")),4==this.state.rating&&o.createElement(o.Fragment,null,o.createElement("p",null,"Happy to hear that you do seem to be enjoying WP Recipe Maker! We are aiming to be a 5-star plugin though, so it would be amazing if you could give us any feedback at all on how we can get there for you."),o.createElement("p",null,"Email ",o.createElement("a",{href:"mailto:support@bootstrapped.ventures",target:"_blank"},"support@bootstrapped.ventures")," with any problems, frustrations or suggestions and we'll be happy to help you out! We improve the plugin weekly based on customer feedback, so your thoughts can really make a difference."),o.createElement("a",{className:"button button-primary",href:"mailto:support@bootstrapped.ventures",target:"_blank"},"Contact us now!")),5==this.state.rating&&o.createElement(o.Fragment,null,o.createElement("p",null,"Very happy to hear you're enjoying WP Recipe Maker!"),o.createElement("p",null,"It would be amazing if you could help spread the word and leave an honest ",o.createElement("a",{href:"https://wordpress.org/support/plugin/wp-recipe-maker/reviews/#new-post",target:"_blank"},"review over at wordpress.org")," for our plugin. This really helps with getting new users, which leads to more customers and more time we can spend improving WPRM."),o.createElement("a",{className:"button button-primary",href:"https://wordpress.org/support/plugin/wp-recipe-maker/reviews/#new-post",target:"_blank"},"Leave a review!"),o.createElement("p",null,"Already left a review? Thanks a lot for taking the time! If you have any further feedback at all, feel free to contact us at ",o.createElement("a",{href:"mailto:support@bootstrapped.ventures",target:"_blank"},"support@bootstrapped.ventures"),". We improve the plugin weekly based on customer feedback, so your thoughts can really make a difference."))))}}r(19985);class Om extends o.Component{constructor(e){super(e),this.state={open:!1}}render(){return o.createElement("div",{className:"wprm-admin-dashboard-health-check-item"},o.createElement("div",{className:"wprm-admin-dashboard-health-check-header",onClick:()=>{this.setState({open:!this.state.open})}},this.props.header),this.state.open&&o.createElement("div",{className:"wprm-admin-dashboard-health-check-content"},this.props.children))}}var km=e=>o.createElement(o.Fragment,null,e.item.includes("litespeed-cache")&&o.createElement(Om,{header:"🔌 LiteSpeed Cache might be breaking recipe saving"},o.createElement("p",null,'There have been issues with LiteSpeed Cache breaking the recipe saving if the "Cache REST API" setting is enabled on the ',o.createElement("em",null,"LiteSpeed Cache > Cache")," page."),o.createElement("p",null,'We recommend setting that setting to "Off".'))),jm=e=>{var t=e.item;return t.length?o.createElement(Om,{header:"✍️ Duplicate recipe names: ".concat(t.length)},o.createElement("p",null,"These recipe names are used in more than 1 recipe and might be duplicates. Click to find them on the manage page:"),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list"},t.map(((e,t)=>o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item",key:t},o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item-main"},o.createElement("a",{href:"".concat(wprm_admin.manage_url,"#recipe/name=").concat(encodeURIComponent(e.name))},e.name)),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item-side"},e.recipes.length," recipes")))))):null},Tm=e=>{var t=e.item;return t&&Object.keys(t).length?o.createElement(Om,{header:"📸 Missing recipe thumbnails: ".concat(Object.keys(t).length)},o.createElement("p",null,"Google expects to see 3 different ratios for the recipe image in the recipe metadata. WP Recipe Maker automatically generates those ratios for the recipe images, but some of them seem to be missing. This can happen if you converted those recipes from another plugin, for example."),o.createElement("p",null,"Try using a plugin like ",o.createElement("a",{href:"https://wordpress.org/plugins/regenerate-thumbnails/",target:"_blank"},"Regenerate Thumbnails")," to make sure all thumbnail sizes exist."),o.createElement("p",null,"If that doesn't fix things, the problem could also be that the original recipe image is too small. A recipe image should be at least 500 by 500 pixels to be able to generate all thumbnail sizes."),o.createElement("p",null,"Click through to find the problem recipes on the Manage page:"),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list"},Object.keys(t).map(((e,r)=>{var n=t[e]?t[e]:"n/a";return o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item",key:r},o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item-main"},o.createElement("a",{href:"".concat(wprm_admin.manage_url,"#recipe/id=").concat(encodeURIComponent(e))},n)))})))):null},Dm=r(2778),Am=r.n(Dm),Pm={compatibility:km,duplicate_names:jm,missing_thumbnails:Tm,multiple_parents:e=>{var t=e.item;return Object.keys(t).length?o.createElement(Om,{header:"📑 Recipes used in multiple places: ".concat(Object.keys(t).length)},o.createElement("p",null,"These recipes have been added to more than 1 post or page. A recipe should generally only exist in 1 parent post. References should be made using the ",o.createElement("a",{href:"https://help.bootstrapped.ventures/article/182-itemlist-metadata-for-recipe-roundup-posts",target:"_blank"},"Recipe Roundup feature")," instead. Click on a post to edit it:"),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list"},Object.keys(t).map(((e,r)=>{var n=t[e];return o.createElement("div",{className:"wprm-admin-dashboard-health-check-multiple-parents",key:r},o.createElement("div",{className:"wprm-admin-dashboard-health-check-multiple-parents-recipe"},e," - ",n.name),o.createElement("div",{className:"wprm-admin-dashboard-health-check-multiple-parents-posts"},n.posts.map(((e,t)=>{var r="".concat(e.id," - ").concat(e.name?e.name:"n/a");return o.createElement("div",{className:"wprm-admin-dashboard-health-check-multiple-parents-post",key:t},e.edit_url?o.createElement(o.Fragment,null,o.createElement("a",{href:Am().decode(e.edit_url)},r),parseInt(n.parent_post_id)===parseInt(e.id)&&" (parent post)"):r)}))))})))):null},seo_types:e=>{var t=e.item,r=Object.values(t).reduce(((e,t)=>e+t));if(0===r)return o.createElement(Om,{header:"🤷‍♂️ No recipes yet"},o.createElement("p",null,"We can't seem to find any recipes yet. Start adding them!"));var n={good:"Good SEO",rating:"Only missing recipe ratings",warning:"Missing some recommended fields",bad:"Missing some required fields",other:"Not using metadata (excluded from count)"};return o.createElement(Om,{header:"🔍 Recipes with a good SEO rating: ".concat(t.good," of ").concat(r-t.other)},o.createElement("p",null,"Google has a list of required and recommended fields they want to see in the metadata. You definitely need to fill in all required fields. Not filling in recommended fields will get you a warning, but is not a huge problem. Click to see those recipes on the manage page:"),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list"},Object.keys(n).map(((e,r)=>{var i=n[e];return o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item",key:r},o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item-main"},o.createElement("a",{href:"".concat(wprm_admin.manage_url,"#recipe/seo=").concat(e)},i)),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item-side"},t[e]," ",1===t[e]?"recipe":"recipes"))}))))}};class _m extends o.Component{constructor(e){super(e),this.state={items:wprm_admin_dashboard.health.items}}render(){return o.createElement(g,{title:(0,y.S)("Health Check"),button:(0,y.S)("Run Check"),buttonAction:()=>{window.location=wprm_admin_dashboard.health.tool}},o.createElement("div",{className:"wprm-admin-dashboard-health-check-container"},o.createElement("div",{className:"wprm-admin-dashboard-health-check-last-update wprm-admin-dashboard-health-check-last-update-".concat(wprm_admin_dashboard.health.urgency),title:wprm_admin_dashboard.health.date?wprm_admin_dashboard.health.date_formatted_full:null},(0,y.S)("Last check:")," ",wprm_admin_dashboard.health.date_formatted,wprm_admin_dashboard.health.updated&&" (".concat((0,y.S)("outdated version"),")")),o.createElement("div",{className:"wprm-admin-dashboard-health-check-description"},(0,y.S)("Use the Health Check feature to search for any WPRM-related issues and improve your recipes.")," ","never"===wprm_admin_dashboard.health.urgency?(0,y.S)("Recommended to run occassionally by clicking on the blue button."):(0,y.S)("Most recent results:")),Object.keys(this.state.items).map(((e,t)=>{var r=this.state.items[e],n=!!Pm.hasOwnProperty(e)&&Pm[e];return n?o.createElement(n,{item:r,key:t}):null})),o.createElement("div",{className:"wprm-admin-dashboard-health-check-learn-more"},o.createElement("a",{href:"https://help.bootstrapped.ventures/article/306-health-check",target:"_blank"},(0,y.S)("Learn more about the Health Check feature")))))}}var Nm=e=>o.createElement("div",{className:"wprm-admin-dashboard-learn-section-container"},o.createElement("div",{className:"wprm-admin-dashboard-learn-section-title"},e.title),o.createElement("div",{className:"wprm-admin-dashboard-learn-section"},e.children)),Cm=e=>o.createElement("div",{className:"wprm-admin-dashboard-learn-section-item"},e.hasOwnProperty("url")?o.createElement("a",{href:e.url,target:"_blank"},e.children):e.children),Lm=e=>o.createElement(g,{title:(0,y.S)("Get the most out of WPRM")},o.createElement("div",{className:"wprm-admin-dashboard-learn-container"},o.createElement(Nm,{title:"🧑‍🎓 ".concat((0,y.S)("Learn More"))},o.createElement(Cm,{url:"https://help.bootstrapped.ventures/collection/1-wp-recipe-maker"},(0,y.S)("Documentation in our knowledge base")),o.createElement(Cm,{url:"https://demo.wprecipemaker.com/all-features/"},(0,y.S)("All features in action on our demo site")),o.createElement(Cm,{url:"https://bootstrapped.ventures/wp-recipe-maker/videos/"},(0,y.S)("Video tutorials and walkthroughs"))),o.createElement(Nm,{title:"🤝 ".concat((0,y.S)("Our Partners"))},o.createElement(Cm,{url:"https://myemissions.green/wp-recipe-maker?ref=wprm"},(0,y.S)("My Emissions carbon footprint labels")),o.createElement(Cm,{url:"https://dailygrub.com"},(0,y.S)("DailyGrub recipe analytics suite"))),o.createElement(Nm,{title:"🙋 ".concat((0,y.S)("Get Help"))},o.createElement(Cm,{url:"https://www.facebook.com/groups/1741126932849712"},(0,y.S)("WP Recipe Maker Facebook Group")),o.createElement(Cm,{url:"mailto:support@bootstrapped.ventures"},(0,y.S)("Email our support team"))))),Rm=e=>{var{item:t}=e;if(!t.title)return null;var r=o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-dashboard-news-item-title-container"},o.createElement("div",{className:"wprm-admin-dashboard-news-item-date"},t.date_formatted),o.createElement("div",{className:"wprm-admin-dashboard-news-item-title"},t.title)),t.hasOwnProperty("label")&&o.createElement("div",{className:"wprm-admin-dashboard-news-item-label wprm-admin-dashboard-news-item-label-".concat(t.label_key)},t.label)),n=["wprm-admin-dashboard-news-item"];return t.new&&n.push("wprm-admin-dashboard-news-item-new"),o.createElement(o.Fragment,null,t.hasOwnProperty("url")?o.createElement("a",{href:t.url,target:"_blank",className:n.join(" ")},r):o.createElement("div",{className:n.join(" ")},r))},Bm=e=>{var t=wprm_admin_dashboard.news;return t&&0!==t.length?o.createElement(g,{title:(0,y.S)("News")},o.createElement("div",{className:"wprm-admin-dashboard-news-container"},t.map(((e,t)=>o.createElement(Rm,{item:e,key:t}))))):null},Um=r(77221),zm=e=>{var{recipe:t}=e,r=t.hasOwnProperty("permalink")&&t.permalink;return o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe"},o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-name-container"},o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-date"},t.date_formatted?t.date_formatted:""),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-name"},t.name?t.name:"n/a")),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-actions"},r&&o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-action"},o.createElement("a",{href:t.permalink,target:"_blank"},o.createElement(Um.Z,{type:"eye",title:(0,y.S)("View Recipe")}))),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-action"},o.createElement(Um.Z,{type:"pencil",title:(0,y.S)("Edit Recipe"),onClick:()=>{WPRM_Modal.open("recipe",{recipeId:t.id,saveCallback:r=>{var n=JSON.parse(JSON.stringify(t));n.name=r.name,e.onUpdate(n)}})}}))))};class Hm extends o.Component{constructor(e){super(e),this.state={recipes:wprm_admin_dashboard.recipes}}render(){return o.createElement(g,{title:(0,y.S)("Latest Recipes"),button:(0,y.S)("Create Recipe"),buttonAction:()=>{WPRM_Modal.open("recipe",{saveCallback:e=>{var t=JSON.parse(JSON.stringify(this.state.recipes)),r=JSON.parse(JSON.stringify(e));r.date_formatted=wprm_admin_dashboard.today_formatted,(t=t.filter((e=>e.id!==r.id))).unshift(r),this.setState({recipes:t})}})}},o.createElement("div",{className:"wprm-admin-dashboard-recipes-container"},0===this.state.recipes.length?o.createElement("div",{className:"wprm-admin-dashboard-recipes-all"},(0,y.S)("No recipes found. Welcome to WP Recipe Maker!")):o.createElement(o.Fragment,null,this.state.recipes.map(((e,t)=>o.createElement(zm,{recipe:e,onUpdate:e=>{var r=JSON.parse(JSON.stringify(this.state.recipes));r[t]=e,this.setState({recipes:r})},key:t})))),o.createElement("div",{className:"wprm-admin-dashboard-recipes-all"},o.createElement("a",{href:wprm_admin.manage_url},(0,y.S)("Manage all recipes...")))))}}var Gm=e=>o.createElement("div",{className:"wprm-admin-dashboard-tip"},e.children),Wm=[o.createElement(Gm,null,"Use the ",o.createElement("strong",null,"TAB key")," while entering ingredients or instructions to easily jump from field to field and create new lines."),o.createElement(Gm,null,"Copying your recipes from other sources?",o.createElement("br",null),"Use our ",o.createElement("a",{href:"https://help.bootstrapped.ventures/article/70-import-recipe-from-text",target:"_blank"},"Import Recipe from Text")," feature to speed things up."),o.createElement(Gm,null,"Have you seen the ",o.createElement("strong",null,"toolbar at the bottom of the recipe modal")," when editing rich fields (like the summary or instructions)? It gives you quick access to some editing and symbols."),o.createElement(Gm,null,"The ",o.createElement("strong",null,"Bulk Edit column")," on some of the WP Recipe Maker > Manage pages allows you to quickly edit multiple rows at once."),o.createElement(Gm,null,"Make sure to use the ",o.createElement("a",{href:"https://help.bootstrapped.ventures/article/182-itemlist-metadata-for-recipe-roundup-posts",target:"_blank"},"Recipe Roundup feature")," for roundup posts. This will add itemList metadata that allows those posts to show up as a carousel in Google."),o.createElement(Gm,null,"Give your visitors an easy way to find recipes by course, cuisine, ingredient, calories, ... by combining WPRM with our ",o.createElement("a",{href:"https://demo.wprecipemaker.com/recipe-index/",target:"_blank"},"WP Ultimate Post Grid plugin"),"."),o.createElement(Gm,null,"When adding equipment or ingredient names, the toolbar at the bottom of the recipe modal will ",o.createElement("strong",null,"show suggestions")," that you used before. Just click to use them and keep things consistent!"),o.createElement(Gm,null,o.createElement("strong",null,"Toggle specific columns")," at the top of the WP Recipe Maker > Manage page to customize it to your needs."),o.createElement(Gm,null,"Join the ",o.createElement("a",{href:"https://www.facebook.com/groups/1741126932849712/",target:"_blank"},"WP Recipe Maker Facebook Group")," to get access to a community of WPRM food bloggers, just like you!")];class Zm extends o.Component{constructor(e){super(e);var t=Math.floor(Math.random()*Wm.length);this.changeTip=this.changeTip.bind(this);var r=setInterval(this.changeTip,15e3);this.state={activeTip:t,interval:r,bar:"odd"}}changeTip(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.state.activeTip+e;t<0?t+=Wm.length:t%=Wm.length,clearInterval(this.state.interval),this.setState({activeTip:t,interval:setInterval(this.changeTip,15e3),bar:"even"===this.state.bar?"odd":"even"})}render(){return o.createElement(g,{title:(0,y.S)("Quick Tips")},o.createElement("div",{className:"wprm-admin-dashboard-tips-container"},o.createElement("div",{className:"wprm-admin-dashboard-tips-prev",onClick:()=>{this.changeTip(-1)}},"<"),o.createElement("div",{className:"wprm-admin-dashboard-tips"},Wm.map(((e,t)=>{var r=["wprm-admin-dashboard-tip-container"];return t===this.state.activeTip&&r.push("wprm-admin-dashboard-tip-container-active"),o.createElement("div",{className:r.join(" "),key:t},e)}))),o.createElement("div",{className:"wprm-admin-dashboard-tips-next",onClick:()=>{this.changeTip(1)}},">")),o.createElement("div",{className:"wprm-admin-dashboard-tips-progress"},o.createElement("div",{className:"wprm-admin-dashboard-tips-progress-bar wprm-admin-dashboard-tips-progress-bar-".concat(this.state.bar)})))}}var{hooks:qm}=WPRecipeMaker["wp-recipe-maker/dist/shared"],Fm=qm.applyFilters("dashboardBlocks",[{id:"recipes",block:Hm},{id:"news",block:Bm},{id:"health",block:_m},{id:"tips",block:Zm},{id:"learn",block:Lm},{id:"analytics",block:Em}]);window.wprm_admin_dashboard.hasOwnProperty("feedback")&&window.wprm_admin_dashboard.feedback&&Fm.unshift({id:"feedback",block:Mm});class Vm extends o.Component{render(){var e=!1;return window.wprm_admin_dashboard.hasOwnProperty("marketing")&&window.wprm_admin_dashboard.marketing&&(e=wprm_admin_dashboard.marketing),o.createElement(o.Fragment,null,o.createElement("h1",null,"WP Recipe Maker"),!1!==e&&o.createElement(S,{campaign:e}),o.createElement(m,{blocks:Fm}))}}var Jm=document.getElementById("wprm-admin-dashboard");Jm&&i.render(o.createElement(Vm,null),Jm)},99237:function(e,t,r){"use strict";r.d(t,{Z:function(){return G}});var n=r(46087),i=wprm_admin.endpoints.analytics,o={delete:e=>n.Z.call("".concat(i,"/").concat(e),"DELETE")};function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=wprm_admin.endpoints.custom_taxonomies,s={save(e,t){var r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t),i=e?"PUT":"POST";return n.Z.call(u,i,r)}},l=wprm_admin.endpoints.dashboard,f={getAnalytics:()=>n.Z.call("".concat(l,"/analytics"))},p=wprm_admin.endpoints.notices,d={dismissNotice(e){var t={id:e};return n.Z.call(p,"DELETE",t)}},h=wprm_admin.endpoints.modal,m={parseIngredients(e){var t={ingredients:e};return n.Z.call("".concat(h,"/ingredient/parse"),"POST",t)}},v=(r(35054),wprm_admin.endpoints.manage),y=wprm_admin.endpoints.rating,g=wprm_admin.endpoints.taxonomy,b=!1,w=!1,x={getData(e){return b?(w=e,new Promise((e=>e(!1)))):this.getDataDebounced(e)},getDataDebounced(e){return b=!0,n.Z.call("".concat(v,"/").concat(e.route),"POST",e).then((e=>{if(w){var t=w;return w=!1,this.getDataDebounced(t)}return b=!1,e}))},deleteUserRatings:e=>n.Z.call("".concat(y,"/recipe/").concat(e),"DELETE"),getTerm:(e,t)=>n.Z.call("".concat(g).concat(e,"/").concat(t)),createTerm(e,t){var r={name:t};return n.Z.call("".concat(g).concat(e),"POST",r)},deleteTerm:(e,t)=>n.Z.call("".concat(g).concat(e,"/").concat(t,"?force=true"),"DELETE"),renameTerm(e,t,r){var i={name:r};return n.Z.call("".concat(g).concat(e,"/").concat(t),"POST",i)},changeTermSlug(e,t,r){var i={slug:r};return n.Z.call("".concat(g).concat(e,"/").concat(t),"POST",i)},renameTermLabel(e,t,r){var i={type:e,id:t,label:r};return n.Z.call("".concat(v,"/taxonomy/label"),"POST",i)},mergeTerm(e,t,r){var i={type:e,oldId:t,newId:r};return n.Z.call("".concat(v,"/taxonomy/merge"),"POST",i)},updateTaxonomyMeta(e,t,r){var i={};return i[e]=r,n.Z.call("".concat(g).concat(e,"/").concat(t),"POST",i)},bulkEdit(e,t,r,i){var o={type:t,ids:r,action:i};return n.Z.call("".concat(v,"/").concat(e,"/bulk"),"POST",o)}},I=wprm_admin.endpoints.modal,E=!1,S=!1,M=!1,O={getSuggestions(e){return E?(M=e,new Promise((e=>e(!1)))):this.getSuggestionsDebounced(e)},getSuggestionsDebounced(e){E=!0;var t=Date.now();return!1!==S&&500>t-S?new Promise((r=>{setTimeout((()=>{r(this.getSuggestionsDebounced(e))}),t-S)})):(S=t,n.Z.call("".concat(I,"/suggest"),"POST",e).then((e=>{if(M){var t=M;return M=!1,this.getSuggestionsDebounced(t)}return E=!1,e})))}},k=wprm_admin.endpoints.rating,j={update(e){var t={rating:e};return n.Z.call("".concat(k),"POST",t)},updateComment(e,t){var r={rating:t};return n.Z.call("".concat(k,"/comment/").concat(e),"POST",r)},delete:e=>n.Z.call("".concat(k,"/").concat(e),"DELETE")},T=wprm_admin.endpoints.recipe,D=wprm_admin.endpoints.manage,A={get:e=>n.Z.call("".concat(T,"/").concat(e,"?t=").concat(Date.now())),save(e){var t={recipe:e},r=T,i="POST",o=!!e.id&&parseInt(e.id);return o&&(r+="/".concat(o),i="PUT"),n.Z.call(r,i,t)},updateStatus(e,t){var r={status:t};return n.Z.call("".concat(T,"/").concat(e),"PUT",r)},delete(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r="".concat(T,"/").concat(e);return t&&(r+="?force=true"),n.Z.call(r,"DELETE")},deleteRevision:e=>n.Z.call("".concat(D,"/revision/").concat(e),"DELETE")},P=wprm_admin.endpoints.setting,_={save(e){var t={settings:e};return n.Z.call(P,"POST",t)}},N=wprm_admin.endpoints.template,C=[],L={},R=null,B={previewShortcode(e,t,r){return L[e]=t,clearTimeout(R),R=setTimeout((()=>{this.previewShortcodes(r)}),500),new Promise((e=>C.push(e)))},previewShortcodes(e){var t=C,r=L;C=[],L={};var n={recipeId:e,shortcodes:r};fetch("".concat(N,"/preview"),{method:"POST",headers:{"X-WP-Nonce":wprm_admin.api_nonce,Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(n)}).then((e=>e.json().then((r=>{var n=e.ok?r.preview:{};t.forEach((e=>e(n)))}))))},searchRecipes:e=>fetch(wprm_admin.ajax_url,{method:"POST",credentials:"same-origin",body:"action=wprm_search_recipes&security="+wprm_admin.nonce+"&search="+encodeURIComponent(e),headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded; charset=utf-8"}}).then((e=>e.json())),save(e){var t={template:e};return n.Z.call(N,"POST",t)},delete(e){var t={slug:e};return n.Z.call(N,"DELETE",t)}},U=wprm_admin.endpoints.utilities,z={saveImage(e){var t={url:e};return n.Z.call("".concat(U,"/save_image"),"POST",t)},giveFeedback(e){var t={feedback:e};return n.Z.call("".concat(U,"/feedback"),"POST",t)}},{hooks:H}=WPRecipeMaker["wp-recipe-maker/dist/shared"],G=H.applyFilters("api",{analytics:o,customTaxonomy:s,dashboard:f,general:d,import:m,manage:x,modal:O,rating:j,recipe:A,settings:_,template:B,utilities:z})},46087:function(e,t,r){"use strict";r(31807),r(35054),r(22321);function n(e,t,r,n,i,o,a){try{var c=e[o](a),u=c.value}catch(s){return void r(s)}c.done?t(u):Promise.resolve(u).then(n,i)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var a=e.apply(t,r);function c(e){n(a,i,o,c,u,"next",e)}function u(e){n(a,i,o,c,u,"throw",e)}c(void 0)}))}}function o(){return(o=i((function*(e,t,r){console.log(e,t),console.log(r);var n="",i=parseInt(r.status),o=!1;300<=i&&i<=399?o="A redirection is breaking the API endpoint. Are any redirections set up in the .htaccess file or using a plugin?":401===i||403===i?o="Something is blocking access. Are you or your webhost using a firewall like Cloudflare WAF or Sucuri? Try whitelisting your own IP address or this specific action.":404===i?o="The rest API endpoint could not be found. Are your permalinks set up correctly?":500<=i&&i<=599&&(o="The server is throwing an error. It could be hitting a memory or execution limit. Check with your webhost what the exact error is in the logs."),o&&(n+="".concat(o,"\r\n\r\n")),n+="Press OK to contact support@bootstrapped.ventures for support (opens an email popup).";var a="".concat(r.url," ").concat(r.redirected?"(redirected)":"","- ").concat(r.status," - ").concat(r.statusText);n+="\r\n\r\n".concat(a);var c=!0;try{yield r.text().then((e=>{console.log(e),-1!==e.indexOf("rest_cookie_invalid_nonce")?(alert("You got logged out or your session expired. Please try logging out of WordPress and back in again."),c=!1):n+="\r\n\r\n".concat(e)}))}catch(s){console.log(s),n+="\r\n\r\n".concat(s)}if(c&&confirm(n)){var u="I received the error message below at ".concat(window.location.href,"\r\n\r\n").concat(n);window.open("mailto:".concat(encodeURIComponent("support@bootstrapped.ventures"),"?subject=").concat(encodeURIComponent("WP Recipe Maker Error Message"),"&body=").concat(encodeURIComponent(u)))}}))).apply(this,arguments)}t.Z={call(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=wprm_admin.api_nonce;"object"==typeof window.wpApiSettings&&window.wpApiSettings.nonce&&(n=window.wpApiSettings.nonce);var i={method:t,headers:{"X-WP-Nonce":n,Accept:"application/json","Content-Type":"application/json","Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:0},credentials:"same-origin"};"PUT"!==t&&"DELETE"!==t||(i.method="POST",i.headers["X-HTTP-Method-Override"]=t),r&&(i.body=JSON.stringify(r));var a=0;return e=e.replace(/\?/g,(function(e){return 2<=++a?"&":e})),fetch(e,i).then((function(t){return t.ok?t.json():(function(e,t,r){o.apply(this,arguments)}(e,i,t),!1)}))}}},77221:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(89526),i=r(49092),o=r(95075),a={adjustable:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyLjUiIHkxPSIxMi41IiB4Mj0iMTUuNSIgeTI9IjEyLjUiPjwvbGluZT4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjAuNSIgeTE9IjMuNSIgeDI9IjMuNSIgeTI9IjMuNSI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iOS41IiB5MT0iMy41IiB4Mj0iMTUuNSIgeTI9IjMuNSI+PC9saW5lPiA8cmVjdCBkYXRhLWNvbG9yPSJjb2xvci0yIiB4PSIzLjUiIHk9IjAuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHdpZHRoPSIzIiBoZWlnaHQ9IjYiPjwvcmVjdD4gPHJlY3QgZGF0YS1jb2xvcj0iY29sb3ItMiIgeD0iOS41IiB5PSI5LjUiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB3aWR0aD0iMyIgaGVpZ2h0PSI2Ij48L3JlY3Q+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIwLjUiIHkxPSIxMi41IiB4Mj0iNi41IiB5Mj0iMTIuNSI+PC9saW5lPiA8L2c+PC9zdmc+",bold:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZD0iTTIuNSwxLjVoNmEzLDMsMCwwLDEsMywzaDBhMywzLDAsMCwxLTMsM2gtNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvcGF0aD4gPHBhdGggZD0iTTQuNSw3LjVIMTBBMy41LDMuNSwwLDAsMSwxMy41LDExaDBBMy41LDMuNSwwLDAsMSwxMCwxNC41SDIuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvcGF0aD4gPGxpbmUgeDE9IjQuNSIgeTE9IjEuNSIgeDI9IjQuNSIgeTI9IjE0LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+PC9nPjwvc3ZnPg==",clock:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGNpcmNsZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBjeD0iOC41IiBjeT0iOC41IiByPSI3Ij48L2NpcmNsZT4gPHBvbHlsaW5lIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IiA1LjUsNS41IDguNSw4LjUgMTMuNSw4LjUgIj48L3BvbHlsaW5lPiA8bGluZSBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjguNSIgeTE9IjMuNSIgeDI9IjguNSIgeTI9IjQuNSI+PC9saW5lPiA8bGluZSBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjguNSIgeTE9IjEzLjUiIHgyPSI4LjUiIHkyPSIxMi41Ij48L2xpbmU+IDxsaW5lIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMy41IiB5MT0iOC41IiB4Mj0iNC41IiB5Mj0iOC41Ij48L2xpbmU+IDwvZz48L3N2Zz4=",close:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEzLjUiIHkxPSIyLjUiIHgyPSIyLjUiIHkyPSIxMy41IiBkYXRhLWNhcD0iYnV0dCI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMi41IiB5MT0iMi41IiB4Mj0iMTMuNSIgeTI9IjEzLjUiIGRhdGEtY2FwPSJidXR0Ij48L2xpbmU+IDwvZz48L3N2Zz4=",code:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBmaWxsPSIjMTExMTExIj48bGluZSB4MT0iMTAuNSIgeTE9IjEuNSIgeDI9IjUuNSIgeTI9IjE0LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8cG9seWxpbmUgcG9pbnRzPSIzLjUgNC41IDAuNSA3LjUgMy41IDEwLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNhcD0iYnV0dCI+PC9wb2x5bGluZT4gPHBvbHlsaW5lIHBvaW50cz0iMTIuNSA0LjUgMTUuNSA3LjUgMTIuNSAxMC41IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZGF0YS1jYXA9ImJ1dHQiPjwvcG9seWxpbmU+PC9nPjwvc3ZnPg==","checkbox-alternate":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IiA0LjUsNi41IDcuNSw5LjUgMTUuNSwxLjUgIi8+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik0xMy41LDcuNXY2IGMwLDAuNTUyLTAuNDQ4LDEtMSwxaC0xMWMtMC41NTIsMC0xLTAuNDQ4LTEtMXYtMTFjMC0wLjU1MiwwLjQ0OC0xLDEtMWg5Ii8+IDwvZz48L3N2Zz4=","checkbox-checked":"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PGcgY2xhc3M9Im5jLWljb24td3JhcHBlciIgZmlsbD0iIzQ0NDQ0NCI+PHBvbHlsaW5lIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzQ0NDQ0NCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iNC41LDcuNSA3LDEwIDEyLDUgIj48L3BvbHlsaW5lPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzQ0NDQ0NCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik0xNC41LDE1LjVoLTEzYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiI+PC9wYXRoPjwvZz48L3N2Zz4=","checkbox-empty":"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PGcgY2xhc3M9Im5jLWljb24td3JhcHBlciIgZmlsbD0iIzQ0NDQ0NCI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNDQ0NDQ0IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTNjLTAuNTUyLDAtMS0wLjQ0OC0xLTF2LTEzYzAtMC41NTIsMC40NDgtMSwxLTFoMTNjMC41NTIsMCwxLDAuNDQ4LDEsMXYxM0MxNS41LDE1LjA1MiwxNS4wNTIsMTUuNSwxNC41LDE1LjV6Ij48L3BhdGg+PC9nPjwvc3ZnPg==",checkmark:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIHBvaW50cz0iMSA5LjUgNS41IDE0IDE1IDEuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIi8+PC9nPjwvc3ZnPg==",duplicate:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHJlY3QgeD0iMC41IiB5PSIwLjUiIHdpZHRoPSIxMSIgaGVpZ2h0PSIxMSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGRhdGEtY2FwPSJidXR0Ii8+IDxwb2x5bGluZSBwb2ludHM9IjEzLjUgNC41IDE1LjUgNC41IDE1LjUgMTUuNSA0LjUgMTUuNSA0LjUgMTMuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPjwvZz48L3N2Zz4=",drag:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgeDE9IjAuNSIgeTE9IjUuNSIgeDI9IjE1LjUiIHkyPSI1LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PGxpbmUgeDE9IjAuNSIgeTE9IjEwLjUiIHgyPSIxNS41IiB5Mj0iMTAuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNvbG9yPSJjb2xvci0yIi8+PC9nPjwvc3ZnPg==","eafl-link":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMyOTgwYjkiIHN0cm9rZT0iIzI5ODBiOSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMjk4MGI5IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEyLDlsMS45NzUtMi4wMjUgYzEuMzY3LTEuMzY3LDEuMzY3LTMuNTgzLDAtNC45NWwwLDBjLTEuMzY3LTEuMzY3LTMuNTgzLTEuMzY3LTQuOTUsMEw3LDQiIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI5ODBiOSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik05LDEybC0yLjAyNSwxLjk3NSBjLTEuMzY3LDEuMzY3LTMuNTgzLDEuMzY3LTQuOTUsMGwwLDBjLTEuMzY3LTEuMzY3LTEuMzY3LTMuNTgzLDAtNC45NUw0LDciIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iNSIgeTE9IjExIiB4Mj0iMTEiIHkyPSI1IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8L2c+PC9zdmc+","eafl-unlink":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMyOTgwYjkiIHN0cm9rZT0iIzI5ODBiOSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMjk4MGI5IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEyLDlsMS45NzUtMi4wMjUgYzEuMzY3LTEuMzY3LDEuMzY3LTMuNTgzLDAtNC45NWwwLDBjLTEuMzY3LTEuMzY3LTMuNTgzLTEuMzY3LTQuOTUsMEw3LDQiIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI5ODBiOSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik05LDEybC0yLjAyNSwxLjk3NSBjLTEuMzY3LDEuMzY3LTMuNTgzLDEuMzY3LTQuOTUsMGwwLDBjLTEuMzY3LTEuMzY3LTEuMzY3LTMuNTgzLDAtNC45NUw0LDciIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iNSIgeTE9IjExIiB4Mj0iMTEiIHkyPSI1IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEuNSIgeTE9IjEuNSIgeDI9IjQiIHkyPSI0IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyIiB5MT0iMTIiIHgyPSIxNC41IiB5Mj0iMTQuNSIgZGF0YS1jYXA9ImJ1dHQiIGRhdGEtY29sb3I9ImNvbG9yLTIiPjwvbGluZT4gPC9nPjwvc3ZnPg==",eye:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTAuNSw4IGMwLDAsMy01LjUsNy41LTUuNVMxNS41LDgsMTUuNSw4cy0zLDUuNS03LjUsNS41UzAuNSw4LDAuNSw4eiIvPiA8Y2lyY2xlIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBjeD0iOCIgY3k9IjgiIHI9IjIuNSIvPiA8L2c+PC9zdmc+",italic:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgeDE9IjYuNSIgeTE9IjAuNSIgeDI9IjEyLjUiIHkyPSIwLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+IDxsaW5lIHgxPSIzLjUiIHkxPSIxNS41IiB4Mj0iOS41IiB5Mj0iMTUuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvbGluZT4gPGxpbmUgeDE9IjkuNSIgeTE9IjAuNSIgeDI9IjYuNSIgeTI9IjE1LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+PC9nPjwvc3ZnPg==",link:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEyLDlsMS45NzUtMi4wMjUgYzEuMzY3LTEuMzY3LDEuMzY3LTMuNTgzLDAtNC45NWwwLDBjLTEuMzY3LTEuMzY3LTMuNTgzLTEuMzY3LTQuOTUsMEw3LDQiIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik05LDEybC0yLjAyNSwxLjk3NSBjLTEuMzY3LDEuMzY3LTMuNTgzLDEuMzY3LTQuOTUsMGwwLDBjLTEuMzY3LTEuMzY3LTEuMzY3LTMuNTgzLDAtNC45NUw0LDciIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iNSIgeTE9IjExIiB4Mj0iMTEiIHkyPSI1IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8L2c+PC9zdmc+",merge:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIxMC41IiB5MT0iMTIuNSIgeDI9IjEzLjUiIHkyPSIxNS41IiBkYXRhLWNvbG9yPSJjb2xvci0yIj48L2xpbmU+IDxwb2x5bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IjQuNSw0LjUgOC41LDAuNSAxMi41LDQuNSAiPjwvcG9seWxpbmU+IDxwb2x5bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IjguNSwwLjUgOC41LDEwLjUgMy41LDE1LjUgIj48L3BvbHlsaW5lPjwvZz48L3N2Zz4=",movie:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGNpcmNsZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgY3g9IjIuNSIgY3k9IjIuNSIgcj0iMiIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8Y2lyY2xlIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBjeD0iOCIgY3k9IjMiIHI9IjEuNSIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMTAuNSw5LjV2LTIgYzAtMC41NTItMC40NDgtMS0xLTFoLThjLTAuNTUyLDAtMSwwLjQ0OC0xLDF2N2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDhjMC41NTIsMCwxLTAuNDQ4LDEtMXYtMmw1LDJ2LTdMMTAuNSw5LjV6Ii8+PC9nPjwvc3ZnPg==",pencil:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBmaWxsPSIjMTExMTExIj48cG9seWdvbiBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IiAxMywwLjUgMTUuNSwzIDcuNSwxMSA0LDEyIDUsOC41ICI+PC9wb2x5Z29uPiA8bGluZSBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMTEiIHkxPSIyLjUiIHgyPSIxMy41IiB5Mj0iNSI+PC9saW5lPiA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMTMuNSw5LjV2NSBjMCwwLjU1Mi0wLjQ0OCwxLTEsMWgtMTFjLTAuNTUyLDAtMS0wLjQ0OC0xLTF2LTExYzAtMC41NTIsMC40NDgtMSwxLTFoNSI+PC9wYXRoPiA8L2c+PC9zdmc+",photo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTMgYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiIvPiA8cG9seWxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iMi41LDEyLjUgOS41LDcuNSAxMy41LDExLjUgIiBkYXRhLWNvbG9yPSJjb2xvci0yIi8+IDxjaXJjbGUgY3g9IjQuNSIgY3k9IjUuNSIgcj0iMS41IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiIgZGF0YS1zdHJva2U9Im5vbmUiIHN0cm9rZT0ibm9uZSIvPjwvZz48L3N2Zz4=",plus:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjguNSIgeTE9IjQuNSIgeDI9IjguNSIgeTI9IjEyLjUiLz4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjQuNSIgeTE9IjguNSIgeDI9IjEyLjUiIHkyPSI4LjUiLz4gPC9nPjwvc3ZnPg==","plus-text":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cmVjdCBkYXRhLWVsZW1lbnQ9ImZyYW1lIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHJ4PSI0IiByeT0iNCIgc3Ryb2tlPSJub25lIiBmaWxsPSIjZmZmZmZmIj48L3JlY3Q+PGcgY2xhc3M9Im5jLWljb24td3JhcHBlciIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS41OTk5OTk5OTk5OTk5OTk2IDEuNTk5OTk5OTk5OTk5OTk5Nikgc2NhbGUoMC44KSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBvbHlsaW5lIHBvaW50cz0iMC41IDIuNSAwLjUgMC41IDE0LjUgMC41IDE0LjUgMi41Ij48L3BvbHlsaW5lPjxsaW5lIHgxPSI3LjUiIHkxPSIwLjUiIHgyPSI3LjUiIHkyPSIxNS41Ij48L2xpbmU+PGxpbmUgeDE9IjQuNSIgeTE9IjE1LjUiIHgyPSIxMC41IiB5Mj0iMTUuNSI+PC9saW5lPjxsaW5lIHgxPSIxMyIgeTE9IjYiIHgyPSIxMyIgeTI9IjExIiBzdHJva2U9IiMxMTExMTEiPjwvbGluZT48bGluZSB4MT0iMTAuNSIgeTE9IjguNSIgeDI9IjE1LjUiIHkyPSI4LjUiIHN0cm9rZT0iIzExMTExMSI+PC9saW5lPjwvZz48L3N2Zz4=",print:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIHBvaW50cz0iMy41IDMuNSAzLjUgMC41IDEyLjUgMC41IDEyLjUgMy41IiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPHBvbHlsaW5lIHBvaW50cz0iMy41IDEyLjUgMC41IDEyLjUgMC41IDUuNSAxNS41IDUuNSAxNS41IDEyLjUgMTIuNSAxMi41IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPiA8cmVjdCB4PSIzLjUiIHk9IjkuNSIgd2lkdGg9IjkiIGhlaWdodD0iNiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L2c+PC9zdmc+",question:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBmaWxsPSIjMTExMTExIj48Y2lyY2xlIGRhdGEtY29sb3I9ImNvbG9yLTIiIGN4PSI4IiBjeT0iMTMuNSIgcj0iMS41Ii8+IDxwYXRoIGZpbGw9IiMxMTExMTEiIGQ9Ik04LDBDNi4zMDksMCw0Ljc5MiwxLjA3Miw0LjIyOSwyLjY2N0wzLjg5NSwzLjYwOUw1Ljc4LDQuMjc2bDAuMzMzLTAuOTQzQzYuMzk2LDIuNTM2LDcuMTU0LDIsOCwyIGMxLjEwMywwLDIsMC44OTcsMiwyYzAsMC42MzItMC4yNDUsMC44MzktMC45NTIsMS4zNDdDOC4xODQsNS45NjcsNyw2LjgxNyw3LDl2MWgyVjljMC0xLjE1NywwLjQ4Mi0xLjUwMywxLjIxNC0yLjAyOCBDMTAuOTY4LDYuNDMxLDEyLDUuNjksMTIsNEMxMiwxLjc5NCwxMC4yMDYsMCw4LDB6Ii8+PC9nPjwvc3ZnPg==",reload:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik0xLjUsNy41IGMwLTMuODY2LDMuMTM0LTcsNy03YzIuNjM2LDAsNC44MjgsMS42NDEsNiw0Ij48L3BhdGg+IDxwb2x5bGluZSBwb2ludHM9IjE0LjUsMC41IDE0LjUsNC41IDEwLjUsNC41ICI+PC9wb2x5bGluZT4gPHBhdGggZD0iTTE1LjUsOC41IGMwLDMuODY2LTMuMTM0LDctNyw3Yy0yLjYzNiwwLTQuODI4LTEuNjQxLTYtNCIgc3Ryb2tlPSIjMTExMTExIj48L3BhdGg+IDxwb2x5bGluZSBwb2ludHM9IjIuNSwxNS41IDIuNSwxMS41IDYuNSwxMS41ICIgc3Ryb2tlPSIjMTExMTExIj48L3BvbHlsaW5lPjwvZz48L3N2Zz4=",restore:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik0wLjUsNS41bDUtNXYzIGMzLjE1NiwwLDcsMS44NTQsNyw3Yy0xLjU1OS0yLjUyMy00LjUtMy03LTN2M0wwLjUsNS41eiIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMC41LDEwLjV2NCBjMCwwLjU1MiwwLjQ0OCwxLDEsMWgxM2MwLjU1MiwwLDEtMC40NDgsMS0xdi0xMWMwLTAuNTUyLTAuNDQ4LTEtMS0xaC0yIi8+PC9nPjwvc3ZnPg==","star-empty":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyAgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCwgMCkiPjxwb2x5Z29uIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzM0MzQzNCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iMTIsMi42IDE1LDkgMjEuNCw5IDE2LjcsMTMuOSAxOC42LDIxLjQgMTIsMTcuNiA1LjQsMjEuNCA3LjMsMTMuOSAyLjYsOSA5LDkgIiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PC9nPjwvc3ZnPg==","star-full":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyA+PHBhdGggZmlsbD0iIzM0MzQzNCIgZD0iTTEyLjcxMiwxLjk0MmwyLjk2OSw2LjAxNWw2LjYzOCwwLjk2NWMwLjY1MSwwLjA5NSwwLjkxMSwwLjg5NSwwLjQ0LDEuMzU0bC00LjgwNCw0LjY4MmwxLjEzNCw2LjYxMmMwLjExMSwwLjY0OS0wLjU3LDEuMTQzLTEuMTUyLDAuODM3TDEyLDE5LjI4NmwtNS45MzgsMy4xMjJDNS40OCwyMi43MTQsNC43OTksMjIuMjE5LDQuOTEsMjEuNTdsMS4xMzQtNi42MTJsLTQuODA0LTQuNjgyYy0wLjQ3MS0wLjQ1OS0wLjIxMS0xLjI2LDAuNDQtMS4zNTRsNi42MzgtMC45NjVsMi45NjktNi4wMTVDMTEuNTc5LDEuMzUyLDEyLjQyMSwxLjM1MiwxMi43MTIsMS45NDJ6Ii8+PC9nPjwvc3ZnPg==",subscript:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIHBvaW50cz0iMi41IDQuNSAyLjUgMi41IDEyLjUgMi41IDEyLjUgNC41IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wb2x5bGluZT4gPGxpbmUgeDE9IjcuNSIgeTE9IjIuNSIgeDI9IjcuNSIgeTI9IjEzLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+IDxsaW5lIHgxPSI1LjUiIHkxPSIxMy41IiB4Mj0iOS41IiB5Mj0iMTMuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvbGluZT4gPHBhdGggZD0iTTE1LDE1LjMyNEgxMS45MDd2LS43NThsMS4wNC0xLjA1M3EuNDQ3LS40NjUuNTg0LS42MzZhMS40MzcsMS40MzcsMCwwLDAsLjE5MS0uMjkzLjY1LjY1LDAsMCwwLC4wNTMtLjI1Ny4zMzUuMzM1LDAsMCwwLS4xMDctLjI2Mi40NDQuNDQ0LDAsMCwwLS4zLS4xLjgyLjgyLDAsMCwwLS40MDYuMTE1LDIuOTM1LDIuOTM1LDAsMCwwLS40NjUuMzRsLS42MzMtLjc0MWEzLjQ1NCwzLjQ1NCwwLDAsMSwuNTU0LS40MjEsMS45NzIsMS45NzIsMCwwLDEsLjQ4OC0uMTkzQTIuMzU0LDIuMzU0LDAsMCwxLDEzLjUsMTFhMS44LDEuOCwwLDAsMSwuNzM5LjE0NiwxLjE1NSwxLjE1NSwwLDAsMSwuNS40MTYsMS4wNjMsMS4wNjMsMCwwLDEsLjE3OS42LDEuNTcyLDEuNTcyLDAsMCwxLS4yNTYuODgzLDIuOTQzLDIuOTQzLDAsMCwxLS4zNDkuNDMzcS0uMjE4LjIyNi0uOTI1Ljg2M3YuMDI5SDE1WiIgZGF0YS1jYXA9ImJ1dHQiIGRhdGEtY29sb3I9ImNvbG9yLTIiIGRhdGEtc3Ryb2tlPSJub25lIiBzdHJva2U9Im5vbmUiPjwvcGF0aD48L2c+PC9zdmc+",superscript:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIHBvaW50cz0iMC41IDQuNSAwLjUgMi41IDEwLjUgMi41IDEwLjUgNC41IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wb2x5bGluZT4gPGxpbmUgeDE9IjUuNSIgeTE9IjIuNSIgeDI9IjUuNSIgeTI9IjEzLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+IDxsaW5lIHgxPSIzLjUiIHkxPSIxMy41IiB4Mj0iNy41IiB5Mj0iMTMuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvbGluZT4gPHBhdGggZD0iTTE2LDQuMzI0SDEyLjkwN1YzLjU2NmwxLjA0LTEuMDUzcS40NDctLjQ2NS41ODQtLjYzNmExLjQzNywxLjQzNywwLDAsMCwuMTkxLS4yOTMuNjUuNjUsMCwwLDAsLjA1My0uMjU3LjMzNS4zMzUsMCwwLDAtLjEwNy0uMjYyLjQ0NC40NDQsMCwwLDAtLjMtLjEuODIuODIsMCwwLDAtLjQwNi4xMTUsMi45MzUsMi45MzUsMCwwLDAtLjQ2NS4zNEwxMi44Ni42ODJhMy40NTQsMy40NTQsMCwwLDEsLjU1NC0uNDIxQTEuOTcyLDEuOTcyLDAsMCwxLDEzLjkuMDY4LDIuMzU0LDIuMzU0LDAsMCwxLDE0LjUsMGExLjgsMS44LDAsMCwxLC43MzkuMTQ2LDEuMTU1LDEuMTU1LDAsMCwxLC41LjQxNiwxLjA2MywxLjA2MywwLDAsMSwuMTc5LjYsMS42MjcsMS42MjcsMCwwLDEtLjA2My40NjQsMS42NCwxLjY0LDAsMCwxLS4xOTMuNDE5LDIuOTQzLDIuOTQzLDAsMCwxLS4zNDkuNDMzcS0uMjE4LjIyNi0uOTI1Ljg2M3YuMDI5SDE2WiIgZGF0YS1jYXA9ImJ1dHQiIGRhdGEtY29sb3I9ImNvbG9yLTIiIGRhdGEtc3Ryb2tlPSJub25lIiBzdHJva2U9Im5vbmUiPjwvcGF0aD48L2c+PC9zdmc+",trash:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTIuNSw2LjV2NyBjMCwxLjEwNSwwLjg5NSwyLDIsMmg4YzEuMTA1LDAsMi0wLjg5NSwyLTJ2LTciLz4gPGxpbmUgZGF0YS1jb2xvcj0iY29sb3ItMiIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIxLjUiIHkxPSIzLjUiIHgyPSIxNS41IiB5Mj0iMy41Ii8+IDxwb2x5bGluZSBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgcG9pbnRzPSIgNi41LDMuNSA2LjUsMC41IDEwLjUsMC41IDEwLjUsMy41ICIvPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iOC41IiB5MT0iNy41IiB4Mj0iOC41IiB5Mj0iMTIuNSIvPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMTEuNSIgeTE9IjcuNSIgeDI9IjExLjUiIHkyPSIxMi41Ii8+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSI1LjUiIHkxPSI3LjUiIHgyPSI1LjUiIHkyPSIxMi41Ii8+IDwvZz48L3N2Zz4=",underline:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgeDE9IjAuNSIgeTE9IjE1LjUiIHgyPSIxNS41IiB5Mj0iMTUuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNvbG9yPSJjb2xvci0yIj48L2xpbmU+IDxwYXRoIGQ9Ik0xMi41LDEuNVY4QTQuNSw0LjUsMCwwLDEsOCwxMi41SDhBNC41LDQuNSwwLDAsMSwzLjUsOFYxLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L3BhdGg+IDxsaW5lIHgxPSIxLjUiIHkxPSIxLjUiIHgyPSI1LjUiIHkyPSIxLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+IDxsaW5lIHgxPSIxMC41IiB5MT0iMS41IiB4Mj0iMTQuNSIgeTI9IjEuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvbGluZT48L2c+PC9zdmc+",unlink:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEyLDlsMS45NzUtMi4wMjUgYzEuMzY3LTEuMzY3LDEuMzY3LTMuNTgzLDAtNC45NWwwLDBjLTEuMzY3LTEuMzY3LTMuNTgzLTEuMzY3LTQuOTUsMEw3LDQiIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik05LDEybC0yLjAyNSwxLjk3NSBjLTEuMzY3LDEuMzY3LTMuNTgzLDEuMzY3LTQuOTUsMGwwLDBjLTEuMzY3LTEuMzY3LTEuMzY3LTMuNTgzLDAtNC45NUw0LDciIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iNSIgeTE9IjExIiB4Mj0iMTEiIHkyPSI1IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEuNSIgeTE9IjEuNSIgeDI9IjQiIHkyPSI0IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyIiB5MT0iMTIiIHgyPSIxNC41IiB5Mj0iMTQuNSIgZGF0YS1jYXA9ImJ1dHQiIGRhdGEtY29sb3I9ImNvbG9yLTIiPjwvbGluZT4gPC9nPjwvc3ZnPg==",videoplayer:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlnb24gZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iNi41LDIuNSA2LjUsNy41IDEwLjUsNSAiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPGNpcmNsZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgY3g9IjguNSIgY3k9IjExLjUiIHI9IjIiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIyLjUiIHkxPSIxMS41IiB4Mj0iNi41IiB5Mj0iMTEuNSIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyLjUiIHkxPSIxMS41IiB4Mj0iMTMuNSIgeTI9IjExLjUiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTMgYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiIvPjwvZz48L3N2Zz4="},c=e=>{var t=!!a.hasOwnProperty(e.type)&&a[e.type];if(!t)return null;var r=e.title,c=e.className?"wprm-admin-icon ".concat(e.className):"wprm-admin-icon",u=!!e.hasOwnProperty("hidden")&&e.hidden;return u&&(r="",c+=" wprm-admin-icon-hidden"),n.createElement(o.Z,{content:r},n.createElement("span",{className:c,onClick:u?()=>{}:e.onClick},n.createElement(i.Z,{src:t})))}},34133:function(e,t,r){"use strict";var n=r(89526);t.Z=e=>n.createElement("div",{className:"wprm-admin-loader"})},95075:function(e,t,r){"use strict";var n=r(89526),i=r(20877);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.Z=e=>{if(!e.content)return e.children;var t=e.hasOwnProperty("style")?e.style:{};return n.createElement(i.Tooltip,{html:n.createElement("div",{dangerouslySetInnerHTML:{__html:e.content}}),popperOptions:{modifiers:{addZIndex:{enabled:!0,order:810,fn:e=>a(a({},e),{},{styles:a(a({},e.styles),{},{zIndex:1e5})})},preventOverflow:{boundariesElement:"window"}}},style:t},e.children)}},52082:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{S:function(){return c}});var a={};function c(e){return a.hasOwnProperty(e)?a[e]:e}window.hasOwnProperty("wprm_public")&&wprm_public.hasOwnProperty("translations")&&(a=i(i({},a),wprm_public.translations)),window.hasOwnProperty("wprm_admin")&&wprm_admin.hasOwnProperty("translations")&&(a=i(i({},a),wprm_admin.translations))},64403:function(e,t){var r;
2
  /*!
3
  Copyright (c) 2017 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
+ */!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=i.apply(null,r);a&&e.push(a)}else if("object"===o)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},28641:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},13350:function(e,t,r){"use strict";var n=r(91140).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},9519:function(e){e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},83875:function(e,t,r){var n=r(52786);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},37190:function(e,t,r){var n=r(29580),i=r(35108),o=r(32565),a=function(e){return function(t,r,a){var c,u=n(t),s=i(u.length),l=o(a,s);if(e&&r!=r){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},54324:function(e,t,r){"use strict";var n=r(79044);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},5673:function(e,t,r){var n=r(7493),i=r(79044),o=r(40454),a=Object.defineProperty,c={},u=function(e){throw e};e.exports=function(e,t){if(o(c,e))return c[e];t||(t={});var r=[][e],s=!!o(t,"ACCESSORS")&&t.ACCESSORS,l=o(t,0)?t[0]:u,f=o(t,1)?t[1]:void 0;return c[e]=!!r&&!i((function(){if(s&&!n)return!0;var e={length:-1};s?a(e,1,{enumerable:!0,get:u}):e[1]=1,r.call(e,l,f)}))}},9637:function(e,t,r){var n=r(83875);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(a){var o=e.return;throw void 0!==o&&n(o.call(e)),a}}},8662:function(e,t,r){var n=r(52280)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(c){}return r}},79159:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},36994:function(e,t,r){var n=r(57301),i=r(79159),o=r(52280)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(r){}}(t=Object(e),o))?r:a?i(t):"Object"==(n=i(t))&&"function"==typeof t.callee?"Arguments":n}},73870:function(e,t,r){var n=r(40454),i=r(31561),o=r(66012),a=r(86385);e.exports=function(e,t){for(var r=i(t),c=a.f,u=o.f,s=0;s<r.length;s++){var l=r[s];n(e,l)||c(e,l,u(t,l))}}},15454:function(e,t,r){var n=r(52280)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(i){}}return!1}},45899:function(e,t,r){var n=r(7493),i=r(86385),o=r(69199);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},69199:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7493:function(e,t,r){var n=r(79044);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},92750:function(e,t,r){var n=r(98363),i=r(52786),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},53121:function(e,t,r){var n=r(82647);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},82647:function(e,t,r){var n=r(22773);e.exports=n("navigator","userAgent")||""},11197:function(e,t,r){var n,i,o=r(98363),a=r(82647),c=o.process,u=c&&c.versions,s=u&&u.v8;s?i=(n=s.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=n[1]),e.exports=i&&+i},48869:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},19882:function(e,t,r){var n=r(98363),i=r(66012).f,o=r(45899),a=r(35974),c=r(51621),u=r(73870),s=r(86291);e.exports=function(e,t){var r,l,f,p,d,h=e.target,m=e.global,v=e.stat;if(r=m?n:v?n[h]||c(h,{}):(n[h]||{}).prototype)for(l in t){if(p=t[l],f=e.noTargetGet?(d=i(r,l))&&d.value:r[l],!s(m?l:h+(v?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(e.sham||f&&f.sham)&&o(p,"sham",!0),a(r,l,p,e)}}},79044:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},81492:function(e,t,r){"use strict";r(39275);var n=r(35974),i=r(79044),o=r(52280),a=r(99749),c=r(45899),u=o("species"),s=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l="$0"==="a".replace(/./,"$0"),f=o("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),d=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));e.exports=function(e,t,r,f){var h=o(e),m=!i((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),v=m&&!i((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[h]=/./[h]),r.exec=function(){return t=!0,null},r[h](""),!t}));if(!m||!v||"replace"===e&&(!s||!l||p)||"split"===e&&!d){var y=/./[h],g=r(h,""[e],(function(e,t,r,n,i){return t.exec===a?m&&!i?{done:!0,value:y.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=g[0],w=g[1];n(String.prototype,e,b),n(RegExp.prototype,h,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}f&&c(RegExp.prototype[h],"sham",!0)}},98166:function(e,t,r){var n=r(28641);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},22773:function(e,t,r){var n=r(67290),i=r(98363),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},77193:function(e,t,r){var n=r(36994),i=r(44818),o=r(52280)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[n(e)]}},98363:function(e,t,r){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||Function("return this")()},40454:function(e){var t={}.hasOwnProperty;e.exports=function(e,r){return t.call(e,r)}},47505:function(e){e.exports={}},46271:function(e,t,r){var n=r(98363);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},47055:function(e,t,r){var n=r(22773);e.exports=n("document","documentElement")},67548:function(e,t,r){var n=r(7493),i=r(79044),o=r(92750);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},78609:function(e,t,r){var n=r(79044),i=r(79159),o="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},56429:function(e,t,r){var n=r(49415),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return i.call(e)}),e.exports=n.inspectSource},20821:function(e,t,r){var n,i,o,a=r(36830),c=r(98363),u=r(52786),s=r(45899),l=r(40454),f=r(50466),p=r(47505),d=c.WeakMap;if(a){var h=new d,m=h.get,v=h.has,y=h.set;n=function(e,t){return y.call(h,e,t),t},i=function(e){return m.call(h,e)||{}},o=function(e){return v.call(h,e)}}else{var g=f("state");p[g]=!0,n=function(e,t){return s(e,g,t),t},i=function(e){return l(e,g)?e[g]:{}},o=function(e){return l(e,g)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},68089:function(e,t,r){var n=r(52280),i=r(44818),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},86291:function(e,t,r){var n=r(79044),i=/#|\.prototype\./,o=function(e,t){var r=c[a(e)];return r==s||r!=u&&("function"==typeof t?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",s=o.POLYFILL="P";e.exports=o},52786:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},21178:function(e){e.exports=!1},42622:function(e,t,r){var n=r(52786),i=r(79159),o=r(52280)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},5166:function(e,t,r){var n=r(83875),i=r(68089),o=r(35108),a=r(98166),c=r(77193),u=r(9637),s=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,r,l,f){var p,d,h,m,v,y,g,b=a(t,r,l?2:1);if(f)p=e;else{if("function"!=typeof(d=c(e)))throw TypeError("Target is not iterable");if(i(d)){for(h=0,m=o(e.length);m>h;h++)if((v=l?b(n(g=e[h])[0],g[1]):b(e[h]))&&v instanceof s)return v;return new s(!1)}p=d.call(e)}for(y=p.next;!(g=y.call(p)).done;)if("object"==typeof(v=u(p,b,g.value,l))&&v&&v instanceof s)return v;return new s(!1)}).stop=function(e){return new s(!0,e)}},44818:function(e){e.exports={}},71800:function(e,t,r){var n,i,o,a,c,u,s,l,f=r(98363),p=r(66012).f,d=r(79159),h=r(84643).set,m=r(53121),v=f.MutationObserver||f.WebKitMutationObserver,y=f.process,g=f.Promise,b="process"==d(y),w=p(f,"queueMicrotask"),x=w&&w.value;x||(n=function(){var e,t;for(b&&(e=y.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(r){throw i?a():o=void 0,r}}o=void 0,e&&e.enter()},b?a=function(){y.nextTick(n)}:v&&!m?(c=!0,u=document.createTextNode(""),new v(n).observe(u,{characterData:!0}),a=function(){u.data=c=!c}):g&&g.resolve?(s=g.resolve(void 0),l=s.then,a=function(){l.call(s,n)}):a=function(){h.call(f,n)}),e.exports=x||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},58369:function(e,t,r){var n=r(98363);e.exports=n.Promise},3850:function(e,t,r){var n=r(79044);e.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},36830:function(e,t,r){var n=r(98363),i=r(56429),o=n.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},29269:function(e,t,r){"use strict";var n=r(28641),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},21049:function(e,t,r){var n=r(42622);e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},86385:function(e,t,r){var n=r(7493),i=r(67548),o=r(83875),a=r(21893),c=Object.defineProperty;t.f=n?c:function(e,t,r){if(o(e),t=a(t,!0),o(r),i)try{return c(e,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},66012:function(e,t,r){var n=r(7493),i=r(81513),o=r(69199),a=r(29580),c=r(21893),u=r(40454),s=r(67548),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=a(e),t=c(t,!0),s)try{return l(e,t)}catch(r){}if(u(e,t))return o(!i.f.call(e,t),e[t])}},87994:function(e,t,r){var n=r(18794),i=r(48869).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},89612:function(e,t){t.f=Object.getOwnPropertySymbols},18794:function(e,t,r){var n=r(40454),i=r(29580),o=r(37190).indexOf,a=r(47505);e.exports=function(e,t){var r,c=i(e),u=0,s=[];for(r in c)!n(a,r)&&n(c,r)&&s.push(r);for(;t.length>u;)n(c,r=t[u++])&&(~o(s,r)||s.push(r));return s}},81513:function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},31561:function(e,t,r){var n=r(22773),i=r(87994),o=r(89612),a=r(83875);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=o.f;return r?t.concat(r(e)):t}},67290:function(e,t,r){var n=r(98363);e.exports=n},74443:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},11621:function(e,t,r){var n=r(83875),i=r(52786),o=r(29269);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},7592:function(e,t,r){var n=r(35974);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},35974:function(e,t,r){var n=r(98363),i=r(45899),o=r(40454),a=r(51621),c=r(56429),u=r(20821),s=u.get,l=u.enforce,f=String(String).split("String");(e.exports=function(e,t,r,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof t||o(r,"name")||i(r,"name",t),l(r).source=f.join("string"==typeof t?t:"")),e!==n?(u?!p&&e[t]&&(s=!0):delete e[t],s?e[t]=r:i(e,t,r)):s?e[t]=r:a(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},94088:function(e,t,r){var n=r(79159),i=r(99749);e.exports=function(e,t){var r=e.exec;if("function"==typeof r){var o=r.call(e,t);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},99749:function(e,t,r){"use strict";var n,i,o=r(58083),a=r(97047),c=RegExp.prototype.exec,u=String.prototype.replace,s=c,l=(n=/a/,i=/b*/g,c.call(n,"a"),c.call(i,"a"),0!==n.lastIndex||0!==i.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(l||p||f)&&(s=function(e){var t,r,n,i,a=this,s=f&&a.sticky,d=o.call(a),h=a.source,m=0,v=e;return s&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),v=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(h="(?: "+h+")",v=" "+v,m++),r=new RegExp("^(?:"+h+")",d)),p&&(r=new RegExp("^"+h+"$(?!\\s)",d)),l&&(t=a.lastIndex),n=c.call(s?r:a,v),s?n?(n.input=n.input.slice(m),n[0]=n[0].slice(m),n.index=a.lastIndex,a.lastIndex+=n[0].length):a.lastIndex=0:l&&n&&(a.lastIndex=a.global?n.index+n[0].length:t),p&&n&&n.length>1&&u.call(n[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(n[i]=void 0)})),n}),e.exports=s},58083:function(e,t,r){"use strict";var n=r(83875);e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},97047:function(e,t,r){"use strict";var n=r(79044);function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=n((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},96411:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},51621:function(e,t,r){var n=r(98363),i=r(45899);e.exports=function(e,t){try{i(n,e,t)}catch(r){n[e]=t}return t}},57323:function(e,t,r){"use strict";var n=r(22773),i=r(86385),o=r(52280),a=r(7493),c=o("species");e.exports=function(e){var t=n(e),r=i.f;a&&t&&!t[c]&&r(t,c,{configurable:!0,get:function(){return this}})}},60878:function(e,t,r){var n=r(86385).f,i=r(40454),o=r(52280)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},50466:function(e,t,r){var n=r(53580),i=r(34524),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},49415:function(e,t,r){var n=r(98363),i=r(51621),o="__core-js_shared__",a=n[o]||i(o,{});e.exports=a},53580:function(e,t,r){var n=r(21178),i=r(49415);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},7270:function(e,t,r){var n=r(83875),i=r(28641),o=r(52280)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||null==(r=n(a)[o])?t:i(r)}},91140:function(e,t,r){var n=r(98330),i=r(96411),o=function(e){return function(t,r){var o,a,c=String(i(t)),u=n(r),s=c.length;return u<0||u>=s?e?"":void 0:(o=c.charCodeAt(u))<55296||o>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?e?c.charAt(u):o:e?c.slice(u,u+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},5167:function(e,t,r){var n=r(82647);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n)},98385:function(e,t,r){var n=r(35108),i=r(26031),o=r(96411),a=Math.ceil,c=function(e){return function(t,r,c){var u,s,l=String(o(t)),f=l.length,p=void 0===c?" ":String(c),d=n(r);return d<=f||""==p?l:(u=d-f,(s=i.call(p,a(u/p.length))).length>u&&(s=s.slice(0,u)),e?l+s:s+l)}};e.exports={start:c(!1),end:c(!0)}},26031:function(e,t,r){"use strict";var n=r(98330),i=r(96411);e.exports="".repeat||function(e){var t=String(i(this)),r="",o=n(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(r+=t);return r}},84643:function(e,t,r){var n,i,o,a=r(98363),c=r(79044),u=r(79159),s=r(98166),l=r(47055),f=r(92750),p=r(53121),d=a.location,h=a.setImmediate,m=a.clearImmediate,v=a.process,y=a.MessageChannel,g=a.Dispatch,b=0,w={},x="onreadystatechange",I=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},E=function(e){return function(){I(e)}},S=function(e){I(e.data)},M=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};h&&m||(h=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},m=function(e){delete w[e]},"process"==u(v)?n=function(e){v.nextTick(E(e))}:g&&g.now?n=function(e){g.now(E(e))}:y&&!p?(o=(i=new y).port2,i.port1.onmessage=S,n=s(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(M)||"file:"===d.protocol?n=x in f("script")?function(e){l.appendChild(f("script")).onreadystatechange=function(){l.removeChild(this),I(e)}}:function(e){setTimeout(E(e),0)}:(n=M,a.addEventListener("message",S,!1))),e.exports={set:h,clear:m}},32565:function(e,t,r){var n=r(98330),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},29580:function(e,t,r){var n=r(78609),i=r(96411);e.exports=function(e){return n(i(e))}},98330:function(e){var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},35108:function(e,t,r){var n=r(98330),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},30744:function(e,t,r){var n=r(96411);e.exports=function(e){return Object(n(e))}},21893:function(e,t,r){var n=r(52786);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},57301:function(e,t,r){var n={};n[r(52280)("toStringTag")]="z",e.exports="[object z]"===String(n)},34524:function(e){var t=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+r).toString(36)}},189:function(e,t,r){var n=r(3850);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},52280:function(e,t,r){var n=r(98363),i=r(53580),o=r(40454),a=r(34524),c=r(3850),u=r(189),s=i("wks"),l=n.Symbol,f=u?l:l&&l.withoutSetter||a;e.exports=function(e){return o(s,e)||(c&&o(l,e)?s[e]=l[e]:s[e]=f("Symbol."+e)),s[e]}},31807:function(e,t,r){"use strict";var n=r(19882),i=r(37190).indexOf,o=r(54324),a=r(5673),c=[].indexOf,u=!!c&&1/[1].indexOf(1,-0)<0,s=o("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:u||!s||!l},{indexOf:function(e){return u?c.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},35054:function(e,t,r){"use strict";var n,i,o,a,c=r(19882),u=r(21178),s=r(98363),l=r(22773),f=r(58369),p=r(35974),d=r(7592),h=r(60878),m=r(57323),v=r(52786),y=r(28641),g=r(9519),b=r(79159),w=r(56429),x=r(5166),I=r(8662),E=r(7270),S=r(84643).set,M=r(71800),O=r(11621),k=r(46271),j=r(29269),T=r(74443),D=r(20821),A=r(86291),P=r(52280),_=r(11197),N=P("species"),C="Promise",L=D.get,R=D.set,B=D.getterFor(C),U=f,z=s.TypeError,H=s.document,G=s.process,W=l("fetch"),Z=j.f,q=Z,F="process"==b(G),V=!!(H&&H.createEvent&&s.dispatchEvent),J="unhandledrejection",Y=A(C,(function(){if(!(w(U)!==String(U))){if(66===_)return!0;if(!F&&"function"!=typeof PromiseRejectionEvent)return!0}if(u&&!U.prototype.finally)return!0;if(_>=51&&/native code/.test(U))return!1;var e=U.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[N]=t,!(e.then((function(){}))instanceof t)})),X=Y||!I((function(e){U.all(e).catch((function(){}))})),Q=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},$=function(e,t,r){if(!t.notified){t.notified=!0;var n=t.reactions;M((function(){for(var i=t.value,o=1==t.state,a=0;n.length>a;){var c,u,s,l=n[a++],f=o?l.ok:l.fail,p=l.resolve,d=l.reject,h=l.domain;try{f?(o||(2===t.rejection&&re(e,t),t.rejection=1),!0===f?c=i:(h&&h.enter(),c=f(i),h&&(h.exit(),s=!0)),c===l.promise?d(z("Promise-chain cycle")):(u=Q(c))?u.call(c,p,d):p(c)):d(i)}catch(m){h&&!s&&h.exit(),d(m)}}t.reactions=[],t.notified=!1,r&&!t.rejection&&ee(e,t)}))}},K=function(e,t,r){var n,i;V?((n=H.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),s.dispatchEvent(n)):n={promise:t,reason:r},(i=s["on"+e])?i(n):e===J&&k("Unhandled promise rejection",r)},ee=function(e,t){S.call(s,(function(){var r,n=t.value;if(te(t)&&(r=T((function(){F?G.emit("unhandledRejection",n,e):K(J,e,n)})),t.rejection=F||te(t)?2:1,r.error))throw r.value}))},te=function(e){return 1!==e.rejection&&!e.parent},re=function(e,t){S.call(s,(function(){F?G.emit("rejectionHandled",e):K("rejectionhandled",e,t.value)}))},ne=function(e,t,r,n){return function(i){e(t,r,i,n)}},ie=function(e,t,r,n){t.done||(t.done=!0,n&&(t=n),t.value=r,t.state=2,$(e,t,!0))},oe=function(e,t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(e===r)throw z("Promise can't be resolved itself");var i=Q(r);i?M((function(){var n={done:!1};try{i.call(r,ne(oe,e,n,t),ne(ie,e,n,t))}catch(o){ie(e,n,o,t)}})):(t.value=r,t.state=1,$(e,t,!1))}catch(o){ie(e,{done:!1},o,t)}}};Y&&(U=function(e){g(this,U,C),y(e),n.call(this);var t=L(this);try{e(ne(oe,this,t),ne(ie,this,t))}catch(r){ie(this,t,r)}},(n=function(e){R(this,{type:C,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(U.prototype,{then:function(e,t){var r=B(this),n=Z(E(this,U));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=F?G.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&$(this,r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=L(e);this.promise=e,this.resolve=ne(oe,e,t),this.reject=ne(ie,e,t)},j.f=Z=function(e){return e===U||e===o?new i(e):q(e)},u||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(e,t){var r=this;return new U((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof W&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return O(U,W.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:Y},{Promise:U}),h(U,C,!1,!0),m(C),o=l(C),c({target:C,stat:!0,forced:Y},{reject:function(e){var t=Z(this);return t.reject.call(void 0,e),t.promise}}),c({target:C,stat:!0,forced:u||Y},{resolve:function(e){return O(u&&this===o?U:this,e)}}),c({target:C,stat:!0,forced:X},{all:function(e){var t=this,r=Z(t),n=r.resolve,i=r.reject,o=T((function(){var r=y(t.resolve),o=[],a=0,c=1;x(e,(function(e){var u=a++,s=!1;o.push(void 0),c++,r.call(t,e).then((function(e){s||(s=!0,o[u]=e,--c||n(o))}),i)})),--c||n(o)}));return o.error&&i(o.value),r.promise},race:function(e){var t=this,r=Z(t),n=r.reject,i=T((function(){var i=y(t.resolve);x(e,(function(e){i.call(t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},39275:function(e,t,r){"use strict";var n=r(19882),i=r(99749);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},19985:function(e,t,r){"use strict";var n=r(19882),i=r(21049),o=r(96411);n({target:"String",proto:!0,forced:!r(15454)("includes")},{includes:function(e){return!!~String(o(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},21682:function(e,t,r){"use strict";var n=r(19882),i=r(98385).start;n({target:"String",proto:!0,forced:r(5167)},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},22321:function(e,t,r){"use strict";var n=r(81492),i=r(83875),o=r(30744),a=r(35108),c=r(98330),u=r(96411),s=r(13350),l=r(94088),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(e,t,r,n){var v=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=n.REPLACE_KEEPS_$0,g=v?"$":"$0";return[function(r,n){var i=u(this),o=null==r?void 0:r[e];return void 0!==o?o.call(r,i,n):t.call(String(i),r,n)},function(e,n){if(!v&&y||"string"==typeof n&&-1===n.indexOf(g)){var o=r(t,e,this,n);if(o.done)return o.value}var u=i(e),d=String(this),h="function"==typeof n;h||(n=String(n));var m=u.global;if(m){var w=u.unicode;u.lastIndex=0}for(var x=[];;){var I=l(u,d);if(null===I)break;if(x.push(I),!m)break;""===String(I[0])&&(u.lastIndex=s(d,a(u.lastIndex),w))}for(var E,S="",M=0,O=0;O<x.length;O++){I=x[O];for(var k=String(I[0]),j=f(p(c(I.index),d.length),0),T=[],D=1;D<I.length;D++)T.push(void 0===(E=I[D])?E:String(E));var A=I.groups;if(h){var P=[k].concat(T,j,d);void 0!==A&&P.push(A);var _=String(n.apply(void 0,P))}else _=b(k,d,j,T,A,n);j>=M&&(S+=d.slice(M,j)+_,M=j+k.length)}return S+d.slice(M)}];function b(e,r,n,i,a,c){var u=n+e.length,s=i.length,l=m;return void 0!==a&&(a=o(a),l=h),t.call(c,l,(function(t,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return r.slice(0,n);case"'":return r.slice(u);case"<":c=a[o.slice(1,-1)];break;default:var l=+o;if(0===l)return t;if(l>s){var f=d(l/10);return 0===f?t:f<=s?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):t}c=i[l-1]}return void 0===c?"":c}))}}))},68598:function(e){var t={px:{px:1,cm:96/2.54,mm:96/25.4,in:96,pt:96/72,pc:16},cm:{px:2.54/96,cm:1,mm:.1,in:2.54,pt:2.54/72,pc:2.54/6},mm:{px:25.4/96,cm:10,mm:1,in:25.4,pt:25.4/72,pc:25.4/6},in:{px:1/96,cm:1/2.54,mm:1/25.4,in:1,pt:1/72,pc:1/6},pt:{px:.75,cm:72/2.54,mm:72/25.4,in:72,pt:1,pc:12},pc:{px:6/96,cm:6/2.54,mm:6/25.4,in:6,pt:6/72,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:400/360,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:2*Math.PI},turn:{deg:1/360,grad:1/400,rad:.5/Math.PI,turn:1},s:{s:1,ms:.001},ms:{s:1e3,ms:1},Hz:{Hz:1,kHz:1e3},kHz:{Hz:.001,kHz:1},dpi:{dpi:1,dpcm:1/2.54,dppx:1/96},dpcm:{dpi:2.54,dpcm:1,dppx:2.54/96},dppx:{dpi:96,dpcm:96/2.54,dppx:1}};e.exports=function(e,r,n,i){if(!t.hasOwnProperty(n))throw new Error("Cannot convert to "+n);if(!t[n].hasOwnProperty(r))throw new Error("Cannot convert from "+r+" to "+n);return i=Math.pow(10,parseInt(i)||5),Math.round(t[n][r]*e*i)/i}},26058:function(e,t,r){var n;/*! decimal.js-light v2.5.1 https://github.com/MikeMcl/decimal.js-light/LICENCE */!function(i){"use strict";var o,a=1e9,c={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},u=!0,s="[DecimalError] ",l=s+"Invalid argument: ",f=s+"Exponent out of range: ",p=Math.floor,d=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,m=1e7,v=9007199254740991,y=p(1286742750677284.5),g={};function b(e,t){var r,n,i,o,a,c,s,l,f=e.constructor,p=f.precision;if(!e.s||!t.s)return t.s||(t=new f(e)),u?T(t,p):t;if(s=e.d,l=t.d,a=e.e,i=t.e,s=s.slice(),o=a-i){for(o<0?(n=s,o=-o,c=l.length):(n=l,i=a,c=s.length),o>(c=(a=Math.ceil(p/7))>c?a+1:c+1)&&(o=c,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for((c=s.length)-(o=l.length)<0&&(o=c,n=l,l=s,s=n),r=0;o;)r=(s[--o]=s[o]+l[o]+r)/m|0,s[o]%=m;for(r&&(s.unshift(r),++i),c=s.length;0==s[--c];)s.pop();return t.d=s,t.e=i,u?T(t,p):t}function w(e,t,r){if(e!==~~e||e<t||e>r)throw Error(l+e)}function x(e){var t,r,n,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;t<i;t++)(r=7-(n=e[t]+"").length)&&(o+=O(r)),o+=n;(r=7-(n=(a=e[t])+"").length)&&(o+=O(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}g.absoluteValue=g.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},g.comparedTo=g.cmp=function(e){var t,r,n,i,o=this;if(e=new o.constructor(e),o.s!==e.s)return o.s||-e.s;if(o.e!==e.e)return o.e>e.e^o.s<0?1:-1;for(t=0,r=(n=o.d.length)<(i=e.d.length)?n:i;t<r;++t)if(o.d[t]!==e.d[t])return o.d[t]>e.d[t]^o.s<0?1:-1;return n===i?0:n>i^o.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this,t=e.d.length-1,r=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)r--;return r<0?0:r},g.dividedBy=g.div=function(e){return I(this,new this.constructor(e))},g.dividedToIntegerBy=g.idiv=function(e){var t=this.constructor;return T(I(this,new t(e),0,1),t.precision)},g.equals=g.eq=function(e){return!this.cmp(e)},g.exponent=function(){return S(this)},g.greaterThan=g.gt=function(e){return this.cmp(e)>0},g.greaterThanOrEqualTo=g.gte=function(e){return this.cmp(e)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return 0===this.s},g.lessThan=g.lt=function(e){return this.cmp(e)<0},g.lessThanOrEqualTo=g.lte=function(e){return this.cmp(e)<1},g.logarithm=g.log=function(e){var t,r=this,n=r.constructor,i=n.precision,a=i+5;if(void 0===e)e=new n(10);else if((e=new n(e)).s<1||e.eq(o))throw Error(s+"NaN");if(r.s<1)throw Error(s+(r.s?"NaN":"-Infinity"));return r.eq(o)?new n(0):(u=!1,t=I(k(r,a),k(e,a),a),u=!0,T(t,i))},g.minus=g.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?D(t,e):b(t,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(!(e=new n(e)).s)throw Error(s+"NaN");return r.s?(u=!1,t=I(r,e,0,1).times(e),u=!0,r.minus(t)):T(new n(r),i)},g.naturalExponential=g.exp=function(){return E(this)},g.naturalLogarithm=g.ln=function(){return k(this)},g.negated=g.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},g.plus=g.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?b(t,e):D(t,(e.s=-e.s,e))},g.precision=g.sd=function(e){var t,r,n,i=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(l+e);if(t=S(i)+1,r=7*(n=i.d.length-1)+1,n=i.d[n]){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return e&&t>r?t:r},g.squareRoot=g.sqrt=function(){var e,t,r,n,i,o,a,c=this,l=c.constructor;if(c.s<1){if(!c.s)return new l(0);throw Error(s+"NaN")}for(e=S(c),u=!1,0==(i=Math.sqrt(+c))||i==1/0?(((t=x(c.d)).length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=p((e+1)/2)-(e<0||e%2),n=new l(t=i==1/0?"5e"+e:(t=i.toExponential()).slice(0,t.indexOf("e")+1)+e)):n=new l(i.toString()),i=a=(r=l.precision)+3;;)if(n=(o=n).plus(I(c,o,a+2)).times(.5),x(o.d).slice(0,a)===(t=x(n.d)).slice(0,a)){if(t=t.slice(a-3,a+1),i==a&&"4999"==t){if(T(o,r+1,0),o.times(o).eq(c)){n=o;break}}else if("9999"!=t)break;a+=4}return u=!0,T(n,r)},g.times=g.mul=function(e){var t,r,n,i,o,a,c,s,l,f=this,p=f.constructor,d=f.d,h=(e=new p(e)).d;if(!f.s||!e.s)return new p(0);for(e.s*=f.s,r=f.e+e.e,(s=d.length)<(l=h.length)&&(o=d,d=h,h=o,a=s,s=l,l=a),o=[],n=a=s+l;n--;)o.push(0);for(n=l;--n>=0;){for(t=0,i=s+n;i>n;)c=o[i]+h[n]*d[i-n-1]+t,o[i--]=c%m|0,t=c/m|0;o[i]=(o[i]+t)%m|0}for(;!o[--a];)o.pop();return t?++r:o.shift(),e.d=o,e.e=r,u?T(e,p.precision):e},g.toDecimalPlaces=g.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),void 0===e?r:(w(e,0,a),void 0===t?t=n.rounding:w(t,0,8),T(r,e+S(r)+1,t))},g.toExponential=function(e,t){var r,n=this,i=n.constructor;return void 0===e?r=A(n,!0):(w(e,0,a),void 0===t?t=i.rounding:w(t,0,8),r=A(n=T(new i(n),e+1,t),!0,e+1)),r},g.toFixed=function(e,t){var r,n,i=this,o=i.constructor;return void 0===e?A(i):(w(e,0,a),void 0===t?t=o.rounding:w(t,0,8),r=A((n=T(new o(i),e+S(i)+1,t)).abs(),!1,e+S(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)},g.toInteger=g.toint=function(){var e=this,t=e.constructor;return T(new t(e),S(e)+1,t.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(e){var t,r,n,i,a,c,l=this,f=l.constructor,d=+(e=new f(e));if(!e.s)return new f(o);if(!(l=new f(l)).s){if(e.s<1)throw Error(s+"Infinity");return l}if(l.eq(o))return l;if(n=f.precision,e.eq(o))return T(l,n);if(c=(t=e.e)>=(r=e.d.length-1),a=l.s,c){if((r=d<0?-d:d)<=v){for(i=new f(o),t=Math.ceil(n/7+4),u=!1;r%2&&P((i=i.times(l)).d,t),0!==(r=p(r/2));)P((l=l.times(l)).d,t);return u=!0,e.s<0?new f(o).div(i):T(i,n)}}else if(a<0)throw Error(s+"NaN");return a=a<0&&1&e.d[Math.max(t,r)]?-1:1,l.s=1,u=!1,i=e.times(k(l,n+12)),u=!0,(i=E(i)).s=a,i},g.toPrecision=function(e,t){var r,n,i=this,o=i.constructor;return void 0===e?n=A(i,(r=S(i))<=o.toExpNeg||r>=o.toExpPos):(w(e,1,a),void 0===t?t=o.rounding:w(t,0,8),n=A(i=T(new o(i),e,t),e<=(r=S(i))||r<=o.toExpNeg,e)),n},g.toSignificantDigits=g.tosd=function(e,t){var r=this.constructor;return void 0===e?(e=r.precision,t=r.rounding):(w(e,1,a),void 0===t?t=r.rounding:w(t,0,8)),T(new r(this),e,t)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=this,t=S(e),r=e.constructor;return A(e,t<=r.toExpNeg||t>=r.toExpPos)};var I=function(){function e(e,t){var r,n=0,i=e.length;for(e=e.slice();i--;)r=e[i]*t+n,e[i]=r%m|0,n=r/m|0;return n&&e.unshift(n),e}function t(e,t,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function r(e,t,r){for(var n=0;r--;)e[r]-=n,n=e[r]<t[r]?1:0,e[r]=n*m+e[r]-t[r];for(;!e[0]&&e.length>1;)e.shift()}return function(n,i,o,a){var c,u,l,f,p,d,h,v,y,g,b,w,x,I,E,M,O,k,j=n.constructor,D=n.s==i.s?1:-1,A=n.d,P=i.d;if(!n.s)return new j(n);if(!i.s)throw Error(s+"Division by zero");for(u=n.e-i.e,O=P.length,E=A.length,v=(h=new j(D)).d=[],l=0;P[l]==(A[l]||0);)++l;if(P[l]>(A[l]||0)&&--u,(w=null==o?o=j.precision:a?o+(S(n)-S(i))+1:o)<0)return new j(0);if(w=w/7+2|0,l=0,1==O)for(f=0,P=P[0],w++;(l<E||f)&&w--;l++)x=f*m+(A[l]||0),v[l]=x/P|0,f=x%P|0;else{for((f=m/(P[0]+1)|0)>1&&(P=e(P,f),A=e(A,f),O=P.length,E=A.length),I=O,g=(y=A.slice(0,O)).length;g<O;)y[g++]=0;(k=P.slice()).unshift(0),M=P[0],P[1]>=m/2&&++M;do{f=0,(c=t(P,y,O,g))<0?(b=y[0],O!=g&&(b=b*m+(y[1]||0)),(f=b/M|0)>1?(f>=m&&(f=m-1),1==(c=t(p=e(P,f),y,d=p.length,g=y.length))&&(f--,r(p,O<d?k:P,d))):(0==f&&(c=f=1),p=P.slice()),(d=p.length)<g&&p.unshift(0),r(y,p,g),-1==c&&(c=t(P,y,O,g=y.length))<1&&(f++,r(y,O<g?k:P,g)),g=y.length):0===c&&(f++,y=[0]),v[l++]=f,c&&y[0]?y[g++]=A[I]||0:(y=[A[I]],g=1)}while((I++<E||void 0!==y[0])&&w--)}return v[0]||v.shift(),h.e=u,T(h,a?o+S(h)+1:o)}}();function E(e,t){var r,n,i,a,c,s=0,l=0,p=e.constructor,h=p.precision;if(S(e)>16)throw Error(f+S(e));if(!e.s)return new p(o);for(null==t?(u=!1,c=h):c=t,a=new p(.03125);e.abs().gte(.1);)e=e.times(a),l+=5;for(c+=Math.log(d(2,l))/Math.LN10*2+5|0,r=n=i=new p(o),p.precision=c;;){if(n=T(n.times(e),c),r=r.times(++s),x((a=i.plus(I(n,r,c))).d).slice(0,c)===x(i.d).slice(0,c)){for(;l--;)i=T(i.times(i),c);return p.precision=h,null==t?(u=!0,T(i,h)):i}i=a}}function S(e){for(var t=7*e.e,r=e.d[0];r>=10;r/=10)t++;return t}function M(e,t,r){if(t>e.LN10.sd())throw u=!0,r&&(e.precision=r),Error(s+"LN10 precision limit exceeded");return T(new e(e.LN10),t)}function O(e){for(var t="";e--;)t+="0";return t}function k(e,t){var r,n,i,a,c,l,f,p,d,h=1,m=e,v=m.d,y=m.constructor,g=y.precision;if(m.s<1)throw Error(s+(m.s?"NaN":"-Infinity"));if(m.eq(o))return new y(0);if(null==t?(u=!1,p=g):p=t,m.eq(10))return null==t&&(u=!0),M(y,p);if(p+=10,y.precision=p,n=(r=x(v)).charAt(0),a=S(m),!(Math.abs(a)<15e14))return f=M(y,p+2,g).times(a+""),m=k(new y(n+"."+r.slice(1)),p-10).plus(f),y.precision=g,null==t?(u=!0,T(m,g)):m;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=x((m=m.times(e)).d)).charAt(0),h++;for(a=S(m),n>1?(m=new y("0."+r),a++):m=new y(n+"."+r.slice(1)),l=c=m=I(m.minus(o),m.plus(o),p),d=T(m.times(m),p),i=3;;){if(c=T(c.times(d),p),x((f=l.plus(I(c,new y(i),p))).d).slice(0,p)===x(l.d).slice(0,p))return l=l.times(2),0!==a&&(l=l.plus(M(y,p+2,g).times(a+""))),l=I(l,new y(h),p),y.precision=g,null==t?(u=!0,T(l,g)):l;l=f,i+=2}}function j(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;48===t.charCodeAt(n);)++n;for(i=t.length;48===t.charCodeAt(i-1);)--i;if(t=t.slice(n,i)){if(i-=n,r=r-n-1,e.e=p(r/7),e.d=[],n=(r+1)%7,r<0&&(n+=7),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=7;n<i;)e.d.push(+t.slice(n,n+=7));n=7-(t=t.slice(n)).length}else n-=i;for(;n--;)t+="0";if(e.d.push(+t),u&&(e.e>y||e.e<-y))throw Error(f+r)}else e.s=0,e.e=0,e.d=[0];return e}function T(e,t,r){var n,i,o,a,c,s,l,h,v=e.d;for(a=1,o=v[0];o>=10;o/=10)a++;if((n=t-a)<0)n+=7,i=t,l=v[h=0];else{if((h=Math.ceil((n+1)/7))>=(o=v.length))return e;for(l=o=v[h],a=1;o>=10;o/=10)a++;i=(n%=7)-7+a}if(void 0!==r&&(c=l/(o=d(10,a-i-1))%10|0,s=t<0||void 0!==v[h+1]||l%o,s=r<4?(c||s)&&(0==r||r==(e.s<0?3:2)):c>5||5==c&&(4==r||s||6==r&&(n>0?i>0?l/d(10,a-i):0:v[h-1])%10&1||r==(e.s<0?8:7))),t<1||!v[0])return s?(o=S(e),v.length=1,t=t-o-1,v[0]=d(10,(7-t%7)%7),e.e=p(-t/7)||0):(v.length=1,v[0]=e.e=e.s=0),e;if(0==n?(v.length=h,o=1,h--):(v.length=h+1,o=d(10,7-n),v[h]=i>0?(l/d(10,a-i)%d(10,i)|0)*o:0),s)for(;;){if(0==h){(v[0]+=o)==m&&(v[0]=1,++e.e);break}if(v[h]+=o,v[h]!=m)break;v[h--]=0,o=1}for(n=v.length;0===v[--n];)v.pop();if(u&&(e.e>y||e.e<-y))throw Error(f+S(e));return e}function D(e,t){var r,n,i,o,a,c,s,l,f,p,d=e.constructor,h=d.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new d(e),u?T(t,h):t;if(s=e.d,p=t.d,n=t.e,l=e.e,s=s.slice(),a=l-n){for((f=a<0)?(r=s,a=-a,c=p.length):(r=p,n=l,c=s.length),a>(i=Math.max(Math.ceil(h/7),c)+2)&&(a=i,r.length=1),r.reverse(),i=a;i--;)r.push(0);r.reverse()}else{for((f=(i=s.length)<(c=p.length))&&(c=i),i=0;i<c;i++)if(s[i]!=p[i]){f=s[i]<p[i];break}a=0}for(f&&(r=s,s=p,p=r,t.s=-t.s),c=s.length,i=p.length-c;i>0;--i)s[c++]=0;for(i=p.length;i>a;){if(s[--i]<p[i]){for(o=i;o&&0===s[--o];)s[o]=m-1;--s[o],s[i]+=m}s[i]-=p[i]}for(;0===s[--c];)s.pop();for(;0===s[0];s.shift())--n;return s[0]?(t.d=s,t.e=n,u?T(t,h):t):new d(0)}function A(e,t,r){var n,i=S(e),o=x(e.d),a=o.length;return t?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+O(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+O(-i-1)+o,r&&(n=r-a)>0&&(o+=O(n))):i>=a?(o+=O(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+O(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=O(n))),e.s<0?"-"+o:o}function P(e,t){if(e.length>t)return e.length=t,!0}function _(e){if(!e||"object"!=typeof e)throw Error(s+"Object expected");var t,r,n,i=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if(void 0!==(n=e[r=i[t]])){if(!(p(n)===n&&n>=i[t+1]&&n<=i[t+2]))throw Error(l+r+": "+n);this[r]=n}if(void 0!==(n=e[r="LN10"])){if(n!=Math.LN10)throw Error(l+r+": "+n);this[r]=new this(n)}return this}(c=function e(t){var r,n,i;function o(e){var t=this;if(!(t instanceof o))return new o(e);if(t.constructor=o,e instanceof o)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(l+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):j(t,e.toString())}if("string"!=typeof e)throw Error(l+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!h.test(e))throw Error(l+e);j(t,e)}if(o.prototype=g,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=e,o.config=o.set=_,void 0===t&&(t={}),t)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<i.length;)t.hasOwnProperty(n=i[r++])||(t[n]=this[n]);return o.config(t),o}(c)).default=c.Decimal=c,o=new c(1),void 0===(n=function(){return c}.call(t,r,t,e))||(e.exports=n)}()},37941:function(e,t,r){var n;
7
  /*!
8
  Copyright (c) 2015 Jed Watson.
9
  Based on code that is Copyright 2013-2015, Facebook, Inc.
10
  All rights reserved.
11
+ */!function(){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0===(n=function(){return o}.call(t,r,t,e))||(e.exports=n)}()},44287:function(e,t){!function(e){"use strict";var t="function"==typeof WeakSet,r=Object.keys;function n(e,t){return e===t||e!=e&&t!=t}function i(e){return e.constructor===Object||null==e.constructor}function o(e){return!!e&&"function"==typeof e.then}function a(e){return!(!e||!e.$$typeof)}function c(){var e=[];return{add:function(t){e.push(t)},has:function(t){return-1!==e.indexOf(t)}}}var u=t?function(){return new WeakSet}:c;function s(e){return function(t){var r=e||t;return function(e,t,n){void 0===n&&(n=u());var i=!!e&&"object"==typeof e,o=!!t&&"object"==typeof t;if(i||o){var a=i&&n.has(e),c=o&&n.has(t);if(a||c)return a&&c;i&&n.add(e),o&&n.add(t)}return r(e,t,n)}}}function l(e,t,r,n){var i=e.length;if(t.length!==i)return!1;for(;i-- >0;)if(!r(e[i],t[i],n))return!1;return!0}function f(e,t,r,n){var i=e.size===t.size;return i&&e.size&&e.forEach((function(e,o){i&&(i=!1,t.forEach((function(t,a){!i&&r(o,a,n)&&(i=r(e,t,n))})))})),i}var p="_owner",d=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);function h(e,t,n,i){var o=r(e),c=o.length;if(r(t).length!==c)return!1;if(c)for(var u=void 0;c-- >0;){if((u=o[c])===p){var s=a(e),l=a(t);if((s||l)&&s!==l)return!1}if(!d(t,u)||!n(e[u],t[u],i))return!1}return!0}function m(e,t){return e.source===t.source&&e.global===t.global&&e.ignoreCase===t.ignoreCase&&e.multiline===t.multiline&&e.unicode===t.unicode&&e.sticky===t.sticky&&e.lastIndex===t.lastIndex}function v(e,t,r,n){var i=e.size===t.size;return i&&e.size&&e.forEach((function(e){i&&(i=!1,t.forEach((function(t){i||(i=r(e,t,n))})))})),i}var y="function"==typeof Map,g="function"==typeof Set;function b(e){var t="function"==typeof e?e(r):r;function r(e,r,a){if(e===r)return!0;if(e&&r&&"object"==typeof e&&"object"==typeof r){if(i(e)&&i(r))return h(e,r,t,a);var c=Array.isArray(e),u=Array.isArray(r);return c||u?c===u&&l(e,r,t,a):(c=e instanceof Date,u=r instanceof Date,c||u?c===u&&n(e.getTime(),r.getTime()):(c=e instanceof RegExp,u=r instanceof RegExp,c||u?c===u&&m(e,r):o(e)||o(r)?e===r:y&&(c=e instanceof Map,u=r instanceof Map,c||u)?c===u&&f(e,r,t,a):g&&(c=e instanceof Set,u=r instanceof Set,c||u)?c===u&&v(e,r,t,a):h(e,r,t,a)))}return e!=e&&r!=r}return r}var w=b(),x=b((function(){return n})),I=b(s()),E=b(s(n));e.circularDeepEqual=I,e.circularShallowEqual=E,e.createCustomEqual=b,e.deepEqual=w,e.sameValueZeroEqual=n,e.shallowEqual=x,Object.defineProperty(e,"__esModule",{value:!0})}(t)},2778:function(e,t,r){var n;/*! https://mths.be/he v1.2.0 by @mathias | MIT license */e=r.nmd(e),function(i){var o=t,a=(e&&e.exports,"object"==typeof r.g&&r.g);a.global!==a&&a.window;var c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=/[\x01-\x7F]/g,s=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,f={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},p=/["&'<>`]/g,d={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},h=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,m=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,v=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,y={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},g={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde