Version Description
- Feature: Associate ingredients with specific instruction steps
- Feature: Dashboard page with latest news
- Feature: Import from Recipe Card Blocks by WPZOOM
- Feature: Import ratings from Multi Rating plugin
- Improvement: Prevent font size too small on mobile for meta unit text
- Improvement: Remove analytics actions after x days
- Improvement: Compatibility with Tasty Pins hidden images for automatic snippet placement
- Improvement: Aria label for better roundup link accessibility
- Fix: Prevent comment rating manipulation
- Fix: Prevent Yoast Duplicate Post rewrite feature from breaking parent post
- Fix: Custom hash not working in all themes/page builders
- Fix: PHP notice after Ziplist import
- Fix: Prevent issues with custom SVG icons and some PHP configurations
- Fix: Template Editor dropdown showing below image
Download this release
Release Info
Developer | BrechtVds |
Plugin | WP Recipe Maker |
Version | 7.4.0 |
Comparing to | |
See all releases |
Code changes from version 7.3.0 to 7.4.0
- assets/css/admin/comments.scss +25 -13
- assets/css/admin/dashboard/analytics.scss +40 -0
- assets/css/admin/dashboard/app.scss +90 -0
- assets/css/admin/dashboard/fields.scss +9 -0
- assets/css/admin/dashboard/learn.scss +33 -0
- assets/css/admin/dashboard/news.scss +71 -0
- assets/css/admin/dashboard/recipes.scss +52 -0
- assets/css/admin/dashboard/tips.scss +84 -0
- assets/css/admin/modal/general/fields.scss +1 -0
- assets/css/admin/modal/recipe/fields/equipment.scss +1 -1
- assets/css/admin/modal/recipe/fields/instructions.scss +33 -1
- assets/css/admin/template/main.scss +1 -0
- assets/css/shortcodes/_container-block.scss +6 -0
- assets/css/shortcodes/_instructions.scss +6 -0
- assets/js/admin-dashboard.js +13 -0
- assets/js/admin-dashboard/App.js +33 -0
- assets/js/admin-dashboard/blocks/Analytics/ChartDays.js +38 -0
- assets/js/admin-dashboard/blocks/Analytics/ChartTable.js +40 -0
- assets/js/admin-dashboard/blocks/Analytics/Charts.js +80 -0
- assets/js/admin-dashboard/blocks/Analytics/EnableAnalytics.js +22 -0
- assets/js/admin-dashboard/blocks/Analytics/index.js +66 -0
- assets/js/admin-dashboard/blocks/Learn/Item.js +16 -0
- assets/js/admin-dashboard/blocks/Learn/Section.js +11 -0
- assets/js/admin-dashboard/blocks/Learn/index.js +41 -0
- assets/js/admin-dashboard/blocks/News/Item.js +43 -0
- assets/js/admin-dashboard/blocks/News/index.js +36 -0
- assets/js/admin-dashboard/blocks/Recipes/Recipe.js +50 -0
- assets/js/admin-dashboard/blocks/Recipes/index.js +81 -0
- assets/js/admin-dashboard/blocks/Tips/Tip.js +8 -0
- assets/js/admin-dashboard/blocks/Tips/Tips.js +35 -0
- assets/js/admin-dashboard/blocks/Tips/index.js +88 -0
- assets/js/admin-dashboard/fields/Toggle.js +20 -0
- assets/js/admin-dashboard/layout/Block.js +23 -0
- assets/js/admin-dashboard/layout/Footer.js +15 -0
- assets/js/admin-dashboard/layout/Grid.js +32 -0
- assets/js/admin-modal/fields/FieldInstruction.js +31 -143
- assets/js/admin-modal/fields/FieldInstructionIngredients.js +71 -0
- assets/js/admin-modal/fields/FieldInstructionMedia.js +147 -0
- assets/js/admin-modal/general/EditMode.js +16 -1
- assets/js/admin-modal/recipe/edit/RecipeIngredients/IngredientsEdit.js +16 -1
- assets/js/admin-modal/recipe/edit/RecipeIngredients/index.js +1 -0
- assets/js/admin-modal/recipe/edit/RecipeInstructions.js +209 -120
- assets/js/admin-modal/recipe/edit/index.js +2 -0
- assets/js/admin.js +1 -1
- assets/js/admin/comments.js +65 -0
- assets/js/shared/Api/Dashboard.js +9 -0
- assets/js/shared/Api/index.js +2 -0
- assets/js/shared/Helpers.js +17 -0
- dist/admin-dashboard.css +22 -0
- dist/admin-dashboard.js +213 -0
- dist/admin-faq.css +2 -2
- dist/admin-faq.js +1 -1
- dist/admin-manage.js +0 -1
assets/css/admin/comments.scss
CHANGED
@@ -1,22 +1,34 @@
|
|
1 |
-
.comment-form-wprm-rating {
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
4 |
}
|
5 |
|
6 |
-
|
7 |
-
|
8 |
|
9 |
svg {
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
|
|
14 |
}
|
15 |
|
16 |
-
|
17 |
-
|
18 |
-
fill: black;
|
19 |
-
}
|
20 |
}
|
21 |
}
|
22 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.admin-comment-form-wprm-rating {
|
2 |
+
display: flex;
|
3 |
+
align-items: center;
|
4 |
+
|
5 |
+
a {
|
6 |
+
display: block;
|
7 |
+
margin-left: 10px;
|
8 |
}
|
9 |
|
10 |
+
&.admin-comment-form-wprm-rating-to-remove {
|
11 |
+
opacity: 0.3;
|
12 |
|
13 |
svg {
|
14 |
+
path {
|
15 |
+
fill: darkred;
|
16 |
+
}
|
17 |
+
polygon {
|
18 |
+
stroke: darkred;
|
19 |
+
}
|
20 |
}
|
21 |
|
22 |
+
a {
|
23 |
+
display: none;
|
|
|
|
|
24 |
}
|
25 |
}
|
26 |
}
|
27 |
+
.admin-comment-form-wprm-rating-ready-to-remove {
|
28 |
+
margin-top: 5px;
|
29 |
+
color: darkred;
|
30 |
+
|
31 |
+
a {
|
32 |
+
display: block;
|
33 |
+
}
|
34 |
+
}
|
assets/css/admin/dashboard/analytics.scss
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wprm-admin-dashboard-block-chart {
|
2 |
+
padding: 10px 0;
|
3 |
+
border-top: 1px solid #ddd;
|
4 |
+
|
5 |
+
&:first-child {
|
6 |
+
border-top: none;
|
7 |
+
padding-top: 0;
|
8 |
+
}
|
9 |
+
|
10 |
+
.wprm-admin-dashboard-block-chart-title {
|
11 |
+
font-weight: bold;
|
12 |
+
font-size: 1.1em;
|
13 |
+
margin-bottom: 10px;
|
14 |
+
}
|
15 |
+
}
|
16 |
+
|
17 |
+
table.wprm-admin-dashboard-block-chart-table {
|
18 |
+
width: 100%;
|
19 |
+
border-collapse: collapse;
|
20 |
+
|
21 |
+
th:nth-child(1) {
|
22 |
+
text-align: left;
|
23 |
+
}
|
24 |
+
|
25 |
+
td {
|
26 |
+
padding: 3px 0;
|
27 |
+
|
28 |
+
&:nth-child(2),
|
29 |
+
&:nth-child(3) {
|
30 |
+
width: 75px;
|
31 |
+
text-align: center;
|
32 |
+
}
|
33 |
+
}
|
34 |
+
|
35 |
+
tbody {
|
36 |
+
tr:hover {
|
37 |
+
background-color: #eee;
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|
assets/css/admin/dashboard/app.scss
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// Try to hide nags by other plugins to not clutter our dashboard.
|
2 |
+
#wpbody-content > *:not(#wprm-admin-dashboard, .wprm-wrap),
|
3 |
+
#wpfooter,
|
4 |
+
#wpbody-content #wprm-admin-dashboard .fs-notice {
|
5 |
+
display: none !important;
|
6 |
+
}
|
7 |
+
|
8 |
+
#wprm-admin-dashboard {
|
9 |
+
color: #444;
|
10 |
+
}
|
11 |
+
|
12 |
+
#wprm-admin-dashboard,
|
13 |
+
#wprm-admin-dashboard p {
|
14 |
+
font-size: 14px;
|
15 |
+
}
|
16 |
+
|
17 |
+
.wprm-admin-dashboard-block-container {
|
18 |
+
margin: 20px 0;
|
19 |
+
background-color: white;
|
20 |
+
border-radius: 5px;
|
21 |
+
|
22 |
+
.wprm-admin-dashboard-block-header {
|
23 |
+
height: 28px;
|
24 |
+
|
25 |
+
display: flex;
|
26 |
+
align-items: center;
|
27 |
+
justify-content: space-between;
|
28 |
+
|
29 |
+
font-weight: bold;
|
30 |
+
font-size: 1.2em;
|
31 |
+
border-bottom: 1px solid #ddd;
|
32 |
+
}
|
33 |
+
|
34 |
+
.wprm-admin-dashboard-block-header,
|
35 |
+
.wprm-admin-dashboard-block {
|
36 |
+
padding: 10px;
|
37 |
+
}
|
38 |
+
|
39 |
+
.wprm-admin-dashboard-block {
|
40 |
+
p:first-child {
|
41 |
+
margin-top: 0;
|
42 |
+
}
|
43 |
+
p:last-child {
|
44 |
+
margin-bottom: 0;
|
45 |
+
}
|
46 |
+
}
|
47 |
+
}
|
48 |
+
|
49 |
+
.wprm-admin-dashboard-block-footer-container {
|
50 |
+
margin: 10px -10px -10px -10px;
|
51 |
+
padding: 10px;
|
52 |
+
border-top: 1px solid #ddd;
|
53 |
+
|
54 |
+
.wprm-admin-dashboard-block-footer-title {
|
55 |
+
font-weight: bold;
|
56 |
+
font-size: 1.1em;
|
57 |
+
margin-bottom: 10px;
|
58 |
+
}
|
59 |
+
}
|
60 |
+
|
61 |
+
// Needed for react-masonry-css
|
62 |
+
.wprm-admin-dashboard-blocks-grid {
|
63 |
+
display: flex;
|
64 |
+
margin-left: -20px;
|
65 |
+
width: auto;
|
66 |
+
}
|
67 |
+
.wprm-admin-dashboard-blocks-grid-column {
|
68 |
+
padding-left: 20px;
|
69 |
+
background-clip: padding-box;
|
70 |
+
}
|
71 |
+
|
72 |
+
|
73 |
+
// .wprm-admin-dashboard-blocks {
|
74 |
+
// // display: flex;
|
75 |
+
// margin: -20px;
|
76 |
+
// margin-top: 0;
|
77 |
+
// // flex-wrap: wrap;
|
78 |
+
|
79 |
+
|
80 |
+
// }
|
81 |
+
|
82 |
+
// @media all and (max-width: 600px) {
|
83 |
+
// .wprm-admin-dashboard-blocks {
|
84 |
+
// display: block;
|
85 |
+
|
86 |
+
// .wprm-admin-dashboard-block-container {
|
87 |
+
// min-width: 0;
|
88 |
+
// }
|
89 |
+
// }
|
90 |
+
// }
|
assets/css/admin/dashboard/fields.scss
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wprm-admin-dashboard-toggle-container {
|
2 |
+
display: flex;
|
3 |
+
align-items: center;
|
4 |
+
|
5 |
+
.wprm-admin-dashboard-toggle-label {
|
6 |
+
display: block;
|
7 |
+
padding-left: 10px;
|
8 |
+
}
|
9 |
+
}
|
assets/css/admin/dashboard/learn.scss
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wprm-admin-dashboard-learn-container {
|
2 |
+
margin: -10px 0;
|
3 |
+
|
4 |
+
.wprm-admin-dashboard-learn-section-container {
|
5 |
+
padding: 10px 0;
|
6 |
+
border-top: 1px solid #ddd;
|
7 |
+
|
8 |
+
&:first-child {
|
9 |
+
border-top: none;
|
10 |
+
}
|
11 |
+
|
12 |
+
.wprm-admin-dashboard-learn-section-title {
|
13 |
+
font-weight: bold;
|
14 |
+
font-size: 1.1em;
|
15 |
+
}
|
16 |
+
|
17 |
+
.wprm-admin-dashboard-learn-section {
|
18 |
+
padding: 5px 0;
|
19 |
+
}
|
20 |
+
|
21 |
+
.wprm-admin-dashboard-learn-section-item {
|
22 |
+
padding-top: 5px;
|
23 |
+
|
24 |
+
a {
|
25 |
+
text-decoration: none;
|
26 |
+
|
27 |
+
&:hover {
|
28 |
+
text-decoration: underline;
|
29 |
+
}
|
30 |
+
}
|
31 |
+
}
|
32 |
+
}
|
33 |
+
}
|
assets/css/admin/dashboard/news.scss
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wprm-admin-dashboard-news-container {
|
2 |
+
max-height: 300px;
|
3 |
+
overflow-y: scroll;
|
4 |
+
|
5 |
+
margin: -10px 0;
|
6 |
+
|
7 |
+
a.wprm-admin-dashboard-news-item:hover {
|
8 |
+
.wprm-admin-dashboard-news-item-title {
|
9 |
+
text-decoration: underline;
|
10 |
+
}
|
11 |
+
}
|
12 |
+
|
13 |
+
.wprm-admin-dashboard-news-item {
|
14 |
+
display: flex;
|
15 |
+
justify-content: space-between;
|
16 |
+
align-items: center;
|
17 |
+
|
18 |
+
padding: 10px 0;
|
19 |
+
border-top: 1px solid #ddd;
|
20 |
+
text-decoration: none;
|
21 |
+
|
22 |
+
&:first-child {
|
23 |
+
border-top: none;
|
24 |
+
}
|
25 |
+
|
26 |
+
.wprm-admin-dashboard-news-item-title-container {
|
27 |
+
flex: 1;
|
28 |
+
display: flex;
|
29 |
+
align-items: center;
|
30 |
+
|
31 |
+
.wprm-admin-dashboard-news-item-date {
|
32 |
+
flex-basis: 60px;
|
33 |
+
flex-shrink: 0;
|
34 |
+
margin-right: 10px;
|
35 |
+
|
36 |
+
color: #777;
|
37 |
+
font-size: 0.9em;
|
38 |
+
}
|
39 |
+
}
|
40 |
+
|
41 |
+
&.wprm-admin-dashboard-news-item-new {
|
42 |
+
.wprm-admin-dashboard-news-item-title-container {
|
43 |
+
.wprm-admin-dashboard-news-item-date:after {
|
44 |
+
content: ' \25CF';
|
45 |
+
font-size: 6px;
|
46 |
+
color: darkred;
|
47 |
+
float: right;
|
48 |
+
}
|
49 |
+
.wprm-admin-dashboard-news-item-title {
|
50 |
+
font-weight: bold;
|
51 |
+
}
|
52 |
+
}
|
53 |
+
}
|
54 |
+
|
55 |
+
.wprm-admin-dashboard-news-item-label {
|
56 |
+
flex-shrink: 0;
|
57 |
+
margin-left: 15px;
|
58 |
+
|
59 |
+
background-color: #2c3338;
|
60 |
+
color: white;
|
61 |
+
font-size: 0.9em;
|
62 |
+
|
63 |
+
padding: 2px 6px;
|
64 |
+
border-radius: 5px;
|
65 |
+
|
66 |
+
&.wprm-admin-dashboard-news-item-label-blog { background-color: #2271b1; }
|
67 |
+
&.wprm-admin-dashboard-news-item-label-release { background-color: darkgreen; }
|
68 |
+
&.wprm-admin-dashboard-news-item-label-partner { background-color: darkred; }
|
69 |
+
}
|
70 |
+
}
|
71 |
+
}
|
assets/css/admin/dashboard/recipes.scss
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wprm-admin-dashboard-recipes-container {
|
2 |
+
margin: -10px 0;
|
3 |
+
|
4 |
+
.wprm-admin-dashboard-recipes-recipe {
|
5 |
+
display: flex;
|
6 |
+
justify-content: space-between;
|
7 |
+
align-items: center;
|
8 |
+
|
9 |
+
padding: 10px 0;
|
10 |
+
border-bottom: 1px solid #ddd;
|
11 |
+
text-decoration: none;
|
12 |
+
|
13 |
+
.wprm-admin-dashboard-recipes-recipe-name-container {
|
14 |
+
flex: 1;
|
15 |
+
display: flex;
|
16 |
+
align-items: center;
|
17 |
+
|
18 |
+
.wprm-admin-dashboard-recipes-recipe-date {
|
19 |
+
flex-basis: 60px;
|
20 |
+
flex-shrink: 0;
|
21 |
+
margin-right: 10px;
|
22 |
+
|
23 |
+
color: #777;
|
24 |
+
font-size: 0.9em;
|
25 |
+
}
|
26 |
+
}
|
27 |
+
|
28 |
+
.wprm-admin-dashboard-recipes-recipe-actions {
|
29 |
+
flex-shrink: 0;
|
30 |
+
margin-left: 5px;
|
31 |
+
|
32 |
+
display: flex;
|
33 |
+
align-items: center;
|
34 |
+
|
35 |
+
.wprm-admin-dashboard-recipes-recipe-action {
|
36 |
+
margin-left: 10px;
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
|
41 |
+
.wprm-admin-dashboard-recipes-all {
|
42 |
+
margin: 7px 0 10px 0;
|
43 |
+
|
44 |
+
a {
|
45 |
+
text-decoration: none;
|
46 |
+
|
47 |
+
&:hover {
|
48 |
+
text-decoration: underline;
|
49 |
+
}
|
50 |
+
}
|
51 |
+
}
|
52 |
+
}
|
assets/css/admin/dashboard/tips.scss
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wprm-admin-dashboard-tips-container {
|
2 |
+
margin: -10px;
|
3 |
+
padding-bottom: 13px;
|
4 |
+
|
5 |
+
display: flex;
|
6 |
+
align-items: center;
|
7 |
+
|
8 |
+
.wprm-admin-dashboard-tips-prev,
|
9 |
+
.wprm-admin-dashboard-tips-next {
|
10 |
+
width: 30px;
|
11 |
+
|
12 |
+
text-align: center;
|
13 |
+
font-size: 16px;
|
14 |
+
|
15 |
+
height: 100px;
|
16 |
+
display: flex;
|
17 |
+
justify-content: center;
|
18 |
+
align-items: center;
|
19 |
+
|
20 |
+
opacity: 0.3;
|
21 |
+
|
22 |
+
&:hover {
|
23 |
+
cursor: pointer;
|
24 |
+
opacity: 1;
|
25 |
+
}
|
26 |
+
}
|
27 |
+
|
28 |
+
.wprm-admin-dashboard-tips {
|
29 |
+
height: 100px;
|
30 |
+
flex: 1;
|
31 |
+
|
32 |
+
.wprm-admin-dashboard-tip-container {
|
33 |
+
display: none;
|
34 |
+
|
35 |
+
&.wprm-admin-dashboard-tip-container-active {
|
36 |
+
display: flex;
|
37 |
+
}
|
38 |
+
|
39 |
+
height: 100%;
|
40 |
+
justify-content: center;
|
41 |
+
align-items: center;
|
42 |
+
}
|
43 |
+
|
44 |
+
.wprm-admin-dashboard-tip {
|
45 |
+
text-align: center;
|
46 |
+
|
47 |
+
width: 80%;
|
48 |
+
max-width: 550px;
|
49 |
+
|
50 |
+
max-height: 90%;
|
51 |
+
overflow-y: scroll;
|
52 |
+
}
|
53 |
+
}
|
54 |
+
}
|
55 |
+
|
56 |
+
.wprm-admin-dashboard-tips-progress {
|
57 |
+
height: 2px;
|
58 |
+
margin: -10px;
|
59 |
+
|
60 |
+
border-bottom-left-radius: 5px;
|
61 |
+
border-bottom-right-radius: 5px;
|
62 |
+
overflow: hidden;
|
63 |
+
|
64 |
+
.wprm-admin-dashboard-tips-progress-bar {
|
65 |
+
height: 100%;
|
66 |
+
background-color: #2271b1;
|
67 |
+
}
|
68 |
+
.wprm-admin-dashboard-tips-progress-bar-odd {
|
69 |
+
animation: progressBarOdd 15s linear;
|
70 |
+
}
|
71 |
+
.wprm-admin-dashboard-tips-progress-bar-even {
|
72 |
+
animation: progressBarEven 15s linear;
|
73 |
+
float: right;
|
74 |
+
}
|
75 |
+
}
|
76 |
+
|
77 |
+
@keyframes progressBarOdd {
|
78 |
+
0% { width: 0; }
|
79 |
+
100% { width: 100%; }
|
80 |
+
}
|
81 |
+
@keyframes progressBarEven {
|
82 |
+
0% { width: 100% }
|
83 |
+
100% { width: 0; }
|
84 |
+
}
|
assets/css/admin/modal/general/fields.scss
CHANGED
@@ -59,6 +59,7 @@
|
|
59 |
|
60 |
.wprm-admin-modal-fields-group {
|
61 |
padding-bottom: 40px;
|
|
|
62 |
}
|
63 |
|
64 |
.wprm-admin-modal-fields-group-header {
|
59 |
|
60 |
.wprm-admin-modal-fields-group {
|
61 |
padding-bottom: 40px;
|
62 |
+
clear: both;
|
63 |
}
|
64 |
|
65 |
.wprm-admin-modal-fields-group-header {
|
assets/css/admin/modal/recipe/fields/equipment.scss
CHANGED
@@ -73,7 +73,7 @@
|
|
73 |
@media screen and (min-width: 782px) {
|
74 |
.wprm-admin-modal-field-equipment {
|
75 |
.wprm-admin-modal-field-equipment-main-container {
|
76 |
-
flex: 0 0
|
77 |
}
|
78 |
.wprm-admin-modal-field-equipment-after-container {
|
79 |
flex: auto;
|
73 |
@media screen and (min-width: 782px) {
|
74 |
.wprm-admin-modal-field-equipment {
|
75 |
.wprm-admin-modal-field-equipment-main-container {
|
76 |
+
flex: 0 0 60%;
|
77 |
}
|
78 |
.wprm-admin-modal-field-equipment-after-container {
|
79 |
flex: auto;
|
assets/css/admin/modal/recipe/fields/instructions.scss
CHANGED
@@ -108,6 +108,14 @@
|
|
108 |
}
|
109 |
}
|
110 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
.wprm-admin-modal-field-instruction-after-container-media {
|
112 |
margin: 5px;
|
113 |
flex-shrink: 0;
|
@@ -146,6 +154,15 @@
|
|
146 |
}
|
147 |
}
|
148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
.wprm-admin-modal-field-instruction-actions {
|
150 |
margin-left: 26px;
|
151 |
margin-top: 10px;
|
@@ -179,7 +196,7 @@
|
|
179 |
.wprm-admin-modal-field-instruction,
|
180 |
.wprm-admin-modal-field-instruction-group {
|
181 |
.wprm-admin-modal-field-instruction-main-container {
|
182 |
-
flex: 0 0
|
183 |
}
|
184 |
.wprm-admin-modal-field-instruction-after-container {
|
185 |
flex: auto;
|
@@ -210,4 +227,19 @@
|
|
210 |
}
|
211 |
}
|
212 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
213 |
}
|
108 |
}
|
109 |
}
|
110 |
}
|
111 |
+
.wprm-admin-modal-field-instruction-after-container-ingredient,
|
112 |
+
.wprm-admin-modal-field-instruction-after-container-summary {
|
113 |
+
flex: 1;
|
114 |
+
flex-shrink: 0;
|
115 |
+
|
116 |
+
margin-left: 5px;
|
117 |
+
margin-right: 5px;
|
118 |
+
}
|
119 |
.wprm-admin-modal-field-instruction-after-container-media {
|
120 |
margin: 5px;
|
121 |
flex-shrink: 0;
|
154 |
}
|
155 |
}
|
156 |
|
157 |
+
.wprm-admin-modal-field-instruction-unused-ingredients {
|
158 |
+
margin-left: 26px;
|
159 |
+
margin-top: 10px;
|
160 |
+
|
161 |
+
.wprm-admin-modal-field-instruction-unused-ingredients-info {
|
162 |
+
font-style: italic;
|
163 |
+
}
|
164 |
+
}
|
165 |
+
|
166 |
.wprm-admin-modal-field-instruction-actions {
|
167 |
margin-left: 26px;
|
168 |
margin-top: 10px;
|
196 |
.wprm-admin-modal-field-instruction,
|
197 |
.wprm-admin-modal-field-instruction-group {
|
198 |
.wprm-admin-modal-field-instruction-main-container {
|
199 |
+
flex: 0 0 60%;
|
200 |
}
|
201 |
.wprm-admin-modal-field-instruction-after-container {
|
202 |
flex: auto;
|
227 |
}
|
228 |
}
|
229 |
}
|
230 |
+
|
231 |
+
.wprm-admin-modal-field-instruction-after-container {
|
232 |
+
.wprm-admin-modal-field-instruction-after-container-ingredient,
|
233 |
+
.wprm-admin-modal-field-instruction-after-container-summary {
|
234 |
+
margin-left: 10px;
|
235 |
+
margin-right: 0;
|
236 |
+
}
|
237 |
+
}
|
238 |
+
|
239 |
+
.wprm-admin-modal-field-instruction-unused-ingredients {
|
240 |
+
padding-left: 80px;
|
241 |
+
margin-left: 0;
|
242 |
+
width: 40%;
|
243 |
+
float: right;
|
244 |
+
}
|
245 |
}
|
assets/css/admin/template/main.scss
CHANGED
@@ -12,6 +12,7 @@
|
|
12 |
margin: 15px auto 0;
|
13 |
width: 100%;
|
14 |
max-width: 300px;
|
|
|
15 |
}
|
16 |
|
17 |
.wprm-preview-snippet-recipe-box {
|
12 |
margin: 15px auto 0;
|
13 |
width: 100%;
|
14 |
max-width: 300px;
|
15 |
+
z-index: 99;
|
16 |
}
|
17 |
|
18 |
.wprm-preview-snippet-recipe-box {
|
assets/css/shortcodes/_container-block.scss
CHANGED
@@ -205,4 +205,10 @@
|
|
205 |
|
206 |
.wprm-recipe-details-unit {
|
207 |
font-size: 0.8em;
|
|
|
|
|
|
|
|
|
|
|
|
|
208 |
}
|
205 |
|
206 |
.wprm-recipe-details-unit {
|
207 |
font-size: 0.8em;
|
208 |
+
}
|
209 |
+
|
210 |
+
@media only screen and (max-width: 600px) {
|
211 |
+
.wprm-recipe-details-unit {
|
212 |
+
font-size: 1em;
|
213 |
+
}
|
214 |
}
|
assets/css/shortcodes/_instructions.scss
CHANGED
@@ -14,4 +14,10 @@
|
|
14 |
max-width: 100%;
|
15 |
}
|
16 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
}
|
14 |
max-width: 100%;
|
15 |
}
|
16 |
}
|
17 |
+
}
|
18 |
+
|
19 |
+
.wprm-recipe-instruction-ingredients-inline {
|
20 |
+
.wprm-recipe-instruction-ingredient {
|
21 |
+
display: inline-block;
|
22 |
+
}
|
23 |
}
|
assets/js/admin-dashboard.js
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import ReactDOM from 'react-dom';
|
2 |
+
import React from 'react';
|
3 |
+
|
4 |
+
import App from './admin-dashboard/App';
|
5 |
+
|
6 |
+
let appContainer = document.getElementById( 'wprm-admin-dashboard' );
|
7 |
+
|
8 |
+
if (appContainer) {
|
9 |
+
ReactDOM.render(
|
10 |
+
<App/>,
|
11 |
+
appContainer
|
12 |
+
);
|
13 |
+
}
|
assets/js/admin-dashboard/App.js
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const { hooks } = WPRecipeMaker['wp-recipe-maker/dist/shared'];
|
2 |
+
|
3 |
+
import React, { Component, Fragment } from 'react';
|
4 |
+
|
5 |
+
import '../../css/admin/dashboard/app.scss';
|
6 |
+
import Grid from './layout/Grid';
|
7 |
+
|
8 |
+
import Analytics from './blocks/Analytics';
|
9 |
+
import Learn from './blocks/Learn';
|
10 |
+
import News from './blocks/News';
|
11 |
+
import Recipes from './blocks/Recipes';
|
12 |
+
import Tips from './blocks/Tips';
|
13 |
+
|
14 |
+
const blocks = hooks.applyFilters( 'dashboardBlocks', [
|
15 |
+
{ id: 'recipes', block: Recipes },
|
16 |
+
{ id: 'news', block: News },
|
17 |
+
{ id: 'tips', block: Tips },
|
18 |
+
{ id: 'learn', block: Learn },
|
19 |
+
{ id: 'analytics', block: Analytics },
|
20 |
+
] );
|
21 |
+
|
22 |
+
export default class App extends Component {
|
23 |
+
render() {
|
24 |
+
return (
|
25 |
+
<Fragment>
|
26 |
+
<h1>WP Recipe Maker</h1>
|
27 |
+
<Grid
|
28 |
+
blocks={ blocks }
|
29 |
+
/>
|
30 |
+
</Fragment>
|
31 |
+
)
|
32 |
+
}
|
33 |
+
}
|
assets/js/admin-dashboard/blocks/Analytics/ChartDays.js
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { Fragment } from 'react';
|
2 |
+
import { BarChart, Bar, Cell, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContainer } from 'recharts';
|
3 |
+
|
4 |
+
import { __wprm } from 'Shared/Translations';
|
5 |
+
|
6 |
+
const ChartDays = (props) => {
|
7 |
+
return (
|
8 |
+
<div className="wprm-admin-dashboard-block-chart-days-container">
|
9 |
+
<div className="wprm-admin-dashboard-block-chart-title">{ `📊 ${ __wprm( 'Daily Interaction' ) }` }</div>
|
10 |
+
<ResponsiveContainer
|
11 |
+
width="100%"
|
12 |
+
height={300}
|
13 |
+
>
|
14 |
+
<BarChart
|
15 |
+
data={props.data}
|
16 |
+
>
|
17 |
+
<XAxis
|
18 |
+
dataKey="date"
|
19 |
+
/>
|
20 |
+
<YAxis
|
21 |
+
type="number"
|
22 |
+
domain={[0, 'dataMax']}
|
23 |
+
allowDecimals={ false }
|
24 |
+
/>
|
25 |
+
<Tooltip />
|
26 |
+
<Bar
|
27 |
+
dataKey="total"
|
28 |
+
name={ __wprm( 'Interactions' ) }
|
29 |
+
fill="#2271b1"
|
30 |
+
/>
|
31 |
+
</BarChart>
|
32 |
+
</ResponsiveContainer>
|
33 |
+
</div>
|
34 |
+
);
|
35 |
+
|
36 |
+
|
37 |
+
}
|
38 |
+
export default ChartDays;
|
assets/js/admin-dashboard/blocks/Analytics/ChartTable.js
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { Fragment } from 'react';
|
2 |
+
|
3 |
+
import { __wprm } from 'Shared/Translations';
|
4 |
+
|
5 |
+
const ChartTable = (props) => {
|
6 |
+
if ( 0 === props.data.length ) {
|
7 |
+
return null;
|
8 |
+
}
|
9 |
+
|
10 |
+
return (
|
11 |
+
<div className="wprm-admin-dashboard-block-chart-table-container">
|
12 |
+
<div className="wprm-admin-dashboard-block-chart-title">{ props.title }</div>
|
13 |
+
<table className="wprm-admin-dashboard-block-chart-table">
|
14 |
+
<thead>
|
15 |
+
<tr>
|
16 |
+
<th>{ props.label }</th>
|
17 |
+
<th>{ __wprm( 'Total' ) }</th>
|
18 |
+
<th>{ __wprm( 'Unique' ) }</th>
|
19 |
+
</tr>
|
20 |
+
</thead>
|
21 |
+
<tbody>
|
22 |
+
{
|
23 |
+
props.data.map( (row, index) => {
|
24 |
+
return (
|
25 |
+
<tr key={ index }>
|
26 |
+
<td>{ row.name }</td>
|
27 |
+
<td>{ row.total }</td>
|
28 |
+
<td>{ row.unique }</td>
|
29 |
+
</tr>
|
30 |
+
)
|
31 |
+
})
|
32 |
+
}
|
33 |
+
</tbody>
|
34 |
+
</table>
|
35 |
+
</div>
|
36 |
+
);
|
37 |
+
|
38 |
+
|
39 |
+
}
|
40 |
+
export default ChartTable;
|
assets/js/admin-dashboard/blocks/Analytics/Charts.js
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { Component, Fragment } from 'react';
|
2 |
+
|
3 |
+
import { __wprm } from 'Shared/Translations';
|
4 |
+
import Loader from 'Shared/Loader';
|
5 |
+
import Api from 'Shared/Api';
|
6 |
+
|
7 |
+
import ChartDays from './ChartDays';
|
8 |
+
import ChartTable from './ChartTable';
|
9 |
+
|
10 |
+
export default class Charts extends Component {
|
11 |
+
constructor(props) {
|
12 |
+
super(props);
|
13 |
+
|
14 |
+
this.state = {
|
15 |
+
loading: true,
|
16 |
+
data: false,
|
17 |
+
}
|
18 |
+
}
|
19 |
+
|
20 |
+
componentDidMount() {
|
21 |
+
this.checkForUpdate();
|
22 |
+
}
|
23 |
+
|
24 |
+
checkForUpdate() {
|
25 |
+
this.setState({
|
26 |
+
loading: true,
|
27 |
+
}, () => {
|
28 |
+
Api.dashboard.getAnalytics().then( (apiData) => {
|
29 |
+
let data = false
|
30 |
+
if ( apiData ) {
|
31 |
+
data = apiData.data;
|
32 |
+
}
|
33 |
+
|
34 |
+
this.setState({
|
35 |
+
loading: false,
|
36 |
+
data,
|
37 |
+
});
|
38 |
+
});
|
39 |
+
});
|
40 |
+
}
|
41 |
+
|
42 |
+
render() {
|
43 |
+
const { data } = this.state;
|
44 |
+
return (
|
45 |
+
<Fragment>
|
46 |
+
{
|
47 |
+
this.state.loading
|
48 |
+
?
|
49 |
+
<Loader />
|
50 |
+
:
|
51 |
+
<Fragment>
|
52 |
+
{
|
53 |
+
0 === data.total
|
54 |
+
?
|
55 |
+
<span>{ __wprm( 'No actions found for the last 7 days. If you just enabled analytics they should start showing up soon.' ) }</span>
|
56 |
+
:
|
57 |
+
<Fragment>
|
58 |
+
<div className="wprm-admin-dashboard-block-chart"><ChartDays data={ data.per_day } /></div>
|
59 |
+
<div className="wprm-admin-dashboard-block-chart">
|
60 |
+
<ChartTable
|
61 |
+
title={ `🏆 ${ __wprm( 'Top Recipe Interactions (last 7 days)' ) }` }
|
62 |
+
label={ __wprm( 'Recipe' ) }
|
63 |
+
data={ data.per_recipe }
|
64 |
+
/>
|
65 |
+
</div>
|
66 |
+
<div className="wprm-admin-dashboard-block-chart">
|
67 |
+
<ChartTable
|
68 |
+
title={ `👍 ${ __wprm( 'Interactions (last 7 days)' ) }` }
|
69 |
+
label={ __wprm( 'Type' ) }
|
70 |
+
data={ data.per_type }
|
71 |
+
/>
|
72 |
+
</div>
|
73 |
+
</Fragment>
|
74 |
+
}
|
75 |
+
</Fragment>
|
76 |
+
}
|
77 |
+
</Fragment>
|
78 |
+
);
|
79 |
+
}
|
80 |
+
}
|
assets/js/admin-dashboard/blocks/Analytics/EnableAnalytics.js
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { Fragment } from 'react';
|
2 |
+
|
3 |
+
import { __wprm } from 'Shared/Translations';
|
4 |
+
|
5 |
+
import Toggle from '../../fields/Toggle';
|
6 |
+
|
7 |
+
const EnableAnalytics = (props) => {
|
8 |
+
return (
|
9 |
+
<Fragment>
|
10 |
+
<p>{ __wprm( 'Track different visitor actions related to recipes.' ) } { __wprm( 'Find out what recipes visitors are interacting with, what affiliate links are getting clicked on, and more...' ) }</p>
|
11 |
+
<Toggle
|
12 |
+
value={ false }
|
13 |
+
onChange={() => {
|
14 |
+
props.onEnable();
|
15 |
+
}}
|
16 |
+
>{ __wprm( 'Enable Analytics' ) }</Toggle>
|
17 |
+
</Fragment>
|
18 |
+
);
|
19 |
+
|
20 |
+
|
21 |
+
}
|
22 |
+
export default EnableAnalytics;
|
assets/js/admin-dashboard/blocks/Analytics/index.js
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { Component, Fragment } from 'react';
|
2 |
+
|
3 |
+
import '../../../../css/admin/dashboard/analytics.scss';
|
4 |
+
|
5 |
+
import { __wprm } from 'Shared/Translations';
|
6 |
+
import Api from 'Shared/Api';
|
7 |
+
|
8 |
+
import Block from '../../layout/Block';
|
9 |
+
import Footer from '../../layout/Footer';
|
10 |
+
import EnableAnalytics from './EnableAnalytics';
|
11 |
+
import Charts from './Charts';
|
12 |
+
|
13 |
+
export default class Analytics extends Component {
|
14 |
+
constructor(props) {
|
15 |
+
super(props);
|
16 |
+
|
17 |
+
this.state = {
|
18 |
+
analyticsEnabled: wprm_admin_dashboard.settings.analytics_enabled,
|
19 |
+
}
|
20 |
+
}
|
21 |
+
|
22 |
+
render() {
|
23 |
+
return (
|
24 |
+
<Block
|
25 |
+
title={ __wprm( 'Analytics' ) }
|
26 |
+
>
|
27 |
+
{
|
28 |
+
this.state.analyticsEnabled
|
29 |
+
?
|
30 |
+
<Fragment>
|
31 |
+
<Charts />
|
32 |
+
{
|
33 |
+
wprm_admin_dashboard.settings.honey_home_integration
|
34 |
+
?
|
35 |
+
<Footer
|
36 |
+
title={ __wprm( 'Learn more' ) }
|
37 |
+
>
|
38 |
+
Go to your <a href="https://dailygrub.com/dashboard" target="_blank">DailyGrub Dashboard</a> for more insights!
|
39 |
+
</Footer>
|
40 |
+
:
|
41 |
+
<Footer
|
42 |
+
title={ `📈 ${ __wprm( 'Interested in more data?' )}` }
|
43 |
+
>
|
44 |
+
WP Recipe Maker partners with <a href="https://dailygrub.com" target="_blank">DailyGrub</a> to offer a full suite of recipe-specific analytics!
|
45 |
+
</Footer>
|
46 |
+
}
|
47 |
+
</Fragment>
|
48 |
+
:
|
49 |
+
<EnableAnalytics
|
50 |
+
onEnable={() => {
|
51 |
+
// Save setting.
|
52 |
+
Api.settings.save({
|
53 |
+
analytics_enabled: true,
|
54 |
+
});
|
55 |
+
|
56 |
+
// Update component.
|
57 |
+
this.setState({
|
58 |
+
analyticsEnabled: true,
|
59 |
+
});
|
60 |
+
}}
|
61 |
+
/>
|
62 |
+
}
|
63 |
+
</Block>
|
64 |
+
);
|
65 |
+
}
|
66 |
+
}
|
assets/js/admin-dashboard/blocks/Learn/Item.js
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { Fragment } from 'react';
|
2 |
+
|
3 |
+
const Item = (props) => {
|
4 |
+
return (
|
5 |
+
<div className="wprm-admin-dashboard-learn-section-item">
|
6 |
+
{
|
7 |
+
props.hasOwnProperty( 'url' )
|
8 |
+
?
|
9 |
+
<a href={ props.url } target="_blank">{ props.children }</a>
|
10 |
+
:
|
11 |
+
props.children
|
12 |
+
}
|
13 |
+
</div>
|
14 |
+
);
|
15 |
+
}
|
16 |
+
export default Item;
|
assets/js/admin-dashboard/blocks/Learn/Section.js
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { Fragment } from 'react';
|
2 |
+
|
3 |
+
const Section = (props) => {
|
4 |
+
return (
|
5 |
+
<div className="wprm-admin-dashboard-learn-section-container">
|
6 |
+
<div className="wprm-admin-dashboard-learn-section-title">{ props.title }</div>
|
7 |
+
<div className="wprm-admin-dashboard-learn-section">{ props.children }</div>
|
8 |
+
</div>
|
9 |
+
);
|
10 |
+
}
|
11 |
+
export default Section;
|
assets/js/admin-dashboard/blocks/Learn/index.js
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { Fragment } from 'react';
|
2 |
+
|
3 |
+
import '../../../../css/admin/dashboard/learn.scss';
|
4 |
+
|
5 |
+
import { __wprm } from 'Shared/Translations';
|
6 |
+
|
7 |
+
import Block from '../../layout/Block';
|
8 |
+
|
9 |
+
import Section from './Section';
|
10 |
+
import Item from './Item';
|
11 |
+
|
12 |
+
const Learn = (props) => {
|
13 |
+
return (
|
14 |
+
<Block
|
15 |
+
title={ __wprm( 'Get the most out of WPRM' ) }
|
16 |
+
>
|
17 |
+
<div className="wprm-admin-dashboard-learn-container">
|
18 |
+
<Section
|
19 |
+
title={ `🧑🎓 ${ __wprm( 'Learn More' ) }` }
|
20 |
+
>
|
21 |
+
<Item url="https://help.bootstrapped.ventures/collection/1-wp-recipe-maker">{ __wprm( 'Documentation in our knowledge base' ) }</Item>
|
22 |
+
<Item url="https://demo.wprecipemaker.com/all-features/">{ __wprm( 'All features in action on our demo site' ) }</Item>
|
23 |
+
<Item url="https://bootstrapped.ventures/wp-recipe-maker/videos/">{ __wprm( 'Video tutorials and walkthroughs' ) }</Item>
|
24 |
+
</Section>
|
25 |
+
<Section
|
26 |
+
title={ `🤝 ${ __wprm( 'Our Partners' ) }` }
|
27 |
+
>
|
28 |
+
<Item url="https://myemissions.green/wp-recipe-maker?ref=wprm">{ __wprm( 'My Emissions carbon footprint labels' ) }</Item>
|
29 |
+
<Item url="https://dailygrub.com">{ __wprm( 'DailyGrub recipe analytics suite' ) }</Item>
|
30 |
+
</Section>
|
31 |
+
<Section
|
32 |
+
title={ `🙋 ${ __wprm( 'Get Help' ) }` }
|
33 |
+
>
|
34 |
+
<Item url="https://www.facebook.com/groups/1741126932849712">{ __wprm( 'WP Recipe Maker Facebook Group' ) }</Item>
|
35 |
+
<Item url="mailto:support@bootstrapped.ventures">{ __wprm( 'Email our support team' ) }</Item>
|
36 |
+
</Section>
|
37 |
+
</div>
|
38 |
+
</Block>
|
39 |
+
);
|
40 |
+
}
|
41 |
+
export default Learn;
|
assets/js/admin-dashboard/blocks/News/Item.js
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { Fragment } from 'react';
|
2 |
+
|
3 |
+
const Item = (props) => {
|
4 |
+
const { item } = props;
|
5 |
+
|
6 |
+
if ( ! item.title ) {
|
7 |
+
return null;
|
8 |
+
}
|
9 |
+
|
10 |
+
const content = (
|
11 |
+
<Fragment>
|
12 |
+
<div className="wprm-admin-dashboard-news-item-title-container">
|
13 |
+
<div className="wprm-admin-dashboard-news-item-date">{ item.date_formatted }</div>
|
14 |
+
<div className="wprm-admin-dashboard-news-item-title">{ item.title }</div>
|
15 |
+
</div>
|
16 |
+
{
|
17 |
+
item.hasOwnProperty( 'label' )
|
18 |
+
&& <div className={ `wprm-admin-dashboard-news-item-label wprm-admin-dashboard-news-item-label-${ item.label_key }` }>{ item.label }</div>
|
19 |
+
}
|
20 |
+
</Fragment>
|
21 |
+
);
|
22 |
+
|
23 |
+
let classes = [
|
24 |
+
'wprm-admin-dashboard-news-item',
|
25 |
+
];
|
26 |
+
|
27 |
+
if ( item.new ) {
|
28 |
+
classes.push( 'wprm-admin-dashboard-news-item-new' );
|
29 |
+
}
|
30 |
+
|
31 |
+
return (
|
32 |
+
<Fragment>
|
33 |
+
{
|
34 |
+
item.hasOwnProperty( 'url' )
|
35 |
+
?
|
36 |
+
<a href={ item.url } target="_blank" className={ classes.join( ' ' ) }>{ content }</a>
|
37 |
+
:
|
38 |
+
<div className={ classes.join( ' ' ) }>{ content }</div>
|
39 |
+
}
|
40 |
+
</Fragment>
|
41 |
+
);
|
42 |
+
}
|
43 |
+
export default Item;
|
assets/js/admin-dashboard/blocks/News/index.js
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { Fragment } from 'react';
|
2 |
+
|
3 |
+
import '../../../../css/admin/dashboard/news.scss';
|
4 |
+
|
5 |
+
import { __wprm } from 'Shared/Translations';
|
6 |
+
|
7 |
+
import Block from '../../layout/Block';
|
8 |
+
import Item from './Item';
|
9 |
+
|
10 |
+
const News = (props) => {
|
11 |
+
const news = wprm_admin_dashboard.news;
|
12 |
+
|
13 |
+
if ( ! news || 0 === news.length ) {
|
14 |
+
return null;
|
15 |
+
}
|
16 |
+
|
17 |
+
return (
|
18 |
+
<Block
|
19 |
+
title={ __wprm( 'News' ) }
|
20 |
+
>
|
21 |
+
<div className="wprm-admin-dashboard-news-container">
|
22 |
+
{
|
23 |
+
news.map( ( item, index ) => {
|
24 |
+
return (
|
25 |
+
<Item
|
26 |
+
item={ item }
|
27 |
+
key={ index }
|
28 |
+
/>
|
29 |
+
)
|
30 |
+
} )
|
31 |
+
}
|
32 |
+
</div>
|
33 |
+
</Block>
|
34 |
+
);
|
35 |
+
}
|
36 |
+
export default News;
|
assets/js/admin-dashboard/blocks/Recipes/Recipe.js
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { Fragment } from 'react';
|
2 |
+
|
3 |
+
import { __wprm } from 'Shared/Translations';
|
4 |
+
import Icon from 'Shared/Icon';
|
5 |
+
|
6 |
+
const Recipe = (props) => {
|
7 |
+
const { recipe } = props;
|
8 |
+
const hasPermalink = recipe.hasOwnProperty( 'permalink' ) && recipe.permalink;
|
9 |
+
|
10 |
+
return (
|
11 |
+
<div className="wprm-admin-dashboard-recipes-recipe">
|
12 |
+
<div className="wprm-admin-dashboard-recipes-recipe-name-container">
|
13 |
+
<div className="wprm-admin-dashboard-recipes-recipe-date">{ recipe.date_formatted ? recipe.date_formatted : '' }</div>
|
14 |
+
<div className="wprm-admin-dashboard-recipes-recipe-name">{ recipe.name ? recipe.name : 'n/a' }</div>
|
15 |
+
</div>
|
16 |
+
<div className="wprm-admin-dashboard-recipes-recipe-actions">
|
17 |
+
{
|
18 |
+
hasPermalink
|
19 |
+
&&
|
20 |
+
<div className="wprm-admin-dashboard-recipes-recipe-action">
|
21 |
+
<a href={ recipe.permalink } target="_blank">
|
22 |
+
<Icon
|
23 |
+
type="eye"
|
24 |
+
title={ __wprm( 'View Recipe' ) }
|
25 |
+
/>
|
26 |
+
</a>
|
27 |
+
</div>
|
28 |
+
}
|
29 |
+
<div className="wprm-admin-dashboard-recipes-recipe-action">
|
30 |
+
<Icon
|
31 |
+
type="pencil"
|
32 |
+
title={ __wprm( 'Edit Recipe' ) }
|
33 |
+
onClick={() => {
|
34 |
+
WPRM_Modal.open( 'recipe', {
|
35 |
+
recipe,
|
36 |
+
saveCallback: ( savedRecipe ) => {
|
37 |
+
let newRecipe = JSON.parse( JSON.stringify( recipe ) );
|
38 |
+
newRecipe.name = savedRecipe.name;
|
39 |
+
|
40 |
+
props.onUpdate( newRecipe );
|
41 |
+
},
|
42 |
+
} );
|
43 |
+
}}
|
44 |
+
/>
|
45 |
+
</div>
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
);
|
49 |
+
}
|
50 |
+
export default Recipe;
|
assets/js/admin-dashboard/blocks/Recipes/index.js
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { Component, Fragment } from 'react';
|
2 |
+
|
3 |
+
import '../../../../css/admin/dashboard/recipes.scss';
|
4 |
+
|
5 |
+
import { __wprm } from 'Shared/Translations';
|
6 |
+
|
7 |
+
import Block from '../../layout/Block';
|
8 |
+
import Recipe from './Recipe';
|
9 |
+
|
10 |
+
export default class Recipes extends Component {
|
11 |
+
constructor(props) {
|
12 |
+
super(props);
|
13 |
+
|
14 |
+
this.state = {
|
15 |
+
recipes: wprm_admin_dashboard.recipes,
|
16 |
+
}
|
17 |
+
}
|
18 |
+
|
19 |
+
render() {
|
20 |
+
return (
|
21 |
+
<Block
|
22 |
+
title={ __wprm( 'Latest Recipes' ) }
|
23 |
+
button={ __wprm( 'Create Recipe' ) }
|
24 |
+
buttonAction={ () => {
|
25 |
+
WPRM_Modal.open( 'recipe', {
|
26 |
+
saveCallback: ( savedRecipe ) => {
|
27 |
+
let newRecipes = JSON.parse( JSON.stringify( this.state.recipes ) );
|
28 |
+
let newRecipe = JSON.parse( JSON.stringify( savedRecipe ) );
|
29 |
+
newRecipe.date_formatted = wprm_admin_dashboard.today_formatted;
|
30 |
+
|
31 |
+
// Remove existing with same ID (multiple saves).
|
32 |
+
newRecipes = newRecipes.filter( (recipe) => recipe.id !== newRecipe.id );
|
33 |
+
|
34 |
+
// Add on top.
|
35 |
+
newRecipes.unshift( newRecipe );
|
36 |
+
|
37 |
+
this.setState({
|
38 |
+
recipes: newRecipes,
|
39 |
+
});
|
40 |
+
},
|
41 |
+
} );
|
42 |
+
}}
|
43 |
+
>
|
44 |
+
<div className="wprm-admin-dashboard-recipes-container">
|
45 |
+
{
|
46 |
+
0 === this.state.recipes.length
|
47 |
+
?
|
48 |
+
<div className="wprm-admin-dashboard-recipes-all">
|
49 |
+
{ __wprm( 'No recipes found. Welcome to WP Recipe Maker!') }
|
50 |
+
</div>
|
51 |
+
:
|
52 |
+
<Fragment>
|
53 |
+
{
|
54 |
+
this.state.recipes.map( ( recipe, index ) => {
|
55 |
+
return (
|
56 |
+
<Recipe
|
57 |
+
recipe={ recipe }
|
58 |
+
onUpdate={ ( recipe ) => {
|
59 |
+
let newRecipes = JSON.parse( JSON.stringify( this.state.recipes ) );
|
60 |
+
newRecipes[ index ] = recipe;
|
61 |
+
|
62 |
+
this.setState({
|
63 |
+
recipes: newRecipes,
|
64 |
+
});
|
65 |
+
} }
|
66 |
+
key={ index }
|
67 |
+
/>
|
68 |
+
)
|
69 |
+
} )
|
70 |
+
}
|
71 |
+
|
72 |
+
</Fragment>
|
73 |
+
}
|
74 |
+
<div className="wprm-admin-dashboard-recipes-all">
|
75 |
+
<a href={ wprm_admin.manage_url }>{ __wprm( 'Manage all recipes...') }</a>
|
76 |
+
</div>
|
77 |
+
</div>
|
78 |
+
</Block>
|
79 |
+
);
|
80 |
+
}
|
81 |
+
}
|
assets/js/admin-dashboard/blocks/Tips/Tip.js
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { Fragment } from 'react';
|
2 |
+
|
3 |
+
const Tip = (props) => {
|
4 |
+
return (
|
5 |
+
<div className="wprm-admin-dashboard-tip">{ props.children }</div>
|
6 |
+
);
|
7 |
+
}
|
8 |
+
export default Tip;
|
assets/js/admin-dashboard/blocks/Tips/Tips.js
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { Fragment } from 'react';
|
2 |
+
|
3 |
+
import Tip from './Tip';
|
4 |
+
|
5 |
+
const Tips = [
|
6 |
+
<Tip>
|
7 |
+
Use the <strong>TAB key</strong> while entering ingredients or instructions to easily jump from field to field and create new lines.
|
8 |
+
</Tip>,
|
9 |
+
<Tip>
|
10 |
+
Copying your recipes from other sources?<br/>
|
11 |
+
Use our <a href="https://help.bootstrapped.ventures/article/70-import-recipe-from-text" target="_blank">Import Recipe from Text</a> feature to speed things up.
|
12 |
+
</Tip>,
|
13 |
+
<Tip>
|
14 |
+
Have you seen the <strong>toolbar at the bottom of the recipe modal</strong> when editing rich fields (like the summary or instructions)? It gives you quick access to some editing and symbols.
|
15 |
+
</Tip>,
|
16 |
+
<Tip>
|
17 |
+
The <strong>Bulk Edit column</strong> on some of the WP Recipe Maker > Manage pages allows you to quickly edit multiple rows at once.
|
18 |
+
</Tip>,
|
19 |
+
<Tip>
|
20 |
+
Make sure to use the <a href="https://help.bootstrapped.ventures/article/182-itemlist-metadata-for-recipe-roundup-posts" target="_blank">Recipe Roundup feature</a> for roundup posts. This will add itemList metadata that allows those posts to show up as a carousel in Google.
|
21 |
+
</Tip>,
|
22 |
+
<Tip>
|
23 |
+
Give your visitors an easy way to find recipes by course, cuisine, ingredient, calories, ... by combining WPRM with our <a href="https://demo.wprecipemaker.com/recipe-index/" target="_blank">WP Ultimate Post Grid plugin</a>.
|
24 |
+
</Tip>,
|
25 |
+
<Tip>
|
26 |
+
When adding equipment or ingredient names, the toolbar at the bottom of the recipe modal will <strong>show suggestions</strong> that you used before. Just click to use them and keep things consistent!
|
27 |
+
</Tip>,
|
28 |
+
<Tip>
|
29 |
+
<strong>Toggle specific columns</strong> at the top of the WP Recipe Maker > Manage page to customize it to your needs.
|
30 |
+
</Tip>,
|
31 |
+
<Tip>
|
32 |
+
Join the <a href="https://www.facebook.com/groups/1741126932849712/" target="_blank">WP Recipe Maker Facebook Group</a> to get access to a community of WPRM food bloggers, just like you!
|
33 |
+
</Tip>,
|
34 |
+
];
|
35 |
+
export default Tips;
|
assets/js/admin-dashboard/blocks/Tips/index.js
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { Component, Fragment } from 'react';
|
2 |
+
|
3 |
+
import '../../../../css/admin/dashboard/tips.scss';
|
4 |
+
|
5 |
+
import { __wprm } from 'Shared/Translations';
|
6 |
+
|
7 |
+
import Block from '../../layout/Block';
|
8 |
+
import Tips from './Tips';
|
9 |
+
|
10 |
+
export default class TipsBlock extends Component {
|
11 |
+
constructor(props) {
|
12 |
+
super(props);
|
13 |
+
|
14 |
+
// Random integer between 0 and the number of tips.
|
15 |
+
const activeTip = Math.floor( Math.random() * ( Tips.length ) );
|
16 |
+
|
17 |
+
// Automatically change tip every 10 seconds.
|
18 |
+
this.changeTip = this.changeTip.bind( this );
|
19 |
+
const interval = setInterval( this.changeTip, 15000 );
|
20 |
+
|
21 |
+
this.state = {
|
22 |
+
activeTip,
|
23 |
+
interval,
|
24 |
+
bar: 'odd',
|
25 |
+
}
|
26 |
+
}
|
27 |
+
|
28 |
+
changeTip( change = 1 ) {
|
29 |
+
let newActiveTip = this.state.activeTip + change;
|
30 |
+
|
31 |
+
if ( newActiveTip < 0 ) {
|
32 |
+
newActiveTip = newActiveTip + Tips.length;
|
33 |
+
} else {
|
34 |
+
newActiveTip = newActiveTip % Tips.length;
|
35 |
+
}
|
36 |
+
|
37 |
+
// Reset interval.
|
38 |
+
clearInterval( this.state.interval );
|
39 |
+
|
40 |
+
this.setState({
|
41 |
+
activeTip: newActiveTip,
|
42 |
+
interval: setInterval( this.changeTip, 15000 ),
|
43 |
+
bar: 'even' === this.state.bar ? 'odd' : 'even',
|
44 |
+
});
|
45 |
+
}
|
46 |
+
|
47 |
+
render() {
|
48 |
+
return (
|
49 |
+
<Block
|
50 |
+
title={ __wprm( 'Quick Tips' ) }
|
51 |
+
>
|
52 |
+
<div className="wprm-admin-dashboard-tips-container">
|
53 |
+
<div
|
54 |
+
className="wprm-admin-dashboard-tips-prev"
|
55 |
+
onClick={() => { this.changeTip( -1 ) } }
|
56 |
+
><</div>
|
57 |
+
<div className="wprm-admin-dashboard-tips">
|
58 |
+
{
|
59 |
+
Tips.map( ( tip, index ) => {
|
60 |
+
let classes = [
|
61 |
+
'wprm-admin-dashboard-tip-container',
|
62 |
+
];
|
63 |
+
|
64 |
+
if ( index === this.state.activeTip ) {
|
65 |
+
classes.push( 'wprm-admin-dashboard-tip-container-active' );
|
66 |
+
}
|
67 |
+
|
68 |
+
return (
|
69 |
+
<div
|
70 |
+
className={ classes.join( ' ' ) }
|
71 |
+
key={ index }
|
72 |
+
>{ tip }</div>
|
73 |
+
)
|
74 |
+
} )
|
75 |
+
}
|
76 |
+
</div>
|
77 |
+
<div
|
78 |
+
className="wprm-admin-dashboard-tips-next"
|
79 |
+
onClick={() => { this.changeTip( 1 ) } }
|
80 |
+
>></div>
|
81 |
+
</div>
|
82 |
+
<div className="wprm-admin-dashboard-tips-progress">
|
83 |
+
<div className={ `wprm-admin-dashboard-tips-progress-bar wprm-admin-dashboard-tips-progress-bar-${ this.state.bar }`}></div>
|
84 |
+
</div>
|
85 |
+
</Block>
|
86 |
+
);
|
87 |
+
}
|
88 |
+
}
|
assets/js/admin-dashboard/fields/Toggle.js
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React from 'react';
|
2 |
+
import Toggle from 'react-toggle';
|
3 |
+
import 'react-toggle/style.css'
|
4 |
+
|
5 |
+
import '../../../css/admin/dashboard/fields.scss';
|
6 |
+
|
7 |
+
const ToggleField = (props) => {
|
8 |
+
return (
|
9 |
+
<label className="wprm-admin-dashboard-toggle-container">
|
10 |
+
<Toggle
|
11 |
+
className="wprm-admin-dashboard-toggle"
|
12 |
+
checked={ props.value }
|
13 |
+
onChange={ (e) => props.onChange( e.target.checked ) }
|
14 |
+
/>
|
15 |
+
<span className="wprm-admin-dashboard-toggle-label">{ props.children }</span>
|
16 |
+
</label>
|
17 |
+
);
|
18 |
+
}
|
19 |
+
|
20 |
+
export default ToggleField;
|
assets/js/admin-dashboard/layout/Block.js
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React from 'react';
|
2 |
+
|
3 |
+
const Block = (props) => {
|
4 |
+
return (
|
5 |
+
<div className="wprm-admin-dashboard-block-container">
|
6 |
+
<div className="wprm-admin-dashboard-block-header">
|
7 |
+
<div className="wprm-admin-dashboard-block-header-title">{ props.title }</div>
|
8 |
+
{
|
9 |
+
props.hasOwnProperty( 'button' )
|
10 |
+
&&
|
11 |
+
<div className="wprm-admin-dashboard-block-header-button">
|
12 |
+
<button
|
13 |
+
className="button button-primary"
|
14 |
+
onClick={ () => { props.buttonAction(); } }
|
15 |
+
>{ props.button }</button>
|
16 |
+
</div>
|
17 |
+
}
|
18 |
+
</div>
|
19 |
+
<div className="wprm-admin-dashboard-block">{ props.children }</div>
|
20 |
+
</div>
|
21 |
+
);
|
22 |
+
}
|
23 |
+
export default Block;
|
assets/js/admin-dashboard/layout/Footer.js
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React from 'react';
|
2 |
+
|
3 |
+
const Footer = (props) => {
|
4 |
+
return (
|
5 |
+
<div className="wprm-admin-dashboard-block-footer-container">
|
6 |
+
{
|
7 |
+
props.hasOwnProperty( 'title' )
|
8 |
+
&&
|
9 |
+
<div className="wprm-admin-dashboard-block-footer-title">{ props.title }</div>
|
10 |
+
}
|
11 |
+
<div className="wprm-admin-dashboard-block-footer">{ props.children }</div>
|
12 |
+
</div>
|
13 |
+
);
|
14 |
+
}
|
15 |
+
export default Footer;
|
assets/js/admin-dashboard/layout/Grid.js
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React from 'react';
|
2 |
+
import Masonry from 'react-masonry-css';
|
3 |
+
import Block from './Block';
|
4 |
+
|
5 |
+
const breakpointColumns = {
|
6 |
+
default: 2,
|
7 |
+
// 1550: 2,
|
8 |
+
1150: 1,
|
9 |
+
};
|
10 |
+
|
11 |
+
const Grid = (props) => {
|
12 |
+
return (
|
13 |
+
<Masonry
|
14 |
+
breakpointCols={ breakpointColumns }
|
15 |
+
className="wprm-admin-dashboard-blocks-grid"
|
16 |
+
columnClassName="wprm-admin-dashboard-blocks-grid-column"
|
17 |
+
>
|
18 |
+
{
|
19 |
+
props.blocks.map( ( block ) => {
|
20 |
+
const BlockElement = block.block;
|
21 |
+
|
22 |
+
return (
|
23 |
+
<BlockElement
|
24 |
+
key={ block.id }
|
25 |
+
/>
|
26 |
+
)
|
27 |
+
})
|
28 |
+
}
|
29 |
+
</Masonry>
|
30 |
+
);
|
31 |
+
}
|
32 |
+
export default Grid;
|
assets/js/admin-modal/fields/FieldInstruction.js
CHANGED
@@ -7,6 +7,9 @@ const isTabHotkey = isKeyHotkey('tab');
|
|
7 |
import Icon from 'Shared/Icon';
|
8 |
import { __wprm } from 'Shared/Translations';
|
9 |
|
|
|
|
|
|
|
10 |
import FieldRichText from './FieldRichText';
|
11 |
import FieldText from './FieldText';
|
12 |
import FieldTextarea from './FieldTextarea';
|
@@ -83,8 +86,6 @@ const instruction = (props, provided) => {
|
|
83 |
}
|
84 |
}
|
85 |
|
86 |
-
const hasImage = props.image > 0;
|
87 |
-
|
88 |
return (
|
89 |
<div
|
90 |
className="wprm-admin-modal-field-instruction"
|
@@ -95,18 +96,6 @@ const instruction = (props, provided) => {
|
|
95 |
{ handle(provided) }
|
96 |
<div className="wprm-admin-modal-field-instruction-text-container">
|
97 |
<div className="wprm-admin-modal-field-instruction-text-name-container">
|
98 |
-
{
|
99 |
-
props.showName
|
100 |
-
&&
|
101 |
-
<FieldRichText
|
102 |
-
singleLine
|
103 |
-
className="wprm-admin-modal-field-instruction-name"
|
104 |
-
toolbar={ 'none' }
|
105 |
-
value={ props.hasOwnProperty( 'name' ) ? props.name : '' }
|
106 |
-
placeholder={ __wprm( 'Step Summary' ) }
|
107 |
-
onChange={(value) => props.onChangeName(value)}
|
108 |
-
/>
|
109 |
-
}
|
110 |
<FieldRichText
|
111 |
className="wprm-admin-modal-field-instruction-text"
|
112 |
value={ props.text }
|
@@ -122,6 +111,7 @@ const instruction = (props, provided) => {
|
|
122 |
{
|
123 |
props.allowVideo
|
124 |
&& 'part' === video.type
|
|
|
125 |
&&
|
126 |
<div className="wprm-admin-modal-field-instruction-video-container">
|
127 |
<FieldVideoTime
|
@@ -177,137 +167,35 @@ const instruction = (props, provided) => {
|
|
177 |
onClick={ props.onAdd }
|
178 |
/>
|
179 |
</div>
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
});
|
192 |
-
}
|
193 |
-
} }
|
194 |
-
hidden={ 'none' !== video.type && 'part' !== video.type }
|
195 |
-
/>
|
196 |
-
<div className="wprm-icon-spacer"/>
|
197 |
-
<Icon
|
198 |
-
type="movie"
|
199 |
-
title={ 'upload' === video.type ? __wprm( 'Remove Video' ) : __wprm( 'Upload Instruction Video' ) }
|
200 |
-
onClick={ () => {
|
201 |
-
if ( 'upload' === video.type ) {
|
202 |
-
props.onChangeVideo({
|
203 |
-
...video,
|
204 |
-
type: 'none',
|
205 |
-
id: 0,
|
206 |
-
thumb: '',
|
207 |
-
});
|
208 |
-
} else {
|
209 |
-
Media.selectVideo((attachment) => {
|
210 |
-
props.onChangeVideo({
|
211 |
-
...video,
|
212 |
-
type: 'upload',
|
213 |
-
id: attachment.attributes.id,
|
214 |
-
thumb: attachment.attributes.thumb.src,
|
215 |
-
});
|
216 |
-
});
|
217 |
-
}
|
218 |
-
} }
|
219 |
-
hidden={ hasImage || ( 'none' !== video.type && 'upload' !== video.type ) }
|
220 |
-
/>
|
221 |
-
<Icon
|
222 |
-
type="code"
|
223 |
-
title={ 'embed' === video.type ? __wprm( 'Remove Video' ) : __wprm( 'Embed Instruction Video' ) }
|
224 |
-
onClick={ () => {
|
225 |
-
if ( 'embed' === video.type ) {
|
226 |
-
props.onChangeVideo({
|
227 |
-
...video,
|
228 |
-
type: 'none',
|
229 |
-
embed: '',
|
230 |
-
});
|
231 |
-
} else {
|
232 |
-
props.onChangeVideo({
|
233 |
-
...video,
|
234 |
-
type: 'embed',
|
235 |
-
});
|
236 |
-
}
|
237 |
-
} }
|
238 |
-
hidden={ hasImage || ( 'none' !== video.type && 'embed' !== video.type ) }
|
239 |
-
/>
|
240 |
-
<Icon
|
241 |
-
type="videoplayer"
|
242 |
-
title={ 'part' === video.type ? __wprm( 'Remove Video Part' ) : __wprm( 'Instruction is part of the main video' ) }
|
243 |
-
onClick={ () => {
|
244 |
-
props.onChangeVideo({
|
245 |
-
...video,
|
246 |
-
type: 'part' === video.type ? 'none' : 'part',
|
247 |
-
start: '',
|
248 |
-
end: '',
|
249 |
-
name: '',
|
250 |
-
});
|
251 |
-
} }
|
252 |
-
hidden={ ! props.allowVideo || ( 'none' !== video.type && 'part' !== video.type ) }
|
253 |
/>
|
254 |
</div>
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
</div>
|
272 |
-
:
|
273 |
-
<Fragment>
|
274 |
-
{
|
275 |
-
'upload' === video.type
|
276 |
-
&&
|
277 |
-
<div className="wprm-admin-modal-field-video-preview">
|
278 |
-
<img
|
279 |
-
src={ video.thumb }
|
280 |
-
onClick={ () => {
|
281 |
-
Media.selectVideo((attachment) => {
|
282 |
-
props.onChangeVideo({
|
283 |
-
...video,
|
284 |
-
id: attachment.attributes.id,
|
285 |
-
thumb: attachment.attributes.thumb.src,
|
286 |
-
});
|
287 |
-
});
|
288 |
-
} }
|
289 |
-
/>
|
290 |
-
</div>
|
291 |
-
}
|
292 |
-
{
|
293 |
-
'embed' === video.type
|
294 |
-
&&
|
295 |
-
<FieldTextarea
|
296 |
-
value={ video.embed }
|
297 |
-
onChange={(embed) => {
|
298 |
-
props.onChangeVideo({
|
299 |
-
...video,
|
300 |
-
embed,
|
301 |
-
});
|
302 |
-
}}
|
303 |
-
placeholder={ __wprm( 'Instruction video URL or embed code' ) }
|
304 |
-
/>
|
305 |
-
}
|
306 |
-
</Fragment>
|
307 |
-
}
|
308 |
-
</div>
|
309 |
-
}
|
310 |
-
</div>
|
311 |
</div>
|
312 |
</div>
|
313 |
)
|
7 |
import Icon from 'Shared/Icon';
|
8 |
import { __wprm } from 'Shared/Translations';
|
9 |
|
10 |
+
import FieldInstructionMedia from './FieldInstructionMedia';
|
11 |
+
import FieldInstructionIngredients from './FieldInstructionIngredients';
|
12 |
+
|
13 |
import FieldRichText from './FieldRichText';
|
14 |
import FieldText from './FieldText';
|
15 |
import FieldTextarea from './FieldTextarea';
|
86 |
}
|
87 |
}
|
88 |
|
|
|
|
|
89 |
return (
|
90 |
<div
|
91 |
className="wprm-admin-modal-field-instruction"
|
96 |
{ handle(provided) }
|
97 |
<div className="wprm-admin-modal-field-instruction-text-container">
|
98 |
<div className="wprm-admin-modal-field-instruction-text-name-container">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
<FieldRichText
|
100 |
className="wprm-admin-modal-field-instruction-text"
|
101 |
value={ props.text }
|
111 |
{
|
112 |
props.allowVideo
|
113 |
&& 'part' === video.type
|
114 |
+
&& 'media' === props.editMode
|
115 |
&&
|
116 |
<div className="wprm-admin-modal-field-instruction-video-container">
|
117 |
<FieldVideoTime
|
167 |
onClick={ props.onAdd }
|
168 |
/>
|
169 |
</div>
|
170 |
+
{
|
171 |
+
'summary' === props.editMode
|
172 |
+
&&
|
173 |
+
<div className="wprm-admin-modal-field-instruction-after-container-summary">
|
174 |
+
<FieldRichText
|
175 |
+
singleLine
|
176 |
+
className="wprm-admin-modal-field-instruction-name"
|
177 |
+
toolbar={ 'none' }
|
178 |
+
value={ props.hasOwnProperty( 'name' ) ? props.name : '' }
|
179 |
+
placeholder={ __wprm( 'Step Summary' ) }
|
180 |
+
onChange={(value) => props.onChangeName(value)}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
/>
|
182 |
</div>
|
183 |
+
}
|
184 |
+
{
|
185 |
+
'media' === props.editMode
|
186 |
+
&&
|
187 |
+
<FieldInstructionMedia
|
188 |
+
{ ...props }
|
189 |
+
video={ video }
|
190 |
+
/>
|
191 |
+
}
|
192 |
+
{
|
193 |
+
'ingredients' === props.editMode
|
194 |
+
&&
|
195 |
+
<FieldInstructionIngredients
|
196 |
+
{ ...props }
|
197 |
+
/>
|
198 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
</div>
|
200 |
</div>
|
201 |
)
|
assets/js/admin-modal/fields/FieldInstructionIngredients.js
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { Fragment } from 'react';
|
2 |
+
import Select from 'react-select';
|
3 |
+
import he from 'he';
|
4 |
+
|
5 |
+
import Helpers from 'Shared/Helpers';
|
6 |
+
import { __wprm } from 'Shared/Translations';
|
7 |
+
|
8 |
+
const FieldInstructionIngredients = (props) => {
|
9 |
+
const ingredients = props.hasOwnProperty( 'ingredients' ) ? props.ingredients : [];
|
10 |
+
|
11 |
+
let ingredientOptions = [];
|
12 |
+
let selectedIngredients = [];
|
13 |
+
|
14 |
+
for ( let ingredient of props.allIngredients ) {
|
15 |
+
if ( 'ingredient' === ingredient.type ) {
|
16 |
+
const ingredientString = Helpers.getIngredientString( ingredient );
|
17 |
+
|
18 |
+
if ( ingredientString ) {
|
19 |
+
const ingredientOption = {
|
20 |
+
value: ingredient.uid,
|
21 |
+
label: he.decode( ingredientString ),
|
22 |
+
};
|
23 |
+
|
24 |
+
ingredientOptions.push( ingredientOption );
|
25 |
+
|
26 |
+
if ( ingredients.includes( ingredient.uid ) ) {
|
27 |
+
selectedIngredients.push( ingredientOption );
|
28 |
+
}
|
29 |
+
}
|
30 |
+
}
|
31 |
+
}
|
32 |
+
|
33 |
+
return (
|
34 |
+
<div className="wprm-admin-modal-field-instruction-after-container-ingredient">
|
35 |
+
<Select
|
36 |
+
isMulti
|
37 |
+
options={ingredientOptions}
|
38 |
+
value={selectedIngredients}
|
39 |
+
placeholder={ __wprm( 'Select ingredients...' ) }
|
40 |
+
onChange={(value) => {
|
41 |
+
let newIngredients = [];
|
42 |
+
|
43 |
+
if ( value ) {
|
44 |
+
for ( let ingredient of value ) {
|
45 |
+
newIngredients.push( ingredient.value );
|
46 |
+
}
|
47 |
+
}
|
48 |
+
|
49 |
+
props.onChangeIngredients( newIngredients );
|
50 |
+
}}
|
51 |
+
styles={{
|
52 |
+
placeholder: (provided) => ({
|
53 |
+
...provided,
|
54 |
+
color: '#444',
|
55 |
+
opacity: '0.333',
|
56 |
+
}),
|
57 |
+
control: (provided) => ({
|
58 |
+
...provided,
|
59 |
+
backgroundColor: 'white',
|
60 |
+
}),
|
61 |
+
container: (provided) => ({
|
62 |
+
...provided,
|
63 |
+
width: '100%',
|
64 |
+
maxWidth: '100%',
|
65 |
+
}),
|
66 |
+
}}
|
67 |
+
/>
|
68 |
+
</div>
|
69 |
+
);
|
70 |
+
}
|
71 |
+
export default FieldInstructionIngredients;
|
assets/js/admin-modal/fields/FieldInstructionMedia.js
ADDED
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { Fragment } from 'react';
|
2 |
+
|
3 |
+
import Icon from 'Shared/Icon';
|
4 |
+
import { __wprm } from 'Shared/Translations';
|
5 |
+
|
6 |
+
import FieldTextarea from './FieldTextarea';
|
7 |
+
import Media from '../general/Media';
|
8 |
+
|
9 |
+
const FieldInstructionMedia = (props) => {
|
10 |
+
const { video } = props;
|
11 |
+
const hasImage = props.image > 0;
|
12 |
+
|
13 |
+
return (
|
14 |
+
<div className="wprm-admin-modal-field-instruction-after-container-media">
|
15 |
+
<div className="wprm-admin-modal-field-instruction-after-container-media-icons">
|
16 |
+
<Icon
|
17 |
+
type="photo"
|
18 |
+
title={ hasImage ? __wprm( 'Remove Image' ) : __wprm( 'Add Instruction Image' ) }
|
19 |
+
onClick={ () => {
|
20 |
+
if ( hasImage ) {
|
21 |
+
props.onChangeImage(0, '');
|
22 |
+
} else {
|
23 |
+
Media.selectImage((attachment) => {
|
24 |
+
props.onChangeImage(attachment.id, attachment.url);
|
25 |
+
});
|
26 |
+
}
|
27 |
+
} }
|
28 |
+
hidden={ 'none' !== video.type && 'part' !== video.type }
|
29 |
+
/>
|
30 |
+
<div className="wprm-icon-spacer"/>
|
31 |
+
<Icon
|
32 |
+
type="movie"
|
33 |
+
title={ 'upload' === video.type ? __wprm( 'Remove Video' ) : __wprm( 'Upload Instruction Video' ) }
|
34 |
+
onClick={ () => {
|
35 |
+
if ( 'upload' === video.type ) {
|
36 |
+
props.onChangeVideo({
|
37 |
+
...video,
|
38 |
+
type: 'none',
|
39 |
+
id: 0,
|
40 |
+
thumb: '',
|
41 |
+
});
|
42 |
+
} else {
|
43 |
+
Media.selectVideo((attachment) => {
|
44 |
+
props.onChangeVideo({
|
45 |
+
...video,
|
46 |
+
type: 'upload',
|
47 |
+
id: attachment.attributes.id,
|
48 |
+
thumb: attachment.attributes.thumb.src,
|
49 |
+
});
|
50 |
+
});
|
51 |
+
}
|
52 |
+
} }
|
53 |
+
hidden={ hasImage || ( 'none' !== video.type && 'upload' !== video.type ) }
|
54 |
+
/>
|
55 |
+
<Icon
|
56 |
+
type="code"
|
57 |
+
title={ 'embed' === video.type ? __wprm( 'Remove Video' ) : __wprm( 'Embed Instruction Video' ) }
|
58 |
+
onClick={ () => {
|
59 |
+
if ( 'embed' === video.type ) {
|
60 |
+
props.onChangeVideo({
|
61 |
+
...video,
|
62 |
+
type: 'none',
|
63 |
+
embed: '',
|
64 |
+
});
|
65 |
+
} else {
|
66 |
+
props.onChangeVideo({
|
67 |
+
...video,
|
68 |
+
type: 'embed',
|
69 |
+
});
|
70 |
+
}
|
71 |
+
} }
|
72 |
+
hidden={ hasImage || ( 'none' !== video.type && 'embed' !== video.type ) }
|
73 |
+
/>
|
74 |
+
<Icon
|
75 |
+
type="videoplayer"
|
76 |
+
title={ 'part' === video.type ? __wprm( 'Remove Video Part' ) : __wprm( 'Instruction is part of the main video' ) }
|
77 |
+
onClick={ () => {
|
78 |
+
props.onChangeVideo({
|
79 |
+
...video,
|
80 |
+
type: 'part' === video.type ? 'none' : 'part',
|
81 |
+
start: '',
|
82 |
+
end: '',
|
83 |
+
name: '',
|
84 |
+
});
|
85 |
+
} }
|
86 |
+
hidden={ ! props.allowVideo || ( 'none' !== video.type && 'part' !== video.type ) }
|
87 |
+
/>
|
88 |
+
</div>
|
89 |
+
{
|
90 |
+
( hasImage || 'upload' === video.type || 'embed' === video.type )
|
91 |
+
&&
|
92 |
+
<div className="wprm-admin-modal-field-instruction-after-container-media-preview">
|
93 |
+
{
|
94 |
+
hasImage
|
95 |
+
?
|
96 |
+
<div className="wprm-admin-modal-field-image-preview">
|
97 |
+
<img
|
98 |
+
src={ props.image_url }
|
99 |
+
onClick={ () => {
|
100 |
+
Media.selectImage((attachment) => {
|
101 |
+
props.onChangeImage(attachment.id, attachment.url);
|
102 |
+
});
|
103 |
+
} }
|
104 |
+
/>
|
105 |
+
</div>
|
106 |
+
:
|
107 |
+
<Fragment>
|
108 |
+
{
|
109 |
+
'upload' === video.type
|
110 |
+
&&
|
111 |
+
<div className="wprm-admin-modal-field-video-preview">
|
112 |
+
<img
|
113 |
+
src={ video.thumb }
|
114 |
+
onClick={ () => {
|
115 |
+
Media.selectVideo((attachment) => {
|
116 |
+
props.onChangeVideo({
|
117 |
+
...video,
|
118 |
+
id: attachment.attributes.id,
|
119 |
+
thumb: attachment.attributes.thumb.src,
|
120 |
+
});
|
121 |
+
});
|
122 |
+
} }
|
123 |
+
/>
|
124 |
+
</div>
|
125 |
+
}
|
126 |
+
{
|
127 |
+
'embed' === video.type
|
128 |
+
&&
|
129 |
+
<FieldTextarea
|
130 |
+
value={ video.embed }
|
131 |
+
onChange={(embed) => {
|
132 |
+
props.onChangeVideo({
|
133 |
+
...video,
|
134 |
+
embed,
|
135 |
+
});
|
136 |
+
}}
|
137 |
+
placeholder={ __wprm( 'Instruction video URL or embed code' ) }
|
138 |
+
/>
|
139 |
+
}
|
140 |
+
</Fragment>
|
141 |
+
}
|
142 |
+
</div>
|
143 |
+
}
|
144 |
+
</div>
|
145 |
+
);
|
146 |
+
}
|
147 |
+
export default FieldInstructionMedia;
|
assets/js/admin-modal/general/EditMode.js
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
import React from 'react';
|
2 |
|
|
|
|
|
|
|
3 |
import '../../../css/admin/modal/general/edit-mode.scss';
|
4 |
|
5 |
const EditMode = (props) => {
|
@@ -15,6 +18,18 @@ const EditMode = (props) => {
|
|
15 |
Object.keys( props.modes ).map((id, index) => {
|
16 |
const mode = props.modes[id];
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
return (
|
19 |
<a
|
20 |
href="#"
|
@@ -25,7 +40,7 @@ const EditMode = (props) => {
|
|
25 |
}}
|
26 |
key={index}
|
27 |
>
|
28 |
-
{ mode.label }
|
29 |
</a>
|
30 |
)
|
31 |
})
|
1 |
import React from 'react';
|
2 |
|
3 |
+
|
4 |
+
import Icon from 'Shared/Icon';
|
5 |
+
|
6 |
import '../../../css/admin/modal/general/edit-mode.scss';
|
7 |
|
8 |
const EditMode = (props) => {
|
18 |
Object.keys( props.modes ).map((id, index) => {
|
19 |
const mode = props.modes[id];
|
20 |
|
21 |
+
// Optional help icon.
|
22 |
+
let helpIcon = null;
|
23 |
+
if ( mode.hasOwnProperty( 'help' ) ) {
|
24 |
+
helpIcon = (
|
25 |
+
<Icon
|
26 |
+
type="question"
|
27 |
+
title={ mode.help }
|
28 |
+
className="wprm-admin-icon-help"
|
29 |
+
/>
|
30 |
+
);
|
31 |
+
}
|
32 |
+
|
33 |
return (
|
34 |
<a
|
35 |
href="#"
|
40 |
}}
|
41 |
key={index}
|
42 |
>
|
43 |
+
{ mode.label }{ helpIcon }
|
44 |
</a>
|
45 |
)
|
46 |
})
|
assets/js/admin-modal/recipe/edit/RecipeIngredients/IngredientsEdit.js
CHANGED
@@ -142,10 +142,25 @@ export default class IngredientsEdit extends Component {
|
|
142 |
}}
|
143 |
onDelete={() => {
|
144 |
let newFields = JSON.parse( JSON.stringify( this.props.ingredients ) );
|
145 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
|
147 |
this.props.onRecipeChange({
|
148 |
ingredients_flat: newFields,
|
|
|
149 |
});
|
150 |
}}
|
151 |
onAdd={() => {
|
142 |
}}
|
143 |
onDelete={() => {
|
144 |
let newFields = JSON.parse( JSON.stringify( this.props.ingredients ) );
|
145 |
+
let newInstructions = JSON.parse( JSON.stringify( this.props.instructions ) );
|
146 |
+
|
147 |
+
// Delete ingredient and retrieve.
|
148 |
+
const deletedIngredient = newFields.splice(index, 1);
|
149 |
+
|
150 |
+
// Need to remove ingredient UID from associated instructions.
|
151 |
+
if ( deletedIngredient[0] && deletedIngredient[0].hasOwnProperty( 'uid' ) ) {
|
152 |
+
const deletedUid = deletedIngredient[0].uid;
|
153 |
+
|
154 |
+
for ( let instruction of newInstructions ) {
|
155 |
+
if ( instruction.hasOwnProperty( 'ingredients' ) ) {
|
156 |
+
instruction.ingredients = instruction.ingredients.filter( ( ingredient ) => ingredient !== deletedUid );
|
157 |
+
}
|
158 |
+
}
|
159 |
+
}
|
160 |
|
161 |
this.props.onRecipeChange({
|
162 |
ingredients_flat: newFields,
|
163 |
+
instructions_flat: newInstructions,
|
164 |
});
|
165 |
}}
|
166 |
onAdd={() => {
|
assets/js/admin-modal/recipe/edit/RecipeIngredients/index.js
CHANGED
@@ -107,6 +107,7 @@ export default class RecipeIngredients extends Component {
|
|
107 |
<Content
|
108 |
type={ this.props.type }
|
109 |
ingredients={ this.props.ingredients }
|
|
|
110 |
onRecipeChange={ this.props.onRecipeChange }
|
111 |
/>
|
112 |
);
|
107 |
<Content
|
108 |
type={ this.props.type }
|
109 |
ingredients={ this.props.ingredients }
|
110 |
+
instructions={ this.props.instructions }
|
111 |
onRecipeChange={ this.props.onRecipeChange }
|
112 |
/>
|
113 |
);
|
assets/js/admin-modal/recipe/edit/RecipeInstructions.js
CHANGED
@@ -1,18 +1,31 @@
|
|
1 |
-
import React, { Component } from 'react';
|
2 |
import { DragDropContext, Droppable } from 'react-beautiful-dnd';
|
|
|
3 |
|
4 |
import '../../../../css/admin/modal/recipe/fields/instructions.scss';
|
5 |
|
6 |
import { __wprm } from 'Shared/Translations';
|
7 |
import Icon from 'Shared/Icon';
|
|
|
|
|
|
|
|
|
|
|
8 |
import FieldInstruction from '../../fields/FieldInstruction';
|
9 |
|
10 |
export default class RecipeInstructions extends Component {
|
11 |
constructor(props) {
|
12 |
super(props);
|
13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
this.state = {
|
15 |
-
|
16 |
}
|
17 |
|
18 |
this.container = React.createRef();
|
@@ -20,7 +33,7 @@ export default class RecipeInstructions extends Component {
|
|
20 |
}
|
21 |
|
22 |
shouldComponentUpdate(nextProps, nextState) {
|
23 |
-
return this.state.
|
24 |
}
|
25 |
|
26 |
componentDidUpdate( prevProps ) {
|
@@ -64,6 +77,7 @@ export default class RecipeInstructions extends Component {
|
|
64 |
text: '',
|
65 |
image: 0,
|
66 |
image_url: '',
|
|
|
67 |
}
|
68 |
}
|
69 |
|
@@ -86,128 +100,203 @@ export default class RecipeInstructions extends Component {
|
|
86 |
}
|
87 |
|
88 |
render() {
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
}
|
108 |
-
|
109 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
>
|
111 |
-
<
|
112 |
-
|
113 |
>
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
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 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
}
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
</
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
</div>
|
210 |
-
</
|
211 |
);
|
212 |
}
|
213 |
}
|
1 |
+
import React, { Component, Fragment } from 'react';
|
2 |
import { DragDropContext, Droppable } from 'react-beautiful-dnd';
|
3 |
+
import he from 'he';
|
4 |
|
5 |
import '../../../../css/admin/modal/recipe/fields/instructions.scss';
|
6 |
|
7 |
import { __wprm } from 'Shared/Translations';
|
8 |
import Icon from 'Shared/Icon';
|
9 |
+
import Helpers from 'Shared/Helpers';
|
10 |
+
|
11 |
+
import EditMode from '../../general/EditMode';
|
12 |
+
import FieldContainer from '../../fields/FieldContainer';
|
13 |
+
import FieldRadio from '../../fields/FieldRadio';
|
14 |
import FieldInstruction from '../../fields/FieldInstruction';
|
15 |
|
16 |
export default class RecipeInstructions extends Component {
|
17 |
constructor(props) {
|
18 |
super(props);
|
19 |
|
20 |
+
// Stored edit mode.
|
21 |
+
let editMode = 'media';
|
22 |
+
let savedEditMode = localStorage.getItem( 'wprm-modal-edit-mode' );
|
23 |
+
if ( savedEditMode ) {
|
24 |
+
editMode = savedEditMode;
|
25 |
+
}
|
26 |
+
|
27 |
this.state = {
|
28 |
+
editMode,
|
29 |
}
|
30 |
|
31 |
this.container = React.createRef();
|
33 |
}
|
34 |
|
35 |
shouldComponentUpdate(nextProps, nextState) {
|
36 |
+
return this.state.editMode !== nextState.editMode || this.props.type !== nextProps.type || this.props.allowVideo !== nextProps.allowVideo || JSON.stringify( this.props.instructions ) !== JSON.stringify( nextProps.instructions ) || JSON.stringify( this.props.ingredients ) !== JSON.stringify( nextProps.ingredients );
|
37 |
}
|
38 |
|
39 |
componentDidUpdate( prevProps ) {
|
77 |
text: '',
|
78 |
image: 0,
|
79 |
image_url: '',
|
80 |
+
ingredients: [],
|
81 |
}
|
82 |
}
|
83 |
|
100 |
}
|
101 |
|
102 |
render() {
|
103 |
+
let editModes = {
|
104 |
+
media: { label: __wprm( 'Instruction Media' ) },
|
105 |
+
};
|
106 |
+
|
107 |
+
// Summary field, in some cases.
|
108 |
+
if ( 'ignore' !== wprm_admin.settings.metadata_instruction_name && 'other' !== this.props.type ) {
|
109 |
+
editModes.summary = {
|
110 |
+
label: __wprm( 'Metadata' ),
|
111 |
+
help: __wprm( 'For guided recipes, Google wants a short (usually 1 word) summary for each instruction step. This will be the "name" in the HowToStep metadata. This is not shown in the recipe template.' ),
|
112 |
+
};
|
113 |
+
}
|
114 |
+
|
115 |
+
// Show ingredients field last.
|
116 |
+
editModes.ingredients = { label: __wprm( 'Associated Ingredients' ) };
|
117 |
+
|
118 |
+
// Get all ingredients.
|
119 |
+
const allIngredients = this.props.ingredients.filter( (ingredient) => 'ingredient' === ingredient.type && '' !== ingredient.name );
|
120 |
+
|
121 |
+
// Get used ingredients in instructions.
|
122 |
+
let usedIngredients = [];
|
123 |
+
|
124 |
+
for ( let instruction of this.props.instructions ) {
|
125 |
+
if ( instruction.hasOwnProperty( 'ingredients' ) ) {
|
126 |
+
usedIngredients = usedIngredients.concat( instruction.ingredients );
|
127 |
+
}
|
128 |
+
}
|
129 |
+
|
130 |
+
// Now get unused ingredients.
|
131 |
+
let unusedIngredients = [];
|
132 |
+
|
133 |
+
for ( let ingredient of this.props.ingredients ) {
|
134 |
+
if ( 'ingredient' === ingredient.type ) {
|
135 |
+
if ( ! usedIngredients.includes( ingredient.uid ) ) {
|
136 |
+
const ingredientString = Helpers.getIngredientString( ingredient );
|
137 |
+
|
138 |
+
if ( ingredientString ) {
|
139 |
+
unusedIngredients.push( ingredientString );
|
140 |
+
}
|
141 |
}
|
142 |
+
}
|
143 |
+
}
|
144 |
+
|
145 |
+
return (
|
146 |
+
<Fragment>
|
147 |
+
<EditMode
|
148 |
+
modes={ editModes }
|
149 |
+
mode={ this.state.editMode }
|
150 |
+
onModeChange={(mode) => {
|
151 |
+
localStorage.setItem( 'wprm-modal-edit-mode', mode );
|
152 |
+
this.setState({ editMode: mode });
|
153 |
+
}}
|
154 |
+
/>
|
155 |
+
<div
|
156 |
+
className="wprm-admin-modal-field-instruction-container"
|
157 |
+
ref={ this.container }
|
158 |
>
|
159 |
+
<DragDropContext
|
160 |
+
onDragEnd={this.onDragEnd.bind(this)}
|
161 |
>
|
162 |
+
<Droppable
|
163 |
+
droppableId="wprm-instructions"
|
164 |
+
>
|
165 |
+
{(provided, snapshot) => (
|
166 |
+
<div
|
167 |
+
className={`${ snapshot.isDraggingOver ? ' wprm-admin-modal-field-instruction-container-draggingover' : ''}`}
|
168 |
+
ref={provided.innerRef}
|
169 |
+
{...provided.droppableProps}
|
170 |
+
>
|
171 |
+
{
|
172 |
+
this.props.instructions.map((field, index) => (
|
173 |
+
<FieldInstruction
|
174 |
+
{ ...field }
|
175 |
+
index={ index }
|
176 |
+
key={ `instruction-${field.uid}` }
|
177 |
+
onTab={(event) => {
|
178 |
+
// Create new instruction if we're tabbing in the last one.
|
179 |
+
if ( index === this.props.instructions.length - 1) {
|
180 |
+
event.preventDefault();
|
181 |
+
// Use timeout to fix focus problem (because of preventDefault?).
|
182 |
+
setTimeout(() => {
|
183 |
+
this.addField( 'instruction' );
|
184 |
+
});
|
185 |
+
}
|
186 |
+
}}
|
187 |
+
editMode={ this.state.editMode }
|
188 |
+
onChangeName={ ( name ) => {
|
189 |
+
let newFields = JSON.parse( JSON.stringify( this.props.instructions ) );
|
190 |
+
newFields[index].name = name;
|
191 |
+
|
192 |
+
this.props.onRecipeChange({
|
193 |
+
instructions_flat: newFields,
|
194 |
});
|
195 |
+
}}
|
196 |
+
onChangeText={ ( text ) => {
|
197 |
+
let newFields = JSON.parse( JSON.stringify( this.props.instructions ) );
|
198 |
+
newFields[index].text = text;
|
199 |
+
|
200 |
+
this.props.onRecipeChange({
|
201 |
+
instructions_flat: newFields,
|
202 |
+
});
|
203 |
+
}}
|
204 |
+
onChangeImage={ ( image, url ) => {
|
205 |
+
let newFields = JSON.parse( JSON.stringify( this.props.instructions ) );
|
206 |
+
|
207 |
+
newFields[index].image = image;
|
208 |
+
newFields[index].image_url = url;
|
209 |
+
|
210 |
+
this.props.onRecipeChange({
|
211 |
+
instructions_flat: newFields,
|
212 |
+
});
|
213 |
+
}}
|
214 |
+
onDelete={() => {
|
215 |
+
let newFields = JSON.parse( JSON.stringify( this.props.instructions ) );
|
216 |
+
newFields.splice(index, 1);
|
217 |
+
|
218 |
+
this.props.onRecipeChange({
|
219 |
+
instructions_flat: newFields,
|
220 |
+
});
|
221 |
+
}}
|
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 ) );
|
228 |
+
newFields[index].video = video;
|
229 |
+
|
230 |
+
this.props.onRecipeChange({
|
231 |
+
instructions_flat: newFields,
|
232 |
+
});
|
233 |
+
}}
|
234 |
+
allIngredients={ allIngredients }
|
235 |
+
onChangeIngredients={ ( ingredients ) => {
|
236 |
+
let newFields = JSON.parse( JSON.stringify( this.props.instructions ) );
|
237 |
+
newFields[index].ingredients = ingredients;
|
238 |
+
|
239 |
+
this.props.onRecipeChange({
|
240 |
+
instructions_flat: newFields,
|
241 |
+
});
|
242 |
+
}}
|
243 |
+
/>
|
244 |
+
))
|
245 |
+
}
|
246 |
+
{provided.placeholder}
|
247 |
+
</div>
|
248 |
+
)}
|
249 |
+
</Droppable>
|
250 |
+
</DragDropContext>
|
251 |
+
{
|
252 |
+
'ingredients' === this.state.editMode
|
253 |
+
&&
|
254 |
+
<div className="wprm-admin-modal-field-instruction-unused-ingredients">
|
255 |
+
{
|
256 |
+
0 === allIngredients.length
|
257 |
+
?
|
258 |
+
<div className="wprm-admin-modal-field-instruction-unused-ingredients-info">{ __wprm( "This recipe doesn't have any ingredients." ) }</div>
|
259 |
+
:
|
260 |
+
<Fragment>
|
261 |
+
{
|
262 |
+
0 === unusedIngredients.length
|
263 |
+
?
|
264 |
+
<div className="wprm-admin-modal-field-instruction-unused-ingredients-info">{ __wprm( 'All ingredients are associated with a step!' ) }</div>
|
265 |
+
:
|
266 |
+
<Fragment>
|
267 |
+
<div className="wprm-admin-modal-field-instruction-unused-ingredients-info">{ __wprm( 'Unused ingredients:' ) }</div>
|
268 |
+
{
|
269 |
+
unusedIngredients.map( ( ingredient, index ) => {
|
270 |
+
return <div className="wprm-admin-modal-field-instruction-unused-ingredients-ingredient" key={ index }>{ he.decode( ingredient ) }</div>
|
271 |
+
})
|
272 |
+
}
|
273 |
+
</Fragment>
|
274 |
+
}
|
275 |
+
</Fragment>
|
276 |
+
}
|
277 |
+
</div>
|
278 |
+
}
|
279 |
+
<div
|
280 |
+
className="wprm-admin-modal-field-instruction-actions"
|
281 |
+
>
|
282 |
+
<button
|
283 |
+
className="button"
|
284 |
+
onClick={(e) => {
|
285 |
+
e.preventDefault();
|
286 |
+
this.addField( 'instruction' );
|
287 |
+
} }
|
288 |
+
>{ __wprm( 'Add Instruction' ) }</button>
|
289 |
+
<button
|
290 |
+
className="button"
|
291 |
+
onClick={(e) => {
|
292 |
+
e.preventDefault();
|
293 |
+
this.addField( 'group' );
|
294 |
+
} }
|
295 |
+
>{ __wprm( 'Add Instruction Group' ) }</button>
|
296 |
+
<p>{ __wprm( 'Tip: use the TAB key to move from field to field and easily add instructions.' ) }</p>
|
297 |
+
</div>
|
298 |
</div>
|
299 |
+
</Fragment>
|
300 |
);
|
301 |
}
|
302 |
}
|
assets/js/admin-modal/recipe/edit/index.js
CHANGED
@@ -148,6 +148,7 @@ const EditRecipe = (props) => {
|
|
148 |
<RecipeIngredients
|
149 |
type={ props.recipe.type }
|
150 |
ingredients={ props.recipe.ingredients_flat }
|
|
|
151 |
linkType={ props.recipe.ingredient_links_type }
|
152 |
system={ props.recipe.unit_system }
|
153 |
onRecipeChange={ props.onRecipeChange }
|
@@ -160,6 +161,7 @@ const EditRecipe = (props) => {
|
|
160 |
elem: (
|
161 |
<RecipeInstructions
|
162 |
type={ props.recipe.type }
|
|
|
163 |
instructions={ props.recipe.instructions_flat }
|
164 |
onRecipeChange={ props.onRecipeChange }
|
165 |
allowVideo={ hasVideo && 'other' !== props.recipe.type }
|
148 |
<RecipeIngredients
|
149 |
type={ props.recipe.type }
|
150 |
ingredients={ props.recipe.ingredients_flat }
|
151 |
+
instructions={ props.recipe.instructions_flat }
|
152 |
linkType={ props.recipe.ingredient_links_type }
|
153 |
system={ props.recipe.unit_system }
|
154 |
onRecipeChange={ props.onRecipeChange }
|
161 |
elem: (
|
162 |
<RecipeInstructions
|
163 |
type={ props.recipe.type }
|
164 |
+
ingredients={ props.recipe.ingredients_flat }
|
165 |
instructions={ props.recipe.instructions_flat }
|
166 |
onRecipeChange={ props.onRecipeChange }
|
167 |
allowVideo={ hasVideo && 'other' !== props.recipe.type }
|
assets/js/admin.js
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import './admin/editor';
|
2 |
import './admin/feedback';
|
3 |
import './admin/import';
|
@@ -5,6 +6,5 @@ import './admin/settings';
|
|
5 |
import './admin/tools';
|
6 |
|
7 |
import '../css/admin/addons.scss';
|
8 |
-
import '../css/admin/comments.scss';
|
9 |
|
10 |
import './public/comment-rating';
|
1 |
+
import './admin/comments';
|
2 |
import './admin/editor';
|
3 |
import './admin/feedback';
|
4 |
import './admin/import';
|
6 |
import './admin/tools';
|
7 |
|
8 |
import '../css/admin/addons.scss';
|
|
|
9 |
|
10 |
import './public/comment-rating';
|
assets/js/admin/comments.js
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import '../../css/admin/comments.scss';
|
2 |
+
|
3 |
+
// admin-comment-form-wprm-rating
|
4 |
+
|
5 |
+
window.WPRecipeMaker.comments = {
|
6 |
+
init: () => {
|
7 |
+
document.addEventListener( 'click', function(e) {
|
8 |
+
for ( var target = e.target; target && target != this; target = target.parentNode ) {
|
9 |
+
if ( target.matches( '.admin-comment-form-wprm-rating-remove' ) ) {
|
10 |
+
window.WPRecipeMaker.comments.removeRating( target, e );
|
11 |
+
break;
|
12 |
+
}
|
13 |
+
if ( target.matches( '.admin-comment-form-wprm-rating-remove-cancel' ) ) {
|
14 |
+
window.WPRecipeMaker.comments.cancelRemoveRating( target, e );
|
15 |
+
break;
|
16 |
+
}
|
17 |
+
}
|
18 |
+
}, false );
|
19 |
+
},
|
20 |
+
removeRating: ( el, e ) => {
|
21 |
+
e.preventDefault();
|
22 |
+
const container = el.closest( '#wprm-comment-rating' );
|
23 |
+
|
24 |
+
// Hide link and show warning.
|
25 |
+
const starsContainer = container.querySelector( '.admin-comment-form-wprm-rating' );
|
26 |
+
starsContainer.classList.add( 'admin-comment-form-wprm-rating-to-remove' );
|
27 |
+
|
28 |
+
const warning = container.querySelector( '.admin-comment-form-wprm-rating-ready-to-remove' );
|
29 |
+
warning.style.display = 'block';
|
30 |
+
|
31 |
+
|
32 |
+
// Set input to 0.
|
33 |
+
const input = container.querySelector( '#admin-comment-form-wprm-rating-value' );
|
34 |
+
input.value = 0;
|
35 |
+
},
|
36 |
+
cancelRemoveRating: ( el, e ) => {
|
37 |
+
e.preventDefault();
|
38 |
+
const container = el.closest( '#wprm-comment-rating' );
|
39 |
+
|
40 |
+
// Reverse.
|
41 |
+
const starsContainer = container.querySelector( '.admin-comment-form-wprm-rating' );
|
42 |
+
starsContainer.classList.remove( 'admin-comment-form-wprm-rating-to-remove' );
|
43 |
+
|
44 |
+
const warning = container.querySelector( '.admin-comment-form-wprm-rating-ready-to-remove' );
|
45 |
+
warning.style.display = 'none';
|
46 |
+
|
47 |
+
|
48 |
+
// Set input to original.
|
49 |
+
const input = container.querySelector( '#admin-comment-form-wprm-rating-value' );
|
50 |
+
const originalValue = input.dataset.original;
|
51 |
+
input.value = originalValue;
|
52 |
+
},
|
53 |
+
};
|
54 |
+
|
55 |
+
ready(() => {
|
56 |
+
window.WPRecipeMaker.comments.init();
|
57 |
+
});
|
58 |
+
|
59 |
+
function ready( fn ) {
|
60 |
+
if (document.readyState != 'loading'){
|
61 |
+
fn();
|
62 |
+
} else {
|
63 |
+
document.addEventListener('DOMContentLoaded', fn);
|
64 |
+
}
|
65 |
+
}
|
assets/js/shared/Api/Dashboard.js
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const dashboardEndpoint = wprm_admin.endpoints.dashboard;
|
2 |
+
|
3 |
+
import ApiWrapper from '../ApiWrapper';
|
4 |
+
|
5 |
+
export default {
|
6 |
+
getAnalytics() {
|
7 |
+
return ApiWrapper.call( `${dashboardEndpoint}/analytics` );
|
8 |
+
},
|
9 |
+
};
|
assets/js/shared/Api/index.js
CHANGED
@@ -2,6 +2,7 @@ const { hooks } = WPRecipeMaker['wp-recipe-maker/dist/shared'];
|
|
2 |
|
3 |
import Analytics from './Analytics';
|
4 |
import CustomTaxonomy from './CustomTaxonomy';
|
|
|
5 |
import General from './General';
|
6 |
import Import from './Import';
|
7 |
import Manage from './Manage';
|
@@ -15,6 +16,7 @@ import Utilities from './Utilities';
|
|
15 |
const api = hooks.applyFilters( 'api', {
|
16 |
analytics: Analytics,
|
17 |
customTaxonomy: CustomTaxonomy,
|
|
|
18 |
general: General,
|
19 |
import: Import,
|
20 |
manage: Manage,
|
2 |
|
3 |
import Analytics from './Analytics';
|
4 |
import CustomTaxonomy from './CustomTaxonomy';
|
5 |
+
import Dashboard from './Dashboard';
|
6 |
import General from './General';
|
7 |
import Import from './Import';
|
8 |
import Manage from './Manage';
|
16 |
const api = hooks.applyFilters( 'api', {
|
17 |
analytics: Analytics,
|
18 |
customTaxonomy: CustomTaxonomy,
|
19 |
+
dashboard: Dashboard,
|
20 |
general: General,
|
21 |
import: Import,
|
22 |
manage: Manage,
|
assets/js/shared/Helpers.js
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
export default {
|
2 |
+
getIngredientString( ingredient ) {
|
3 |
+
let ingredientString = '';
|
4 |
+
|
5 |
+
let fields = [];
|
6 |
+
if ( ingredient.amount ) { fields.push( ingredient.amount ); }
|
7 |
+
if ( ingredient.unit ) { fields.push( ingredient.unit ); }
|
8 |
+
if ( ingredient.name ) { fields.push( ingredient.name ); }
|
9 |
+
if ( ingredient.notes ) { fields.push( ingredient.notes ); }
|
10 |
+
|
11 |
+
if ( fields.length ) {
|
12 |
+
ingredientString = fields.join( ' ' ).replace( /(<([^>]+)>)/ig, '' ).trim();
|
13 |
+
}
|
14 |
+
|
15 |
+
return ingredientString;
|
16 |
+
},
|
17 |
+
};
|
dist/admin-dashboard.css
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#wpbody-content>*:not(#wprm-admin-dashboard,.wprm-wrap),#wpfooter,#wpbody-content #wprm-admin-dashboard .fs-notice{display:none !important}#wprm-admin-dashboard{color:#444}#wprm-admin-dashboard,#wprm-admin-dashboard p{font-size:14px}.wprm-admin-dashboard-block-container{margin:20px 0;background-color:white;border-radius:5px}.wprm-admin-dashboard-block-container .wprm-admin-dashboard-block-header{height:28px;display:flex;align-items:center;justify-content:space-between;font-weight:bold;font-size:1.2em;border-bottom:1px solid #ddd}.wprm-admin-dashboard-block-container .wprm-admin-dashboard-block-header,.wprm-admin-dashboard-block-container .wprm-admin-dashboard-block{padding:10px}.wprm-admin-dashboard-block-container .wprm-admin-dashboard-block p:first-child{margin-top:0}.wprm-admin-dashboard-block-container .wprm-admin-dashboard-block p:last-child{margin-bottom:0}.wprm-admin-dashboard-block-footer-container{margin:10px -10px -10px -10px;padding:10px;border-top:1px solid #ddd}.wprm-admin-dashboard-block-footer-container .wprm-admin-dashboard-block-footer-title{font-weight:bold;font-size:1.1em;margin-bottom:10px}.wprm-admin-dashboard-blocks-grid{display:flex;margin-left:-20px;width:auto}.wprm-admin-dashboard-blocks-grid-column{padding-left:20px;background-clip:padding-box}
|
2 |
+
|
3 |
+
.wprm-admin-dashboard-block-chart{padding:10px 0;border-top:1px solid #ddd}.wprm-admin-dashboard-block-chart:first-child{border-top:none;padding-top:0}.wprm-admin-dashboard-block-chart .wprm-admin-dashboard-block-chart-title{font-weight:bold;font-size:1.1em;margin-bottom:10px}table.wprm-admin-dashboard-block-chart-table{width:100%;border-collapse:collapse}table.wprm-admin-dashboard-block-chart-table th:nth-child(1){text-align:left}table.wprm-admin-dashboard-block-chart-table td{padding:3px 0}table.wprm-admin-dashboard-block-chart-table td:nth-child(2),table.wprm-admin-dashboard-block-chart-table td:nth-child(3){width:75px;text-align:center}table.wprm-admin-dashboard-block-chart-table tbody tr:hover{background-color:#eee}
|
4 |
+
|
5 |
+
.react-toggle{touch-action:pan-x;display:inline-block;position:relative;cursor:pointer;background-color:transparent;border:0;padding:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent}.react-toggle-screenreader-only{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.react-toggle--disabled{cursor:not-allowed;opacity:0.5;-webkit-transition:opacity 0.25s;transition:opacity 0.25s}.react-toggle-track{width:50px;height:24px;padding:0;border-radius:30px;background-color:#4D4D4D;-webkit-transition:all 0.2s ease;-moz-transition:all 0.2s ease;transition:all 0.2s ease}.react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track{background-color:#000000}.react-toggle--checked .react-toggle-track{background-color:#19AB27}.react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track{background-color:#128D15}.react-toggle-track-check{position:absolute;width:14px;height:10px;top:0px;bottom:0px;margin-top:auto;margin-bottom:auto;line-height:0;left:8px;opacity:0;-webkit-transition:opacity 0.25s ease;-moz-transition:opacity 0.25s ease;transition:opacity 0.25s ease}.react-toggle--checked .react-toggle-track-check{opacity:1;-webkit-transition:opacity 0.25s ease;-moz-transition:opacity 0.25s ease;transition:opacity 0.25s ease}.react-toggle-track-x{position:absolute;width:10px;height:10px;top:0px;bottom:0px;margin-top:auto;margin-bottom:auto;line-height:0;right:10px;opacity:1;-webkit-transition:opacity 0.25s ease;-moz-transition:opacity 0.25s ease;transition:opacity 0.25s ease}.react-toggle--checked .react-toggle-track-x{opacity:0}.react-toggle-thumb{transition:all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0ms;position:absolute;top:1px;left:1px;width:22px;height:22px;border:1px solid #4D4D4D;border-radius:50%;background-color:#FAFAFA;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all 0.25s ease;-moz-transition:all 0.25s ease;transition:all 0.25s ease}.react-toggle--checked .react-toggle-thumb{left:27px;border-color:#19AB27}.react-toggle--focus .react-toggle-thumb{-webkit-box-shadow:0px 0px 3px 2px #0099E0;-moz-box-shadow:0px 0px 3px 2px #0099E0;box-shadow:0px 0px 2px 3px #0099E0}.react-toggle:active:not(.react-toggle--disabled) .react-toggle-thumb{-webkit-box-shadow:0px 0px 5px 5px #0099E0;-moz-box-shadow:0px 0px 5px 5px #0099E0;box-shadow:0px 0px 5px 5px #0099E0}
|
6 |
+
|
7 |
+
.wprm-admin-dashboard-toggle-container{display:flex;align-items:center}.wprm-admin-dashboard-toggle-container .wprm-admin-dashboard-toggle-label{display:block;padding-left:10px}
|
8 |
+
|
9 |
+
.wprm-admin-loader{display:inline-block;width:10px;height:10px;border:2px solid rgba(200,200,200,0.3);border-radius:50%;border-top-color:#444;animation:spin 1s ease-in-out infinite;-webkit-animation:spin 1s ease-in-out infinite}@keyframes spin{to{-webkit-transform:rotate(360deg)}}@-webkit-keyframes spin{to{-webkit-transform:rotate(360deg)}}
|
10 |
+
|
11 |
+
.wprm-admin-dashboard-learn-container{margin:-10px 0}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container{padding:10px 0;border-top:1px solid #ddd}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container:first-child{border-top:none}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container .wprm-admin-dashboard-learn-section-title{font-weight:bold;font-size:1.1em}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container .wprm-admin-dashboard-learn-section{padding:5px 0}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container .wprm-admin-dashboard-learn-section-item{padding-top:5px}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container .wprm-admin-dashboard-learn-section-item a{text-decoration:none}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container .wprm-admin-dashboard-learn-section-item a:hover{text-decoration:underline}
|
12 |
+
|
13 |
+
.wprm-admin-dashboard-news-container{max-height:300px;overflow-y:scroll;margin:-10px 0}.wprm-admin-dashboard-news-container a.wprm-admin-dashboard-news-item:hover .wprm-admin-dashboard-news-item-title{text-decoration:underline}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-top:1px solid #ddd;text-decoration:none}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item:first-child{border-top:none}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-title-container{flex:1;display:flex;align-items:center}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-title-container .wprm-admin-dashboard-news-item-date{flex-basis:60px;flex-shrink:0;margin-right:10px;color:#777;font-size:0.9em}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item.wprm-admin-dashboard-news-item-new .wprm-admin-dashboard-news-item-title-container .wprm-admin-dashboard-news-item-date:after{content:' \25CF';font-size:6px;color:darkred;float:right}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item.wprm-admin-dashboard-news-item-new .wprm-admin-dashboard-news-item-title-container .wprm-admin-dashboard-news-item-title{font-weight:bold}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-label{flex-shrink:0;margin-left:15px;background-color:#2c3338;color:white;font-size:0.9em;padding:2px 6px;border-radius:5px}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-label.wprm-admin-dashboard-news-item-label-blog{background-color:#2271b1}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-label.wprm-admin-dashboard-news-item-label-release{background-color:darkgreen}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-label.wprm-admin-dashboard-news-item-label-partner{background-color:darkred}
|
14 |
+
|
15 |
+
.wprm-admin-dashboard-recipes-container{margin:-10px 0}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-recipe{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #ddd;text-decoration:none}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-recipe .wprm-admin-dashboard-recipes-recipe-name-container{flex:1;display:flex;align-items:center}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-recipe .wprm-admin-dashboard-recipes-recipe-name-container .wprm-admin-dashboard-recipes-recipe-date{flex-basis:60px;flex-shrink:0;margin-right:10px;color:#777;font-size:0.9em}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-recipe .wprm-admin-dashboard-recipes-recipe-actions{flex-shrink:0;margin-left:5px;display:flex;align-items:center}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-recipe .wprm-admin-dashboard-recipes-recipe-actions .wprm-admin-dashboard-recipes-recipe-action{margin-left:10px}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-all{margin:7px 0 10px 0}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-all a{text-decoration:none}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-all a:hover{text-decoration:underline}
|
16 |
+
|
17 |
+
.wprm-admin-icon{opacity:0.5;margin-top:2px}.wprm-admin-icon:hover{opacity:1;cursor:pointer}.wprm-admin-icon.wprm-admin-icon-hidden{opacity:0.1;cursor:default}.wprm-admin-icon-help{display:inline-block;margin-top:0;margin-left:5px;border:1px solid #444;border-radius:100%;opacity:1;width:16px;height:16px;text-align:center;font-size:12px}.wprm-admin-icon-help svg{width:10px;height:9px;margin-bottom:2px}.wprm-admin-icon-help:hover{background-color:#444}.wprm-admin-icon-help:hover svg g,.wprm-admin-icon-help:hover svg path{fill:white}
|
18 |
+
|
19 |
+
.tippy-touch{cursor:pointer !important}.tippy-notransition{transition:none !important}.tippy-popper{max-width:400px;-webkit-perspective:800px;perspective:800px;z-index:9999;outline:0;transition-timing-function:cubic-bezier(0.165, 0.84, 0.44, 1);pointer-events:none}.tippy-popper.html-template{max-width:96%;max-width:calc(100% - 20px)}.tippy-popper[x-placement^=top] [x-arrow]{border-top:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;bottom:-7px;margin:0 9px}.tippy-popper[x-placement^=top] [x-arrow].arrow-small{border-top:5px solid #333;border-right:5px solid transparent;border-left:5px solid transparent;bottom:-5px}.tippy-popper[x-placement^=top] [x-arrow].arrow-big{border-top:10px solid #333;border-right:10px solid transparent;border-left:10px solid transparent;bottom:-10px}.tippy-popper[x-placement^=top] [x-circle]{-webkit-transform-origin:0 33%;transform-origin:0 33%}.tippy-popper[x-placement^=top] [x-circle].enter{-webkit-transform:scale(1) translate(-50%, -55%);transform:scale(1) translate(-50%, -55%);opacity:1}.tippy-popper[x-placement^=top] [x-circle].leave{-webkit-transform:scale(0.15) translate(-50%, -50%);transform:scale(0.15) translate(-50%, -50%);opacity:0}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow]{border-top:7px solid #fff;border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-top:5px solid #fff;border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-top:10px solid #fff;border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,0.7)}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow]{border-top:7px solid rgba(0,0,0,0.7);border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-top:5px solid rgba(0,0,0,0.7);border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-top:10px solid rgba(0,0,0,0.7);border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateY(-10px) rotateX(0);transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateY(0) rotateX(90deg);transform:translateY(0) rotateX(90deg)}.tippy-popper[x-placement^=top] [data-animation=fade].enter{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade].leave{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift].enter{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift].leave{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale].enter{opacity:1;-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale].leave{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=bottom] [x-arrow]{border-bottom:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;top:-7px;margin:0 9px}.tippy-popper[x-placement^=bottom] [x-arrow].arrow-small{border-bottom:5px solid #333;border-right:5px solid transparent;border-left:5px solid transparent;top:-5px}.tippy-popper[x-placement^=bottom] [x-arrow].arrow-big{border-bottom:10px solid #333;border-right:10px solid transparent;border-left:10px solid transparent;top:-10px}.tippy-popper[x-placement^=bottom] [x-circle]{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] [x-circle].enter{-webkit-transform:scale(1) translate(-50%, -45%);transform:scale(1) translate(-50%, -45%);opacity:1}.tippy-popper[x-placement^=bottom] [x-circle].leave{-webkit-transform:scale(0.15) translate(-50%, -5%);transform:scale(0.15) translate(-50%, -5%);opacity:0}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow]{border-bottom:7px solid #fff;border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-bottom:5px solid #fff;border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-bottom:10px solid #fff;border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,0.7)}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow]{border-bottom:7px solid rgba(0,0,0,0.7);border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-bottom:5px solid rgba(0,0,0,0.7);border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-bottom:10px solid rgba(0,0,0,0.7);border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateY(10px) rotateX(0);transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateY(0) rotateX(-90deg);transform:translateY(0) rotateX(-90deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade].enter{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade].leave{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift].enter{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift].leave{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale].enter{opacity:1;-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale].leave{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=left] [x-arrow]{border-left:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;right:-7px;margin:6px 0}.tippy-popper[x-placement^=left] [x-arrow].arrow-small{border-left:5px solid #333;border-top:5px solid transparent;border-bottom:5px solid transparent;right:-5px}.tippy-popper[x-placement^=left] [x-arrow].arrow-big{border-left:10px solid #333;border-top:10px solid transparent;border-bottom:10px solid transparent;right:-10px}.tippy-popper[x-placement^=left] [x-circle]{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] [x-circle].enter{-webkit-transform:scale(1) translate(-50%, -50%);transform:scale(1) translate(-50%, -50%);opacity:1}.tippy-popper[x-placement^=left] [x-circle].leave{-webkit-transform:scale(0.15) translate(-50%, -50%);transform:scale(0.15) translate(-50%, -50%);opacity:0}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow]{border-left:7px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-left:5px solid #fff;border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-left:10px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,0.7)}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow]{border-left:7px solid rgba(0,0,0,0.7);border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-left:5px solid rgba(0,0,0,0.7);border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-left:10px solid rgba(0,0,0,0.7);border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateX(-10px) rotateY(0);transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateX(0) rotateY(-90deg);transform:translateX(0) rotateY(-90deg)}.tippy-popper[x-placement^=left] [data-animation=fade].enter{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade].leave{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift].enter{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift].leave{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale].enter{opacity:1;-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale].leave{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-popper[x-placement^=right] [x-arrow]{border-right:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;left:-7px;margin:6px 0}.tippy-popper[x-placement^=right] [x-arrow].arrow-small{border-right:5px solid #333;border-top:5px solid transparent;border-bottom:5px solid transparent;left:-5px}.tippy-popper[x-placement^=right] [x-arrow].arrow-big{border-right:10px solid #333;border-top:10px solid transparent;border-bottom:10px solid transparent;left:-10px}.tippy-popper[x-placement^=right] [x-circle]{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] [x-circle].enter{-webkit-transform:scale(1) translate(-50%, -50%);transform:scale(1) translate(-50%, -50%);opacity:1}.tippy-popper[x-placement^=right] [x-circle].leave{-webkit-transform:scale(0.15) translate(-50%, -50%);transform:scale(0.15) translate(-50%, -50%);opacity:0}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow]{border-right:7px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-right:5px solid #fff;border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-right:10px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,0.7)}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow]{border-right:7px solid rgba(0,0,0,0.7);border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-right:5px solid rgba(0,0,0,0.7);border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-right:10px solid rgba(0,0,0,0.7);border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateX(10px) rotateY(0);transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateX(0) rotateY(90deg);transform:translateX(0) rotateY(90deg)}.tippy-popper[x-placement^=right] [data-animation=fade].enter{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade].leave{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift].enter{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift].leave{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale].enter{opacity:1;-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale].leave{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-popper .tippy-tooltip.transparent-theme{background-color:rgba(0,0,0,0.7)}.tippy-popper .tippy-tooltip.transparent-theme[data-animatefill]{background-color:transparent}.tippy-popper .tippy-tooltip.light-theme{color:#26323d;box-shadow:0 4px 20px 4px rgba(0,20,60,0.1),0 4px 80px -8px rgba(0,20,60,0.2);background-color:#fff}.tippy-popper .tippy-tooltip.light-theme[data-animatefill]{background-color:transparent}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.95rem;padding:.4rem .8rem;text-align:center;will-change:transform;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#333}.tippy-tooltip--small{padding:.25rem .5rem;font-size:.8rem}.tippy-tooltip--big{padding:.6rem 1.2rem;font-size:1.2rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia]{transition-timing-function:cubic-bezier(0.53, 2, 0.36, 0.85)}.tippy-tooltip [x-arrow]{position:absolute;width:0;height:0}.tippy-tooltip [x-circle]{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:130%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;overflow:hidden;transition:all ease}.tippy-tooltip [x-circle]:before{content:"";padding-top:90%;float:left}@media (max-width: 450px){.tippy-popper{max-width:96%;max-width:calc(100% - 20px)}}
|
20 |
+
|
21 |
+
.wprm-admin-dashboard-tips-container{margin:-10px;padding-bottom:13px;display:flex;align-items:center}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips-prev,.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips-next{width:30px;text-align:center;font-size:16px;height:100px;display:flex;justify-content:center;align-items:center;opacity:0.3}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips-prev:hover,.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips-next:hover{cursor:pointer;opacity:1}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips{height:100px;flex:1}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips .wprm-admin-dashboard-tip-container{display:none;height:100%;justify-content:center;align-items:center}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips .wprm-admin-dashboard-tip-container.wprm-admin-dashboard-tip-container-active{display:flex}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips .wprm-admin-dashboard-tip{text-align:center;width:80%;max-width:550px;max-height:90%;overflow-y:scroll}.wprm-admin-dashboard-tips-progress{height:2px;margin:-10px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;overflow:hidden}.wprm-admin-dashboard-tips-progress .wprm-admin-dashboard-tips-progress-bar{height:100%;background-color:#2271b1}.wprm-admin-dashboard-tips-progress .wprm-admin-dashboard-tips-progress-bar-odd{animation:progressBarOdd 15s linear}.wprm-admin-dashboard-tips-progress .wprm-admin-dashboard-tips-progress-bar-even{animation:progressBarEven 15s linear;float:right}@keyframes progressBarOdd{0%{width:0}100%{width:100%}}@keyframes progressBarEven{0%{width:100%}100%{width:0}}
|
22 |
+
|
dist/admin-dashboard.js
ADDED
@@ -0,0 +1,213 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
var WPRecipeMaker;(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-recipe-maker/dist/admin-dashboard"]=(self.webpackChunkWPRecipeMaker_name_=self.webpackChunkWPRecipeMaker_name_||[]).push([[752],{70535:function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,{scaleBand:function(){return Va},scaleDiverging:function(){return jp},scaleDivergingLog:function(){return Tp},scaleDivergingPow:function(){return _p},scaleDivergingSqrt:function(){return kp},scaleDivergingSymlog:function(){return Pp},scaleIdentity:function(){return ss},scaleImplicit:function(){return Fa},scaleLinear:function(){return us},scaleLog:function(){return gs},scaleOrdinal:function(){return Ja},scalePoint:function(){return Xa},scalePow:function(){return js},scaleQuantile:function(){return zs},scaleQuantize:function(){return Ws},scaleRadial:function(){return ks},scaleSequential:function(){return bp},scaleSequentialLog:function(){return xp},scaleSequentialPow:function(){return Ip},scaleSequentialQuantile:function(){return Ep},scaleSequentialSqrt:function(){return Mp},scaleSequentialSymlog:function(){return wp},scaleSqrt:function(){return Ts},scaleSymlog:function(){return Is},scaleThreshold:function(){return Bs},scaleTime:function(){return yp},scaleUtc:function(){return vp},tickFormat:function(){return as}});var i=n(73961),o=n(89526);function a(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}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(t){let e;super(t),this.reCalculateColumnCount=this.reCalculateColumnCount.bind(this),this.reCalculateColumnCountDebounce=this.reCalculateColumnCountDebounce.bind(this),e=this.props.breakpointCols&&this.props.breakpointCols.default?this.props.breakpointCols.default:parseInt(this.props.breakpointCols)||2,this.state={columnCount:e}}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 t=window&&window.innerWidth||1/0;let e=this.props.breakpointCols;"object"!=typeof e&&(e={default:parseInt(e)||2});let n=1/0,r=e.default||2;for(let i in e){const o=parseInt(i);o>0&&t<=o&&o<n&&(n=o,r=e[i])}r=Math.max(1,parseInt(r)||1),this.state.columnCount!==r&&this.setState({columnCount:r})}itemsInColumns(){const t=this.state.columnCount,e=new Array(t),n=o.Children.toArray(this.props.children);for(let r=0;r<n.length;r++){const i=r%t;e[i]||(e[i]=[]),e[i].push(n[r])}return e}renderColumns(){const{column:t,columnAttrs:e={},columnClassName:n}=this.props,r=this.itemsInColumns(),i=100/r.length+"%";let a=n;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({},t),e),{},{style:s(s({},e.style),{},{width:i}),className:a});return r.map(((t,e)=>o.createElement("div",c({},u,{key:e}),t)))}logDeprecated(t){console.error("[Masonry]",t)}render(){const t=this.props,{children:e,breakpointCols:n,columnClassName:r,columnAttrs:i,column:u,className:s}=t,l=a(t,["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=t=>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"},t.title),t.hasOwnProperty("button")&&o.createElement("div",{className:"wprm-admin-dashboard-block-header-button"},o.createElement("button",{className:"button button-primary",onClick:()=>{t.buttonAction()}},t.button))),o.createElement("div",{className:"wprm-admin-dashboard-block"},t.children)),y={default:2,1150:1},v=t=>o.createElement(d,{breakpointCols:y,className:"wprm-admin-dashboard-blocks-grid",columnClassName:"wprm-admin-dashboard-blocks-grid-column"},t.blocks.map((t=>{var e=t.block;return o.createElement(e,{key:t.id})}))),m=n(52082),g=n(99237),b=t=>o.createElement("div",{className:"wprm-admin-dashboard-block-footer-container"},t.hasOwnProperty("title")&&o.createElement("div",{className:"wprm-admin-dashboard-block-footer-title"},t.title),o.createElement("div",{className:"wprm-admin-dashboard-block-footer"},t.children)),x=n(67127),w=t=>o.createElement("label",{className:"wprm-admin-dashboard-toggle-container"},o.createElement(x.Z,{className:"wprm-admin-dashboard-toggle",checked:t.value,onChange:e=>t.onChange(e.target.checked)}),o.createElement("span",{className:"wprm-admin-dashboard-toggle-label"},t.children)),I=t=>o.createElement(o.Fragment,null,o.createElement("p",null,(0,m.S)("Track different visitor actions related to recipes.")," ",(0,m.S)("Find out what recipes visitors are interacting with, what affiliate links are getting clicked on, and more...")),o.createElement(w,{value:!1,onChange:()=>{t.onEnable()}},(0,m.S)("Enable Analytics"))),M=n(34133),E=n(71629),S=n.n(E),O=n(64403),j=n.n(O),T=n(81668),P=n(63774),_=n.n(P),k=n(86901),N=n.n(k),A=n(81027),D=n.n(A),C=n(10442),L=n.n(C),R=n(9338),z=n.n(R),W=function(t){return 0===t?0:t>0?1:-1},B=function(t){return z()(t)&&t.indexOf("%")===t.length-1},H=function(t){return L()(t)&&!D()(t)},U=function(t){return H(t)||z()(t)},G=0,Z=function(t){var e=++G;return"".concat(t||"").concat(e)},F=function(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!H(t)&&!z()(t))return r;if(B(t)){var o=t.indexOf("%");n=e*parseFloat(t.slice(0,o))/100}else n=+t;return D()(n)&&(n=r),i&&n>e&&(n=e),n},J=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},V=function(t,e){return H(t)&&H(e)?function(n){return t+n*(e-t)}:function(){return e}};function Y(t,e,n){return t&&t.length?t.find((function(t){return t&&("function"==typeof e?e(t):_()(t,e))===n})):null}var X=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i]};function Q(t){return(Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function q(){return(q=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function $(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function K(t,e){return(K=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tt(t){var e=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(t){return!1}}();return function(){var n,r=nt(t);if(e){var i=nt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return et(this,n)}}function et(t,e){return!e||"object"!==Q(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function nt(t){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var rt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&K(t,e)}(a,t);var e,n,r,i=tt(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this,t)).handleResize=void 0,e.mounted=void 0,e.containerRef=void 0,e.updateDimensionsImmediate=function(){if(e.mounted){var t=e.getContainerSize();if(t){var n=e.state,r=n.containerWidth,i=n.containerHeight,o=t.containerWidth,a=t.containerHeight;o===r&&a===i||e.setState({containerWidth:o,containerHeight:a})}}},e.state={containerWidth:-1,containerHeight:-1},e.handleResize=t.debounce>0?S()(e.updateDimensionsImmediate,t.debounce):e.updateDimensionsImmediate,e.containerRef=o.createRef(),e}return e=a,(n=[{key:"componentDidMount",value:function(){this.mounted=!0;var t=this.getContainerSize();t&&this.setState(t)}},{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 t=this.state,e=t.containerWidth,n=t.containerHeight;if(e<0||n<0)return null;var r=this.props,i=r.aspect,a=r.width,c=r.height,u=r.minWidth,s=r.minHeight,l=r.maxHeight,f=r.children;X(B(a)||B(c),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,c),X(!i||i>0,"The aspect(%s) must be greater than zero.",i);var p=B(a)?e:a,d=B(c)?n:c;return i&&i>0&&(p?d=p/i:d&&(p=d*i),l&&d>l&&(d=l)),X(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 t=this.props,e=t.minWidth,n=t.minHeight,r=t.width,i=t.height,a=t.maxHeight,c=t.id,u=t.className,s={width:r,height:i,minWidth:e,minHeight:n,maxHeight:a};return o.createElement(T.ZP,{handleWidth:!0,handleHeight:!0,onResize:this.handleResize,targetRef:this.containerRef},o.createElement("div",q({},null!=c?{id:"".concat(c)}:{},{className:j()("recharts-responsive-container",u),style:s,ref:this.containerRef}),this.renderChart()))}}])&&$(e.prototype,n),r&&$(e,r),a}(o.Component);rt.defaultProps={width:"100%",height:"100%",debounce:0};var it=n(13485),ot=n.n(it),at=n(77106),ct=n.n(at),ut=n(46423),st=n.n(ut),lt=n(73804),ft=n.n(lt),pt=n(5251),dt=n.n(pt),ht=n(6934),yt=n.n(ht),vt=n(14847),mt=n.n(vt),gt=n(47563),bt=n.n(gt),xt=n(11006),wt=n.n(xt);function It(t){return(It="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Mt=["viewBox","children"],Et=["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"],St=["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"],Ot=function(t,e,n){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if((0,o.isValidElement)(t)&&(r=t.props),!wt()(r))return null;var i={};return Object.keys(r).forEach((function(t){(Et.includes(t)||n&&Mt.includes(t)||e&&St.includes(t))&&(i[t]=r[t])})),i},jt=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,o.isValidElement)(t)&&(n=t.props),!wt()(n))return null;var r={};return Object.keys(n).forEach((function(t){St.includes(t)&&(r[t]=e||function(e){return n[t](n,e)})})),r},Tt=function(t,e,n){if(!wt()(t)||"object"!==It(t))return null;var r=null;return Object.keys(t).forEach((function(i){var o=t[i];St.includes(i)&&"function"==typeof o&&(r||(r={}),r[i]=function(t,e,n){return function(r){return t(e,n,r),null}}(o,e,n))})),r};function Pt(){return(Pt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function _t(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function kt(t){var e=t.children,n=t.width,r=t.height,i=t.viewBox,a=t.className,c=t.style,u=_t(t,["children","width","height","viewBox","className","style"]),s=i||{width:n,height:r,x:0,y:0},l=j()("recharts-surface",a);return o.createElement("svg",Pt({},Ot(u,!0,!0),{className:l,width:n,height:r,style:c,viewBox:"".concat(s.x," ").concat(s.y," ").concat(s.width," ").concat(s.height),version:"1.1"}),e)}function Nt(){return(Nt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function At(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Dt(t){var e=t.children,n=t.className,r=At(t,["children","className"]),i=j()("recharts-layer",n);return o.createElement("g",Nt({className:i},Ot(r,!0)),e)}var Ct=n(36766),Lt=n.n(Ct),Rt=n(2652),zt=n.n(Rt),Wt=n(44287),Bt=n(61666),Ht=n.n(Bt);function Ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1,r=function r(i){n<0&&(n=i),i-n>e?(t(i),n=-1):Ht()(r)};Ht()(r)}function Gt(t){return(Gt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Zt(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Ft(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ft(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 Ft(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Jt(){var t=function(){return null},e=!1,n=function n(r){if(!e){if(Array.isArray(r)){if(!r.length)return;var i=Zt(r),o=i[0],a=i.slice(1);return"number"==typeof o?void Ut(n.bind(null,a),o):(n(o),void Ut(n.bind(null,a)))}"object"===Gt(r)&&t(r),"function"==typeof r&&r()}};return{stop:function(){e=!0},start:function(t){e=!1,n(t)},subscribe:function(e){return t=e,function(){t=function(){return null}}}}}function Vt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Yt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Vt(Object(n),!0).forEach((function(e){Xt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Xt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Qt=["Webkit","Moz","O","ms"],qt=["-webkit-","-moz-","-o-","-ms-"],$t=["transform","transformOrigin","transition"],Kt=function(t){return t},te=function(t,e){return Object.keys(e).reduce((function(n,r){return Yt(Yt({},n),{},Xt({},r,t(r,e[r])))}),{})},ee=function(t){return Object.keys(t).reduce((function(t,e){return Yt(Yt({},t),function(t,e){if(-1===$t.indexOf(t))return Xt({},t,e);var n="transition"===t,r=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),i=e;return Qt.reduce((function(t,o,a){return n&&(i=e.replace(/(transform|transform-origin)/gim,"".concat(qt[a],"$1"))),Yt(Yt({},t),{},Xt({},o+r,i))}),{})}(e,t[e]))}),t)},ne=function(t,e,n){return t.map((function(t){return"".concat((r=t,r.replace(/([A-Z])/g,(function(t){return"-".concat(t.toLowerCase())})))," ").concat(e,"ms ").concat(n);var r})).join(",")};function re(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||oe(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 ie(t){return function(t){if(Array.isArray(t))return ae(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||oe(t)||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 oe(t,e){if(t){if("string"==typeof t)return ae(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ae(t,e):void 0}}function ae(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var ce=1e-4,ue=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},se=function(t,e){return t.map((function(t,n){return t*Math.pow(e,n)})).reduce((function(t,e){return t+e}))},le=function(t,e){return function(n){var r=ue(t,e);return se(r,n)}},fe=function(t,e){return function(n){var r=ue(t,e),i=[].concat(ie(r.map((function(t,e){return t*e})).slice(1)),[0]);return se(i,n)}},pe=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0],i=e[1],o=e[2],a=e[3];if(1===e.length)switch(e[0]){case"linear":r=0,i=0,o=1,a=1;break;case"ease":r=.25,i=.1,o=.25,a=1;break;case"ease-in":r=.42,i=0,o=1,a=1;break;case"ease-out":r=.42,i=0,o=.58,a=1;break;case"ease-in-out":r=0,i=0,o=.58,a=1;break;default:var c=e[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var u=c[1].split(")")[0].split(",").map((function(t){return parseFloat(t)})),s=re(u,4);r=s[0],i=s[1],o=s[2],a=s[3]}}[r,o,i,a].every((function(t){return"number"==typeof t&&t>=0&&t<=1}));var l=le(r,o),f=le(i,a),p=fe(r,o),d=function(t){return t>1?1:t<0?0:t},h=function(t){for(var e=t>1?1:t,n=e,r=0;r<8;++r){var i=l(n)-e,o=p(n);if(Math.abs(i-e)<ce||o<ce)return f(n);n=d(n-i/o)}return f(n)};return h.isStepper=!1,h},de=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,n=void 0===e?100:e,r=t.damping,i=void 0===r?8:r,o=t.dt,a=void 0===o?17:o,c=function(t,e,r){var o=r+(-(t-e)*n-r*i)*a/1e3,c=r*a/1e3+t;return Math.abs(c-e)<ce&&Math.abs(o)<ce?[e,0]:[c,o]};return c.isStepper=!0,c.dt=a,c};function he(t){return function(t){if(Array.isArray(t))return xe(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||be(t)||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 ye(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ve(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ye(Object(n),!0).forEach((function(e){me(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ge(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||be(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 be(t,e){if(t){if("string"==typeof t)return xe(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xe(t,e):void 0}}function xe(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var we=function(t,e,n){return t+(e-t)*n},Ie=function(t){return t.from!==t.to},Me=function t(e,n,r){var i=te((function(t,n){if(Ie(n)){var r=ge(e(n.from,n.to,n.velocity),2),i=r[0],o=r[1];return ve(ve({},n),{},{from:i,velocity:o})}return n}),n);return r<1?te((function(t,e){return Ie(e)?ve(ve({},e),{},{velocity:we(e.velocity,i[t].velocity,r),from:we(e.from,i[t].from,r)}):e}),n):t(e,i,r-1)},Ee=function(t,e,n,r,i){var o,a,c,u,s=(o=t,a=e,[Object.keys(o),Object.keys(a)].reduce((function(t,e){return t.filter((function(t){return e.includes(t)}))}))),l=s.reduce((function(n,r){return ve(ve({},n),{},me({},r,[t[r],e[r]]))}),{}),f=s.reduce((function(n,r){return ve(ve({},n),{},me({},r,{from:t[r],velocity:0,to:e[r]}))}),{}),p=-1,d=function(){return null};return d=n.isStepper?function(r){c||(c=r);var o=(r-c)/n.dt;f=Me(n,f,o),i(ve(ve(ve({},t),e),te((function(t,e){return e.from}),f))),c=r,Object.values(f).filter(Ie).length&&(p=Ht()(d))}:function(o){u||(u=o);var a=(o-u)/r,c=te((function(t,e){return we.apply(void 0,he(e).concat([n(a)]))}),l);if(i(ve(ve(ve({},t),e),c)),a<1)p=Ht()(d);else{var s=te((function(t,e){return we.apply(void 0,he(e).concat([n(1)]))}),l);i(ve(ve(ve({},t),e),s))}},function(){return Ht()(d),function(){(0,Bt.cancel)(p)}}};function Se(t){return(Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Oe(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function je(t){return function(t){if(Array.isArray(t))return Te(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Te(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Te(t,e)}(t)||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 Te(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Pe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _e(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Pe(Object(n),!0).forEach((function(e){ke(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ke(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ne(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ae(t,e){return(Ae=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function De(t){var e=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(t){return!1}}();return function(){var n,r=Re(t);if(e){var i=Re(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Ce(this,n)}}function Ce(t,e){return!e||"object"!==Se(e)&&"function"!=typeof e?Le(t):e}function Le(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Re(t){return(Re=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ze=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ae(t,e)}(a,t);var e,n,r,i=De(a);function a(t,e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);var r=(n=i.call(this,t,e)).props,o=r.isActive,c=r.attributeName,u=r.from,s=r.to,l=r.steps,f=r.children;if(n.handleStyleChange=n.handleStyleChange.bind(Le(n)),n.changeStyle=n.changeStyle.bind(Le(n)),!o)return n.state={style:{}},"function"==typeof f&&(n.state={style:s}),Ce(n);if(l&&l.length)n.state={style:l[0].style};else if(u){if("function"==typeof f)return n.state={style:u},Ce(n);n.state={style:c?ke({},c,u):u}}else n.state={style:{}};return n}return e=a,(n=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,n=t.canBegin;this.mounted=!0,e&&n&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.isActive,r=e.canBegin,i=e.attributeName,o=e.shouldReAnimate;if(r)if(n){if(!((0,Wt.deepEqual)(t.to,this.props.to)&&t.canBegin&&t.isActive)){var a=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var c=a||o?this.props.from:t.to;if(this.state&&this.state.style){var u={style:i?ke({},i,c):c};(i&&this.state.style[i]!==c||!i&&this.state.style!==c)&&this.setState(u)}this.runAnimation(_e(_e({},this.props),{},{from:c,begin:0}))}}else{var s={style:i?ke({},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(t){var e=this,n=t.from,r=t.to,i=t.duration,o=t.easing,a=t.begin,c=t.onAnimationEnd,u=t.onAnimationStart,s=Ee(n,r,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0];if("string"==typeof r)switch(r){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return pe(r);case"spring":return de();default:if("cubic-bezier"===r.split("(")[0])return pe(r)}return"function"==typeof r?r:null}(o),i,this.changeStyle);this.manager.start([u,a,function(){e.stopJSAnimation=s()},i,c])}},{key:"runStepAnimation",value:function(t){var e=this,n=t.steps,r=t.begin,i=t.onAnimationStart,o=n[0],a=o.style,c=o.duration,u=void 0===c?0:c;return this.manager.start([i].concat(je(n.reduce((function(t,r,i){if(0===i)return t;var o=r.duration,a=r.easing,c=void 0===a?"ease":a,u=r.style,s=r.properties,l=r.onAnimationEnd,f=i>0?n[i-1]:r,p=s||Object.keys(u);if("function"==typeof c||"spring"===c)return[].concat(je(t),[e.runJSAnimation.bind(e,{from:f.style,to:u,duration:o,easing:c}),o]);var d=ne(p,o,c),h=_e(_e(_e({},f.style),u),{},{transition:d});return[].concat(je(t),[h,o,l]).filter(Kt)}),[a,Math.max(u,r)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=Jt());var e=t.begin,n=t.duration,r=t.attributeName,i=t.to,o=t.easing,a=t.onAnimationStart,c=t.onAnimationEnd,u=t.steps,s=t.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(t);else{var f=r?ke({},r,i):i,p=ne(Object.keys(f),n,o);l.start([a,e,_e(_e({},f),{},{transition:p}),n,c])}else this.runJSAnimation(t)}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"render",value:function(){var t=this.props,e=t.children,n=(t.begin,t.duration,t.attributeName,t.easing,t.isActive),r=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,Oe(t,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),i=o.Children.count(e),a=ee(this.state.style);if("function"==typeof e)return e(a);if(!n||0===i)return e;var c=function(t){var e=t.props,n=e.style,i=void 0===n?{}:n,c=e.className;return(0,o.cloneElement)(t,_e(_e({},r),{},{style:_e(_e({},i),a),className:c}))};return 1===i?c(o.Children.only(e)):o.createElement("div",null,o.Children.map(e,(function(t){return c(t)})))}}])&&Ne(e.prototype,n),r&&Ne(e,r),a}(o.PureComponent);ze.displayName="Animate",ze.propTypes={from:zt().oneOfType([zt().object,zt().string]),to:zt().oneOfType([zt().object,zt().string]),attributeName:zt().string,duration:zt().number,begin:zt().number,easing:zt().oneOfType([zt().string,zt().func]),steps:zt().arrayOf(zt().shape({duration:zt().number.isRequired,style:zt().object.isRequired,easing:zt().oneOfType([zt().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),zt().func]),properties:zt().arrayOf("string"),onAnimationEnd:zt().func})),children:zt().oneOfType([zt().node,zt().func]),isActive:zt().bool,canBegin:zt().bool,onAnimationEnd:zt().func,shouldReAnimate:zt().bool,onAnimationStart:zt().func,onAnimationReStart:zt().func},ze.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};var We=ze,Be=n(33092);function He(t){return(He="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ue(){return(Ue=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Ge(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Ze(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Fe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ze(Object(n),!0).forEach((function(e){Je(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ze(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Je(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ve(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ye(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Xe(t,e){return(Xe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Qe(t){var e=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(t){return!1}}();return function(){var n,r=$e(t);if(e){var i=$e(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return qe(this,n)}}function qe(t,e){return!e||"object"!==He(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function $e(t){return($e=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}void 0===Number.isFinite&&(Number.isFinite=function(t){return"number"==typeof t&&isFinite(t)});var Ke=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.steps,n=t.duration;return e&&e.length?e.reduce((function(t,e){return t+(Number.isFinite(e.duration)&&e.duration>0?e.duration:0)}),0):Number.isFinite(n)?n:0},tn=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xe(t,e)}(a,t);var e,n,r,i=Qe(a);function a(){var t;Ve(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={isActive:!1},t.handleEnter=function(e,n){var r=t.props,i=r.appearOptions,o=r.enterOptions;t.handleStyleActive(n?i:o)},t.handleExit=function(){t.handleStyleActive(t.props.leaveOptions)},t}return e=a,(n=[{key:"handleStyleActive",value:function(t){if(t){var e=t.onAnimationEnd?function(){t.onAnimationEnd()}:null;this.setState(Fe(Fe({},t),{},{onAnimationEnd:e,isActive:!0}))}}},{key:"parseTimeout",value:function(){var t=this.props,e=t.appearOptions,n=t.enterOptions,r=t.leaveOptions;return Ke(e)+Ke(n)+Ke(r)}},{key:"render",value:function(){var t=this,e=this.props,n=e.children,r=(e.appearOptions,e.enterOptions,e.leaveOptions,Ge(e,["children","appearOptions","enterOptions","leaveOptions"]));return o.createElement(Be.Transition,Ue({},r,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return o.createElement(We,t.state,o.Children.only(n))}))}}])&&Ye(e.prototype,n),r&&Ye(e,r),a}(o.Component);tn.propTypes={appearOptions:zt().object,enterOptions:zt().object,leaveOptions:zt().object,children:zt().element};var en=tn;function nn(t){var e=t.component,n=t.children,r=t.appear,i=t.enter,a=t.leave;return o.createElement(Be.TransitionGroup,{component:e},o.Children.map(n,(function(t,e){return o.createElement(en,{appearOptions:r,enterOptions:i,leaveOptions:a,key:"child-".concat(e)},t)})))}nn.propTypes={appear:zt().object,enter:zt().object,leave:zt().object,children:zt().oneOfType([zt().array,zt().element]),component:zt().any},nn.defaultProps={component:"span"};var rn=We;function on(t){return(on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function an(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return cn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cn(t,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 cn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function un(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function sn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?un(Object(n),!0).forEach((function(e){ln(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):un(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ln(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function dn(t,e){return(dn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function hn(t){var e=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(t){return!1}}();return function(){var n,r=vn(t);if(e){var i=vn(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return yn(this,n)}}function yn(t,e){return!e||"object"!==on(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function vn(t){return(vn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function mn(t){return N()(t)&&U(t[0])&&U(t[1])?t.join(" ~ "):t}var gn=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dn(t,e)}(a,t);var e,n,r,i=hn(a);function a(){return fn(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"renderContent",value:function(){var t=this.props,e=t.payload,n=t.separator,r=t.formatter,i=t.itemStyle,a=t.itemSorter;if(e&&e.length){var c=(a?dt()(e,a):e).map((function(t,a){if("none"===t.type)return null;var c=sn({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},i),u=t.formatter||r||mn,s=t.name,l=t.value;if(u){var f=u(l,s,t,a,e);if(Array.isArray(f)){var p=an(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},U(s)?o.createElement("span",{className:"recharts-tooltip-item-name"},s):null,U(s)?o.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,o.createElement("span",{className:"recharts-tooltip-item-value"},l),o.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))}));return o.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},c)}return null}},{key:"render",value:function(){var t=this.props,e=t.wrapperClassName,n=t.contentStyle,r=t.labelClassName,i=t.labelStyle,a=t.label,c=t.labelFormatter,u=t.payload,s=sn({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},n),l=sn({margin:0},i),f=!mt()(a),p=f?a:"",d=j()("recharts-default-tooltip",e),h=j()("recharts-tooltip-label",r);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())}}])&&pn(e.prototype,n),r&&pn(e,r),a}(o.PureComponent);gn.displayName="DefaultTooltipContent",gn.defaultProps={separator:" : ",contentStyle:{},itemStyle:{},labelStyle:{}};var bn={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return bn[t]},set:function(t,e){if("string"==typeof t)bn[t]=e;else{var n=Object.keys(t);n&&n.length&&n.forEach((function(e){bn[e]=t[e]}))}}};function xn(t){return(xn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function wn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function In(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wn(Object(n),!0).forEach((function(e){Mn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Mn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function En(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function On(t,e){return(On=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function jn(t){var e=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(t){return!1}}();return function(){var n,r=Pn(t);if(e){var i=Pn(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Tn(this,n)}}function Tn(t,e){return!e||"object"!==xn(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Pn(t){return(Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var _n="recharts-tooltip-wrapper";function kn(t){return t.dataKey}var Nn=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&On(t,e)}(a,t);var e,n,r,i=jn(a);function a(){var t;En(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={boxWidth:-1,boxHeight:-1},t.wrapperNode=void 0,t.getTranslate=function(e){var n=e.key,r=e.tooltipDimension,i=e.viewBoxDimension,o=t.props,a=o.allowEscapeViewBox,c=o.coordinate,u=o.offset,s=o.position,l=o.viewBox;if(s&&H(s[n]))return s[n];var f=c[n]-r-u,p=c[n]+u;return a[n]?p:c[n]+r+u>l[n]+i?Math.max(f,l[n]):Math.max(p,l[n])},t}return e=a,(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,n=t.boxHeight;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();(Math.abs(r.width-e)>1||Math.abs(r.height-n)>1)&&this.setState({boxWidth:r.width,boxHeight:r.height})}else-1===e&&-1===n||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var t,e,n,r=this,i=this.props,a=i.payload,c=i.isAnimationActive,u=i.animationDuration,s=i.animationEasing,l=i.filterNull,f=function(t,e){return!0===t?Lt()(e,kn):st()(t)?Lt()(e,t):e}(i.payloadUniqBy,l&&a&&a.length?a.filter((function(t){return!mt()(t.value)})):a),p=f&&f.length,d=this.props,h=d.content,y=d.viewBox,v=d.coordinate,m=d.position,g=d.active,b=In({pointerEvents:"none",visibility:g&&p?"visible":"hidden",position:"absolute",top:0,left:0},d.wrapperStyle);if(m&&H(m.x)&&H(m.y))e=m.x,n=m.y;else{var x=this.state,w=x.boxWidth,I=x.boxHeight;w>0&&I>0&&v?(e=this.getTranslate({key:"x",tooltipDimension:w,viewBoxDimension:y.width}),n=this.getTranslate({key:"y",tooltipDimension:I,viewBoxDimension:y.height})):b.visibility="hidden"}b=In(In({},ee({transform:this.props.useTranslate3d?"translate3d(".concat(e,"px, ").concat(n,"px, 0)"):"translate(".concat(e,"px, ").concat(n,"px)")})),b),c&&g&&(b=In(In({},ee({transition:"transform ".concat(u,"ms ").concat(s)})),b));var M=j()(_n,(Mn(t={},"".concat(_n,"-right"),H(e)&&v&&H(v.x)&&e>=v.x),Mn(t,"".concat(_n,"-left"),H(e)&&v&&H(v.x)&&e<v.x),Mn(t,"".concat(_n,"-bottom"),H(n)&&v&&H(v.y)&&n>=v.y),Mn(t,"".concat(_n,"-top"),H(n)&&v&&H(v.y)&&n<v.y),t));return o.createElement("div",{className:M,style:b,ref:function(t){r.wrapperNode=t}},function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):st()(t)?o.createElement(t,e):o.createElement(gn,e)}(h,In(In({},this.props),{},{payload:f})))}}])&&Sn(e.prototype,n),r&&Sn(e,r),a}(o.PureComponent);Nn.displayName="Tooltip",Nn.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:!bn.isSsr,animationEasing:"ease",animationDuration:400,filterNull:!0,useTranslate3d:!1};var An=n(21528),Dn=n.n(An),Cn=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,Math.PI),Ln=2*Cn;var Rn={draw:function(t,e){var n=Math.sqrt(e/Cn);t.moveTo(n,0),t.arc(0,0,n,0,Ln)}},zn={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},Wn=Math.sqrt(1/3),Bn=2*Wn,Hn={draw:function(t,e){var n=Math.sqrt(e/Bn),r=n*Wn;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},Un={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}},Gn=Math.sin(Cn/10)/Math.sin(7*Cn/10),Zn=Math.sin(Ln/10)*Gn,Fn=-Math.cos(Ln/10)*Gn,Jn={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=Zn*n,i=Fn*n;t.moveTo(0,-n),t.lineTo(r,i);for(var o=1;o<5;++o){var a=Ln*o/5,c=Math.cos(a),u=Math.sin(a);t.lineTo(u*n,-c*n),t.lineTo(c*r-u*i,u*r+c*i)}t.closePath()}},Vn=Math.sqrt(3),Yn={draw:function(t,e){var n=-Math.sqrt(e/(3*Vn));t.moveTo(0,2*n),t.lineTo(-Vn*n,-n),t.lineTo(Vn*n,-n),t.closePath()}},Xn=-.5,Qn=Math.sqrt(3)/2,qn=1/Math.sqrt(12),$n=3*(qn/2+1),Kn={draw:function(t,e){var n=Math.sqrt(e/$n),r=n/2,i=n*qn,o=r,a=n*qn+n,c=-o,u=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(c,u),t.lineTo(Xn*r-Qn*i,Qn*r+Xn*i),t.lineTo(Xn*o-Qn*a,Qn*o+Xn*a),t.lineTo(Xn*c-Qn*u,Qn*c+Xn*u),t.lineTo(Xn*r+Qn*i,Xn*i-Qn*r),t.lineTo(Xn*o+Qn*a,Xn*a-Qn*o),t.lineTo(Xn*c+Qn*u,Xn*u-Qn*c),t.closePath()}};const tr=Math.PI,er=2*tr,nr=1e-6,rr=er-nr;function ir(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function or(){return new ir}ir.prototype=or.prototype={constructor:ir,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,e,n,r,i){t=+t,e=+e,n=+n,r=+r,i=+i;var o=this._x1,a=this._y1,c=n-t,u=r-e,s=o-t,l=a-e,f=s*s+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(f>nr)if(Math.abs(l*c-u*s)>nr&&i){var p=n-o,d=r-a,h=c*c+u*u,y=p*p+d*d,v=Math.sqrt(h),m=Math.sqrt(f),g=i*Math.tan((tr-Math.acos((h+f-y)/(2*v*m)))/2),b=g/m,x=g/v;Math.abs(b-1)>nr&&(this._+="L"+(t+b*s)+","+(e+b*l)),this._+="A"+i+","+i+",0,0,"+ +(l*p>s*d)+","+(this._x1=t+x*c)+","+(this._y1=e+x*u)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,i,o){t=+t,e=+e,o=!!o;var a=(n=+n)*Math.cos(r),c=n*Math.sin(r),u=t+a,s=e+c,l=1^o,f=o?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+u+","+s:(Math.abs(this._x1-u)>nr||Math.abs(this._y1-s)>nr)&&(this._+="L"+u+","+s),n&&(f<0&&(f=f%er+er),f>rr?this._+="A"+n+","+n+",0,1,"+l+","+(t-a)+","+(e-c)+"A"+n+","+n+",0,1,"+l+","+(this._x1=u)+","+(this._y1=s):f>nr&&(this._+="A"+n+","+n+",0,"+ +(f>=tr)+","+l+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var ar=or;function cr(t){return function(){return t}}function ur(t){return(ur="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function sr(){return(sr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function lr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function pr(t,e){return(pr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function dr(t){var e=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(t){return!1}}();return function(){var n,r=yr(t);if(e){var i=yr(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return hr(this,n)}}function hr(t,e){return!e||"object"!==ur(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function yr(t){return(yr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var vr={symbolCircle:Rn,symbolCross:zn,symbolDiamond:Hn,symbolSquare:Un,symbolStar:Jn,symbolTriangle:Yn,symbolWye:Kn},mr=Math.PI/180,gr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pr(t,e)}(a,t);var e,n,r,i=dr(a);function a(){return lr(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"getPath",value:function(){var t=this.props,e=t.size,n=t.sizeType,r=t.type,i=function(t){var e="symbol".concat(Dn()(t));return vr[e]||Rn}(r);return function(t,e){var n=null;function r(){var r;if(n||(n=r=ar()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),r)return n=null,r+""||null}return t="function"==typeof t?t:cr(t||Rn),e="function"==typeof e?e:cr(void 0===e?64:+e),r.type=function(e){return arguments.length?(t="function"==typeof e?e:cr(e),r):t},r.size=function(t){return arguments.length?(e="function"==typeof t?t:cr(+t),r):e},r.context=function(t){return arguments.length?(n=null==t?null:t,r):n},r}().type(i).size(function(t,e,n){if("area"===e)return t;switch(n){case"cross":return 5*t*t/9;case"diamond":return.5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var r=18*mr;return 1.25*t*t*(Math.tan(r)-Math.tan(2*r)*Math.pow(Math.tan(r),2));case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}}(e,n,r))()}},{key:"render",value:function(){var t=this.props,e=t.className,n=t.cx,r=t.cy,i=t.size;return n===+n&&r===+r&&i===+i?o.createElement("path",sr({},Ot(this.props,!0),{className:j()("recharts-symbols",e),transform:"translate(".concat(n,", ").concat(r,")"),d:this.getPath()})):null}}])&&fr(e.prototype,n),r&&fr(e,r),a}(o.PureComponent);function br(t){return(br="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function xr(){return(xr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function wr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ir(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Er(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Sr(t,e){return(Sr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Or(t){var e=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(t){return!1}}();return function(){var n,r=Tr(t);if(e){var i=Tr(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return jr(this,n)}}function jr(t,e){return!e||"object"!==br(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Tr(t){return(Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}gr.defaultProps={type:"circle",size:64,sizeType:"area"},gr.registerSymbol=function(t,e){vr["symbol".concat(Dn()(t))]=e};var Pr=32,_r=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sr(t,e)}(a,t);var e,n,r,i=Or(a);function a(){return Mr(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,n=16,r=Pr/6,i=Pr/3,a=t.inactive?e:t.color;if("plainline"===t.type)return o.createElement("line",{strokeWidth:4,fill:"none",stroke:a,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:n,x2:Pr,y2:n,className:"recharts-legend-icon"});if("line"===t.type)return o.createElement("path",{strokeWidth:4,fill:"none",stroke:a,d:"M0,".concat(n,"h").concat(i,"\n A").concat(r,",").concat(r,",0,1,1,").concat(2*i,",").concat(n,"\n H").concat(Pr,"M").concat(2*i,",").concat(n,"\n A").concat(r,",").concat(r,",0,1,1,").concat(i,",").concat(n),className:"recharts-legend-icon"});if("rect"===t.type)return o.createElement("path",{stroke:"none",fill:a,d:"M0,".concat(4,"h").concat(Pr,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(o.isValidElement(t.legendIcon)){var c=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wr(Object(n),!0).forEach((function(e){Ir(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t);return delete c.legendIcon,o.cloneElement(t.legendIcon,c)}return o.createElement(gr,{fill:a,cx:n,cy:n,size:Pr,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,n=e.payload,r=e.iconSize,i=e.layout,a=e.formatter,c=e.inactiveColor,u={x:0,y:0,width:Pr,height:Pr},s={display:"horizontal"===i?"inline-block":"block",marginRight:10},l={display:"inline-block",verticalAlign:"middle",marginRight:4};return n.map((function(e,n){var i,f=e.formatter||a,p=j()((Ir(i={"recharts-legend-item":!0},"legend-item-".concat(n),!0),Ir(i,"inactive",e.inactive),i));if("none"===e.type)return null;var d=e.inactive?c:e.color;return o.createElement("li",xr({className:p,style:s,key:"legend-item-".concat(n)},Tt(t.props,e,n)),o.createElement(kt,{width:r,height:r,viewBox:u,style:l},t.renderIcon(e)),o.createElement("span",{className:"recharts-legend-item-text",style:{color:d}},f?f(e.value,e,n):e.value))}))}},{key:"render",value:function(){var t=this.props,e=t.payload,n=t.layout,r=t.align;if(!e||!e.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===n?r:"left"};return o.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}])&&Er(e.prototype,n),r&&Er(e,r),a}(o.PureComponent);function kr(t){return(kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Nr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ar(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Nr(Object(n),!0).forEach((function(e){Dr(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Nr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Dr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Rr(t,e){return(Rr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function zr(t){var e=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(t){return!1}}();return function(){var n,r=Br(t);if(e){var i=Br(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Wr(this,n)}}function Wr(t,e){return!e||"object"!==kr(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Br(t){return(Br=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Hr(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Ur(t){return t.value}function Gr(t,e){return!0===t?Lt()(e,Ur):st()(t)?Lt()(e,t):e}_r.displayName="Legend",_r.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"};var Zr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rr(t,e)}(a,t);var e,n,r,i=zr(a);function a(){var t;Cr(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).wrapperNode=void 0,t.state={boxWidth:-1,boxHeight:-1},t}return e=a,r=[{key:"getWithHeight",value:function(t,e){var n=t.props.layout;return"vertical"===n&&H(t.props.height)?{height:t.props.height}:"horizontal"===n?{width:t.props.width||e}:null}}],(n=[{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 t=this.state,e=t.boxWidth,n=t.boxHeight;return e>=0&&n>=0?{width:e,height:n}:null}},{key:"getDefaultPosition",value:function(t){var e,n,r=this.props,i=r.layout,o=r.align,a=r.verticalAlign,c=r.margin,u=r.chartWidth,s=r.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="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}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(n="middle"===a?{top:((s||0)-(this.getBBoxSnapshot()||{height:0}).height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),Ar(Ar({},e),n)}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,n=t.boxHeight,r=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var i=this.wrapperNode.getBoundingClientRect();(Math.abs(i.width-e)>1||Math.abs(i.height-n)>1)&&this.setState({boxWidth:i.width,boxHeight:i.height},(function(){r&&r(i)}))}else-1===e&&-1===n||this.setState({boxWidth:-1,boxHeight:-1},(function(){r&&r(null)}))}},{key:"render",value:function(){var t=this,e=this.props,n=e.content,r=e.width,i=e.height,a=e.wrapperStyle,c=e.payloadUniqBy,u=e.payload,s=Ar(Ar({position:"absolute",width:r||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return o.createElement("div",{className:"recharts-legend-wrapper",style:s,ref:function(e){t.wrapperNode=e}},function(t,e){if(o.isValidElement(t))return o.cloneElement(t,e);if(st()(t))return o.createElement(t,e);e.ref;var n=Hr(e,["ref"]);return o.createElement(_r,n)}(n,Ar(Ar({},this.props),{},{payload:Gr(c,u)})))}}])&&Lr(e.prototype,n),r&&Lr(e,r),a}(o.PureComponent);function Fr(){}function Jr(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function Vr(t){this._context=t}function Yr(t){this._context=t}function Xr(t){this._context=t}function Qr(t){this._context=t}function qr(t){this._context=t}function $r(t){return new qr(t)}function Kr(t){return t<0?-1:1}function ti(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),c=(o*i+a*r)/(r+i);return(Kr(o)+Kr(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(c))||0}function ei(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function ni(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,c=(o-r)/3;t._context.bezierCurveTo(r+c,i+c*e,o-c,a-c*n,o,a)}function ri(t){this._context=t}function ii(t){this._context=new oi(t)}function oi(t){this._context=t}function ai(t){this._context=t}function ci(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(i[r-1]=a[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function ui(t,e){this._context=t,this._t=e}Zr.displayName="Legend",Zr.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"},Vr.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:Jr(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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);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:Jr(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Yr.prototype={areaStart:Fr,areaEnd:Fr,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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Jr(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Xr.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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Jr(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Qr.prototype={areaStart:Fr,areaEnd:Fr,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},qr.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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},ri.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:ni(this,this._t0,ei(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,ni(this,ei(this,n=ti(this,t,e)),n);break;default:ni(this,this._t0,n=ti(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(ii.prototype=Object.create(ri.prototype)).point=function(t,e){ri.prototype.point.call(this,e,t)},oi.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},ai.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=ci(t),i=ci(e),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},ui.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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};Array.prototype.slice;function si(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function li(t){return t[0]}function fi(t){return t[1]}function pi(t,e){var n=cr(!0),r=null,i=$r,o=null;function a(a){var c,u,s,l=(a=si(a)).length,f=!1;for(null==r&&(o=i(s=ar())),c=0;c<=l;++c)!(c<l&&n(u=a[c],c,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(u,c,a),+e(u,c,a));if(s)return o=null,s+""||null}return t="function"==typeof t?t:void 0===t?li:cr(t),e="function"==typeof e?e:void 0===e?fi:cr(e),a.x=function(e){return arguments.length?(t="function"==typeof e?e:cr(+e),a):t},a.y=function(t){return arguments.length?(e="function"==typeof t?t:cr(+t),a):e},a.defined=function(t){return arguments.length?(n="function"==typeof t?t:cr(!!t),a):n},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a}function di(t,e,n){var r=null,i=cr(!0),o=null,a=$r,c=null;function u(u){var s,l,f,p,d,h=(u=si(u)).length,y=!1,v=new Array(h),m=new Array(h);for(null==o&&(c=a(d=ar())),s=0;s<=h;++s){if(!(s<h&&i(p=u[s],s,u))===y)if(y=!y)l=s,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),f=s-1;f>=l;--f)c.point(v[f],m[f]);c.lineEnd(),c.areaEnd()}y&&(v[s]=+t(p,s,u),m[s]=+e(p,s,u),c.point(r?+r(p,s,u):v[s],n?+n(p,s,u):m[s]))}if(d)return c=null,d+""||null}function s(){return pi().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?li:cr(+t),e="function"==typeof e?e:cr(void 0===e?0:+e),n="function"==typeof n?n:void 0===n?fi:cr(+n),u.x=function(e){return arguments.length?(t="function"==typeof e?e:cr(+e),r=null,u):t},u.x0=function(e){return arguments.length?(t="function"==typeof e?e:cr(+e),u):t},u.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:cr(+t),u):r},u.y=function(t){return arguments.length?(e="function"==typeof t?t:cr(+t),n=null,u):e},u.y0=function(t){return arguments.length?(e="function"==typeof t?t:cr(+t),u):e},u.y1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:cr(+t),u):n},u.lineX0=u.lineY0=function(){return s().x(t).y(e)},u.lineY1=function(){return s().x(t).y(n)},u.lineX1=function(){return s().x(r).y(e)},u.defined=function(t){return arguments.length?(i="function"==typeof t?t:cr(!!t),u):i},u.curve=function(t){return arguments.length?(a=t,null!=o&&(c=a(o)),u):a},u.context=function(t){return arguments.length?(null==t?o=c=null:c=a(o=t),u):o},u}function hi(t){return(hi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function yi(){return(yi=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function vi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function mi(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?vi(Object(n),!0).forEach((function(e){gi(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):vi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function gi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function wi(t,e){return(wi=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ii(t){var e=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(t){return!1}}();return function(){var n,r=Ei(t);if(e){var i=Ei(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Mi(this,n)}}function Mi(t,e){return!e||"object"!==hi(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ei(t){return(Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Si={curveBasisClosed:function(t){return new Yr(t)},curveBasisOpen:function(t){return new Xr(t)},curveBasis:function(t){return new Vr(t)},curveLinearClosed:function(t){return new Qr(t)},curveLinear:$r,curveMonotoneX:function(t){return new ri(t)},curveMonotoneY:function(t){return new ii(t)},curveNatural:function(t){return new ai(t)},curveStep:function(t){return new ui(t,.5)},curveStepAfter:function(t){return new ui(t,1)},curveStepBefore:function(t){return new ui(t,0)}},Oi=function(t){return t.x===+t.x&&t.y===+t.y},ji=function(t){return t.x},Ti=function(t){return t.y},Pi=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wi(t,e)}(a,t);var e,n,r,i=Ii(a);function a(){return bi(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"getPath",value:function(){var t,e=this.props,n=e.type,r=e.points,i=e.baseLine,o=e.layout,a=e.connectNulls,c=function(t,e){if(st()(t))return t;var n="curve".concat(Dn()(t));return"curveMonotone"===n&&e?Si["".concat(n).concat("vertical"===e?"Y":"X")]:Si[n]||$r}(n,o),u=a?r.filter((function(t){return Oi(t)})):r;if(N()(i)){var s=a?i.filter((function(t){return Oi(t)})):i,l=u.map((function(t,e){return mi(mi({},t),{},{base:s[e]})}));return(t="vertical"===o?di().y(Ti).x1(ji).x0((function(t){return t.base.x})):di().x(ji).y1(Ti).y0((function(t){return t.base.y}))).defined(Oi).curve(c),t(l)}return(t="vertical"===o&&H(i)?di().y(Ti).x1(ji).x0(i):H(i)?di().x(ji).y1(Ti).y0(i):pi().x(ji).y(Ti)).defined(Oi).curve(c),t(u)}},{key:"render",value:function(){var t=this.props,e=t.className,n=t.points,r=t.path,i=t.pathRef;if(!(n&&n.length||r))return null;var a=n&&n.length?this.getPath():r;return o.createElement("path",yi({},Ot(this.props),jt(this.props),{className:j()("recharts-curve",e),d:a,ref:i}))}}])&&xi(e.prototype,n),r&&xi(e,r),a}(o.PureComponent);function _i(t){return(_i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ki(){return(ki=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Ni(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ai(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Di(t,e){return(Di=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ci(t){var e=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(t){return!1}}();return function(){var n,r=Ri(t);if(e){var i=Ri(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Li(this,n)}}function Li(t,e){return!e||"object"!==_i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ri(t){return(Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Pi.defaultProps={type:"linear",points:[],connectNulls:!1};var zi=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Di(t,e)}(a,t);var e,n,r,i=Ci(a);function a(){return Ni(this,a),i.apply(this,arguments)}return e=a,r=[{key:"getPath",value:function(t,e,n,r,i,o){return"M".concat(t,",").concat(i,"v").concat(r,"M").concat(o,",").concat(e,"h").concat(n)}}],(n=[{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,c=t.top,u=t.left,s=t.className;return H(e)&&H(n)&&H(r)&&H(i)&&H(c)&&H(u)?o.createElement("path",ki({},Ot(this.props,!0),{className:j()("recharts-cross",s),d:a.getPath(e,n,r,i,c,u)})):null}}])&&Ai(e.prototype,n),r&&Ai(e,r),a}(o.PureComponent);function Wi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Bi(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Wi(Object(n),!0).forEach((function(e){Hi(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Wi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Hi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}zi.defaultProps={x:0,y:0,top:0,left:0,width:0,height:0};var Ui=Math.PI/180,Gi=function(t){return 180*t/Math.PI},Zi=function(t,e,n,r){return{x:t+Math.cos(-Ui*r)*n,y:e+Math.sin(-Ui*r)*n}},Fi=function(t,e){var n=t.x,r=t.y,i=e.cx,o=e.cy,a=function(t,e){var n=t.x,r=t.y,i=e.x,o=e.y;return Math.sqrt(Math.pow(n-i,2)+Math.pow(r-o,2))}({x:n,y:r},{x:i,y:o});if(a<=0)return{radius:a};var c=(n-i)/a,u=Math.acos(c);return r>o&&(u=2*Math.PI-u),{radius:a,angle:Gi(u),angleInRadian:u}},Ji=function(t,e){var n=e.startAngle,r=e.endAngle,i=Math.floor(n/360),o=Math.floor(r/360);return t+360*Math.min(i,o)},Vi=function(t,e){var n=t.x,r=t.y,i=Fi({x:n,y:r},e),o=i.radius,a=i.angle,c=e.innerRadius,u=e.outerRadius;if(o<c||o>u)return!1;if(0===o)return!0;var s,l=function(t){var e=t.startAngle,n=t.endAngle,r=Math.floor(e/360),i=Math.floor(n/360),o=Math.min(r,i);return{startAngle:e-360*o,endAngle:n-360*o}}(e),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?Bi(Bi({},e),{},{radius:o,angle:Ji(d,e)}):null};function Yi(t){return(Yi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Xi(){return(Xi=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Qi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function $i(t,e){return($i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ki(t){var e=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(t){return!1}}();return function(){var n,r=eo(t);if(e){var i=eo(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return to(this,n)}}function to(t,e){return!e||"object"!==Yi(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function eo(t){return(eo=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var no=function(t){var e=t.cx,n=t.cy,r=t.radius,i=t.angle,o=t.sign,a=t.isExternal,c=t.cornerRadius,u=t.cornerIsExternal,s=c*(a?1:-1)+r,l=Math.asin(c/s)/Ui,f=u?i:i+o*l,p=u?i-o*l:i;return{center:Zi(e,n,s,f),circleTangency:Zi(e,n,r,f),lineTangency:Zi(e,n,s*Math.cos(l*Ui),p),theta:l}},ro=function(t){var e=t.cx,n=t.cy,r=t.innerRadius,i=t.outerRadius,o=t.startAngle,a=function(t,e){return W(e-t)*Math.min(Math.abs(e-t),359.999)}(o,t.endAngle),c=o+a,u=Zi(e,n,i,o),s=Zi(e,n,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(r>0){var f=Zi(e,n,r,o),p=Zi(e,n,r,c);l+="L ".concat(p.x,",").concat(p.y,"\n A ").concat(r,",").concat(r,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o<=c),",\n ").concat(f.x,",").concat(f.y," Z")}else l+="L ".concat(e,",").concat(n," Z");return l},io=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$i(t,e)}(a,t);var e,n,r,i=Ki(a);function a(){return Qi(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"render",value:function(){var t=this.props,e=t.cx,n=t.cy,r=t.innerRadius,i=t.outerRadius,a=t.cornerRadius,c=t.forceCornerRadius,u=t.cornerIsExternal,s=t.startAngle,l=t.endAngle,f=t.className;if(i<r||s===l)return null;var p,d=j()("recharts-sector",f),h=i-r,y=F(a,h,0,!0);return p=y>0&&Math.abs(s-l)<360?function(t){var e=t.cx,n=t.cy,r=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,a=t.forceCornerRadius,c=t.cornerIsExternal,u=t.startAngle,s=t.endAngle,l=W(s-u),f=no({cx:e,cy:n,radius:i,angle:u,sign:l,cornerRadius:o,cornerIsExternal:c}),p=f.circleTangency,d=f.lineTangency,h=f.theta,y=no({cx:e,cy:n,radius:i,angle:s,sign:-l,cornerRadius:o,cornerIsExternal:c}),v=y.circleTangency,m=y.lineTangency,g=y.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 "):ro({cx:e,cy:n,innerRadius:r,outerRadius:i,startAngle:u,endAngle:s});var x="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(m.x,",").concat(m.y,"\n ");if(r>0){var w=no({cx:e,cy:n,radius:r,angle:u,sign:l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),I=w.circleTangency,M=w.lineTangency,E=w.theta,S=no({cx:e,cy:n,radius:r,angle:s,sign:-l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),O=S.circleTangency,j=S.lineTangency,T=S.theta,P=c?Math.abs(u-s):Math.abs(u-s)-E-T;if(P<0&&0===o)return"".concat(x,"L").concat(e,",").concat(n,"Z");x+="L".concat(j.x,",").concat(j.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(O.x,",").concat(O.y,"\n A").concat(r,",").concat(r,",0,").concat(+(P>180),",").concat(+(l>0),",").concat(I.x,",").concat(I.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(M.x,",").concat(M.y,"Z")}else x+="L".concat(e,",").concat(n,"Z");return x}({cx:e,cy:n,innerRadius:r,outerRadius:i,cornerRadius:Math.min(y,h/2),forceCornerRadius:c,cornerIsExternal:u,startAngle:s,endAngle:l}):ro({cx:e,cy:n,innerRadius:r,outerRadius:i,startAngle:s,endAngle:l}),o.createElement("path",Xi({},Ot(this.props,!0),{className:d,d:p}))}}])&&qi(e.prototype,n),r&&qi(e,r),a}(o.PureComponent);function oo(t){return(oo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ao(){return(ao=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function co(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uo(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function so(t,e){return(so=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function lo(t){var e=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(t){return!1}}();return function(){var n,r=po(t);if(e){var i=po(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return fo(this,n)}}function fo(t,e){return!e||"object"!==oo(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function po(t){return(po=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}io.defaultProps={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1};var ho=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&so(t,e)}(a,t);var e,n,r,i=lo(a);function a(){return co(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"render",value:function(){var t=this.props,e=t.cx,n=t.cy,r=t.r,i=t.className,a=j()("recharts-dot",i);return e===+e&&n===+n&&r===+r?o.createElement("circle",ao({},Ot(this.props),jt(this.props),{className:a,cx:e,cy:n,r:r})):null}}])&&uo(e.prototype,n),r&&uo(e,r),a}(o.PureComponent);function yo(t){return(yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function vo(){return(vo=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function mo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function go(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function bo(t,e){return(bo=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function xo(t){var e=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(t){return!1}}();return function(){var n,r=Io(t);if(e){var i=Io(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return wo(this,n)}}function wo(t,e){return!e||"object"!==yo(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Io(t){return(Io=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Mo=function(t,e,n,r,i){var o,a=Math.min(Math.abs(n)/2,Math.abs(r)/2),c=r>=0?1:-1,u=n>=0?1:-1,s=r>=0&&n>=0||r<0&&n<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(t,",").concat(e+c*l[0]),l[0]>0&&(o+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(s,",").concat(t+u*l[0],",").concat(e)),o+="L ".concat(t+n-u*l[1],",").concat(e),l[1]>0&&(o+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(s,",\n ").concat(t+n,",").concat(e+c*l[1])),o+="L ".concat(t+n,",").concat(e+r-c*l[2]),l[2]>0&&(o+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(s,",\n ").concat(t+n-u*l[2],",").concat(e+r)),o+="L ".concat(t+u*l[3],",").concat(e+r),l[3]>0&&(o+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(s,",\n ").concat(t,",").concat(e+r-c*l[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var p=Math.min(a,i);o="M ".concat(t,",").concat(e+c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t+u*p,",").concat(e,"\n L ").concat(t+n-u*p,",").concat(e,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t+n,",").concat(e+c*p,"\n L ").concat(t+n,",").concat(e+r-c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t+n-u*p,",").concat(e+r,"\n L ").concat(t+u*p,",").concat(e+r,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t,",").concat(e+r-c*p," Z")}else o="M ".concat(t,",").concat(e," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return o},Eo=function(t,e){if(!t||!e)return!1;var n=t.x,r=t.y,i=e.x,o=e.y,a=e.width,c=e.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 n>=u&&n<=s&&r>=l&&r<=f}return!1},So=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bo(t,e)}(a,t);var e,n,r,i=xo(a);function a(){var t;mo(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={totalLength:-1},t.node=void 0,t}return e=a,(n=[{key:"componentDidMount",value:function(){if(this.node&&this.node.getTotalLength)try{var t=this.node.getTotalLength();t&&this.setState({totalLength:t})}catch(e){}}},{key:"render",value:function(){var t=this,e=this.props,n=e.x,r=e.y,i=e.width,a=e.height,c=e.radius,u=e.className,s=this.state.totalLength,l=this.props,f=l.animationEasing,p=l.animationDuration,d=l.animationBegin,h=l.isAnimationActive,y=l.isUpdateAnimationActive;if(n!==+n||r!==+r||i!==+i||a!==+a||0===i||0===a)return null;var v=j()("recharts-rectangle",u);return y?o.createElement(rn,{canBegin:s>0,from:{width:i,height:a,x:n,y:r},to:{width:i,height:a,x:n,y:r},duration:p,animationEasing:f,isActive:y},(function(e){var n=e.width,r=e.height,i=e.x,a=e.y;return o.createElement(rn,{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",vo({},Ot(t.props,!0),{className:v,d:Mo(i,a,n,r,c),ref:function(e){t.node=e}})))})):o.createElement("path",vo({},Ot(this.props,!0),{className:v,d:Mo(n,r,i,a,c)}))}}])&&go(e.prototype,n),r&&go(e,r),a}(o.PureComponent);So.defaultProps={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"};var Oo=n(70418),jo=n.n(Oo),To=n(32822);function Po(t,e){for(var n in t)if({}.hasOwnProperty.call(t,n)&&(!{}.hasOwnProperty.call(e,n)||t[n]!==e[n]))return!1;for(var r in e)if({}.hasOwnProperty.call(e,r)&&!{}.hasOwnProperty.call(t,r))return!1;return!0}function _o(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var ko={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},No=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},Ao=function t(e,n){var r=[],i=[];return i=N()(n)?n.map((function(t){return No(t)})):[No(n)],o.Children.forEach(e,(function(e){(0,To.isFragment)(e)&&(r=r.concat(t(e.props.children,n)));var o=_()(e,"type.displayName")||_()(e,"type.name");-1!==i.indexOf(o)&&r.push(e)})),r},Do=function(t,e){var n=Ao(t,e);return n&&n[0]},Co=function(t){if(!t||!t.props)return!1;var e=t.props,n=e.width,r=e.height;return!(!H(n)||n<=0||!H(r)||r<=0)},Lo=["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"],Ro=function(t){return t&&t.type&&z()(t.type)&&Lo.indexOf(t.type)>=0},zo=function t(e,n){if(e===n)return!0;if(o.Children.count(e)!==o.Children.count(n))return!1;var r=o.Children.count(e);if(0===r)return!0;if(1===r)return Wo(N()(e)?e[0]:e,N()(n)?n[0]:n);for(var i=0;i<r;i++){var a=e[i],c=n[i];if(N()(a)||N()(c)){if(!t(a,c))return!1}else if(!Wo(a,c))return!1}return!0},Wo=function(t,e){if(mt()(t)&&mt()(e))return!0;if(!mt()(t)&&!mt()(e)){var n=t.props||{},r=n.children,i=_o(n,["children"]),o=e.props||{},a=o.children,c=_o(o,["children"]);return r&&a?Po(i,c)&&zo(r,a):!r&&!a&&Po(i,c)}return!1},Bo=function(t,e){var n=[],r={};return o.Children.forEach(t,(function(t,i){if(Ro(t))n.push(t);else if(t){var o=No(t.type),a=e[o]||{},c=a.handler,u=a.once;if(c&&(!u||!r[o])){var s=c(t,o,i);n.push(s),r[o]=!0}}})),jo()(n).filter((function(t){return!mt()(t)}))};function Ho(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Uo(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ho(Object(n),!0).forEach((function(e){Go(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ho(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Go(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zo(t){return function(t){if(Array.isArray(t))return Fo(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Fo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fo(t,e)}(t)||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 Fo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Jo={widthCache:{},cacheCount:0},Vo={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},Yo=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","lineHeight","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],Xo="recharts_measurement_span";var Qo=function(t){return Object.keys(t).reduce((function(e,n){return"".concat(e).concat((r=n,r.split("").reduce((function(t,e){return e===e.toUpperCase()?[].concat(Zo(t),["-",e.toLowerCase()]):[].concat(Zo(t),[e])}),[]).join("")),":").concat(function(t,e){return Yo.indexOf(t)>=0&&e===+e?"".concat(e,"px"):e}(n,t[n]),";");var r}),"")},qo=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||bn.isSsr)return{width:0,height:0};var n="".concat(t),r=Qo(e),i="".concat(n,"-").concat(r);if(Jo.widthCache[i])return Jo.widthCache[i];try{var o=document.getElementById(Xo);o||((o=document.createElement("span")).setAttribute("id",Xo),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=Uo(Uo({},Vo),e);Object.keys(a).map((function(t){return o.style[t]=a[t],t})),o.textContent=n;var c=o.getBoundingClientRect(),u={width:c.width,height:c.height};return Jo.widthCache[i]=u,++Jo.cacheCount>2e3&&(Jo.cacheCount=0,Jo.widthCache={}),u}catch(s){return{width:0,height:0}}},$o=n(55502),Ko=n.n($o);function ta(t){return(ta="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ea(){return(ea=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function na(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function ra(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ia(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function oa(t,e){return(oa=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function aa(t){var e=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(t){return!1}}();return function(){var n,r=ua(t);if(e){var i=ua(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ca(this,n)}}function ca(t,e){return!e||"object"!==ta(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ua(t){return(ua=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function sa(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return la(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return la(t,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 la(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function fa(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function pa(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fa(Object(n),!0).forEach((function(e){da(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fa(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function da(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ha=/[ \f\n\r\t\v\u2028\u2029]+/,ya=function(t){try{var e=[];return mt()(t.children)||(e=t.breakAll?t.children.toString().split(""):t.children.toString().split(ha)),{wordsWithComputedWidth:e.map((function(e){return{word:e,width:qo(e,t.style).width}})),spaceWidth:t.breakAll?0:qo(" ",t.style).width}}catch(n){return null}},va=function(t){return[{words:mt()(t)?[]:t.toString().split(ha)}]},ma=function(t,e){if((t.width||t.scaleToFit)&&!bn.isSsr&&e){var n=ya(t);return n?function(t,e,n,r,i){var o=H(t.maxLines),a=t.children,c=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(t,e){var o=e.word,a=e.width,c=t[t.length-1];if(c&&(null==r||i||c.width+a+n<r))c.words.push(o),c.width+=a+n;else{var u={words:[o],width:a};t.push(u)}return t}),[])},u=c(e);if(!o)return u;for(var s,l=function(e){var n=a.slice(0,e),i=ya(pa(pa({},t),{},{children:n+"…"})).wordsWithComputedWidth,o=c(i);return[o.length>t.maxLines||function(t){return t.reduce((function(t,e){return t.width>e.width?t:e}))}(o).width>r,o]},f=0,p=a.length-1,d=0;f<=p&&d<=a.length-1;){var h=Math.floor((f+p)/2),y=sa(l(h-1),2),v=y[0],m=y[1],g=sa(l(h),1)[0];if(v||g||(f=h+1),v&&g&&(p=h-1),!v&&g){s=m;break}d++}return s||u}(t,n.wordsWithComputedWidth,n.spaceWidth,t.width,t.scaleToFit):va(t.children)}return va(t.children)},ga=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oa(t,e)}(a,t);var e,n,r,i=aa(a);function a(){var t;ra(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={},t}return e=a,r=[{key:"getDerivedStateFromProps",value:function(t,e){if(t.width!==e.prevWidth||t.scaleToFit!==e.prevScaleToFit||t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll){var n=t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll;return{prevWidth:t.width,prevScaleToFit:t.scaleToFit,prevChildren:t.children,prevStyle:t.style,wordsByLines:ma(t,n)}}return null}}],(n=[{key:"render",value:function(){var t=this.props,e=t.dx,n=t.dy,r=t.textAnchor,i=t.verticalAnchor,a=t.scaleToFit,c=t.angle,u=t.lineHeight,s=t.capHeight,l=t.className,f=t.breakAll,p=na(t,["dx","dy","textAnchor","verticalAnchor","scaleToFit","angle","lineHeight","capHeight","className","breakAll"]),d=this.state.wordsByLines;if(!U(p.x)||!U(p.y))return null;var h,y=p.x+(H(e)?e:0),v=p.y+(H(n)?n:0);switch(i){case"start":h=Ko()("calc(".concat(s,")"));break;case"middle":h=Ko()("calc(".concat((d.length-1)/2," * -").concat(u," + (").concat(s," / 2))"));break;default:h=Ko()("calc(".concat(d.length-1," * -").concat(u,")"))}var m=[];if(a){var g=d[0].width,b=this.props.width;m.push("scale(".concat((H(b)?b/g:1)/g,")"))}return c&&m.push("rotate(".concat(c,", ").concat(y,", ").concat(v,")")),m.length&&(p.transform=m.join(" ")),o.createElement("text",ea({},Ot(p,!0),{x:y,y:v,className:j()("recharts-text",l),textAnchor:r}),d.map((function(t,e){return o.createElement("tspan",{x:y,dy:0===e?h:u,key:e},t.words.join(f?"":" "))})))}}])&&ia(e.prototype,n),r&&ia(e,r),a}(o.Component);function ba(t){return function(t){if(Array.isArray(t))return xa(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return xa(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xa(t,e)}(t)||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 xa(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function wa(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ia(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wa(Object(n),!0).forEach((function(e){Ma(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wa(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ma(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ea(){return(Ea=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}ga.defaultProps={x:0,y:0,lineHeight:"1em",capHeight:"0.71em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end"};var Sa=function(t,e,n){var r,i,a=t.position,c=t.viewBox,u=t.offset,s=t.className,l=c,f=l.cx,p=l.cy,d=l.innerRadius,h=l.outerRadius,y=l.startAngle,v=l.endAngle,m=l.clockWise,g=(d+h)/2,b=function(t,e){return W(e-t)*Math.min(Math.abs(e-t),360)}(y,v),x=b>=0?1:-1;"insideStart"===a?(r=y+x*u,i=m):"insideEnd"===a?(r=v-x*u,i=!m):"end"===a&&(r=v+x*u,i=m),i=b<=0?i:!i;var w=Zi(f,p,g,r),I=Zi(f,p,g,r+359*(i?1:-1)),M="M".concat(w.x,",").concat(w.y,"\n A").concat(g,",").concat(g,",0,1,").concat(i?0:1,",\n ").concat(I.x,",").concat(I.y),E=mt()(t.id)?Z("recharts-radial-line-"):t.id;return o.createElement("text",Ea({},n,{dominantBaseline:"central",className:j()("recharts-radial-bar-label",s)}),o.createElement("defs",null,o.createElement("path",{id:E,d:M})),o.createElement("textPath",{xlinkHref:"#".concat(E)},e))};function Oa(t){var e,n=t.viewBox,r=t.position,i=t.value,a=t.children,c=t.content,u=t.className,s=void 0===u?"":u,l=t.textBreakAll;if(!n||mt()(i)&&mt()(a)&&!(0,o.isValidElement)(c)&&!st()(c))return null;if((0,o.isValidElement)(c))return(0,o.cloneElement)(c,t);if(st()(c)){if(e=(0,o.createElement)(c,t),(0,o.isValidElement)(e))return e}else e=function(t){var e=t.value,n=t.formatter,r=mt()(t.children)?e:t.children;return st()(n)?n(r):r}(t);var f=function(t){return H(t.cx)}(n),p=Ot(t,!0);if(f&&("insideStart"===r||"insideEnd"===r||"end"===r))return Sa(t,e,p);var d=f?function(t){var e=t.viewBox,n=t.offset,r=t.position,i=e,o=i.cx,a=i.cy,c=i.innerRadius,u=i.outerRadius,s=(i.startAngle+i.endAngle)/2;if("outside"===r){var l=Zi(o,a,u+n,s),f=l.x;return{x:f,y:l.y,textAnchor:f>=o?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"end"};var p=Zi(o,a,(c+u)/2,s);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}}(t):function(t){var e=t.viewBox,n=t.parentViewBox,r=t.offset,i=t.position,o=e,a=o.x,c=o.y,u=o.width,s=o.height,l=s>=0?1:-1,f=l*r,p=l>0?"end":"start",d=l>0?"start":"end",h=u>=0?1:-1,y=h*r,v=h>0?"end":"start",m=h>0?"start":"end";if("top"===i)return Ia(Ia({},{x:a+u/2,y:c-l*r,textAnchor:"middle",verticalAnchor:p}),n?{height:Math.max(c-n.y,0),width:u}:{});if("bottom"===i)return Ia(Ia({},{x:a+u/2,y:c+s+f,textAnchor:"middle",verticalAnchor:d}),n?{height:Math.max(n.y+n.height-(c+s),0),width:u}:{});if("left"===i){var g={x:a-y,y:c+s/2,textAnchor:v,verticalAnchor:"middle"};return Ia(Ia({},g),n?{width:Math.max(g.x-n.x,0),height:s}:{})}if("right"===i){var b={x:a+u+y,y:c+s/2,textAnchor:m,verticalAnchor:"middle"};return Ia(Ia({},b),n?{width:Math.max(n.x+n.width-b.x,0),height:s}:{})}var x=n?{width:u,height:s}:{};return"insideLeft"===i?Ia({x:a+y,y:c+s/2,textAnchor:m,verticalAnchor:"middle"},x):"insideRight"===i?Ia({x:a+u-y,y:c+s/2,textAnchor:v,verticalAnchor:"middle"},x):"insideTop"===i?Ia({x:a+u/2,y:c+f,textAnchor:"middle",verticalAnchor:d},x):"insideBottom"===i?Ia({x:a+u/2,y:c+s-f,textAnchor:"middle",verticalAnchor:p},x):"insideTopLeft"===i?Ia({x:a+y,y:c+f,textAnchor:m,verticalAnchor:d},x):"insideTopRight"===i?Ia({x:a+u-y,y:c+f,textAnchor:v,verticalAnchor:d},x):"insideBottomLeft"===i?Ia({x:a+y,y:c+s-f,textAnchor:m,verticalAnchor:p},x):"insideBottomRight"===i?Ia({x:a+u-y,y:c+s-f,textAnchor:v,verticalAnchor:p},x):wt()(i)&&(H(i.x)||B(i.x))&&(H(i.y)||B(i.y))?Ia({x:a+F(i.x,u),y:c+F(i.y,s),textAnchor:"end",verticalAnchor:"end"},x):Ia({x:a+u/2,y:c+s/2,textAnchor:"middle",verticalAnchor:"middle"},x)}(t);return o.createElement(ga,Ea({className:j()("recharts-label",s)},p,d,{breakAll:l}),e)}Oa.displayName="Label",Oa.defaultProps={offset:5};var ja=function(t){var e=t.cx,n=t.cy,r=t.angle,i=t.startAngle,o=t.endAngle,a=t.r,c=t.radius,u=t.innerRadius,s=t.outerRadius,l=t.x,f=t.y,p=t.top,d=t.left,h=t.width,y=t.height,v=t.clockWise,m=t.labelViewBox;if(m)return m;if(H(h)&&H(y)){if(H(l)&&H(f))return{x:l,y:f,width:h,height:y};if(H(p)&&H(d))return{x:p,y:d,width:h,height:y}}return H(l)&&H(f)?{x:l,y:f,width:0,height:0}:H(e)&&H(n)?{cx:e,cy:n,startAngle:i||r||0,endAngle:o||r||0,innerRadius:u||0,outerRadius:s||c||a||0,clockWise:v}:t.viewBox?t.viewBox:{}},Ta=function(t,e){return t?!0===t?o.createElement(Oa,{key:"label-implicit",viewBox:e}):U(t)?o.createElement(Oa,{key:"label-implicit",viewBox:e,value:t}):(0,o.isValidElement)(t)?t.type===Oa?(0,o.cloneElement)(t,{key:"label-implicit",viewBox:e}):o.createElement(Oa,{key:"label-implicit",content:t,viewBox:e}):st()(t)?o.createElement(Oa,{key:"label-implicit",content:t,viewBox:e}):wt()(t)?o.createElement(Oa,Ea({viewBox:e},t,{key:"label-implicit"})):null:null};function Pa(t){return(Pa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _a(){return(_a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function ka(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Na(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ka(Object(n),!0).forEach((function(e){Aa(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ka(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Aa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Da(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Ca(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function La(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ra(t,e){return(Ra=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function za(t){var e=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(t){return!1}}();return function(){var n,r=Ba(t);if(e){var i=Ba(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Wa(this,n)}}function Wa(t,e){return!e||"object"!==Pa(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ba(t){return(Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Oa.parseViewBox=ja,Oa.renderCallByParent=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&n&&!t.label)return null;var r=t.children,i=ja(t),a=Ao(r,Oa.displayName).map((function(t,n){return(0,o.cloneElement)(t,{viewBox:e||i,key:"label-".concat(n)})}));if(!n)return a;var c=Ta(t.label,e||i);return[c].concat(ba(a))};var Ha=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ra(t,e)}(a,t);var e,n,r,i=za(a);function a(){return Ca(this,a),i.apply(this,arguments)}return e=a,r=[{key:"getTicks",value:function(t){var e=t.tick,n=t.ticks,r=t.viewBox,i=t.minTickGap,o=t.orientation,c=t.interval,u=t.tickFormatter,s=t.unit;return n&&n.length&&e?H(c)||bn.isSsr?a.getNumberIntervalTicks(n,"number"==typeof c&&H(c)?c:0):"preserveStartEnd"===c?a.getTicksStart({ticks:n,tickFormatter:u,viewBox:r,orientation:o,minTickGap:i,unit:s},!0):"preserveStart"===c?a.getTicksStart({ticks:n,tickFormatter:u,viewBox:r,orientation:o,minTickGap:i,unit:s}):a.getTicksEnd({ticks:n,tickFormatter:u,viewBox:r,orientation:o,minTickGap:i,unit:s}):[]}},{key:"getNumberIntervalTicks",value:function(t,e){return t.filter((function(t,n){return n%(e+1)==0}))}},{key:"getTicksStart",value:function(t,e){var n,r,i=t.ticks,o=t.tickFormatter,a=t.viewBox,c=t.orientation,u=t.minTickGap,s=t.unit,l=a.x,f=a.y,p=a.width,d=a.height,h="top"===c||"bottom"===c?"width":"height",y=(i||[]).slice(),v=s&&"width"===h?qo(s)[h]:0,m=y.length,g=m>=2?W(y[1].coordinate-y[0].coordinate):1;if(1===g?(n="width"===h?l:f,r="width"===h?l+p:f+d):(n="width"===h?l+p:f+d,r="width"===h?l:f),e){var b=i[m-1],x=st()(o)?o(b.value,m-1):b.value,w=qo(x)[h]+v,I=g*(b.coordinate+g*w/2-r);y[m-1]=b=Na(Na({},b),{},{tickCoord:I>0?b.coordinate-I*g:b.coordinate}),g*(b.tickCoord-g*w/2-n)>=0&&g*(b.tickCoord+g*w/2-r)<=0&&(r=b.tickCoord-g*(w/2+u),y[m-1]=Na(Na({},b),{},{isShow:!0}))}for(var M=e?m-1:m,E=0;E<M;E++){var S=y[E],O=st()(o)?o(S.value,E):S.value,j=qo(O)[h]+v;if(0===E){var T=g*(S.coordinate-g*j/2-n);y[E]=S=Na(Na({},S),{},{tickCoord:T<0?S.coordinate-T*g:S.coordinate})}else y[E]=S=Na(Na({},S),{},{tickCoord:S.coordinate});g*(S.tickCoord-g*j/2-n)>=0&&g*(S.tickCoord+g*j/2-r)<=0&&(n=S.tickCoord+g*(j/2+u),y[E]=Na(Na({},S),{},{isShow:!0}))}return y.filter((function(t){return t.isShow}))}},{key:"getTicksEnd",value:function(t){var e,n,r=t.ticks,i=t.tickFormatter,o=t.viewBox,a=t.orientation,c=t.minTickGap,u=t.unit,s=o.x,l=o.y,f=o.width,p=o.height,d="top"===a||"bottom"===a?"width":"height",h=u&&"width"===d?qo(u)[d]:0,y=(r||[]).slice(),v=y.length,m=v>=2?W(y[1].coordinate-y[0].coordinate):1;1===m?(e="width"===d?s:l,n="width"===d?s+f:l+p):(e="width"===d?s+f:l+p,n="width"===d?s:l);for(var g=v-1;g>=0;g--){var b=y[g],x=st()(i)?i(b.value,v-g-1):b.value,w=qo(x)[d]+h;if(g===v-1){var I=m*(b.coordinate+m*w/2-n);y[g]=b=Na(Na({},b),{},{tickCoord:I>0?b.coordinate-I*m:b.coordinate})}else y[g]=b=Na(Na({},b),{},{tickCoord:b.coordinate});m*(b.tickCoord-m*w/2-e)>=0&&m*(b.tickCoord+m*w/2-n)<=0&&(n=b.tickCoord-m*(w/2+c),y[g]=Na(Na({},b),{},{isShow:!0}))}return y.filter((function(t){return t.isShow}))}},{key:"renderTickItem",value:function(t,e,n){return o.isValidElement(t)?o.cloneElement(t,e):st()(t)?t(e):o.createElement(ga,_a({},e,{className:"recharts-cartesian-axis-tick-value"}),n)}}],(n=[{key:"shouldComponentUpdate",value:function(t){var e=t.viewBox,n=Da(t,["viewBox"]),r=this.props,i=r.viewBox,o=Da(r,["viewBox"]);return!Po(e,i)||!Po(n,o)}},{key:"getTickLineCoord",value:function(t){var e,n,r,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,y=c.tickMargin,v=h?-1:1,m=t.tickSize||d,g=H(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=n=t.coordinate,a=(r=(i=s+ +!h*f)-v*m)-v*y,o=g;break;case"left":r=i=t.coordinate,o=(e=(n=u+ +!h*l)-v*m)-v*y,a=g;break;case"right":r=i=t.coordinate,o=(e=(n=u+ +h*l)+v*m)+v*y,a=g;break;default:e=n=t.coordinate,a=(r=(i=s+ +h*f)+v*m)+v*y,o=g}return{line:{x1:e,y1:r,x2:n,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,n=e.orientation,r=e.mirror;switch(n){case"left":t=r?"start":"end";break;case"right":t=r?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,n=t.mirror,r="end";switch(e){case"left":case"right":r="middle";break;case"top":r=n?"start":"end";break;default:r=n?"end":"start"}return r}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,a=t.orientation,c=t.mirror,u=t.axisLine,s=Na(Na(Na({},Ot(this.props)),Ot(u)),{},{fill:"none"});if("top"===a||"bottom"===a){var l=+("top"===a&&!c||"bottom"===a&&c);s=Na(Na({},s),{},{x1:e,y1:n+l*i,x2:e+r,y2:n+l*i})}else{var f=+("left"===a&&!c||"right"===a&&c);s=Na(Na({},s),{},{x1:e+f*r,y1:n,x2:e+f*r,y2:n+i})}return o.createElement("line",_a({},s,{className:j()("recharts-cartesian-axis-line",_()(u,"className"))}))}},{key:"renderTicks",value:function(t){var e=this,n=this.props,r=n.tickLine,i=n.stroke,c=n.tick,u=n.tickFormatter,s=n.unit,l=a.getTicks(Na(Na({},this.props),{},{ticks:t})),f=this.getTickTextAnchor(),p=this.getTickVerticalAnchor(),d=Ot(this.props),h=Ot(c),y=Na(Na({},d),{},{fill:"none"},Ot(r)),v=l.map((function(t,n){var v=e.getTickLineCoord(t),m=v.line,g=v.tick,b=Na(Na(Na(Na({textAnchor:f,verticalAnchor:p},d),{},{stroke:"none",fill:i},h),g),{},{index:n,payload:t,visibleTicksCount:l.length,tickFormatter:u});return o.createElement(Dt,_a({className:"recharts-cartesian-axis-tick",key:"tick-".concat(n)},Tt(e.props,t,n)),r&&o.createElement("line",_a({},y,m,{className:j()("recharts-cartesian-axis-tick-line",_()(r,"className"))})),c&&a.renderTickItem(c,b,"".concat(st()(u)?u(t.value,n):t.value).concat(s||"")))}));return o.createElement("g",{className:"recharts-cartesian-axis-ticks"},v)}},{key:"render",value:function(){var t=this.props,e=t.axisLine,n=t.width,r=t.height,i=t.ticksGenerator,a=t.className;if(t.hide)return null;var c=this.props,u=c.ticks,s=Da(c,["ticks"]),l=u;return st()(i)&&(l=u&&u.length>0?i(this.props):i(s)),n<=0||r<=0||!l||!l.length?null:o.createElement(Dt,{className:j()("recharts-cartesian-axis",a)},e&&this.renderAxisLine(),this.renderTicks(l),Oa.renderCallByParent(this.props))}}])&&La(e.prototype,n),r&&La(e,r),a}(o.Component);function Ua(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o}function Ga(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function Za(t,e){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}Ha.displayName="CartesianAxis",Ha.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 Fa=Symbol("implicit");function Ja(){var t=new Map,e=[],n=[],r=Fa;function i(i){var o=i+"",a=t.get(o);if(!a){if(r!==Fa)return r;t.set(o,a=e.push(i))}return n[(a-1)%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new Map;for(const r of n){const n=r+"";t.has(n)||t.set(n,e.push(r))}return i},i.range=function(t){return arguments.length?(n=Array.from(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return Ja(e,n).unknown(r)},Ga.apply(i,arguments),i}function Va(){var t,e,n=Ja().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,c=!1,u=0,s=0,l=.5;function f(){var n=r().length,f=a<o,p=f?a:o,d=f?o:a;t=(d-p)/Math.max(1,n-u+2*s),c&&(t=Math.floor(t)),p+=(d-p-t*(n-u))*l,e=t*(1-u),c&&(p=Math.round(p),e=Math.round(e));var h=Ua(n).map((function(e){return p+t*e}));return i(f?h.reverse():h)}return delete n.unknown,n.domain=function(t){return arguments.length?(r(t),f()):r()},n.range=function(t){return arguments.length?([o,a]=t,o=+o,a=+a,f()):[o,a]},n.rangeRound=function(t){return[o,a]=t,o=+o,a=+a,c=!0,f()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(c=!!t,f()):c},n.padding=function(t){return arguments.length?(u=Math.min(1,s=+t),f()):u},n.paddingInner=function(t){return arguments.length?(u=Math.min(1,t),f()):u},n.paddingOuter=function(t){return arguments.length?(s=+t,f()):s},n.align=function(t){return arguments.length?(l=Math.max(0,Math.min(1,t)),f()):l},n.copy=function(){return Va(r(),[o,a]).round(c).paddingInner(u).paddingOuter(s).align(l)},Ga.apply(f(),arguments)}function Ya(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return Ya(e())},t}function Xa(){return Ya(Va.apply(null,arguments).paddingInner(1))}var Qa=n(60879),qa=n.n(Qa),$a=n(11974),Ka=n.n($a),tc=n(33323),ec=n.n(tc),nc=n(41719),rc=n.n(nc),ic=n(26058),oc=n.n(ic);function ac(t){return function(t){if(Array.isArray(t))return cc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return cc(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cc(t,e)}(t)||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 cc(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var uc=function(t){return t},sc={"@@functional/placeholder":!0},lc=function(t){return t===sc},fc=function(t){return function e(){return 0===arguments.length||1===arguments.length&&lc(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},pc=function t(e,n){return 1===e?n:fc((function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=i.filter((function(t){return t!==sc})).length;return a>=e?n.apply(void 0,i):t(e-a,fc((function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var o=i.map((function(t){return lc(t)?e.shift():t}));return n.apply(void 0,ac(o).concat(e))})))}))},dc=function(t){return pc(t.length,t)},hc=function(t,e){for(var n=[],r=t;r<e;++r)n[r-t]=r;return n},yc=dc((function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map((function(t){return e[t]})).map(t)})),vc=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(!e.length)return uc;var r=e.reverse(),i=r[0],o=r.slice(1);return function(){return o.reduce((function(t,e){return e(t)}),i.apply(void 0,arguments))}},mc=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},gc=function(t){var e=null,n=null;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e&&i.every((function(t,n){return t===e[n]}))?n:(e=i,n=t.apply(void 0,i))}};var bc={rangeStep:function(t,e,n){for(var r=new(oc())(t),i=0,o=[];r.lt(e)&&i<1e5;)o.push(r.toNumber()),r=r.add(n),i++;return o},getDigitCount:function(t){return 0===t?1:Math.floor(new(oc())(t).abs().log(10).toNumber())+1},interpolateNumber:dc((function(t,e,n){var r=+t;return r+n*(+e-r)})),uninterpolateNumber:dc((function(t,e,n){var r=e-+t;return(n-t)/(r=r||1/0)})),uninterpolateTruncation:dc((function(t,e,n){var r=e-+t;return r=r||1/0,Math.max(0,Math.min(1,(n-t)/r))}))};function xc(t){return function(t){if(Array.isArray(t))return Mc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Ic(t)||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 wc(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||Ic(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 Ic(t,e){if(t){if("string"==typeof t)return Mc(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mc(t,e):void 0}}function Mc(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Ec(t){var e=wc(t,2),n=e[0],r=e[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function Sc(t,e,n){if(t.lte(0))return new(oc())(0);var r=bc.getDigitCount(t.toNumber()),i=new(oc())(10).pow(r),o=t.div(i),a=1!==r?.05:.1,c=new(oc())(Math.ceil(o.div(a).toNumber())).add(n).mul(a).mul(i);return e?c:new(oc())(Math.ceil(c))}function Oc(t,e,n){var r=1,i=new(oc())(t);if(!i.isint()&&n){var o=Math.abs(t);o<1?(r=new(oc())(10).pow(bc.getDigitCount(t)-1),i=new(oc())(Math.floor(i.div(r).toNumber())).mul(r)):o>1&&(i=new(oc())(Math.floor(t)))}else 0===t?i=new(oc())(Math.floor((e-1)/2)):n||(i=new(oc())(Math.floor(t)));var a=Math.floor((e-1)/2);return vc(yc((function(t){return i.add(new(oc())(t-a).mul(r)).toNumber()})),hc)(0,e)}function jc(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((e-t)/(n-1)))return{step:new(oc())(0),tickMin:new(oc())(0),tickMax:new(oc())(0)};var o,a=Sc(new(oc())(e).sub(t).div(n-1),r,i);o=t<=0&&e>=0?new(oc())(0):(o=new(oc())(t).add(e).div(2)).sub(new(oc())(o).mod(a));var c=Math.ceil(o.sub(t).div(a).toNumber()),u=Math.ceil(new(oc())(e).sub(o).div(a).toNumber()),s=c+u+1;return s>n?jc(t,e,n,r,i+1):(s<n&&(u=e>0?u+(n-s):u,c=e>0?c:c+(n-s)),{step:a,tickMin:o.sub(new(oc())(c).mul(a)),tickMax:o.add(new(oc())(u).mul(a))})}var Tc=gc((function(t){var e=wc(t,2),n=e[0],r=e[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=Ec([n,r]),u=wc(c,2),s=u[0],l=u[1];if(s===-1/0||l===1/0){var f=l===1/0?[s].concat(xc(hc(0,i-1).map((function(){return 1/0})))):[].concat(xc(hc(0,i-1).map((function(){return-1/0}))),[l]);return n>r?mc(f):f}if(s===l)return Oc(s,i,o);var p=jc(s,l,a,o),d=p.step,h=p.tickMin,y=p.tickMax,v=bc.rangeStep(h,y.add(new(oc())(.1).mul(d)),d);return n>r?mc(v):v})),Pc=(gc((function(t){var e=wc(t,2),n=e[0],r=e[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=Ec([n,r]),u=wc(c,2),s=u[0],l=u[1];if(s===-1/0||l===1/0)return[n,r];if(s===l)return Oc(s,i,o);var f=Sc(new(oc())(l).sub(s).div(a-1),o,0),p=vc(yc((function(t){return new(oc())(s).add(new(oc())(t).mul(f)).toNumber()})),hc),d=p(0,a).filter((function(t){return t>=s&&t<=l}));return n>r?mc(d):d})),gc((function(t,e){var n=wc(t,2),r=n[0],i=n[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Ec([r,i]),c=wc(a,2),u=c[0],s=c[1];if(u===-1/0||s===1/0)return[r,i];if(u===s)return[u];var l=Math.max(e,2),f=Sc(new(oc())(s).sub(u).div(l-1),o,0),p=[].concat(xc(bc.rangeStep(new(oc())(u),new(oc())(s).sub(new(oc())(.99).mul(f)),f)),[s]);return r>i?mc(p):p}))),_c=Math.sqrt(50),kc=Math.sqrt(10),Nc=Math.sqrt(2);function Ac(t,e,n){var r,i,o,a,c=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(a=Dc(t,e,n))||!isFinite(a))return[];if(a>0){let n=Math.round(t/a),r=Math.round(e/a);for(n*a<t&&++n,r*a>e&&--r,o=new Array(i=r-n+1);++c<i;)o[c]=(n+c)*a}else{a=-a;let n=Math.round(t*a),r=Math.round(e*a);for(n/a<t&&++n,r/a>e&&--r,o=new Array(i=r-n+1);++c<i;)o[c]=(n+c)/a}return r&&o.reverse(),o}function Dc(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=_c?10:o>=kc?5:o>=Nc?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=_c?10:o>=kc?5:o>=Nc?2:1)}function Cc(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=_c?i*=10:o>=kc?i*=5:o>=Nc&&(i*=2),e<t?-i:i}function Lc(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Rc(t){let e=t,n=t;function r(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){const o=r+i>>>1;n(t[o],e)<0?r=o+1:i=o}return r}return 1===t.length&&(e=(e,n)=>t(e)-n,n=function(t){return(e,n)=>Lc(t(e),n)}(t)),{left:r,center:function(t,n,i,o){null==i&&(i=0),null==o&&(o=t.length);const a=r(t,n,i,o-1);return a>i&&e(t[a-1],n)>-e(t[a],n)?a-1:a},right:function(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){const o=r+i>>>1;n(t[o],e)>0?i=o:r=o+1}return r}}}function zc(t){return null===t?NaN:+t}const Wc=Rc(Lc),Bc=Wc.right;Wc.left,Rc(zc).center;var Hc=Bc;function Uc(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Gc(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Zc(){}var Fc=.7,Jc=1/Fc,Vc="\\s*([+-]?\\d+)\\s*",Yc="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Xc="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Qc=/^#([0-9a-f]{3,8})$/,qc=new RegExp("^rgb\\("+[Vc,Vc,Vc]+"\\)$"),$c=new RegExp("^rgb\\("+[Xc,Xc,Xc]+"\\)$"),Kc=new RegExp("^rgba\\("+[Vc,Vc,Vc,Yc]+"\\)$"),tu=new RegExp("^rgba\\("+[Xc,Xc,Xc,Yc]+"\\)$"),eu=new RegExp("^hsl\\("+[Yc,Xc,Xc]+"\\)$"),nu=new RegExp("^hsla\\("+[Yc,Xc,Xc,Yc]+"\\)$"),ru={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 iu(){return this.rgb().formatHex()}function ou(){return this.rgb().formatRgb()}function au(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=Qc.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?cu(e):3===n?new fu(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?uu(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?uu(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=qc.exec(t))?new fu(e[1],e[2],e[3],1):(e=$c.exec(t))?new fu(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Kc.exec(t))?uu(e[1],e[2],e[3],e[4]):(e=tu.exec(t))?uu(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=eu.exec(t))?yu(e[1],e[2]/100,e[3]/100,1):(e=nu.exec(t))?yu(e[1],e[2]/100,e[3]/100,e[4]):ru.hasOwnProperty(t)?cu(ru[t]):"transparent"===t?new fu(NaN,NaN,NaN,0):null}function cu(t){return new fu(t>>16&255,t>>8&255,255&t,1)}function uu(t,e,n,r){return r<=0&&(t=e=n=NaN),new fu(t,e,n,r)}function su(t){return t instanceof Zc||(t=au(t)),t?new fu((t=t.rgb()).r,t.g,t.b,t.opacity):new fu}function lu(t,e,n,r){return 1===arguments.length?su(t):new fu(t,e,n,null==r?1:r)}function fu(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function pu(){return"#"+hu(this.r)+hu(this.g)+hu(this.b)}function du(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"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===t?")":", "+t+")")}function hu(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function yu(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new mu(t,e,n,r)}function vu(t){if(t instanceof mu)return new mu(t.h,t.s,t.l,t.opacity);if(t instanceof Zc||(t=au(t)),!t)return new mu;if(t instanceof mu)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,c=o-i,u=(o+i)/2;return c?(a=e===o?(n-r)/c+6*(n<r):n===o?(r-e)/c+2:(e-n)/c+4,c/=u<.5?o+i:2-o-i,a*=60):c=u>0&&u<1?0:a,new mu(a,c,u,t.opacity)}function mu(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function gu(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function bu(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}Uc(Zc,au,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:iu,formatHex:iu,formatHsl:function(){return vu(this).formatHsl()},formatRgb:ou,toString:ou}),Uc(fu,lu,Gc(Zc,{brighter:function(t){return t=null==t?Jc:Math.pow(Jc,t),new fu(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Fc:Math.pow(Fc,t),new fu(this.r*t,this.g*t,this.b*t,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:pu,formatHex:pu,formatRgb:du,toString:du})),Uc(mu,(function(t,e,n,r){return 1===arguments.length?vu(t):new mu(t,e,n,null==r?1:r)}),Gc(Zc,{brighter:function(t){return t=null==t?Jc:Math.pow(Jc,t),new mu(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Fc:Math.pow(Fc,t),new mu(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new fu(gu(t>=240?t-240:t+120,i,r),gu(t,i,r),gu(t<120?t+240:t-120,i,r),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 t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var xu=t=>()=>t;function wu(t,e){return function(n){return t+n*e}}function Iu(t){return 1==(t=+t)?Mu:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):xu(isNaN(e)?n:e)}}function Mu(t,e){var n=e-t;return n?wu(t,n):xu(isNaN(t)?e:t)}var Eu=function t(e){var n=Iu(e);function r(t,e){var r=n((t=lu(t)).r,(e=lu(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=Mu(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function Su(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),c=new Array(i);for(n=0;n<i;++n)r=lu(e[n]),o[n]=r.r||0,a[n]=r.g||0,c[n]=r.b||0;return o=t(o),a=t(a),c=t(c),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=c(t),r+""}}}Su((function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,c=r<e-1?t[r+2]:2*o-i;return bu((n-r/e)*e,a,i,o,c)}})),Su((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],a=t[(r+1)%e],c=t[(r+2)%e];return bu((n-r/e)*e,i,o,a,c)}}));function Ou(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=Du(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}function ju(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function Tu(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function Pu(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=Du(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}var _u=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ku=new RegExp(_u.source,"g");function Nu(t,e){var n,r,i,o=_u.lastIndex=ku.lastIndex=0,a=-1,c=[],u=[];for(t+="",e+="";(n=_u.exec(t))&&(r=ku.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),c[a]?c[a]+=i:c[++a]=i),(n=n[0])===(r=r[0])?c[a]?c[a]+=r:c[++a]=r:(c[++a]=null,u.push({i:a,x:Tu(n,r)})),o=ku.lastIndex;return o<e.length&&(i=e.slice(o),c[a]?c[a]+=i:c[++a]=i),c.length<2?u[0]?function(t){return function(e){return t(e)+""}}(u[0].x):function(t){return function(){return t}}(e):(e=u.length,function(t){for(var n,r=0;r<e;++r)c[(n=u[r]).i]=n.x(t);return c.join("")})}function Au(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}}function Du(t,e){var n,r,i=typeof e;return null==e||"boolean"===i?xu(e):("number"===i?Tu:"string"===i?(n=au(e))?(e=n,Eu):Nu:e instanceof au?Eu:e instanceof Date?ju:(r=e,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(e)?Ou:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?Pu:Tu:Au))(t,e)}function Cu(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}function Lu(t){return+t}var Ru=[0,1];function zu(t){return t}function Wu(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function Bu(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i<r?(r=Wu(i,r),o=n(a,o)):(r=Wu(r,i),o=n(o,a)),function(t){return o(r(t))}}function Hu(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),o=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<r;)i[a]=Wu(t[a],t[a+1]),o[a]=n(e[a],e[a+1]);return function(e){var n=Hc(t,e,1,r)-1;return o[n](i[n](e))}}function Uu(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Gu(){var t,e,n,r,i,o,a=Ru,c=Ru,u=Du,s=zu;function l(){var t=Math.min(a.length,c.length);return s!==zu&&(s=function(t,e){var n;return t>e&&(n=t,t=e,e=n),function(n){return Math.max(t,Math.min(e,n))}}(a[0],a[t-1])),r=t>2?Hu:Bu,i=o=null,f}function f(e){return null==e||isNaN(e=+e)?n:(i||(i=r(a.map(t),c,u)))(t(s(e)))}return f.invert=function(n){return s(e((o||(o=r(c,a.map(t),Tu)))(n)))},f.domain=function(t){return arguments.length?(a=Array.from(t,Lu),l()):a.slice()},f.range=function(t){return arguments.length?(c=Array.from(t),l()):c.slice()},f.rangeRound=function(t){return c=Array.from(t),u=Cu,l()},f.clamp=function(t){return arguments.length?(s=!!t||zu,l()):s!==zu},f.interpolate=function(t){return arguments.length?(u=t,l()):u},f.unknown=function(t){return arguments.length?(n=t,f):n},function(n,r){return t=n,e=r,l()}}function Zu(){return Gu()(zu,zu)}var Fu,Ju=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Vu(t){if(!(e=Ju.exec(t)))throw new Error("invalid format: "+t);var e;return new Yu({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function Yu(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function Xu(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function Qu(t){return(t=Xu(Math.abs(t)))?t[1]:NaN}function qu(t,e){var n=Xu(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}Vu.prototype=Yu.prototype,Yu.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 $u={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>qu(100*t,e),r:qu,s:function(t,e){var n=Xu(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(Fu=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Xu(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Ku(t){return t}var ts,es,ns,rs=Array.prototype.map,is=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function os(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?Ku:(e=rs.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,c=e[0],u=0;i>0&&c>0&&(u+c+1>r&&(c=Math.max(1,r-u)),o.push(t.substring(i-=c,i+c)),!((u+=c+1)>r));)c=e[a=(a+1)%e.length];return o.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",c=void 0===t.numerals?Ku:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(rs.call(t.numerals,String)),u=void 0===t.percent?"%":t.percent+"",s=void 0===t.minus?"−":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=Vu(t)).fill,n=t.align,f=t.sign,p=t.symbol,d=t.zero,h=t.width,y=t.comma,v=t.precision,m=t.trim,g=t.type;"n"===g?(y=!0,g="g"):$u[g]||(void 0===v&&(v=12),m=!0,g="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var b="$"===p?i:"#"===p&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",x="$"===p?o:/[%p]/.test(g)?u:"",w=$u[g],I=/[defgprs%]/.test(g);function M(t){var i,o,u,p=b,M=x;if("c"===g)M=w(t)+M,t="";else{var E=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:w(Math.abs(t),v),m&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),E&&0==+t&&"+"!==f&&(E=!1),p=(E?"("===f?f:s:"-"===f||"("===f?"":f)+p,M=("s"===g?is[8+Fu/3]:"")+M+(E&&"("===f?")":""),I)for(i=-1,o=t.length;++i<o;)if(48>(u=t.charCodeAt(i))||u>57){M=(46===u?a+t.slice(i+1):t.slice(i))+M,t=t.slice(0,i);break}}y&&!d&&(t=r(t,1/0));var S=p.length+t.length+M.length,O=S<h?new Array(h-S+1).join(e):"";switch(y&&d&&(t=r(O+t,O.length?h-M.length:1/0),O=""),n){case"<":t=p+t+M+O;break;case"=":t=p+O+t+M;break;case"^":t=O.slice(0,S=O.length>>1)+p+t+M+O.slice(S);break;default:t=O+p+t+M}return c(t)}return v=void 0===v?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),M.toString=function(){return t+""},M}return{format:f,formatPrefix:function(t,e){var n=f(((t=Vu(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Qu(e)/3))),i=Math.pow(10,-r),o=is[8+r/3];return function(t){return n(i*t)+o}}}}function as(t,e,n,r){var i,o=Cc(t,e,n);switch((r=Vu(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Qu(e)/3)))-Qu(Math.abs(t)))}(o,a))||(r.precision=i),ns(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Qu(e)-Qu(t))+1}(o,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-Qu(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return es(r)}function cs(t){var e=t.domain;return t.ticks=function(t){var n=e();return Ac(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return as(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i,o=e(),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=Dc(u,s,n))===r)return o[a]=u,o[c]=s,e(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}r=i}return t},t}function us(){var t=Zu();return t.copy=function(){return Uu(t,us())},Ga.apply(t,arguments),cs(t)}function ss(t){var e;function n(t){return null==t||isNaN(t=+t)?e:t}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Array.from(e,Lu),n):t.slice()},n.unknown=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return ss(t).unknown(e)},t=arguments.length?Array.from(t,Lu):[0,1],cs(n)}function ls(t,e){var n,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t}function fs(t){return Math.log(t)}function ps(t){return Math.exp(t)}function ds(t){return-Math.log(-t)}function hs(t){return-Math.exp(-t)}function ys(t){return isFinite(t)?+("1e"+t):t<0?0:t}function vs(t){return function(e){return-t(-e)}}function ms(t){var e,n,r=t(fs,ps),i=r.domain,o=10;function a(){return e=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}(o),n=function(t){return 10===t?ys:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}(o),i()[0]<0?(e=vs(e),n=vs(n),t(ds,hs)):t(fs,ps),r}return r.base=function(t){return arguments.length?(o=+t,a()):o},r.domain=function(t){return arguments.length?(i(t),a()):i()},r.ticks=function(t){var r,a=i(),c=a[0],u=a[a.length-1];(r=u<c)&&(p=c,c=u,u=p);var s,l,f,p=e(c),d=e(u),h=null==t?10:+t,y=[];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=n(p);l<o;++l)if(!((f=s*l)<c)){if(f>u)break;y.push(f)}}else for(;p<=d;++p)for(l=o-1,s=n(p);l>=1;--l)if(!((f=s*l)<c)){if(f>u)break;y.push(f)}2*y.length<h&&(y=Ac(c,u,h))}else y=Ac(p,d,Math.min(d-p,h)).map(n);return r?y.reverse():y},r.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=es(i)),t===1/0)return i;null==t&&(t=10);var a=Math.max(1,o*t/r.ticks().length);return function(t){var r=t/n(Math.round(e(t)));return r*o<o-.5&&(r*=o),r<=a?i(t):""}},r.nice=function(){return i(ls(i(),{floor:function(t){return n(Math.floor(e(t)))},ceil:function(t){return n(Math.ceil(e(t)))}}))},r}function gs(){var t=ms(Gu()).domain([1,10]);return t.copy=function(){return Uu(t,gs()).base(t.base())},Ga.apply(t,arguments),t}function bs(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function xs(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function ws(t){var e=1,n=t(bs(e),xs(e));return n.constant=function(n){return arguments.length?t(bs(e=+n),xs(e)):e},cs(n)}function Is(){var t=ws(Gu());return t.copy=function(){return Uu(t,Is()).constant(t.constant())},Ga.apply(t,arguments)}function Ms(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function Es(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Ss(t){return t<0?-t*t:t*t}function Os(t){var e=t(zu,zu),n=1;function r(){return 1===n?t(zu,zu):.5===n?t(Es,Ss):t(Ms(n),Ms(1/n))}return e.exponent=function(t){return arguments.length?(n=+t,r()):n},cs(e)}function js(){var t=Os(Gu());return t.copy=function(){return Uu(t,js()).exponent(t.exponent())},Ga.apply(t,arguments),t}function Ts(){return js.apply(null,arguments).exponent(.5)}function Ps(t){return Math.sign(t)*t*t}function _s(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function ks(){var t,e=Zu(),n=[0,1],r=!1;function i(n){var i=_s(e(n));return isNaN(i)?t:r?Math.round(i):i}return i.invert=function(t){return e.invert(Ps(t))},i.domain=function(t){return arguments.length?(e.domain(t),i):e.domain()},i.range=function(t){return arguments.length?(e.range((n=Array.from(t,Lu)).map(Ps)),i):n.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(r=!!t,i):r},i.clamp=function(t){return arguments.length?(e.clamp(t),i):e.clamp()},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return ks(e.domain(),n).round(r).clamp(e.clamp()).unknown(t)},Ga.apply(i,arguments),cs(i)}function Ns(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n<r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function As(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function Ds(t,e,n=0,r=t.length-1,i=Lc){for(;r>n;){if(r-n>600){const o=r-n+1,a=e-n+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);Ds(t,e,Math.max(n,Math.floor(e-a*u/o+s)),Math.min(r,Math.floor(e+(o-a)*u/o+s)),i)}const o=t[e];let a=n,c=r;for(Cs(t,n,e),i(t[r],o)>0&&Cs(t,n,r);a<c;){for(Cs(t,a,c),++a,--c;i(t[a],o)<0;)++a;for(;i(t[c],o)>0;)--c}0===i(t[n],o)?Cs(t,n,c):(++c,Cs(t,c,r)),c<=e&&(n=c+1),e<=c&&(r=c-1)}return t}function Cs(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function Ls(t,e,n){if(r=(t=Float64Array.from(function*(t,e){if(void 0===e)for(let n of t)null!=n&&(n=+n)>=n&&(yield n);else{let n=-1;for(let r of t)null!=(r=e(r,++n,t))&&(r=+r)>=r&&(yield r)}}(t,n))).length){if((e=+e)<=0||r<2)return As(t);if(e>=1)return Ns(t);var r,i=(r-1)*e,o=Math.floor(i),a=Ns(Ds(t,o).subarray(0,o+1));return a+(As(t.subarray(o+1))-a)*(i-o)}}function Rs(t,e,n=zc){if(r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t);return a+(+n(t[o+1],o+1,t)-a)*(i-o)}}function zs(){var t,e=[],n=[],r=[];function i(){var t=0,i=Math.max(1,n.length);for(r=new Array(i-1);++t<i;)r[t-1]=Rs(e,t/i);return o}function o(e){return null==e||isNaN(e=+e)?t:n[Hc(r,e)]}return o.invertExtent=function(t){var i=n.indexOf(t);return i<0?[NaN,NaN]:[i>0?r[i-1]:e[0],i<r.length?r[i]:e[e.length-1]]},o.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)null==n||isNaN(n=+n)||e.push(n);return e.sort(Lc),i()},o.range=function(t){return arguments.length?(n=Array.from(t),i()):n.slice()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.quantiles=function(){return r.slice()},o.copy=function(){return zs().domain(e).range(n).unknown(t)},Ga.apply(o,arguments)}function Ws(){var t,e=0,n=1,r=1,i=[.5],o=[0,1];function a(e){return null!=e&&e<=e?o[Hc(i,e,0,r)]:t}function c(){var t=-1;for(i=new Array(r);++t<r;)i[t]=((t+1)*n-(t-r)*e)/(r+1);return a}return a.domain=function(t){return arguments.length?([e,n]=t,e=+e,n=+n,c()):[e,n]},a.range=function(t){return arguments.length?(r=(o=Array.from(t)).length-1,c()):o.slice()},a.invertExtent=function(t){var a=o.indexOf(t);return a<0?[NaN,NaN]:a<1?[e,i[0]]:a>=r?[i[r-1],n]:[i[a-1],i[a]]},a.unknown=function(e){return arguments.length?(t=e,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return Ws().domain([e,n]).range(o).unknown(t)},Ga.apply(cs(a),arguments)}function Bs(){var t,e=[.5],n=[0,1],r=1;function i(i){return null!=i&&i<=i?n[Hc(e,i,0,r)]:t}return i.domain=function(t){return arguments.length?(e=Array.from(t),r=Math.min(e.length,n.length-1),i):e.slice()},i.range=function(t){return arguments.length?(n=Array.from(t),r=Math.min(e.length,n.length-1),i):n.slice()},i.invertExtent=function(t){var r=n.indexOf(t);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return Bs().domain(e).range(n).unknown(t)},Ga.apply(i,arguments)}ts=os({thousands:",",grouping:[3],currency:["$",""]}),es=ts.format,ns=ts.formatPrefix;const Hs=1e3,Us=6e4,Gs=36e5,Zs=864e5,Fs=6048e5,Js=2592e6,Vs=31536e6;var Ys=new Date,Xs=new Date;function Qs(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,o){var a,c=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return c;do{c.push(a=new Date(+n)),e(n,o),t(n)}while(a<n&&n<r);return c},i.filter=function(n){return Qs((function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return Ys.setTime(+e),Xs.setTime(+r),t(Ys),t(Xs),Math.floor(n(Ys,Xs))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var qs=Qs((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));qs.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Qs((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):qs:null};var $s=qs,Ks=(qs.range,Qs((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*Hs)}),(function(t,e){return(e-t)/Hs}),(function(t){return t.getUTCSeconds()}))),tl=Ks,el=(Ks.range,Qs((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Hs)}),(function(t,e){t.setTime(+t+e*Us)}),(function(t,e){return(e-t)/Us}),(function(t){return t.getMinutes()}))),nl=el,rl=(el.range,Qs((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Hs-t.getMinutes()*Us)}),(function(t,e){t.setTime(+t+e*Gs)}),(function(t,e){return(e-t)/Gs}),(function(t){return t.getHours()}))),il=rl,ol=(rl.range,Qs((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Us)/Zs),(t=>t.getDate()-1))),al=ol;ol.range;function cl(t){return Qs((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Us)/Fs}))}var ul=cl(0),sl=cl(1),ll=cl(2),fl=cl(3),pl=cl(4),dl=cl(5),hl=cl(6),yl=(ul.range,sl.range,ll.range,fl.range,pl.range,dl.range,hl.range,Qs((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}))),vl=yl,ml=(yl.range,Qs((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()})));ml.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Qs((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};var gl=ml,bl=(ml.range,Qs((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*Us)}),(function(t,e){return(e-t)/Us}),(function(t){return t.getUTCMinutes()}))),xl=bl,wl=(bl.range,Qs((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*Gs)}),(function(t,e){return(e-t)/Gs}),(function(t){return t.getUTCHours()}))),Il=wl,Ml=(wl.range,Qs((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/Zs}),(function(t){return t.getUTCDate()-1}))),El=Ml;Ml.range;function Sl(t){return Qs((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/Fs}))}var Ol=Sl(0),jl=Sl(1),Tl=Sl(2),Pl=Sl(3),_l=Sl(4),kl=Sl(5),Nl=Sl(6),Al=(Ol.range,jl.range,Tl.range,Pl.range,_l.range,kl.range,Nl.range,Qs((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}))),Dl=Al,Cl=(Al.range,Qs((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));Cl.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Qs((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};var Ll=Cl;Cl.range;function Rl(t,e,n,r,i,o){const a=[[tl,1,Hs],[tl,5,5e3],[tl,15,15e3],[tl,30,3e4],[o,1,Us],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,Gs],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,Zs],[r,2,1728e5],[n,1,Fs],[e,1,Js],[e,3,7776e6],[t,1,Vs]];function c(e,n,r){const i=Math.abs(n-e)/r,o=Rc((([,,t])=>t)).right(a,i);if(o===a.length)return t.every(Cc(e/Vs,n/Vs,r));if(0===o)return $s.every(Math.max(Cc(e,n,r),1));const[c,u]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return c.every(u)}return[function(t,e,n){const r=e<t;r&&([t,e]=[e,t]);const i=n&&"function"==typeof n.range?n:c(t,e,n),o=i?i.range(t,+e+1):[];return r?o.reverse():o},c]}const[zl,Wl]=Rl(Ll,Dl,Ol,El,Il,xl),[Bl,Hl]=Rl(gl,vl,ul,al,il,nl);function Ul(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Gl(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Zl(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var Fl,Jl,Vl,Yl={"-":"",_:" ",0:"0"},Xl=/^\s*\d+/,Ql=/^%/,ql=/[\\^$*+?|[\]().{}]/g;function $l(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function Kl(t){return t.replace(ql,"\\$&")}function tf(t){return new RegExp("^(?:"+t.map(Kl).join("|")+")","i")}function ef(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function nf(t,e,n){var r=Xl.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function rf(t,e,n){var r=Xl.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function of(t,e,n){var r=Xl.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function af(t,e,n){var r=Xl.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function cf(t,e,n){var r=Xl.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function uf(t,e,n){var r=Xl.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function sf(t,e,n){var r=Xl.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function lf(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function ff(t,e,n){var r=Xl.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function pf(t,e,n){var r=Xl.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function df(t,e,n){var r=Xl.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function hf(t,e,n){var r=Xl.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function yf(t,e,n){var r=Xl.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function vf(t,e,n){var r=Xl.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function mf(t,e,n){var r=Xl.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function gf(t,e,n){var r=Xl.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function bf(t,e,n){var r=Xl.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function xf(t,e,n){var r=Ql.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function wf(t,e,n){var r=Xl.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function If(t,e,n){var r=Xl.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Mf(t,e){return $l(t.getDate(),e,2)}function Ef(t,e){return $l(t.getHours(),e,2)}function Sf(t,e){return $l(t.getHours()%12||12,e,2)}function Of(t,e){return $l(1+al.count(gl(t),t),e,3)}function jf(t,e){return $l(t.getMilliseconds(),e,3)}function Tf(t,e){return jf(t,e)+"000"}function Pf(t,e){return $l(t.getMonth()+1,e,2)}function _f(t,e){return $l(t.getMinutes(),e,2)}function kf(t,e){return $l(t.getSeconds(),e,2)}function Nf(t){var e=t.getDay();return 0===e?7:e}function Af(t,e){return $l(ul.count(gl(t)-1,t),e,2)}function Df(t){var e=t.getDay();return e>=4||0===e?pl(t):pl.ceil(t)}function Cf(t,e){return t=Df(t),$l(pl.count(gl(t),t)+(4===gl(t).getDay()),e,2)}function Lf(t){return t.getDay()}function Rf(t,e){return $l(sl.count(gl(t)-1,t),e,2)}function zf(t,e){return $l(t.getFullYear()%100,e,2)}function Wf(t,e){return $l((t=Df(t)).getFullYear()%100,e,2)}function Bf(t,e){return $l(t.getFullYear()%1e4,e,4)}function Hf(t,e){var n=t.getDay();return $l((t=n>=4||0===n?pl(t):pl.ceil(t)).getFullYear()%1e4,e,4)}function Uf(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+$l(e/60|0,"0",2)+$l(e%60,"0",2)}function Gf(t,e){return $l(t.getUTCDate(),e,2)}function Zf(t,e){return $l(t.getUTCHours(),e,2)}function Ff(t,e){return $l(t.getUTCHours()%12||12,e,2)}function Jf(t,e){return $l(1+El.count(Ll(t),t),e,3)}function Vf(t,e){return $l(t.getUTCMilliseconds(),e,3)}function Yf(t,e){return Vf(t,e)+"000"}function Xf(t,e){return $l(t.getUTCMonth()+1,e,2)}function Qf(t,e){return $l(t.getUTCMinutes(),e,2)}function qf(t,e){return $l(t.getUTCSeconds(),e,2)}function $f(t){var e=t.getUTCDay();return 0===e?7:e}function Kf(t,e){return $l(Ol.count(Ll(t)-1,t),e,2)}function tp(t){var e=t.getUTCDay();return e>=4||0===e?_l(t):_l.ceil(t)}function ep(t,e){return t=tp(t),$l(_l.count(Ll(t),t)+(4===Ll(t).getUTCDay()),e,2)}function np(t){return t.getUTCDay()}function rp(t,e){return $l(jl.count(Ll(t)-1,t),e,2)}function ip(t,e){return $l(t.getUTCFullYear()%100,e,2)}function op(t,e){return $l((t=tp(t)).getUTCFullYear()%100,e,2)}function ap(t,e){return $l(t.getUTCFullYear()%1e4,e,4)}function cp(t,e){var n=t.getUTCDay();return $l((t=n>=4||0===n?_l(t):_l.ceil(t)).getUTCFullYear()%1e4,e,4)}function up(){return"+0000"}function sp(){return"%"}function lp(t){return+t}function fp(t){return Math.floor(+t/1e3)}function pp(t){return new Date(t)}function dp(t){return t instanceof Date?+t:+new Date(+t)}function hp(t,e,n,r,i,o,a,c,u,s){var l=Zu(),f=l.invert,p=l.domain,d=s(".%L"),h=s(":%S"),y=s("%I:%M"),v=s("%I %p"),m=s("%a %d"),g=s("%b %d"),b=s("%B"),x=s("%Y");function w(t){return(u(t)<t?d:c(t)<t?h:a(t)<t?y:o(t)<t?v:r(t)<t?i(t)<t?m:g:n(t)<t?b:x)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?p(Array.from(t,dp)):p().map(pp)},l.ticks=function(e){var n=p();return t(n[0],n[n.length-1],null==e?10:e)},l.tickFormat=function(t,e){return null==e?w:s(e)},l.nice=function(t){var n=p();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?p(ls(n,t)):l},l.copy=function(){return Uu(l,hp(t,e,n,r,i,o,a,c,u,s))},l}function yp(){return Ga.apply(hp(Bl,Hl,gl,vl,ul,al,il,nl,tl,Jl).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function vp(){return Ga.apply(hp(zl,Wl,Ll,Dl,Ol,El,Il,xl,tl,Vl).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function mp(){var t,e,n,r,i,o=0,a=1,c=zu,u=!1;function s(e){return null==e||isNaN(e=+e)?i:c(0===n?.5:(e=(r(e)-t)*n,u?Math.max(0,Math.min(1,e)):e))}function l(t){return function(e){var n,r;return arguments.length?([n,r]=e,c=t(n,r),s):[c(0),c(1)]}}return s.domain=function(i){return arguments.length?([o,a]=i,t=r(o=+o),e=r(a=+a),n=t===e?0:1/(e-t),s):[o,a]},s.clamp=function(t){return arguments.length?(u=!!t,s):u},s.interpolator=function(t){return arguments.length?(c=t,s):c},s.range=l(Du),s.rangeRound=l(Cu),s.unknown=function(t){return arguments.length?(i=t,s):i},function(i){return r=i,t=i(o),e=i(a),n=t===e?0:1/(e-t),s}}function gp(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function bp(){var t=cs(mp()(zu));return t.copy=function(){return gp(t,bp())},Za.apply(t,arguments)}function xp(){var t=ms(mp()).domain([1,10]);return t.copy=function(){return gp(t,xp()).base(t.base())},Za.apply(t,arguments)}function wp(){var t=ws(mp());return t.copy=function(){return gp(t,wp()).constant(t.constant())},Za.apply(t,arguments)}function Ip(){var t=Os(mp());return t.copy=function(){return gp(t,Ip()).exponent(t.exponent())},Za.apply(t,arguments)}function Mp(){return Ip.apply(null,arguments).exponent(.5)}function Ep(){var t=[],e=zu;function n(n){if(null!=n&&!isNaN(n=+n))return e((Hc(t,n,1)-1)/(t.length-1))}return n.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let n of e)null==n||isNaN(n=+n)||t.push(n);return t.sort(Lc),n},n.interpolator=function(t){return arguments.length?(e=t,n):e},n.range=function(){return t.map(((n,r)=>e(r/(t.length-1))))},n.quantiles=function(e){return Array.from({length:e+1},((n,r)=>Ls(t,r/e)))},n.copy=function(){return Ep(e).domain(t)},Za.apply(n,arguments)}function Sp(t,e){void 0===e&&(e=t,t=Du);for(var n=0,r=e.length-1,i=e[0],o=new Array(r<0?0:r);n<r;)o[n]=t(i,i=e[++n]);return function(t){var e=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return o[e](t-e)}}function Op(){var t,e,n,r,i,o,a,c=0,u=.5,s=1,l=1,f=zu,p=!1;function d(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-e)*(l*t<l*e?r:i),f(p?Math.max(0,Math.min(1,t)):t))}function h(t){return function(e){var n,r,i;return arguments.length?([n,r,i]=e,f=Sp(t,[n,r,i]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([c,u,s]=a,t=o(c=+c),e=o(u=+u),n=o(s=+s),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),l=e<t?-1:1,d):[c,u,s]},d.clamp=function(t){return arguments.length?(p=!!t,d):p},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=h(Du),d.rangeRound=h(Cu),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return o=a,t=a(c),e=a(u),n=a(s),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),l=e<t?-1:1,d}}function jp(){var t=cs(Op()(zu));return t.copy=function(){return gp(t,jp())},Za.apply(t,arguments)}function Tp(){var t=ms(Op()).domain([.1,1,10]);return t.copy=function(){return gp(t,Tp()).base(t.base())},Za.apply(t,arguments)}function Pp(){var t=ws(Op());return t.copy=function(){return gp(t,Pp()).constant(t.constant())},Za.apply(t,arguments)}function _p(){var t=Os(Op());return t.copy=function(){return gp(t,_p()).exponent(t.exponent())},Za.apply(t,arguments)}function kp(){return _p.apply(null,arguments).exponent(.5)}function Np(t,e){if((i=t.length)>1)for(var n,r,i,o=1,a=t[e[0]],c=a.length;o<i;++o)for(r=a,a=t[e[o]],n=0;n<c;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function Ap(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}function Dp(t,e){return t[e]}function Cp(t){const e=[];return e.key=t,e}function Lp(t){return function(t){if(Array.isArray(t))return Rp(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Rp(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Rp(t,e)}(t)||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 Rp(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function zp(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Wp(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?zp(Object(n),!0).forEach((function(e){Bp(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):zp(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Bp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hp(t,e,n){return mt()(t)||mt()(e)?n:U(e)?_()(t,e,n):st()(e)?e(t):n}function Up(t,e,n,r){var i=rc()(t,(function(t){return Hp(t,e)}));if("number"===n){var o=i.filter((function(t){return H(t)||parseFloat(t)}));return o.length?[ec()(o),Ka()(o)]:[1/0,-1/0]}return(r?i.filter((function(t){return!mt()(t)})):i).map((function(t){return U(t)||t instanceof Date?t:""}))}!function(t){Fl=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,c=t.months,u=t.shortMonths,s=tf(i),l=ef(i),f=tf(o),p=ef(o),d=tf(a),h=ef(a),y=tf(c),v=ef(c),m=tf(u),g=ef(u),b={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return c[t.getMonth()]},c:null,d:Mf,e:Mf,f:Tf,g:Wf,G:Hf,H:Ef,I:Sf,j:Of,L:jf,m:Pf,M:_f,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:lp,s:fp,S:kf,u:Nf,U:Af,V:Cf,w:Lf,W:Rf,x:null,X:null,y:zf,Y:Bf,Z:Uf,"%":sp},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return c[t.getUTCMonth()]},c:null,d:Gf,e:Gf,f:Yf,g:op,G:cp,H:Zf,I:Ff,j:Jf,L:Vf,m:Xf,M:Qf,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:lp,s:fp,S:qf,u:$f,U:Kf,V:ep,w:np,W:rp,x:null,X:null,y:ip,Y:ap,Z:up,"%":sp},w={a:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=f.exec(e.slice(n));return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return E(t,e,n,r)},d:df,e:df,f:bf,g:sf,G:uf,H:yf,I:yf,j:hf,L:gf,m:pf,M:vf,p:function(t,e,n){var r=s.exec(e.slice(n));return r?(t.p=l.get(r[0].toLowerCase()),n+r[0].length):-1},q:ff,Q:wf,s:If,S:mf,u:rf,U:of,V:af,w:nf,W:cf,x:function(t,e,r){return E(t,n,e,r)},X:function(t,e,n){return E(t,r,e,n)},y:sf,Y:uf,Z:lf,"%":xf};function I(t,e){return function(n){var r,i,o,a=[],c=-1,u=0,s=t.length;for(n instanceof Date||(n=new Date(+n));++c<s;)37===t.charCodeAt(c)&&(a.push(t.slice(u,c)),null!=(i=Yl[r=t.charAt(++c)])?r=t.charAt(++c):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),a.push(r),u=c+1);return a.push(t.slice(u,c)),a.join("")}}function M(t,e){return function(n){var r,i,o=Zl(1900,void 0,1);if(E(o,t,n+="",0)!=n.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(e&&!("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=(r=Gl(Zl(o.y,0,1))).getUTCDay(),r=i>4||0===i?jl.ceil(r):jl(r),r=El.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Ul(Zl(o.y,0,1))).getDay(),r=i>4||0===i?sl.ceil(r):sl(r),r=al.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.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?Gl(Zl(o.y,0,1)).getUTCDay():Ul(Zl(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,Gl(o)):Ul(o)}}function E(t,e,n,r){for(var i,o,a=0,c=e.length,u=n.length;a<c;){if(r>=u)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=w[i in Yl?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=I(n,b),b.X=I(r,b),b.c=I(e,b),x.x=I(n,x),x.X=I(r,x),x.c=I(e,x),{format:function(t){var e=I(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=M(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=I(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=M(t+="",!0);return e.toString=function(){return t},e}}}(t),Jl=Fl.format,Fl.parse,Vl=Fl.utcFormat,Fl.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 Gp=function(t){var e,n=t.type.displayName,r=t.props,i=r.stroke,o=r.fill;switch(n){case"Line":e=i;break;case"Area":case"Radar":e=i&&"none"!==i?i:o;break;default:e=o}return e},Zp=function(t){var e,n=t.children,r=t.formatedGraphicalItems,i=t.legendWidth,o=t.legendContent,a=Do(n,Zr.displayName);return a?(e=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(r||[]).reduce((function(t,e){var n=e.item,r=e.props,i=r.sectors||r.data||[];return t.concat(i.map((function(t){return{type:a.props.iconType||n.props.legendType,value:t.name,color:t.fill,payload:t}})))}),[]):(r||[]).map((function(t){var e=t.item,n=e.props,r=n.dataKey,i=n.name,o=n.legendType;return{inactive:n.hide,dataKey:r,type:a.props.iconType||o||"square",color:Gp(e),value:i||r,payload:e.props}})),Wp(Wp(Wp({},a.props),Zr.getWithHeight(a,i)),{},{payload:e,item:a})):null},Fp=function(t,e,n,r){var i=e.props.children,o=Ao(i,"ErrorBar").filter((function(t){var e=t.props.direction;return!(!mt()(e)&&!mt()(r))||r.indexOf(e)>=0}));if(o&&o.length){var a=o.map((function(t){return t.props.dataKey}));return t.reduce((function(t,e){var r=Hp(e,n,0),i=N()(r)?[ec()(r),Ka()(r)]:[r,r],o=a.reduce((function(t,n){var r=Hp(e,n,0),o=i[0]-Math.abs(N()(r)?r[0]:r),a=i[1]+Math.abs(N()(r)?r[1]:r);return[Math.min(o,t[0]),Math.max(a,t[1])]}),[1/0,-1/0]);return[Math.min(o[0],t[0]),Math.max(o[1],t[1])]}),[1/0,-1/0])}return null},Jp=function(t,e,n,r){var i=e.map((function(e){var i=e.props.dataKey;return"number"===n&&i&&Fp(t,e,i)||Up(t,i,n,r)}));if("number"===n)return i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]);var o={};return i.reduce((function(t,e){for(var n=0,r=e.length;n<r;n++)o[e[n]]||(o[e[n]]=!0,t.push(e[n]));return t}),[])},Vp=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},Yp=function(t,e,n){var r,i,o=t.map((function(t){return t.coordinate===e&&(r=!0),t.coordinate===n&&(i=!0),t.coordinate}));return r||o.push(e),i||o.push(n),o},Xp=function(t,e,n){if(!t)return null;var r=t.scale,i=t.duplicateDomain,o=t.type,a=t.range,c=(e||n)&&"category"===o&&r.bandwidth?r.bandwidth()/2:0;return c="angleAxis"===t.axisType?2*W(a[0]-a[1])*c:c,e&&(t.ticks||t.niceTicks)?(t.ticks||t.niceTicks).map((function(t){var e=i?i.indexOf(t):t;return{coordinate:r(e)+c,value:t,offset:c}})):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map((function(t,e){return{coordinate:r(t)+c,value:t,index:e,offset:c}})):r.ticks&&!n?r.ticks(t.tickCount).map((function(t){return{coordinate:r(t)+c,value:t,offset:c}})):r.domain().map((function(t,e){return{coordinate:r(t)+c,value:i?i[t]:t,index:e,offset:c}}))},Qp=function(t,e,n){var r;return st()(n)?r=n:st()(e)&&(r=e),st()(t)||r?function(e,n,i,o){st()(t)&&t(e,n,i,o),st()(r)&&r(e,n,i,o)}:null},qp=1e-4,$p={sign:function(t){var e=t.length;if(!(e<=0))for(var n=0,r=t[0].length;n<r;++n)for(var i=0,o=0,a=0;a<e;++a){var c=D()(t[a][n][1])?t[a][n][0]:t[a][n][1];c>=0?(t[a][n][0]=i,t[a][n][1]=i+c,i=t[a][n][1]):(t[a][n][0]=o,t[a][n][1]=o+c,o=t[a][n][1])}},expand:function(t,e){if((r=t.length)>0){for(var n,r,i,o=0,a=t[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=t[n][o][1]||0;if(i)for(n=0;n<r;++n)t[n][o][1]/=i}Np(t,e)}},none:Np,silhouette:function(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],o=i.length;r<o;++r){for(var a=0,c=0;a<n;++a)c+=t[a][r][1]||0;i[r][1]+=i[r][0]=-c/2}Np(t,e)}},wiggle:function(t,e){if((i=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var c=0,u=0,s=0;c<i;++c){for(var l=t[e[c]],f=l[a][1]||0,p=(f-(l[a-1][1]||0))/2,d=0;d<c;++d){var h=t[e[d]];p+=(h[a][1]||0)-(h[a-1][1]||0)}u+=f,s+=p*f}n[a-1][1]+=n[a-1][0]=o,u&&(o-=s/u)}n[a-1][1]+=n[a-1][0]=o,Np(t,e)}},positive:function(t){var e=t.length;if(!(e<=0))for(var n=0,r=t[0].length;n<r;++n)for(var i=0,o=0;o<e;++o){var a=D()(t[o][n][1])?t[o][n][0]:t[o][n][1];a>=0?(t[o][n][0]=i,t[o][n][1]=i+a,i=t[o][n][1]):(t[o][n][0]=0,t[o][n][1]=0)}}},Kp=function(t,e,n){var r=e.map((function(t){return t.props.dataKey}));return function(){var t=cr([]),e=Ap,n=Np,r=Dp;function i(i){var o,a,c=Array.from(t.apply(this,arguments),Cp),u=c.length,s=-1;for(const t of i)for(o=0,++s;o<u;++o)(c[o][s]=[0,+r(t,c[o].key,s,i)]).data=t;for(o=0,a=si(e(c));o<u;++o)c[a[o]].index=o;return n(c,a),c}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:cr(Array.from(e)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:cr(+t),i):r},i.order=function(t){return arguments.length?(e=null==t?Ap:"function"==typeof t?t:cr(Array.from(t)),i):e},i.offset=function(t){return arguments.length?(n=null==t?Np:t,i):n},i}().keys(r).value((function(t,e){return+Hp(t,e,0)})).order(Ap).offset($p[n])(t)},td=function(t,e){var n=e.realScaleType,r=e.type,i=e.tickCount,o=e.originalDomain,a=e.allowDecimals,c=n||e.scale;if("auto"!==c&&"linear"!==c)return null;if(i&&"number"===r&&o&&("auto"===o[0]||"auto"===o[1])){var u=t.domain();if(!u.length)return null;var s=Tc(u,i,a);return t.domain(function(t,e){return"number"===e?[ec()(t),Ka()(t)]:t}(s,r)),{niceTicks:s}}if(i&&"number"===r){var l=t.domain();return{niceTicks:Pc(l,i,a)}}return null},ed=function(t){var e=t.axis,n=t.ticks,r=t.offset,i=t.bandSize,o=t.entry,a=t.index;if("category"===e.type)return n[a]?n[a].coordinate+r:null;var c=Hp(o,e.dataKey,e.domain[a]);return mt()(c)?null:e.scale(c)-i/2+r},nd=function(t,e,n){return Object.keys(t).reduce((function(r,i){var o=t[i].stackedData.reduce((function(t,r){var i=r.slice(e,n+1).reduce((function(t,e){return[ec()(e.concat([t[0]]).filter(H)),Ka()(e.concat([t[1]]).filter(H))]}),[1/0,-1/0]);return[Math.min(t[0],i[0]),Math.max(t[1],i[1])]}),[1/0,-1/0]);return[Math.min(o[0],r[0]),Math.max(o[1],r[1])]}),[1/0,-1/0]).map((function(t){return t===1/0||t===-1/0?0:t}))},rd=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,id=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,od=function(t,e,n){if(!N()(t))return e;var r=[];if(H(t[0]))r[0]=n?t[0]:Math.min(t[0],e[0]);else if(rd.test(t[0])){var i=+rd.exec(t[0])[1];r[0]=e[0]-i}else st()(t[0])?r[0]=t[0](e[0]):r[0]=e[0];if(H(t[1]))r[1]=n?t[1]:Math.max(t[1],e[1]);else if(id.test(t[1])){var o=+id.exec(t[1])[1];r[1]=e[1]+o}else st()(t[1])?r[1]=t[1](e[1]):r[1]=e[1];return r},ad=function(t,e,n){if(t&&t.scale&&t.scale.bandwidth){var r=t.scale.bandwidth();if(!n||r>0)return r}if(t&&e&&e.length>=2){for(var i=dt()(e,(function(t){return t.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},cd=function(t,e,n){return t&&t.length?qa()(t,_()(n,"type.defaultProps.domain"))?e:t:e},ud=function(t,e){var n=t.props,r=n.dataKey,i=n.name,o=n.unit,a=n.formatter,c=n.tooltipType;return Wp(Wp({},Ot(t)),{},{dataKey:r,unit:o,formatter:a,name:i||r,color:Gp(t),value:Hp(e,r),type:c,payload:e})};function sd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ld(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?sd(Object(n),!0).forEach((function(e){fd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):sd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function fd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var pd=["Webkit","Moz","O","ms"];function dd(t){return(dd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function hd(){return(hd=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function yd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function vd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yd(Object(n),!0).forEach((function(e){md(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function md(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gd(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function bd(t,e){return(bd=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function xd(t){var e=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(t){return!1}}();return function(){var n,r=Md(t);if(e){var i=Md(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return wd(this,n)}}function wd(t,e){return!e||"object"!==dd(e)&&"function"!=typeof e?Id(t):e}function Id(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Md(t){return(Md=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ed=function(t){return t.changedTouches&&!!t.changedTouches.length},Sd=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bd(t,e)}(a,t);var e,n,r,i=xd(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this,t)).leaveTimer=void 0,e.travellerDragStartHandlers=void 0,e.handleDrag=function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)},e.handleTouchMove=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])},e.handleDragEnd=function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1}),e.detachDragEndListener()},e.handleLeaveWrapper=function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))},e.handleEnterSlideOrTraveller=function(){e.setState({isTextActive:!0})},e.handleLeaveSlideOrTraveller=function(){e.setState({isTextActive:!1})},e.handleSlideDragStart=function(t){var n=Ed(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:n.pageX}),e.attachDragEndListener()},e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(Id(e),"startX"),endX:e.handleTravellerDragStart.bind(Id(e),"endX")},e.state={},e}return e=a,r=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,n=t.y,r=t.width,i=t.height,a=t.stroke,c=Math.floor(n+i/2)-1;return o.createElement(o.Fragment,null,o.createElement("rect",{x:e,y:n,width:r,height:i,fill:a,stroke:"none"}),o.createElement("line",{x1:e+1,y1:c,x2:e+r-1,y2:c,fill:"none",stroke:"#fff"}),o.createElement("line",{x1:e+1,y1:c+2,x2:e+r-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):st()(t)?t(e):a.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var n=t.data,r=t.width,i=t.x,o=t.travellerWidth,a=t.updateId,c=t.startIndex,u=t.endIndex;if(n!==e.prevData||a!==e.prevUpdateId)return vd({prevData:n,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:r},n&&n.length?function(t){var e=t.data,n=t.startIndex,r=t.endIndex,i=t.x,o=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var c=e.length,u=Xa().domain(yt()(0,c)).range([i,i+o-a]),s=u.domain().map((function(t){return u(t)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:u(n),endX:u(r),scale:u,scaleValues:s}}({data:n,width:r,x:i,travellerWidth:o,startIndex:c,endIndex:u}):{scale:null,scaleValues:null});if(e.scale&&(r!==e.prevWidth||i!==e.prevX||o!==e.prevTravellerWidth)){e.scale.range([i,i+r-o]);var s=e.scale.domain().map((function(t){return e.scale(t)}));return{prevData:n,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:r,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:s}}return null}},{key:"getIndexInRange",value:function(t,e){for(var n=0,r=t.length-1;r-n>1;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i}return e>=t[r]?r:n}}],(n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,n=t.endX,r=this.state.scaleValues,i=this.props,o=i.gap,c=i.data.length-1,u=Math.min(e,n),s=Math.max(e,n),l=a.getIndexInRange(r,u),f=a.getIndexInRange(r,s);return{startIndex:l-l%o,endIndex:f===c?c:f-f%o}}},{key:"getTextOfTick",value:function(t){var e=this.props,n=e.data,r=e.tickFormatter,i=e.dataKey,o=Hp(n[t],i,t);return st()(r)?r(o,t):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(t){var e=this.state,n=e.slideMoveStartX,r=e.startX,i=e.endX,o=this.props,a=o.x,c=o.width,u=o.travellerWidth,s=o.startIndex,l=o.endIndex,f=o.onChange,p=t.pageX-n;p>0?p=Math.min(p,a+c-u-i,a+c-u-r):p<0&&(p=Math.max(p,a-r,a-i));var d=this.getIndex({startX:r+p,endX:i+p});d.startIndex===s&&d.endIndex===l||!f||f(d),this.setState({startX:r+p,endX:i+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var n=Ed(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e,n=this.state,r=n.brushMoveStartX,i=n.movingTravellerId,o=n.endX,a=n.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,y={startX:this.state.startX,endX:this.state.endX},v=t.pageX-r;v>0?v=Math.min(v,s+l-f-c):v<0&&(v=Math.max(v,s-c)),y[i]=c+v;var m=this.getIndex(y),g=m.startIndex,b=m.endIndex;this.setState((md(e={},i,c+v),md(e,"brushMoveStartX",t.pageX),e),(function(){var t;p&&(t=h.length-1,("startX"===i&&(o>a?g%d==0:b%d==0)||o<a&&b===t||"endX"===i&&(o>a?b%d==0:g%d==0)||o>a&&b===t)&&p(m))}))}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,a=t.fill,c=t.stroke;return o.createElement("rect",{stroke:c,fill:a,x:e,y:n,width:r,height:i})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,a=t.data,c=t.children,u=t.padding,s=o.Children.only(c);return s?o.cloneElement(s,{x:e,y:n,width:r,height:i,margin:u,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(t,e){var n=this.props,r=n.y,i=n.travellerWidth,c=n.height,u=n.traveller,s=Math.max(t,this.props.x),l=vd(vd({},Ot(this.props)),{},{x:s,y:r,width:i,height:c});return o.createElement(Dt,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[e],onTouchStart:this.travellerDragStartHandlers[e],style:{cursor:"col-resize"}},a.renderTraveller(u,l))}},{key:"renderSlide",value:function(t,e){var n=this.props,r=n.y,i=n.height,a=n.stroke,c=n.travellerWidth,u=Math.min(t,e)+c,s=Math.max(Math.abs(e-t)-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:r,width:s,height:i})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,n=t.endIndex,r=t.y,i=t.height,a=t.travellerWidth,c=t.stroke,u=this.state,s=u.startX,l=u.endX,f={pointerEvents:"none",fill:c};return o.createElement(Dt,{className:"recharts-brush-texts"},o.createElement(ga,hd({textAnchor:"end",verticalAnchor:"middle",x:Math.min(s,l)-5,y:r+i/2},f),this.getTextOfTick(e)),o.createElement(ga,hd({textAnchor:"start",verticalAnchor:"middle",x:Math.max(s,l)+a+5,y:r+i/2},f),this.getTextOfTick(n)))}},{key:"render",value:function(){var t=this.props,e=t.data,n=t.className,r=t.children,i=t.x,a=t.y,c=t.width,u=t.height,s=t.alwaysShowText,l=this.state,f=l.startX,p=l.endX,d=l.isTextActive,h=l.isSlideMoving,y=l.isTravellerMoving;if(!e||!e.length||!H(i)||!H(a)||!H(c)||!H(u)||c<=0||u<=0)return null;var v=j()("recharts-brush",n),m=1===o.Children.count(r),g=function(t,e){if(!t)return null;var n=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),r=pd.reduce((function(t,r){return ld(ld({},t),{},fd({},r+n,e))}),{});return r[t]=e,r}("userSelect","none");return o.createElement(Dt,{className:v,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:g},this.renderBackground(),m&&this.renderPanorama(),this.renderSlide(f,p),this.renderTravellerLayer(f,"startX"),this.renderTravellerLayer(p,"endX"),(d||h||y||s)&&this.renderText())}}])&&gd(e.prototype,n),r&&gd(e,r),a}(o.PureComponent);Sd.displayName="Brush",Sd.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 Od=function(t,e){var n=t.alwaysShow,r=t.ifOverflow;return n&&(r="extendDomain"),r===e},jd=n(18345),Td=n.n(jd);function Pd(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function kd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_d(Object(n),!0).forEach((function(e){Nd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Nd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ad=function(t,e){var n=t.x,r=t.y,i=e.x,o=e.y;return{x:Math.min(n,i),y:Math.min(r,o),width:Math.abs(i-n),height:Math.abs(o-r)}},Dd=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scale=void 0,this.scale=e}var e,n,r;return e=t,r=[{key:"create",value:function(e){return new t(e)}}],(n=[{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(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.bandAware,r=e.position;if(void 0!==t){if(r)switch(r){case"start":return this.scale(t);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(t)+o;default:return this.scale(t)}if(n){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),n=e[0],r=e[e.length-1];return n<=r?t>=n&&t<=r:t>=r&&t<=n}}])&&Pd(e.prototype,n),r&&Pd(e,r),t}();Dd.EPS=1e-4;var Cd=function(t){var e=Object.keys(t).reduce((function(e,n){return kd(kd({},e),{},Nd({},n,Dd.create(t[n])))}),{});return kd(kd({},e),{},{apply:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.bandAware;return Td()(t,(function(t,n){return e[n].apply(t,{bandAware:r})}))},isInRange:function(t){return ot()(t,(function(t,n){return e[n].isInRange(t)}))}})};function Ld(){return(Ld=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Rd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function zd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Rd(Object(n),!0).forEach((function(e){Wd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Rd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Wd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bd(t){var e=t.x,n=t.y,r=t.r,i=t.alwaysShow,a=t.clipPathId,c=U(e),u=U(n);if(X(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!c||!u)return null;var s=function(t){var e=t.x,n=t.y,r=t.xAxis,i=t.yAxis,o=Cd({x:r.scale,y:i.scale}),a=o.apply({x:e,y:n},{bandAware:!0});return Od(t,"discard")&&!o.isInRange(a)?null:a}(t);if(!s)return null;var l=s.x,f=s.y,p=t.shape,d=t.className,h=zd(zd({clipPath:Od(t,"hidden")?"url(#".concat(a,")"):void 0},Ot(t,!0)),{},{cx:l,cy:f});return o.createElement(Dt,{className:j()("recharts-reference-dot",d)},Bd.renderDot(p,h),Oa.renderCallByParent(t,{x:l-r,y:f-r,width:2*r,height:2*r}))}Bd.displayName="ReferenceDot",Bd.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},Bd.renderDot=function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):st()(t)?t(e):o.createElement(ho,Ld({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))};var Hd=n(94927),Ud=n.n(Hd);function Gd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Zd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Gd(Object(n),!0).forEach((function(e){Fd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Fd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jd(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Vd(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Vd(t,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 Vd(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Yd(){return(Yd=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Xd(t){var e=t.x,n=t.y,r=t.segment,i=t.xAxis,a=t.yAxis,c=t.shape,u=t.className,s=t.alwaysShow,l=t.clipPathId;X(void 0===s,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var f=function(t,e,n,r,i){var o=i.viewBox,a=o.x,c=o.y,u=o.width,s=o.height,l=i.position;if(n){var f=i.y,p=i.yAxis.orientation,d=t.y.apply(f,{position:l});if(Od(i,"discard")&&!t.y.isInRange(d))return null;var h=[{x:a+u,y:d},{x:a,y:d}];return"left"===p?h.reverse():h}if(e){var y=i.x,v=i.xAxis.orientation,m=t.x.apply(y,{position:l});if(Od(i,"discard")&&!t.x.isInRange(m))return null;var g=[{x:m,y:c+s},{x:m,y:c}];return"top"===v?g.reverse():g}if(r){var b=i.segment.map((function(e){return t.apply(e,{position:l})}));return Od(i,"discard")&&Ud()(b,(function(e){return!t.isInRange(e)}))?null:b}return null}(Cd({x:i.scale,y:a.scale}),U(e),U(n),r&&2===r.length,t);if(!f)return null;var p=Jd(f,2),d=p[0],h=d.x,y=d.y,v=p[1],m=v.x,g=v.y,b=Zd(Zd({clipPath:Od(t,"hidden")?"url(#".concat(l,")"):void 0},Ot(t,!0)),{},{x1:h,y1:y,x2:m,y2:g});return o.createElement(Dt,{className:j()("recharts-reference-line",u)},function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):st()(t)?t(e):o.createElement("line",Yd({},e,{className:"recharts-reference-line-line"}))}(c,b),Oa.renderCallByParent(t,function(t){var e=t.x1,n=t.y1,r=t.x2,i=t.y2;return Ad({x:e,y:n},{x:r,y:i})}({x1:h,y1:y,x2:m,y2:g})))}function Qd(){return(Qd=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function qd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function $d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qd(Object(n),!0).forEach((function(e){Kd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Kd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Xd.displayName="ReferenceLine",Xd.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function th(t){var e=t.x1,n=t.x2,r=t.y1,i=t.y2,a=t.className,c=t.alwaysShow,u=t.clipPathId;X(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var s=U(e),l=U(n),f=U(r),p=U(i),d=t.shape;if(!(s||l||f||p||d))return null;var h=function(t,e,n,r,i){var o=i.x1,a=i.x2,c=i.y1,u=i.y2,s=i.xAxis,l=i.yAxis,f=Cd({x:s.scale,y:l.scale}),p={x:t?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:n?f.y.apply(c,{position:"start"}):f.y.rangeMin},d={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:r?f.y.apply(u,{position:"end"}):f.y.rangeMax};return!Od(i,"discard")||f.isInRange(p)&&f.isInRange(d)?Ad(p,d):null}(s,l,f,p,t);if(!h&&!d)return null;var y=Od(t,"hidden")?"url(#".concat(u,")"):void 0;return o.createElement(Dt,{className:j()("recharts-reference-area",a)},th.renderRect(d,$d($d({clipPath:y},Ot(t,!0)),h)),Oa.renderCallByParent(t,h))}th.displayName="ReferenceArea",th.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},th.renderRect=function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):st()(t)?t(e):o.createElement(So,Qd({},e,{className:"recharts-reference-area-rect"}))};var eh=function(t,e,n,r,i){var o=Ao(t,Xd.displayName),a=Ao(t,Bd.displayName),c=o.concat(a),u=Ao(t,th.displayName),s="".concat(r,"Id"),l=r[0],f=e;if(c.length&&(f=c.reduce((function(t,e){if(e.props[s]===n&&Od(e.props,"extendDomain")&&H(e.props[l])){var r=e.props[l];return[Math.min(t[0],r),Math.max(t[1],r)]}return t}),f)),u.length){var p="".concat(l,"1"),d="".concat(l,"2");f=u.reduce((function(t,e){if(e.props[s]===n&&Od(e.props,"extendDomain")&&H(e.props[p])&&H(e.props[d])){var r=e.props[p],i=e.props[d];return[Math.min(t[0],r,i),Math.max(t[1],r,i)]}return t}),f)}return i&&i.length&&(f=i.reduce((function(t,e){return H(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t}),f)),f},nh=n(2594),rh=new(n.n(nh)());rh.setMaxListeners&&rh.setMaxListeners(10);var ih="recharts.syncMouseEvents";function oh(t){return(oh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ah(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||vh(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 ch(){return(ch=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function uh(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function sh(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function lh(t,e){return(lh=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function fh(t){var e=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(t){return!1}}();return function(){var n,r=hh(t);if(e){var i=hh(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ph(this,n)}}function ph(t,e){return!e||"object"!==oh(e)&&"function"!=typeof e?dh(t):e}function dh(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hh(t){return(hh=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function yh(t){return function(t){if(Array.isArray(t))return mh(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||vh(t)||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 vh(t,e){if(t){if("string"==typeof t)return mh(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?mh(t,e):void 0}}function mh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function gh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function bh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?gh(Object(n),!0).forEach((function(e){xh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gh(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function xh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var wh={xAxis:["bottom","top"],yAxis:["left","right"]},Ih={x:0,y:0},Mh=Number.isFinite?Number.isFinite:isFinite,Eh="function"==typeof requestAnimationFrame?requestAnimationFrame:"function"==typeof setImmediate?setImmediate:setTimeout,Sh="function"==typeof cancelAnimationFrame?cancelAnimationFrame:"function"==typeof clearImmediate?clearImmediate:clearTimeout,Oh=function(t,e,n){var r=e.graphicalItems,i=e.dataStartIndex,o=e.dataEndIndex,a=(r||[]).reduce((function(t,e){var n=e.props.data;return n&&n.length?[].concat(yh(t),yh(n)):t}),[]);return a&&a.length>0?a:n&&n.props&&n.props.data&&n.props.data.length>0?n.props.data:t&&t.length&&H(i)&&H(o)?t.slice(i,o+1):[]},jh=function(t,e,n,r){var i=t.graphicalItems,o=t.tooltipAxis,a=Oh(e,t);return n<0||!i||!i.length||n>=a.length?null:i.reduce((function(t,e){if(e.props.hide)return t;var i,c=e.props.data;o.dataKey&&!o.allowDuplicatedCategory?i=Y(void 0===c?a:c,o.dataKey,r):i=c&&c[n]||a[n];return i?[].concat(yh(t),[ud(e,i)]):t}),[])},Th=function(t,e,n,r){var i=r||{x:t.chartX,y:t.chartY},o=function(t,e){return"horizontal"===e?t.x:"vertical"===e?t.y:"centric"===e?t.angle:t.radius}(i,n),a=t.orderedTooltipTicks,c=t.tooltipAxis,u=t.tooltipTicks,s=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(e=null==n?void 0:n.length)&&void 0!==e?e: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?r[u-1].coordinate:r[a-1].coordinate,l=r[u].coordinate,f=u>=a-1?r[0].coordinate:r[u+1].coordinate,p=void 0;if(W(l-s)!==W(f-l)){var d=[];if(W(f-l)===W(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 y=f+c[1]-c[0];d[0]=Math.min(l,(y+l)/2),d[1]=Math.max(l,(y+l)/2)}var v=[Math.min(l,(p+l)/2),Math.max(l,(p+l)/2)];if(t>v[0]&&t<=v[1]||t>=d[0]&&t<=d[1]){o=r[u].index;break}}else{var m=Math.min(s,f),g=Math.max(s,f);if(t>(m+l)/2&&t<=(g+l)/2){o=r[u].index;break}}}else for(var b=0;b<a;b++)if(0===b&&t<=(n[b].coordinate+n[b+1].coordinate)/2||b>0&&b<a-1&&t>(n[b].coordinate+n[b-1].coordinate)/2&&t<=(n[b].coordinate+n[b+1].coordinate)/2||b===a-1&&t>(n[b].coordinate+n[b-1].coordinate)/2){o=n[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:jh(t,e,s,l),activeCoordinate:function(t,e,n,r){var i=e.find((function(t){return t&&t.index===n}));if(i){if("horizontal"===t)return{x:i.coordinate,y:r.y};if("vertical"===t)return{x:r.x,y:i.coordinate};if("centric"===t){var o=i.coordinate,a=r.radius;return bh(bh(bh({},r),Zi(r.cx,r.cy,a,o)),{},{angle:o,radius:a})}var c=i.coordinate,u=r.angle;return bh(bh(bh({},r),Zi(r.cx,r.cy,c,u)),{},{angle:u,radius:c})}return Ih}(n,a,s,i)}}return null},Ph=function(t,e){var n=e.axes,r=e.graphicalItems,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,s=t.layout,l=t.children,f=t.stackOffset,p=Vp(s,i);return n.reduce((function(e,n){var d=n.props,h=d.type,y=d.dataKey,v=d.allowDataOverflow,m=d.allowDuplicatedCategory,g=d.scale,b=d.ticks,x=n.props[o],w=Oh(t.data,{graphicalItems:r.filter((function(t){return t.props[o]===x})),dataStartIndex:c,dataEndIndex:u}),I=w.length;if(!e[x]){var M,E,S;if(y){if(M=Up(w,y,h),"category"===h&&p){var O=function(t){if(!N()(t))return!1;for(var e=t.length,n={},r=0;r<e;r++){if(n[t[r]])return!0;n[t[r]]=!0}return!1}(M);m&&O?(E=M,M=yt()(0,I)):m||(M=cd(n.props.domain,M,n).reduce((function(t,e){return t.indexOf(e)>=0?t:[].concat(yh(t),[e])}),[]))}else if("category"===h)M=m?M.filter((function(t){return""!==t&&!mt()(t)})):cd(n.props.domain,M,n).reduce((function(t,e){return t.indexOf(e)>=0||""===e||mt()(e)?t:[].concat(yh(t),[e])}),[]);else if("number"===h){var j=function(t,e,n,r){var i=e.map((function(e){return Fp(t,e,n,r)})).filter((function(t){return!mt()(t)}));return i&&i.length?i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]):null}(w,r.filter((function(t){return t.props[o]===x&&!t.props.hide})),y,i);j&&(M=j)}!p||"number"!==h&&"auto"===g||(S=Up(w,y,"category"))}else M=p?yt()(0,I):a&&a[x]&&a[x].hasStack&&"number"===h?"expand"===f?[0,1]:nd(a[x].stackGroups,c,u):Jp(w,r.filter((function(t){return t.props[o]===x&&!t.props.hide})),h,!0);if("number"===h)M=eh(l,M,x,i,b),n.props.domain&&(M=od(n.props.domain,M,v));else if("category"===h&&n.props.domain){var T=n.props.domain;M.every((function(t){return T.indexOf(t)>=0}))&&(M=T)}return bh(bh({},e),{},xh({},x,bh(bh({},n.props),{},{axisType:i,domain:M,categoricalDomain:S,duplicateDomain:E,originalDomain:n.props.domain,isCategorical:p,layout:s})))}return e}),{})},_h=function(t,e){var n=e.axisType,r=void 0===n?"xAxis":n,i=e.AxisComp,o=e.graphicalItems,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,s=t.children,l="".concat(r,"Id"),f=Ao(s,i),p={};return f&&f.length?p=Ph(t,{axes:f,graphicalItems:o,axisType:r,axisIdKey:l,stackGroups:a,dataStartIndex:c,dataEndIndex:u}):o&&o.length&&(p=function(t,e){var n=e.graphicalItems,r=e.Axis,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,s=t.layout,l=t.children,f=Oh(t.data,{graphicalItems:n,dataStartIndex:c,dataEndIndex:u}),p=f.length,d=Vp(s,i),h=-1;return n.reduce((function(t,e){var y,v=e.props[o];return t[v]?t:(h++,d?y=yt()(0,p):a&&a[v]&&a[v].hasStack?(y=nd(a[v].stackGroups,c,u),y=eh(l,y,v,i)):(y=od(r.defaultProps.domain,Jp(f,n.filter((function(t){return t.props[o]===v&&!t.props.hide})),"number"),r.defaultProps.allowDataOverflow),y=eh(l,y,v,i)),bh(bh({},t),{},xh({},v,bh(bh({axisType:i},r.defaultProps),{},{hide:!0,orientation:_()(wh,"".concat(i,".").concat(h%2),null),domain:y,originalDomain:r.defaultProps.domain,isCategorical:d,layout:s}))))}),{})}(t,{Axis:i,graphicalItems:o,axisType:r,axisIdKey:l,stackGroups:a,dataStartIndex:c,dataEndIndex:u})),p},kh=function(t){var e=t.children,n=t.defaultShowTooltip,r=Do(e,Sd.displayName);return{chartX:0,chartY:0,dataStartIndex:r&&r.props&&r.props.startIndex||0,dataEndIndex:r&&r.props&&r.props.endIndex||t.data&&t.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:!mt()(n)&&n}},Nh=function(t){return"horizontal"===t?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===t?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===t?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},Ah=function(t,e){var n=t.props,r=(t.graphicalItems,t.xAxisMap),i=void 0===r?{}:r,o=t.yAxisMap,a=void 0===o?{}:o,c=n.width,u=n.height,s=n.children,l=n.margin||{},f=Do(s,Sd.displayName),p=Do(s,Zr.displayName),d=Object.keys(a).reduce((function(t,e){var n=a[e],r=n.orientation;return n.mirror||n.hide?t:bh(bh({},t),{},xh({},r,t[r]+n.width))}),{left:l.left||0,right:l.right||0}),h=Object.keys(i).reduce((function(t,e){var n=i[e],r=n.orientation;return n.mirror||n.hide?t:bh(bh({},t),{},xh({},r,_()(t,"".concat(r))+n.height))}),{top:l.top||0,bottom:l.bottom||0}),y=bh(bh({},h),d),v=y.bottom;return f&&(y.bottom+=f.props.height||Sd.defaultProps.height),p&&e&&(y=function(t,e,n,r){var i=n.children,o=n.width,a=n.margin,c=o-(a.left||0)-(a.right||0),u=Zp({children:i,legendWidth:c}),s=t;if(u){var l=r||{},f=u.align,p=u.verticalAlign,d=u.layout;("vertical"===d||"horizontal"===d&&"center"===p)&&H(t[f])&&(s=Wp(Wp({},t),{},Bp({},f,s[f]+(l.width||0)))),("horizontal"===d||"vertical"===d&&"center"===f)&&H(t[p])&&(s=Wp(Wp({},t),{},Bp({},p,s[p]+(l.height||0))))}return s}(y,0,n,e)),bh(bh({brushBottom:v},y),{},{width:c-y.left-y.right,height:u-y.top-y.bottom})};function Dh(){return(Dh=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Ch(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Lh(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Lh(t,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 Lh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Rh(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function zh(t){var e=t.offset,n=t.layout,r=t.width,i=t.dataKey,a=t.data,c=t.dataPointFormatter,u=t.xAxis,s=t.yAxis,l=Rh(t,["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"]),f=Ot(l),p=a.map((function(t,a){var l=c(t,i),p=l.x,d=l.y,h=l.value,y=l.errorVal;if(!y)return null;var v,m,g=[];if(Array.isArray(y)){var b=Ch(y,2);v=b[0],m=b[1]}else v=m=y;if("vertical"===n){var x=u.scale,w=d+e,I=w+r,M=w-r,E=x(h-v),S=x(h+m);g.push({x1:S,y1:I,x2:S,y2:M}),g.push({x1:E,y1:w,x2:S,y2:w}),g.push({x1:E,y1:I,x2:E,y2:M})}else if("horizontal"===n){var O=s.scale,j=p+e,T=j-r,P=j+r,_=O(h-v),k=O(h+m);g.push({x1:T,y1:k,x2:P,y2:k}),g.push({x1:j,y1:_,x2:j,y2:k}),g.push({x1:T,y1:_,x2:P,y2:_})}return o.createElement(Dt,Dh({className:"recharts-errorBar",key:"bar-".concat(a)},f),g.map((function(t,e){return o.createElement("line",Dh({},t,{key:"line-".concat(e)}))})))}));return o.createElement(Dt,{className:"recharts-errorBars"},p)}zh.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},zh.displayName="ErrorBar";var Wh=function(t){return null};Wh.displayName="Cell";var Bh=n(16731),Hh=n.n(Bh);function Uh(t){return function(t){if(Array.isArray(t))return Gh(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Gh(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Gh(t,e)}(t)||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 Gh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Zh(){return(Zh=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Fh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Jh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fh(Object(n),!0).forEach((function(e){Vh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fh(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Vh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yh(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var Xh={valueAccessor:function(t){return N()(t.value)?Hh()(t.value):t.value}};function Qh(t){var e=t.data,n=t.valueAccessor,r=t.dataKey,i=t.clockWise,a=t.id,c=t.textBreakAll,u=Yh(t,["data","valueAccessor","dataKey","clockWise","id","textBreakAll"]);return e&&e.length?o.createElement(Dt,{className:"recharts-label-list"},e.map((function(t,e){var s=mt()(r)?n(t,e):Hp(t&&t.payload,r),l=mt()(a)?{}:{id:"".concat(a,"-").concat(e)};return o.createElement(Oa,Zh({},Ot(t,!0),u,l,{parentViewBox:t.parentViewBox,index:e,value:s,textBreakAll:c,viewBox:Oa.parseViewBox(mt()(i)?t:Jh(Jh({},t),{},{clockWise:i})),key:"label-".concat(e)}))}))):null}function qh(t,e){return t?!0===t?o.createElement(Qh,{key:"labelList-implicit",data:e}):o.isValidElement(t)||st()(t)?o.createElement(Qh,{key:"labelList-implicit",data:e,content:t}):wt()(t)?o.createElement(Qh,Zh({data:e},t,{key:"labelList-implicit"})):null:null}function $h(t){return($h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Kh(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function ty(){return(ty=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function ey(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ny(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ey(Object(n),!0).forEach((function(e){ry(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ey(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ry(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function iy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oy(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ay(t,e){return(ay=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function cy(t){var e=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(t){return!1}}();return function(){var n,r=sy(t);if(e){var i=sy(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return uy(this,n)}}function uy(t,e){return!e||"object"!==$h(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function sy(t){return(sy=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Qh.displayName="LabelList",Qh.renderCallByParent=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&n&&!t.label)return null;var r=t.children,i=Ao(r,Qh.displayName).map((function(t,n){return(0,o.cloneElement)(t,{data:e,key:"labelList-".concat(n)})}));if(!n)return i;var a=qh(t.label,e);return[a].concat(Uh(i))},Qh.defaultProps=Xh;var ly=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ay(t,e)}(a,t);var e,n,r,i=cy(a);function a(){var t;iy(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={isAnimationFinished:!1},t.id=Z("recharts-bar-"),t.handleAnimationEnd=function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()},t.handleAnimationStart=function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()},t}return e=a,r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}},{key:"renderRectangle",value:function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):st()(t)?t(e):o.createElement(So,e)}}],(n=[{key:"renderRectanglesStatically",value:function(t){var e=this,n=this.props.shape,r=Ot(this.props);return t&&t.map((function(t,i){var c=ny(ny(ny({},r),t),{},{index:i});return o.createElement(Dt,ty({className:"recharts-bar-rectangle"},Tt(e.props,t,i),{key:"rectangle-".concat(i)}),a.renderRectangle(n,c))}))}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,n=e.data,r=e.layout,i=e.isAnimationActive,a=e.animationBegin,c=e.animationDuration,u=e.animationEasing,s=e.animationId,l=this.state.prevData;return o.createElement(rn,{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(e){var i=e.t,a=n.map((function(t,e){var n=l&&l[e];if(n){var o=V(n.x,t.x),a=V(n.y,t.y),c=V(n.width,t.width),u=V(n.height,t.height);return ny(ny({},t),{},{x:o(i),y:a(i),width:c(i),height:u(i)})}if("horizontal"===r){var s=V(0,t.height)(i);return ny(ny({},t),{},{y:t.y+t.height-s,height:s})}var f=V(0,t.width)(i);return ny(ny({},t),{},{width:f})}));return o.createElement(Dt,null,t.renderRectanglesStatically(a))}))}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,n=t.isAnimationActive,r=this.state.prevData;return!(n&&e&&e.length)||r&&qa()(r,e)?this.renderRectanglesStatically(e):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var t=this,e=this.props.data,n=Ot(this.props.background);return e.map((function(e,r){e.value;var i=e.background,o=Kh(e,["value","background"]);if(!i)return null;var c=ny(ny(ny(ny(ny({},o),{},{fill:"#eee"},i),n),Tt(t.props,e,r)),{},{index:r,key:"background-bar-".concat(r),className:"recharts-bar-background-rectangle"});return a.renderRectangle(t.props.background,c)}))}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var t=this.props,e=t.data,n=t.xAxis,r=t.yAxis,i=t.layout,a=t.children,c=Ao(a,zh.displayName);if(!c)return null;var u="vertical"===i?e[0].height/2:e[0].width/2;function s(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:Hp(t,e)}}return c.map((function(t,a){return o.cloneElement(t,{key:"error-bar-".concat(a),data:e,xAxis:n,yAxis:r,layout:i,offset:u,dataPointFormatter:s})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,n=t.data,r=t.className,i=t.xAxis,a=t.yAxis,c=t.left,u=t.top,s=t.width,l=t.height,f=t.isAnimationActive,p=t.background,d=t.id;if(e||!n||!n.length)return null;var h=this.state.isAnimationFinished,y=j()("recharts-bar",r),v=i&&i.allowDataOverflow||a&&a.allowDataOverflow,m=mt()(d)?this.id:d;return o.createElement(Dt,{className:y},v?o.createElement("defs",null,o.createElement("clipPath",{id:"clipPath-".concat(m)},o.createElement("rect",{x:c,y:u,width:s,height:l}))):null,o.createElement(Dt,{className:"recharts-bar-rectangles",clipPath:v?"url(#clipPath-".concat(m,")"):null},p?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(),(!f||h)&&Qh.renderCallByParent(this.props,n))}}])&&oy(e.prototype,n),r&&oy(e,r),a}(o.PureComponent);ly.displayName="Bar",ly.defaultProps={xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",isAnimationActive:!bn.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"},ly.getComposedData=function(t){var e=t.props,n=t.item,r=t.barPosition,i=t.bandSize,o=t.xAxis,a=t.yAxis,c=t.xAxisTicks,u=t.yAxisTicks,s=t.stackedData,l=t.dataStartIndex,f=t.displayedData,p=t.offset,d=function(t,e){if(!t)return null;for(var n=0,r=t.length;n<r;n++)if(t[n].item===e)return t[n].position;return null}(r,n);if(!d)return null;var h=e.layout,y=n.props,v=y.dataKey,m=y.children,g=y.minPointSize,b="horizontal"===h?a:o,x=s?b.scale.domain():null,w=function(t){var e=t.numericAxis,n=e.scale.domain();if("number"===e.type){var r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return r<=0&&i>=0?0:i<0?i:r}return n[0]}({numericAxis:b}),I=Ao(m,Wh.displayName),M=f.map((function(t,e){var r,f,p,y,m,b;if(s?r=function(t,e){if(!e||2!==e.length||!H(e[0])||!H(e[1]))return t;var n=Math.min(e[0],e[1]),r=Math.max(e[0],e[1]),i=[t[0],t[1]];return(!H(t[0])||t[0]<n)&&(i[0]=n),(!H(t[1])||t[1]>r)&&(i[1]=r),i[0]>r&&(i[0]=r),i[1]<n&&(i[1]=n),i}(s[l+e],x):(r=Hp(t,v),N()(r)||(r=[w,r])),"horizontal"===h){if(f=ed({axis:o,ticks:c,bandSize:i,offset:d.offset,entry:t,index:e}),p=a.scale(r[1]),y=d.size,m=a.scale(r[0])-a.scale(r[1]),b={x:f,y:a.y,width:y,height:a.height},Math.abs(g)>0&&Math.abs(m)<Math.abs(g)){var M=W(m||g)*(Math.abs(g)-Math.abs(m));p-=M,m+=M}}else f=o.scale(r[0]),p=ed({axis:a,ticks:u,bandSize:i,offset:d.offset,entry:t,index:e}),y=o.scale(r[1])-o.scale(r[0]),m=d.size,b={x:o.x,y:p,width:o.width,height:m},Math.abs(g)>0&&Math.abs(y)<Math.abs(g)&&(y+=W(y||g)*(Math.abs(g)-Math.abs(y)));return ny(ny(ny({},t),{},{x:f,y:p,width:y,height:m,value:s?r:r[1],payload:t,background:b},I&&I[e]&&I[e].props),{},{tooltipPayload:[ud(n,t)],tooltipPosition:{x:f+y/2,y:p+m/2}})}));return ny({data:M,layout:h},p)};var fy=function(){return null};fy.displayName="XAxis",fy.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 py=function(){return null};py.displayName="YAxis",py.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 dy=function(t){var e,n,r=t.chartName,i=t.GraphicalChild,a=t.defaultTooltipEventType,c=void 0===a?"axis":a,u=t.validateTooltipEventTypes,s=void 0===u?["axis"]:u,l=t.axisComponents,f=t.legendContent,p=t.formatAxisMap,d=t.defaultProps,h=function(t,e){var n=e.graphicalItems,r=e.stackGroups,i=e.offset,a=e.updateId,c=e.dataStartIndex,u=e.dataEndIndex,s=t.barSize,f=t.layout,p=t.barGap,d=t.barCategoryGap,h=t.maxBarSize,y=Nh(f),v=y.numericAxisName,m=y.cateAxisName,g=function(t){return!(!t||!t.length)&&t.some((function(t){var e=No(t&&t.type);return e&&e.indexOf("Bar")>=0}))}(n)&&function(t){var e=t.barSize,n=t.stackGroups,r=void 0===n?{}:n;if(!r)return{};for(var i={},o=Object.keys(r),a=0,c=o.length;a<c;a++)for(var u=r[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,y=d.filter((function(t){return No(t.type).indexOf("Bar")>=0}));if(y&&y.length){var v=y[0].props.barSize,m=y[0].props[h];i[m]||(i[m]=[]),i[m].push({item:y[0],stackList:y.slice(1),barSize:mt()(v)?e:v})}}return i}({barSize:s,stackGroups:r}),b=[];return n.forEach((function(n,s){var y=Oh(t.data,{dataStartIndex:c,dataEndIndex:u},n),x=n.props,w=x.dataKey,I=x.maxBarSize,M=n.props["".concat(v,"Id")],E=n.props["".concat(m,"Id")],S=l.reduce((function(t,r){var i,o=e["".concat(r.axisType,"Map")],a=n.props["".concat(r.axisType,"Id")],c=o&&o[a];return bh(bh({},t),{},(xh(i={},r.axisType,c),xh(i,"".concat(r.axisType,"Ticks"),Xp(c)),i))}),{}),O=S[m],j=S["".concat(m,"Ticks")],T=r&&r[M]&&r[M].hasStack&&function(t,e){var n=t.props.stackId;if(U(n)){var r=e[n];if(r&&r.items.length){for(var i=-1,o=0,a=r.items.length;o<a;o++)if(r.items[o]===t){i=o;break}return i>=0?r.stackedData[i]:null}}return null}(n,r[M].stackGroups),P=No(n.type).indexOf("Bar")>=0,_=ad(O,j),k=[];if(P){var N=ad(O,j,!0),A=mt()(I)?h:I;k=function(t){var e=t.barGap,n=t.barCategoryGap,r=t.bandSize,i=t.sizeList,o=void 0===i?[]:i,a=t.maxBarSize,c=o.length;if(c<1)return null;var u,s=F(e,r,0,!0);if(o[0].barSize===+o[0].barSize){var l=!1,f=r/c,p=o.reduce((function(t,e){return t+e.barSize||0}),0);(p+=(c-1)*s)>=r&&(p-=(c-1)*s,s=0),p>=r&&f>0&&(l=!0,p=c*(f*=.9));var d={offset:((r-p)/2>>0)-s,size:0};u=o.reduce((function(t,e){var n=[].concat(Lp(t),[{item:e.item,position:{offset:d.offset+d.size+s,size:l?f:e.barSize}}]);return d=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:d})})),n}),[])}else{var h=F(n,r,0,!0);r-2*h-(c-1)*s<=0&&(s=0);var y=(r-2*h-(c-1)*s)/c;y>1&&(y>>=0);var v=a===+a?Math.min(y,a):y;u=o.reduce((function(t,e,n){var r=[].concat(Lp(t),[{item:e.item,position:{offset:h+(y+s)*n+(y-v)/2,size:v}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){r.push({item:t,position:r[r.length-1].position})})),r}),[])}return u}({barGap:p,barCategoryGap:d,bandSize:N!==_?N:_,sizeList:g[E],maxBarSize:A}),N!==_&&(k=k.map((function(t){return bh(bh({},t),{},{position:bh(bh({},t.position),{},{offset:t.position.offset-N/2})})})))}var D,C,L,R,z=n&&n.type&&n.type.getComposedData;z&&b.push({props:bh(bh({},z(bh(bh({},S),{},{displayedData:y,props:t,dataKey:w,item:n,bandSize:_,barPosition:k,offset:i,stackedData:T,layout:f,dataStartIndex:c,dataEndIndex:u}))),{},(D={key:n.key||"item-".concat(s)},xh(D,v,S[v]),xh(D,m,S[m]),xh(D,"animationId",a),D)),childIndex:(C=n,L=t.children,R=-1,o.Children.forEach(L,(function(t,e){t===C&&(R=e)})),R),item:n})})),b},y=function(t,e){var n=t.props,o=t.dataStartIndex,a=t.dataEndIndex,c=t.updateId;if(!Co({props:n}))return null;var u=n.children,s=n.layout,f=n.stackOffset,d=n.data,y=n.reverseStackOrder,v=Nh(s),m=v.numericAxisName,g=v.cateAxisName,b=Ao(u,i),x=function(t,e,n,r,i,o){if(!t)return null;var a=(o?e.reverse():e).reduce((function(t,e){var i=e.props,o=i.stackId;if(i.hide)return t;var a=e.props[n],c=t[a]||{hasStack:!1,stackGroups:{}};if(U(o)){var u=c.stackGroups[o]||{numericAxisId:n,cateAxisId:r,items:[]};u.items.push(e),c.hasStack=!0,c.stackGroups[o]=u}else c.stackGroups[Z("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[e]};return Wp(Wp({},t),{},Bp({},a,c))}),{});return Object.keys(a).reduce((function(e,o){var c=a[o];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce((function(e,o){var a=c.stackGroups[o];return Wp(Wp({},e),{},Bp({},o,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:Kp(t,a.items,i)}))}),{})),Wp(Wp({},e),{},Bp({},o,c))}),{})}(d,b,"".concat(m,"Id"),"".concat(g,"Id"),f,y),w=l.reduce((function(t,e){var r="".concat(e.axisType,"Map");return bh(bh({},t),{},xh({},r,_h(n,bh(bh({},e),{},{graphicalItems:b,stackGroups:e.axisType===m&&x,dataStartIndex:o,dataEndIndex:a}))))}),{}),I=Ah(bh(bh({},w),{},{props:n,graphicalItems:b}),null==e?void 0:e.legendBBox);Object.keys(w).forEach((function(t){w[t]=p(n,w[t],I,t.replace("Map",""),r)}));var M,E,S=w["".concat(g,"Map")],O=(M=J(S),{tooltipTicks:E=Xp(M,!1,!0),orderedTooltipTicks:dt()(E,(function(t){return t.coordinate})),tooltipAxis:M,tooltipAxisBandSize:ad(M)}),j=h(n,bh(bh({},w),{},{dataStartIndex:o,dataEndIndex:a,updateId:c,graphicalItems:b,stackGroups:x,offset:I}));return bh(bh({formatedGraphicalItems:j,graphicalItems:b,offset:I,stackGroups:x},O),w)};return n=e=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lh(t,e)}(u,t);var e,n,i,a=fh(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=a.call(this,t)).uniqueChartId=void 0,e.clipPathId=void 0,e.legendInstance=void 0,e.deferId=void 0,e.container=void 0,e.clearDeferId=function(){!mt()(e.deferId)&&Sh&&Sh(e.deferId),e.deferId=null},e.handleLegendBBoxUpdate=function(t){if(t&&e.legendInstance){var n=e.state,r=n.dataStartIndex,i=n.dataEndIndex,o=n.updateId;e.setState(bh({legendBBox:t},y({props:e.props,dataStartIndex:r,dataEndIndex:i,updateId:o},bh(bh({},e.state),{},{legendBBox:t}))))}},e.handleReceiveSyncEvent=function(t,n,r){e.props.syncId===t&&n!==e.uniqueChartId&&(e.clearDeferId(),e.deferId=Eh&&Eh(e.applySyncEvent.bind(dh(e),r)))},e.handleBrushChange=function(t){var n=t.startIndex,r=t.endIndex;if(n!==e.state.dataStartIndex||r!==e.state.dataEndIndex){var i=e.state.updateId;e.setState((function(){return bh({dataStartIndex:n,dataEndIndex:r},y({props:e.props,dataStartIndex:n,dataEndIndex:r,updateId:i},e.state))})),e.triggerSyncEvent({dataStartIndex:n,dataEndIndex:r})}},e.handleMouseEnter=function(t){var n=e.props.onMouseEnter,r=e.getMouseInfo(t);if(r){var i=bh(bh({},r),{},{isTooltipActive:!0});e.setState(i),e.triggerSyncEvent(i),st()(n)&&n(i,t)}},e.triggeredAfterMouseMove=function(t){var n=e.props.onMouseMove,r=e.getMouseInfo(t),i=r?bh(bh({},r),{},{isTooltipActive:!0}):{isTooltipActive:!1};e.setState(i),e.triggerSyncEvent(i),st()(n)&&n(i,t)},e.handleItemMouseEnter=function(t){e.setState((function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}}))},e.handleItemMouseLeave=function(){e.setState((function(){return{isTooltipActive:!1}}))},e.handleMouseMove=function(t){t&&st()(t.persist)&&t.persist(),e.triggeredAfterMouseMove(t)},e.handleMouseLeave=function(t){var n=e.props.onMouseLeave,r={isTooltipActive:!1};e.setState(r),e.triggerSyncEvent(r),st()(n)&&n(r,t),e.cancelThrottledTriggerAfterMouseMove()},e.handleOuterEvent=function(t){var n=function(t){var e=t&&t.type;return e&&ko[e]?ko[e]:null}(t),r=_()(e.props,"".concat(n));n&&st()(r)&&r(/.*touch.*/i.test(n)?e.getMouseInfo(t.changedTouches[0]):e.getMouseInfo(t),t)},e.handleClick=function(t){var n=e.props.onClick,r=e.getMouseInfo(t);if(r){var i=bh(bh({},r),{},{isTooltipActive:!0});e.setState(i),e.triggerSyncEvent(i),st()(n)&&n(i,t)}},e.handleMouseDown=function(t){var n=e.props.onMouseDown;st()(n)&&n(e.getMouseInfo(t),t)},e.handleMouseUp=function(t){var n=e.props.onMouseUp;st()(n)&&n(e.getMouseInfo(t),t)},e.handleTouchMove=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseMove(t.changedTouches[0])},e.handleTouchStart=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseDown(t.changedTouches[0])},e.handleTouchEnd=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseUp(t.changedTouches[0])},e.verticalCoordinatesGenerator=function(t){var e=t.xAxis,n=t.width,r=t.height,i=t.offset;return Yp(Ha.getTicks(bh(bh(bh({},Ha.defaultProps),e),{},{ticks:Xp(e,!0),viewBox:{x:0,y:0,width:n,height:r}})),i.left,i.left+i.width)},e.horizontalCoordinatesGenerator=function(t){var e=t.yAxis,n=t.width,r=t.height,i=t.offset;return Yp(Ha.getTicks(bh(bh(bh({},Ha.defaultProps),e),{},{ticks:Xp(e,!0),viewBox:{x:0,y:0,width:n,height:r}})),i.top,i.top+i.height)},e.axesTicksGenerator=function(t){return Xp(t,!0)},e.renderCursor=function(t){var n=e.state,i=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,u=n.offset,s=n.activeTooltipIndex,l=e.getTooltipEventType();if(!(t&&t.props.cursor&&i&&a&&"axis"===l))return null;var f,p=e.props.layout,d=Pi;if("ScatterChart"===r)f=a,d=zi;else if("BarChart"===r)f=e.getCursorRectangle(),d=So;else if("radial"===p){var h=e.getCursorPoints(),y=h.cx,v=h.cy,m=h.radius;f={cx:y,cy:v,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:m,outerRadius:m},d=io}else f={points:e.getCursorPoints()},d=Pi;var g=t.key||"_recharts-cursor",b=bh(bh(bh(bh({stroke:"#ccc",pointerEvents:"none"},u),f),Ot(t.props.cursor)),{},{payload:c,payloadIndex:s,key:g,className:"recharts-tooltip-cursor"});return(0,o.isValidElement)(t.props.cursor)?(0,o.cloneElement)(t.props.cursor,b):(0,o.createElement)(d,b)},e.renderPolarAxis=function(t,n,r){var i=_()(t,"type.axisType"),a=_()(e.state,"".concat(i,"Map"))[t.props["".concat(i,"Id")]];return(0,o.cloneElement)(t,bh(bh({},a),{},{className:i,key:t.key||"".concat(n,"-").concat(r),ticks:Xp(a,!0)}))},e.renderXAxis=function(t,n,r){var i=e.state.xAxisMap[t.props.xAxisId];return e.renderAxis(i,t,n,r)},e.renderYAxis=function(t,n,r){var i=e.state.yAxisMap[t.props.yAxisId];return e.renderAxis(i,t,n,r)},e.renderGrid=function(t){var n=e.state,r=n.xAxisMap,i=n.yAxisMap,a=n.offset,c=e.props,u=c.width,s=c.height,l=J(r),f=ct()(i,(function(t){return ot()(t.domain,Mh)}))||J(i),p=t.props||{};return(0,o.cloneElement)(t,{key:t.key||"grid",x:H(p.x)?p.x:a.left,y:H(p.y)?p.y:a.top,width:H(p.width)?p.width:a.width,height:H(p.height)?p.height:a.height,xAxis:l,yAxis:f,offset:a,chartWidth:u,chartHeight:s,verticalCoordinatesGenerator:p.verticalCoordinatesGenerator||e.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:p.horizontalCoordinatesGenerator||e.horizontalCoordinatesGenerator})},e.renderPolarGrid=function(t){var n=t.props,r=n.radialLines,i=n.polarAngles,a=n.polarRadius,c=e.state,u=c.radiusAxisMap,s=c.angleAxisMap,l=J(u),f=J(s),p=f.cx,d=f.cy,h=f.innerRadius,y=f.outerRadius;t.props;return(0,o.cloneElement)(t,{polarAngles:N()(i)?i:Xp(f,!0).map((function(t){return t.coordinate})),polarRadius:N()(a)?a:Xp(l,!0).map((function(t){return t.coordinate})),cx:p,cy:d,innerRadius:h,outerRadius:y,key:t.key||"polar-grid",radialLines:r})},e.renderLegend=function(){var t=e.state.formatedGraphicalItems,n=e.props,r=n.children,i=n.width,a=n.height,c=e.props.margin||{},u=i-(c.left||0)-(c.right||0),s=Zp({children:r,formatedGraphicalItems:t,legendWidth:u,legendContent:f});if(!s)return null;var l=s.item,p=uh(s,["item"]);return(0,o.cloneElement)(l,bh(bh({},p),{},{chartWidth:i,chartHeight:a,margin:c,ref:function(t){e.legendInstance=t},onBBoxUpdate:e.handleLegendBBoxUpdate}))},e.renderTooltip=function(){var t=e.props.children,n=Do(t,Nn.displayName);if(!n)return null;var r=e.state,i=r.isTooltipActive,a=r.activeCoordinate,c=r.activePayload,u=r.activeLabel,s=r.offset;return(0,o.cloneElement)(n,{viewBox:bh(bh({},s),{},{x:s.left,y:s.top}),active:i,label:u,payload:i?c:[],coordinate:a})},e.renderBrush=function(t){var n=e.props,r=n.margin,i=n.data,a=e.state,c=a.offset,u=a.dataStartIndex,s=a.dataEndIndex,l=a.updateId;return(0,o.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:Qp(e.handleBrushChange,null,t.props.onChange),data:i,x:H(t.props.x)?t.props.x:c.left,y:H(t.props.y)?t.props.y:c.top+c.height+c.brushBottom-(r.bottom||0),width:H(t.props.width)?t.props.width:c.width,startIndex:u,endIndex:s,updateId:"brush-".concat(l)})},e.renderReferenceElement=function(t,n,r){if(!t)return null;var i=dh(e).clipPathId,a=e.state,c=a.xAxisMap,u=a.yAxisMap,s=a.offset,l=t.props,f=l.xAxisId,p=l.yAxisId;return(0,o.cloneElement)(t,{key:t.key||"".concat(n,"-").concat(r),xAxis:c[f],yAxis:u[p],viewBox:{x:s.left,y:s.top,width:s.width,height:s.height},clipPathId:i})},e.renderActivePoints=function(t){var e=t.item,n=t.activePoint,r=t.basePoint,i=t.childIndex,o=t.isRange,a=[],c=e.props.key,s=e.item.props,l=s.activeDot,f=bh(bh({index:i,dataKey:s.dataKey,cx:n.x,cy:n.y,r:4,fill:Gp(e.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(c,"-activePoint-").concat(i)},Ot(l)),jt(l));return a.push(u.renderActiveDot(l,f)),r?a.push(u.renderActiveDot(l,bh(bh({},f),{},{cx:r.x,cy:r.y,key:"".concat(c,"-basePoint-").concat(i)}))):o&&a.push(null),a},e.renderGraphicChild=function(t,n,r){var i=e.filterFormatItem(t,n,r);if(!i)return null;var a=e.getTooltipEventType(),c=e.state,u=c.isTooltipActive,s=c.tooltipAxis,l=c.activeTooltipIndex,f=c.activeLabel,p=e.props.children,d=Do(p,Nn.displayName),h=i.props,y=h.points,v=h.isRange,m=h.baseLine,g=i.item.props,b=g.activeDot,x=!g.hide&&u&&d&&b&&l>=0,w={};"axis"!==a&&d&&"click"===d.props.trigger?w={onClick:Qp(e.handleItemMouseEnter,null,t.props.onCLick)}:"axis"!==a&&(w={onMouseLeave:Qp(e.handleItemMouseLeave,null,t.props.onMouseLeave),onMouseEnter:Qp(e.handleItemMouseEnter,null,t.props.onMouseEnter)});var I=(0,o.cloneElement)(t,bh(bh({},i.props),w));if(x){var M,E;if(s.dataKey&&!s.allowDuplicatedCategory){var S="function"==typeof s.dataKey?function(t){return"function"==typeof s.dataKey?s.dataKey(t.payload):null}:"payload.".concat(s.dataKey.toString());M=Y(y,S,f),E=v&&m&&Y(m,S,f)}else M=y[l],E=v&&m&&m[l];if(!mt()(M))return[I].concat(yh(e.renderActivePoints({item:i,activePoint:M,basePoint:E,childIndex:l,isRange:v})))}return v?[I,null,null]:[I,null]},e.renderCustomized=function(t){return(0,o.cloneElement)(t,bh(bh({},e.props),e.state))},e.uniqueChartId=mt()(t.id)?Z("recharts"):t.id,e.clipPathId="".concat(e.uniqueChartId,"-clip"),t.throttleDelay&&(e.triggeredAfterMouseMove=ft()(e.triggeredAfterMouseMove,t.throttleDelay)),e.state={},e}return e=u,(n=[{key:"componentDidMount",value:function(){mt()(this.props.syncId)||this.addListener()}},{key:"componentDidUpdate",value:function(t){mt()(t.syncId)&&!mt()(this.props.syncId)&&this.addListener(),!mt()(t.syncId)&&mt()(this.props.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){this.clearDeferId(),mt()(this.props.syncId)||this.removeListener(),this.cancelThrottledTriggerAfterMouseMove()}},{key:"cancelThrottledTriggerAfterMouseMove",value:function(){"function"==typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=Do(this.props.children,Nn.displayName);if(t&&bt()(t.props.shared)){var e=t.props.shared?"axis":"item";return s.indexOf(e)>=0?e:c}return c}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e,n,r,i=function(t,e){return{chartX:Math.round(t.pageX-e.left),chartY:Math.round(t.pageY-e.top)}}(t,(e=this.container,n=e.ownerDocument.documentElement,r={top:0,left:0},void 0!==e.getBoundingClientRect&&(r=e.getBoundingClientRect()),{top:r.top+window.pageYOffset-n.clientTop,left:r.left+window.pageXOffset-n.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=J(c).scale,l=J(u).scale,f=s&&s.invert?s.invert(i.chartX):null,p=l&&l.invert?l.invert(i.chartY):null;return bh(bh({},i),{},{xValue:f,yValue:p})}var d=Th(this.state,this.props.data,this.props.layout,o);return d?bh(bh({},i),d):null}},{key:"getCursorRectangle",value:function(){var t=this.props.layout,e=this.state,n=e.activeCoordinate,r=e.offset,i=e.tooltipAxisBandSize,o=i/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===t?n.x-o:r.left+.5,y:"horizontal"===t?r.top+.5:n.y-o,width:"horizontal"===t?i:r.width-1,height:"horizontal"===t?r.height-1:i}}},{key:"getCursorPoints",value:function(){var t,e,n,r,i=this.props.layout,o=this.state,a=o.activeCoordinate,c=o.offset;if("horizontal"===i)n=t=a.x,e=c.top,r=c.top+c.height;else if("vertical"===i)r=e=a.y,t=c.left,n=c.left+c.width;else if(!mt()(a.cx)||!mt()(a.cy)){if("centric"!==i){var u=a.cx,s=a.cy,l=a.radius,f=a.startAngle,p=a.endAngle;return{points:[Zi(u,s,l,f),Zi(u,s,l,p)],cx:u,cy:s,radius:l,startAngle:f,endAngle:p}}var d=a.cx,h=a.cy,y=a.innerRadius,v=a.outerRadius,m=a.angle,g=Zi(d,h,y,m),b=Zi(d,h,v,m);t=g.x,e=g.y,n=b.x,r=b.y}return[{x:t,y:e},{x:n,y:r}]}},{key:"inRange",value:function(t,e){var n=this.props.layout;if("horizontal"===n||"vertical"===n){var r=this.state.offset;return t>=r.left&&t<=r.left+r.width&&e>=r.top&&e<=r.top+r.height?{x:t,y:e}:null}var i=this.state,o=i.angleAxisMap,a=i.radiusAxisMap;if(o&&a){var c=J(o);return Vi({x:t,y:e},c)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),n=Do(t,Nn.displayName),r={};return n&&"axis"===e&&(r="click"===n.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),bh(bh({},jt(this.props,this.handleOuterEvent)),r)}},{key:"addListener",value:function(){rh.on(ih,this.handleReceiveSyncEvent),rh.setMaxListeners&&rh._maxListeners&&rh.setMaxListeners(rh._maxListeners+1)}},{key:"removeListener",value:function(){rh.removeListener(ih,this.handleReceiveSyncEvent),rh.setMaxListeners&&rh._maxListeners&&rh.setMaxListeners(rh._maxListeners-1)}},{key:"triggerSyncEvent",value:function(t){var e=this.props.syncId;mt()(e)||rh.emit(ih,e,this.uniqueChartId,t)}},{key:"applySyncEvent",value:function(t){var e=this.props,n=e.layout,r=e.syncMethod,i=this.state.updateId,o=t.dataStartIndex,a=t.dataEndIndex;if(mt()(t.dataStartIndex)&&mt()(t.dataEndIndex))if(mt()(t.activeTooltipIndex))this.setState(t);else{var c=t.chartX,u=t.chartY,s=t.activeTooltipIndex,l=this.state,f=l.offset,p=l.tooltipTicks;if(!f)return;if("function"==typeof r)s=r(p,t);else if("value"===r){s=-1;for(var d=0;d<p.length;d++)if(p[d].value===t.activeLabel){s=d;break}}var h=bh(bh({},f),{},{x:f.left,y:f.top}),v=Math.min(c,h.x+h.width),m=Math.min(u,h.y+h.height),g=p[s]&&p[s].value,b=jh(this.state,this.props.data,s),x=p[s]?{x:"horizontal"===n?p[s].coordinate:v,y:"horizontal"===n?m:p[s].coordinate}:Ih;this.setState(bh(bh({},t),{},{activeLabel:g,activeCoordinate:x,activePayload:b,activeTooltipIndex:s}))}else this.setState(bh({dataStartIndex:o,dataEndIndex:a},y({props:this.props,dataStartIndex:o,dataEndIndex:a,updateId:i},this.state)))}},{key:"filterFormatItem",value:function(t,e,n){for(var r=this.state.formatedGraphicalItems,i=0,o=r.length;i<o;i++){var a=r[i];if(a.item===t||a.props.key===t.key||e===No(a.item.type)&&n===a.childIndex)return a}return null}},{key:"renderAxis",value:function(t,e,n,r){var i=this.props,a=i.width,c=i.height;return o.createElement(Ha,ch({},t,{className:"recharts-".concat(t.axisType," ").concat(t.axisType),key:e.key||"".concat(n,"-").concat(r),viewBox:{x:0,y:0,width:a,height:c},ticksGenerator:this.axesTicksGenerator}))}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,n=e.left,r=e.top,i=e.height,a=e.width;return o.createElement("defs",null,o.createElement("clipPath",{id:t},o.createElement("rect",{x:n,y:r,height:i,width:a})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce((function(t,e){var n=ah(e,2),r=n[0],i=n[1];return bh(bh({},t),{},xh({},r,i.scale))}),{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce((function(t,e){var n=ah(e,2),r=n[0],i=n[1];return bh(bh({},t),{},xh({},r,i.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(t){var e,n;return null===(e=this.state.xAxisMap)||void 0===e||null===(n=e[t])||void 0===n?void 0:n.scale}},{key:"getYScaleByAxisId",value:function(t){var e,n;return null===(e=this.state.yAxisMap)||void 0===e||null===(n=e[t])||void 0===n?void 0:n.scale}},{key:"getItemByXY",value:function(t){var e=this.state.formatedGraphicalItems;if(e&&e.length)for(var n=0,r=e.length;n<r;n++){var i=e[n],o=i.props,a=i.item,c=No(a.type);if("Bar"===c){var u=(o.data||[]).find((function(e){return Eo(t,e)}));if(u)return{graphicalItem:i,payload:u}}else if("RadialBar"===c){var s=(o.data||[]).find((function(e){return Vi(t,e)}));if(s)return{graphicalItem:i,payload:s}}}return null}},{key:"render",value:function(){var t=this;if(!Co(this))return null;var e=this.props,n=e.children,r=e.className,i=e.width,a=e.height,c=e.style,u=e.compact,s=uh(e,["children","className","width","height","style","compact"]),l=Ot(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(kt,ch({},l,{width:i,height:a}),this.renderClipPath(),Bo(n,f));var p=this.parseEventsOfWrapper();return o.createElement("div",ch({className:j()("recharts-wrapper",r),style:bh({position:"relative",cursor:"default",width:i,height:a},c)},p,{ref:function(e){t.container=e}}),o.createElement(kt,ch({},l,{width:i,height:a}),this.renderClipPath(),Bo(n,f)),this.renderLegend(),this.renderTooltip())}}])&&sh(e.prototype,n),i&&sh(e,i),u}(o.Component),e.displayName=r,e.defaultProps=bh({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},d),e.getDerivedStateFromProps=function(t,e){var n=t.data,r=t.children,i=t.width,o=t.height,a=t.layout,c=t.stackOffset,u=t.margin;if(mt()(e.updateId)){var s=kh(t);return bh(bh(bh({},s),{},{updateId:0},y(bh(bh({props:t},s),{},{updateId:0}),e)),{},{prevData:n,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:c,prevMargin:u,prevChildren:r})}if(n!==e.prevData||i!==e.prevWidth||o!==e.prevHeight||a!==e.prevLayout||c!==e.prevStackOffset||!Po(u,e.prevMargin)){var l=kh(t),f={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},p=bh(bh({},Th(e,n,a)),{},{updateId:e.updateId+1}),d=bh(bh(bh({},l),f),p);return bh(bh(bh({},d),y(bh({props:t},d),e)),{},{prevData:n,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:c,prevMargin:u,prevChildren:r})}if(!zo(r,e.prevChildren)){var h=!mt()(n)?e.updateId:e.updateId+1;return bh(bh({updateId:h},y(bh(bh({props:t},e),{},{updateId:h}),e)),{},{prevChildren:r})}return null},e.renderActiveDot=function(t,e){var n;return n=(0,o.isValidElement)(t)?(0,o.cloneElement)(t,e):st()(t)?t(e):o.createElement(ho,e),o.createElement(Dt,{className:"recharts-active-dot",key:e.key},n)},n}({chartName:"BarChart",GraphicalChild:ly,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:fy},{axisType:"yAxis",AxisComp:py}],formatAxisMap:function(t,e,n,i,o){var a=t.width,c=t.height,u=t.layout,s=t.children,l=Object.keys(e),f={left:n.left,leftMirror:n.left,right:a-n.right,rightMirror:a-n.right,top:n.top,topMirror:n.top,bottom:c-n.bottom,bottomMirror:c-n.bottom},p=!!Do(s,"Bar");return l.reduce((function(t,a){var c,s,l,d,h=e[a],y=h.orientation,v=h.domain,m=h.padding,g=void 0===m?{}:m,b=h.mirror,x=h.reversed,w="".concat(y).concat(b?"Mirror":"");c="xAxis"===i?[n.left+(g.left||0),n.left+n.width-(g.right||0)]:"yAxis"===i?"horizontal"===u?[n.top+n.height-(g.bottom||0),n.top+(g.top||0)]:[n.top+(g.top||0),n.top+n.height-(g.bottom||0)]:h.range,x&&(c=[c[1],c[0]]);var I=function(t,e,n){var i=t.scale,o=t.type,a=t.layout,c=t.axisType;if("auto"===i)return"radial"===a&&"radiusAxis"===c?{scale:Va(),realScaleType:"band"}:"radial"===a&&"angleAxis"===c?{scale:us(),realScaleType:"linear"}:"category"===o&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!n)?{scale:Xa(),realScaleType:"point"}:"category"===o?{scale:Va(),realScaleType:"band"}:{scale:us(),realScaleType:"linear"};if(z()(i)){var u="scale".concat(Dn()(i));return{scale:(r[u]||Xa)(),realScaleType:r[u]?u:"point"}}return st()(i)?{scale:i}:{scale:Xa(),realScaleType:"point"}}(h,o,p),M=I.scale,E=I.realScaleType;M.domain(v).range(c),function(t){var e=t.domain();if(e&&!(e.length<=2)){var n=e.length,r=t.range(),i=Math.min(r[0],r[1])-qp,o=Math.max(r[0],r[1])+qp,a=t(e[0]),c=t(e[n-1]);(a<i||a>o||c<i||c>o)&&t.domain([e[0],e[n-1]])}}(M);var S=td(M,kd(kd({},h),{},{realScaleType:E}));"xAxis"===i?(d="top"===y&&!b||"bottom"===y&&b,s=n.left,l=f[w]-d*h.height):"yAxis"===i&&(d="left"===y&&!b||"right"===y&&b,s=f[w]-d*h.width,l=n.top);var O=kd(kd(kd({},h),S),{},{realScaleType:E,x:s,y:l,scale:M,width:"xAxis"===i?n.width:h.width,height:"yAxis"===i?n.height:h.height});return O.bandSize=ad(O,S),h.hide||"xAxis"!==i?h.hide||(f[w]+=(d?-1:1)*O.width):f[w]+=(d?-1:1)*O.height,kd(kd({},t),{},Nd({},a,O))}),{})}}),hy=t=>o.createElement("div",{className:"wprm-admin-dashboard-block-chart-days-container"},o.createElement("div",{className:"wprm-admin-dashboard-block-chart-title"},"📊 ".concat((0,m.S)("Daily Interaction"))),o.createElement(rt,{width:"100%",height:300},o.createElement(dy,{data:t.data},o.createElement(fy,{dataKey:"date"}),o.createElement(py,{type:"number",domain:[0,"dataMax"],allowDecimals:!1}),o.createElement(Nn,null),o.createElement(ly,{dataKey:"total",name:(0,m.S)("Interactions"),fill:"#2271b1"})))),yy=t=>0===t.data.length?null:o.createElement("div",{className:"wprm-admin-dashboard-block-chart-table-container"},o.createElement("div",{className:"wprm-admin-dashboard-block-chart-title"},t.title),o.createElement("table",{className:"wprm-admin-dashboard-block-chart-table"},o.createElement("thead",null,o.createElement("tr",null,o.createElement("th",null,t.label),o.createElement("th",null,(0,m.S)("Total")),o.createElement("th",null,(0,m.S)("Unique")))),o.createElement("tbody",null,t.data.map(((t,e)=>o.createElement("tr",{key:e},o.createElement("td",null,t.name),o.createElement("td",null,t.total),o.createElement("td",null,t.unique)))))));class vy extends o.Component{constructor(t){super(t),this.state={loading:!0,data:!1}}componentDidMount(){this.checkForUpdate()}checkForUpdate(){this.setState({loading:!0},(()=>{g.Z.dashboard.getAnalytics().then((t=>{var e=!1;t&&(e=t.data),this.setState({loading:!1,data:e})}))}))}render(){var{data:t}=this.state;return o.createElement(o.Fragment,null,this.state.loading?o.createElement(M.Z,null):o.createElement(o.Fragment,null,0===t.total?o.createElement("span",null,(0,m.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(hy,{data:t.per_day})),o.createElement("div",{className:"wprm-admin-dashboard-block-chart"},o.createElement(yy,{title:"🏆 ".concat((0,m.S)("Top Recipe Interactions (last 7 days)")),label:(0,m.S)("Recipe"),data:t.per_recipe})),o.createElement("div",{className:"wprm-admin-dashboard-block-chart"},o.createElement(yy,{title:"👍 ".concat((0,m.S)("Interactions (last 7 days)")),label:(0,m.S)("Type"),data:t.per_type})))))}}class my extends o.Component{constructor(t){super(t),this.state={analyticsEnabled:wprm_admin_dashboard.settings.analytics_enabled}}render(){return o.createElement(h,{title:(0,m.S)("Analytics")},this.state.analyticsEnabled?o.createElement(o.Fragment,null,o.createElement(vy,null),wprm_admin_dashboard.settings.honey_home_integration?o.createElement(b,{title:(0,m.S)("Learn more")},"Go to your ",o.createElement("a",{href:"https://dailygrub.com/dashboard",target:"_blank"},"DailyGrub Dashboard")," for more insights!"):o.createElement(b,{title:"📈 ".concat((0,m.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(I,{onEnable:()=>{g.Z.settings.save({analytics_enabled:!0}),this.setState({analyticsEnabled:!0})}}))}}var gy=t=>o.createElement("div",{className:"wprm-admin-dashboard-learn-section-container"},o.createElement("div",{className:"wprm-admin-dashboard-learn-section-title"},t.title),o.createElement("div",{className:"wprm-admin-dashboard-learn-section"},t.children)),by=t=>o.createElement("div",{className:"wprm-admin-dashboard-learn-section-item"},t.hasOwnProperty("url")?o.createElement("a",{href:t.url,target:"_blank"},t.children):t.children),xy=t=>o.createElement(h,{title:(0,m.S)("Get the most out of WPRM")},o.createElement("div",{className:"wprm-admin-dashboard-learn-container"},o.createElement(gy,{title:"🧑🎓 ".concat((0,m.S)("Learn More"))},o.createElement(by,{url:"https://help.bootstrapped.ventures/collection/1-wp-recipe-maker"},(0,m.S)("Documentation in our knowledge base")),o.createElement(by,{url:"https://demo.wprecipemaker.com/all-features/"},(0,m.S)("All features in action on our demo site")),o.createElement(by,{url:"https://bootstrapped.ventures/wp-recipe-maker/videos/"},(0,m.S)("Video tutorials and walkthroughs"))),o.createElement(gy,{title:"🤝 ".concat((0,m.S)("Our Partners"))},o.createElement(by,{url:"https://myemissions.green/wp-recipe-maker?ref=wprm"},(0,m.S)("My Emissions carbon footprint labels")),o.createElement(by,{url:"https://dailygrub.com"},(0,m.S)("DailyGrub recipe analytics suite"))),o.createElement(gy,{title:"🙋 ".concat((0,m.S)("Get Help"))},o.createElement(by,{url:"https://www.facebook.com/groups/1741126932849712"},(0,m.S)("WP Recipe Maker Facebook Group")),o.createElement(by,{url:"mailto:support@bootstrapped.ventures"},(0,m.S)("Email our support team"))))),wy=t=>{var{item:e}=t;if(!e.title)return null;var n=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"},e.date_formatted),o.createElement("div",{className:"wprm-admin-dashboard-news-item-title"},e.title)),e.hasOwnProperty("label")&&o.createElement("div",{className:"wprm-admin-dashboard-news-item-label wprm-admin-dashboard-news-item-label-".concat(e.label_key)},e.label)),r=["wprm-admin-dashboard-news-item"];return e.new&&r.push("wprm-admin-dashboard-news-item-new"),o.createElement(o.Fragment,null,e.hasOwnProperty("url")?o.createElement("a",{href:e.url,target:"_blank",className:r.join(" ")},n):o.createElement("div",{className:r.join(" ")},n))},Iy=t=>{var e=wprm_admin_dashboard.news;return e&&0!==e.length?o.createElement(h,{title:(0,m.S)("News")},o.createElement("div",{className:"wprm-admin-dashboard-news-container"},e.map(((t,e)=>o.createElement(wy,{item:t,key:e}))))):null},My=n(62834),Ey=t=>{var{recipe:e}=t,n=e.hasOwnProperty("permalink")&&e.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"},e.date_formatted?e.date_formatted:""),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-name"},e.name?e.name:"n/a")),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-actions"},n&&o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-action"},o.createElement("a",{href:e.permalink,target:"_blank"},o.createElement(My.Z,{type:"eye",title:(0,m.S)("View Recipe")}))),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-action"},o.createElement(My.Z,{type:"pencil",title:(0,m.S)("Edit Recipe"),onClick:()=>{WPRM_Modal.open("recipe",{recipe:e,saveCallback:n=>{var r=JSON.parse(JSON.stringify(e));r.name=n.name,t.onUpdate(r)}})}}))))};class Sy extends o.Component{constructor(t){super(t),this.state={recipes:wprm_admin_dashboard.recipes}}render(){return o.createElement(h,{title:(0,m.S)("Latest Recipes"),button:(0,m.S)("Create Recipe"),buttonAction:()=>{WPRM_Modal.open("recipe",{saveCallback:t=>{var e=JSON.parse(JSON.stringify(this.state.recipes)),n=JSON.parse(JSON.stringify(t));n.date_formatted=wprm_admin_dashboard.today_formatted,(e=e.filter((t=>t.id!==n.id))).unshift(n),this.setState({recipes:e})}})}},o.createElement("div",{className:"wprm-admin-dashboard-recipes-container"},0===this.state.recipes.length?o.createElement("div",{className:"wprm-admin-dashboard-recipes-all"},(0,m.S)("No recipes found. Welcome to WP Recipe Maker!")):o.createElement(o.Fragment,null,this.state.recipes.map(((t,e)=>o.createElement(Ey,{recipe:t,onUpdate:t=>{var n=JSON.parse(JSON.stringify(this.state.recipes));n[e]=t,this.setState({recipes:n})},key:e})))),o.createElement("div",{className:"wprm-admin-dashboard-recipes-all"},o.createElement("a",{href:wprm_admin.manage_url},(0,m.S)("Manage all recipes...")))))}}var Oy=t=>o.createElement("div",{className:"wprm-admin-dashboard-tip"},t.children),jy=[o.createElement(Oy,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(Oy,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(Oy,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(Oy,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(Oy,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(Oy,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(Oy,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(Oy,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(Oy,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 Ty extends o.Component{constructor(t){super(t);var e=Math.floor(Math.random()*jy.length);this.changeTip=this.changeTip.bind(this);var n=setInterval(this.changeTip,15e3);this.state={activeTip:e,interval:n,bar:"odd"}}changeTip(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=this.state.activeTip+t;e<0?e+=jy.length:e%=jy.length,clearInterval(this.state.interval),this.setState({activeTip:e,interval:setInterval(this.changeTip,15e3),bar:"even"===this.state.bar?"odd":"even"})}render(){return o.createElement(h,{title:(0,m.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"},jy.map(((t,e)=>{var n=["wprm-admin-dashboard-tip-container"];return e===this.state.activeTip&&n.push("wprm-admin-dashboard-tip-container-active"),o.createElement("div",{className:n.join(" "),key:e},t)}))),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:Py}=WPRecipeMaker["wp-recipe-maker/dist/shared"],_y=Py.applyFilters("dashboardBlocks",[{id:"recipes",block:Sy},{id:"news",block:Iy},{id:"tips",block:Ty},{id:"learn",block:xy},{id:"analytics",block:my}]);class ky extends o.Component{render(){return o.createElement(o.Fragment,null,o.createElement("h1",null,"WP Recipe Maker"),o.createElement(v,{blocks:_y}))}}var Ny=document.getElementById("wprm-admin-dashboard");Ny&&i.render(o.createElement(ky,null),Ny)},99237:function(t,e,n){"use strict";n.d(e,{Z:function(){return H}});var r=n(46087),i=wprm_admin.endpoints.analytics,o={delete:t=>r.Z.call("".concat(i,"/").concat(t),"DELETE")};function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u=wprm_admin.endpoints.custom_taxonomies,s={save(t,e){var n=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e),i=t?"PUT":"POST";return r.Z.call(u,i,n)}},l=wprm_admin.endpoints.dashboard,f={getAnalytics:()=>r.Z.call("".concat(l,"/analytics"))},p=wprm_admin.endpoints.notices,d={dismissNotice(t){var e={id:t};return r.Z.call(p,"DELETE",e)}},h=wprm_admin.endpoints.modal,y={parseIngredients(t){var e={ingredients:t};return r.Z.call("".concat(h,"/ingredient/parse"),"POST",e)}},v=(n(35054),wprm_admin.endpoints.manage),m=wprm_admin.endpoints.rating,g=wprm_admin.endpoints.taxonomy,b=!1,x=!1,w={getData(t){return b?(x=t,new Promise((t=>t(!1)))):this.getDataDebounced(t)},getDataDebounced(t){return b=!0,r.Z.call("".concat(v,"/").concat(t.route),"POST",t).then((t=>{if(x){var e=x;return x=!1,this.getDataDebounced(e)}return b=!1,t}))},deleteUserRatings:t=>r.Z.call("".concat(m,"/recipe/").concat(t),"DELETE"),getTerm:(t,e)=>r.Z.call("".concat(g).concat(t,"/").concat(e)),createTerm(t,e){var n={name:e};return r.Z.call("".concat(g).concat(t),"POST",n)},deleteTerm:(t,e)=>r.Z.call("".concat(g).concat(t,"/").concat(e,"?force=true"),"DELETE"),renameTerm(t,e,n){var i={name:n};return r.Z.call("".concat(g).concat(t,"/").concat(e),"POST",i)},changeTermSlug(t,e,n){var i={slug:n};return r.Z.call("".concat(g).concat(t,"/").concat(e),"POST",i)},renameTermLabel(t,e,n){var i={type:t,id:e,label:n};return r.Z.call("".concat(v,"/taxonomy/label"),"POST",i)},mergeTerm(t,e,n){var i={type:t,oldId:e,newId:n};return r.Z.call("".concat(v,"/taxonomy/merge"),"POST",i)},updateTaxonomyMeta(t,e,n){var i={};return i[t]=n,r.Z.call("".concat(g).concat(t,"/").concat(e),"POST",i)},bulkEdit(t,e,n,i){var o={type:e,ids:n,action:i};return r.Z.call("".concat(v,"/").concat(t,"/bulk"),"POST",o)}},I=wprm_admin.endpoints.modal,M=!1,E=!1,S={getSuggestions(t){return M?(E=t,new Promise((t=>t(!1)))):this.getSuggestionsDebounced(t)},getSuggestionsDebounced(t){return M=!0,r.Z.call("".concat(I,"/suggest"),"POST",t).then((t=>{if(E){var e=E;return E=!1,this.getSuggestionsDebounced(e)}return M=!1,t}))}},O=wprm_admin.endpoints.rating,j={update(t){var e={rating:t};return r.Z.call("".concat(O),"POST",e)},delete:t=>r.Z.call("".concat(O,"/").concat(t),"DELETE")},T=wprm_admin.endpoints.recipe,P=wprm_admin.endpoints.manage,_={get:t=>r.Z.call("".concat(T,"/").concat(t)),save(t){var e={recipe:t},n=T,i="POST",o=!!t.id&&parseInt(t.id);return o&&(n+="/".concat(o),i="PUT"),r.Z.call(n,i,e)},updateStatus(t,e){var n={status:e};return r.Z.call("".concat(T,"/").concat(t),"PUT",n)},delete(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n="".concat(T,"/").concat(t);return e&&(n+="?force=true"),r.Z.call(n,"DELETE")},deleteRevision:t=>r.Z.call("".concat(P,"/revision/").concat(t),"DELETE")},k=wprm_admin.endpoints.setting,N={save(t){var e={settings:t};return r.Z.call(k,"POST",e)}},A=wprm_admin.endpoints.template,D=[],C={},L=null,R={previewShortcode(t,e,n){return C[t]=e,clearTimeout(L),L=setTimeout((()=>{this.previewShortcodes(n)}),500),new Promise((t=>D.push(t)))},previewShortcodes(t){var e=D,n=C;D=[],C={};var r={recipeId:t,shortcodes:n};fetch("".concat(A,"/preview"),{method:"POST",headers:{"X-WP-Nonce":wprm_admin.api_nonce,Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(r)}).then((t=>t.json().then((n=>{var r=t.ok?n.preview:{};e.forEach((t=>t(r)))}))))},searchRecipes:t=>fetch(wprm_admin.ajax_url,{method:"POST",credentials:"same-origin",body:"action=wprm_search_recipes&security="+wprm_admin.nonce+"&search="+encodeURIComponent(t),headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded; charset=utf-8"}}).then((t=>t.json())),save(t){var e={template:t};return r.Z.call(A,"POST",e)},delete(t){var e={slug:t};return r.Z.call(A,"DELETE",e)}},z=wprm_admin.endpoints.utilities,W={saveImage(t){var e={url:t};return r.Z.call("".concat(z,"/save_image"),"POST",e)}},{hooks:B}=WPRecipeMaker["wp-recipe-maker/dist/shared"],H=B.applyFilters("api",{analytics:o,customTaxonomy:s,dashboard:f,general:d,import:y,manage:w,modal:S,rating:j,recipe:_,settings:N,template:R,utilities:W})},46087:function(t,e,n){"use strict";n(31807),n(35054),n(22321);e.Z={call(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=wprm_admin.api_nonce;"object"==typeof window.wpApiSettings&&window.wpApiSettings.nonce&&(r=window.wpApiSettings.nonce);var i={method:e,headers:{"X-WP-Nonce":r,Accept:"application/json","Content-Type":"application/json","Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:0},credentials:"same-origin"};"PUT"!==e&&"DELETE"!==e||(i.method="POST",i.headers["X-HTTP-Method-Override"]=e),n&&(i.body=JSON.stringify(n));var o=0;return t=t.replace(/\?/g,(function(t){return 2<=++o?"&":t})),fetch(t,i).then((function(e){if(e.ok)return e.json();console.log(t,i),console.log(e);var n="Something went wrong. Using a firewall like Cloudflare or Sucuri? Try whitelisting your IP. If that doesn't work, please contact support@bootstrapped.ventures with the following details:",r="".concat(e.url," ").concat(e.redirected?"(redirected)":"","- ").concat(e.status," - ").concat(e.statusText);try{e.text().then((t=>{console.log(t),-1!==t.indexOf("rest_cookie_invalid_nonce")?alert("You got logged out or your session expired. Please try logging out of WordPress and back in again."):alert("".concat(n,"\r\n\r\n").concat(r,"\r\n\r\n").concat(t))}))}catch(o){console.log(o),alert("".concat(n,"\r\n\r\n").concat(r,"\r\n\r\n").concat(o))}return!1}))}}},62834:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(89526),i=n(49092),o=n(95075),a={adjustable:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyLjUiIHkxPSIxMi41IiB4Mj0iMTUuNSIgeTI9IjEyLjUiPjwvbGluZT4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIg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aDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiIvPjwvZz48L3N2Zz4="},c=t=>{var e=!!a.hasOwnProperty(t.type)&&a[t.type];if(!e)return null;var n=t.title,c=t.className?"wprm-admin-icon ".concat(t.className):"wprm-admin-icon",u=!!t.hasOwnProperty("hidden")&&t.hidden;return u&&(n="",c+=" wprm-admin-icon-hidden"),r.createElement(o.Z,{content:n},r.createElement("span",{className:c,onClick:u?()=>{}:t.onClick},r.createElement(i.Z,{src:e})))}},34133:function(t,e,n){"use strict";var r=n(89526);e.Z=t=>r.createElement("div",{className:"wprm-admin-loader"})},95075:function(t,e,n){"use strict";var r=n(89526),i=n(20877);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.Z=t=>{if(!t.content)return t.children;var e=t.hasOwnProperty("style")?t.style:{};return r.createElement(i.Tooltip,{html:r.createElement("div",{dangerouslySetInnerHTML:{__html:t.content}}),popperOptions:{modifiers:{addZIndex:{enabled:!0,order:810,fn:t=>a(a({},t),{},{styles:a(a({},t.styles),{},{zIndex:1e5})})},preventOverflow:{boundariesElement:"window"}}},style:e},t.children)}},52082:function(t,e,n){"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{S:function(){return c}});var a={};function c(t){return a.hasOwnProperty(t)?a[t]:t}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(t,e){var n;
|
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 r={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var o=typeof n;if("string"===o||"number"===o)t.push(n);else if(Array.isArray(n)&&n.length){var a=i.apply(null,n);a&&t.push(a)}else if("object"===o)for(var c in n)r.call(n,c)&&n[c]&&t.push(c)}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0===(n=function(){return i}.apply(e,[]))||(t.exports=n)}()},28641:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},13350:function(t,e,n){"use strict";var r=n(91140).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},9519:function(t){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},83875:function(t,e,n){var r=n(52786);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},37190:function(t,e,n){var r=n(29580),i=n(35108),o=n(32565),a=function(t){return function(e,n,a){var c,u=r(e),s=i(u.length),l=o(a,s);if(t&&n!=n){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},54324:function(t,e,n){"use strict";var r=n(79044);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},5673:function(t,e,n){var r=n(7493),i=n(79044),o=n(40454),a=Object.defineProperty,c={},u=function(t){throw t};t.exports=function(t,e){if(o(c,t))return c[t];e||(e={});var n=[][t],s=!!o(e,"ACCESSORS")&&e.ACCESSORS,l=o(e,0)?e[0]:u,f=o(e,1)?e[1]:void 0;return c[t]=!!n&&!i((function(){if(s&&!r)return!0;var t={length:-1};s?a(t,1,{enumerable:!0,get:u}):t[1]=1,n.call(t,l,f)}))}},9637:function(t,e,n){var r=n(83875);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(a){var o=t.return;throw void 0!==o&&r(o.call(t)),a}}},8662:function(t,e,n){var r=n(52280)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(c){}return n}},79159:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},36994:function(t,e,n){var r=n(57301),i=n(79159),o=n(52280)("toStringTag"),a="Arguments"==i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),o))?n:a?i(e):"Object"==(r=i(e))&&"function"==typeof e.callee?"Arguments":r}},73870:function(t,e,n){var r=n(40454),i=n(31561),o=n(66012),a=n(86385);t.exports=function(t,e){for(var n=i(e),c=a.f,u=o.f,s=0;s<n.length;s++){var l=n[s];r(t,l)||c(t,l,u(e,l))}}},45899:function(t,e,n){var r=n(7493),i=n(86385),o=n(69199);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},69199:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},7493:function(t,e,n){var r=n(79044);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},92750:function(t,e,n){var r=n(98363),i=n(52786),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},53121:function(t,e,n){var r=n(82647);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},82647:function(t,e,n){var r=n(22773);t.exports=r("navigator","userAgent")||""},11197:function(t,e,n){var r,i,o=n(98363),a=n(82647),c=o.process,u=c&&c.versions,s=u&&u.v8;s?i=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},48869:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},19882:function(t,e,n){var r=n(98363),i=n(66012).f,o=n(45899),a=n(35974),c=n(51621),u=n(73870),s=n(86291);t.exports=function(t,e){var n,l,f,p,d,h=t.target,y=t.global,v=t.stat;if(n=y?r:v?r[h]||c(h,{}):(r[h]||{}).prototype)for(l in e){if(p=e[l],f=t.noTargetGet?(d=i(n,l))&&d.value:n[l],!s(y?l:h+(v?".":"#")+l,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(t.sham||f&&f.sham)&&o(p,"sham",!0),a(n,l,p,t)}}},79044:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},81492:function(t,e,n){"use strict";n(39275);var r=n(35974),i=n(79044),o=n(52280),a=n(99749),c=n(45899),u=o("species"),s=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l="$0"==="a".replace(/./,"$0"),f=o("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),d=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,f){var h=o(t),y=!i((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),v=y&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e}));if(!y||!v||"replace"===t&&(!s||!l||p)||"split"===t&&!d){var m=/./[h],g=n(h,""[t],(function(t,e,n,r,i){return e.exec===a?y&&!i?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=g[0],x=g[1];r(String.prototype,t,b),r(RegExp.prototype,h,2==e?function(t,e){return x.call(t,this,e)}:function(t){return x.call(t,this)})}f&&c(RegExp.prototype[h],"sham",!0)}},98166:function(t,e,n){var r=n(28641);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},22773:function(t,e,n){var r=n(67290),i=n(98363),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},77193:function(t,e,n){var r=n(36994),i=n(44818),o=n(52280)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},98363:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||Function("return this")()},40454:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},47505:function(t){t.exports={}},46271:function(t,e,n){var r=n(98363);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},47055:function(t,e,n){var r=n(22773);t.exports=r("document","documentElement")},67548:function(t,e,n){var r=n(7493),i=n(79044),o=n(92750);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},78609:function(t,e,n){var r=n(79044),i=n(79159),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},56429:function(t,e,n){var r=n(49415),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},20821:function(t,e,n){var r,i,o,a=n(36830),c=n(98363),u=n(52786),s=n(45899),l=n(40454),f=n(50466),p=n(47505),d=c.WeakMap;if(a){var h=new d,y=h.get,v=h.has,m=h.set;r=function(t,e){return m.call(h,t,e),e},i=function(t){return y.call(h,t)||{}},o=function(t){return v.call(h,t)}}else{var g=f("state");p[g]=!0,r=function(t,e){return s(t,g,e),e},i=function(t){return l(t,g)?t[g]:{}},o=function(t){return l(t,g)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},68089:function(t,e,n){var r=n(52280),i=n(44818),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},86291:function(t,e,n){var r=n(79044),i=/#|\.prototype\./,o=function(t,e){var n=c[a(t)];return n==s||n!=u&&("function"==typeof e?r(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",s=o.POLYFILL="P";t.exports=o},52786:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},21178:function(t){t.exports=!1},5166:function(t,e,n){var r=n(83875),i=n(68089),o=n(35108),a=n(98166),c=n(77193),u=n(9637),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,l,f){var p,d,h,y,v,m,g,b=a(e,n,l?2:1);if(f)p=t;else{if("function"!=typeof(d=c(t)))throw TypeError("Target is not iterable");if(i(d)){for(h=0,y=o(t.length);y>h;h++)if((v=l?b(r(g=t[h])[0],g[1]):b(t[h]))&&v instanceof s)return v;return new s(!1)}p=d.call(t)}for(m=p.next;!(g=m.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(t){return new s(!0,t)}},44818:function(t){t.exports={}},71800:function(t,e,n){var r,i,o,a,c,u,s,l,f=n(98363),p=n(66012).f,d=n(79159),h=n(84643).set,y=n(53121),v=f.MutationObserver||f.WebKitMutationObserver,m=f.process,g=f.Promise,b="process"==d(m),x=p(f,"queueMicrotask"),w=x&&x.value;w||(r=function(){var t,e;for(b&&(t=m.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(n){throw i?a():o=void 0,n}}o=void 0,t&&t.enter()},b?a=function(){m.nextTick(r)}:v&&!y?(c=!0,u=document.createTextNode(""),new v(r).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,r)}):a=function(){h.call(f,r)}),t.exports=w||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,a()),o=e}},58369:function(t,e,n){var r=n(98363);t.exports=r.Promise},3850:function(t,e,n){var r=n(79044);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},36830:function(t,e,n){var r=n(98363),i=n(56429),o=r.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},29269:function(t,e,n){"use strict";var r=n(28641),i=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new i(t)}},86385:function(t,e,n){var r=n(7493),i=n(67548),o=n(83875),a=n(21893),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(o(t),e=a(e,!0),o(n),i)try{return c(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},66012:function(t,e,n){var r=n(7493),i=n(81513),o=n(69199),a=n(29580),c=n(21893),u=n(40454),s=n(67548),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=a(t),e=c(e,!0),s)try{return l(t,e)}catch(n){}if(u(t,e))return o(!i.f.call(t,e),t[e])}},87994:function(t,e,n){var r=n(18794),i=n(48869).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},89612:function(t,e){e.f=Object.getOwnPropertySymbols},18794:function(t,e,n){var r=n(40454),i=n(29580),o=n(37190).indexOf,a=n(47505);t.exports=function(t,e){var n,c=i(t),u=0,s=[];for(n in c)!r(a,n)&&r(c,n)&&s.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~o(s,n)||s.push(n));return s}},81513:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},31561:function(t,e,n){var r=n(22773),i=n(87994),o=n(89612),a=n(83875);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},67290:function(t,e,n){var r=n(98363);t.exports=r},74443:function(t){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},11621:function(t,e,n){var r=n(83875),i=n(52786),o=n(29269);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},7592:function(t,e,n){var r=n(35974);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},35974:function(t,e,n){var r=n(98363),i=n(45899),o=n(40454),a=n(51621),c=n(56429),u=n(20821),s=u.get,l=u.enforce,f=String(String).split("String");(t.exports=function(t,e,n,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),l(n).source=f.join("string"==typeof e?e:"")),t!==r?(u?!p&&t[e]&&(s=!0):delete t[e],s?t[e]=n:i(t,e,n)):s?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},94088:function(t,e,n){var r=n(79159),i=n(99749);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},99749:function(t,e,n){"use strict";var r,i,o=n(58083),a=n(97047),c=RegExp.prototype.exec,u=String.prototype.replace,s=c,l=(r=/a/,i=/b*/g,c.call(r,"a"),c.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(l||p||f)&&(s=function(t){var e,n,r,i,a=this,s=f&&a.sticky,d=o.call(a),h=a.source,y=0,v=t;return s&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),v=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(h="(?: "+h+")",v=" "+v,y++),n=new RegExp("^(?:"+h+")",d)),p&&(n=new RegExp("^"+h+"$(?!\\s)",d)),l&&(e=a.lastIndex),r=c.call(s?n:a,v),s?r?(r.input=r.input.slice(y),r[0]=r[0].slice(y),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:l&&r&&(a.lastIndex=a.global?r.index+r[0].length:e),p&&r&&r.length>1&&u.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),t.exports=s},58083:function(t,e,n){"use strict";var r=n(83875);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},97047:function(t,e,n){"use strict";var r=n(79044);function i(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},96411:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},51621:function(t,e,n){var r=n(98363),i=n(45899);t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},57323:function(t,e,n){"use strict";var r=n(22773),i=n(86385),o=n(52280),a=n(7493),c=o("species");t.exports=function(t){var e=r(t),n=i.f;a&&e&&!e[c]&&n(e,c,{configurable:!0,get:function(){return this}})}},60878:function(t,e,n){var r=n(86385).f,i=n(40454),o=n(52280)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},50466:function(t,e,n){var r=n(53580),i=n(34524),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},49415:function(t,e,n){var r=n(98363),i=n(51621),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},53580:function(t,e,n){var r=n(21178),i=n(49415);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},7270:function(t,e,n){var r=n(83875),i=n(28641),o=n(52280)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},91140:function(t,e,n){var r=n(98330),i=n(96411),o=function(t){return function(e,n){var o,a,c=String(i(e)),u=r(n),s=c.length;return u<0||u>=s?t?"":void 0:(o=c.charCodeAt(u))<55296||o>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):o:t?c.slice(u,u+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},84643:function(t,e,n){var r,i,o,a=n(98363),c=n(79044),u=n(79159),s=n(98166),l=n(47055),f=n(92750),p=n(53121),d=a.location,h=a.setImmediate,y=a.clearImmediate,v=a.process,m=a.MessageChannel,g=a.Dispatch,b=0,x={},w="onreadystatechange",I=function(t){if(x.hasOwnProperty(t)){var e=x[t];delete x[t],e()}},M=function(t){return function(){I(t)}},E=function(t){I(t.data)},S=function(t){a.postMessage(t+"",d.protocol+"//"+d.host)};h&&y||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return x[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(b),b},y=function(t){delete x[t]},"process"==u(v)?r=function(t){v.nextTick(M(t))}:g&&g.now?r=function(t){g.now(M(t))}:m&&!p?(o=(i=new m).port2,i.port1.onmessage=E,r=s(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(S)||"file:"===d.protocol?r=w in f("script")?function(t){l.appendChild(f("script")).onreadystatechange=function(){l.removeChild(this),I(t)}}:function(t){setTimeout(M(t),0)}:(r=S,a.addEventListener("message",E,!1))),t.exports={set:h,clear:y}},32565:function(t,e,n){var r=n(98330),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},29580:function(t,e,n){var r=n(78609),i=n(96411);t.exports=function(t){return r(i(t))}},98330:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},35108:function(t,e,n){var r=n(98330),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},30744:function(t,e,n){var r=n(96411);t.exports=function(t){return Object(r(t))}},21893:function(t,e,n){var r=n(52786);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},57301:function(t,e,n){var r={};r[n(52280)("toStringTag")]="z",t.exports="[object z]"===String(r)},34524:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+n).toString(36)}},189:function(t,e,n){var r=n(3850);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},52280:function(t,e,n){var r=n(98363),i=n(53580),o=n(40454),a=n(34524),c=n(3850),u=n(189),s=i("wks"),l=r.Symbol,f=u?l:l&&l.withoutSetter||a;t.exports=function(t){return o(s,t)||(c&&o(l,t)?s[t]=l[t]:s[t]=f("Symbol."+t)),s[t]}},31807:function(t,e,n){"use strict";var r=n(19882),i=n(37190).indexOf,o=n(54324),a=n(5673),c=[].indexOf,u=!!c&&1/[1].indexOf(1,-0)<0,s=o("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:u||!s||!l},{indexOf:function(t){return u?c.apply(this,arguments)||0:i(this,t,arguments.length>1?arguments[1]:void 0)}})},35054:function(t,e,n){"use strict";var r,i,o,a,c=n(19882),u=n(21178),s=n(98363),l=n(22773),f=n(58369),p=n(35974),d=n(7592),h=n(60878),y=n(57323),v=n(52786),m=n(28641),g=n(9519),b=n(79159),x=n(56429),w=n(5166),I=n(8662),M=n(7270),E=n(84643).set,S=n(71800),O=n(11621),j=n(46271),T=n(29269),P=n(74443),_=n(20821),k=n(86291),N=n(52280),A=n(11197),D=N("species"),C="Promise",L=_.get,R=_.set,z=_.getterFor(C),W=f,B=s.TypeError,H=s.document,U=s.process,G=l("fetch"),Z=T.f,F=Z,J="process"==b(U),V=!!(H&&H.createEvent&&s.dispatchEvent),Y="unhandledrejection",X=k(C,(function(){if(!(x(W)!==String(W))){if(66===A)return!0;if(!J&&"function"!=typeof PromiseRejectionEvent)return!0}if(u&&!W.prototype.finally)return!0;if(A>=51&&/native code/.test(W))return!1;var t=W.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[D]=e,!(t.then((function(){}))instanceof e)})),Q=X||!I((function(t){W.all(t).catch((function(){}))})),q=function(t){var e;return!(!v(t)||"function"!=typeof(e=t.then))&&e},$=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;S((function(){for(var i=e.value,o=1==e.state,a=0;r.length>a;){var c,u,s,l=r[a++],f=o?l.ok:l.fail,p=l.resolve,d=l.reject,h=l.domain;try{f?(o||(2===e.rejection&&nt(t,e),e.rejection=1),!0===f?c=i:(h&&h.enter(),c=f(i),h&&(h.exit(),s=!0)),c===l.promise?d(B("Promise-chain cycle")):(u=q(c))?u.call(c,p,d):p(c)):d(i)}catch(y){h&&!s&&h.exit(),d(y)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&tt(t,e)}))}},K=function(t,e,n){var r,i;V?((r=H.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},(i=s["on"+t])?i(r):t===Y&&j("Unhandled promise rejection",n)},tt=function(t,e){E.call(s,(function(){var n,r=e.value;if(et(e)&&(n=P((function(){J?U.emit("unhandledRejection",r,t):K(Y,t,r)})),e.rejection=J||et(e)?2:1,n.error))throw n.value}))},et=function(t){return 1!==t.rejection&&!t.parent},nt=function(t,e){E.call(s,(function(){J?U.emit("rejectionHandled",t):K("rejectionhandled",t,e.value)}))},rt=function(t,e,n,r){return function(i){t(e,n,i,r)}},it=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,$(t,e,!0))},ot=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw B("Promise can't be resolved itself");var i=q(n);i?S((function(){var r={done:!1};try{i.call(n,rt(ot,t,r,e),rt(it,t,r,e))}catch(o){it(t,r,o,e)}})):(e.value=n,e.state=1,$(t,e,!1))}catch(o){it(t,{done:!1},o,e)}}};X&&(W=function(t){g(this,W,C),m(t),r.call(this);var e=L(this);try{t(rt(ot,this,e),rt(it,this,e))}catch(n){it(this,e,n)}},(r=function(t){R(this,{type:C,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(W.prototype,{then:function(t,e){var n=z(this),r=Z(M(this,W));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=J?U.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&$(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r,e=L(t);this.promise=t,this.resolve=rt(ot,t,e),this.reject=rt(it,t,e)},T.f=Z=function(t){return t===W||t===o?new i(t):F(t)},u||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(t,e){var n=this;return new W((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof G&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return O(W,G.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:X},{Promise:W}),h(W,C,!1,!0),y(C),o=l(C),c({target:C,stat:!0,forced:X},{reject:function(t){var e=Z(this);return e.reject.call(void 0,t),e.promise}}),c({target:C,stat:!0,forced:u||X},{resolve:function(t){return O(u&&this===o?W:this,t)}}),c({target:C,stat:!0,forced:Q},{all:function(t){var e=this,n=Z(e),r=n.resolve,i=n.reject,o=P((function(){var n=m(e.resolve),o=[],a=0,c=1;w(t,(function(t){var u=a++,s=!1;o.push(void 0),c++,n.call(e,t).then((function(t){s||(s=!0,o[u]=t,--c||r(o))}),i)})),--c||r(o)}));return o.error&&i(o.value),n.promise},race:function(t){var e=this,n=Z(e),r=n.reject,i=P((function(){var i=m(e.resolve);w(t,(function(t){i.call(e,t).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},39275:function(t,e,n){"use strict";var r=n(19882),i=n(99749);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},22321:function(t,e,n){"use strict";var r=n(81492),i=n(83875),o=n(30744),a=n(35108),c=n(98330),u=n(96411),s=n(13350),l=n(94088),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,y=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(t,e,n,r){var v=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,m=r.REPLACE_KEEPS_$0,g=v?"$":"$0";return[function(n,r){var i=u(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,r):e.call(String(i),n,r)},function(t,r){if(!v&&m||"string"==typeof r&&-1===r.indexOf(g)){var o=n(e,t,this,r);if(o.done)return o.value}var u=i(t),d=String(this),h="function"==typeof r;h||(r=String(r));var y=u.global;if(y){var x=u.unicode;u.lastIndex=0}for(var w=[];;){var I=l(u,d);if(null===I)break;if(w.push(I),!y)break;""===String(I[0])&&(u.lastIndex=s(d,a(u.lastIndex),x))}for(var M,E="",S=0,O=0;O<w.length;O++){I=w[O];for(var j=String(I[0]),T=f(p(c(I.index),d.length),0),P=[],_=1;_<I.length;_++)P.push(void 0===(M=I[_])?M:String(M));var k=I.groups;if(h){var N=[j].concat(P,T,d);void 0!==k&&N.push(k);var A=String(r.apply(void 0,N))}else A=b(j,d,T,P,k,r);T>=S&&(E+=d.slice(S,T)+A,S=T+j.length)}return E+d.slice(S)}];function b(t,n,r,i,a,c){var u=r+t.length,s=i.length,l=y;return void 0!==a&&(a=o(a),l=h),e.call(c,l,(function(e,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":c=a[o.slice(1,-1)];break;default:var l=+o;if(0===l)return e;if(l>s){var f=d(l/10);return 0===f?e:f<=s?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):e}c=i[l-1]}return void 0===c?"":c}))}}))},68598:function(t){var e={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}};t.exports=function(t,n,r,i){if(!e.hasOwnProperty(r))throw new Error("Cannot convert to "+r);if(!e[r].hasOwnProperty(n))throw new Error("Cannot convert from "+n+" to "+r);return i=Math.pow(10,parseInt(i)||5),Math.round(e[r][n]*t*i)/i}},26058:function(t,e,n){var r;/*! 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,y=1e7,v=9007199254740991,m=p(1286742750677284.5),g={};function b(t,e){var n,r,i,o,a,c,s,l,f=t.constructor,p=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),u?P(e,p):e;if(s=t.d,l=e.d,a=t.e,i=e.e,s=s.slice(),o=a-i){for(o<0?(r=s,o=-o,c=l.length):(r=l,i=a,c=s.length),o>(c=(a=Math.ceil(p/7))>c?a+1:c+1)&&(o=c,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for((c=s.length)-(o=l.length)<0&&(o=c,r=l,l=s,s=r),n=0;o;)n=(s[--o]=s[o]+l[o]+n)/y|0,s[o]%=y;for(n&&(s.unshift(n),++i),c=s.length;0==s[--c];)s.pop();return e.d=s,e.e=i,u?P(e,p):e}function x(t,e,n){if(t!==~~t||t<e||t>n)throw Error(l+t)}function w(t){var e,n,r,i=t.length-1,o="",a=t[0];if(i>0){for(o+=a,e=1;e<i;e++)(n=7-(r=t[e]+"").length)&&(o+=O(n)),o+=r;(n=7-(r=(a=t[e])+"").length)&&(o+=O(n))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}g.absoluteValue=g.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},g.comparedTo=g.cmp=function(t){var e,n,r,i,o=this;if(t=new o.constructor(t),o.s!==t.s)return o.s||-t.s;if(o.e!==t.e)return o.e>t.e^o.s<0?1:-1;for(e=0,n=(r=o.d.length)<(i=t.d.length)?r:i;e<n;++e)if(o.d[e]!==t.d[e])return o.d[e]>t.d[e]^o.s<0?1:-1;return r===i?0:r>i^o.s<0?1:-1},g.decimalPlaces=g.dp=function(){var t=this,e=t.d.length-1,n=7*(e-t.e);if(e=t.d[e])for(;e%10==0;e/=10)n--;return n<0?0:n},g.dividedBy=g.div=function(t){return I(this,new this.constructor(t))},g.dividedToIntegerBy=g.idiv=function(t){var e=this.constructor;return P(I(this,new e(t),0,1),e.precision)},g.equals=g.eq=function(t){return!this.cmp(t)},g.exponent=function(){return E(this)},g.greaterThan=g.gt=function(t){return this.cmp(t)>0},g.greaterThanOrEqualTo=g.gte=function(t){return this.cmp(t)>=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(t){return this.cmp(t)<0},g.lessThanOrEqualTo=g.lte=function(t){return this.cmp(t)<1},g.logarithm=g.log=function(t){var e,n=this,r=n.constructor,i=r.precision,a=i+5;if(void 0===t)t=new r(10);else if((t=new r(t)).s<1||t.eq(o))throw Error(s+"NaN");if(n.s<1)throw Error(s+(n.s?"NaN":"-Infinity"));return n.eq(o)?new r(0):(u=!1,e=I(j(n,a),j(t,a),a),u=!0,P(e,i))},g.minus=g.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?_(e,t):b(e,(t.s=-t.s,t))},g.modulo=g.mod=function(t){var e,n=this,r=n.constructor,i=r.precision;if(!(t=new r(t)).s)throw Error(s+"NaN");return n.s?(u=!1,e=I(n,t,0,1).times(t),u=!0,n.minus(e)):P(new r(n),i)},g.naturalExponential=g.exp=function(){return M(this)},g.naturalLogarithm=g.ln=function(){return j(this)},g.negated=g.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},g.plus=g.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?b(e,t):_(e,(t.s=-t.s,t))},g.precision=g.sd=function(t){var e,n,r,i=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(l+t);if(e=E(i)+1,n=7*(r=i.d.length-1)+1,r=i.d[r]){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return t&&e>n?e:n},g.squareRoot=g.sqrt=function(){var t,e,n,r,i,o,a,c=this,l=c.constructor;if(c.s<1){if(!c.s)return new l(0);throw Error(s+"NaN")}for(t=E(c),u=!1,0==(i=Math.sqrt(+c))||i==1/0?(((e=w(c.d)).length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=p((t+1)/2)-(t<0||t%2),r=new l(e=i==1/0?"5e"+t:(e=i.toExponential()).slice(0,e.indexOf("e")+1)+t)):r=new l(i.toString()),i=a=(n=l.precision)+3;;)if(r=(o=r).plus(I(c,o,a+2)).times(.5),w(o.d).slice(0,a)===(e=w(r.d)).slice(0,a)){if(e=e.slice(a-3,a+1),i==a&&"4999"==e){if(P(o,n+1,0),o.times(o).eq(c)){r=o;break}}else if("9999"!=e)break;a+=4}return u=!0,P(r,n)},g.times=g.mul=function(t){var e,n,r,i,o,a,c,s,l,f=this,p=f.constructor,d=f.d,h=(t=new p(t)).d;if(!f.s||!t.s)return new p(0);for(t.s*=f.s,n=f.e+t.e,(s=d.length)<(l=h.length)&&(o=d,d=h,h=o,a=s,s=l,l=a),o=[],r=a=s+l;r--;)o.push(0);for(r=l;--r>=0;){for(e=0,i=s+r;i>r;)c=o[i]+h[r]*d[i-r-1]+e,o[i--]=c%y|0,e=c/y|0;o[i]=(o[i]+e)%y|0}for(;!o[--a];)o.pop();return e?++n:o.shift(),t.d=o,t.e=n,u?P(t,p.precision):t},g.toDecimalPlaces=g.todp=function(t,e){var n=this,r=n.constructor;return n=new r(n),void 0===t?n:(x(t,0,a),void 0===e?e=r.rounding:x(e,0,8),P(n,t+E(n)+1,e))},g.toExponential=function(t,e){var n,r=this,i=r.constructor;return void 0===t?n=k(r,!0):(x(t,0,a),void 0===e?e=i.rounding:x(e,0,8),n=k(r=P(new i(r),t+1,e),!0,t+1)),n},g.toFixed=function(t,e){var n,r,i=this,o=i.constructor;return void 0===t?k(i):(x(t,0,a),void 0===e?e=o.rounding:x(e,0,8),n=k((r=P(new o(i),t+E(i)+1,e)).abs(),!1,t+E(r)+1),i.isneg()&&!i.isZero()?"-"+n:n)},g.toInteger=g.toint=function(){var t=this,e=t.constructor;return P(new e(t),E(t)+1,e.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(t){var e,n,r,i,a,c,l=this,f=l.constructor,d=+(t=new f(t));if(!t.s)return new f(o);if(!(l=new f(l)).s){if(t.s<1)throw Error(s+"Infinity");return l}if(l.eq(o))return l;if(r=f.precision,t.eq(o))return P(l,r);if(c=(e=t.e)>=(n=t.d.length-1),a=l.s,c){if((n=d<0?-d:d)<=v){for(i=new f(o),e=Math.ceil(r/7+4),u=!1;n%2&&N((i=i.times(l)).d,e),0!==(n=p(n/2));)N((l=l.times(l)).d,e);return u=!0,t.s<0?new f(o).div(i):P(i,r)}}else if(a<0)throw Error(s+"NaN");return a=a<0&&1&t.d[Math.max(e,n)]?-1:1,l.s=1,u=!1,i=t.times(j(l,r+12)),u=!0,(i=M(i)).s=a,i},g.toPrecision=function(t,e){var n,r,i=this,o=i.constructor;return void 0===t?r=k(i,(n=E(i))<=o.toExpNeg||n>=o.toExpPos):(x(t,1,a),void 0===e?e=o.rounding:x(e,0,8),r=k(i=P(new o(i),t,e),t<=(n=E(i))||n<=o.toExpNeg,t)),r},g.toSignificantDigits=g.tosd=function(t,e){var n=this.constructor;return void 0===t?(t=n.precision,e=n.rounding):(x(t,1,a),void 0===e?e=n.rounding:x(e,0,8)),P(new n(this),t,e)},g.toString=g.valueOf=g.val=g.toJSON=function(){var t=this,e=E(t),n=t.constructor;return k(t,e<=n.toExpNeg||e>=n.toExpPos)};var I=function(){function t(t,e){var n,r=0,i=t.length;for(t=t.slice();i--;)n=t[i]*e+r,t[i]=n%y|0,r=n/y|0;return r&&t.unshift(r),t}function e(t,e,n,r){var i,o;if(n!=r)o=n>r?1:-1;else for(i=o=0;i<n;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function n(t,e,n){for(var r=0;n--;)t[n]-=r,r=t[n]<e[n]?1:0,t[n]=r*y+t[n]-e[n];for(;!t[0]&&t.length>1;)t.shift()}return function(r,i,o,a){var c,u,l,f,p,d,h,v,m,g,b,x,w,I,M,S,O,j,T=r.constructor,_=r.s==i.s?1:-1,k=r.d,N=i.d;if(!r.s)return new T(r);if(!i.s)throw Error(s+"Division by zero");for(u=r.e-i.e,O=N.length,M=k.length,v=(h=new T(_)).d=[],l=0;N[l]==(k[l]||0);)++l;if(N[l]>(k[l]||0)&&--u,(x=null==o?o=T.precision:a?o+(E(r)-E(i))+1:o)<0)return new T(0);if(x=x/7+2|0,l=0,1==O)for(f=0,N=N[0],x++;(l<M||f)&&x--;l++)w=f*y+(k[l]||0),v[l]=w/N|0,f=w%N|0;else{for((f=y/(N[0]+1)|0)>1&&(N=t(N,f),k=t(k,f),O=N.length,M=k.length),I=O,g=(m=k.slice(0,O)).length;g<O;)m[g++]=0;(j=N.slice()).unshift(0),S=N[0],N[1]>=y/2&&++S;do{f=0,(c=e(N,m,O,g))<0?(b=m[0],O!=g&&(b=b*y+(m[1]||0)),(f=b/S|0)>1?(f>=y&&(f=y-1),1==(c=e(p=t(N,f),m,d=p.length,g=m.length))&&(f--,n(p,O<d?j:N,d))):(0==f&&(c=f=1),p=N.slice()),(d=p.length)<g&&p.unshift(0),n(m,p,g),-1==c&&(c=e(N,m,O,g=m.length))<1&&(f++,n(m,O<g?j:N,g)),g=m.length):0===c&&(f++,m=[0]),v[l++]=f,c&&m[0]?m[g++]=k[I]||0:(m=[k[I]],g=1)}while((I++<M||void 0!==m[0])&&x--)}return v[0]||v.shift(),h.e=u,P(h,a?o+E(h)+1:o)}}();function M(t,e){var n,r,i,a,c,s=0,l=0,p=t.constructor,h=p.precision;if(E(t)>16)throw Error(f+E(t));if(!t.s)return new p(o);for(null==e?(u=!1,c=h):c=e,a=new p(.03125);t.abs().gte(.1);)t=t.times(a),l+=5;for(c+=Math.log(d(2,l))/Math.LN10*2+5|0,n=r=i=new p(o),p.precision=c;;){if(r=P(r.times(t),c),n=n.times(++s),w((a=i.plus(I(r,n,c))).d).slice(0,c)===w(i.d).slice(0,c)){for(;l--;)i=P(i.times(i),c);return p.precision=h,null==e?(u=!0,P(i,h)):i}i=a}}function E(t){for(var e=7*t.e,n=t.d[0];n>=10;n/=10)e++;return e}function S(t,e,n){if(e>t.LN10.sd())throw u=!0,n&&(t.precision=n),Error(s+"LN10 precision limit exceeded");return P(new t(t.LN10),e)}function O(t){for(var e="";t--;)e+="0";return e}function j(t,e){var n,r,i,a,c,l,f,p,d,h=1,y=t,v=y.d,m=y.constructor,g=m.precision;if(y.s<1)throw Error(s+(y.s?"NaN":"-Infinity"));if(y.eq(o))return new m(0);if(null==e?(u=!1,p=g):p=e,y.eq(10))return null==e&&(u=!0),S(m,p);if(p+=10,m.precision=p,r=(n=w(v)).charAt(0),a=E(y),!(Math.abs(a)<15e14))return f=S(m,p+2,g).times(a+""),y=j(new m(r+"."+n.slice(1)),p-10).plus(f),m.precision=g,null==e?(u=!0,P(y,g)):y;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=w((y=y.times(t)).d)).charAt(0),h++;for(a=E(y),r>1?(y=new m("0."+n),a++):y=new m(r+"."+n.slice(1)),l=c=y=I(y.minus(o),y.plus(o),p),d=P(y.times(y),p),i=3;;){if(c=P(c.times(d),p),w((f=l.plus(I(c,new m(i),p))).d).slice(0,p)===w(l.d).slice(0,p))return l=l.times(2),0!==a&&(l=l.plus(S(m,p+2,g).times(a+""))),l=I(l,new m(h),p),m.precision=g,null==e?(u=!0,P(l,g)):l;l=f,i+=2}}function T(t,e){var n,r,i;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;48===e.charCodeAt(r);)++r;for(i=e.length;48===e.charCodeAt(i-1);)--i;if(e=e.slice(r,i)){if(i-=r,n=n-r-1,t.e=p(n/7),t.d=[],r=(n+1)%7,n<0&&(r+=7),r<i){for(r&&t.d.push(+e.slice(0,r)),i-=7;r<i;)t.d.push(+e.slice(r,r+=7));r=7-(e=e.slice(r)).length}else r-=i;for(;r--;)e+="0";if(t.d.push(+e),u&&(t.e>m||t.e<-m))throw Error(f+n)}else t.s=0,t.e=0,t.d=[0];return t}function P(t,e,n){var r,i,o,a,c,s,l,h,v=t.d;for(a=1,o=v[0];o>=10;o/=10)a++;if((r=e-a)<0)r+=7,i=e,l=v[h=0];else{if((h=Math.ceil((r+1)/7))>=(o=v.length))return t;for(l=o=v[h],a=1;o>=10;o/=10)a++;i=(r%=7)-7+a}if(void 0!==n&&(c=l/(o=d(10,a-i-1))%10|0,s=e<0||void 0!==v[h+1]||l%o,s=n<4?(c||s)&&(0==n||n==(t.s<0?3:2)):c>5||5==c&&(4==n||s||6==n&&(r>0?i>0?l/d(10,a-i):0:v[h-1])%10&1||n==(t.s<0?8:7))),e<1||!v[0])return s?(o=E(t),v.length=1,e=e-o-1,v[0]=d(10,(7-e%7)%7),t.e=p(-e/7)||0):(v.length=1,v[0]=t.e=t.s=0),t;if(0==r?(v.length=h,o=1,h--):(v.length=h+1,o=d(10,7-r),v[h]=i>0?(l/d(10,a-i)%d(10,i)|0)*o:0),s)for(;;){if(0==h){(v[0]+=o)==y&&(v[0]=1,++t.e);break}if(v[h]+=o,v[h]!=y)break;v[h--]=0,o=1}for(r=v.length;0===v[--r];)v.pop();if(u&&(t.e>m||t.e<-m))throw Error(f+E(t));return t}function _(t,e){var n,r,i,o,a,c,s,l,f,p,d=t.constructor,h=d.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new d(t),u?P(e,h):e;if(s=t.d,p=e.d,r=e.e,l=t.e,s=s.slice(),a=l-r){for((f=a<0)?(n=s,a=-a,c=p.length):(n=p,r=l,c=s.length),a>(i=Math.max(Math.ceil(h/7),c)+2)&&(a=i,n.length=1),n.reverse(),i=a;i--;)n.push(0);n.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&&(n=s,s=p,p=n,e.s=-e.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]=y-1;--s[o],s[i]+=y}s[i]-=p[i]}for(;0===s[--c];)s.pop();for(;0===s[0];s.shift())--r;return s[0]?(e.d=s,e.e=r,u?P(e,h):e):new d(0)}function k(t,e,n){var r,i=E(t),o=w(t.d),a=o.length;return e?(n&&(r=n-a)>0?o=o.charAt(0)+"."+o.slice(1)+O(r):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+O(-i-1)+o,n&&(r=n-a)>0&&(o+=O(r))):i>=a?(o+=O(i+1-a),n&&(r=n-i-1)>0&&(o=o+"."+O(r))):((r=i+1)<a&&(o=o.slice(0,r)+"."+o.slice(r)),n&&(r=n-a)>0&&(i+1===a&&(o+="."),o+=O(r))),t.s<0?"-"+o:o}function N(t,e){if(t.length>e)return t.length=e,!0}function A(t){if(!t||"object"!=typeof t)throw Error(s+"Object expected");var e,n,r,i=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<i.length;e+=3)if(void 0!==(r=t[n=i[e]])){if(!(p(r)===r&&r>=i[e+1]&&r<=i[e+2]))throw Error(l+n+": "+r);this[n]=r}if(void 0!==(r=t[n="LN10"])){if(r!=Math.LN10)throw Error(l+n+": "+r);this[n]=new this(r)}return this}(c=function t(e){var n,r,i;function o(t){var e=this;if(!(e instanceof o))return new o(t);if(e.constructor=o,t instanceof o)return e.s=t.s,e.e=t.e,void(e.d=(t=t.d)?t.slice():t);if("number"==typeof t){if(0*t!=0)throw Error(l+t);if(t>0)e.s=1;else{if(!(t<0))return e.s=0,e.e=0,void(e.d=[0]);t=-t,e.s=-1}return t===~~t&&t<1e7?(e.e=0,void(e.d=[t])):T(e,t.toString())}if("string"!=typeof t)throw Error(l+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!h.test(t))throw Error(l+t);T(e,t)}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=t,o.config=o.set=A,void 0===e&&(e={}),e)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n<i.length;)e.hasOwnProperty(r=i[n++])||(e[r]=this[r]);return o.config(e),o}(c)).default=c.Decimal=c,o=new c(1),void 0===(r=function(){return c}.call(e,n,e,t))||(t.exports=r)}()},37941:function(t,e,n){var r;
|
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===(r=function(){return o}.call(e,n,e,t))||(t.exports=r)}()},44287:function(t,e){!function(t){"use strict";var e="function"==typeof WeakSet,n=Object.keys;function r(t,e){return t===e||t!=t&&e!=e}function i(t){return t.constructor===Object||null==t.constructor}function o(t){return!!t&&"function"==typeof t.then}function a(t){return!(!t||!t.$$typeof)}function c(){var t=[];return{add:function(e){t.push(e)},has:function(e){return-1!==t.indexOf(e)}}}var u=e?function(){return new WeakSet}:c;function s(t){return function(e){var n=t||e;return function(t,e,r){void 0===r&&(r=u());var i=!!t&&"object"==typeof t,o=!!e&&"object"==typeof e;if(i||o){var a=i&&r.has(t),c=o&&r.has(e);if(a||c)return a&&c;i&&r.add(t),o&&r.add(e)}return n(t,e,r)}}}function l(t,e,n,r){var i=t.length;if(e.length!==i)return!1;for(;i-- >0;)if(!n(t[i],e[i],r))return!1;return!0}function f(t,e,n,r){var i=t.size===e.size;return i&&t.size&&t.forEach((function(t,o){i&&(i=!1,e.forEach((function(e,a){!i&&n(o,a,r)&&(i=n(t,e,r))})))})),i}var p="_owner",d=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);function h(t,e,r,i){var o=n(t),c=o.length;if(n(e).length!==c)return!1;if(c)for(var u=void 0;c-- >0;){if((u=o[c])===p){var s=a(t),l=a(e);if((s||l)&&s!==l)return!1}if(!d(e,u)||!r(t[u],e[u],i))return!1}return!0}function y(t,e){return t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.unicode===e.unicode&&t.sticky===e.sticky&&t.lastIndex===e.lastIndex}function v(t,e,n,r){var i=t.size===e.size;return i&&t.size&&t.forEach((function(t){i&&(i=!1,e.forEach((function(e){i||(i=n(t,e,r))})))})),i}var m="function"==typeof Map,g="function"==typeof Set;function b(t){var e="function"==typeof t?t(n):n;function n(t,n,a){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(i(t)&&i(n))return h(t,n,e,a);var c=Array.isArray(t),u=Array.isArray(n);return c||u?c===u&&l(t,n,e,a):(c=t instanceof Date,u=n instanceof Date,c||u?c===u&&r(t.getTime(),n.getTime()):(c=t instanceof RegExp,u=n instanceof RegExp,c||u?c===u&&y(t,n):o(t)||o(n)?t===n:m&&(c=t instanceof Map,u=n instanceof Map,c||u)?c===u&&f(t,n,e,a):g&&(c=t instanceof Set,u=n instanceof Set,c||u)?c===u&&v(t,n,e,a):h(t,n,e,a)))}return t!=t&&n!=n}return n}var x=b(),w=b((function(){return r})),I=b(s()),M=b(s(r));t.circularDeepEqual=I,t.circularShallowEqual=M,t.createCustomEqual=b,t.deepEqual=x,t.sameValueZeroEqual=r,t.shallowEqual=w,Object.defineProperty(t,"__esModule",{value:!0})}(e)},18492:function(t,e,n){var r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,c=parseInt,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.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 y(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function v(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==f.call(t)}(t))return NaN;if(y(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=y(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(r,"");var n=o.test(t);return n||a.test(t)?c(t.slice(2),n?2:8):i.test(t)?NaN:+t}t.exports=function(t,e,n){var r,i,o,a,c,u,s=0,l=!1,f=!1,m=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var n=r,o=i;return r=i=void 0,s=e,a=t.apply(o,n)}function b(t){return s=t,c=setTimeout(w,e),l?g(t):a}function x(t){var n=t-u;return void 0===u||n>=e||n<0||f&&t-s>=o}function w(){var t=h();if(x(t))return I(t);c=setTimeout(w,function(t){var n=e-(t-u);return f?d(n,o-(t-s)):n}(t))}function I(t){return c=void 0,m&&r?g(t):(r=i=void 0,a)}function M(){var t=h(),n=x(t);if(r=arguments,i=this,u=t,n){if(void 0===c)return b(u);if(f)return c=setTimeout(w,e),g(u)}return void 0===c&&(c=setTimeout(w,e)),a}return e=v(e)||0,y(n)&&(l=!!n.leading,o=(f="maxWait"in n)?p(v(n.maxWait)||0,e):o,m="trailing"in n?!!n.trailing:m),M.cancel=function(){void 0!==c&&clearTimeout(c),s=0,r=u=i=c=void 0},M.flush=function(){return void 0===c?a:I(h())},M}},7362:function(t,e,n){var r="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 n.g&&n.g&&n.g.Object===Object&&n.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,y=function(){return f.Date.now()};function v(t,e,n){var i,o,a,c,u,s,l=0,f=!1,p=!1,v=!0;if("function"!=typeof t)throw new TypeError(r);function b(e){var n=i,r=o;return i=o=void 0,l=e,c=t.apply(r,n)}function x(t){return l=t,u=setTimeout(I,e),f?b(t):c}function w(t){var n=t-s;return void 0===s||n>=e||n<0||p&&t-l>=a}function I(){var t=y();if(w(t))return M(t);u=setTimeout(I,function(t){var n=e-(t-s);return p?h(n,a-(t-l)):n}(t))}function M(t){return u=void 0,v&&i?b(t):(i=o=void 0,c)}function E(){var t=y(),n=w(t);if(i=arguments,o=this,s=t,n){if(void 0===u)return x(s);if(p)return u=setTimeout(I,e),b(s)}return void 0===u&&(u=setTimeout(I,e)),c}return e=g(e)||0,m(n)&&(f=!!n.leading,a=(p="maxWait"in n)?d(g(n.maxWait)||0,e):a,v="trailing"in n?!!n.trailing:v),E.cancel=function(){void 0!==u&&clearTimeout(u),l=0,i=s=o=u=void 0},E.flush=function(){return void 0===u?c:M(y())},E}function m(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function g(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==p.call(t)}(t))return NaN;if(m(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=m(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(i,"");var n=a.test(t);return n||c.test(t)?u(t.slice(2),n?2:8):o.test(t)?NaN:+t}t.exports=function(t,e,n){var i=!0,o=!0;if("function"!=typeof t)throw new TypeError(r);return m(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),v(t,e,{leading:i,maxWait:e,trailing:o})}},76279:function(t){(function(){var e,n,r,i,o,a;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(t.exports=function(){return(e()-o)/1e6},n=process.hrtime,i=(e=function(){var t;return 1e9*(t=n())[0]+t[1]})(),a=1e9*process.uptime(),o=i-a):Date.now?(t.exports=function(){return Date.now()-r},r=Date.now()):(t.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)},65276:function(t,e,n){"use strict";n.r(e);for(
|
12 |
+
/**!
|
13 |
+
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
14 |
+
* @version 1.15.0
|
15 |
+
* @license
|
16 |
+
* Copyright (c) 2016 Federico Zivolo and contributors
|
17 |
+
*
|
18 |
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
19 |
+
* of this software and associated documentation files (the "Software"), to deal
|
20 |
+
* in the Software without restriction, including without limitation the rights
|
21 |
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
22 |
+
* copies of the Software, and to permit persons to whom the Software is
|
23 |
+
* furnished to do so, subject to the following conditions:
|
24 |
+
*
|
25 |
+
* The above copyright notice and this permission notice shall be included in all
|
26 |
+
* copies or substantial portions of the Software.
|
27 |
+
*
|
28 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
29 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
30 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
31 |
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
32 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
33 |
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
34 |
+
* SOFTWARE.
|
35 |
+
*/
|
36 |
+
var r="undefined"!=typeof window&&"undefined"!=typeof document,i=["Edge","Trident","Firefox"],o=0,a=0;a<i.length;a+=1)if(r&&navigator.userAgent.indexOf(i[a])>=0){o=1;break}var c=r&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function u(t){return t&&"[object Function]"==={}.toString.call(t)}function s(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function f(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=s(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:f(l(t))}var p=r&&!(!window.MSInputMethodContext||!document.documentMode),d=r&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?p:10===t?d:p||d}function y(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?y(n):n:t?t.ownerDocument.documentElement:document.documentElement}function v(t){return null!==t.parentNode?v(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a,c,u=o.commonAncestorContainer;if(t!==u&&e!==u||r.contains(i))return"BODY"===(c=(a=u).nodeName)||"HTML"!==c&&y(a.firstElementChild)!==a?y(u):u;var s=v(t);return s.host?m(s.host,e):m(t,v(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var i=t.ownerDocument.documentElement,o=t.ownerDocument.scrollingElement||i;return o[n]}return t[n]}function b(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(e,"top"),i=g(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}function x(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function w(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],h(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function I(t){var e=t.body,n=t.documentElement,r=h(10)&&getComputedStyle(n);return{height:w("Height",e,n,r),width:w("Width",e,n,r)}}var M=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},E=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),S=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},O=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function j(t){return O({},t,{right:t.left+t.width,bottom:t.top+t.height})}function T(t){var e={};try{if(h(10)){e=t.getBoundingClientRect();var n=g(t,"top"),r=g(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(p){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?I(t.ownerDocument):{},a=o.width||t.clientWidth||i.right-i.left,c=o.height||t.clientHeight||i.bottom-i.top,u=t.offsetWidth-a,l=t.offsetHeight-c;if(u||l){var f=s(t);u-=x(f,"x"),l-=x(f,"y"),i.width-=u,i.height-=l}return j(i)}function P(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=h(10),i="HTML"===e.nodeName,o=T(t),a=T(e),c=f(t),u=s(e),l=parseFloat(u.borderTopWidth,10),p=parseFloat(u.borderLeftWidth,10);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=j({top:o.top-a.top-l,left:o.left-a.left-p,width:o.width,height:o.height});if(d.marginTop=0,d.marginLeft=0,!r&&i){var y=parseFloat(u.marginTop,10),v=parseFloat(u.marginLeft,10);d.top-=l-y,d.bottom-=l-y,d.left-=p-v,d.right-=p-v,d.marginTop=y,d.marginLeft=v}return(r&&!n?e.contains(c):e===c&&"BODY"!==c.nodeName)&&(d=b(d,e)),d}function _(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=P(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:g(n),c=e?0:g(n,"left"),u={top:a-r.top+r.marginTop,left:c-r.left+r.marginLeft,width:i,height:o};return j(u)}function k(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===s(t,"position"))return!0;var n=l(t);return!!n&&k(n)}function N(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===s(e,"transform");)e=e.parentElement;return e||document.documentElement}function A(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?N(t):m(t,e);if("viewport"===r)o=_(a,i);else{var c=void 0;"scrollParent"===r?"BODY"===(c=f(l(e))).nodeName&&(c=t.ownerDocument.documentElement):c="window"===r?t.ownerDocument.documentElement:r;var u=P(c,a,i);if("HTML"!==c.nodeName||k(a))o=u;else{var s=I(t.ownerDocument),p=s.height,d=s.width;o.top+=u.top-u.marginTop,o.bottom=p+u.top,o.left+=u.left-u.marginLeft,o.right=d+u.left}}var h="number"==typeof(n=n||0);return o.left+=h?n:n.left||0,o.top+=h?n:n.top||0,o.right-=h?n:n.right||0,o.bottom-=h?n:n.bottom||0,o}function D(t){return t.width*t.height}function C(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=A(n,r,o,i),c={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},u=Object.keys(c).map((function(t){return O({key:t},c[t],{area:D(c[t])})})).sort((function(t,e){return e.area-t.area})),s=u.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),l=s.length>0?s[0].key:u[0].key,f=t.split("-")[1];return l+(f?"-"+f:"")}function L(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=r?N(e):m(e,n);return P(n,i,r)}function R(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function z(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function W(t,e,n){n=n.split("-")[0];var r=R(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",c=o?"left":"top",u=o?"height":"width",s=o?"width":"height";return i[a]=e[a]+e[u]/2-r[u]/2,i[c]=n===c?e[c]-r[s]:e[z(c)],i}function B(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function H(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=B(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&u(n)&&(e.offsets.popper=j(e.offsets.popper),e.offsets.reference=j(e.offsets.reference),e=n(e,t))})),e}function U(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=C(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=W(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=H(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function G(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function Z(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var i=e[r],o=i?""+i+n:t;if(void 0!==document.body.style[o])return o}return null}function F(){return this.state.isDestroyed=!0,G(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Z("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function J(t){var e=t.ownerDocument;return e?e.defaultView:window}function V(t,e,n,r){var i="BODY"===t.nodeName,o=i?t.ownerDocument.defaultView:t;o.addEventListener(e,n,{passive:!0}),i||V(f(o.parentNode),e,n,r),r.push(o)}function Y(t,e,n,r){n.updateBound=r,J(t).addEventListener("resize",n.updateBound,{passive:!0});var i=f(t);return V(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function X(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function Q(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,J(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function q(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function $(t,e){Object.keys(e).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&q(e[n])&&(r="px"),t.style[n]=e[n]+r}))}var K=r&&/Firefox/i.test(navigator.userAgent);function tt(t,e,n){var r=B(t,(function(t){return t.name===e})),i=!!r&&t.some((function(t){return t.name===n&&t.enabled&&t.order<r.order}));if(!i){var o="`"+e+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}var et=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],nt=et.slice(3);function rt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=nt.indexOf(t),r=nt.slice(n+1).concat(nt.slice(0,n));return e?r.reverse():r}var it="flip",ot="clockwise",at="counterclockwise";function ct(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),c=a.indexOf(B(a,(function(t){return-1!==t.search(/,|\s/)})));a[c]&&-1===a[c].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,s=-1!==c?[a.slice(0,c).concat([a[c].split(u)[0]]),[a[c].split(u)[1]].concat(a.slice(c+1))]:[a];return(s=s.map((function(t,r){var i=(1===r?!o:o)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){var c=void 0;switch(a){case"%p":c=n;break;case"%":case"%r":default:c=r}return j(c)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,i,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,r){q(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))}))})),i}var ut={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,a=i.popper,c=-1!==["bottom","top"].indexOf(n),u=c?"left":"top",s=c?"width":"height",l={start:S({},u,o[u]),end:S({},u,o[u]+o[s]-a[s])};t.offsets.popper=O({},a,l[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,a=i.reference,c=r.split("-")[0],u=void 0;return u=q(+n)?[+n,0]:ct(n,o,a,c),"left"===c?(o.top+=u[0],o.left-=u[1]):"right"===c?(o.top+=u[0],o.left+=u[1]):"top"===c?(o.left+=u[0],o.top-=u[1]):"bottom"===c&&(o.left+=u[0],o.top+=u[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||y(t.instance.popper);t.instance.reference===n&&(n=y(n));var r=Z("transform"),i=t.instance.popper.style,o=i.top,a=i.left,c=i[r];i.top="",i.left="",i[r]="";var u=A(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=a,i[r]=c,e.boundaries=u;var s=e.priority,l=t.offsets.popper,f={primary:function(t){var n=l[t];return l[t]<u[t]&&!e.escapeWithReference&&(n=Math.max(l[t],u[t])),S({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=l[n];return l[t]>u[t]&&!e.escapeWithReference&&(r=Math.min(l[n],u[t]-("right"===t?l.width:l.height))),S({},n,r)}};return s.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";l=O({},l,f[e](t))})),t.offsets.popper=l,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),c=a?"right":"bottom",u=a?"left":"top",s=a?"width":"height";return n[c]<o(r[u])&&(t.offsets.popper[u]=o(r[u])-n[s]),n[u]>o(r[c])&&(t.offsets.popper[u]=o(r[c])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!tt(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,a=o.popper,c=o.reference,u=-1!==["left","right"].indexOf(i),l=u?"height":"width",f=u?"Top":"Left",p=f.toLowerCase(),d=u?"left":"top",h=u?"bottom":"right",y=R(r)[l];c[h]-y<a[p]&&(t.offsets.popper[p]-=a[p]-(c[h]-y)),c[p]+y>a[h]&&(t.offsets.popper[p]+=c[p]+y-a[h]),t.offsets.popper=j(t.offsets.popper);var v=c[p]+c[l]/2-y/2,m=s(t.instance.popper),g=parseFloat(m["margin"+f],10),b=parseFloat(m["border"+f+"Width"],10),x=v-t.offsets.popper[p]-g-b;return x=Math.max(Math.min(a[l]-y,x),0),t.arrowElement=r,t.offsets.arrow=(S(n={},p,Math.round(x)),S(n,d,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(G(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=A(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=z(r),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case it:a=[r,i];break;case ot:a=rt(r);break;case at:a=rt(r,!0);break;default:a=e.behavior}return a.forEach((function(c,u){if(r!==c||a.length===u+1)return t;r=t.placement.split("-")[0],i=z(r);var s=t.offsets.popper,l=t.offsets.reference,f=Math.floor,p="left"===r&&f(s.right)>f(l.left)||"right"===r&&f(s.left)<f(l.right)||"top"===r&&f(s.bottom)>f(l.top)||"bottom"===r&&f(s.top)<f(l.bottom),d=f(s.left)<f(n.left),h=f(s.right)>f(n.right),y=f(s.top)<f(n.top),v=f(s.bottom)>f(n.bottom),m="left"===r&&d||"right"===r&&h||"top"===r&&y||"bottom"===r&&v,g=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(g&&"start"===o&&d||g&&"end"===o&&h||!g&&"start"===o&&y||!g&&"end"===o&&v),x=!!e.flipVariationsByContent&&(g&&"start"===o&&h||g&&"end"===o&&d||!g&&"start"===o&&v||!g&&"end"===o&&y),w=b||x;(p||m||w)&&(t.flipped=!0,(p||m)&&(r=a[u+1]),w&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=O({},t.offsets.popper,W(t.instance.popper,t.offsets.reference,t.placement)),t=H(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),c=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(c?i[a?"width":"height"]:0),t.placement=z(e),t.offsets.popper=j(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!tt(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=B(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,i=t.offsets.popper,o=B(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:e.gpuAcceleration,c=y(t.instance.popper),u=T(c),s={position:i.position},l=function(t,e){var n=t.offsets,r=n.popper,i=n.reference,o=Math.round,a=Math.floor,c=function(t){return t},u=o(i.width),s=o(r.width),l=-1!==["left","right"].indexOf(t.placement),f=-1!==t.placement.indexOf("-"),p=e?l||f||u%2==s%2?o:a:c,d=e?o:c;return{left:p(u%2==1&&s%2==1&&!f&&e?r.left-1:r.left),top:d(r.top),bottom:d(r.bottom),right:p(r.right)}}(t,window.devicePixelRatio<2||!K),f="bottom"===n?"top":"bottom",p="right"===r?"left":"right",d=Z("transform"),h=void 0,v=void 0;if(v="bottom"===f?"HTML"===c.nodeName?-c.clientHeight+l.bottom:-u.height+l.bottom:l.top,h="right"===p?"HTML"===c.nodeName?-c.clientWidth+l.right:-u.width+l.right:l.left,a&&d)s[d]="translate3d("+h+"px, "+v+"px, 0)",s[f]=0,s[p]=0,s.willChange="transform";else{var m="bottom"===f?-1:1,g="right"===p?-1:1;s[f]=v*m,s[p]=h*g,s.willChange=f+", "+p}var b={"x-placement":t.placement};return t.attributes=O({},b,t.attributes),t.styles=O({},s,t.styles),t.arrowStyles=O({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return $(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&$(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,r,i){var o=L(i,e,t,n.positionFixed),a=C(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),$(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},st=function(){function t(e,n){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};M(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=c(this.update.bind(this)),this.options=O({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(O({},t.Defaults.modifiers,i.modifiers)).forEach((function(e){r.options.modifiers[e]=O({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return O({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&u(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return E(t,[{key:"update",value:function(){return U.call(this)}},{key:"destroy",value:function(){return F.call(this)}},{key:"enableEventListeners",value:function(){return X.call(this)}},{key:"disableEventListeners",value:function(){return Q.call(this)}}]),t}();st.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,st.placements=et,st.Defaults=ut,e.default=st},59069:function(t,e,n){var r=n(50027),i=n(46714),o=n(16895);function a(t){return this instanceof a?(this.nodes=r(t),this):new a(t)}a.prototype.toString=function(){return Array.isArray(this.nodes)?o(this.nodes):""},a.prototype.walk=function(t,e){return i(this.nodes,t,e),this},a.unit=n(32280),a.walk=i,a.stringify=o,t.exports=a},50027:function(t){var e="(".charCodeAt(0),n=")".charCodeAt(0),r="'".charCodeAt(0),i='"'.charCodeAt(0),o="\\".charCodeAt(0),a="/".charCodeAt(0),c=",".charCodeAt(0),u=":".charCodeAt(0),s="*".charCodeAt(0);t.exports=function(t){for(var l,f,p,d,h,y,v,m,g=[],b=t,x=0,w=b.charCodeAt(x),I=b.length,M=[{nodes:g}],E=0,S="",O="",j="";x<I;)if(w<=32){l=x;do{l+=1,w=b.charCodeAt(l)}while(w<=32);d=b.slice(x,l),p=g[g.length-1],w===n&&E?j=d:p&&"div"===p.type?p.after=d:w===c||w===u||w===a&&b.charCodeAt(l+1)!==s?O=d:g.push({type:"space",sourceIndex:x,value:d}),x=l}else if(w===r||w===i){l=x,d={type:"string",sourceIndex:x,quote:f=w===r?"'":'"'};do{if(h=!1,~(l=b.indexOf(f,l+1)))for(y=l;b.charCodeAt(y-1)===o;)y-=1,h=!h;else l=(b+=f).length-1,d.unclosed=!0}while(h);d.value=b.slice(x+1,l),g.push(d),x=l+1,w=b.charCodeAt(x)}else if(w===a&&b.charCodeAt(x+1)===s)d={type:"comment",sourceIndex:x},-1===(l=b.indexOf("*/",x))&&(d.unclosed=!0,l=b.length),d.value=b.slice(x+2,l),g.push(d),x=l+2,w=b.charCodeAt(x);else if(w===a||w===c||w===u)d=b[x],g.push({type:"div",sourceIndex:x-O.length,value:d,before:O,after:""}),O="",x+=1,w=b.charCodeAt(x);else if(e===w){l=x;do{l+=1,w=b.charCodeAt(l)}while(w<=32);if(d={type:"function",sourceIndex:x-S.length,value:S,before:b.slice(x+1,l)},x=l,"url"===S&&w!==r&&w!==i){l-=1;do{if(h=!1,~(l=b.indexOf(")",l+1)))for(y=l;b.charCodeAt(y-1)===o;)y-=1,h=!h;else l=(b+=")").length-1,d.unclosed=!0}while(h);v=l;do{v-=1,w=b.charCodeAt(v)}while(w<=32);d.nodes=x!==v+1?[{type:"word",sourceIndex:x,value:b.slice(x,v+1)}]:[],d.unclosed&&v+1!==l?(d.after="",d.nodes.push({type:"space",sourceIndex:v+1,value:b.slice(v+1,l)})):d.after=b.slice(v+1,l),x=l+1,w=b.charCodeAt(x),g.push(d)}else E+=1,d.after="",g.push(d),M.push(d),g=d.nodes=[],m=d;S=""}else if(n===w&&E)x+=1,w=b.charCodeAt(x),m.after=j,j="",E-=1,M.pop(),g=(m=M[E]).nodes;else{l=x;do{w===o&&(l+=1),l+=1,w=b.charCodeAt(l)}while(l<I&&!(w<=32||w===r||w===i||w===c||w===u||w===a||w===e||w===n&&E));d=b.slice(x,l),e===w?S=d:g.push({type:"word",sourceIndex:x,value:d}),x=l}for(x=M.length-1;x;x-=1)M[x].unclosed=!0;return M[0].nodes}},16895:function(t){function e(t,e){var r,i,o=t.type,a=t.value;return e&&void 0!==(i=e(t))?i:"word"===o||"space"===o?a:"string"===o?(r=t.quote||"")+a+(t.unclosed?"":r):"comment"===o?"/*"+a+(t.unclosed?"":"*/"):"div"===o?(t.before||"")+a+(t.after||""):Array.isArray(t.nodes)?(r=n(t.nodes),"function"!==o?r:a+"("+(t.before||"")+r+(t.after||"")+(t.unclosed?"":")")):a}function n(t,n){var r,i;if(Array.isArray(t)){for(r="",i=t.length-1;~i;i-=1)r=e(t[i],n)+r;return r}return e(t,n)}t.exports=n},32280:function(t){var e="-".charCodeAt(0),n="+".charCodeAt(0),r=".".charCodeAt(0),i="e".charCodeAt(0),o="E".charCodeAt(0);t.exports=function(t){for(var a,c=0,u=t.length,s=!1,l=-1,f=!1;c<u;){if((a=t.charCodeAt(c))>=48&&a<=57)f=!0;else if(a===i||a===o){if(l>-1)break;l=c}else if(a===r){if(s)break;s=!0}else{if(a!==n&&a!==e)break;if(0!==c)break}c+=1}return l+1===c&&c--,!!f&&{number:t.slice(0,c),unit:t.slice(c)}}},46714:function(t){t.exports=function t(e,n,r){var i,o,a,c;for(i=0,o=e.length;i<o;i+=1)a=e[i],r||(c=n(a,i,e)),!1!==c&&"function"===a.type&&Array.isArray(a.nodes)&&t(a.nodes,n,r),r&&n(a,i,e)}},5372:function(t,e,n){"use strict";var r=n(49567);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,e,n,i,o,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},2652:function(t,e,n){t.exports=n(5372)()},49567:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},61666:function(t,e,n){for(var r=n(76279),i="undefined"==typeof window?n.g:window,o=["moz","webkit"],a="AnimationFrame",c=i["request"+a],u=i["cancel"+a]||i["cancelRequest"+a],s=0;!c&&s<o.length;s++)c=i[o[s]+"Request"+a],u=i[o[s]+"Cancel"+a]||i[o[s]+"CancelRequest"+a];if(!c||!u){var l=0,f=0,p=[];c=function(t){if(0===p.length){var e=r(),n=Math.max(0,16.666666666666668-(e-l));l=n+e,setTimeout((function(){var t=p.slice(0);p.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(l)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(n))}return p.push({handle:++f,callback:t,cancelled:!1}),f},u=function(t){for(var e=0;e<p.length;e++)p[e].handle===t&&(p[e].cancelled=!0)}}t.exports=function(t){return c.call(i,t)},t.exports.cancel=function(){u.apply(i,arguments)},t.exports.polyfill=function(t){t||(t=i),t.requestAnimationFrame=c,t.cancelAnimationFrame=u}},50310:function(t,e,n){"use strict";n.d(e,{XQ:function(){return i},Un:function(){return o},Qc:function(){return a}});var r=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(c){i={error:c}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},i=function(t){return t.split(/ ?; ?/).reduce((function(t,e){var n=r(e.split(/ ?: ?/),2),i=n[0],o=n[1];return i&&o&&(t[i.replace(/-(\w)/g,(function(t,e){return e.toUpperCase()}))]=Number.isNaN(Number(o))?o:Number(o)),t}),{})},o=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],a={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"}},88041:function(t,e,n){"use strict";n.d(e,{ZP:function(){return s}});var r=n(89526),i=n(50310),o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},a=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(c){i={error:c}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},c=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t};function u(t,e){var n;if(void 0===e&&(e={}),!(t&&t instanceof Node))return null;var a,s=e.actions,l=void 0===s?[]:s,f=e.index,p=void 0===f?0:f,d=e.level,h=void 0===d?0:d,y=t,v=h+"-"+p,m=[];if(Array.isArray(l)&&l.forEach((function(e){e.condition(y,v,h)&&("function"==typeof e.pre&&((y=e.pre(y,v,h))instanceof Node||(y=t)),"function"==typeof e.post&&m.push(e.post(y,v,h)))})),m.length)return m;switch(y.nodeType){case 1:return r.createElement((a=y.nodeName,/[a-z]+[A-Z]+[a-z]+/.test(a)?a:a.toLowerCase()),function(t,e){var n={key:e};if(t instanceof Element){var r=t.getAttribute("class");r&&(n.className=r),c(t.attributes).forEach((function(t){switch(t.name){case"class":break;case"style":n[t.name]=(0,i.XQ)(t.value);break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":n[i.Qc[t.name]||t.name]=!0;break;default:n[i.Qc[t.name]||t.name]=t.value}}))}return n}(y,v),function(t,e,n){var r=c(t).map((function(t,r){return u(t,o(o({},n),{index:r,level:e+1}))})).filter(Boolean);return r.length?r:null}(y.childNodes,h,e));case 3:var g=(null===(n=y.nodeValue)||void 0===n?void 0:n.toString())||"";if(/^\s+$/.test(g)&&!/[\u202F\u00A0]/.test(g))return null;if(!y.parentNode)return g;var b=y.parentNode.nodeName.toLowerCase();return-1!==i.Un.indexOf(b)?(/\S/.test(g)&&console.warn("A textNode is not allowed inside '"+b+"'. Your text \""+g+'" will be ignored'),null):g;case 8:default:return null}}function s(t,e){return void 0===e&&(e={}),"string"==typeof t?function(t,e){if(void 0===e&&(e={}),!t||"string"!=typeof t)return null;var n=e.nodeOnly,r=void 0!==n&&n,i=e.selector,o=void 0===i?"body > *":i,a=e.type,c=void 0===a?"text/html":a;try{var s=(new DOMParser).parseFromString(t,c).querySelector(o);if(!(s instanceof Node))throw new Error("Error parsing input");return r?s:u(s,e)}catch(l){}return null}(t,e):t instanceof Node?u(t,e):null}},8126:function(t,e,n){"use strict";n.d(e,{Q_:function(){return i},Nq:function(){return o},Q6:function(){return a},O1:function(){return c}});var r=n(37941),i={FAILED:"failed",LOADED:"loaded",LOADING:"loading",PENDING:"pending",READY:"ready",UNSUPPORTED:"unsupported"};function o(){return r.canUseDOM}function a(){return function(){if(!document)return!1;var t=document.createElement("div");return t.innerHTML="<svg />",!!t.firstChild&&"http://www.w3.org/2000/svg"===t.firstChild.namespaceURI}()&&"undefined"!=typeof window&&null!==window}function c(t){for(var e,n="abcdefghijklmnopqrstuvwxyz",r=""+n+n.toUpperCase()+"1234567890",i="",o=0;o<t;o++)i+=(e=r)[Math.floor(Math.random()*e.length)];return i}},49092:function(t,e,n){"use strict";var r,i=n(89526),o=n(88041),a=n(8126),c=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(){return(u=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},s=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n},l=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(c){i={error:c}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},f=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t},p=Object.create(null),d=function(t){function e(e){var n=t.call(this,e)||this;return n.isActive=!1,n.handleCacheQueue=function(t){"string"!=typeof t?n.handleError(t):n.handleLoad(t)},n.handleLoad=function(t){n.isActive&&n.setState({content:t,status:a.Q_.LOADED},n.getElement)},n.handleError=function(t){var e=n.props.onError,r="Browser does not support SVG"===t.message?a.Q_.UNSUPPORTED:a.Q_.FAILED;n.isActive&&n.setState({status:r},(function(){"function"==typeof e&&e(t)}))},n.request=function(){var t=n.props,e=t.cacheRequests,r=t.src;try{return e&&(p[r]={content:"",status:a.Q_.LOADING,queue:[]}),fetch(r).then((function(t){var e=t.headers.get("content-type"),n=l((e||"").split(/ ?; ?/),1)[0];if(t.status>299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some((function(t){return n.indexOf(t)>=0})))throw new Error("Content type isn't valid: "+n);return t.text()})).then((function(t){if(n.handleLoad(t),e){var i=p[r];i&&(i.content=t,i.status=a.Q_.LOADED,i.queue=i.queue.filter((function(e){return e(t),!1})))}})).catch((function(t){if(n.handleError(t),e){var i=p[r];i&&(i.queue.forEach((function(e){e(t)})),delete p[r])}}))}catch(i){return n.handleError(new Error(i.message))}},n.state={content:"",element:null,hasCache:!!e.cacheRequests&&!!p[e.src],status:a.Q_.PENDING},n.hash=e.uniqueHash||(0,a.O1)(8),n}return c(e,t),e.prototype.componentDidMount=function(){if(this.isActive=!0,(0,a.Nq)()){var t=this.state.status,e=this.props.src;try{if(t===a.Q_.PENDING){if(!(0,a.Q6)())throw new Error("Browser does not support SVG");if(!e)throw new Error("Missing src");this.load()}}catch(n){this.handleError(n)}}},e.prototype.componentDidUpdate=function(t,e){if((0,a.Nq)()){var n=this.state,r=n.hasCache,i=n.status,o=this.props,c=o.onLoad,u=o.src;if(e.status!==a.Q_.READY&&i===a.Q_.READY&&c&&c(u,r),t.src!==u){if(!u)return void this.handleError(new Error("Missing src"));this.load()}}},e.prototype.componentWillUnmount=function(){this.isActive=!1},e.prototype.processSVG=function(){var t=this.state.content,e=this.props.preProcessor;return e?e(t):t},e.prototype.updateSVGAttributes=function(t){var e=this,n=this.props,r=n.baseURL,i=void 0===r?"":r,o=n.uniquifyIDs,a=["id","href","xlink:href","xlink:role","xlink:arcrole"],c=["href","xlink:href"];return o?(f(t.children).map((function(t){if(t.attributes&&t.attributes.length){var n=Object.values(t.attributes).map((function(t){var n=t,r=t.value.match(/url\((.*?)\)/);return r&&r[1]&&(n.value=t.value.replace(r[0],"url("+i+r[1]+"__"+e.hash+")")),n}));a.forEach((function(t){var r,i,o=n.find((function(e){return e.name===t}));!o||(r=t,i=o.value,c.indexOf(r)>=0&&i&&i.indexOf("#")<0)||(o.value=o.value+"__"+e.hash)}))}return t.children.length?e.updateSVGAttributes(t):t})),t):t},e.prototype.getNode=function(){var t=this.props,e=t.description,n=t.title;try{var r=this.processSVG(),i=(0,o.ZP)(r,{nodeOnly:!0});if(!(i&&i instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");var a=this.updateSVGAttributes(i);if(e){var c=a.querySelector("desc");c&&c.parentNode&&c.parentNode.removeChild(c);var u=document.createElement("desc");u.innerHTML=e,a.prepend(u)}if(n){var s=a.querySelector("title");s&&s.parentNode&&s.parentNode.removeChild(s);var l=document.createElement("title");l.innerHTML=n,a.prepend(l)}return a}catch(f){return this.handleError(f)}},e.prototype.getElement=function(){try{var t=this.getNode(),e=(0,o.ZP)(t);if(!e||!i.isValidElement(e))throw new Error("Could not convert the src to a React element");this.setState({element:e,status:a.Q_.READY})}catch(n){this.handleError(new Error(n.message))}},e.prototype.load=function(){var t=this;this.isActive&&this.setState({content:"",element:null,status:a.Q_.LOADING},(function(){var e=t.props,n=e.cacheRequests,r=e.src,i=n&&p[r];if(i)i.status===a.Q_.LOADING?i.queue.push(t.handleCacheQueue):i.status===a.Q_.LOADED&&t.handleLoad(i.content);else{var o,c=r.match(/data:image\/svg[^,]*?(;base64)?,(.*)/);c?o=c[1]?atob(c[2]):decodeURIComponent(c[2]):r.indexOf("<svg")>=0&&(o=r),o?t.handleLoad(o):t.request()}}))},e.prototype.render=function(){var t=this.state,e=t.element,n=t.status,r=this.props,o=(r.baseURL,r.cacheRequests,r.children),c=void 0===o?null:o,l=(r.description,r.innerRef),f=r.loader,p=void 0===f?null:f,d=(r.onError,r.onLoad,r.preProcessor,r.src,r.title,r.uniqueHash,r.uniquifyIDs,s(r,["baseURL","cacheRequests","children","description","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs"]));return(0,a.Nq)()?e?i.cloneElement(e,u({ref:l},d)):[a.Q_.UNSUPPORTED,a.Q_.FAILED].indexOf(n)>-1?c:p:p},e.defaultProps={cacheRequests:!0,uniquifyIDs:!1},e}(i.PureComponent);e.Z=d},19018:function(t,e,n){"use strict";function r(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=t&&this.setState(t)}function i(t){this.setState(function(e){var n=this.constructor.getDerivedStateFromProps(t,e);return null!=n?n:null}.bind(this))}function o(t,e){try{var n=this.props,r=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(t){var e=t.prototype;if(!e||!e.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate)return t;var n=null,a=null,c=null;if("function"==typeof e.componentWillMount?n="componentWillMount":"function"==typeof e.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof e.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof e.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof e.componentWillUpdate?c="componentWillUpdate":"function"==typeof e.UNSAFE_componentWillUpdate&&(c="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==c){var u=t.displayName||t.name,s="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+u+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==c?"\n "+c:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof t.getDerivedStateFromProps&&(e.componentWillMount=r,e.componentWillReceiveProps=i),"function"==typeof e.getSnapshotBeforeUpdate){if("function"!=typeof e.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");e.componentWillUpdate=o;var l=e.componentDidUpdate;e.componentDidUpdate=function(t,e,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;l.call(this,t,e,r)}}return t}n.r(e),n.d(e,{polyfill:function(){return a}}),r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},81668:function(t,e,n){"use strict";var r=n(7402),i=n(89526),o=n(73961),a=n(18492),c=n(7362);function u(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function s(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,Object.freeze(e)}var l=u(r),f=s(i),p=u(a),d=u(c),h=function(t,e){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function y(t,e){function n(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var v=function(){return(v=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function m(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}var g=function(t,e,n,r){switch(e){case"debounce":return p.default(t,n,r);case"throttle":return d.default(t,n,r);default:return t}},b=function(t){return"function"==typeof t},x=function(){return"undefined"==typeof window},w=function(t){return t instanceof Element||t instanceof HTMLDocument},I=function(t,e,n,r){return function(i){var o=i.width,a=i.height;e((function(e){return e.width===o&&e.height===a||e.width===o&&!r||e.height===a&&!n?e:(t&&b(t)&&t(o,a),{width:o,height:a})}))}},M=function(t){function e(e){var n=t.call(this,e)||this;n.cancelHandler=function(){n.resizeHandler&&n.resizeHandler.cancel&&(n.resizeHandler.cancel(),n.resizeHandler=null)},n.attachObserver=function(){var t=n.props,e=t.targetRef,r=t.observerOptions;if(!x()){e&&e.current&&(n.targetRef.current=e.current);var i=n.getElement();i&&(n.observableElement&&n.observableElement===i||(n.observableElement=i,n.resizeObserver.observe(i,r)))}},n.getElement=function(){var t=n.props,e=t.querySelector,r=t.targetDomEl;if(x())return null;if(e)return document.querySelector(e);if(r&&w(r))return r;if(n.targetRef&&w(n.targetRef.current))return n.targetRef.current;var i=o.findDOMNode(n);if(!i)return null;switch(n.getRenderType()){case"renderProp":case"childFunction":case"child":case"childArray":return i;default:return i.parentElement}},n.createResizeHandler=function(t){var e=n.props,r=e.handleWidth,i=void 0===r||r,o=e.handleHeight,a=void 0===o||o,c=e.onResize;if(i||a){var u=I(c,n.setState.bind(n),i,a);t.forEach((function(t){var e=t&&t.contentRect||{},r=e.width,i=e.height;!n.skipOnMount&&!x()&&u({width:r,height:i}),n.skipOnMount=!1}))}},n.getRenderType=function(){var t=n.props,e=t.render,r=t.children;return b(e)?"renderProp":b(r)?"childFunction":i.isValidElement(r)?"child":Array.isArray(r)?"childArray":"parent"};var r=e.skipOnMount,a=e.refreshMode,c=e.refreshRate,u=void 0===c?1e3:c,s=e.refreshOptions;return n.state={width:void 0,height:void 0},n.skipOnMount=r,n.targetRef=i.createRef(),n.observableElement=null,x()||(n.resizeHandler=g(n.createResizeHandler,a,u,s),n.resizeObserver=new l.default(n.resizeHandler)),n}return y(e,t),e.prototype.componentDidMount=function(){this.attachObserver()},e.prototype.componentDidUpdate=function(){this.attachObserver()},e.prototype.componentWillUnmount=function(){x()||(this.resizeObserver.disconnect(),this.cancelHandler())},e.prototype.render=function(){var t,e=this.props,n=e.render,r=e.children,o=e.nodeType,a=void 0===o?"div":o,c=this.state,u={width:c.width,height:c.height,targetRef:this.targetRef};switch(this.getRenderType()){case"renderProp":return n&&n(u);case"childFunction":return(t=r)(u);case"child":if((t=r).type&&"string"==typeof t.type){var s=m(u,["targetRef"]);return i.cloneElement(t,s)}return i.cloneElement(t,u);case"childArray":return(t=r).map((function(t){return!!t&&i.cloneElement(t,u)}));default:return f.createElement(a,null)}},e}(i.PureComponent);var E=x()?i.useEffect:i.useLayoutEffect;e.ZP=M},83314:function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},58296:function(t,e,n){"use strict";var r=n(83314);e.__esModule=!0,e.default=function(t,e){t.classList?t.classList.add(e):(0,i.default)(t,e)||("string"==typeof t.className?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))};var i=r(n(7459));t.exports=e.default},7459:function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e){return t.classList?!!e&&t.classList.contains(e):-1!==(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")},t.exports=e.default},51793:function(t){"use strict";function e(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}t.exports=function(t,n){t.classList?t.classList.remove(n):"string"==typeof t.className?t.className=e(t.className,n):t.setAttribute("class",e(t.className&&t.className.baseVal||"",n))}},30062:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;!function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}e.default=t}(n(2652));var r=c(n(58296)),i=c(n(51793)),o=c(n(89526)),a=c(n(30488));n(25160);function c(t){return t&&t.__esModule?t:{default:t}}function u(){return(u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var s=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return(0,r.default)(t,e)}))},l=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return(0,i.default)(t,e)}))},f=function(t){var e,n;function r(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).onEnter=function(t,n){var r=e.getClassNames(n?"appear":"enter").className;e.removeClasses(t,"exit"),s(t,r),e.props.onEnter&&e.props.onEnter(t,n)},e.onEntering=function(t,n){var r=e.getClassNames(n?"appear":"enter").activeClassName;e.reflowAndAddClass(t,r),e.props.onEntering&&e.props.onEntering(t,n)},e.onEntered=function(t,n){var r=e.getClassNames("appear").doneClassName,i=e.getClassNames("enter").doneClassName,o=n?r+" "+i:i;e.removeClasses(t,n?"appear":"enter"),s(t,o),e.props.onEntered&&e.props.onEntered(t,n)},e.onExit=function(t){var n=e.getClassNames("exit").className;e.removeClasses(t,"appear"),e.removeClasses(t,"enter"),s(t,n),e.props.onExit&&e.props.onExit(t)},e.onExiting=function(t){var n=e.getClassNames("exit").activeClassName;e.reflowAndAddClass(t,n),e.props.onExiting&&e.props.onExiting(t)},e.onExited=function(t){var n=e.getClassNames("exit").doneClassName;e.removeClasses(t,"exit"),s(t,n),e.props.onExited&&e.props.onExited(t)},e.getClassNames=function(t){var n=e.props.classNames,r="string"==typeof n,i=r?(r&&n?n+"-":"")+t:n[t];return{className:i,activeClassName:r?i+"-active":n[t+"Active"],doneClassName:r?i+"-done":n[t+"Done"]}},e}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.removeClasses=function(t,e){var n=this.getClassNames(e),r=n.className,i=n.activeClassName,o=n.doneClassName;r&&l(t,r),i&&l(t,i),o&&l(t,o)},i.reflowAndAddClass=function(t,e){e&&(t&&t.scrollTop,s(t,e))},i.render=function(){var t=u({},this.props);return delete t.classNames,o.default.createElement(a.default,u({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(o.default.Component);f.defaultProps={classNames:""},f.propTypes={};var p=f;e.default=p,t.exports=e.default},43951:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;a(n(2652));var r=a(n(89526)),i=n(73961),o=a(n(42609));function a(t){return t&&t.__esModule?t:{default:t}}var c=function(t){var e,n;function a(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).handleEnter=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEnter",0,n)},e.handleEntering=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEntering",0,n)},e.handleEntered=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEntered",0,n)},e.handleExit=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExit",1,n)},e.handleExiting=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExiting",1,n)},e.handleExited=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExited",1,n)},e}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var c=a.prototype;return c.handleLifecycle=function(t,e,n){var o,a=this.props.children,c=r.default.Children.toArray(a)[e];c.props[t]&&(o=c.props)[t].apply(o,n),this.props[t]&&this.props[t]((0,i.findDOMNode)(this))},c.render=function(){var t=this.props,e=t.children,n=t.in,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,["children","in"]),a=r.default.Children.toArray(e),c=a[0],u=a[1];return delete i.onEnter,delete i.onEntering,delete i.onEntered,delete i.onExit,delete i.onExiting,delete i.onExited,r.default.createElement(o.default,i,n?r.default.cloneElement(c,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):r.default.cloneElement(u,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},a}(r.default.Component);c.propTypes={};var u=c;e.default=u,t.exports=e.default},30488:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.EXITING=e.ENTERED=e.ENTERING=e.EXITED=e.UNMOUNTED=void 0;var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n(2652)),i=c(n(89526)),o=c(n(73961)),a=n(19018);n(25160);function c(t){return t&&t.__esModule?t:{default:t}}var u="unmounted";e.UNMOUNTED=u;var s="exited";e.EXITED=s;var l="entering";e.ENTERING=l;var f="entered";e.ENTERED=f;var p="exiting";e.EXITING=p;var d=function(t){var e,n;function r(e,n){var r;r=t.call(this,e,n)||this;var i,o=n.transitionGroup,a=o&&!o.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?a?(i=s,r.appearStatus=l):i=f:i=e.unmountOnExit||e.mountOnEnter?u:s,r.state={status:i},r.nextCallback=null,r}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.getChildContext=function(){return{transitionGroup:null}},r.getDerivedStateFromProps=function(t,e){return t.in&&e.status===u?{status:s}:null},a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==l&&n!==f&&(e=l):n!==l&&n!==f||(e=p)}this.updateStatus(!1,e)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var t,e,n,r=this.props.timeout;return t=e=n=r,null!=r&&"number"!=typeof r&&(t=r.exit,e=r.enter,n=void 0!==r.appear?r.appear:e),{exit:t,enter:e,appear:n}},a.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e){this.cancelNextCallback();var n=o.default.findDOMNode(this);e===l?this.performEnter(n,t):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===s&&this.setState({status:u})},a.performEnter=function(t,e){var n=this,r=this.props.enter,i=this.context.transitionGroup?this.context.transitionGroup.isMounting:e,o=this.getTimeouts(),a=i?o.appear:o.enter;e||r?(this.props.onEnter(t,i),this.safeSetState({status:l},(function(){n.props.onEntering(t,i),n.onTransitionEnd(t,a,(function(){n.safeSetState({status:f},(function(){n.props.onEntered(t,i)}))}))}))):this.safeSetState({status:f},(function(){n.props.onEntered(t)}))},a.performExit=function(t){var e=this,n=this.props.exit,r=this.getTimeouts();n?(this.props.onExit(t),this.safeSetState({status:p},(function(){e.props.onExiting(t),e.onTransitionEnd(t,r.exit,(function(){e.safeSetState({status:s},(function(){e.props.onExited(t)}))}))}))):this.safeSetState({status:s},(function(){e.props.onExited(t)}))},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},a.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,e.nextCallback=null,t(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},a.onTransitionEnd=function(t,e,n){this.setNextCallback(n);var r=null==e&&!this.props.addEndListener;t&&!r?(this.props.addEndListener&&this.props.addEndListener(t,this.nextCallback),null!=e&&setTimeout(this.nextCallback,e)):setTimeout(this.nextCallback,0)},a.render=function(){var t=this.state.status;if(t===u)return null;var e=this.props,n=e.children,r=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(e,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return n(t,r);var o=i.default.Children.only(n);return i.default.cloneElement(o,r)},r}(i.default.Component);function h(){}d.contextTypes={transitionGroup:r.object},d.childContextTypes={transitionGroup:function(){}},d.propTypes={},d.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},d.UNMOUNTED=0,d.EXITED=1,d.ENTERING=2,d.ENTERED=3,d.EXITING=4;var y=(0,a.polyfill)(d);e.default=y},42609:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=c(n(2652)),i=c(n(89526)),o=n(19018),a=n(44177);function c(t){return t&&t.__esModule?t:{default:t}}function u(){return(u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var l=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},f=function(t){var e,n;function r(e,n){var r,i=(r=t.call(this,e,n)||this).handleExited.bind(s(s(r)));return r.state={handleExited:i,firstRender:!0},r}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},o.componentDidMount=function(){this.appeared=!0,this.mounted=!0},o.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(t,e){var n=e.children,r=e.handleExited;return{children:e.firstRender?(0,a.getInitialChildMapping)(t,r):(0,a.getNextChildMapping)(t,n,r),firstRender:!1}},o.handleExited=function(t,e){var n=(0,a.getChildMapping)(this.props.children);t.key in n||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var n=u({},e.children);return delete n[t.key],{children:n}})))},o.render=function(){var t=this.props,e=t.component,n=t.childFactory,r=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,["component","childFactory"]),o=l(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===e?o:i.default.createElement(e,r,o)},r}(i.default.Component);f.childContextTypes={transitionGroup:r.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(t){return t}};var p=(0,o.polyfill)(f);e.default=p,t.exports=e.default},33092:function(t,e,n){"use strict";var r=c(n(30062)),i=c(n(43951)),o=c(n(42609)),a=c(n(30488));function c(t){return t&&t.__esModule?t:{default:t}}t.exports={Transition:a.default,TransitionGroup:o.default,ReplaceTransition:i.default,CSSTransition:r.default}},44177:function(t,e,n){"use strict";e.__esModule=!0,e.getChildMapping=i,e.mergeChildMappings=o,e.getInitialChildMapping=function(t,e){return i(t.children,(function(n){return(0,r.cloneElement)(n,{onExited:e.bind(null,n),in:!0,appear:a(n,"appear",t),enter:a(n,"enter",t),exit:a(n,"exit",t)})}))},e.getNextChildMapping=function(t,e,n){var c=i(t.children),u=o(e,c);return Object.keys(u).forEach((function(i){var o=u[i];if((0,r.isValidElement)(o)){var s=i in e,l=i in c,f=e[i],p=(0,r.isValidElement)(f)&&!f.props.in;!l||s&&!p?l||!s||p?l&&s&&(0,r.isValidElement)(f)&&(u[i]=(0,r.cloneElement)(o,{onExited:n.bind(null,o),in:f.props.in,exit:a(o,"exit",t),enter:a(o,"enter",t)})):u[i]=(0,r.cloneElement)(o,{in:!1}):u[i]=(0,r.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:a(o,"exit",t),enter:a(o,"enter",t)})}})),u};var r=n(89526);function i(t,e){var n=Object.create(null);return t&&r.Children.map(t,(function(t){return t})).forEach((function(t){n[t.key]=function(t){return e&&(0,r.isValidElement)(t)?e(t):t}(t)})),n}function o(t,e){function n(n){return n in e?e[n]:t[n]}t=t||{},e=e||{};var r,i=Object.create(null),o=[];for(var a in t)a in e?o.length&&(i[a]=o,o=[]):o.push(a);var c={};for(var u in e){if(i[u])for(r=0;r<i[u].length;r++){var s=i[u][r];c[i[u][r]]=n(s)}c[u]=n(u)}for(r=0;r<o.length;r++)c[o[r]]=n(o[r]);return c}function a(t,e,n){return null!=n[e]?n[e]:t.props[e]}},25160:function(t,e,n){"use strict";e.__esModule=!0,e.classNamesShape=e.timeoutsShape=void 0;var r;(r=n(2652))&&r.__esModule;e.timeoutsShape=null;e.classNamesShape=null},20877:function(t,e,n){var r;r=function(t,e,n){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=15)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=e.Browser={};"undefined"!=typeof window&&(r.SUPPORTED="requestAnimationFrame"in window,r.SUPPORTS_TOUCH="ontouchstart"in window,r.touch=!1,r.dynamicInputDetection=!0,r.iOS=function(){return/iPhone|iPad|iPod/.test(navigator.userAgent)&&!window.MSStream}),e.Store=[],e.Selectors={POPPER:".tippy-popper",TOOLTIP:".tippy-tooltip",CONTENT:".tippy-tooltip-content",CIRCLE:"[x-circle]",ARROW:"[x-arrow]",TOOLTIPPED_EL:"[data-tooltipped]",CONTROLLER:"[data-tippy-controller]"};var i=e.Defaults={html:!1,position:"top",animation:"shift",animateFill:!0,arrow:!1,arrowSize:"regular",delay:0,trigger:"mouseenter focus",duration:350,interactive:!1,interactiveBorder:2,theme:"dark",size:"regular",distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,flipDuration:350,sticky:!1,stickyDuration:200,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,useContext:!1,reactInstance:void 0,popperOptions:{},open:void 0,onRequestClose:function(){}};e.DefaultsKeys=r.SUPPORTED&&Object.keys(i)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){for(var e=[!1,"webkit"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var i=e[r],o=i?""+i+n:t;if(void 0!==window.document.body.style[o])return o}return null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.replace(/-.+/,"")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return(Element.prototype.closest||function(t){for(var e=this;e;){if(r.matches.call(e,t))return e;e=e.parentElement}}).call(t,e)};var r=n(8)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){window.requestAnimationFrame((function(){setTimeout(t,0)}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return{tooltip:t.querySelector(r.Selectors.TOOLTIP),circle:t.querySelector(r.Selectors.CIRCLE),content:t.querySelector(r.Selectors.CONTENT)}};var r=n(0)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return"visible"===t.style.visibility}},function(t,e,n){"use strict";function r(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),n=e.length;--n>=0&&e.item(n)!==this;);return n>-1}Object.defineProperty(e,"__esModule",{value:!0}),e.matches="undefined"==typeof window?r:Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(13),a=s(o),c=s(n(30)),u=n(0);function s(t){return t&&t.__esModule?t:{default:t}}var l=function(t){return t.stopPropagation()},f={html:null,position:"top",animation:"shift",animateFill:!0,arrow:!1,delay:0,hideDelay:0,trigger:"mouseenter focus",duration:375,hideDuration:375,interactive:!1,interactiveBorder:2,theme:"dark",offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,popperOptions:{},onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){},disabled:!1,arrowSize:"regular",size:"regular",className:"",style:{},distance:10,onRequestClose:function(){},sticky:!1,stickyDuration:200,tag:"div",touchHold:!1,unmountHTMLWhenHide:!1,zIndex:9999},p=Object.keys(f),d=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.initTippy=n._initTippy.bind(n),n.destroyTippy=n._destroyTippy.bind(n),n.updateTippy=n._updateTippy.bind(n),n.updateReactDom=n._updateReactDom.bind(n),n.showTooltip=n._showTooltip.bind(n),n.hideTooltip=n._hideTooltip.bind(n),n.updateSettings=n._updateSettings.bind(n),n.state={reactDOMValue:null},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),i(e,[{key:"componentDidMount",value:function(){"undefined"!=typeof window&&"undefined"!=typeof document&&this.initTippy()}},{key:"componentWillUnmount",value:function(){"undefined"!=typeof window&&"undefined"!=typeof document&&this.destroyTippy()}},{key:"componentDidUpdate",value:function(t){var e=this;if("undefined"!=typeof window&&"undefined"!=typeof document){if(!1===this.props.disabled&&!0===t.disabled)return this.updateSettings("disabled",!1),this.destroyTippy(),void this.initTippy();if(!0===this.props.disabled&&!1===t.disabled)return this.updateSettings("disabled",!0),void this.destroyTippy();!0!==this.props.open||t.open||(this.updateSettings("open",!0),setTimeout((function(){e.showTooltip()}),0)),!1===this.props.open&&!0===t.open&&(this.updateSettings("open",!1),this.hideTooltip()),this.props.html!==t.html&&this.updateReactDom(),this.props.title!==t.title&&this.updateTippy(),function(t,e){var n=[];return p.forEach((function(r){t[r]!==e[r]&&n.push(r)})),n}(this.props,t).forEach((function(t){e.updateSettings(t,e.props[t])}))}}},{key:"_showTooltip",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var t=this.tippy.getPopperElement(this.tooltipDOM);this.tippy.show(t,this.props.duration)}}},{key:"_hideTooltip",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var t=this.tippy.getPopperElement(this.tooltipDOM);this.tippy.hide(t,this.props.hideDuration)}}},{key:"_updateSettings",value:function(t,e){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var n=this.tippy.getPopperElement(this.tooltipDOM);this.tippy.updateSettings(n,t,e)}}},{key:"_updateReactDom",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){this.updateSettings("reactDOM",this.props.html);var t=this.tippy.getPopperElement(this.tooltipDOM);("visible"===t.style.visibility||this.props.open)&&this.tippy.updateForReact(t,this.props.html)}}},{key:"_updateTippy",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var t=this.tippy.getPopperElement(this.tooltipDOM);this.tippy.update(t)}}},{key:"_initTippy",value:function(){var t=this;"undefined"!=typeof window&&"undefined"!=typeof document&&u.Browser.SUPPORTED&&(this.props.disabled?this.tippy=null:(this.props.title&&this.tooltipDOM.setAttribute("title",this.props.title),this.tippy=(0,c.default)(this.tooltipDOM,{disabled:this.props.disabled,position:this.props.position,animation:this.props.animation,animateFill:this.props.animateFill,arrow:this.props.arrow,arrowSize:this.props.arrowSize,delay:this.props.delay,hideDelay:this.props.hideDelay,trigger:this.props.trigger,duration:this.props.duration,hideDuration:this.props.hideDuration,interactive:this.props.interactive,interactiveBorder:this.props.interactiveBorder,theme:this.props.theme,offset:this.props.offset,hideOnClick:this.props.hideOnClick,multiple:this.props.multiple,size:this.props.size,followCursor:this.props.followCursor,inertia:this.props.inertia,popperOptions:this.props.popperOptions,onShow:this.props.onShow,onShown:this.props.onShown,onHide:this.props.onHide,onHidden:this.props.onHidden,distance:this.props.distance,reactDOM:this.props.html,setReactDOMValue:function(e){return t.setState({reactDOMValue:e})},unmountHTMLWhenHide:this.props.unmountHTMLWhenHide,open:this.props.open,sticky:this.props.sticky,stickyDuration:this.props.stickyDuration,tag:this.props.tag,touchHold:this.props.touchHold,onRequestClose:this.props.onRequestClose,useContext:this.props.useContext,reactInstance:this.props.useContext?this:void 0,performance:!0,html:this.props.rawTemplate?this.props.rawTemplate:void 0,zIndex:this.props.zIndex}),this.props.open&&this.showTooltip()))}},{key:"_destroyTippy",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var t=this.tippy.getPopperElement(this.tooltipDOM);this.updateSettings("open",!1),this.tippy.hide(t,0),this.tippy.destroy(t),this.tippy=null}}},{key:"render",value:function(){var t=this,e=this.props.tag;return a.default.createElement(a.default.Fragment,null,a.default.createElement(e,{ref:function(e){t.tooltipDOM=e},title:this.props.title,className:this.props.className,tabIndex:this.props.tabIndex,style:r({display:"inline"},this.props.style)},this.props.children),this.state.reactDOMValue&&a.default.createElement("div",{onClick:l,onContextMenu:l,onDoubleClick:l,onDrag:l,onDragEnd:l,onDragEnter:l,onDragExit:l,onDragLeave:l,onDragOver:l,onDragStart:l,onDrop:l,onMouseDown:l,onMouseEnter:l,onMouseLeave:l,onMouseMove:l,onMouseOver:l,onMouseOut:l,onMouseUp:l,onKeyDown:l,onKeyPress:l,onKeyUp:l,onFocus:l,onBlur:l,onChange:l,onInput:l,onInvalid:l,onSubmit:l},this.state.reactDOMValue))}}]),e}(o.Component);d.defaultProps=f,e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=this,n=(0,o.default)(r.Store,(function(t){return t.el===e}));if(n){var c=n.popper,u=n.settings.offset,s=(0,i.default)(c.getAttribute("x-placement")),l=Math.round(c.offsetWidth/2),f=Math.round(c.offsetHeight/2),p=document.documentElement.offsetWidth||document.body.offsetWidth,d=t.pageX,h=t.pageY,y=void 0,v=void 0;switch(s){case"top":y=d-l+u,v=h-2.25*f;break;case"left":y=d-2*l-10,v=h-f+u;break;case"right":y=d+f,v=h-f+u;break;case"bottom":y=d-l+u,v=h+f/1.5}var m=d+5+l+u>p,g=d-5-l+u<0;"top"!==s&&"bottom"!==s||(m&&(y=p-5-2*l),g&&(y=5)),c.style[(0,a.default)("transform")]="translate3d("+y+"px, "+v+"px, 0)"}};var r=n(0),i=c(n(3)),o=c(n(2)),a=c(n(1));function c(t){return t&&t.__esModule?t:{default:t}}c(n(4))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return-(t-r.Defaults.distance)+"px"};var r=n(0)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.getAttribute("title");e&&t.setAttribute("data-original-title",e),t.removeAttribute("title")}},function(e,n){e.exports=t},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(n(13)),i=o(n(9));function o(t){return t&&t.__esModule?t:{default:t}}function a(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var o=a(n,[]);return r.default.createElement(i.default,e,r.default.createElement(t,o))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.withTooltip=e.Tooltip=void 0;var r=o(n(9)),i=o(n(14));function o(t){return t&&t.__esModule?t:{default:t}}e.Tooltip=r.default,e.withTooltip=i.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t,e=function(){r.Browser.touch=!0,r.Browser.iOS()&&document.body.classList.add("tippy-touch"),r.Browser.dynamicInputDetection&&window.performance&&document.addEventListener("mousemove",n)},n=(t=void 0,function(){var e=performance.now();e-t<20&&(r.Browser.touch=!1,document.removeEventListener("mousemove",n),r.Browser.iOS()||document.body.classList.remove("tippy-touch")),t=e});document.addEventListener("click",(function(t){if(!(t.target instanceof Element))return(0,i.default)();var e=(0,o.default)(t.target,r.Selectors.TOOLTIPPED_EL),n=(0,o.default)(t.target,r.Selectors.POPPER);if(n){var c=(0,a.default)(r.Store,(function(t){return t.popper===n}));if(!c)return;if(c.settings.interactive)return}if(e){var u=(0,a.default)(r.Store,(function(t){return t.el===e}));if(!u)return;var s=u.settings,l=s.hideOnClick,f=s.multiple,p=s.trigger;if(!f&&r.Browser.touch||!f&&-1!==p.indexOf("click"))return(0,i.default)(u);if(!0!==l||-1!==p.indexOf("click"))return}!(0,o.default)(t.target,r.Selectors.CONTROLLER)&&document.querySelector(r.Selectors.POPPER)&&(0,i.default)()})),document.addEventListener("touchstart",e),window.addEventListener("blur",(function(t){var e=document.activeElement;e&&e.blur&&c.matches.call(e,r.Selectors.TOOLTIPPED_EL)&&e.blur()})),!r.Browser.SUPPORTS_TOUCH&&(navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&document.addEventListener("pointerdown",e)};var r=n(0),i=u(n(25)),o=u(n(4)),a=u(n(2)),c=n(8);function u(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var o=n.position,a=n.distance,c=n.arrow,u=n.animateFill,s=n.inertia,l=n.animation,f=n.arrowSize,p=n.size,d=n.theme,h=n.html,y=n.zIndex,v=n.interactive,m=document.createElement("div");m.setAttribute("class","tippy-popper"),m.setAttribute("role","tooltip"),m.setAttribute("aria-hidden","true"),m.setAttribute("id","tippy-tooltip-"+t),m.style.zIndex=y;var g=document.createElement("div");if(g.setAttribute("class","tippy-tooltip tippy-tooltip--"+p+" leave"),g.setAttribute("data-animation",l),d.split(" ").forEach((function(t){g.classList.add(t+"-theme")})),c){var b=document.createElement("div");b.setAttribute("class","arrow-"+f),b.setAttribute("x-arrow",""),g.appendChild(b)}if(u){g.setAttribute("data-animatefill","");var x=document.createElement("div");x.setAttribute("class","leave"),x.setAttribute("x-circle",""),g.appendChild(x)}s&&g.setAttribute("data-inertia",""),v&&g.setAttribute("data-interactive","");var w=document.createElement("div");if(w.setAttribute("class","tippy-tooltip-content"),h){var I=void 0;h instanceof Element?(w.appendChild(h),I="#"+h.id||0):(w.innerHTML=document.getElementById(h.replace("#","")).innerHTML,I=h),m.classList.add("html-template"),v&&m.setAttribute("tabindex","-1"),g.setAttribute("data-template-id",I)}else w.innerHTML=e;return g.style[(0,r.default)(o)]=(0,i.default)(a),g.appendChild(w),m.appendChild(g),m};var r=o(n(3)),i=o(n(11));function o(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};e.default=function(t){var e=t.el,n=t.popper,l=t.settings,f=l.position,p=l.popperOptions,d=l.offset,h=l.distance,y=l.flipDuration,v=(0,u.default)(n).tooltip,m=r({placement:f},p||{},{modifiers:r({},p?p.modifiers:{},{flip:r({padding:h+5},p&&p.modifiers?p.modifiers.flip:{}),offset:r({offset:d},p&&p.modifiers?p.modifiers.offset:{})}),onUpdate:function(){var t=v.style;t.top="",t.bottom="",t.left="",t.right="",t[(0,c.default)(n.getAttribute("x-placement"))]=(0,s.default)(h)}});if(window.MutationObserver){var g=n.style,b=new MutationObserver((function(){g[(0,a.default)("transitionDuration")]="0ms",t.popperInstance.update(),(0,o.default)((function(){g[(0,a.default)("transitionDuration")]=y+"ms"}))}));b.observe(n,{childList:!0,subtree:!0,characterData:!0}),t._mutationObserver=b}return new i.default(e,n,m)};var i=l(n(38)),o=l(n(5)),a=l(n(1)),c=l(n(3)),u=l(n(6)),s=l(n(11));function l(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=this;return t.reduce((function(t,n){var s=l,f=(0,c.default)(e.settings.performance?e.settings:(0,r.default)(n,e.settings)),p=f.html,d=f.reactDOM,h=f.trigger,y=f.touchHold,v=n.getAttribute("title");if(!v&&!p&&!d)return t;n.setAttribute("data-tooltipped",""),n.setAttribute("aria-describedby","tippy-tooltip-"+s),(0,u.default)(n);var m=(0,i.default)(s,v,f),g=a.default.call(e,n,m,f),b=[];return h.trim().split(" ").forEach((function(t){return b=b.concat((0,o.default)(t,n,g,y))})),t.push({id:s,el:n,popper:m,settings:f,listeners:b,tippyInstance:e}),l++,t}),[])};var r=s(n(24)),i=s(n(17)),o=s(n(20)),a=s(n(23)),c=s(n(21)),u=s(n(12));function s(t){return t&&t.__esModule?t:{default:t}}n(0);var l=1},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,i){var o=[];return"manual"===t||(e.addEventListener(t,n.handleTrigger),o.push({event:t,handler:n.handleTrigger}),"mouseenter"===t&&(r.Browser.SUPPORTS_TOUCH&&i&&(e.addEventListener("touchstart",n.handleTrigger),o.push({event:"touchstart",handler:n.handleTrigger}),e.addEventListener("touchend",n.handleMouseleave),o.push({event:"touchend",handler:n.handleMouseleave})),e.addEventListener("mouseleave",n.handleMouseleave),o.push({event:"mouseleave",handler:n.handleMouseleave})),"focus"===t&&(e.addEventListener("blur",n.handleBlur),o.push({event:"blur",handler:n.handleBlur}))),o};var r=n(0)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.arrow&&(t.animateFill=!1),t.appendTo&&"function"==typeof t.appendTo&&(t.appendTo=t.appendTo()),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t instanceof Element?[t]:Array.isArray(t)?t:[].slice.call(document.querySelectorAll(t))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var c=this,u=(n.position,n.delay),s=(n.duration,n.interactive),l=(n.interactiveBorder,n.distance,n.hideOnClick),f=n.trigger,p=n.touchHold,d=void n.touchWait,h=void 0,y=function(){clearTimeout(d),clearTimeout(h)},v=function(){if(y(),!(0,i.default)(e)){var t=Array.isArray(u)?u[0]:u;u?d=setTimeout((function(){return c.show(e)}),t):c.show(e)}},m=function(){y();var t=Array.isArray(u)?u[1]:u;u?h=setTimeout((function(){return c.hide(e)}),t):c.hide(e)};return{handleTrigger:function(n){var o="mouseenter"===n.type&&r.Browser.SUPPORTS_TOUCH&&r.Browser.touch;if(!o||!p){var a="click"===n.type,u="persistent"!==l;a&&(0,i.default)(e)&&u?m():function(t){c.callbacks.wait?c.callbacks.wait.call(e,v,t):v()}(n),o&&r.Browser.iOS()&&t.click&&t.click()}},handleMouseleave:function(i){if(!("mouseleave"===i.type&&r.Browser.SUPPORTS_TOUCH&&r.Browser.touch&&p)){if(s)return document.body.addEventListener("mouseleave",m),void document.addEventListener("mousemove",(function i(c){var u=function(){document.body.removeEventListener("mouseleave",m),document.removeEventListener("mousemove",i),m()},s=(0,o.default)(c.target,r.Selectors.TOOLTIPPED_EL),l=(0,o.default)(c.target,r.Selectors.POPPER)===e,p=s===t,d=-1!==f.indexOf("click");if(s&&s!==t)return u();l||p||d||(0,a.default)(c,e,n)&&u()}));m()}},handleBlur:function(t){t.relatedTarget&&!r.Browser.touch&&((0,o.default)(t.relatedTarget,r.Selectors.POPPER)||m())}}};var r=n(0),i=c(n(7)),o=c(n(4)),a=c(n(32));function c(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=r.DefaultsKeys.reduce((function(n,r){var i=t.getAttribute("data-"+r.toLowerCase())||e[r];return"false"===i&&(i=!1),"true"===i&&(i=!0),isFinite(i)&&!isNaN(parseFloat(i))&&(i=parseFloat(i)),"string"==typeof i&&"["===i.trim().charAt(0)&&(i=JSON.parse(i)),n[r]=i,n}),{});return Object.assign({},e,n)};var r=n(0)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){r.Store.forEach((function(e){var n=e.popper,r=e.tippyInstance,i=e.settings,o=i.appendTo,a=i.hideOnClick,c=i.trigger;if(o.contains(n)){var u=!0===a||-1!==c.indexOf("focus"),s=!t||n!==t.popper;u&&s&&(e.settings.onRequestClose(),r.hide(n))}}))};var r=n(0)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(){return!t.done&&(t.done=!0,(0,o.default)(),!0)};var r,i=n(16),o=(r=i)&&r.__esModule?r:{default:r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.popper,n=t.popperInstance,a=t.settings.stickyDuration;(0,r.default)((function t(){n&&n.scheduleUpdate(),e.style[(0,i.default)("transitionDuration")]=a+"ms",(0,o.default)(e)?window.requestAnimationFrame(t):e.style[(0,i.default)("transitionDuration")]=""}))};var r=a(n(5)),i=a(n(1)),o=a(n(7));function a(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.el,n=t.popper,a=t.settings,c=a.appendTo,u=a.followCursor;c.contains(n)||(c.appendChild(n),t.popperInstance?(t.popperInstance.update(),u&&!r.Browser.touch||t.popperInstance.enableEventListeners()):t.popperInstance=(0,o.default)(t),u&&!r.Browser.touch&&(e.addEventListener("mousemove",i.default),t.popperInstance.disableEventListeners()))};var r=n(0),i=a(n(10)),o=a(n(18));function a(t){return t&&t.__esModule?t:{default:t}}a(n(1))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){if(!e)return n();var r=(0,o.default)(t.popper).tooltip,i=!1,a=function(t){t.target!==r||i||(i=!0,n())};r.addEventListener("webkitTransitionEnd",a),r.addEventListener("transitionend",a),clearTimeout(t._transitionendTimeout),t._transitionendTimeout=setTimeout((function(){i||n()}),e)},n(0);var r,i=n(6),o=(r=i)&&r.__esModule?r:{default:r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(0),a=S(n(39)),c=S(n(26)),u=S(n(5)),s=(S(n(1)),S(n(2))),l=S(n(34)),f=S(n(12)),p=S(n(33)),d=S(n(37)),h=S(n(35)),y=S(n(6)),v=S(n(31)),m=S(n(7)),g=S(n(36)),b=S(n(10)),x=S(n(22)),w=S(n(29)),I=S(n(28)),M=S(n(27)),E=S(n(19));function S(t){return t&&t.__esModule?t:{default:t}}function O(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var j=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};O(this,t),o.Browser.SUPPORTED&&((0,c.default)(),this.state={destroyed:!1},this.selector=e,this.settings=r({},o.Defaults,n),(n.show||n.shown||n.hide||n.hidden)&&console.warn("Callbacks without the `on` prefix are deprecated (with the exception of `wait`). Use onShow, onShown, onHide, and onHidden instead."),this.callbacks={wait:n.wait,show:n.onShow||n.show||g.default,shown:n.onShown||n.shown||g.default,hide:n.onHide||n.hide||g.default,hidden:n.onHidden||n.hidden||g.default},this.store=E.default.call(this,(0,x.default)(e)),o.Store.push.apply(o.Store,this.store))}return i(t,[{key:"getPopperElement",value:function(t){try{return(0,s.default)(this.store,(function(e){return e.el===t})).popper}catch(e){console.error("[getPopperElement]: Element passed as the argument does not exist in the instance")}}},{key:"getReferenceElement",value:function(t){try{return(0,s.default)(this.store,(function(e){return e.popper===t})).el}catch(e){console.error("[getReferenceElement]: Popper passed as the argument does not exist in the instance")}}},{key:"getReferenceData",value:function(t){return(0,s.default)(this.store,(function(e){return e.el===t||e.popper===t}))}},{key:"updateSettings",value:function(t,e,n){var i=(0,s.default)(this.store,(function(e){return e.popper===t}));if(i){var o=r({},i.settings,function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},e,n));i.settings=o}}},{key:"updateForReact",value:function(t,e){var n=t.querySelector(o.Selectors.CONTENT),r=(0,s.default)(this.store,(function(e){return e.popper===t}));if(r){var i=r.settings,c=i.useContext,u=i.setReactDOMValue;c?u(a.default.createPortal(e,n)):a.default.render(e,n)}}},{key:"show",value:function(t,e){var n=this;if(!this.state.destroyed){var r=(0,s.default)(this.store,(function(e){return e.popper===t}));if(r){var i=(0,y.default)(t),a=i.tooltip,c=i.circle,l=i.content;if(document.body.contains(r.el)){if(this.callbacks.show.call(t),!r.settings||!1!==r.settings.open){r.settings.reactDOM&&this.updateForReact(t,r.settings.reactDOM);var p=r.el,g=r.settings,b=(g.appendTo,g.sticky),x=g.interactive,E=g.followCursor,S=g.flipDuration,O=g.duration;if(g.dynamicTitle){var j=p.getAttribute("title");j&&(l.innerHTML=j,(0,f.default)(p))}var T=void 0!==e?e:Array.isArray(O)?O[0]:O;(0,v.default)([t,a,c],0),(0,I.default)(r),t.style.visibility="visible",t.setAttribute("aria-hidden","false"),(0,u.default)((function(){E&&!o.Browser.touch||(r.popperInstance.update(),(0,v.default)([t],S)),(0,v.default)([a,c],T),c&&(l.style.opacity=1),x&&p.classList.add("active"),b&&(0,M.default)(r),(0,d.default)(a,c),(0,h.default)([a,c],(function(t){t.contains("tippy-notransition")&&t.remove("tippy-notransition"),t.remove("leave"),t.add("enter")})),(0,w.default)(r,T,(function(){(0,m.default)(t)&&!r._onShownFired&&(x&&t.focus(),a.classList.add("tippy-notransition"),r._onShownFired=!0,n.callbacks.shown.call(t))}))}))}}else this.destroy(t)}}}},{key:"hide",value:function(t,e){var n=this;if(!this.state.destroyed){this.callbacks.hide.call(t);var r=(0,s.default)(this.store,(function(e){return e.popper===t}));if(r){var i=(0,y.default)(t),o=i.tooltip,c=i.circle,u=i.content;if(!1!==r.settings.disabled||!r||!r.settings.open){var l=r&&r.settings&&r.settings.unmountHTMLWhenHide&&r.settings.reactDOM,f=r.el,d=r.settings,g=d.appendTo,x=(d.sticky,d.interactive),I=(d.followCursor,d.html),M=d.trigger,E=d.duration,S=void 0!==e?e:Array.isArray(E)?E[1]:E;r._onShownFired=!1,x&&f.classList.remove("active"),t.style.visibility="hidden",t.setAttribute("aria-hidden","true"),(0,v.default)([o,c,c?u:null],S),c&&(u.style.opacity=0),(0,h.default)([o,c],(function(t){t.contains("tippy-tooltip")&&t.remove("tippy-notransition"),t.remove("enter"),t.add("leave")})),I&&-1!==M.indexOf("click")&&(0,p.default)(f)&&f.focus(),(0,w.default)(r,S,(function(){!(0,m.default)(t)&&g.contains(t)&&"1"!==getComputedStyle(o).opacity&&(f.removeEventListener("mousemove",b.default),r.popperInstance.disableEventListeners(),g.removeChild(t),n.callbacks.hidden.call(t),l&&a.default.unmountComponentAtNode(u))}))}}}}},{key:"update",value:function(t){if(!this.state.destroyed){var e=(0,s.default)(this.store,(function(e){return e.popper===t}));if(e){var n=(0,y.default)(t).content,r=e.el,i=e.settings.html;i instanceof Element?console.warn("Aborted: update() should not be used if `html` is a DOM element"):(n.innerHTML=i?document.getElementById(i.replace("#","")).innerHTML:r.getAttribute("title")||r.getAttribute("data-original-title"),i||(0,f.default)(r))}}}},{key:"destroy",value:function(t,e){var n=this;if(!this.state.destroyed){var r=(0,s.default)(this.store,(function(e){return e.popper===t}));if(r){var i=r.el,a=r.popperInstance,c=r.listeners,u=r._mutationObserver;(0,m.default)(t)&&this.hide(t,0),c.forEach((function(t){return i.removeEventListener(t.event,t.handler)})),i.setAttribute("title",i.getAttribute("data-original-title")),i.removeAttribute("data-original-title"),i.removeAttribute("data-tooltipped"),i.removeAttribute("aria-describedby"),a&&a.destroy(),u&&u.disconnect(),o.Store.splice((0,l.default)(o.Store,(function(e){return e.popper===t})),1),(void 0===e||e)&&(this.store=o.Store.filter((function(t){return t.tippyInstance===n})))}}}},{key:"destroyAll",value:function(){var t=this;if(!this.state.destroyed){var e=this.store.length;this.store.forEach((function(n,r){var i=n.popper;t.destroy(i,r===e-1)})),this.store=null,this.state.destroyed=!0}}}]),t}();function T(t,e){return new j(t,e)}T.Browser=o.Browser,T.Defaults=o.Defaults,T.disableDynamicInputDetection=function(){return o.Browser.dynamicInputDetection=!1},T.enableDynamicInputDetection=function(){return o.Browser.dynamicInputDetection=!0},e.default=T},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){t.forEach((function(t){if(t){var n=c.matches.call(t,i.Selectors.CONTENT)?Math.round(e/1.3):e;t.style[(0,a.default)("transitionDuration")]=n+"ms"}}))};var r,i=n(0),o=n(1),a=(r=o)&&r.__esModule?r:{default:r},c=n(8)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){if(!e.getAttribute("x-placement"))return!0;var r=t.clientX,i=t.clientY,a=n.interactiveBorder,c=n.distance,u=e.getBoundingClientRect(),s=(0,o.default)(e.getAttribute("x-placement")),l=a+c,f={top:u.top-i>a,bottom:i-u.bottom>a,left:u.left-r>a,right:r-u.right>a};switch(s){case"top":f.top=u.top-i>l;break;case"bottom":f.bottom=i-u.bottom>l;break;case"left":f.left=u.left-r>l;break;case"right":f.right=r-u.right>l}return f.top||f.bottom||f.left||f.right};var r,i=n(3),o=(r=i)&&r.__esModule?r:{default:r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return Array.prototype.findIndex?t.findIndex(e):t.indexOf((0,o.default)(t,e))};var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){t.forEach((function(t){t&&e(t.classList)}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){e?window.getComputedStyle(e)[(0,o.default)("transform")]:window.getComputedStyle(t).opacity};var r,i=n(1),o=(r=i)&&r.__esModule?r:{default:r}},function(t,n){t.exports=e},function(t,e){t.exports=n}])},t.exports=r(n(89526),n(65276),n(73961))},93373:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(89526),o=(r=i)&&r.__esModule?r:{default:r};e.default=function(){return o.default.createElement("svg",{width:"14",height:"11",viewBox:"0 0 14 11"},o.default.createElement("title",null,"switch-check"),o.default.createElement("path",{d:"M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0",fill:"#fff",fillRule:"evenodd"}))}},67127:function(t,e,n){"use strict";var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(89526),a=p(o),c=p(n(64403)),u=p(n(2652)),s=p(n(93373)),l=p(n(85865)),f=n(21265);function p(t){return t&&t.__esModule?t:{default:t}}var d=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.handleClick=n.handleClick.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.handleTouchEnd=n.handleTouchEnd.bind(n),n.handleFocus=n.handleFocus.bind(n),n.handleBlur=n.handleBlur.bind(n),n.previouslyChecked=!(!t.checked&&!t.defaultChecked),n.state={checked:!(!t.checked&&!t.defaultChecked),hasFocus:!1},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),i(e,[{key:"componentDidUpdate",value:function(t){t.checked!==this.props.checked&&this.setState({checked:!!this.props.checked})}},{key:"handleClick",value:function(t){var e=this.input;if(t.target!==e&&!this.moved)return this.previouslyChecked=e.checked,t.preventDefault(),e.focus(),void e.click();var n=this.props.hasOwnProperty("checked")?this.props.checked:e.checked;this.setState({checked:n})}},{key:"handleTouchStart",value:function(t){this.startX=(0,f.pointerCoord)(t).x,this.activated=!0}},{key:"handleTouchMove",value:function(t){if(this.activated&&(this.moved=!0,this.startX)){var e=(0,f.pointerCoord)(t).x;this.state.checked&&e+15<this.startX?(this.setState({checked:!1}),this.startX=e,this.activated=!0):e-15>this.startX&&(this.setState({checked:!0}),this.startX=e,this.activated=e<this.startX+5)}}},{key:"handleTouchEnd",value:function(t){if(this.moved){var e=this.input;if(t.preventDefault(),this.startX){var n=(0,f.pointerCoord)(t).x;!0===this.previouslyChecked&&this.startX+4>n?this.previouslyChecked!==this.state.checked&&(this.setState({checked:!1}),this.previouslyChecked=this.state.checked,e.click()):this.startX-4<n&&this.previouslyChecked!==this.state.checked&&(this.setState({checked:!0}),this.previouslyChecked=this.state.checked,e.click()),this.activated=!1,this.startX=null,this.moved=!1}}}},{key:"handleFocus",value:function(t){var e=this.props.onFocus;e&&e(t),this.setState({hasFocus:!0})}},{key:"handleBlur",value:function(t){var e=this.props.onBlur;e&&e(t),this.setState({hasFocus:!1})}},{key:"getIcon",value:function(t){var n=this.props.icons;return n?void 0===n[t]?e.defaultProps.icons[t]:n[t]:null}},{key:"render",value:function(){var t=this,e=this.props,n=e.className,i=(e.icons,function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(e,["className","icons"])),o=(0,c.default)("react-toggle",{"react-toggle--checked":this.state.checked,"react-toggle--focus":this.state.hasFocus,"react-toggle--disabled":this.props.disabled},n);return a.default.createElement("div",{className:o,onClick:this.handleClick,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd},a.default.createElement("div",{className:"react-toggle-track"},a.default.createElement("div",{className:"react-toggle-track-check"},this.getIcon("checked")),a.default.createElement("div",{className:"react-toggle-track-x"},this.getIcon("unchecked"))),a.default.createElement("div",{className:"react-toggle-thumb"}),a.default.createElement("input",r({},i,{ref:function(e){t.input=e},onFocus:this.handleFocus,onBlur:this.handleBlur,className:"react-toggle-screenreader-only",type:"checkbox"})))}}]),e}(o.PureComponent);e.Z=d,d.displayName="Toggle",d.defaultProps={icons:{checked:a.default.createElement(s.default,null),unchecked:a.default.createElement(l.default,null)}},d.propTypes={checked:u.default.bool,disabled:u.default.bool,defaultChecked:u.default.bool,onChange:u.default.func,onFocus:u.default.func,onBlur:u.default.func,className:u.default.string,name:u.default.string,value:u.default.string,id:u.default.string,"aria-labelledby":u.default.string,"aria-label":u.default.string,icons:u.default.oneOfType([u.default.bool,u.default.shape({checked:u.default.node,unchecked:u.default.node})])}},21265:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pointerCoord=function(t){if(t){var e=t.changedTouches;if(e&&e.length>0){var n=e[0];return{x:n.clientX,y:n.clientY}}var r=t.pageX;if(void 0!==r)return{x:r,y:t.pageY}}return{x:0,y:0}}},85865:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(89526),o=(r=i)&&r.__esModule?r:{default:r};e.default=function(){return o.default.createElement("svg",{width:"10",height:"10",viewBox:"0 0 10 10"},o.default.createElement("title",null,"switch-x"),o.default.createElement("path",{d:"M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12",fill:"#fff",fillRule:"evenodd"}))}},2594:function(t){"use strict";var e=Object.prototype.hasOwnProperty,n="~";function r(){}function i(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function o(t,e,r,o,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var c=new i(r,o||t,a),u=n?n+e:e;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],c]:t._events[u].push(c):(t._events[u]=c,t._eventsCount++),t}function a(t,e){0==--t._eventsCount?t._events=new r:delete t._events[e]}function c(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),c.prototype.eventNames=function(){var t,r,i=[];if(0===this._eventsCount)return i;for(r in t=this._events)e.call(t,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},c.prototype.listeners=function(t){var e=n?n+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=new Array(o);i<o;i++)a[i]=r[i].fn;return a},c.prototype.listenerCount=function(t){var e=n?n+t:t,r=this._events[e];return r?r.fn?1:r.length:0},c.prototype.emit=function(t,e,r,i,o,a){var c=n?n+t:t;if(!this._events[c])return!1;var u,s,l=this._events[c],f=arguments.length;if(l.fn){switch(l.once&&this.removeListener(t,l.fn,void 0,!0),f){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,e),!0;case 3:return l.fn.call(l.context,e,r),!0;case 4:return l.fn.call(l.context,e,r,i),!0;case 5:return l.fn.call(l.context,e,r,i,o),!0;case 6:return l.fn.call(l.context,e,r,i,o,a),!0}for(s=1,u=new Array(f-1);s<f;s++)u[s-1]=arguments[s];l.fn.apply(l.context,u)}else{var p,d=l.length;for(s=0;s<d;s++)switch(l[s].once&&this.removeListener(t,l[s].fn,void 0,!0),f){case 1:l[s].fn.call(l[s].context);break;case 2:l[s].fn.call(l[s].context,e);break;case 3:l[s].fn.call(l[s].context,e,r);break;case 4:l[s].fn.call(l[s].context,e,r,i);break;default:if(!u)for(p=1,u=new Array(f-1);p<f;p++)u[p-1]=arguments[p];l[s].fn.apply(l[s].context,u)}}return!0},c.prototype.on=function(t,e,n){return o(this,t,e,n,!1)},c.prototype.once=function(t,e,n){return o(this,t,e,n,!0)},c.prototype.removeListener=function(t,e,r,i){var o=n?n+t:t;if(!this._events[o])return this;if(!e)return a(this,o),this;var c=this._events[o];if(c.fn)c.fn!==e||i&&!c.once||r&&c.context!==r||a(this,o);else{for(var u=0,s=[],l=c.length;u<l;u++)(c[u].fn!==e||i&&!c[u].once||r&&c[u].context!==r)&&s.push(c[u]);s.length?this._events[o]=1===s.length?s[0]:s:a(this,o)}return this},c.prototype.removeAllListeners=function(t){var e;return t?(e=n?n+t:t,this._events[e]&&a(this,e)):(this._events=new r,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=n,c.EventEmitter=c,t.exports=c},93713:function(t,e,n){var r=n(72360)(n(97539),"DataView");t.exports=r},25714:function(t,e,n){var r=n(37470),i=n(53783),o=n(7071),a=n(56406),c=n(4585);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,t.exports=u},65400:function(t,e,n){var r=n(70459),i=n(58345),o=n(75581),a=n(69186),c=n(27036);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,t.exports=u},39325:function(t,e,n){var r=n(72360)(n(97539),"Map");t.exports=r},39010:function(t,e,n){var r=n(69542),i=n(6227),o=n(30659),a=n(15169),c=n(16223);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,t.exports=u},96883:function(t,e,n){var r=n(72360)(n(97539),"Promise");t.exports=r},3195:function(t,e,n){var r=n(72360)(n(97539),"Set");t.exports=r},29584:function(t,e,n){var r=n(39010),i=n(23053),o=n(86478);function a(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,t.exports=a},83045:function(t,e,n){var r=n(65400),i=n(13716),o=n(94627),a=n(35661),c=n(23679),u=n(48172);function s(t){var e=this.__data__=new r(t);this.size=e.size}s.prototype.clear=i,s.prototype.delete=o,s.prototype.get=a,s.prototype.has=c,s.prototype.set=u,t.exports=s},62689:function(t,e,n){var r=n(97539).Symbol;t.exports=r},14097:function(t,e,n){var r=n(97539).Uint8Array;t.exports=r},11894:function(t,e,n){var r=n(72360)(n(97539),"WeakMap");t.exports=r},34385:function(t){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},19699:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}},82492:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}},56558:function(t,e,n){var r=n(62973);t.exports=function(t,e){return!!(null==t?0:t.length)&&r(t,e,0)>-1}},6874:function(t){t.exports=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}},51122:function(t,e,n){var r=n(3747),i=n(80477),o=n(86901),a=n(94553),c=n(42955),u=n(9111),s=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),l=!n&&i(t),f=!n&&!l&&a(t),p=!n&&!l&&!f&&u(t),d=n||l||f||p,h=d?r(t.length,String):[],y=h.length;for(var v in t)!e&&!s.call(t,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,y))||h.push(v);return h}},81271:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}},1048:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}},30094:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},4125:function(t){t.exports=function(t){return t.split("")}},52923:function(t,e,n){var r=n(98830);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},95303:function(t,e,n){var r=n(63838);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},48466:function(t,e,n){var r=n(42819),i=n(83293)(r);t.exports=i},90202:function(t,e,n){var r=n(48466);t.exports=function(t,e){var n=!0;return r(t,(function(t,r,i){return n=!!e(t,r,i)})),n}},88980:function(t,e,n){var r=n(56090);t.exports=function(t,e,n){for(var i=-1,o=t.length;++i<o;){var a=t[i],c=e(a);if(null!=c&&(void 0===u?c==c&&!r(c):n(c,u)))var u=c,s=a}return s}},18866:function(t){t.exports=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}},22287:function(t,e,n){var r=n(1048),i=n(76809);t.exports=function t(e,n,o,a,c){var u=-1,s=e.length;for(o||(o=i),c||(c=[]);++u<s;){var l=e[u];n>0&&o(l)?n>1?t(l,n-1,o,a,c):r(c,l):a||(c[c.length]=l)}return c}},76376:function(t,e,n){var r=n(49171)();t.exports=r},42819:function(t,e,n){var r=n(76376),i=n(33402);t.exports=function(t,e){return t&&r(t,e,i)}},87312:function(t,e,n){var r=n(92853),i=n(13935);t.exports=function(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&n<o;)t=t[i(e[n++])];return n&&n==o?t:void 0}},99487:function(t,e,n){var r=n(1048),i=n(86901);t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},83728:function(t,e,n){var r=n(62689),i=n(46779),o=n(96140),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},70405:function(t){t.exports=function(t,e){return t>e}},77833:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},62973:function(t,e,n){var r=n(18866),i=n(16650),o=n(34173);t.exports=function(t,e,n){return e==e?o(t,e,n):r(t,i,n)}},52107:function(t,e,n){var r=n(83728),i=n(13245);t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},26264:function(t,e,n){var r=n(27005),i=n(13245);t.exports=function t(e,n,o,a,c){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!=e&&n!=n:r(e,n,o,a,t,c))}},27005:function(t,e,n){var r=n(83045),i=n(69092),o=n(90339),a=n(60704),c=n(83192),u=n(86901),s=n(94553),l=n(9111),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,y,v,m){var g=u(t),b=u(e),x=g?p:c(t),w=b?p:c(e),I=(x=x==f?d:x)==d,M=(w=w==f?d:w)==d,E=x==w;if(E&&s(t)){if(!s(e))return!1;g=!0,I=!1}if(E&&!I)return m||(m=new r),g||l(t)?i(t,e,n,y,v,m):o(t,e,x,n,y,v,m);if(!(1&n)){var S=I&&h.call(t,"__wrapped__"),O=M&&h.call(e,"__wrapped__");if(S||O){var j=S?t.value():t,T=O?e.value():e;return m||(m=new r),v(j,T,n,y,m)}}return!!E&&(m||(m=new r),a(t,e,n,y,v,m))}},12184:function(t,e,n){var r=n(83045),i=n(26264);t.exports=function(t,e,n,o){var a=n.length,c=a,u=!o;if(null==t)return!c;for(t=Object(t);a--;){var s=n[a];if(u&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++a<c;){var l=(s=n[a])[0],f=t[l],p=s[1];if(u&&s[2]){if(void 0===f&&!(l in t))return!1}else{var d=new r;if(o)var h=o(f,p,l,t,e,d);if(!(void 0===h?i(p,f,3,o,d):h))return!1}}return!0}},16650:function(t){t.exports=function(t){return t!=t}},51703:function(t,e,n){var r=n(46423),i=n(12741),o=n(11006),a=n(42200),c=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,l=u.toString,f=s.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?p:c).test(a(t))}},94629:function(t,e,n){var r=n(83728),i=n(37572),o=n(13245),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!a[r(t)]}},24421:function(t,e,n){var r=n(72750),i=n(2050),o=n(80592),a=n(86901),c=n(89652);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):r(t):c(t)}},64146:function(t,e,n){var r=n(23562),i=n(53033),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},53857:function(t){t.exports=function(t,e){return t<e}},19106:function(t,e,n){var r=n(48466),i=n(74811);t.exports=function(t,e){var n=-1,o=i(t)?Array(t.length):[];return r(t,(function(t,r,i){o[++n]=e(t,r,i)})),o}},72750:function(t,e,n){var r=n(12184),i=n(58629),o=n(54833);t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},2050:function(t,e,n){var r=n(26264),i=n(63774),o=n(72673),a=n(82123),c=n(84540),u=n(54833),s=n(13935);t.exports=function(t,e){return a(t)&&c(e)?u(s(t),e):function(n){var a=i(n,t);return void 0===a&&a===e?o(n,t):r(e,a,3)}}},14690:function(t,e,n){var r=n(81271),i=n(87312),o=n(24421),a=n(19106),c=n(51724),u=n(23931),s=n(7786),l=n(80592),f=n(86901);t.exports=function(t,e,n){e=e.length?r(e,(function(t){return f(t)?function(e){return i(e,1===t.length?t[0]:t)}:t})):[l];var p=-1;e=r(e,u(o));var d=a(t,(function(t,n,i){return{criteria:r(e,(function(e){return e(t)})),index:++p,value:t}}));return c(d,(function(t,e){return s(t,e,n)}))}},57305:function(t){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},30144:function(t,e,n){var r=n(87312);t.exports=function(t){return function(e){return r(e,t)}}},11279:function(t){var e=Math.ceil,n=Math.max;t.exports=function(t,r,i,o){for(var a=-1,c=n(e((r-t)/(i||1)),0),u=Array(c);c--;)u[o?c:++a]=t,t+=i;return u}},23835:function(t,e,n){var r=n(80592),i=n(24241),o=n(68725);t.exports=function(t,e){return o(i(t,e,r),t+"")}},66600:function(t,e,n){var r=n(50316),i=n(63838),o=n(80592),a=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;t.exports=a},41207:function(t){t.exports=function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}},65820:function(t,e,n){var r=n(48466);t.exports=function(t,e){var n;return r(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n}},51724:function(t){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},3747:function(t){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},48396:function(t,e,n){var r=n(62689),i=n(81271),o=n(86901),a=n(56090),c=r?r.prototype:void 0,u=c?c.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(a(e))return u?u.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n}},23931:function(t){t.exports=function(t){return function(e){return t(e)}}},3959:function(t,e,n){var r=n(29584),i=n(56558),o=n(6874),a=n(52013),c=n(54559),u=n(64246);t.exports=function(t,e,n){var s=-1,l=i,f=t.length,p=!0,d=[],h=d;if(n)p=!1,l=o;else if(f>=200){var y=e?null:c(t);if(y)return u(y);p=!1,l=a,h=new r}else h=e?[]:d;t:for(;++s<f;){var v=t[s],m=e?e(v):v;if(v=n||0!==v?v:0,p&&m==m){for(var g=h.length;g--;)if(h[g]===m)continue t;e&&h.push(m),d.push(v)}else l(h,m,n)||(h!==d&&h.push(m),d.push(v))}return d}},52013:function(t){t.exports=function(t,e){return t.has(e)}},92853:function(t,e,n){var r=n(86901),i=n(82123),o=n(19051),a=n(19544);t.exports=function(t,e){return r(t)?t:i(t,e)?[t]:o(a(t))}},13512:function(t,e,n){var r=n(41207);t.exports=function(t,e,n){var i=t.length;return n=void 0===n?i:n,!e&&n>=i?t:r(t,e,n)}},70779:function(t,e,n){var r=n(56090);t.exports=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,o=t==t,a=r(t),c=void 0!==e,u=null===e,s=e==e,l=r(e);if(!u&&!l&&!a&&t>e||a&&c&&s&&!u&&!l||i&&c&&s||!n&&s||!o)return 1;if(!i&&!a&&!l&&t<e||l&&n&&o&&!i&&!a||u&&n&&o||!c&&o||!s)return-1}return 0}},7786:function(t,e,n){var r=n(70779);t.exports=function(t,e,n){for(var i=-1,o=t.criteria,a=e.criteria,c=o.length,u=n.length;++i<c;){var s=r(o[i],a[i]);if(s)return i>=u?s:s*("desc"==n[i]?-1:1)}return t.index-e.index}},37434:function(t,e,n){var r=n(97539)["__core-js_shared__"];t.exports=r},83293:function(t,e,n){var r=n(74811);t.exports=function(t,e){return function(n,i){if(null==n)return n;if(!r(n))return t(n,i);for(var o=n.length,a=e?o:-1,c=Object(n);(e?a--:++a<o)&&!1!==i(c[a],a,c););return n}}},49171:function(t){t.exports=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),c=a.length;c--;){var u=a[t?c:++i];if(!1===n(o[u],u,o))break}return e}}},98088:function(t,e,n){var r=n(13512),i=n(71535),o=n(57269),a=n(19544);t.exports=function(t){return function(e){e=a(e);var n=i(e)?o(e):void 0,c=n?n[0]:e.charAt(0),u=n?r(n,1).join(""):e.slice(1);return c[t]()+u}}},98029:function(t,e,n){var r=n(24421),i=n(74811),o=n(33402);t.exports=function(t){return function(e,n,a){var c=Object(e);if(!i(e)){var u=r(n,3);e=o(e),n=function(t){return u(c[t],t,c)}}var s=t(e,n,a);return s>-1?c[u?e[s]:s]:void 0}}},21955:function(t,e,n){var r=n(11279),i=n(50817),o=n(49147);t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&i(e,n,a)&&(n=a=void 0),e=o(e),void 0===n?(n=e,e=0):n=o(n),a=void 0===a?e<n?1:-1:o(a),r(e,n,a,t)}}},54559:function(t,e,n){var r=n(3195),i=n(27907),o=n(64246),a=r&&1/o(new r([,-0]))[1]==1/0?function(t){return new r(t)}:i;t.exports=a},63838:function(t,e,n){var r=n(72360),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=i},69092:function(t,e,n){var r=n(29584),i=n(30094),o=n(52013);t.exports=function(t,e,n,a,c,u){var s=1&n,l=t.length,f=e.length;if(l!=f&&!(s&&f>l))return!1;var p=u.get(t),d=u.get(e);if(p&&d)return p==e&&d==t;var h=-1,y=!0,v=2&n?new r:void 0;for(u.set(t,e),u.set(e,t);++h<l;){var m=t[h],g=e[h];if(a)var b=s?a(g,m,h,e,t,u):a(m,g,h,t,e,u);if(void 0!==b){if(b)continue;y=!1;break}if(v){if(!i(e,(function(t,e){if(!o(v,e)&&(m===t||c(m,t,n,a,u)))return v.push(e)}))){y=!1;break}}else if(m!==g&&!c(m,g,n,a,u)){y=!1;break}}return u.delete(t),u.delete(e),y}},90339:function(t,e,n){var r=n(62689),i=n(14097),o=n(98830),a=n(69092),c=n(98076),u=n(64246),s=r?r.prototype:void 0,l=s?s.valueOf:void 0;t.exports=function(t,e,n,r,s,f,p){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var d=c;case"[object Set]":var h=1&r;if(d||(d=u),t.size!=e.size&&!h)return!1;var y=p.get(t);if(y)return y==e;r|=2,p.set(t,e);var v=a(d(t),d(e),r,s,f,p);return p.delete(t),v;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},60704:function(t,e,n){var r=n(90253),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,o,a,c){var u=1&n,s=r(t),l=s.length;if(l!=r(e).length&&!u)return!1;for(var f=l;f--;){var p=s[f];if(!(u?p in e:i.call(e,p)))return!1}var d=c.get(t),h=c.get(e);if(d&&h)return d==e&&h==t;var y=!0;c.set(t,e),c.set(e,t);for(var v=u;++f<l;){var m=t[p=s[f]],g=e[p];if(o)var b=u?o(g,m,p,e,t,c):o(m,g,p,t,e,c);if(!(void 0===b?m===g||a(m,g,n,o,c):b)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var x=t.constructor,w=e.constructor;x==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(y=!1)}return c.delete(t),c.delete(e),y}},42849:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},90253:function(t,e,n){var r=n(99487),i=n(78758),o=n(33402);t.exports=function(t){return r(t,o,i)}},53212:function(t,e,n){var r=n(89085);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},58629:function(t,e,n){var r=n(84540),i=n(33402);t.exports=function(t){for(var e=i(t),n=e.length;n--;){var o=e[n],a=t[o];e[n]=[o,a,r(a)]}return e}},72360:function(t,e,n){var r=n(51703),i=n(93882);t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},46779:function(t,e,n){var r=n(62689),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,c=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(u){}var i=a.call(t);return r&&(e?t[c]=n:delete t[c]),i}},78758:function(t,e,n){var r=n(82492),i=n(20897),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,c=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return o.call(t,e)})))}:i;t.exports=c},83192:function(t,e,n){var r=n(93713),i=n(39325),o=n(96883),a=n(3195),c=n(11894),u=n(83728),s=n(42200),l="[object Map]",f="[object Promise]",p="[object Set]",d="[object WeakMap]",h="[object DataView]",y=s(r),v=s(i),m=s(o),g=s(a),b=s(c),x=u;(r&&x(new r(new ArrayBuffer(1)))!=h||i&&x(new i)!=l||o&&x(o.resolve())!=f||a&&x(new a)!=p||c&&x(new c)!=d)&&(x=function(t){var e=u(t),n="[object Object]"==e?t.constructor:void 0,r=n?s(n):"";if(r)switch(r){case y:return h;case v:return l;case m:return f;case g:return p;case b:return d}return e}),t.exports=x},93882:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},11918:function(t,e,n){var r=n(92853),i=n(80477),o=n(86901),a=n(42955),c=n(37572),u=n(13935);t.exports=function(t,e,n){for(var s=-1,l=(e=r(e,t)).length,f=!1;++s<l;){var p=u(e[s]);if(!(f=null!=t&&n(t,p)))break;t=t[p]}return f||++s!=l?f:!!(l=null==t?0:t.length)&&c(l)&&a(p,l)&&(o(t)||i(t))}},71535:function(t){var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},37470:function(t,e,n){var r=n(23062);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},53783:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},7071:function(t,e,n){var r=n(23062),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(e,t)?e[t]:void 0}},56406:function(t,e,n){var r=n(23062),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:i.call(e,t)}},4585:function(t,e,n){var r=n(23062);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},76809:function(t,e,n){var r=n(62689),i=n(80477),o=n(86901),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},42955:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},50817:function(t,e,n){var r=n(98830),i=n(74811),o=n(42955),a=n(11006);t.exports=function(t,e,n){if(!a(n))return!1;var c=typeof e;return!!("number"==c?i(n)&&o(e,n.length):"string"==c&&e in n)&&r(n[e],t)}},82123:function(t,e,n){var r=n(86901),i=n(56090),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||(a.test(t)||!o.test(t)||null!=e&&t in Object(e))}},89085:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},12741:function(t,e,n){var r,i=n(37434),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!o&&o in t}},23562:function(t){var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},84540:function(t,e,n){var r=n(11006);t.exports=function(t){return t==t&&!r(t)}},70459:function(t){t.exports=function(){this.__data__=[],this.size=0}},58345:function(t,e,n){var r=n(52923),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0)&&(n==e.length-1?e.pop():i.call(e,n,1),--this.size,!0)}},75581:function(t,e,n){var r=n(52923);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},69186:function(t,e,n){var r=n(52923);t.exports=function(t){return r(this.__data__,t)>-1}},27036:function(t,e,n){var r=n(52923);t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},69542:function(t,e,n){var r=n(25714),i=n(65400),o=n(39325);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},6227:function(t,e,n){var r=n(53212);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},30659:function(t,e,n){var r=n(53212);t.exports=function(t){return r(this,t).get(t)}},15169:function(t,e,n){var r=n(53212);t.exports=function(t){return r(this,t).has(t)}},16223:function(t,e,n){var r=n(53212);t.exports=function(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}},98076:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},54833:function(t){t.exports=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}},35378:function(t,e,n){var r=n(41272);t.exports=function(t){var e=r(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},23062:function(t,e,n){var r=n(72360)(Object,"create");t.exports=r},53033:function(t,e,n){var r=n(92055)(Object.keys,Object);t.exports=r},24998:function(t,e,n){t=n.nmd(t);var r=n(42849),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,c=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();t.exports=c},96140:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},92055:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},24241:function(t,e,n){var r=n(34385),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,c=i(o.length-e,0),u=Array(c);++a<c;)u[a]=o[e+a];a=-1;for(var s=Array(e+1);++a<e;)s[a]=o[a];return s[e]=n(u),r(t,this,s)}}},97539:function(t,e,n){var r=n(42849),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},23053:function(t){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},86478:function(t){t.exports=function(t){return this.__data__.has(t)}},64246:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},68725:function(t,e,n){var r=n(66600),i=n(55751)(r);t.exports=i},55751:function(t){var e=Date.now;t.exports=function(t){var n=0,r=0;return function(){var i=e(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},13716:function(t,e,n){var r=n(65400);t.exports=function(){this.__data__=new r,this.size=0}},94627:function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},35661:function(t){t.exports=function(t){return this.__data__.get(t)}},23679:function(t){t.exports=function(t){return this.__data__.has(t)}},48172:function(t,e,n){var r=n(65400),i=n(39325),o=n(39010);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}},34173:function(t){t.exports=function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}},57269:function(t,e,n){var r=n(4125),i=n(71535),o=n(46791);t.exports=function(t){return i(t)?o(t):r(t)}},19051:function(t,e,n){var r=n(35378),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,n,r,i){e.push(r?i.replace(o,"$1"):n||t)})),e}));t.exports=a},13935:function(t,e,n){var r=n(56090);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},42200:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(n){}try{return t+""}catch(n){}}return""}},46791:function(t){var e="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+n+"|"+r+")"+"?",u="[\\ufe0e\\ufe0f]?",s=u+c+("(?:\\u200d(?:"+[i,o,a].join("|")+")"+u+c+")*"),l="(?:"+[i+n+"?",n,o,a,e].join("|")+")",f=RegExp(r+"(?="+r+")|"+l+s,"g");t.exports=function(t){return t.match(f)||[]}},50316:function(t){t.exports=function(t){return function(){return t}}},71629:function(t,e,n){var r=n(11006),i=n(35074),o=n(15364),a=Math.max,c=Math.min;t.exports=function(t,e,n){var u,s,l,f,p,d,h=0,y=!1,v=!1,m=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var n=u,r=s;return u=s=void 0,h=e,f=t.apply(r,n)}function b(t){return h=t,p=setTimeout(w,e),y?g(t):f}function x(t){var n=t-d;return void 0===d||n>=e||n<0||v&&t-h>=l}function w(){var t=i();if(x(t))return I(t);p=setTimeout(w,function(t){var n=e-(t-d);return v?c(n,l-(t-h)):n}(t))}function I(t){return p=void 0,m&&u?g(t):(u=s=void 0,f)}function M(){var t=i(),n=x(t);if(u=arguments,s=this,d=t,n){if(void 0===p)return b(d);if(v)return clearTimeout(p),p=setTimeout(w,e),g(d)}return void 0===p&&(p=setTimeout(w,e)),f}return e=o(e)||0,r(n)&&(y=!!n.leading,l=(v="maxWait"in n)?a(o(n.maxWait)||0,e):l,m="trailing"in n?!!n.trailing:m),M.cancel=function(){void 0!==p&&clearTimeout(p),h=0,u=d=s=p=void 0},M.flush=function(){return void 0===p?f:I(i())},M}},98830:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},13485:function(t,e,n){var r=n(19699),i=n(90202),o=n(24421),a=n(86901),c=n(50817);t.exports=function(t,e,n){var u=a(t)?r:i;return n&&c(t,e,n)&&(e=void 0),u(t,o(e,3))}},77106:function(t,e,n){var r=n(98029)(n(19403));t.exports=r},19403:function(t,e,n){var r=n(18866),i=n(24421),o=n(28071),a=Math.max;t.exports=function(t,e,n){var c=null==t?0:t.length;if(!c)return-1;var u=null==n?0:o(n);return u<0&&(u=a(c+u,0)),r(t,i(e,3),u)}},41719:function(t,e,n){var r=n(22287),i=n(79222);t.exports=function(t,e){return r(i(t,e),1)}},70418:function(t,e,n){var r=n(22287);t.exports=function(t){return(null==t?0:t.length)?r(t,1):[]}},63774:function(t,e,n){var r=n(87312);t.exports=function(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}},72673:function(t,e,n){var r=n(77833),i=n(11918);t.exports=function(t,e){return null!=t&&i(t,e,r)}},80592:function(t){t.exports=function(t){return t}},80477:function(t,e,n){var r=n(52107),i=n(13245),o=Object.prototype,a=o.hasOwnProperty,c=o.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return i(t)&&a.call(t,"callee")&&!c.call(t,"callee")};t.exports=u},86901:function(t){var e=Array.isArray;t.exports=e},74811:function(t,e,n){var r=n(46423),i=n(37572);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},47563:function(t,e,n){var r=n(83728),i=n(13245);t.exports=function(t){return!0===t||!1===t||i(t)&&"[object Boolean]"==r(t)}},94553:function(t,e,n){t=n.nmd(t);var r=n(97539),i=n(25266),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,c=a&&a.exports===o?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||i;t.exports=u},60879:function(t,e,n){var r=n(26264);t.exports=function(t,e){return r(t,e)}},46423:function(t,e,n){var r=n(83728),i=n(11006);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},37572:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},81027:function(t,e,n){var r=n(10442);t.exports=function(t){return r(t)&&t!=+t}},14847:function(t){t.exports=function(t){return null==t}},10442:function(t,e,n){var r=n(83728),i=n(13245);t.exports=function(t){return"number"==typeof t||i(t)&&"[object Number]"==r(t)}},11006:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},13245:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},9338:function(t,e,n){var r=n(83728),i=n(86901),o=n(13245);t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==r(t)}},56090:function(t,e,n){var r=n(83728),i=n(13245);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},9111:function(t,e,n){var r=n(94629),i=n(23931),o=n(24998),a=o&&o.isTypedArray,c=a?i(a):r;t.exports=c},33402:function(t,e,n){var r=n(51122),i=n(64146),o=n(74811);t.exports=function(t){return o(t)?r(t):i(t)}},16731:function(t){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},79222:function(t,e,n){var r=n(81271),i=n(24421),o=n(19106),a=n(86901);t.exports=function(t,e){return(a(t)?r:o)(t,i(e,3))}},18345:function(t,e,n){var r=n(95303),i=n(42819),o=n(24421);t.exports=function(t,e){var n={};return e=o(e,3),i(t,(function(t,i,o){r(n,i,e(t,i,o))})),n}},11974:function(t,e,n){var r=n(88980),i=n(70405),o=n(80592);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},41272:function(t,e,n){var r=n(39010);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},33323:function(t,e,n){var r=n(88980),i=n(53857),o=n(80592);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},27907:function(t){t.exports=function(){}},35074:function(t,e,n){var r=n(97539);t.exports=function(){return r.Date.now()}},89652:function(t,e,n){var r=n(57305),i=n(30144),o=n(82123),a=n(13935);t.exports=function(t){return o(t)?r(a(t)):i(t)}},6934:function(t,e,n){var r=n(21955)();t.exports=r},94927:function(t,e,n){var r=n(30094),i=n(24421),o=n(65820),a=n(86901),c=n(50817);t.exports=function(t,e,n){var u=a(t)?r:o;return n&&c(t,e,n)&&(e=void 0),u(t,i(e,3))}},5251:function(t,e,n){var r=n(22287),i=n(14690),o=n(23835),a=n(50817),c=o((function(t,e){if(null==t)return[];var n=e.length;return n>1&&a(t,e[0],e[1])?e=[]:n>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,r(e,1),[])}));t.exports=c},20897:function(t){t.exports=function(){return[]}},25266:function(t){t.exports=function(){return!1}},73804:function(t,e,n){var r=n(71629),i=n(11006);t.exports=function(t,e,n){var o=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),r(t,e,{leading:o,maxWait:e,trailing:a})}},49147:function(t,e,n){var r=n(15364),i=1/0;t.exports=function(t){return t?(t=r(t))===i||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},28071:function(t,e,n){var r=n(49147);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},15364:function(t,e,n){var r=n(11006),i=n(56090),o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,s=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var n=c.test(t);return n||u.test(t)?s(t.slice(2),n?2:8):a.test(t)?NaN:+t}},19544:function(t,e,n){var r=n(48396);t.exports=function(t){return null==t?"":r(t)}},36766:function(t,e,n){var r=n(24421),i=n(3959);t.exports=function(t,e){return t&&t.length?i(t,r(e,2)):[]}},21528:function(t,e,n){var r=n(98088)("toUpperCase");t.exports=r},32018:function(t,e){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,y=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,m=n?Symbol.for("react.fundamental"):60117,g=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function x(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case l:case f:case o:case c:case a:case d:return t;default:switch(t=t&&t.$$typeof){case s:case p:case u:return t;default:return e}}case v:case y:case i:return e}}}function w(t){return x(t)===f}e.isFragment=function(t){return x(t)===o}},32822:function(t,e,n){"use strict";t.exports=n(32018)},55502:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=c(n(59069)),i=n(3459),o=c(n(60699)),a=c(n(15205));function c(t){return t&&t.__esModule?t:{default:t}}var u=/((?:\-[a-z]+\-)?calc)/;e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return(0,r.default)(t).walk((function(t){if("function"===t.type&&u.test(t.value)){var n=r.default.stringify(t.nodes);if(!(n.indexOf("constant")>=0||n.indexOf("env")>=0)){var c=i.parser.parse(n),s=(0,o.default)(c,e);t.type="word",t.value=(0,a.default)(t.value,s,e)}}}),!0).toString()},t.exports=e.default},87773:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(68598),o=(r=i)&&r.__esModule?r:{default:r};e.default=function(t,e,n){switch(t.type){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":return function(t,e,n){e.type===t.type&&(e={type:t.type,value:(0,o.default)(e.value,e.unit,t.unit,n),unit:t.unit});return{left:t,right:e}}(t,e,n);default:return{left:t,right:e}}},t.exports=e.default},60699:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flip=s;var r,i=n(87773),o=(r=i)&&r.__esModule?r:{default:r};function a(t,e){return"MathExpression"===t.type?function(t,e){switch((t=function(t,e){var n=(0,o.default)(t.left,t.right,e),r=a(n.left,e),i=a(n.right,e);"MathExpression"===r.type&&"MathExpression"===i.type&&("/"===r.operator&&"*"===i.operator||"-"===r.operator&&"+"===i.operator||"*"===r.operator&&"/"===i.operator||"+"===r.operator&&"-"===i.operator)&&(c(r.right,i.right)?n=(0,o.default)(r.left,i.left,e):c(r.right,i.left)&&(n=(0,o.default)(r.left,i.right,e)),r=a(n.left,e),i=a(n.right,e));return t.left=r,t.right=i,t}(t,e)).operator){case"+":case"-":return function(t,e){var n=t,r=n.left,i=n.right,o=n.operator;if("CssVariable"===r.type||"CssVariable"===i.type)return t;if(0===i.value)return r;if(0===r.value&&"+"===o)return i;if(0===r.value&&"-"===o)return l(i);r.type===i.type&&u(r.type)&&((t=Object.assign({},r)).value="+"===o?r.value+i.value:r.value-i.value);if(u(r.type)&&("+"===i.operator||"-"===i.operator)&&"MathExpression"===i.type){if(r.type===i.left.type)return(t=Object.assign({},t)).left=a({type:"MathExpression",operator:o,left:r,right:i.left},e),t.right=i.right,t.operator="-"===o?s(i.operator):i.operator,a(t,e);if(r.type===i.right.type)return(t=Object.assign({},t)).left=a({type:"MathExpression",operator:"-"===o?s(i.operator):i.operator,left:r,right:i.right},e),t.right=i.left,a(t,e)}if("MathExpression"===r.type&&("+"===r.operator||"-"===r.operator)&&u(i.type)){if(i.type===r.left.type)return(t=Object.assign({},r)).left=a({type:"MathExpression",operator:o,left:r.left,right:i},e),a(t,e);if(i.type===r.right.type)return t=Object.assign({},r),"-"===r.operator?(t.right=a({type:"MathExpression",operator:"-"===o?"+":"-",left:i,right:r.right},e),t.operator="-"===o?"-":"+"):t.right=a({type:"MathExpression",operator:o,left:r.right,right:i},e),t.right.value<0&&(t.right.value*=-1,t.operator="-"===t.operator?"+":"-"),a(t,e)}return t}(t,e);case"/":return function(t,e){if(!u(t.right.type))return t;if("Value"!==t.right.type)throw new Error('Cannot divide by "'+t.right.unit+'", number expected');if(0===t.right.value)throw new Error("Cannot divide by zero");if("MathExpression"===t.left.type)return u(t.left.left.type)&&u(t.left.right.type)?(t.left.left.value/=t.right.value,t.left.right.value/=t.right.value,a(t.left,e)):t;if(u(t.left.type))return t.left.value/=t.right.value,t.left;return t}(t,e);case"*":return function(t){if("MathExpression"===t.left.type&&"Value"===t.right.type){if(u(t.left.left.type)&&u(t.left.right.type))return t.left.left.value*=t.right.value,t.left.right.value*=t.right.value,t.left}else{if(u(t.left.type)&&"Value"===t.right.type)return t.left.value*=t.right.value,t.left;if("Value"===t.left.type&&"MathExpression"===t.right.type){if(u(t.right.left.type)&&u(t.right.right.type))return t.right.left.value*=t.left.value,t.right.right.value*=t.left.value,t.right}else if("Value"===t.left.type&&u(t.right.type))return t.right.value*=t.left.value,t.right}return t}(t)}return t}(t,e):"Calc"===t.type?a(t.value,e):t}function c(t,e){return t.type===e.type&&t.value===e.value}function u(t){switch(t){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":case"EmValue":case"ExValue":case"ChValue":case"RemValue":case"VhValue":case"VwValue":case"VminValue":case"VmaxValue":case"PercentageValue":case"Value":return!0}return!1}function s(t){return"+"===t?"-":"+"}function l(t){return u(t.type)?t.value=-t.value:"MathExpression"==t.type&&(t.left=l(t.left),t.right=l(t.right)),t}e.default=a},15205:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r=a(e,n);return"MathExpression"===e.type&&(r=t+"("+r+")"),r};var r=n(60699),i={"*":0,"/":0,"+":1,"-":1};function o(t,e){if(!1!==e){var n=Math.pow(10,e);return Math.round(t*n)/n}return t}function a(t,e){switch(t.type){case"MathExpression":var n=t.left,c=t.right,u=t.operator,s="";return"MathExpression"===n.type&&i[u]<i[n.operator]?s+="("+a(n,e)+")":s+=a(n,e),s+=" "+t.operator+" ","MathExpression"===c.type&&i[u]<i[c.operator]?s+="("+a(c,e)+")":"MathExpression"===c.type&&"-"===u&&["+","-"].includes(c.operator)?(c.operator=(0,r.flip)(c.operator),s+=a(c,e)):s+=a(c,e),s;case"Value":return o(t.value,e);case"CssVariable":return t.fallback?"var("+t.value+", "+a(t.fallback,e)+")":"var("+t.value+")";case"Calc":return t.prefix?"-"+t.prefix+"-calc("+a(t.value,e)+")":"calc("+a(t.value,e)+")";default:return o(t.value,e)+t.unit}}t.exports=e.default},3459:function(t,e){var n=function(){function t(t,e){var n;if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonParserError"}),null==t&&(t="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:t}),this.hash=e,e&&e.exception instanceof Error){var r=e.exception;this.message=r.message||t,n=r.stack}n||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):n=new Error(t).stack),n&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:n})}function e(t,e,n){n=n||0;for(var r=0;r<e;r++)this.push(t),t+=n}function n(t,e){for(e+=t=this.length-t;t<e;t++)this.push(this[t])}function r(t){for(var e=[],n=0,r=t.length;n<r;n++){var i=t[n];"function"==typeof i?(n++,i.apply(e,t[n])):e.push(i)}return e}"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(t.prototype,Error.prototype):t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.name="JisonParserError";var i={trace:function(){},JisonParserError:t,yy:{},options:{type:"lalr",hasPartialLrUpgradeOnConflict:!0,errorRecoveryTokenDiscardCount:3},symbols_:{$accept:0,$end:1,ADD:3,ANGLE:16,CHS:22,COMMA:14,CSS_CPROP:13,CSS_VAR:12,DIV:6,EMS:20,EOF:1,EXS:21,FREQ:18,LENGTH:15,LPAREN:7,MUL:5,NESTED_CALC:9,NUMBER:11,PERCENTAGE:28,PREFIX:10,REMS:23,RES:19,RPAREN:8,SUB:4,TIME:17,VHS:24,VMAXS:27,VMINS:26,VWS:25,css_value:33,css_variable:32,error:2,expression:29,math_expression:30,value:31},terminals_:{1:"EOF",2:"error",3:"ADD",4:"SUB",5:"MUL",6:"DIV",7:"LPAREN",8:"RPAREN",9:"NESTED_CALC",10:"PREFIX",11:"NUMBER",12:"CSS_VAR",13:"CSS_CPROP",14:"COMMA",15:"LENGTH",16:"ANGLE",17:"TIME",18:"FREQ",19:"RES",20:"EMS",21:"EXS",22:"CHS",23:"REMS",24:"VHS",25:"VWS",26:"VMINS",27:"VMAXS",28:"PERCENTAGE"},TERROR:2,EOF:1,originalQuoteName:null,originalParseError:null,cleanupAfterParse:null,constructParseErrorInfo:null,yyMergeLocationInfo:null,__reentrant_call_depth:0,__error_infos:[],__error_recovery_infos:[],quoteName:function(t){return'"'+t+'"'},getSymbolName:function(t){if(this.terminals_[t])return this.terminals_[t];var e=this.symbols_;for(var n in e)if(e[n]===t)return n;return null},describeSymbol:function(t){if(t!==this.EOF&&this.terminal_descriptions_&&this.terminal_descriptions_[t])return this.terminal_descriptions_[t];if(t===this.EOF)return"end of input";var e=this.getSymbolName(t);return e?this.quoteName(e):null},collect_expected_token_set:function(t,e){var n=this.TERROR,r=[],i={};if(!e&&this.state_descriptions_&&this.state_descriptions_[t])return[this.state_descriptions_[t]];for(var o in this.table[t])if((o=+o)!==n){var a=e?o:this.describeSymbol(o);a&&!i[a]&&(r.push(a),i[a]=!0)}return r},productions_:function(t){for(var e=[],n=t.pop,r=t.rule,i=0,o=n.length;i<o;i++)e.push([n[i],r[i]]);return e}({pop:r([29,e,[30,10],31,31,32,32,e,[33,15]]),rule:r([2,e,[3,5],4,7,e,[1,4],2,4,6,e,[1,14],2])}),performAction:function(t,e,n){var r=this.yy;r.parser,r.lexer;switch(t){case 0:
|
37 |
+
/*! Production:: $accept : expression $end */
|
38 |
+
this.$=n[e-1];break;case 1:
|
39 |
+
/*! Production:: expression : math_expression EOF */
|
40 |
+
return this.$=n[e-1],n[e-1];case 2:
|
41 |
+
/*! Production:: math_expression : math_expression ADD math_expression */case 3:
|
42 |
+
/*! Production:: math_expression : math_expression SUB math_expression */case 4:
|
43 |
+
/*! Production:: math_expression : math_expression MUL math_expression */case 5:
|
44 |
+
/*! Production:: math_expression : math_expression DIV math_expression */
|
45 |
+
this.$={type:"MathExpression",operator:n[e-1],left:n[e-2],right:n[e]};break;case 6:
|
46 |
+
/*! Production:: math_expression : LPAREN math_expression RPAREN */
|
47 |
+
this.$=n[e-1];break;case 7:
|
48 |
+
/*! Production:: math_expression : NESTED_CALC LPAREN math_expression RPAREN */
|
49 |
+
this.$={type:"Calc",value:n[e-1]};break;case 8:
|
50 |
+
/*! Production:: math_expression : SUB PREFIX SUB NESTED_CALC LPAREN math_expression RPAREN */
|
51 |
+
this.$={type:"Calc",value:n[e-1],prefix:n[e-5]};break;case 9:
|
52 |
+
/*! Production:: math_expression : css_variable */case 10:
|
53 |
+
/*! Production:: math_expression : css_value */case 11:
|
54 |
+
/*! Production:: math_expression : value */
|
55 |
+
this.$=n[e];break;case 12:
|
56 |
+
/*! Production:: value : NUMBER */
|
57 |
+
this.$={type:"Value",value:parseFloat(n[e])};break;case 13:
|
58 |
+
/*! Production:: value : SUB NUMBER */
|
59 |
+
this.$={type:"Value",value:-1*parseFloat(n[e])};break;case 14:
|
60 |
+
/*! Production:: css_variable : CSS_VAR LPAREN CSS_CPROP RPAREN */
|
61 |
+
this.$={type:"CssVariable",value:n[e-1]};break;case 15:
|
62 |
+
/*! Production:: css_variable : CSS_VAR LPAREN CSS_CPROP COMMA math_expression RPAREN */
|
63 |
+
this.$={type:"CssVariable",value:n[e-3],fallback:n[e-1]};break;case 16:
|
64 |
+
/*! Production:: css_value : LENGTH */
|
65 |
+
this.$={type:"LengthValue",value:parseFloat(n[e]),unit:/[a-z]+/.exec(n[e])[0]};break;case 17:
|
66 |
+
/*! Production:: css_value : ANGLE */
|
67 |
+
this.$={type:"AngleValue",value:parseFloat(n[e]),unit:/[a-z]+/.exec(n[e])[0]};break;case 18:
|
68 |
+
/*! Production:: css_value : TIME */
|
69 |
+
this.$={type:"TimeValue",value:parseFloat(n[e]),unit:/[a-z]+/.exec(n[e])[0]};break;case 19:
|
70 |
+
/*! Production:: css_value : FREQ */
|
71 |
+
this.$={type:"FrequencyValue",value:parseFloat(n[e]),unit:/[a-z]+/.exec(n[e])[0]};break;case 20:
|
72 |
+
/*! Production:: css_value : RES */
|
73 |
+
this.$={type:"ResolutionValue",value:parseFloat(n[e]),unit:/[a-z]+/.exec(n[e])[0]};break;case 21:
|
74 |
+
/*! Production:: css_value : EMS */
|
75 |
+
this.$={type:"EmValue",value:parseFloat(n[e]),unit:"em"};break;case 22:
|
76 |
+
/*! Production:: css_value : EXS */
|
77 |
+
this.$={type:"ExValue",value:parseFloat(n[e]),unit:"ex"};break;case 23:
|
78 |
+
/*! Production:: css_value : CHS */
|
79 |
+
this.$={type:"ChValue",value:parseFloat(n[e]),unit:"ch"};break;case 24:
|
80 |
+
/*! Production:: css_value : REMS */
|
81 |
+
this.$={type:"RemValue",value:parseFloat(n[e]),unit:"rem"};break;case 25:
|
82 |
+
/*! Production:: css_value : VHS */
|
83 |
+
this.$={type:"VhValue",value:parseFloat(n[e]),unit:"vh"};break;case 26:
|
84 |
+
/*! Production:: css_value : VWS */
|
85 |
+
this.$={type:"VwValue",value:parseFloat(n[e]),unit:"vw"};break;case 27:
|
86 |
+
/*! Production:: css_value : VMINS */
|
87 |
+
this.$={type:"VminValue",value:parseFloat(n[e]),unit:"vmin"};break;case 28:
|
88 |
+
/*! Production:: css_value : VMAXS */
|
89 |
+
this.$={type:"VmaxValue",value:parseFloat(n[e]),unit:"vmax"};break;case 29:
|
90 |
+
/*! Production:: css_value : PERCENTAGE */
|
91 |
+
this.$={type:"PercentageValue",value:parseFloat(n[e]),unit:"%"};break;case 30:
|
92 |
+
/*! Production:: css_value : SUB css_value */
|
93 |
+
var i=n[e];i.value*=-1,this.$=i}},table:function(t){for(var e=[],n=t.len,r=t.symbol,i=t.type,o=t.state,a=t.mode,c=t.goto,u=0,s=n.length;u<s;u++){for(var l=n[u],f={},p=0;p<l;p++){var d=r.shift();switch(i.shift()){case 2:f[d]=[a.shift(),c.shift()];break;case 0:f[d]=o.shift();break;default:f[d]=[3]}}e.push(f)}return e}({len:r([24,1,5,23,1,18,e,[0,3],1,e,[0,16],e,[23,4],n,[28,3],0,0,16,1,6,6,e,[0,3],5,1,2,n,[37,3],n,[20,3],5,0,0]),symbol:r([4,7,9,11,12,e,[15,19,1],1,1,e,[3,4,1],n,[30,19],n,[29,4],7,4,10,11,n,[22,14],n,[19,3],n,[43,22],n,[23,69],n,[139,4],8,n,[51,24],4,n,[138,15],13,n,[186,5],8,n,[6,6],n,[5,5],9,8,14,n,[159,47],n,[60,10]]),type:r([e,[2,19],e,[0,5],1,e,[2,24],e,[0,4],n,[22,19],n,[43,42],n,[23,70],n,[28,25],n,[45,25],n,[113,54]]),state:r([1,2,8,6,7,30,n,[4,3],33,37,n,[5,3],38,n,[4,3],39,n,[4,3],40,n,[4,3],42,n,[21,4],50,n,[5,3],51,n,[4,3]]),mode:r([e,[1,179],e,[2,3],n,[5,5],n,[6,4],e,[1,57]]),goto:r([5,3,4,24,e,[9,15,1],e,[25,5,1],n,[24,19],31,35,32,34,n,[18,14],36,n,[38,19],n,[19,57],n,[118,4],41,n,[24,19],43,35,n,[16,14],44,e,[2,3],28,29,2,e,[3,3],28,29,3,n,[53,4],e,[45,5,1],n,[100,42],52,n,[5,4],53])}),defaultActions:function(t){for(var e={},n=t.idx,r=t.goto,i=0,o=n.length;i<o;i++){e[n[i]]=r[i]}return e}({idx:r([6,7,8,e,[10,16,1],33,34,39,40,41,45,47,52,53]),goto:r([9,10,11,e,[16,14,1],12,1,30,13,e,[4,4,1],14,15,8])}),parseError:function(t,e,n){if(!e.recoverable)throw"function"==typeof this.trace&&this.trace(t),n||(n=this.JisonParserError),new n(t,e);"function"==typeof this.trace&&this.trace(t),e.destroy()},parse:function(t){var e,n=this,r=new Array(128),i=new Array(128),o=new Array(128),a=this.table,c=0,u=0,s=(this.TERROR,this.EOF),l=(this.options.errorRecoveryTokenDiscardCount,[0,54]);e=this.__lexer__?this.__lexer__:this.__lexer__=Object.create(this.lexer);var f={parseError:void 0,quoteName:void 0,lexer:void 0,parser:void 0,pre_parse:void 0,post_parse:void 0,pre_lex:void 0,post_lex:void 0};function p(){var t=e.fastLex();return"number"!=typeof t&&(t=n.symbols_[t]||t),t||s}"function"!=typeof assert||assert,this.yyGetSharedState=function(){return f},function(t,e){for(var n in e)void 0===t[n]&&Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}(f,this.yy),f.lexer=e,f.parser=this,"function"==typeof f.parseError?this.parseError=function(t,e,n){return n||(n=this.JisonParserError),f.parseError.call(this,t,e,n)}:this.parseError=this.originalParseError,"function"==typeof f.quoteName?this.quoteName=function(t){return f.quoteName.call(this,t)}:this.quoteName=this.originalQuoteName,this.cleanupAfterParse=function(t,n,a){var u,s;n&&((f.post_parse||this.post_parse)&&(s=this.constructParseErrorInfo(null,null,null,!1)),f.post_parse&&void 0!==(u=f.post_parse.call(this,f,t,s))&&(t=u),this.post_parse&&void 0!==(u=this.post_parse.call(this,f,t,s))&&(t=u),s&&s.destroy&&s.destroy());if(this.__reentrant_call_depth>1)return t;if(e.cleanupAfterLex&&e.cleanupAfterLex(a),f&&(f.lexer=void 0,f.parser=void 0,e.yy===f&&(e.yy=void 0)),f=void 0,this.parseError=this.originalParseError,this.quoteName=this.originalQuoteName,r.length=0,i.length=0,o.length=0,c=0,!a){for(var l=this.__error_infos.length-1;l>=0;l--){var p=this.__error_infos[l];p&&"function"==typeof p.destroy&&p.destroy()}this.__error_infos.length=0}return t},this.constructParseErrorInfo=function(t,n,a,s){var l={errStr:t,exception:n,text:e.match,value:e.yytext,token:this.describeSymbol(u)||u,token_id:u,line:e.yylineno,expected:a,recoverable:s,state:d,action:h,new_state:x,symbol_stack:r,state_stack:i,value_stack:o,stack_pointer:c,yy:f,lexer:e,parser:this,destroy:function(){var t=!!this.recoverable;for(var e in this)this.hasOwnProperty(e)&&"object"==typeof e&&(this[e]=void 0);this.recoverable=t}};return this.__error_infos.push(l),l};var d,h,y,v,m,g,b,x,w=function(){var t=e.lex();return"number"!=typeof t&&(t=n.symbols_[t]||t),t||s},I={$:!0,_$:void 0,yy:f},M=!1;try{if(this.__reentrant_call_depth++,e.setInput(t,f),"function"==typeof e.canIUse)e.canIUse().fastLex&&(w=p);for(o[c]=null,i[c]=0,r[c]=0,++c,this.pre_parse&&this.pre_parse.call(this,f),f.pre_parse&&f.pre_parse.call(this,f),x=i[c-1];;){if(d=x,this.defaultActions[d])h=2,x=this.defaultActions[d];else if(u||(u=w()),v=a[d]&&a[d][u]||l,x=v[1],!(h=v[0])){var E,S=this.describeSymbol(u)||u,O=this.collect_expected_token_set(d);E="number"==typeof e.yylineno?"Parse error on line "+(e.yylineno+1)+": ":"Parse error: ","function"==typeof e.showPosition&&(E+="\n"+e.showPosition(69,10)+"\n"),O.length?E+="Expecting "+O.join(", ")+", got unexpected "+S:E+="Unexpected "+S,m=this.constructParseErrorInfo(E,null,O,!1),void 0!==(y=this.parseError(m.errStr,m,this.JisonParserError))&&(M=y);break}switch(h){default:if(h instanceof Array){m=this.constructParseErrorInfo("Parse Error: multiple actions possible at state: "+d+", token: "+u,null,null,!1),void 0!==(y=this.parseError(m.errStr,m,this.JisonParserError))&&(M=y);break}m=this.constructParseErrorInfo("Parsing halted. No viable error recovery approach available due to internal system failure.",null,null,!1),void 0!==(y=this.parseError(m.errStr,m,this.JisonParserError))&&(M=y);break;case 1:r[c]=u,o[c]=e.yytext,i[c]=x,++c,u=0;continue;case 2:if(g=(b=this.productions_[x-1])[1],void 0!==(y=this.performAction.call(I,x,c-1,o))){M=y;break}c-=g;var j=b[0];r[c]=j,o[c]=I.$,x=a[i[c-1]][j],i[c]=x,++c;continue;case 3:-2!==c&&(M=!0,c--,void 0!==o[c]&&(M=o[c]))}break}}catch(T){if(T instanceof this.JisonParserError)throw T;if(e&&"function"==typeof e.JisonLexerError&&T instanceof e.JisonLexerError)throw T;m=this.constructParseErrorInfo("Parsing aborted due to exception.",T,null,!1),M=!1,void 0!==(y=this.parseError(m.errStr,m,this.JisonParserError))&&(M=y)}finally{M=this.cleanupAfterParse(M,!0,!0),this.__reentrant_call_depth--}return M}};i.originalParseError=i.parseError,i.originalQuoteName=i.quoteName;var o=function(){function t(t,e){var n;if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonLexerError"}),null==t&&(t="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:t}),this.hash=e,e&&e.exception instanceof Error){var r=e.exception;this.message=r.message||t,n=r.stack}n||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):n=new Error(t).stack),n&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:n})}return"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(t.prototype,Error.prototype):t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.name="JisonLexerError",{EOF:1,ERROR:2,__currentRuleSet__:null,__error_infos:[],__decompressed:!1,done:!1,_backtrack:!1,_input:"",_more:!1,_signaled_error_token:!1,conditionStack:[],match:"",matched:"",matches:!1,yytext:"",offset:0,yyleng:0,yylineno:0,yylloc:null,constructLexErrorInfo:function(t,e,n){if(t=""+t,null==n&&(n=!(t.indexOf("\n")>0&&t.indexOf("^")>0)),this.yylloc&&n)if("function"==typeof this.prettyPrintRange){this.prettyPrintRange(this.yylloc);/\n\s*$/.test(t)||(t+="\n"),t+="\n Erroneous area:\n"+this.prettyPrintRange(this.yylloc)}else if("function"==typeof this.showPosition){var r=this.showPosition();r&&(t.length&&"\n"!==t[t.length-1]&&"\n"!==r[0]?t+="\n"+r:t+=r)}var i={errStr:t,recoverable:!!e,text:this.match,token:null,line:this.yylineno,loc:this.yylloc,yy:this.yy,lexer:this,destroy:function(){var t=!!this.recoverable;for(var e in this)this.hasOwnProperty(e)&&"object"==typeof e&&(this[e]=void 0);this.recoverable=t}};return this.__error_infos.push(i),i},parseError:function(t,e,n){if(n||(n=this.JisonLexerError),this.yy){if(this.yy.parser&&"function"==typeof this.yy.parser.parseError)return this.yy.parser.parseError.call(this,t,e,n)||this.ERROR;if("function"==typeof this.yy.parseError)return this.yy.parseError.call(this,t,e,n)||this.ERROR}throw new n(t,e)},yyerror:function(t){var e="";this.yylloc&&(e=" on line "+(this.yylineno+1));var n=this.constructLexErrorInfo("Lexical error"+e+": "+t,this.options.lexerErrorsAreRecoverable),r=Array.prototype.slice.call(arguments,1);return r.length&&(n.extra_error_attributes=r),this.parseError(n.errStr,n,this.JisonLexerError)||this.ERROR},cleanupAfterLex:function(t){if(this.setInput("",{}),!t){for(var e=this.__error_infos.length-1;e>=0;e--){var n=this.__error_infos[e];n&&"function"==typeof n.destroy&&n.destroy()}this.__error_infos.length=0}return this},clear:function(){this.yytext="",this.yyleng=0,this.match="",this.matches=!1,this._more=!1,this._backtrack=!1;var t=this.yylloc?this.yylloc.last_column:0;this.yylloc={first_line:this.yylineno+1,first_column:t,last_line:this.yylineno+1,last_column:t,range:[this.offset,this.offset]}},setInput:function(t,e){if(this.yy=e||this.yy||{},!this.__decompressed){for(var n=this.rules,r=0,i=n.length;r<i;r++){"number"==typeof(p=n[r])&&(n[r]=n[p])}var o=this.conditions;for(var a in o){var c=o[a],u=c.rules,s=(i=u.length,new Array(i+1)),l=new Array(i+1);for(r=0;r<i;r++){var f=u[r],p=n[f];s[r+1]=p,l[r+1]=f}c.rules=l,c.__rule_regexes=s,c.__rule_count=i}this.__decompressed=!0}return this._input=t||"",this.clear(),this._signaled_error_token=!1,this.done=!1,this.yylineno=0,this.matched="",this.conditionStack=["INITIAL"],this.__currentRuleSet__=null,this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]},this.offset=0,this},editRemainingInput:function(t,e){var n=t.call(this,this._input,e);return"string"!=typeof n?n&&(this._input=""+n):this._input=n,this},input:function(){if(!this._input)return null;var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var e=1,n=!1;if("\n"===t)n=!0;else if("\r"===t){n=!0;var r=this._input[1];"\n"===r&&(e++,t+=r,this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r,this.yylloc.range[1]++)}return n?(this.yylineno++,this.yylloc.last_line++,this.yylloc.last_column=0):this.yylloc.last_column++,this.yylloc.range[1]++,this._input=this._input.slice(e),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);if(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.yyleng=this.yytext.length,this.offset-=e,this.match=this.match.substr(0,this.match.length-e),this.matched=this.matched.substr(0,this.matched.length-e),n.length>1){this.yylineno-=n.length-1,this.yylloc.last_line=this.yylineno+1;var r=this.match,i=r.split(/(?:\r\n?|\n)/g);1===i.length&&(i=(r=this.matched).split(/(?:\r\n?|\n)/g)),this.yylloc.last_column=i[i.length-1].length}else this.yylloc.last_column-=e;return this.yylloc.range[1]=this.yylloc.range[0]+this.yyleng,this.done=!1,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else{var t="";this.yylloc&&(t=" on line "+(this.yylineno+1));var e=this.constructLexErrorInfo("Lexical error"+t+": You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).",!1);this._signaled_error_token=this.parseError(e.errStr,e,this.JisonLexerError)||this.ERROR}return this},less:function(t){return this.unput(this.match.slice(t))},pastInput:function(t,e){var n=this.matched.substring(0,this.matched.length-this.match.length);t<0?t=n.length:t||(t=20),e<0?e=n.length:e||(e=1);var r=(n=n.substr(2*-t-2)).replace(/\r\n|\r/g,"\n").split("\n");return(n=(r=r.slice(-e)).join("\n")).length>t&&(n="..."+n.substr(-t)),n},upcomingInput:function(t,e){var n=this.match;t<0?t=n.length+this._input.length:t||(t=20),e<0?e=t:e||(e=1),n.length<2*t+2&&(n+=this._input.substring(0,2*t+2));var r=n.replace(/\r\n|\r/g,"\n").split("\n");return(n=(r=r.slice(0,e)).join("\n")).length>t&&(n=n.substring(0,t)+"..."),n},showPosition:function(t,e){var n=this.pastInput(t).replace(/\s/g," "),r=new Array(n.length+1).join("-");return n+this.upcomingInput(e).replace(/\s/g," ")+"\n"+r+"^"},deriveLocationInfo:function(t,e,n,r){var i={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]};return t&&(i.first_line=0|t.first_line,i.last_line=0|t.last_line,i.first_column=0|t.first_column,i.last_column=0|t.last_column,t.range&&(i.range[0]=0|t.range[0],i.range[1]=0|t.range[1])),(i.first_line<=0||i.last_line<i.first_line)&&(i.first_line<=0&&e&&(i.first_line=0|e.last_line,i.first_column=0|e.last_column,e.range&&(i.range[0]=0|t.range[1])),(i.last_line<=0||i.last_line<i.first_line)&&n&&(i.last_line=0|n.first_line,i.last_column=0|n.first_column,n.range&&(i.range[1]=0|t.range[0])),i.first_line<=0&&r&&(i.last_line<=0||r.last_line<=i.last_line)&&(i.first_line=0|r.first_line,i.first_column=0|r.first_column,r.range&&(i.range[0]=0|r.range[0])),i.last_line<=0&&r&&(i.first_line<=0||r.first_line>=i.first_line)&&(i.last_line=0|r.last_line,i.last_column=0|r.last_column,r.range&&(i.range[1]=0|r.range[1]))),i.last_line<=0&&(i.first_line<=0?(i.first_line=this.yylloc.first_line,i.last_line=this.yylloc.last_line,i.first_column=this.yylloc.first_column,i.last_column=this.yylloc.last_column,i.range[0]=this.yylloc.range[0],i.range[1]=this.yylloc.range[1]):(i.last_line=this.yylloc.last_line,i.last_column=this.yylloc.last_column,i.range[1]=this.yylloc.range[1])),i.first_line<=0&&(i.first_line=i.last_line,i.first_column=0,i.range[1]=i.range[0]),i.first_column<0&&(i.first_column=0),i.last_column<0&&(i.last_column=i.first_column>0?i.first_column:80),i},prettyPrintRange:function(t,e,n){t=this.deriveLocationInfo(t,e,n);var r=(this.matched+this._input).split("\n"),i=Math.max(1,e?e.first_line:t.first_line-3),o=Math.max(1,n?n.last_line:t.last_line+1),a=1+Math.log10(1|o)|0,c=new Array(a).join(" "),u=[],s=r.slice(i-1,o+1).map((function(e,n){var r=n+i,o=(c+r).substr(-a)+": "+e,s=new Array(a+1).join("^"),l=3,f=0;(r===t.first_line?(l+=t.first_column,f=Math.max(2,(r===t.last_line?t.last_column:e.length)-t.first_column+1)):r===t.last_line?f=Math.max(2,t.last_column+1):r>t.first_line&&r<t.last_line&&(f=Math.max(2,e.length+1)),f)&&(o+="\n"+s+new Array(l).join(".")+new Array(f).join("^"),e.trim().length>0&&u.push(n));return o=o.replace(/\t/g," ")}));if(u.length>4){var l=u[1]+1,f=u[u.length-2]-1,p=new Array(a+1).join(" ")+" (...continued...)";p+="\n"+new Array(a+1).join("-")+" (---------------)",s.splice(l,f-l+1,p)}return s.join("\n")},describeYYLLOC:function(t,e){var n,r=t.first_line,i=t.last_line,o=t.first_column,a=t.last_column;if(0===i-r?(n="line "+r+", ",n+=a-o<=1?"column "+o:"columns "+o+" .. "+a):n="lines "+r+"(column "+o+") .. "+i+"(column "+a+")",t.range&&e){var c=t.range[0],u=t.range[1]-1;n+=u<=c?" {String Offset: "+c+"}":" {String Offset range: "+c+" .. "+u+"}"}return n},test_match:function(t,e){var n,r,i,o,a;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.yylloc.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column,range:this.yylloc.range.slice(0)},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done}),a=(o=t[0]).length,(r=o.split(/(?:\r\n?|\n)/g)).length>1?(this.yylineno+=r.length-1,this.yylloc.last_line=this.yylineno+1,this.yylloc.last_column=r[r.length-1].length):this.yylloc.last_column+=a,this.yytext+=o,this.match+=o,this.matched+=o,this.matches=t,this.yyleng=this.yytext.length,this.yylloc.range[1]+=a,this.offset+=a,this._more=!1,this._backtrack=!1,this._input=this._input.slice(a),n=this.performAction.call(this,this.yy,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var c in i)this[c]=i[c];return this.__currentRuleSet__=null,!1}return!!this._signaled_error_token&&(n=this._signaled_error_token,this._signaled_error_token=!1,n)},next:function(){if(this.done)return this.clear(),this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||this.clear();var i=this.__currentRuleSet__;if(!(i||(i=this.__currentRuleSet__=this._currentRules())&&i.rules)){var o="";this.options.trackPosition&&(o=" on line "+(this.yylineno+1));var a=this.constructLexErrorInfo("Internal lexer engine error"+o+': The lex grammar programmer pushed a non-existing condition name "'+this.topState()+'"; this is a fatal error and should be reported to the application programmer team!',!1);return this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR}for(var c=i.rules,u=i.__rule_regexes,s=i.__rule_count,l=1;l<=s;l++)if((n=this._input.match(u[l]))&&(!e||n[0].length>e[0].length)){if(e=n,r=l,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,c[l])))return t;if(this._backtrack){e=void 0;continue}return!1}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,c[r]))&&t;if(this._input){o="";this.options.trackPosition&&(o=" on line "+(this.yylineno+1));a=this.constructLexErrorInfo("Lexical error"+o+": Unrecognized text.",this.options.lexerErrorsAreRecoverable);var f=this._input,p=this.topState(),d=this.conditionStack.length;return(t=this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR)===this.ERROR&&(this.matches||f!==this._input||p!==this.topState()||d!==this.conditionStack.length||this.input()),t}return this.done=!0,this.clear(),this.EOF},lex:function(){var t;for("function"==typeof this.pre_lex&&(t=this.pre_lex.call(this,0)),"function"==typeof this.options.pre_lex&&(t=this.options.pre_lex.call(this,t)||t),this.yy&&"function"==typeof this.yy.pre_lex&&(t=this.yy.pre_lex.call(this,t)||t);!t;)t=this.next();return this.yy&&"function"==typeof this.yy.post_lex&&(t=this.yy.post_lex.call(this,t)||t),"function"==typeof this.options.post_lex&&(t=this.options.post_lex.call(this,t)||t),"function"==typeof this.post_lex&&(t=this.post_lex.call(this,t)||t),t},fastLex:function(){for(var t;!t;)t=this.next();return t},canIUse:function(){return{fastLex:!("function"==typeof this.pre_lex||"function"==typeof this.options.pre_lex||this.yy&&"function"==typeof this.yy.pre_lex||this.yy&&"function"==typeof this.yy.post_lex||"function"==typeof this.options.post_lex||"function"==typeof this.post_lex)&&"function"==typeof this.fastLex}},begin:function(t){return this.pushState(t)},pushState:function(t){return this.conditionStack.push(t),this.__currentRuleSet__=null,this},popState:function(){return this.conditionStack.length-1>0?(this.__currentRuleSet__=null,this.conditionStack.pop()):this.conditionStack[0]},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]]:this.conditions.INITIAL},stateStackSize:function(){return this.conditionStack.length},options:{trackPosition:!0},JisonLexerError:t,performAction:function(t,e,n){switch(e){case 1:
|
94 |
+
/*! Conditions:: INITIAL */
|
95 |
+
/*! Rule:: \s+ */
|
96 |
+
break;default:return this.simpleCaseActionClusters[e]}},simpleCaseActionClusters:{
|
97 |
+
/*! Conditions:: INITIAL */
|
98 |
+
/*! Rule:: (--[0-9a-z-A-Z-]*) */
|
99 |
+
0:13,
|
100 |
+
/*! Conditions:: INITIAL */
|
101 |
+
/*! Rule:: \* */
|
102 |
+
2:5,
|
103 |
+
/*! Conditions:: INITIAL */
|
104 |
+
/*! Rule:: \/ */
|
105 |
+
3:6,
|
106 |
+
/*! Conditions:: INITIAL */
|
107 |
+
/*! Rule:: \+ */
|
108 |
+
4:3,
|
109 |
+
/*! Conditions:: INITIAL */
|
110 |
+
/*! Rule:: - */
|
111 |
+
5:4,
|
112 |
+
/*! Conditions:: INITIAL */
|
113 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)px\b */
|
114 |
+
6:15,
|
115 |
+
/*! Conditions:: INITIAL */
|
116 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)cm\b */
|
117 |
+
7:15,
|
118 |
+
/*! Conditions:: INITIAL */
|
119 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)mm\b */
|
120 |
+
8:15,
|
121 |
+
/*! Conditions:: INITIAL */
|
122 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)in\b */
|
123 |
+
9:15,
|
124 |
+
/*! Conditions:: INITIAL */
|
125 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)pt\b */
|
126 |
+
10:15,
|
127 |
+
/*! Conditions:: INITIAL */
|
128 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)pc\b */
|
129 |
+
11:15,
|
130 |
+
/*! Conditions:: INITIAL */
|
131 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)deg\b */
|
132 |
+
12:16,
|
133 |
+
/*! Conditions:: INITIAL */
|
134 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)grad\b */
|
135 |
+
13:16,
|
136 |
+
/*! Conditions:: INITIAL */
|
137 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)rad\b */
|
138 |
+
14:16,
|
139 |
+
/*! Conditions:: INITIAL */
|
140 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)turn\b */
|
141 |
+
15:16,
|
142 |
+
/*! Conditions:: INITIAL */
|
143 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)s\b */
|
144 |
+
16:17,
|
145 |
+
/*! Conditions:: INITIAL */
|
146 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)ms\b */
|
147 |
+
17:17,
|
148 |
+
/*! Conditions:: INITIAL */
|
149 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)Hz\b */
|
150 |
+
18:18,
|
151 |
+
/*! Conditions:: INITIAL */
|
152 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)kHz\b */
|
153 |
+
19:18,
|
154 |
+
/*! Conditions:: INITIAL */
|
155 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)dpi\b */
|
156 |
+
20:19,
|
157 |
+
/*! Conditions:: INITIAL */
|
158 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)dpcm\b */
|
159 |
+
21:19,
|
160 |
+
/*! Conditions:: INITIAL */
|
161 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)dppx\b */
|
162 |
+
22:19,
|
163 |
+
/*! Conditions:: INITIAL */
|
164 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)em\b */
|
165 |
+
23:20,
|
166 |
+
/*! Conditions:: INITIAL */
|
167 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)ex\b */
|
168 |
+
24:21,
|
169 |
+
/*! Conditions:: INITIAL */
|
170 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)ch\b */
|
171 |
+
25:22,
|
172 |
+
/*! Conditions:: INITIAL */
|
173 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)rem\b */
|
174 |
+
26:23,
|
175 |
+
/*! Conditions:: INITIAL */
|
176 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vw\b */
|
177 |
+
27:25,
|
178 |
+
/*! Conditions:: INITIAL */
|
179 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vh\b */
|
180 |
+
28:24,
|
181 |
+
/*! Conditions:: INITIAL */
|
182 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vmin\b */
|
183 |
+
29:26,
|
184 |
+
/*! Conditions:: INITIAL */
|
185 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vmax\b */
|
186 |
+
30:27,
|
187 |
+
/*! Conditions:: INITIAL */
|
188 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)% */
|
189 |
+
31:28,
|
190 |
+
/*! Conditions:: INITIAL */
|
191 |
+
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)\b */
|
192 |
+
32:11,
|
193 |
+
/*! Conditions:: INITIAL */
|
194 |
+
/*! Rule:: (calc) */
|
195 |
+
33:9,
|
196 |
+
/*! Conditions:: INITIAL */
|
197 |
+
/*! Rule:: (var) */
|
198 |
+
34:12,
|
199 |
+
/*! Conditions:: INITIAL */
|
200 |
+
/*! Rule:: ([a-z]+) */
|
201 |
+
35:10,
|
202 |
+
/*! Conditions:: INITIAL */
|
203 |
+
/*! Rule:: \( */
|
204 |
+
36:7,
|
205 |
+
/*! Conditions:: INITIAL */
|
206 |
+
/*! Rule:: \) */
|
207 |
+
37:8,
|
208 |
+
/*! Conditions:: INITIAL */
|
209 |
+
/*! Rule:: , */
|
210 |
+
38:14,
|
211 |
+
/*! Conditions:: INITIAL */
|
212 |
+
/*! Rule:: $ */
|
213 |
+
39:1},rules:[/^(?:(--[\d\-A-Za-z]*))/,/^(?:\s+)/,/^(?:\*)/,/^(?:\/)/,/^(?:\+)/,/^(?:-)/,/^(?:(\d+(\.\d*)?|\.\d+)px\b)/,/^(?:(\d+(\.\d*)?|\.\d+)cm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)mm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)in\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pt\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pc\b)/,/^(?:(\d+(\.\d*)?|\.\d+)deg\b)/,/^(?:(\d+(\.\d*)?|\.\d+)grad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)turn\b)/,/^(?:(\d+(\.\d*)?|\.\d+)s\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ms\b)/,/^(?:(\d+(\.\d*)?|\.\d+)Hz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)kHz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpi\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpcm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dppx\b)/,/^(?:(\d+(\.\d*)?|\.\d+)em\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ex\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ch\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rem\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vw\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vh\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmin\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmax\b)/,/^(?:(\d+(\.\d*)?|\.\d+)%)/,/^(?:(\d+(\.\d*)?|\.\d+)\b)/,/^(?:(calc))/,/^(?:(var))/,/^(?:([a-z]+))/,/^(?:\()/,/^(?:\))/,/^(?:,)/,/^(?:$)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],inclusive:!0}}}}();function a(){this.yy={}}return i.lexer=o,a.prototype=i,i.Parser=a,new a}();e.parser=n,e.Parser=n.Parser,e.parse=function(){return n.parse.apply(n,arguments)}},7402:function(t,e,n){"use strict";n.r(e);var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var c=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,s=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function o(){n&&(n=!1,t()),r&&u()}function c(){a(o)}function u(){var t=Date.now();if(n){if(t-i<2)return;r=!0}else n=!0,r=!1,setTimeout(c,e);i=t}return u}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;c.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},f=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},p=g(0,0,0,0);function d(t){return parseFloat(t)||0}function h(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+d(t["border-"+n+"-width"])}),0)}function y(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return p;var r=f(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=t["padding-"+i];e[i]=d(o)}return e}(r),o=i.left+i.right,a=i.top+i.bottom,c=d(r.width),u=d(r.height);if("border-box"===r.boxSizing&&(Math.round(c+o)!==e&&(c-=h(r,"left","right")+o),Math.round(u+a)!==n&&(u-=h(r,"top","bottom")+a)),!function(t){return t===f(t).document.documentElement}(t)){var s=Math.round(c+o)-e,l=Math.round(u+a)-n;1!==Math.abs(s)&&(c-=s),1!==Math.abs(l)&&(u-=l)}return g(i.left,i.top,c,u)}var v="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof f(t).SVGGraphicsElement}:function(t){return t instanceof f(t).SVGElement&&"function"==typeof t.getBBox};function m(t){return i?v(t)?function(t){var e=t.getBBox();return g(0,0,e.width,e.height)}(t):y(t):p}function g(t,e,n,r){return{x:t,y:e,width:n,height:r}}var b=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=m(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),x=function(t,e){var n,r,i,o,a,c,u,s=(r=(n=e).x,i=n.y,o=n.width,a=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(c.prototype),l(u,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),u);l(this,{target:t,contentRect:s})},w=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new x(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),I="undefined"!=typeof WeakMap?new WeakMap:new r,M=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=s.getInstance(),r=new w(e,n,this);I.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){M.prototype[t]=function(){var e;return(e=I.get(this))[t].apply(e,arguments)}}));var E=void 0!==o.ResizeObserver?o.ResizeObserver:M;e.default=E}},0,[[70535,669]]]);
|
dist/admin-faq.css
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
|
3 |
.wprm-recipe-container{outline:none}.wprm-recipe{overflow:hidden;zoom:1;text-align:left;clear:both}.wprm-recipe *{box-sizing:border-box}.wprm-recipe ol,.wprm-recipe ul{-webkit-margin-before:0;-webkit-margin-after:0;-webkit-padding-start:0;margin:0;padding:0}.wprm-recipe li{font-size:1em;margin:0 0 0 32px;padding:0}.wprm-recipe p{font-size:1em;margin:0;padding:0}.wprm-recipe li,.wprm-recipe li.wprm-recipe-instruction{list-style-position:outside}.wprm-recipe li:before{display:none}.wprm-recipe h1,.wprm-recipe h2,.wprm-recipe h3,.wprm-recipe h4,.wprm-recipe h5,.wprm-recipe h6{clear:none;font-variant:normal;text-transform:none;letter-spacing:normal;margin:0;padding:0}.wprm-recipe a.wprm-recipe-link,.wprm-recipe a.wprm-recipe-link:hover{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.wprm-recipe .wprm-nutrition-label{margin-top:10px}body:not(.wprm-print) .wprm-recipe p:first-letter{font-size:inherit;line-height:inherit;color:inherit;margin:inherit;padding:inherit;font-family:inherit}.rtl .wprm-recipe{text-align:right}.rtl .wprm-recipe li{margin:0 32px 0 0}.wprm-screen-reader-text{border:0;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute !important;width:1px;word-wrap:normal !important}
|
4 |
|
5 |
-
.wprm-recipe-author-with-image{display:inline-flex;align-items:center}.wprm-recipe-author-with-image .wprm-recipe-author-image{line-height:0;margin-right:10px}.wprm-call-to-action.wprm-call-to-action-simple{margin-top:10px;padding:5px 10px;display:flex;justify-content:center;align-items:middle}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-icon{font-size:2.2em;margin:5px 0.5em 5px 0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-icon svg{margin-top:0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container{margin:5px 0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container .wprm-call-to-action-header{display:block;font-weight:bold;font-size:1.3em}@media all and (max-width: 450px){.wprm-call-to-action.wprm-call-to-action-simple{flex-wrap:wrap}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container{text-align:center}}.wprm-recipe-block-container-inline{display:inline-block;margin-right:1.2em}.rtl .wprm-recipe-block-container-inline{margin-right:0;margin-left:1.2em}.wprm-recipe-block-container-separate{display:block}.wprm-recipe-block-container-separated{display:block}.wprm-recipe-block-container-separated .wprm-recipe-details-label{display:block}.wprm-recipe-block-container-columns{display:block}.wprm-recipe-block-container-columns .wprm-recipe-details-label{display:inline-block;min-width:130px}.wprm-recipe-details-container-inline{display:inline}.wprm-recipe-details-container-table{display:flex;border:1px dotted #666;padding:5px;margin:5px 0}.wprm-recipe-details-container-table .wprm-recipe-block-container-table{flex:1;display:flex;flex-direction:column;text-align:center}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom{border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left-right{border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top{border-left:none !important;border-right:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom{border-left:none !important;border-right:none !important;border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left{border-right:none !important;border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-right{border-left:none !important;border-top:none !important;border-bottom:none !important}@media all and (min-width: 451px){.wprm-recipe-table-borders-empty .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-table-borders-inside .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-right:none !important}.wprm-recipe-table-borders-inside .wprm-recipe-block-container-table:first-child{border-left:none !important}.rtl .wprm-recipe-table-borders-inside .wprm-recipe-block-container-table{border-left:none !important}.rtl .wprm-recipe-table-borders-inside .wprm-recipe-block-container-table:first-child{border-right:none !important}}@media all and (max-width: 450px){.wprm-recipe-details-container-table{display:block;border:none !important;padding:0;margin:5px 0}.wprm-recipe-details-container-table.wprm-recipe-table-borders-none{display:flex;flex-wrap:wrap}.wprm-recipe-details-container-table.wprm-recipe-table-borders-none .wprm-recipe-block-container-table{min-width:120px;max-width:100%}.wprm-recipe-details-container-table .wprm-recipe-block-container-table{padding:5px}.wprm-recipe-details-container-table.wprm-recipe-table-borders-all .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom .wprm-recipe-block-container-table{border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left-right .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top .wprm-recipe-block-container-table{border-bottom:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom .wprm-recipe-block-container-table{border-top:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom .wprm-recipe-block-container-table:not(:last-child){border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-right .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-left:none !important}.wprm-recipe-block-container-columns .wprm-recipe-details-label{min-width:0;margin-right:0.4em}}.wprm-recipe-details-unit{font-size:0.8em}.wprm-container-columns-spaced,.wprm-container-columns-spaced-middle{display:flex;flex-wrap:wrap;justify-content:space-between}.wprm-container-columns-spaced.wprm-container-columns-spaced-middle,.wprm-container-columns-spaced-middle.wprm-container-columns-spaced-middle{align-items:center}.wprm-container-columns-spaced>*,.wprm-container-columns-spaced-middle>*{flex:1}.wprm-container-columns-spaced.wprm-container-columns-gutter,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter{margin-left:-8px;margin-right:-8px}.wprm-container-columns-spaced.wprm-container-columns-gutter>*,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter>*{margin-left:8px !important;margin-right:8px !important}@media all and (max-width: 450px){.wprm-container-columns-spaced,.wprm-container-columns-spaced-middle{display:block}.wprm-container-columns-spaced.wprm-container-columns-gutter>*,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter>*{margin-bottom:16px !important}}.wprm-container-float-left{float:left;margin:0 10px 10px 0;text-align:center;position:relative;z-index:1}.rtl .wprm-container-float-left{float:right;margin:0 0 10px 10px}.wprm-container-float-right{float:right;margin:0 0 10px 10px;text-align:center;position:relative;z-index:1}.rtl .wprm-container-float-right{float:left;margin:0 10px 10px 0}@media only screen and (max-width: 640px){.wprm-container-float-left,.wprm-container-float-right,.rtl .wprm-container-float-left,.rtl .wprm-container-float-right{float:none;margin-left:0;margin-right:0}}.wprm-icon-decoration-line,.wprm-header-decoration-line{display:flex;flex-wrap:wrap;align-items:center}.wprm-icon-decoration-line.wprm-align-left .wprm-decoration-line,.wprm-header-decoration-line.wprm-align-left .wprm-decoration-line{margin-left:15px}.wprm-icon-decoration-line.wprm-align-right .wprm-decoration-line,.wprm-header-decoration-line.wprm-align-right .wprm-decoration-line{margin-right:15px}.wprm-icon-decoration-line.wprm-align-center .wprm-decoration-line:first-child,.wprm-header-decoration-line.wprm-align-center .wprm-decoration-line:first-child{margin-right:15px}.wprm-icon-decoration-line.wprm-align-center .wprm-decoration-line:last-child,.wprm-header-decoration-line.wprm-align-center .wprm-decoration-line:last-child{margin-left:15px}.wprm-decoration-line{flex:auto;height:1px;border-bottom:1px solid black}.wprm-block-text-normal{font-weight:400;font-style:normal;text-transform:none}.wprm-block-text-light{font-weight:300 !important}.wprm-block-text-bold{font-weight:bold !important}.wprm-block-text-italic{font-style:italic !important}.wprm-block-text-uppercase{text-transform:uppercase !important}.wprm-block-text-faded{opacity:0.6}.wprm-block-text-uppercase-faded{text-transform:uppercase !important;opacity:0.6}.wprm-block-text-faded .wprm-block-text-faded{opacity:1}.wprm-block-text-uppercase-faded .wprm-block-text-uppercase-faded{opacity:1}.wprm-align-left{text-align:left}.wprm-align-center{text-align:center}.wprm-align-right{text-align:right}.wprm-recipe-header .wprm-recipe-icon{margin-right:5px}.wprm-recipe-header.wprm-header-has-actions{display:flex;flex-wrap:wrap;align-items:center}.wprm-recipe-header .wprm-unit-conversion-container,.wprm-recipe-header .wprm-recipe-adjustable-servings-container,.wprm-recipe-header .wprm-recipe-media-toggle-container{text-transform:none;font-style:normal;font-weight:normal;opacity:1;font-size:16px}.wprm-recipe-icon svg{display:inline;vertical-align:middle;margin-top:-0.15em;width:1.3em;height:1.3em;overflow:visible}.wprm-icon-shortcode{font-size:16px;height:16px}.wprm-icon-shortcode.wprm-icon-shortcode-inline{display:inline}.wprm-icon-shortcode .wprm-recipe-icon svg{display:inline;vertical-align:middle;margin-top:0;width:1em;height:1em;overflow:visible}.wprm-recipe-image img{display:block;margin:0 auto}.wprm-recipe-image .dpsp-pin-it-wrapper{margin:0 auto}.wprm-recipe-image picture{border:none !important}.wprm-block-image-circle img{border-radius:50%}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-group-name{margin-top:0.8em !important}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-faded{opacity:0.7}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-smaller{font-size:0.8em}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-smaller-faded{opacity:0.7;font-size:0.8em}.wprm-ingredient-style-table-2 li.wprm-recipe-ingredient,.wprm-ingredient-style-table-2-align li.wprm-recipe-ingredient,.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient{display:flex}.wprm-ingredient-style-table-2 li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-2-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit{margin-right:10px;flex-shrink:0}.wprm-ingredient-style-table-2-align .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-3-align .wprm-recipe-ingredient-amount-unit{text-align:right}.wprm-ingredient-style-table-2 li.wprm-recipe-ingredient .wprm-recipe-ingredient-name-notes,.wprm-ingredient-style-table-2-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-name-notes{flex:1}.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient .wprm-recipe-ingredient-name,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-name{margin-right:10px}.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient .wprm-recipe-ingredient-notes,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-notes{flex:1}.wprm-recipe-instructions-container .wprm-recipe-instruction-group-name{margin-top:0.8em !important}.wprm-recipe-instructions-container .wprm-recipe-instruction-text{font-size:1em}.wprm-recipe-instructions-container .wprm-recipe-instruction-media{max-width:100%;margin:5px 0 15px}.wprm-recipe-instructions-container .wprm-recipe-instruction-video iframe{max-width:100%}.wprm-recipe-link{cursor:pointer;text-decoration:none}.wprm-recipe-link.wprm-recipe-link-inline-button{display:inline-block;margin:0 5px 5px 0}.wprm-recipe-link.wprm-recipe-link-button{display:table;margin:5px auto}.wprm-recipe-link.wprm-recipe-link-wide-button{display:block;width:auto;margin:5px 0;text-align:center}.wprm-recipe-link.wprm-recipe-link-button,.wprm-recipe-link.wprm-recipe-link-inline-button,.wprm-recipe-link.wprm-recipe-link-wide-button{border-width:1px;border-style:solid;padding:5px}.rtl .wprm-recipe-link.wprm-recipe-link-inline-button{margin:0 0 5px 5px}.wprm-nutrition-label-container-simple .wprm-nutrition-label-text-nutrition-unit{font-size:0.85em}.wprm-nutrition-label-container-grouped{display:flex;flex-wrap:wrap;justify-content:flex-start}.wprm-nutrition-label-container-grouped .wprm-nutrition-label-text-nutrition-container{white-space:nowrap;padding-right:10px}.rtl .wprm-nutrition-label-container-grouped .wprm-nutrition-label-text-nutrition-container{padding-left:10px;padding-right:0}.wprm-recipe-rating{white-space:nowrap}.wprm-recipe-rating svg{vertical-align:middle;margin-top:-0.15em !important;width:1.1em;height:1.1em;margin:0}.wprm-recipe-rating.wprm-recipe-rating-inline .wprm-recipe-rating-details{display:inline-block;margin-left:10px}.wprm-recipe-rating .wprm-recipe-rating-details{font-size:0.8em}.wprm-spacer{display:block !important;background:none !important;font-size:0;line-height:0;width:100%;height:10px}.wprm-spacer+.wprm-spacer{display:none !important}.wprm-recipe-summary .wprm-spacer,.wprm-recipe-instruction-text .wprm-spacer,.wprm-recipe-notes .wprm-spacer{display:block !important}.wprm-toggle-switch-container{display:flex;align-items:center;margin:10px 0}.wprm-toggle-switch-container .wprm-toggle-switch{margin-right:10px}.wprm-toggle-switch-container label{cursor:pointer;margin:0;font-size:1em;flex-shrink:0}.wprm-toggle-switch-container .wprm-prevent-sleep-description{margin-left:10px;font-size:0.8em;line-height:1.1em}.wprm-toggle-switch{position:relative;display:inline-block;width:40px;height:20px}.wprm-toggle-switch input{opacity:0;width:0;height:0;margin:0;padding:0}.wprm-toggle-switch .wprm-toggle-switch-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#cccccc;-webkit-transition:.4s;transition:.4s}.wprm-toggle-switch .wprm-toggle-switch-slider:before{position:absolute;content:"";height:80%;left:7%;right:50%;bottom:10%;background-color:white;-webkit-transition:.4s;transition:.4s}.wprm-toggle-switch input:checked+.wprm-toggle-switch-slider{background-color:#333333 !important}.wprm-toggle-switch input:focus+.wprm-toggle-switch-slider{box-shadow:0 0 0 3px rgba(0,0,0,0.12)}.wprm-toggle-switch input:checked+.wprm-toggle-switch-slider:before{left:50%;right:7%}.wprm-toggle-switch-rounded .wprm-toggle-switch-slider:before{border-radius:50%}.wprm-toggle-container{display:inline-flex;align-items:stretch;border:1px solid #333333;flex-shrink:0;overflow:hidden}.wprm-toggle-container button.wprm-toggle{display:inline-block;padding:5px 10px;font-size:inherit;line-height:inherit;font-weight:inherit;text-transform:inherit;letter-spacing:inherit;text-decoration:none;white-space:nowrap;border:none;border-radius:0;box-shadow:none}.wprm-toggle-container button.wprm-toggle.wprm-toggle-active .wprm-toggle-icon-inactive{display:none}.wprm-toggle-container button.wprm-toggle:not(.wprm-toggle-active){background:none !important;color:inherit !important}.wprm-toggle-container button.wprm-toggle:not(.wprm-toggle-active) .wprm-toggle-icon-active{display:none}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon{margin:0}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon svg{margin-top:-0.3em}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon+.wprm-toggle-text{margin-left:10px}.wprm-recipe-header+.wprm-recipe-video{margin-top:10px}
|
6 |
|
7 |
-
.wprm-recipe-equipment-container,.wprm-recipe-ingredients-container,.wprm-recipe-instructions-container{counter-reset:wprm-advanced-list-counter}ul.wprm-advanced-list.wprm-advanced-list-reset{counter-reset:wprm-advanced-list-counter}ul.wprm-advanced-list li{list-style-type:none}ul.wprm-advanced-list li:before{counter-increment:wprm-advanced-list-counter;content:counter(wprm-advanced-list-counter);display:flex;align-items:center;justify-content:center;float:left;font-weight:bold;margin:2px 0 0 -32px;border-radius:100%;border:0}.rtl ul.wprm-advanced-list li:before{float:right;margin:2px -32px 0 0}.wprm-checkbox-container{margin-left:-16px}.rtl .wprm-checkbox-container{margin-left:0;margin-right:-16px}.wprm-checkbox-container input[type="checkbox"]{width:16px !important;margin:0 !important;opacity:0}.wprm-checkbox-container label.wprm-checkbox-label{position:relative;display:inline !important;margin:0 !important;left:0;padding-left:26px}.wprm-checkbox-container label::before,.wprm-checkbox-container label::after{position:absolute;content:"";display:inline-block}.rtl .wprm-checkbox-container label::before{right:0}.rtl .wprm-checkbox-container label::after{right:5px}.wprm-checkbox-container label::before{height:18px;width:18px;border:1px solid;left:0;top:0}.wprm-checkbox-container label::after{height:5px;width:9px;border-left:2px solid;border-bottom:2px solid;transform:rotate(-45deg);left:5px;top:5px}.wprm-checkbox-container input[type="checkbox"]+label::after{content:none}.wprm-checkbox-container input[type="checkbox"]:checked+label::after{content:""}.wprm-checkbox-container input[type="checkbox"]:focus+label::before{outline:#3b99fc auto 5px}.wprm-recipe-equipment li,.wprm-recipe-ingredients li,.wprm-recipe-instructions li{position:relative}.wprm-recipe-equipment li .wprm-checkbox-container,.wprm-recipe-ingredients li .wprm-checkbox-container,.wprm-recipe-instructions li .wprm-checkbox-container{display:inline-block;position:absolute;left:-32px;top:0.25em;line-height:0.9em}.wprm-recipe-equipment li.wprm-checkbox-is-checked,.wprm-recipe-ingredients li.wprm-checkbox-is-checked,.wprm-recipe-instructions li.wprm-checkbox-is-checked{text-decoration:line-through}.rtl .wprm-recipe-equipment li .wprm-checkbox-container,.rtl .wprm-recipe-ingredients li .wprm-checkbox-container,.rtl .wprm-recipe-instructions li .wprm-checkbox-container{left:inherit;right:-32px}.wprm-list-checkbox-container:before{display:none !important}.wprm-list-checkbox-container.wprm-list-checkbox-checked{text-decoration:line-through}.wprm-list-checkbox-container .wprm-list-checkbox:hover{cursor:pointer}.wprm-recipe-equipment-images{margin:5px -5px;display:flex;flex-wrap:wrap}.wprm-recipe-equipment-images.wprm-recipe-equipment-images-align-center{justify-content:center}.wprm-recipe-equipment-images.wprm-recipe-equipment-images-align-right{justify-content:flex-end}.wprm-recipe-equipment-images.wprm-recipe-equipment-images-align-spaced{justify-content:space-evenly}.wprm-recipe-equipment-images a{border:0 !important;background:0 !important;box-shadow:none !important;float:none !important;margin:0 !important;padding:0 !important;opacity:1 !important}.wprm-recipe-equipment-images .wprm-recipe-equipment-item{margin:5px}.wprm-recipe-equipment-images .wprm-recipe-equipment-item img{margin:0}.wprm-recipe-equipment-images .wprm-recipe-equipment-item .wprm-recipe-equipment-name{text-align:center}.wprm-nutrition-label,html body .wprm-recipe-container .wprm-nutrition-label{display:inline-block;max-width:250px;border:1px solid #333;padding:5px;font-family:Arial, Helvetica, sans-serif;font-size:12px;line-height:16px;text-align:left !important;color:black}.wprm-nutrition-label .nutrition-title,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-title{font-weight:bold;font-size:24px;line-height:24px}.wprm-nutrition-label .nutrition-serving,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-serving{font-size:10px;line-height:14px;font-weight:bold}.wprm-nutrition-label .nutrition-item,.wprm-nutrition-label .nutrition-sub-item,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-item,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-sub-item{border-top:1px solid #333;clear:both}.wprm-nutrition-label .nutrition-sub-item,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-sub-item{margin-left:14px}.wprm-nutrition-label .nutrition-percentage,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-percentage{float:right}.wprm-nutrition-label .nutrition-line,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-line{background-color:#333;height:5px;font-size:1px}.wprm-nutrition-label .nutrition-line.nutrition-line-big,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-line.nutrition-line-big{height:10px}.wprm-nutrition-label .nutrition-warning,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-warning{border-top:1px solid #333;clear:both;padding-top:5px;font-size:10px;color:#999}.rtl .wprm-nutrition-label,html body.rtl .wprm-recipe-container .wprm-nutrition-label{text-align:right !important}.rtl .wprm-nutrition-label .nutrition-sub-item,html body.rtl .wprm-recipe-container .wprm-nutrition-label .nutrition-sub-item{margin-left:0;margin-right:14px}.rtl .wprm-nutrition-label .nutrition-percentage,html body.rtl .wprm-recipe-container .wprm-nutrition-label .nutrition-percentage{float:left}input[type=number].wprm-recipe-servings{display:inline;width:60px;margin:0;padding:5px}.wprm-recipe-servings-text-buttons-container{display:inline-flex}.wprm-recipe-servings-text-buttons-container input[type=text].wprm-recipe-servings{display:inline;width:40px;margin:0;padding:0;vertical-align:top;text-align:center;outline:none;border-radius:0 !important}.wprm-recipe-servings-text-buttons-container input[type=text].wprm-recipe-servings,.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change{border:1px solid #333333;height:30px;user-select:none;font-size:16px}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change{display:inline-block;width:20px;line-height:26px;background:#333333;color:white;text-align:center;cursor:pointer;border-radius:3px}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change:active{font-weight:bold}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change.wprm-recipe-servings-decrement{border-right:none;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change.wprm-recipe-servings-increment{border-left:none;border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.wprm-recipe-servings-container .tippy-box{padding:5px 10px}input[type=range].wprm-recipe-servings-slider{-webkit-appearance:none;width:100%;min-width:150px;margin:0;background:none;border:0}input[type=range].wprm-recipe-servings-slider:focus{outline:none}input[type=range].wprm-recipe-servings-slider::-webkit-slider-runnable-track{width:100%;height:9.2px;cursor:pointer;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d;background:#aaaaaa;border-radius:1.3px;border:0.5px solid #010101}input[type=range].wprm-recipe-servings-slider::-webkit-slider-thumb{box-shadow:1px 1px 1px #000000, 0px 0px 1px #0d0d0d;border:0.7px solid #000000;height:22px;width:10px;border-radius:3px;background:#ffffff;cursor:pointer;-webkit-appearance:none;margin-top:-6.9px}input[type=range].wprm-recipe-servings-slider:focus::-webkit-slider-runnable-track{background:#bcbcbc}input[type=range].wprm-recipe-servings-slider::-moz-range-track{width:100%;height:9.2px;cursor:pointer;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d;background:#aaaaaa;border-radius:1.3px;border:0.5px solid #010101}input[type=range].wprm-recipe-servings-slider::-moz-range-thumb{box-shadow:1px 1px 1px #000000, 0px 0px 1px #0d0d0d;border:0.7px solid #000000;height:22px;width:10px;border-radius:3px;background:#ffffff;cursor:pointer}input[type=range].wprm-recipe-servings-slider::-ms-track{width:100%;height:9.2px;cursor:pointer;background:transparent;border-color:transparent;color:transparent}input[type=range].wprm-recipe-servings-slider::-ms-fill-lower{background:#989898;border:0.5px solid #010101;border-radius:2.6px;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d}input[type=range].wprm-recipe-servings-slider::-ms-fill-upper{background:#aaaaaa;border:0.5px solid #010101;border-radius:2.6px;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d}input[type=range].wprm-recipe-servings-slider::-ms-thumb{box-shadow:1px 1px 1px #000000, 0px 0px 1px #0d0d0d;border:0.7px solid #000000;height:22px;width:10px;border-radius:3px;background:#ffffff;cursor:pointer;height:9.2px}input[type=range].wprm-recipe-servings-slider:focus::-ms-fill-lower{background:#aaaaaa}input[type=range].wprm-recipe-servings-slider:focus::-ms-fill-upper{background:#bcbcbc}.wprm-recipe-tag-term{display:inline-flex;align-items:center;margin:5px}.wprm-recipe-tag-term .wprm-recipe-tag-term-image{display:flex}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-left{flex-direction:row}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-left .wprm-recipe-tag-term-image{margin-right:5px}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-right{flex-direction:row-reverse}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-right .wprm-recipe-tag-term-image{margin-left:5px}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-top{flex-direction:column}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-top .wprm-recipe-tag-term-image{margin-bottom:5px}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-bottom{flex-direction:column-reverse}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-bottom .wprm-recipe-tag-term-image{margin-top:5px}
|
8 |
|
9 |
.wprm-admin-loader{display:inline-block;width:10px;height:10px;border:2px solid rgba(200,200,200,0.3);border-radius:50%;border-top-color:#444;animation:spin 1s ease-in-out infinite;-webkit-animation:spin 1s ease-in-out infinite}@keyframes spin{to{-webkit-transform:rotate(360deg)}}@-webkit-keyframes spin{to{-webkit-transform:rotate(360deg)}}
|
10 |
|
2 |
|
3 |
.wprm-recipe-container{outline:none}.wprm-recipe{overflow:hidden;zoom:1;text-align:left;clear:both}.wprm-recipe *{box-sizing:border-box}.wprm-recipe ol,.wprm-recipe ul{-webkit-margin-before:0;-webkit-margin-after:0;-webkit-padding-start:0;margin:0;padding:0}.wprm-recipe li{font-size:1em;margin:0 0 0 32px;padding:0}.wprm-recipe p{font-size:1em;margin:0;padding:0}.wprm-recipe li,.wprm-recipe li.wprm-recipe-instruction{list-style-position:outside}.wprm-recipe li:before{display:none}.wprm-recipe h1,.wprm-recipe h2,.wprm-recipe h3,.wprm-recipe h4,.wprm-recipe h5,.wprm-recipe h6{clear:none;font-variant:normal;text-transform:none;letter-spacing:normal;margin:0;padding:0}.wprm-recipe a.wprm-recipe-link,.wprm-recipe a.wprm-recipe-link:hover{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.wprm-recipe .wprm-nutrition-label{margin-top:10px}body:not(.wprm-print) .wprm-recipe p:first-letter{font-size:inherit;line-height:inherit;color:inherit;margin:inherit;padding:inherit;font-family:inherit}.rtl .wprm-recipe{text-align:right}.rtl .wprm-recipe li{margin:0 32px 0 0}.wprm-screen-reader-text{border:0;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute !important;width:1px;word-wrap:normal !important}
|
4 |
|
5 |
+
.wprm-recipe-author-with-image{display:inline-flex;align-items:center}.wprm-recipe-author-with-image .wprm-recipe-author-image{line-height:0;margin-right:10px}.wprm-call-to-action.wprm-call-to-action-simple{margin-top:10px;padding:5px 10px;display:flex;justify-content:center;align-items:middle}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-icon{font-size:2.2em;margin:5px 0.5em 5px 0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-icon svg{margin-top:0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container{margin:5px 0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container .wprm-call-to-action-header{display:block;font-weight:bold;font-size:1.3em}@media all and (max-width: 450px){.wprm-call-to-action.wprm-call-to-action-simple{flex-wrap:wrap}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container{text-align:center}}.wprm-recipe-block-container-inline{display:inline-block;margin-right:1.2em}.rtl .wprm-recipe-block-container-inline{margin-right:0;margin-left:1.2em}.wprm-recipe-block-container-separate{display:block}.wprm-recipe-block-container-separated{display:block}.wprm-recipe-block-container-separated .wprm-recipe-details-label{display:block}.wprm-recipe-block-container-columns{display:block}.wprm-recipe-block-container-columns .wprm-recipe-details-label{display:inline-block;min-width:130px}.wprm-recipe-details-container-inline{display:inline}.wprm-recipe-details-container-table{display:flex;border:1px dotted #666;padding:5px;margin:5px 0}.wprm-recipe-details-container-table .wprm-recipe-block-container-table{flex:1;display:flex;flex-direction:column;text-align:center}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom{border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left-right{border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top{border-left:none !important;border-right:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom{border-left:none !important;border-right:none !important;border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left{border-right:none !important;border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-right{border-left:none !important;border-top:none !important;border-bottom:none !important}@media all and (min-width: 451px){.wprm-recipe-table-borders-empty .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-table-borders-inside .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-right:none !important}.wprm-recipe-table-borders-inside .wprm-recipe-block-container-table:first-child{border-left:none !important}.rtl .wprm-recipe-table-borders-inside .wprm-recipe-block-container-table{border-left:none !important}.rtl .wprm-recipe-table-borders-inside .wprm-recipe-block-container-table:first-child{border-right:none !important}}@media all and (max-width: 450px){.wprm-recipe-details-container-table{display:block;border:none !important;padding:0;margin:5px 0}.wprm-recipe-details-container-table.wprm-recipe-table-borders-none{display:flex;flex-wrap:wrap}.wprm-recipe-details-container-table.wprm-recipe-table-borders-none .wprm-recipe-block-container-table{min-width:120px;max-width:100%}.wprm-recipe-details-container-table .wprm-recipe-block-container-table{padding:5px}.wprm-recipe-details-container-table.wprm-recipe-table-borders-all .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom .wprm-recipe-block-container-table{border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left-right .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top .wprm-recipe-block-container-table{border-bottom:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom .wprm-recipe-block-container-table{border-top:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom .wprm-recipe-block-container-table:not(:last-child){border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-right .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-left:none !important}.wprm-recipe-block-container-columns .wprm-recipe-details-label{min-width:0;margin-right:0.4em}}.wprm-recipe-details-unit{font-size:0.8em}@media only screen and (max-width: 600px){.wprm-recipe-details-unit{font-size:1em}}.wprm-container-columns-spaced,.wprm-container-columns-spaced-middle{display:flex;flex-wrap:wrap;justify-content:space-between}.wprm-container-columns-spaced.wprm-container-columns-spaced-middle,.wprm-container-columns-spaced-middle.wprm-container-columns-spaced-middle{align-items:center}.wprm-container-columns-spaced>*,.wprm-container-columns-spaced-middle>*{flex:1}.wprm-container-columns-spaced.wprm-container-columns-gutter,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter{margin-left:-8px;margin-right:-8px}.wprm-container-columns-spaced.wprm-container-columns-gutter>*,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter>*{margin-left:8px !important;margin-right:8px !important}@media all and (max-width: 450px){.wprm-container-columns-spaced,.wprm-container-columns-spaced-middle{display:block}.wprm-container-columns-spaced.wprm-container-columns-gutter>*,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter>*{margin-bottom:16px !important}}.wprm-container-float-left{float:left;margin:0 10px 10px 0;text-align:center;position:relative;z-index:1}.rtl .wprm-container-float-left{float:right;margin:0 0 10px 10px}.wprm-container-float-right{float:right;margin:0 0 10px 10px;text-align:center;position:relative;z-index:1}.rtl .wprm-container-float-right{float:left;margin:0 10px 10px 0}@media only screen and (max-width: 640px){.wprm-container-float-left,.wprm-container-float-right,.rtl .wprm-container-float-left,.rtl .wprm-container-float-right{float:none;margin-left:0;margin-right:0}}.wprm-icon-decoration-line,.wprm-header-decoration-line{display:flex;flex-wrap:wrap;align-items:center}.wprm-icon-decoration-line.wprm-align-left .wprm-decoration-line,.wprm-header-decoration-line.wprm-align-left .wprm-decoration-line{margin-left:15px}.wprm-icon-decoration-line.wprm-align-right .wprm-decoration-line,.wprm-header-decoration-line.wprm-align-right .wprm-decoration-line{margin-right:15px}.wprm-icon-decoration-line.wprm-align-center .wprm-decoration-line:first-child,.wprm-header-decoration-line.wprm-align-center .wprm-decoration-line:first-child{margin-right:15px}.wprm-icon-decoration-line.wprm-align-center .wprm-decoration-line:last-child,.wprm-header-decoration-line.wprm-align-center .wprm-decoration-line:last-child{margin-left:15px}.wprm-decoration-line{flex:auto;height:1px;border-bottom:1px solid black}.wprm-block-text-normal{font-weight:400;font-style:normal;text-transform:none}.wprm-block-text-light{font-weight:300 !important}.wprm-block-text-bold{font-weight:bold !important}.wprm-block-text-italic{font-style:italic !important}.wprm-block-text-uppercase{text-transform:uppercase !important}.wprm-block-text-faded{opacity:0.6}.wprm-block-text-uppercase-faded{text-transform:uppercase !important;opacity:0.6}.wprm-block-text-faded .wprm-block-text-faded{opacity:1}.wprm-block-text-uppercase-faded .wprm-block-text-uppercase-faded{opacity:1}.wprm-align-left{text-align:left}.wprm-align-center{text-align:center}.wprm-align-right{text-align:right}.wprm-recipe-header .wprm-recipe-icon{margin-right:5px}.wprm-recipe-header.wprm-header-has-actions{display:flex;flex-wrap:wrap;align-items:center}.wprm-recipe-header .wprm-unit-conversion-container,.wprm-recipe-header .wprm-recipe-adjustable-servings-container,.wprm-recipe-header .wprm-recipe-media-toggle-container{text-transform:none;font-style:normal;font-weight:normal;opacity:1;font-size:16px}.wprm-recipe-icon svg{display:inline;vertical-align:middle;margin-top:-0.15em;width:1.3em;height:1.3em;overflow:visible}.wprm-icon-shortcode{font-size:16px;height:16px}.wprm-icon-shortcode.wprm-icon-shortcode-inline{display:inline}.wprm-icon-shortcode .wprm-recipe-icon svg{display:inline;vertical-align:middle;margin-top:0;width:1em;height:1em;overflow:visible}.wprm-recipe-image img{display:block;margin:0 auto}.wprm-recipe-image .dpsp-pin-it-wrapper{margin:0 auto}.wprm-recipe-image picture{border:none !important}.wprm-block-image-circle img{border-radius:50%}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-group-name{margin-top:0.8em !important}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-faded{opacity:0.7}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-smaller{font-size:0.8em}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-smaller-faded{opacity:0.7;font-size:0.8em}.wprm-ingredient-style-table-2 li.wprm-recipe-ingredient,.wprm-ingredient-style-table-2-align li.wprm-recipe-ingredient,.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient{display:flex}.wprm-ingredient-style-table-2 li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-2-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit{margin-right:10px;flex-shrink:0}.wprm-ingredient-style-table-2-align .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-3-align .wprm-recipe-ingredient-amount-unit{text-align:right}.wprm-ingredient-style-table-2 li.wprm-recipe-ingredient .wprm-recipe-ingredient-name-notes,.wprm-ingredient-style-table-2-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-name-notes{flex:1}.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient .wprm-recipe-ingredient-name,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-name{margin-right:10px}.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient .wprm-recipe-ingredient-notes,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-notes{flex:1}.wprm-recipe-instructions-container .wprm-recipe-instruction-group-name{margin-top:0.8em !important}.wprm-recipe-instructions-container .wprm-recipe-instruction-text{font-size:1em}.wprm-recipe-instructions-container .wprm-recipe-instruction-media{max-width:100%;margin:5px 0 15px}.wprm-recipe-instructions-container .wprm-recipe-instruction-video iframe{max-width:100%}.wprm-recipe-instruction-ingredients-inline .wprm-recipe-instruction-ingredient{display:inline-block}.wprm-recipe-link{cursor:pointer;text-decoration:none}.wprm-recipe-link.wprm-recipe-link-inline-button{display:inline-block;margin:0 5px 5px 0}.wprm-recipe-link.wprm-recipe-link-button{display:table;margin:5px auto}.wprm-recipe-link.wprm-recipe-link-wide-button{display:block;width:auto;margin:5px 0;text-align:center}.wprm-recipe-link.wprm-recipe-link-button,.wprm-recipe-link.wprm-recipe-link-inline-button,.wprm-recipe-link.wprm-recipe-link-wide-button{border-width:1px;border-style:solid;padding:5px}.rtl .wprm-recipe-link.wprm-recipe-link-inline-button{margin:0 0 5px 5px}.wprm-nutrition-label-container-simple .wprm-nutrition-label-text-nutrition-unit{font-size:0.85em}.wprm-nutrition-label-container-grouped{display:flex;flex-wrap:wrap;justify-content:flex-start}.wprm-nutrition-label-container-grouped .wprm-nutrition-label-text-nutrition-container{white-space:nowrap;padding-right:10px}.rtl .wprm-nutrition-label-container-grouped .wprm-nutrition-label-text-nutrition-container{padding-left:10px;padding-right:0}.wprm-recipe-rating{white-space:nowrap}.wprm-recipe-rating svg{vertical-align:middle;margin-top:-0.15em !important;width:1.1em;height:1.1em;margin:0}.wprm-recipe-rating.wprm-recipe-rating-inline .wprm-recipe-rating-details{display:inline-block;margin-left:10px}.wprm-recipe-rating .wprm-recipe-rating-details{font-size:0.8em}.wprm-spacer{display:block !important;background:none !important;font-size:0;line-height:0;width:100%;height:10px}.wprm-spacer+.wprm-spacer{display:none !important}.wprm-recipe-summary .wprm-spacer,.wprm-recipe-instruction-text .wprm-spacer,.wprm-recipe-notes .wprm-spacer{display:block !important}.wprm-toggle-switch-container{display:flex;align-items:center;margin:10px 0}.wprm-toggle-switch-container .wprm-toggle-switch{margin-right:10px}.wprm-toggle-switch-container label{cursor:pointer;margin:0;font-size:1em;flex-shrink:0}.wprm-toggle-switch-container .wprm-prevent-sleep-description{margin-left:10px;font-size:0.8em;line-height:1.1em}.wprm-toggle-switch{position:relative;display:inline-block;width:40px;height:20px}.wprm-toggle-switch input{opacity:0;width:0;height:0;margin:0;padding:0}.wprm-toggle-switch .wprm-toggle-switch-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#cccccc;-webkit-transition:.4s;transition:.4s}.wprm-toggle-switch .wprm-toggle-switch-slider:before{position:absolute;content:"";height:80%;left:7%;right:50%;bottom:10%;background-color:white;-webkit-transition:.4s;transition:.4s}.wprm-toggle-switch input:checked+.wprm-toggle-switch-slider{background-color:#333333 !important}.wprm-toggle-switch input:focus+.wprm-toggle-switch-slider{box-shadow:0 0 0 3px rgba(0,0,0,0.12)}.wprm-toggle-switch input:checked+.wprm-toggle-switch-slider:before{left:50%;right:7%}.wprm-toggle-switch-rounded .wprm-toggle-switch-slider:before{border-radius:50%}.wprm-toggle-container{display:inline-flex;align-items:stretch;border:1px solid #333333;flex-shrink:0;overflow:hidden}.wprm-toggle-container button.wprm-toggle{display:inline-block;padding:5px 10px;font-size:inherit;line-height:inherit;font-weight:inherit;text-transform:inherit;letter-spacing:inherit;text-decoration:none;white-space:nowrap;border:none;border-radius:0;box-shadow:none}.wprm-toggle-container button.wprm-toggle.wprm-toggle-active .wprm-toggle-icon-inactive{display:none}.wprm-toggle-container button.wprm-toggle:not(.wprm-toggle-active){background:none !important;color:inherit !important}.wprm-toggle-container button.wprm-toggle:not(.wprm-toggle-active) .wprm-toggle-icon-active{display:none}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon{margin:0}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon svg{margin-top:-0.3em}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon+.wprm-toggle-text{margin-left:10px}.wprm-recipe-header+.wprm-recipe-video{margin-top:10px}
|
6 |
|
7 |
+
.wprm-recipe-equipment-container,.wprm-recipe-ingredients-container,.wprm-recipe-instructions-container{counter-reset:wprm-advanced-list-counter}ul.wprm-advanced-list.wprm-advanced-list-reset{counter-reset:wprm-advanced-list-counter}ul.wprm-advanced-list li{list-style-type:none}ul.wprm-advanced-list li:before{counter-increment:wprm-advanced-list-counter;content:counter(wprm-advanced-list-counter);display:flex;align-items:center;justify-content:center;float:left;font-weight:bold;margin:2px 0 0 -32px;border-radius:100%;border:0}.rtl ul.wprm-advanced-list li:before{float:right;margin:2px -32px 0 0}.wprm-checkbox-container{margin-left:-16px}.rtl .wprm-checkbox-container{margin-left:0;margin-right:-16px}.wprm-checkbox-container input[type="checkbox"]{width:16px !important;margin:0 !important;opacity:0}.wprm-checkbox-container label.wprm-checkbox-label{position:relative;display:inline !important;margin:0 !important;left:0;padding-left:26px}.wprm-checkbox-container label::before,.wprm-checkbox-container label::after{position:absolute;content:"";display:inline-block}.rtl .wprm-checkbox-container label::before{right:0}.rtl .wprm-checkbox-container label::after{right:5px}.wprm-checkbox-container label::before{height:18px;width:18px;border:1px solid;left:0;top:0}.wprm-checkbox-container label::after{height:5px;width:9px;border-left:2px solid;border-bottom:2px solid;transform:rotate(-45deg);left:5px;top:5px}.wprm-checkbox-container input[type="checkbox"]+label::after{content:none}.wprm-checkbox-container input[type="checkbox"]:checked+label::after{content:""}.wprm-checkbox-container input[type="checkbox"]:focus+label::before{outline:#3b99fc auto 5px}.wprm-recipe-equipment li,.wprm-recipe-ingredients li,.wprm-recipe-instructions li{position:relative}.wprm-recipe-equipment li .wprm-checkbox-container,.wprm-recipe-ingredients li .wprm-checkbox-container,.wprm-recipe-instructions li .wprm-checkbox-container{display:inline-block;position:absolute;left:-32px;top:0.25em;line-height:0.9em}.wprm-recipe-equipment li.wprm-checkbox-is-checked,.wprm-recipe-ingredients li.wprm-checkbox-is-checked,.wprm-recipe-instructions li.wprm-checkbox-is-checked{text-decoration:line-through}.wprm-recipe-equipment li.wprm-checkbox-is-checked .wprm-recipe-instruction-ingredient,.wprm-recipe-ingredients li.wprm-checkbox-is-checked .wprm-recipe-instruction-ingredient,.wprm-recipe-instructions li.wprm-checkbox-is-checked .wprm-recipe-instruction-ingredient{text-decoration:line-through}.rtl .wprm-recipe-equipment li .wprm-checkbox-container,.rtl .wprm-recipe-ingredients li .wprm-checkbox-container,.rtl .wprm-recipe-instructions li .wprm-checkbox-container{left:inherit;right:-32px}.wprm-list-checkbox-container:before{display:none !important}.wprm-list-checkbox-container.wprm-list-checkbox-checked{text-decoration:line-through}.wprm-list-checkbox-container .wprm-list-checkbox:hover{cursor:pointer}.wprm-recipe-equipment-images{margin:5px -5px;display:flex;flex-wrap:wrap}.wprm-recipe-equipment-images.wprm-recipe-equipment-images-align-center{justify-content:center}.wprm-recipe-equipment-images.wprm-recipe-equipment-images-align-right{justify-content:flex-end}.wprm-recipe-equipment-images.wprm-recipe-equipment-images-align-spaced{justify-content:space-evenly}.wprm-recipe-equipment-images a{border:0 !important;background:0 !important;box-shadow:none !important;float:none !important;margin:0 !important;padding:0 !important;opacity:1 !important}.wprm-recipe-equipment-images .wprm-recipe-equipment-item{margin:5px}.wprm-recipe-equipment-images .wprm-recipe-equipment-item img{margin:0}.wprm-recipe-equipment-images .wprm-recipe-equipment-item .wprm-recipe-equipment-name{text-align:center}.wprm-nutrition-label,html body .wprm-recipe-container .wprm-nutrition-label{display:inline-block;max-width:250px;border:1px solid #333;padding:5px;font-family:Arial, Helvetica, sans-serif;font-size:12px;line-height:16px;text-align:left !important;color:black}.wprm-nutrition-label .nutrition-title,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-title{font-weight:bold;font-size:24px;line-height:24px}.wprm-nutrition-label .nutrition-serving,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-serving{font-size:10px;line-height:14px;font-weight:bold}.wprm-nutrition-label .nutrition-item,.wprm-nutrition-label .nutrition-sub-item,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-item,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-sub-item{border-top:1px solid #333;clear:both}.wprm-nutrition-label .nutrition-sub-item,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-sub-item{margin-left:14px}.wprm-nutrition-label .nutrition-percentage,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-percentage{float:right}.wprm-nutrition-label .nutrition-line,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-line{background-color:#333;height:5px;font-size:1px}.wprm-nutrition-label .nutrition-line.nutrition-line-big,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-line.nutrition-line-big{height:10px}.wprm-nutrition-label .nutrition-warning,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-warning{border-top:1px solid #333;clear:both;padding-top:5px;font-size:10px;color:#999}.rtl .wprm-nutrition-label,html body.rtl .wprm-recipe-container .wprm-nutrition-label{text-align:right !important}.rtl .wprm-nutrition-label .nutrition-sub-item,html body.rtl .wprm-recipe-container .wprm-nutrition-label .nutrition-sub-item{margin-left:0;margin-right:14px}.rtl .wprm-nutrition-label .nutrition-percentage,html body.rtl .wprm-recipe-container .wprm-nutrition-label .nutrition-percentage{float:left}input[type=number].wprm-recipe-servings{display:inline;width:60px;margin:0;padding:5px}.wprm-recipe-servings-text-buttons-container{display:inline-flex}.wprm-recipe-servings-text-buttons-container input[type=text].wprm-recipe-servings{display:inline;width:40px;margin:0;padding:0;vertical-align:top;text-align:center;outline:none;border-radius:0 !important}.wprm-recipe-servings-text-buttons-container input[type=text].wprm-recipe-servings,.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change{border:1px solid #333333;height:30px;user-select:none;font-size:16px}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change{display:inline-block;width:20px;line-height:26px;background:#333333;color:white;text-align:center;cursor:pointer;border-radius:3px}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change:active{font-weight:bold}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change.wprm-recipe-servings-decrement{border-right:none;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change.wprm-recipe-servings-increment{border-left:none;border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.wprm-recipe-servings-container .tippy-box{padding:5px 10px}input[type=range].wprm-recipe-servings-slider{-webkit-appearance:none;width:100%;min-width:150px;margin:0;background:none;border:0}input[type=range].wprm-recipe-servings-slider:focus{outline:none}input[type=range].wprm-recipe-servings-slider::-webkit-slider-runnable-track{width:100%;height:9.2px;cursor:pointer;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d;background:#aaaaaa;border-radius:1.3px;border:0.5px solid #010101}input[type=range].wprm-recipe-servings-slider::-webkit-slider-thumb{box-shadow:1px 1px 1px #000000, 0px 0px 1px #0d0d0d;border:0.7px solid #000000;height:22px;width:10px;border-radius:3px;background:#ffffff;cursor:pointer;-webkit-appearance:none;margin-top:-6.9px}input[type=range].wprm-recipe-servings-slider:focus::-webkit-slider-runnable-track{background:#bcbcbc}input[type=range].wprm-recipe-servings-slider::-moz-range-track{width:100%;height:9.2px;cursor:pointer;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d;background:#aaaaaa;border-radius:1.3px;border:0.5px solid #010101}input[type=range].wprm-recipe-servings-slider::-moz-range-thumb{box-shadow:1px 1px 1px #000000, 0px 0px 1px #0d0d0d;border:0.7px solid #000000;height:22px;width:10px;border-radius:3px;background:#ffffff;cursor:pointer}input[type=range].wprm-recipe-servings-slider::-ms-track{width:100%;height:9.2px;cursor:pointer;background:transparent;border-color:transparent;color:transparent}input[type=range].wprm-recipe-servings-slider::-ms-fill-lower{background:#989898;border:0.5px solid #010101;border-radius:2.6px;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d}input[type=range].wprm-recipe-servings-slider::-ms-fill-upper{background:#aaaaaa;border:0.5px solid #010101;border-radius:2.6px;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d}input[type=range].wprm-recipe-servings-slider::-ms-thumb{box-shadow:1px 1px 1px #000000, 0px 0px 1px #0d0d0d;border:0.7px solid #000000;height:22px;width:10px;border-radius:3px;background:#ffffff;cursor:pointer;height:9.2px}input[type=range].wprm-recipe-servings-slider:focus::-ms-fill-lower{background:#aaaaaa}input[type=range].wprm-recipe-servings-slider:focus::-ms-fill-upper{background:#bcbcbc}.wprm-recipe-tag-term{display:inline-flex;align-items:center;margin:5px}.wprm-recipe-tag-term .wprm-recipe-tag-term-image{display:flex}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-left{flex-direction:row}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-left .wprm-recipe-tag-term-image{margin-right:5px}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-right{flex-direction:row-reverse}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-right .wprm-recipe-tag-term-image{margin-left:5px}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-top{flex-direction:column}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-top .wprm-recipe-tag-term-image{margin-bottom:5px}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-bottom{flex-direction:column-reverse}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-bottom .wprm-recipe-tag-term-image{margin-top:5px}
|
8 |
|
9 |
.wprm-admin-loader{display:inline-block;width:10px;height:10px;border:2px solid rgba(200,200,200,0.3);border-radius:50%;border-top-color:#444;animation:spin 1s ease-in-out infinite;-webkit-animation:spin 1s ease-in-out infinite}@keyframes spin{to{-webkit-transform:rotate(360deg)}}@-webkit-keyframes spin{to{-webkit-transform:rotate(360deg)}}
|
10 |
|
dist/admin-faq.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
var WPRecipeMaker;(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-recipe-maker/dist/admin-faq"]=(self.webpackChunkWPRecipeMaker_name_=self.webpackChunkWPRecipeMaker_name_||[]).push([[437],{98453:function(e,t,n){"use strict";n.r(t);var r=n(73961),o=n(89526),i=(n(35054),n(37932)),a=e=>o.createElement("div",{className:"wprm-admin-onboarding-step-welcome"},o.createElement("p",null,"Welcome to WP Recipe Maker!"),o.createElement("p",null,"These onboarding steps will get you up and running in no time by ",o.createElement("strong",null,"choosing the correct options for your situation")," and showing you how to get the most out of this plugin."),o.createElement("div",{className:"wprm-admin-onboarding-step-welcome-buttons"},o.createElement("button",{className:"button button-primary",onClick:()=>{e.jumpToStep(1)}},"Start the onboarding!"),o.createElement("a",{href:wprm_admin.manage_url+"&skip_onboarding=1"},"or click here to skip")));function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?g(e):t}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function x(e){return function(e){if(Array.isArray(e))return w(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 w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(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 w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var E=function e(t){var n=this,r=t.expanded,o=void 0===r?[]:r,i=t.allowMultipleExpanded,a=void 0!==i&&i,u=t.allowZeroExpanded,s=void 0!==u&&u;l(this,e),c(this,"expanded",void 0),c(this,"allowMultipleExpanded",void 0),c(this,"allowZeroExpanded",void 0),c(this,"toggleExpanded",(function(e){return n.isItemDisabled(e)?n:n.isItemExpanded(e)?n.augment({expanded:n.expanded.filter((function(t){return t!==e}))}):n.augment({expanded:n.allowMultipleExpanded?[].concat(x(n.expanded),[e]):[e]})})),c(this,"isItemDisabled",(function(e){var t=n.isItemExpanded(e),r=1===n.expanded.length;return Boolean(t&&!n.allowZeroExpanded&&r)})),c(this,"isItemExpanded",(function(e){return-1!==n.expanded.indexOf(e)})),c(this,"getPanelAttributes",(function(e,t){var r=null!=t?t:n.isItemExpanded(e);return{role:n.allowMultipleExpanded?void 0:"region","aria-hidden":n.allowMultipleExpanded?!r:void 0,"aria-labelledby":n.getButtonId(e),id:n.getPanelId(e),hidden:!r||void 0}})),c(this,"getHeadingAttributes",(function(){return{role:"heading"}})),c(this,"getButtonAttributes",(function(e,t){var r=null!=t?t:n.isItemExpanded(e),o=n.isItemDisabled(e);return{id:n.getButtonId(e),"aria-disabled":o,"aria-expanded":r,"aria-controls":n.getPanelId(e),role:"button",tabIndex:0}})),c(this,"getPanelId",(function(e){return"accordion__panel-".concat(e)})),c(this,"getButtonId",(function(e){return"accordion__heading-".concat(e)})),c(this,"augment",(function(t){return new e(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({expanded:n.expanded,allowMultipleExpanded:n.allowMultipleExpanded,allowZeroExpanded:n.allowZeroExpanded},t))})),this.expanded=o,this.allowMultipleExpanded=a,this.allowZeroExpanded=s},I=(0,o.createContext)(null),S=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return c(g(e=t.call.apply(t,[this].concat(o))),"state",new E({expanded:e.props.preExpanded,allowMultipleExpanded:e.props.allowMultipleExpanded,allowZeroExpanded:e.props.allowZeroExpanded})),c(g(e),"toggleExpanded",(function(t){e.setState((function(e){return e.toggleExpanded(t)}),(function(){e.props.onChange&&e.props.onChange(e.state.expanded)}))})),c(g(e),"isItemDisabled",(function(t){return e.state.isItemDisabled(t)})),c(g(e),"isItemExpanded",(function(t){return e.state.isItemExpanded(t)})),c(g(e),"getPanelAttributes",(function(t,n){return e.state.getPanelAttributes(t,n)})),c(g(e),"getHeadingAttributes",(function(){return e.state.getHeadingAttributes()})),c(g(e),"getButtonAttributes",(function(t,n){return e.state.getButtonAttributes(t,n)})),e}return s(n,[{key:"render",value:function(){var e=this.state,t=e.allowZeroExpanded,n=e.allowMultipleExpanded;return(0,o.createElement)(I.Provider,{value:{allowMultipleExpanded:n,allowZeroExpanded:t,toggleExpanded:this.toggleExpanded,isItemDisabled:this.isItemDisabled,isItemExpanded:this.isItemExpanded,getPanelAttributes:this.getPanelAttributes,getHeadingAttributes:this.getHeadingAttributes,getButtonAttributes:this.getButtonAttributes}},this.props.children||null)}}]),n}(o.PureComponent);c(S,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var M,C=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return c(g(e=t.call.apply(t,[this].concat(o))),"renderChildren",(function(t){return t?e.props.children(t):null})),e}return s(n,[{key:"render",value:function(){return(0,o.createElement)(I.Consumer,null,this.renderChildren)}}]),n}(o.PureComponent),k=function(e){var t=e.className,n=void 0===t?"accordion":t,r=e.allowMultipleExpanded,i=e.allowZeroExpanded,a=e.onChange,l=e.preExpanded,u=v(e,["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"]);return(0,o.createElement)(S,{preExpanded:l,allowMultipleExpanded:r,allowZeroExpanded:i,onChange:a},(0,o.createElement)("div",p({"data-accordion-component":"Accordion",className:n},u)))};!function(e){e.Accordion="Accordion",e.AccordionItem="AccordionItem",e.AccordionItemButton="AccordionItemButton",e.AccordionItemHeading="AccordionItemHeading",e.AccordionItemPanel="AccordionItemPanel"}(M||(M={}));var O=M,j=0;function P(){var e=j;return j+=1,"raa-".concat(e)}var T=/[\u0009\u000a\u000c\u000d\u0020]/g;function L(e){return""!==e&&!T.test(e)||(console.error('uuid must be a valid HTML5 id but was given "'.concat(e,'", ASCII whitespaces are forbidden')),!1)}var D=(0,o.createContext)(null),A=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return c(g(e=t.call.apply(t,[this].concat(i))),"toggleExpanded",(function(){e.props.accordionContext.toggleExpanded(e.props.uuid)})),c(g(e),"renderChildren",(function(t){var n=e.props,r=n.uuid,i=n.dangerouslySetExpanded,a=null!=i?i:t.isItemExpanded(r),l=t.isItemDisabled(r),u=t.getPanelAttributes(r,i),s=t.getHeadingAttributes(r),c=t.getButtonAttributes(r,i);return(0,o.createElement)(D.Provider,{value:{uuid:r,expanded:a,disabled:l,toggleExpanded:e.toggleExpanded,panelAttributes:u,headingAttributes:s,buttonAttributes:c}},e.props.children)})),e}return s(n,[{key:"render",value:function(){return(0,o.createElement)(C,null,this.renderChildren)}}]),n}(o.Component),_=function(e){return(0,o.createElement)(C,null,(function(t){return(0,o.createElement)(A,p({},e,{accordionContext:t}))}))},N=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return c(g(e=t.call.apply(t,[this].concat(o))),"renderChildren",(function(t){return t?e.props.children(t):null})),e}return s(n,[{key:"render",value:function(){return(0,o.createElement)(D.Consumer,null,this.renderChildren)}}]),n}(o.PureComponent),B=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return c(g(e=t.call.apply(t,[this].concat(i))),"instanceUuid",P()),c(g(e),"renderChildren",(function(t){var n=e.props,r=(n.uuid,n.className),i=n.activeClassName,a=(n.dangerouslySetExpanded,v(n,["uuid","className","activeClassName","dangerouslySetExpanded"])),l=t.expanded&&i?i:r;return(0,o.createElement)("div",p({"data-accordion-component":"AccordionItem",className:l},a))})),e}return s(n,[{key:"render",value:function(){var e=this.props,t=e.uuid,n=void 0===t?this.instanceUuid:t,r=e.dangerouslySetExpanded,i=v(e,["uuid","dangerouslySetExpanded"]);return L(n),i.id&&L(i.id),(0,o.createElement)(_,{uuid:n,dangerouslySetExpanded:r},(0,o.createElement)(N,null,this.renderChildren))}}]),n}(o.Component);function R(e){return e&&(e.matches('[data-accordion-component="Accordion"]')?e:R(e.parentElement))}function H(e){var t=R(e);return t&&Array.from(t.querySelectorAll('[data-accordion-component="AccordionItemButton"]'))}c(B,"defaultProps",{className:"accordion__item"}),c(B,"displayName",O.AccordionItem);var F="40",Z="35",W="13",z="36",G="37",U="39",V="32",J="38",Y=function(e){var t=e.toggleExpanded,n=e.className,r=void 0===n?"accordion__button":n,i=v(e,["toggleExpanded","className"]);return i.id&&L(i.id),(0,o.createElement)("div",p({className:r},i,{role:"button",tabIndex:0,onClick:t,onKeyDown:function(e){var n,r,o=e.which.toString();if(o!==W&&o!==V||(e.preventDefault(),t()),e.target instanceof HTMLElement)switch(o){case z:e.preventDefault(),n=e.target,(r=(H(n)||[])[0])&&r.focus();break;case Z:e.preventDefault(),function(e){var t=H(e)||[],n=t[t.length-1];n&&n.focus()}(e.target);break;case G:case J:e.preventDefault(),function(e){var t=H(e)||[],n=t.indexOf(e);if(-1!==n){var r=t[n-1];r&&r.focus()}}(e.target);break;case U:case F:e.preventDefault(),function(e){var t=H(e)||[],n=t.indexOf(e);if(-1!==n){var r=t[n+1];r&&r.focus()}}(e.target)}},"data-accordion-component":"AccordionItemButton"}))},Q=function(e){return(0,o.createElement)(N,null,(function(t){var n=t.toggleExpanded,r=t.buttonAttributes;return(0,o.createElement)(Y,p({toggleExpanded:n},e,r))}))},X=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return c(g(e=t.call.apply(t,[this].concat(o))),"ref",void 0),c(g(e),"setRef",(function(t){e.ref=t})),e}return s(n,[{key:"componentDidUpdate",value:function(){n.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){n.VALIDATE(this.ref)}},{key:"render",value:function(){return(0,o.createElement)("div",p({"data-accordion-component":"AccordionItemHeading"},this.props,{ref:this.setRef}))}}],[{key:"VALIDATE",value:function(e){if(void 0===e)throw new Error("ref is undefined");if(1!==e.childElementCount||!e.firstElementChild||"AccordionItemButton"!==e.firstElementChild.getAttribute("data-accordion-component"))throw new Error("AccordionItemButton may contain only one child element, which must be an instance of AccordionItemButton.\n\nFrom the WAI-ARIA spec (https://www.w3.org/TR/wai-aria-practices-1.1/#accordion):\n\n“The button element is the only element inside the heading element. That is, if there are other visually persistent elements, they are not included inside the heading element.”\n\n")}}]),n}(o.PureComponent);c(X,"defaultProps",{className:"accordion__heading","aria-level":3});var q=function(e){return(0,o.createElement)(N,null,(function(t){var n=t.headingAttributes;return e.id&&L(e.id),(0,o.createElement)(X,p({},e,n))}))};q.displayName=O.AccordionItemHeading;var $=function(e){var t=e.className,n=void 0===t?"accordion__panel":t,r=e.id,i=v(e,["className","id"]),a=function(e){var t=e.panelAttributes;return r&&L(r),(0,o.createElement)("div",p({"data-accordion-component":"AccordionItemPanel",className:n},i,t))};return(0,o.createElement)(N,null,a)},K=e=>o.createElement("div",{className:"wprm-admin-onboarding-accordion-container"},e.hasOwnProperty("title")&&o.createElement("h2",null,e.title),o.createElement(k,{className:"wprm-admin-onboarding-accordion",allowZeroExpanded:!0},e.items.map(((e,t)=>o.createElement(B,{key:t},o.createElement(q,null,o.createElement(Q,null,e.header)),o.createElement($,null,e.content)))))),ee=wprm_admin.wprm_url+"assets/images/faq/creating/",te=e=>o.createElement(K,{items:[{header:"Gutenberg Block Editor (WordPress default)",content:o.createElement(o.Fragment,null,o.createElement("p",null,"This is the default editor for WordPress and the one we recommend. To add a recipe you ",o.createElement("strong",null,"add a WPRM Recipe block")," to the post content."),o.createElement("img",{src:ee+"gutenberg-block.png"}),o.createElement("p",null,"After adding a WPRM Recipe block you can click a button to ",o.createElement("strong",null,"create a new recipe or insert an existing one"),'. The "Create new from Existing Recipe" button can be used to duplicate an existing recipe to start your new recipe from.'),o.createElement("img",{src:ee+"gutenberg-block-buttons.png"}),o.createElement("p",null,"Clicking on a button will open up the recipe modal for you to fill in."))},{header:"Classic Editor",content:o.createElement(o.Fragment,null,o.createElement("p",null,"You won't get a nice preview of the recipe, but we still fully support the Classic Editor. To add a recipe, ",o.createElement("strong",null,"click on the WP Recipe Maker button or icon")," in the visual editor."),o.createElement("img",{src:ee+"classic-editor-buttons.png"}),o.createElement("p",null,"After clicking a modal will show up with all things that WP Recipe Maker can insert for you."),o.createElement("img",{src:ee+"classic-editor-modal.png"}),o.createElement("p",null,"Click the button to ",o.createElement("strong",null,"create a new recipe or insert an existing one"),'. The "Create new from Existing Recipe" button can be used to duplicate an existing recipe to start your new recipe from.'))},{header:"Elementor Page Builder",content:o.createElement(o.Fragment,null,o.createElement("p",null,"We integrate with the Elementor Page Builder so you can simply ",o.createElement("strong",null,"add a WPRM Recipe widget to your post"),"."),o.createElement("img",{src:ee+"elementor-widget.png"}),o.createElement("p",null,'When you click on "Create or edit Recipe" it will take you to the ',o.createElement("strong",null,"WP Recipe Maker Manage page explained below"),", as recipes can't be created or edited in the Elementor interface."),o.createElement("p",null,"Once you've create a recipe you can just ",o.createElement("strong",null,"search for its name")," to insert it."),o.createElement("img",{src:ee+"elementor-select-recipe.png"}))},{header:"Other Page Builder",content:o.createElement(o.Fragment,null,o.createElement("p",null,"If you're using a page builder that we don't integrate with you can still use WP Recipe Maker. You'll ",o.createElement("strong",null,"create a recipe on the WP Recipe Maker Manage page explained below"),"."),o.createElement("p",null,"After creating a recipe you ",o.createElement("strong",null,"type the recipe shortcode")," where you want the recipe to appear."),o.createElement("img",{src:ee+"page-builder.png"}))},{header:"WordPress.com Editor",content:o.createElement(o.Fragment,null,o.createElement("p",null,"If your interface ",o.createElement("strong",null,"looks like the classic editor but doesn't have the WP Recipe Maker button")," you might be using the WordPress.com interface."),o.createElement("img",{src:ee+"wordpress-com-interface.png"}),o.createElement("p",null,"One option you have is to ",o.createElement("strong",null,'type the recipe shortcode as shown under "Other Page Builder"')," above."),o.createElement("p",null,"Or you could revert to the ",o.createElement("strong",null,"classic WP Admin interface")," through the menu link."),o.createElement("img",{src:ee+"wordpress-com-admin-link.png"}),o.createElement("p",null,"Once in the classic interface you can follow the ",o.createElement("strong",null,"Classic Editor")," instructions above."))}]}),ne=wprm_admin.wprm_url+"assets/images/faq/creating/",re=e=>o.createElement("div",{className:"wprm-admin-onboarding-step-creating"},o.createElement("p",null,"An important thing about WP Recipe Maker is that ",o.createElement("strong",null,"recipes do not exist on their own"),". You create a recipe and then ",o.createElement("strong",null,"add it to a regular post")," on your website."),o.createElement("p",null,"The way to add a recipe to a post depends on the editor you're using."),o.createElement("h2",null,"What editor are you using?"),o.createElement("p",null,"Click on the editor you use on your website to get instructions on how to add a recipe."),o.createElement(te,null),o.createElement("h2",null,"Using the WP Recipe Maker Manage page"),o.createElement("p",null,"Whatever editor you're using, an easy way to ",o.createElement("strong",null,"create, edit, and manage")," your recipes is through the ",o.createElement("em",null,"WP Recipe Maker > Manage")," page that will be available after going through these onboarding steps."),o.createElement("p",null,"On the Manage page you will find an ",o.createElement("strong",null,"overview of all the recipes on your website"),"."),o.createElement("img",{src:ne+"manage-overview.png"}),o.createElement("p",null,"There is a LOT to explore on the manage page, but for now just focus on the ",o.createElement("strong",null,'blue "Create Recipe" button')," in the top right. Simply clicking this will create a new recipe for you."),o.createElement("p",null,"It's worth repeating that ",o.createElement("strong",null,"this new recipe won't get displayed anywhere automatically"),". It has to be added to a post using one of the methods shown above. This will then become ",o.createElement("strong",null,"the parent post for the recipe"),", the place on your website where the recipe is displayed."),o.createElement("p",null,"Now that you know how to create recipes it's time to have a look at them!")),oe=n(720),ie=n(71288);class ae extends o.Component{constructor(e){super(e);var t=!1;wprm_admin_template.templates.hasOwnProperty("chic")&&(t=wprm_admin_template.templates.chic),this.state={template:t}}render(){var e=[];return Object.values(wprm_admin_template.templates).forEach((t=>{"recipe"===t.type&&"excerpt"!==t.slug&&"compact-howto"!==t.slug&&e.push(t)})),o.createElement("div",{className:"wprm-admin-onboarding-step-template"},o.createElement("p",null,"WP Recipe Maker includes a ",o.createElement("strong",null,"full Template Editor to customize the entire look and feel of your recipes")," to match your needs. It can be accessed through the ",o.createElement("em",null,"WP Recipe Maker > Settings")," page."),o.createElement("p",null,"For now let's just start by choosing one of our default templates. You'll have time to dive into the customization rabbit hole later!"),o.createElement("h2",null,"Select a template for your recipes"),o.createElement("div",{className:"wprm-admin-onboarding-step-template-select"},e.map(((e,t)=>{var n="wprm-manage-templates-template";return n+=!1!==this.state.template&&this.state.template.slug===e.slug?" wprm-manage-templates-template-selected":"",n+=e.premium&&!wprm_admin.addons.premium?" wprm-manage-templates-template-premium":"",o.createElement("div",{key:t,className:n,onClick:()=>{this.setState({template:e})}},e.name)}))),o.createElement("div",{className:"wprm-admin-onboarding-step-template-preview"},!1!==this.state.template&&o.createElement(o.Fragment,null,this.state.template.premium&&!wprm_admin.addons.premium&&o.createElement("p",{style:{color:"darkred",textAlign:"center"}},"You need ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium")," to use this template."),o.createElement(oe.Z,{template:this.state.template,mode:"onboarding",onChangeMode:()=>{},onChangeHTML:()=>{}}))),o.createElement("div",{className:"footer-buttons"},o.createElement("button",{type:"button",className:"button",id:"prev-button",onClick:()=>{this.props.jumpToStep(1)}},"Previous"),o.createElement("button",{type:"button",className:"button button-primary",id:"next-button",onClick:()=>{this.state.template?this.state.template.premium&&!wprm_admin.addons.premium?alert("This template is only available in WP Recipe Maker Premium."):(ie.Z.settings.save({recipe_template_mode:"modern",default_recipe_template_modern:this.state.template.slug}),this.props.jumpToStep(3)):alert("Please select a template above.")}},"Use the above Template")))}}class le extends o.Component{constructor(e){super(e);var t=!1;wprm_admin_template.templates.hasOwnProperty("snippet-basic-buttons")&&(t=wprm_admin_template.templates["snippet-basic-buttons"]),this.state={template:t}}render(){var e=[];return Object.values(wprm_admin_template.templates).forEach((t=>{"snippet"===t.type&&e.push(t)})),o.createElement("div",{className:"wprm-admin-onboarding-step-snippet"},o.createElement("p",null,"Most people have content before the actual recipe. Often, there are some paragrahs with additional information or backstory. Maybe a few ads in between? You want people to read this, but if they are in a hurry you could ",o.createElement("strong",null,"give your visitors the option to jump directly to the recipe as well"),"!"),o.createElement("p",null,'That\'s where the Recipe Snippets feature comes in. These snippets usually contain a "Jump to Recipe" and "Print Recipe" button but can include any field you want, really. Have a look at the ',o.createElement("em",null,"Snippet Summary")," template below, for example."),o.createElement("p",null,"These snippets are ",o.createElement("strong",null,"fully customizable in the Template Editor")," as well. So you can change colors, text and add more information afterwards."),o.createElement("h2",null,"Select a snippet template"),o.createElement("div",{className:"wprm-admin-onboarding-step-template-select"},e.map(((e,t)=>{var n="wprm-manage-templates-template";return n+=!1!==this.state.template&&this.state.template.slug===e.slug?" wprm-manage-templates-template-selected":"",n+=e.premium&&!wprm_admin.addons.premium?" wprm-manage-templates-template-premium":"",o.createElement("div",{key:t,className:n,onClick:()=>{this.setState({template:e})}},e.name)}))),o.createElement("div",{className:"wprm-admin-onboarding-step-template-preview"},!1!==this.state.template&&o.createElement(o.Fragment,null,this.state.template.premium&&!wprm_admin.addons.premium&&o.createElement("p",{style:{color:"darkred",textAlign:"center"}},"You need ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium")," to use this template."),o.createElement(oe.Z,{template:this.state.template,mode:"onboarding",onChangeMode:()=>{},onChangeHTML:()=>{}}),o.createElement("p",null,"This would be the start of your regular post content, so the snippet appears right at the top of your post."))),o.createElement("div",{className:"footer-buttons"},o.createElement("button",{type:"button",className:"button",id:"prev-button",onClick:()=>{this.props.jumpToStep(2)}},"Previous"),o.createElement("button",{type:"button",className:"button button-primary",id:"skip-button",onClick:()=>{this.props.jumpToStep(4)}},"Do not enable snippets right now"),o.createElement("button",{type:"button",className:"button button-primary",id:"next-button",onClick:()=>{this.state.template?this.state.template.premium&&!wprm_admin.addons.premium?alert("This template is only available in WP Recipe Maker Premium."):(ie.Z.settings.save({recipe_snippets_automatically_add_modern:!0,recipe_snippets_template:this.state.template.slug}),this.props.jumpToStep(4)):alert("Please select a template above.")}},"Use the above Snippet Template")))}}var ue=e=>o.createElement(K,{items:[{header:"Earn affiliate income with ingredient and equipment links",content:o.createElement(o.Fragment,null,!wprm_admin.addons.premium&&o.createElement("p",{style:{color:"darkred"}},"This feature is available in ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium"),"."),o.createElement("p",null,"Ingredient and equipment links are perfect for affiliate marketing: you set the link once and it will automatically get displayed whenever you use that ingredient/equipment in a recipe."),o.createElement("p",null,"For equipment you even have the ability to add an image to increase the changes of having visitors click on the link."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/29-ingredient-links",target:"_blank"},"Learn about ingredient links")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/193-equipment-links",target:"_blank"},"Learn about equipment links")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/203-equipment-images",target:"_blank"},"Adding equipment images"))))},{header:"Calculating and adding nutrition facts to your recipes",content:o.createElement(o.Fragment,null,!wprm_admin.addons.pro&&o.createElement("p",{style:{color:"darkred"}},"This feature is available in ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium - Pro Bundle"),"."),o.createElement("p",null,"Provide your visitors with the complete recipe details by including a full nutrition label. With the Pro Bundle we can even ",o.createElement("strong",null,"help calculated these nutrition facts for you"),"."),o.createElement("p",null,"You have full control over the values that get displayed and can even ",o.createElement("strong",null,"create your own custom and calculated nutrients"),". This can be used for fields like Net Carbs, for example."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/22-nutrition-label",target:"_blank"},"Nutrition Label")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/21-nutrition-facts-calculation",target:"_blank"},"Calculating Nutrition Facts")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/199-custom-and-calculated-nutrients",target:"_blank"},"Custom and Calculated Nutrients"))))},{header:"Reach an international audience with US and Metric units",content:o.createElement(o.Fragment,null,!wprm_admin.addons.pro&&o.createElement("p",{style:{color:"darkred"}},"This feature is available in ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium - Pro Bundle"),"."),o.createElement("p",null,"Some of your readers might have a hard time making your recipes because they simply don't use the units you write them in. Not everyone is familiar with cups or grams, for example."),o.createElement("p",null,"Our unit conversion allows you to ",o.createElement("strong",null,"offer both unit system")," to your visitors and have them switch back and forth. To get these values we integrate with an API that helps calculate them for you!"),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/18-unit-conversion",target:"_blank"},"Setting up the Unit Conversion feature"))))},{header:"Set up Meal Planning with the recipe collections feature",content:o.createElement(o.Fragment,null,!wprm_admin.addons.elite&&o.createElement("p",{style:{color:"darkred"}},"This feature is available in ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium - Elite Bundle"),"."),o.createElement("p",null,"Recipe Collections allow your visitors to ",o.createElement("strong",null,"save the recipes on your website in their own collections and then generate a shopping list")," for them. Can be used for collecting favorites, meal planning and much more!"),o.createElement("p",null,"As the site owner you can also ",o.createElement("strong",null,"create your own saved collections to present to your users"),". This can include as many recipes (and individual ingredients) as you want and you can even total the nutrition facts for those recipes."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/148-recipe-collections",target:"_blank"},"Learn more about Recipe Collections")),o.createElement("li",null,o.createElement("a",{href:"https://demo.wprecipemaker.com/saved-recipe-collection/",target:"_blank"},"See a Saved Recipe Collection in action"))))}]}),se=e=>o.createElement(o.Fragment,null,o.createElement("p",null,"We built an email course full of ",o.createElement("strong",null,"tips and tricks")," to help you get the most out of WP Recipe Maker."),o.createElement("p",null,"During the course you'll get introduced to a ",o.createElement("strong",null,"private Facebook group")," full of WP Recipe Maker Food Bloggers to learn from and we'll even ",o.createElement("strong",null,"help promote your recipes on social media")," for free."),o.createElement("form",{action:"https://www.getdrip.com/forms/917801565/submissions",method:"post",className:"wprm-drip-form","data-drip-embedded-form":"917801565",target:"_blank"},o.createElement("div",null,o.createElement("div",null,o.createElement("label",{htmlFor:"drip-email"},"Email Address"),o.createElement("br",null),o.createElement("input",{type:"email",id:"drip-email",name:"fields[email]",defaultValue:wprm_faq.user.email}),o.createElement("input",{type:"hidden",id:"drip-customer-website",name:"fields[customer_website]",value:wprm_faq.user.website})),o.createElement("div",null,o.createElement("input",{type:"hidden",name:"fields[eu_consent]",id:"drip-eu-consent-denied",value:"denied"}),o.createElement("input",{type:"checkbox",name:"fields[eu_consent]",id:"drip-eu-consent",value:"granted"}),o.createElement("label",{htmlFor:"drip-eu-consent"},"I understand and agree to the ",o.createElement("a",{href:"https://www.iubenda.com/privacy-policy/82708778"},"privacy policy"))),o.createElement("div",null,o.createElement("input",{type:"hidden",name:"fields[eu_consent_message]",value:"I understand and agree to the privacy policy (https://www.iubenda.com/privacy-policy/82708778)"}))),o.createElement("div",null,o.createElement("input",{type:"submit",name:"submit",value:"Help me get the most out of WP Recipe Maker!",className:"button button-primary","data-drip-attribute":"sign-up-button"})))),ce=wprm_admin.wprm_url+"assets/images/faq/getting-started/",pe=e=>o.createElement(K,{items:[{header:"Using WPRM in a different language (or multilingual site)",content:o.createElement(o.Fragment,null,o.createElement("p",null,"We follow WordPress standards to make sure all text in WP Recipe Maker can be translated to fit your needs. Learn more here:"),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/128-translating-text-in-the-plugin",target:"_blank"},"Translating any text in WP Recipe Maker")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/132-how-to-use-this-for-a-multilingual-blog",target:"_blank"},"Using WPRM on a multilingual website"))))},{header:"Importing recipes from another plugin",content:o.createElement(o.Fragment,null,o.createElement("p",null,"Already have recipes on your website that were created in a different plugin? There's a good chance we can import them for you! If there are recipes we can import, you will find them on the ",o.createElement("em",null,"WP Recipe Maker > Import Recipes"),"."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/69-importing-recipes-from-other-plugins",target:"_blank"},"All the plugins we can import from")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/86-custom-recipe-importer",target:"_blank"},"Develop your own recipe importer"))))},{header:"Adding recipes from Word, Google Docs, ...",content:o.createElement(o.Fragment,null,o.createElement("p",null,"If you already have your recipes in another document, filling in all the individual fields can be a bit tedious. Use our ",o.createElement("strong",null,"import recipe from text feature")," to paste in that recipe entirely and speed up the process."),o.createElement("p",null,"The field to paste in the recipe can be found after scrolling up all the way in the recipe modal:"),o.createElement("img",{src:ce+"import-from-text.png"}),o.createElement("p",null,"This will open up a new modal where you can follow the steps to import."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/70-import-recipe-from-text",target:"_blank"},"Learn more about the import recipe from text feature"))))},{header:"Recipe metadata and SEO",content:o.createElement(o.Fragment,null,o.createElement("p",null,"An important reason for using a recipe plugin is to have it ",o.createElement("strong",null,"automatically add the recipe metadata that Google wants to see"),"."),o.createElement("p",null,"But WP Recipe Maker can only add that metadata if you actually fill in all the fields. To find out if you've done that, have a look at the SEO column on the ",o.createElement("em",null,"WP Recipe Maker > Manage")," page and make sure you ",o.createElement("strong",null,"get a green light there"),"."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/51-recipe-metadata-for-seo",target:"_blank"},"Learn more about Recipe Metadata for SEO")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/74-recipe-metadata-checker",target:"_blank"},"Using the Recipe Metadata Checker"))))},{header:"Using the Template Editor",content:o.createElement(o.Fragment,null,o.createElement("p",null,"Everyone is unique so we want you to be able to ",o.createElement("strong",null,"completely change the recipe template to your liking"),". Not everyone will have the budget for a completely custom-coded template though, so that's what we built the Template Editor for!"),o.createElement("p",null,"With a little bit of a learning curve everyone should be able to add or remove specific parts of the recipe box, change labels and colors or add custom text. The Template Editor can be accessed through the ",o.createElement("em",null,"WP Recipe Maker > Settings")," page."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/118-template-editor-101",target:"_blank"},"Go through the Template Editor 101 documentation first")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/category/25-template-editor-faq",target:"_blank"},"Learn more in these Template Editor FAQs"))))},{header:"WPRM for recipe roundup posts",content:o.createElement(o.Fragment,null,o.createElement("p",null,'WP Recipe Maker can also be used for recipe roundup posts (think "Easy Valentine\'s Day Menu" or "10 Scary Halloween Recipes"), ',o.createElement("strong",null,"linking to both recipes on your own website and others"),"."),o.createElement("p",null,"A good reason for using WPRM for these kind of posts is that we'll automatically include the ",o.createElement("strong",null,"ItemList metadata that Google needs to display your recipes in a Carousel"),". That should definitely get you some extra visits!"),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/182-itemlist-metadata-for-recipe-roundup-posts",target:"_blank"},"Learn about using recipe roundup feature"))))}]}),de=e=>o.createElement("div",{id:"wprm-admin-faq-container"},o.createElement("h1",null,"Get the most out of WP Recipe Maker"),o.createElement(se,null),o.createElement("h1",null,"Explainer Videos"),o.createElement("p",null,"Are you a visual learner? Make sure to check out the ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/videos/",target:"_blank"},"WP Recipe Maker Explainer Videos"),' we have on several topics. "Introduction to WP Recipe Maker" is a good one to start with:'),o.createElement("iframe",{width:"640",height:"433",src:"https://www.loom.com/embed/9f268e92cc064be9a45580a46fc84084",frameborder:"0",webkitallowfullscreen:!0,mozallowfullscreen:!0,allowfullscreen:!0}),o.createElement("h1",null,"Documentation & Support"),o.createElement("p",null,"We've listed some frequently asked questions below. If you need more help we recommend checking out the ",o.createElement("a",{href:"https://help.bootstrapped.ventures/collection/1-wp-recipe-maker",target:"_blank"},"WP Recipe Maker Knowledge Base")," and the ",o.createElement("a",{href:"https://demo.wprecipemaker.com",target:"_blank"},"WPRM Demo Site")," that shows all features in action."),o.createElement("p",null,"If you have any other questions or suggestions at all, ",o.createElement("strong",null,"contact us using the blue question mark in the bottom right")," of this page or by emailing ",o.createElement("a",{href:"mailto:support@bootstrapped.ventures"},"support@bootstrapped.ventures")," directly. We answer all tickets within 24 hours, and usually a lot faster."),o.createElement("h1",null,"Frequently Asked Questions"),o.createElement("p",null,"Just click on the different sections to learn more!"),o.createElement("h2",null,"Getting started with WP Recipe Maker"),o.createElement(pe,null),o.createElement("h2",null,"Adding recipes in different editors"),o.createElement(te,null),o.createElement("h2",null,"Advanced WPRM Usage"),o.createElement(ue,null),o.createElement("p",null,"Need more? Go to the ",o.createElement("a",{href:"https://help.bootstrapped.ventures/collection/1-wp-recipe-maker",target:"_blank"},"WP Recipe Maker Knowledge Base"),".")),fe=e=>o.createElement("div",{className:"wprm-admin-onboarding-step-next"},o.createElement("p",null,"You made it to the end of the onboarding! There is a lot left to explore, but we recommend just starting by creating a recipe now. And don't forget to ",o.createElement("strong",null,"sign up for the email course")," below to get the most out of this plugin. You won't regret it!"),o.createElement("p",null,"No need to worry about leaving this page either. The information below will be available on the ",o.createElement("em",null,"WP Recipe Maker > FAQ & Support")," page at any time."),o.createElement(de,null),o.createElement("div",{className:"footer-buttons"},o.createElement("a",{href:wprm_admin.manage_url+"&skip_onboarding=1",className:"button button-primary"},"Continue to the Manage page"))),he=[{name:"Welcome",component:o.createElement(a,null)},{name:"Creating Recipes",component:o.createElement(re,null)},{name:"Template",component:o.createElement(ae,null)},{name:"Snippets",component:o.createElement(le,null)},{name:"Next Steps",component:o.createElement(fe,null)}];class me extends o.Component{render(){return wprm_faq.onboarded?o.createElement(de,null):o.createElement(o.Fragment,null,o.createElement("h1",null,"WP Recipe Maker"),o.createElement("div",{id:"wprm-admin-onboarding-steps"},o.createElement(i.Z,{steps:he,stepsNavigation:!1,prevBtnOnLastStep:!1,backButtonCls:"button",nextButtonCls:"button button-primary",onStepChange:e=>{e===he.length-1&&fetch(wprm_admin.ajax_url,{method:"POST",credentials:"same-origin",body:"action=wprm_finished_onboarding&security="+wprm_admin.nonce,headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded; charset=utf-8"}})}})))}}var ve=document.getElementById("wprm-admin-faq");ve&&r.render(o.createElement(me,null),ve)},5308:function(e,t,n){"use strict";n(87191);var r=n(52082),o={selectImage(e){this.select("image",e)},selectVideo(e){this.select("video",e)},select(e,t){var n={title:(0,r.S)("Select Media"),button:{text:(0,r.S)("Select")},multiple:!1};"video"===e?(n.frame="video",n.state="video-details"):n.library={type:"image"};var o=wp.media(n);o.on("select",(function(){var e=o.state().get("selection").first().toJSON();t(e)})),o.on("update",(function(){var e=o.state().media.attachment;e&&t(e)})),o.open()}};t.Z=o},57573:function(e,t,n){"use strict";n(54883),n(72975),n(33290),n(19985),n(22321),n(68995);t.Z={parseCSS(e){var t=e.style.css;for(var n of Object.values(e.style.properties)){var r="";Object.entries(n).forEach((e=>{var[t,n]=e;["id","name","default","value","options"].includes(t)||(r=" ".concat(t,"=").concat(n))}));var o="".concat(n.value,"; /*wprm_").concat(n.id).concat(r,"*/");t=t.replace(new RegExp("%wprm_".concat(n.id,"%s*;"),"g"),o)}return t},getShortcodeName(e){var t=e.replace("wprm-","");return t=(t=t.replace(/-/g," ")).toLowerCase().replace(/\b[a-z]/g,(function(e){return e.toUpperCase()}))},getFullShortcode(e){var t="["+e.id;for(var n in e.attributes)if(e.attributes.hasOwnProperty(n)){var r=e.attributes[n];t+=" "+n+'="'+(r=(r=r.replace(/"/gm,""")).replace(/\]/gm,"]"))+'"'}return t+="]"},dependencyMet(e,t){var n=!0;if(t&&e.hasOwnProperty("dependency")){var r=e.dependency;Array.isArray(r)||(r=[r]);var o=e.hasOwnProperty("dependency_compare")?e.dependency_compare:"AND",i=!0;for(var a of r)if(t.hasOwnProperty(a.id)){var l=!1,u=t[a.id].value,s=a.hasOwnProperty("type")?a.type:"match";"inverse"==s?u!=a.value&&(l=!0):"includes"==s?u.includes(a.value)&&(l=!0):u==a.value&&(l=!0),"OR"===o?(i&&(n=!1,i=!1),n=n||l):n=n&&l}}return n}}},720:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});n(31807),n(54883),n(55281),n(75668),n(22321),n(68995);var r=n(89526),o=n(14264),i=n.n(o),a=n(57573),l=n(34133),u=(n(29897),n(98373)),s=n.n(u),c=n(71288),p=n(73961),d=e=>p.createPortal(e.children,document.getElementById("wprm-block-properties")),f=n(42458);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class g extends r.Component{constructor(e){super(e),this.state={fullShortcode:"",html:"",loading:!1,blockMode:"edit"}}componentDidMount(){this.checkShortcodeChange()}componentDidUpdate(e){this.checkShortcodeChange(),e.recipeId!==this.props.recipeId&&this.updatePreview(),e.editingBlock!==this.props.editingBlock&&this.onChangeBlockMode("edit")}checkShortcodeChange(){var e=a.Z.getFullShortcode(this.props.shortcode);e!==this.state.fullShortcode&&this.setState({fullShortcode:e},this.updatePreview)}updatePreview(){this.setState({loading:!0}),c.Z.template.previewShortcode(this.props.shortcode.uid,this.state.fullShortcode,this.props.recipeId).then((e=>{this.setState({html:e.hasOwnProperty(this.props.shortcode.uid)?e[this.props.shortcode.uid]:"",loading:!1})}))}getBlockProperties(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.shortcode,t={},n=!!wprm_admin_template.shortcodes.hasOwnProperty(e.id)&&wprm_admin_template.shortcodes[e.id];return n&&Object.entries(n).forEach((n=>{var[r,o]=n;if(o.type){var i=o.name?o.name:r.replace(/_/g," ").toLowerCase().replace(/\b[a-z]/g,(function(e){return e.toUpperCase()})),a=e.attributes.hasOwnProperty(r)?e.attributes[r]:o.default;a=(a=a.replace(/"/gm,'"')).replace(/]/gm,"]"),t[r]=m(m({},o),{},{id:r,name:i,value:a})}})),t}onChangeBlockMode(e){e!==this.state.blockMode&&this.setState({blockMode:e})}onCopyPasteStyle(e,t){var n=this.getBlockProperties(this.props.shortcodes[e]),r=this.getBlockProperties(this.props.shortcodes[t]),o={};Object.entries(r).forEach((e=>{var[t,r]=e;n.hasOwnProperty(t)&&n[t].value!==r.value&&"icon"!==t&&"text"!==t&&"label"!==t&&"header"!==t&&n[t].type===r.type&&("dropdown"!==r.type||r.options.hasOwnProperty(n[t].value))&&(o[t]=n[t].value)})),Object.keys(o).length&&this.props.onBlockPropertiesChange(t,o)}render(){var e=this.getBlockProperties();return r.createElement(r.Fragment,null,this.state.loading?r.createElement(l.Z,null):r.createElement(r.Fragment,null,i()(this.state.html.trim(),{replace:function(e){if(!e.parent&&this.props.shortcode.uid===this.props.hoveringBlock)return e.attribs||(e.attribs={}),e.attribs.class=e.attribs.class?e.attribs.class+" wprm-template-block-hovering":"wprm-template-block-hovering",s()(e)}.bind(this)})),this.props.shortcode.uid===this.props.editingBlock?r.createElement(d,null,"edit"===this.state.blockMode&&r.createElement(r.Fragment,null,r.createElement("div",{className:"wprm-template-menu-block-details"},r.createElement("a",{href:"#",onClick:e=>(e.preventDefault(),this.props.onChangeEditingBlock(!1))},"Blocks")," > ",this.props.shortcode.name),r.createElement("div",{className:"wprm-template-menu-block-quick-edit"},r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.onChangeBlockMode("copy")}},"Copy styles to...")," | ",r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.onChangeBlockMode("paste")}},"Paste styles from...")),Object.values(e).map(((t,n)=>r.createElement(f.Z,{properties:e,property:t,onPropertyChange:(e,t)=>this.props.onBlockPropertyChange(this.props.shortcode.uid,e,t),key:n}))),!Object.keys(e).length&&r.createElement("p",null,"There are no adjustable properties for this block.")),("copy"===this.state.blockMode||"paste"===this.state.blockMode)&&r.createElement(r.Fragment,null,r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.onChangeBlockMode("edit")}},"Stop"),r.createElement("p",null,"copy"===this.state.blockMode?"Copy styles to:":"Paste styles from:"),this.props.shortcodes.map(((e,t)=>e.uid===this.props.shortcode.uid?r.createElement("div",{key:t,className:"wprm-template-menu-block wprm-template-menu-block-self"},"copy"===this.state.blockMode?"Copying from":"Pasting to"," ",e.name):r.createElement("div",{key:t,className:e.uid===this.props.hoveringBlock?"wprm-template-menu-block wprm-template-menu-block-hover":"wprm-template-menu-block",onClick:()=>{var t="copy"===this.state.blockMode?this.props.shortcode.uid:e.uid,n="copy"===this.state.blockMode?e.uid:this.props.shortcode.uid;this.onCopyPasteStyle(t,n)},onMouseEnter:()=>this.props.onChangeHoveringBlock(e.uid),onMouseLeave:()=>this.props.onChangeHoveringBlock(!1)},e.name))))):null)}}var b=e=>p.createPortal(e.children,document.getElementById("wprm-add-blocks")),y=e=>p.createPortal(e.children,document.getElementById("wprm-remove-blocks")),x=(n(35054),n(45624));class w extends r.Component{getOptions(e){return e?c.Z.template.searchRecipes(e).then((e=>e.data.recipes_with_id)):Promise.resolve({options:[]})}render(){return r.createElement(x.ZP,{className:"wprm-main-container-preview-recipe",placeholder:"Select or search a recipe to preview",value:this.props.recipe,onChange:this.props.onRecipeChange,getOptionValue:e=>{var{id:t}=e;return t},getOptionLabel:e=>{var{text:t}=e;return t},defaultOptions:wprm_admin.latest_recipes,loadOptions:this.getOptions.bind(this),noOptionsMessage:()=>"Create a recipe on the Manage page",clearable:!1})}}function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){S(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var M=["wprm-spacer","wprm-text","wprm-link","wprm-image","wprm-call-to-action","wprm-icon","wprm-prevent-sleep"],C=[],k=Object.keys(wprm_admin_template.shortcodes).sort();for(var O of k)M.includes(O)||C.push(O);class j extends r.Component{constructor(e){super(e);var t=wprm_admin_template.preview_recipe;"demo"!==t&&0!==t.id||(t={id:"demo",text:"Use WPRM Demo Recipe"}),this.state={recipe:t,html:"",htmlMap:"",parsedHtml:"",shortcodes:[],editingBlock:!1,addingBlock:!1,hoveringBlock:!1,hasError:!1}}componentDidCatch(){this.setState({hasError:!0})}componentDidMount(){this.checkHtmlChange()}componentDidUpdate(e){"blocks"===this.props.mode&&this.props.mode!==e.mode?this.onChangeEditingBlock(!1):this.checkHtmlChange()}checkHtmlChange(){this.props.template.html!==this.state.html&&this.changeHtml()}changeHtml(){var e=this.parseHtml(this.props.template.html);this.setState({html:this.props.template.html,htmlMap:e.htmlMap,parsedHtml:e.html,shortcodes:e.shortcodes,hasError:!1})}parseHtml(e){for(var t,n=e,o=[],u=/\[([^\s\]]*)\s*([^\]]*?)\]/gim;null!==(t=u.exec(e));){var s={},c=t[2].match(/(\w+=\"[^\"]*?\"|\w+=\'[^\']*?\'|\w+=\w*)/gim);if(c)for(var p=0;p<c.length;p++){var d=c[p],f=d.substring(0,d.indexOf("=")),h=d.substring(d.indexOf("=")+1);'"'!==h[0]&&"'"!==h[0]||(h=h.substr(1,h.length-2)),s[f]=h}var m=t[1],v=a.Z.getShortcodeName(m),b=o.length;n=n.replace(t[0],'<wprm-replace-shortcode-with-block uid="'+b+'"></wprm-replace-shortcode-with-block>'),o.push({uid:b,id:m,name:v,attributes:s})}var y=r.createElement(l.Z,null);try{y=i()(n,{replace:function(e){if("wprm-replace-shortcode-with-block"==e.name){var t=!!this.state.recipe&&this.state.recipe.id;return r.createElement(g,{recipeId:t,shortcode:o[e.attribs.uid],shortcodes:o,onBlockPropertyChange:this.onBlockPropertyChange.bind(this),onBlockPropertiesChange:this.onBlockPropertiesChange.bind(this),editingBlock:this.state.editingBlock,onChangeEditingBlock:this.onChangeEditingBlock.bind(this),hoveringBlock:this.state.hoveringBlock,onChangeHoveringBlock:this.onChangeHoveringBlock.bind(this)})}}.bind(this)})}catch(x){}return{htmlMap:n,html:y,shortcodes:o}}unparseHtml(){var e=this.state.htmlMap;for(var t of this.state.shortcodes){var n=a.Z.getFullShortcode(t);e=e.replace('<wprm-replace-shortcode-with-block uid="'+t.uid+'"></wprm-replace-shortcode-with-block>',n)}return e}onBlockPropertyChange(e,t,n){var r={};r[t]=n,this.onBlockPropertiesChange(e,r)}onBlockPropertiesChange(e,t){var n=this.state;n.shortcodes[e].attributes=I(I({},n.shortcodes[e].attributes),t),this.setState(n,(()=>{var e=this.unparseHtml();this.props.onChangeHTML(e)}))}onChangeEditingBlock(e){e!==this.state.editingBlock&&this.setState({editingBlock:e,hoveringBlock:!1},this.changeHtml)}onChangeHoveringBlock(e){e!==this.state.hoveringBlock&&this.setState({hoveringBlock:e},this.changeHtml)}onChangeAddingBlock(e){e!==this.state.addingBlock&&this.setState({addingBlock:e})}onAddBlockAfter(e){var t=this.state.htmlMap,n="["+this.state.addingBlock+"]",r='<wprm-replace-shortcode-with-block uid="'+e+'"></wprm-replace-shortcode-with-block>';(t=t.replace(r,r+"\n"+n))!==this.state.htmlMap&&this.setState({addingBlock:!1,hoveringBlock:!1,htmlMap:t},(()=>{var t=this.unparseHtml();this.props.onChangeHTML(t),this.props.onChangeMode("blocks"),this.setState({addingBlock:!1,hoveringBlock:!1},(()=>{this.onChangeEditingBlock(e+1)}))}))}onRemoveBlock(e){var t=this.state.htmlMap;(t=t.replace('<wprm-replace-shortcode-with-block uid="'+e+'"></wprm-replace-shortcode-with-block>',""))!==this.state.htmlMap&&this.setState({htmlMap:t},(()=>{var e=this.unparseHtml();this.props.onChangeHTML(e)}))}render(){var e=this.state.hasError?r.createElement(l.Z,null):this.state.parsedHtml;return"onboarding"===this.props.mode?r.createElement(r.Fragment,null,r.createElement("style",null,a.Z.parseCSS(this.props.template)),"recipe"===this.props.template.type&&r.createElement("div",{className:"wprm-recipe wprm-recipe-template-".concat(this.props.template.slug)},e),"snippet"===this.props.template.type&&r.createElement("div",{className:"wprm-recipe wprm-recipe-snippet wprm-recipe-template-".concat(this.props.template.slug)},e)):r.createElement(r.Fragment,null,r.createElement("div",{className:"wprm-main-container"},r.createElement("h2",{className:"wprm-main-container-name"},"Preview"),r.createElement("div",{className:"wprm-main-container-preview"},r.createElement(w,{recipe:this.state.recipe,onRecipeChange:e=>{e!==this.state.recipe&&this.setState({recipe:e,html:""})}}),this.state.recipe&&this.state.recipe.id?r.createElement(r.Fragment,null,r.createElement("style",null,a.Z.parseCSS(this.props.template)),"recipe"===this.props.template.type&&r.createElement(r.Fragment,null,r.createElement("p",null,"This is an example paragraph that could be appearing before the recipe box, just to give some context to this preview. After this paragraph the recipe box will appear."),r.createElement("div",{className:"wprm-recipe wprm-recipe-template-".concat(this.props.template.slug)},e),r.createElement("p",null,"This is a paragraph appearing after the recipe box.")),"snippet"===this.props.template.type&&r.createElement(r.Fragment,null,r.createElement("p",null," "),r.createElement("div",{className:"wprm-recipe wprm-recipe-snippet wprm-recipe-template-".concat(this.props.template.slug)},e),r.createElement("p",null,"This would be the start of your post content, as the recipe snippets should automatically appear above. We'll be adding some example content below to give you a realistic preview."),r.createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In eleifend vitae nisl et pharetra. Sed euismod nisi convallis arcu lobortis commodo. Mauris nec arcu blandit, ultrices nisi sit amet, scelerisque tortor. Mauris vitae odio sed nisl posuere feugiat eu sit amet nunc. Vivamus varius rutrum tortor, ut viverra mi. Pellentesque sed justo eget lectus eleifend consectetur. Curabitur hendrerit purus velit, ut auctor orci fringilla sed. Phasellus commodo luctus nulla, et rutrum risus lobortis in. Aenean ullamcorper, magna congue viverra consequat, libero elit blandit magna, in ultricies quam risus et magna. Aenean viverra lorem leo, eget laoreet quam suscipit viverra. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Quisque sodales dolor mauris. Ut sed tempus erat. Nulla metus diam, luctus ac erat bibendum, placerat maximus nisi. Nullam hendrerit eleifend lobortis."),r.createElement("p",null,"Proin tempus hendrerit orci, tincidunt bibendum justo tincidunt vel. Morbi porttitor finibus magna non imperdiet. Fusce sollicitudin ex auctor interdum ultricies. Proin efficitur eleifend lacus, dapibus eleifend nibh tempus at. Pellentesque feugiat imperdiet turpis, sed consequat diam tincidunt a. Mauris mollis justo nec tellus aliquam, efficitur scelerisque nunc semper. Morbi rhoncus ultricies congue. Sed semper aliquet interdum."),r.createElement("p",null,"Nam ultricies, tellus nec vulputate varius, ligula ipsum viverra libero, lacinia ultrices sapien erat id mi. Duis vel dignissim lectus. Aliquam vehicula finibus tortor, cursus fringilla leo sodales ut. Vestibulum nec erat pretium, finibus odio et, porta lorem. Nunc in mi lobortis, aliquet sem sollicitudin, accumsan mi. Nam pretium nibh nunc, vel varius ex sagittis at. Vestibulum ac turpis vitae dui congue iaculis et non massa. Duis sed gravida nunc. Vivamus blandit dapibus orci, eu maximus velit faucibus eu."),r.createElement("div",{id:"wprm-recipe-container-".concat(this.state.recipe.id),className:"wprm-preview-snippet-recipe-box"},r.createElement("p",null,"This is an example recipe box."),r.createElement("p",{id:"wprm-recipe-video-container-".concat(this.state.recipe.id)},"It includes an example video.")),r.createElement("p",null,"Some more random content could be appearing after the recipe box. Morbi dignissim euismod vestibulum. Interdum et malesuada fames ac ante ipsum primis in faucibus. Vestibulum eu faucibus lectus. Donec sit amet mattis erat, at vulputate elit. Morbi ullamcorper, justo nec porttitor porta, dui lectus euismod est, convallis tempor lorem elit nec leo. Praesent hendrerit auctor risus sed mollis. Integer suscipit arcu at risus efficitur, et interdum arcu fringilla. Aliquam mollis accumsan blandit. Nam vestibulum urna id velit scelerisque, eu commodo urna imperdiet. Mauris sed risus libero. Integer lacinia nec lectus in posuere. Sed feugiat dolor eros, ac scelerisque tellus hendrerit sit amet. Sed nisl lacus, condimentum id orci eu, malesuada mattis sem. Quisque ipsum velit, viverra et magna a, laoreet porta lorem. Praesent porttitor lorem quis quam lobortis, lacinia tincidunt odio sodales.")),"roundup"===this.props.template.type&&r.createElement(r.Fragment,null,r.createElement("h2",null,"Our first recipe"),r.createElement("p",null,"This is the first example recipe in this recipe roundup. We can have as much information and images as we want here and then end with the roundup template for this particular recipe."),r.createElement("div",{className:"wprm-recipe wprm-recipe-roundup-item wprm-recipe-template-".concat(this.props.template.slug)},e),r.createElement("h2",null,"Our second recipe"),r.createElement("p",null,"A roundup would have multiple recipes, so here is another one with some more demo text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In eleifend vitae nisl et pharetra. Sed euismod nisi convallis arcu lobortis commodo."),r.createElement("p",null,"..."))):r.createElement("p",{style:{color:"darkred",textAlign:"center"}},"You have to select a recipe to preview the template. Use the dropdown above or set a default recipe to use for the preview on the settings page."))),!1===this.state.editingBlock||this.state.shortcodes.length<=this.state.editingBlock?r.createElement(d,null,this.state.shortcodes.map(((e,t)=>r.createElement("div",{key:t,className:e.uid===this.state.hoveringBlock?"wprm-template-menu-block wprm-template-menu-block-hover":"wprm-template-menu-block",onClick:()=>this.onChangeEditingBlock(e.uid),onMouseEnter:()=>this.onChangeHoveringBlock(e.uid),onMouseLeave:()=>this.onChangeHoveringBlock(!1)},e.name))),!this.state.shortcodes.length&&r.createElement("p",null,"There are no adjustable blocks.")):null,r.createElement(b,null,this.state.addingBlock?r.createElement(r.Fragment,null,r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.onChangeAddingBlock(!1)}},"Cancel"),r.createElement("p",null,'Add "',a.Z.getShortcodeName(this.state.addingBlock),'" after:'),this.state.shortcodes.map(((e,t)=>r.createElement("div",{key:t,className:e.uid===this.state.hoveringBlock?"wprm-template-menu-block wprm-template-menu-block-hover":"wprm-template-menu-block",onClick:()=>this.onAddBlockAfter(e.uid),onMouseEnter:()=>this.onChangeHoveringBlock(e.uid),onMouseLeave:()=>this.onChangeHoveringBlock(!1)},e.name))),!this.state.shortcodes.length&&r.createElement("p",null,"There are no blocks in the Template.")):r.createElement(r.Fragment,null,r.createElement("p",null,"Select block to add:"),r.createElement("div",{className:"wprm-template-menu-add-block-group"},"General Blocks"),M.map(((e,t)=>r.createElement("div",{key:t,className:"wprm-template-menu-block",onClick:()=>this.onChangeAddingBlock(e)},a.Z.getShortcodeName(e)))),r.createElement("div",{className:"wprm-template-menu-add-block-group"},"Recipe Blocks"),C.map(((e,t)=>r.createElement("div",{key:t,className:"wprm-template-menu-block",onClick:()=>this.onChangeAddingBlock(e)},a.Z.getShortcodeName(e)))))),r.createElement(y,null,this.state.shortcodes.map(((e,t)=>r.createElement("div",{key:t,className:e.uid===this.state.hoveringBlock?"wprm-template-menu-block wprm-template-menu-block-hover":"wprm-template-menu-block",onClick:()=>{confirm('Are you sure you want to delete the "'+e.name+'" block?')&&this.onRemoveBlock(e.uid)},onMouseEnter:()=>this.onChangeHoveringBlock(e.uid),onMouseLeave:()=>this.onChangeHoveringBlock(!1)},e.name))),!this.state.shortcodes.length&&r.createElement("p",null,"There are no blocks to remove.")))}}},42458:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(89526),o=n(62834),i=n(57573),a=n(29790),l=n(8612);class u extends r.Component{constructor(e){super(e),this.state={displayColorPicker:!1}}handleClick(){this.setState({displayColorPicker:!this.state.displayColorPicker})}handleClose(){this.setState({displayColorPicker:!1})}handleChange(e){this.props.onValueChange(e.hex)}render(){var e=(0,a.default)({default:{color:{width:"36px",height:"14px",borderRadius:"2px",background:"".concat(this.props.value)},swatch:{padding:"5px",background:"#fff",borderRadius:"1px",boxShadow:"0 0 0 1px rgba(0,0,0,.1)",display:"inline-block",cursor:"pointer"},popover:{position:"absolute",zIndex:"2",right:"0",bottom:"30px"},cover:{position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}}});return r.createElement("div",{className:"wprm-template-property-input"},r.createElement("div",{style:e.swatch,onClick:this.handleClick.bind(this)},r.createElement("div",{style:e.color})),this.state.displayColorPicker?r.createElement("div",{style:e.popover},r.createElement("div",{style:e.cover,onClick:this.handleClose.bind(this)}),r.createElement(l.xS,{color:this.props.value,onChange:this.handleChange.bind(this),disableAlpha:!0})):null)}}var s=n(844),c=e=>{var t=[];for(var n in e.property.options)t.push({value:n,label:e.property.options[n]});return r.createElement(s.ZP,{className:"wprm-template-property-input",menuPlacement:"top",value:t.filter((t=>{var{value:n}=t;return n===e.value})),onChange:t=>e.onValueChange(t.value),options:t,clearable:!1})};n(19985);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=e=>{var t=[{label:"General",options:[{value:"custom",label:"Set custom font"},{value:"inherit",label:"Inherit from parent"},{value:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',label:"System Font"}]},{label:"Default Serif Fonts",options:[{value:"Georgia, serif",label:"Georgia"},{value:'"Palatino Linotype", "Book Antiqua", Palatino, serif',label:"Palatino"},{value:'"Times New Roman", Times, serif',label:"Times New Roman"}]},{label:"Default Sans-Serif Fonts",options:[{value:"Arial, Helvetica, sans-serif",label:"Arial"},{value:'"Arial Black", Gadget, sans-serif',label:"Arial Black"},{value:'"Comic Sans MS", cursive, sans-serif',label:"Comic Sans MS"},{value:"Helvetica, sans-serif",label:"Helvetica"},{value:"Impact, Charcoal, sans-serif",label:"Impact"},{value:'"Lucida Sans Unicode", "Lucida Grande", sans-serif',label:"Lucida"},{value:"Tahoma, Geneva, sans-serif",label:"Tahoma"},{value:'"Trebuchet MS", Helvetica, sans-serif',label:"Trebuchet MS"},{value:"Verdana, Geneva, sans-serif",label:"Verdana"}]},{label:"Default Monospace Fonts",options:[{value:'"Courier New", Courier, monospace',label:"Courier New"},{value:'"Lucida Console", Monaco, monospace',label:"Lucida Console"}]}],n=t.reduce(((e,t)=>e.concat(t.options)),[]),o=n.map((e=>e.value)),i=!e.value||!o.includes(e.value),a=i?"custom":e.value,l={option:(e,t)=>{var{data:n,isDisabled:r,isFocused:o,isSelected:i}=t,a="custom"===n.value?"inherit":n.value;return d(d({},e),{},{fontFamily:a})}};return r.createElement(r.Fragment,null,r.createElement(s.ZP,{className:"wprm-template-property-input",menuPlacement:"top",value:n.filter((e=>{var{value:t}=e;return t===a})),onChange:t=>{var n="custom"===t.value?"":t.value;return e.onValueChange(n)},options:t,styles:l,clearable:!1}),i&&r.createElement("input",{className:"wprm-template-property-input",type:"text",value:e.value,onChange:t=>e.onValueChange(t.target.value)}))},m=(n(55281),n(49092));class v extends r.Component{constructor(e){super(e),this.state={selectingIcon:!1}}render(){var e=wprm_admin_template.icons.hasOwnProperty(this.props.value)?wprm_admin_template.icons[this.props.value].url:this.props.value;return r.createElement(r.Fragment,null,this.state.selectingIcon?r.createElement("div",{className:"wprm-template-property-icon-select-container"},r.createElement("a",{href:"#",onClick:e=>(e.preventDefault(),this.setState({selectingIcon:!1}),this.props.onValueChange(""))},"Clear icon")," | ",r.createElement("a",{href:"#",onClick:e=>{e.preventDefault();var t=prompt("Set a custom URL for the icon");if(t)return this.setState({selectingIcon:!1}),this.props.onValueChange(t)}},"Set custom URL")," | Select:",r.createElement("div",{className:"wprm-template-property-icon-select-container-icons"},Object.keys(wprm_admin_template.icons).sort().map(((e,t)=>{var n=wprm_admin_template.icons[e];return r.createElement("span",{href:"#",onClick:()=>{if(this.setState({selectingIcon:!1}),n.id!==this.props.value)return this.props.onValueChange(n.id)},key:t},r.createElement(m.Z,{src:n.url,className:n.id===this.props.value?"wprm-template-property-icon-select wprm-template-property-icon-selected":"wprm-template-property-icon-select"}))})))):r.createElement("span",{className:"wprm-template-property-icon-selected-container"},e&&r.createElement(m.Z,{src:e,className:"wprm-template-property-icon-select"}),r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.setState({selectingIcon:!0})}},e?"Change...":"Select...")))}}var g=n(5308),b=e=>{var t=0<parseInt(e.value);return r.createElement("a",{href:"#",onClick:t=>{t.preventDefault(),g.Z.selectImage((t=>{e.onValueChange(""+t.id)}))}},t?"Change...":"Select...")},y=(n(31807),n(54883),n(68995),Array.isArray(wprm_admin_template.thumbnail_sizes)?wprm_admin_template.thumbnail_sizes:Object.values(wprm_admin_template.thumbnail_sizes));class x extends r.Component{constructor(e){super(e),this.state={width:"",height:""}}componentDidMount(){this.checkSize()}componentDidUpdate(){this.checkSize()}checkSize(){var e=this.props.value;if(""!==e){var t=e.indexOf("x"),n=t>0?parseInt(e.substr(0,t)):0,r=t>0?parseInt(e.substr(t+1)):0;r=0<r?r:"",(n=0<n?n:"")===this.state.width&&r===this.state.height||this.setState({width:n,height:r})}}changeSize(e,t){if("width"===e||"height"===e){var n=this.state;n[e]=parseInt(t),this.setState(n,(()=>{(0<this.state.width||0<this.state.height)&&this.props.onValueChange("".concat(this.state.width,"x").concat(this.state.height))}))}}render(){var e=[];for(var t of y)e.push({value:t,label:t});return r.createElement(r.Fragment,null,r.createElement("label",null,"Select existing thumbnail size:"),r.createElement(s.ZP,{className:"wprm-template-property-input",menuPlacement:"top",value:y.includes(this.props.value)?e.filter((e=>{var{value:t}=e;return t===this.props.value})):"",onChange:e=>e?this.props.onValueChange(e.value):this.props.onValueChange(""),options:e,clearable:!0}),r.createElement("label",null,"...or set a specific width and height:"),r.createElement("div",{className:"wprm-template-property-input-width-height"},r.createElement("input",{className:"wprm-template-property-input",type:"number",value:this.state.width,onChange:e=>this.changeSize("width",e.target.value)})," x ",r.createElement("input",{className:"wprm-template-property-input",type:"number",value:this.state.height,onChange:e=>this.changeSize("height",e.target.value)})))}}n(22321);var w=e=>{var t=e.property.hasOwnProperty("suffix")?e.property.suffix:"",n=t?e.value.replace(t,""):e.value;return r.createElement(r.Fragment,null,r.createElement("input",{className:"wprm-template-property-input",type:"number",value:n,onChange:n=>{var r="".concat(n.target.value).concat(t);return e.onValueChange(r)}}),t&&r.createElement("span",{className:"wprm-template-property-number-suffix"}," ",t))};n(75668);class E extends r.Component{constructor(e){super(e),this.state={number:"",unit:""}}changeNumber(e){e!==this.state.number&&this.props.onValueChange("".concat(e).concat(this.state.unit))}changeUnit(e){e!==this.state.unit&&this.props.onValueChange("".concat(this.state.number).concat(e))}componentDidMount(){this.checkNumber()}componentDidUpdate(){this.checkNumber()}checkNumber(){var e=this.props.value.match(/([+-]?\d*\.?\d*)\s*([^;]*)/),t=e?e[1]:"",n=e?e[2]:"";t===this.state.number&&n===this.state.unit||this.setState({number:t,unit:n})}render(){var e=["px","em"];return this.state.unit&&!e.includes(this.state.unit)&&e.push(this.state.unit),r.createElement(r.Fragment,null,r.createElement("input",{className:"wprm-template-property-input",type:"number",step:"px"===this.state.unit?"1":"0.1",value:this.state.number,onChange:e=>this.changeNumber(e.target.value)}),e.map(((e,t)=>r.createElement("span",{className:e===this.state.unit?"wprm-template-property-value-size-unit wprm-template-property-value-size-unit-selected":"wprm-template-property-value-size-unit",onClick:()=>this.changeUnit(e),key:t},e))))}}var I=e=>r.createElement("input",{className:"wprm-template-property-input",type:"text",value:e.value,onChange:t=>e.onValueChange(t.target.value)}),S=n(67127),M={color:u,align:c,border:c,dropdown:c,float:c,font:h,font_size:E,icon:v,image:b,image_size:x,percentage:w,number:w,size:E,text:I,toggle:e=>r.createElement(S.Z,{className:"wprm-template-property-input",checked:"1"===e.value,onChange:t=>{var n=t.target.checked?"1":"0";return e.onValueChange(n)}})},C=e=>{var t=!!M.hasOwnProperty(e.property.type)&&M[e.property.type];if(!t)return null;if(!i.Z.dependencyMet(e.property,e.properties))return null;var n=null;return e.property.hasOwnProperty("help")&&(n=r.createElement(o.Z,{type:"question",title:e.property.help,className:"wprm-admin-icon-help"})),r.createElement("div",{className:"wprm-template-property"},r.createElement("div",{className:"wprm-template-property-label"},e.property.name," ",n),r.createElement("div",{className:"wprm-template-property-value wprm-template-property-value-".concat(e.property.type)},r.createElement(t,{property:e.property,value:e.property.value,onValueChange:t=>{e.onPropertyChange(e.property.id,t)}})))}},71288:function(e,t,n){"use strict";n.d(t,{Z:function(){return H}});var r=n(46087),o=wprm_admin.endpoints.analytics,i={delete:e=>r.Z.call("".concat(o,"/").concat(e),"DELETE")};function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=wprm_admin.endpoints.custom_taxonomies,s={save(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t),o=e?"PUT":"POST";return r.Z.call(u,o,n)}},c=wprm_admin.endpoints.notices,p={dismissNotice(e){var t={id:e};return r.Z.call(c,"DELETE",t)}},d=wprm_admin.endpoints.modal,f={parseIngredients(e){var t={ingredients:e};return r.Z.call("".concat(d,"/ingredient/parse"),"POST",t)}},h=(n(35054),wprm_admin.endpoints.manage),m=wprm_admin.endpoints.rating,v=wprm_admin.endpoints.taxonomy,g=!1,b=!1,y={getData(e){return g?(b=e,new Promise((e=>e(!1)))):this.getDataDebounced(e)},getDataDebounced(e){return g=!0,r.Z.call("".concat(h,"/").concat(e.route),"POST",e).then((e=>{if(b){var t=b;return b=!1,this.getDataDebounced(t)}return g=!1,e}))},deleteUserRatings:e=>r.Z.call("".concat(m,"/recipe/").concat(e),"DELETE"),getTerm:(e,t)=>r.Z.call("".concat(v).concat(e,"/").concat(t)),createTerm(e,t){var n={name:t};return r.Z.call("".concat(v).concat(e),"POST",n)},deleteTerm:(e,t)=>r.Z.call("".concat(v).concat(e,"/").concat(t,"?force=true"),"DELETE"),renameTerm(e,t,n){var o={name:n};return r.Z.call("".concat(v).concat(e,"/").concat(t),"POST",o)},changeTermSlug(e,t,n){var o={slug:n};return r.Z.call("".concat(v).concat(e,"/").concat(t),"POST",o)},renameTermLabel(e,t,n){var o={type:e,id:t,label:n};return r.Z.call("".concat(h,"/taxonomy/label"),"POST",o)},mergeTerm(e,t,n){var o={type:e,oldId:t,newId:n};return r.Z.call("".concat(h,"/taxonomy/merge"),"POST",o)},updateTaxonomyMeta(e,t,n){var o={};return o[e]=n,r.Z.call("".concat(v).concat(e,"/").concat(t),"POST",o)},bulkEdit(e,t,n,o){var i={type:t,ids:n,action:o};return r.Z.call("".concat(h,"/").concat(e,"/bulk"),"POST",i)}},x=wprm_admin.endpoints.modal,w=!1,E=!1,I={getSuggestions(e){return w?(E=e,new Promise((e=>e(!1)))):this.getSuggestionsDebounced(e)},getSuggestionsDebounced(e){return w=!0,r.Z.call("".concat(x,"/suggest"),"POST",e).then((e=>{if(E){var t=E;return E=!1,this.getSuggestionsDebounced(t)}return w=!1,e}))}},S=wprm_admin.endpoints.rating,M={update(e){var t={rating:e};return r.Z.call("".concat(S),"POST",t)},delete:e=>r.Z.call("".concat(S,"/").concat(e),"DELETE")},C=wprm_admin.endpoints.recipe,k=wprm_admin.endpoints.manage,O={get:e=>r.Z.call("".concat(C,"/").concat(e)),save(e){var t={recipe:e},n=C,o="POST",i=!!e.id&&parseInt(e.id);return i&&(n+="/".concat(i),o="PUT"),r.Z.call(n,o,t)},updateStatus(e,t){var n={status:t};return r.Z.call("".concat(C,"/").concat(e),"PUT",n)},delete(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n="".concat(C,"/").concat(e);return t&&(n+="?force=true"),r.Z.call(n,"DELETE")},deleteRevision:e=>r.Z.call("".concat(k,"/revision/").concat(e),"DELETE")},j=wprm_admin.endpoints.setting,P={save(e){var t={settings:e};return r.Z.call(j,"POST",t)}},T=wprm_admin.endpoints.template,L=[],D={},A=null,_={previewShortcode(e,t,n){return D[e]=t,clearTimeout(A),A=setTimeout((()=>{this.previewShortcodes(n)}),500),new Promise((e=>L.push(e)))},previewShortcodes(e){var t=L,n=D;L=[],D={};var r={recipeId:e,shortcodes:n};fetch("".concat(T,"/preview"),{method:"POST",headers:{"X-WP-Nonce":wprm_admin.api_nonce,Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(r)}).then((e=>e.json().then((n=>{var r=e.ok?n.preview:{};t.forEach((e=>e(r)))}))))},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 r.Z.call(T,"POST",t)},delete(e){var t={slug:e};return r.Z.call(T,"DELETE",t)}},N=wprm_admin.endpoints.utilities,B={saveImage(e){var t={url:e};return r.Z.call("".concat(N,"/save_image"),"POST",t)}},{hooks:R}=WPRecipeMaker["wp-recipe-maker/dist/shared"],H=R.applyFilters("api",{analytics:i,customTaxonomy:s,general:p,import:f,manage:y,modal:I,rating:M,recipe:O,settings:P,template:_,utilities:B})},46087:function(e,t,n){"use strict";n(31807),n(35054),n(22321);t.Z={call(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=wprm_admin.api_nonce;"object"==typeof window.wpApiSettings&&window.wpApiSettings.nonce&&(r=window.wpApiSettings.nonce);var o={method:t,headers:{"X-WP-Nonce":r,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||(o.method="POST",o.headers["X-HTTP-Method-Override"]=t),n&&(o.body=JSON.stringify(n));var i=0;return e=e.replace(/\?/g,(function(e){return 2<=++i?"&":e})),fetch(e,o).then((function(t){if(t.ok)return t.json();console.log(e,o),console.log(t);var n="Something went wrong. Using a firewall like Cloudflare or Sucuri? Try whitelisting your IP. If that doesn't work, please contact support@bootstrapped.ventures with the following details:",r="".concat(t.url," ").concat(t.redirected?"(redirected)":"","- ").concat(t.status," - ").concat(t.statusText);try{t.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."):alert("".concat(n,"\r\n\r\n").concat(r,"\r\n\r\n").concat(e))}))}catch(i){console.log(i),alert("".concat(n,"\r\n\r\n").concat(r,"\r\n\r\n").concat(i))}return!1}))}}},62834:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(89526),o=n(49092),i=n(95075),a={adjustable:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyLjUiIHk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jMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTMgYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiIvPjwvZz48L3N2Zz4="},l=e=>{var t=!!a.hasOwnProperty(e.type)&&a[e.type];if(!t)return null;var n=e.title,l=e.className?"wprm-admin-icon ".concat(e.className):"wprm-admin-icon",u=!!e.hasOwnProperty("hidden")&&e.hidden;return u&&(n="",l+=" wprm-admin-icon-hidden"),r.createElement(i.Z,{content:n},r.createElement("span",{className:l,onClick:u?()=>{}:e.onClick},r.createElement(o.Z,{src:t})))}},34133:function(e,t,n){"use strict";var r=n(89526);t.Z=e=>r.createElement("div",{className:"wprm-admin-loader"})},95075:function(e,t,n){"use strict";var r=n(89526),o=n(20877);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.Z=e=>{if(!e.content)return e.children;var t=e.hasOwnProperty("style")?e.style:{};return r.createElement(o.Tooltip,{html:r.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,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{S:function(){return l}});var a={};function l(e){return a.hasOwnProperty(e)?a[e]:e}window.hasOwnProperty("wprm_public")&&wprm_public.hasOwnProperty("translations")&&(a=o(o({},a),wprm_public.translations)),window.hasOwnProperty("wprm_admin")&&wprm_admin.hasOwnProperty("translations")&&(a=o(o({},a),wprm_admin.translations))},71236:function(e,t,n){"use strict";var r=n(59833),o=n(24697),i="/*|*/";function a(e){e&&l.current.insert(e+"}")}var l={current:null},u=function(e,t,n,r,o,u,s,c,p,d){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return l.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===c)return t+i;break;case 3:switch(c){case 102:case 112:return l.current.insert(n[0]+t),"";default:return t+(0===d?i:"")}case-2:t.split("/*|*/}").forEach(a)}};t.Z=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var i=new o.Z(t);var a,s={};a=e.container||document.head;var c,p=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(p,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){s[e]=!0})),e.parentNode!==a&&a.appendChild(e)})),i.use(e.stylisPlugins)(u),c=function(e,t,n,r){var o=t.name;l.current=n,i(e,t.styles),r&&(d.inserted[o]=!0)};var d={key:n,sheet:new r.m({key:n,container:a,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:s,registered:{},insert:c};return d}},12821:function(e,t,n){"use strict";n.d(t,{nq:function(){return p},tZ:function(){return g},F4:function(){return b},ms:function(){return w}});var r=n(89526),o=n(71236),i=n(56002),a=n(26794),l=n(59833),u=n(72144);var s=(0,r.createContext)((0,o.Z)()),c=(0,r.createContext)({}),p=s.Provider,d=function(e){return(0,r.forwardRef)((function(t,n){return(0,r.createElement)(s.Consumer,null,(function(r){return e(t,r,n)}))}))},f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",h=Object.prototype.hasOwnProperty,m=function(e,t,n,o){var l=t[f],u=[],s="",c=null===n?t.css:t.css(n);"string"==typeof c&&void 0!==e.registered[c]&&(c=e.registered[c]),u.push(c),void 0!==t.className&&(s=(0,i.f)(e.registered,u,t.className));var p=(0,a.O)(u);(0,i.M)(e,p,"string"==typeof l);s+=e.key+"-"+p.name;var d={};for(var m in t)h.call(t,m)&&"css"!==m&&m!==f&&(d[m]=t[m]);return d.ref=o,d.className=s,(0,r.createElement)(l,d)},v=d((function(e,t,n){return"function"==typeof e.css?(0,r.createElement)(c.Consumer,null,(function(r){return m(t,e,r,n)})):m(t,e,null,n)}));var g=function(e,t){var n=arguments;if(null==t||null==t.css)return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=v;var a={};for(var l in t)h.call(t,l)&&(a[l]=t[l]);a[f]=e,i[1]=a;for(var u=2;u<o;u++)i[u]=n[u];return r.createElement.apply(null,i)},b=(r.Component,function(){var e=u.Z.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}),y=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var l in a="",i)i[l]&&l&&(a&&(a+=" "),a+=l);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};function x(e,t,n){var r=[],o=(0,i.f)(e,r,n);return r.length<2?n:o+t(r)}var w=d((function(e,t){return(0,r.createElement)(c.Consumer,null,(function(n){var r=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=(0,a.O)(n,t.registered);return(0,i.M)(t,o,!1),t.key+"-"+o.name},o={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return x(t.registered,r,y(n))},theme:n},l=e.children(o);return!0,l}))}))},72144:function(e,t,n){"use strict";var r=n(26794);t.Z=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.O)(t)}},95862:function(e,t){"use strict";t.Z=function(e){for(var t,n=e.length,r=n^n,o=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++o;switch(n){case 3:r^=(255&e.charCodeAt(o+2))<<16;case 2:r^=(255&e.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),((r^=r>>>15)>>>0).toString(36)}},93059:function(e,t){"use strict";t.Z=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}},26794:function(e,t,n){"use strict";n.d(t,{O:function(){return f}});var r=n(95862),o=n(8560),i=n(93059),a=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=(0,i.Z)((function(e){return e.replace(a,"-$&").toLowerCase()})),s=function(e,t){if(null==t||"boolean"==typeof t)return"";switch(e){case"animation":case"animationName":"string"==typeof t&&(t=t.replace(l,(function(e,t,n){return p={name:t,styles:n,next:p},t})))}return 1!==o.Z[e]&&45!==e.charCodeAt(1)&&"number"==typeof t&&0!==t?t+"px":t};function c(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)p={name:o.name,styles:o.styles,next:p},o=o.next;return n.styles}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=c(e,t,n[o],!1);else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":r+=u(i)+":"+s(i,a)+";";else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]])r+=i+"{"+c(e,t,a,!1)+"}";else for(var l=0;l<a.length;l++)r+=u(i)+":"+s(i,a[l])+";"}return r}(e,t,n);case"function":if(void 0!==e){var i=p,a=n(e);return p=i,c(e,t,a,r)}default:if(null==t)return n;var l=t[n];return void 0===l||r?n:l}}var p,d=/label:\s*([^\s;\n{]+)\s*;/g;var f=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,i="";p=void 0;var a=e[0];null==a||void 0===a.raw?(o=!1,i+=c(n,t,a,!1)):i+=a[0];for(var l=1;l<e.length;l++)i+=c(n,t,e[l],46===i.charCodeAt(i.length-1)),o&&(i+=a[l]);d.lastIndex=0;for(var u,s="";null!==(u=d.exec(i));)s+="-"+u[1];return{name:(0,r.Z)(i)+s,styles:i,next:p}}},59833:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});var r=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var i=105===e.charCodeAt(1)&&64===e.charCodeAt(0);o.insertRule(e,i?0:o.cssRules.length)}catch(a){0}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},24697:function(e,t){"use strict";t.Z=function(e){function t(e,r,u,s,d){for(var f,h,m,v,x,E=0,I=0,S=0,M=0,C=0,L=0,A=m=f=0,N=0,B=0,R=0,H=0,F=u.length,Z=F-1,W="",z="",G="",U="";N<F;){if(h=u.charCodeAt(N),N===Z&&0!==I+M+S+E&&(0!==I&&(h=47===I?10:47),M=S=E=0,F++,Z++),0===I+M+S+E){if(N===Z&&(0<B&&(W=W.replace(p,"")),0<W.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:W+=u.charAt(N)}h=59}switch(h){case 123:for(f=(W=W.trim()).charCodeAt(0),m=1,H=++N;N<F;){switch(h=u.charCodeAt(N)){case 123:m++;break;case 125:m--;break;case 47:switch(h=u.charCodeAt(N+1)){case 42:case 47:e:{for(A=N+1;A<Z;++A)switch(u.charCodeAt(A)){case 47:if(42===h&&42===u.charCodeAt(A-1)&&N+2!==A){N=A+1;break e}break;case 10:if(47===h){N=A+1;break e}}N=A}}break;case 91:h++;case 40:h++;case 34:case 39:for(;N++<Z&&u.charCodeAt(N)!==h;);}if(0===m)break;N++}switch(m=u.substring(H,N),0===f&&(f=(W=W.replace(c,"").trim()).charCodeAt(0)),f){case 64:switch(0<B&&(W=W.replace(p,"")),h=W.charCodeAt(1)){case 100:case 109:case 115:case 45:B=r;break;default:B=T}if(H=(m=t(r,B,m,h,d+1)).length,0<D&&(x=l(3,m,B=n(T,W,R),r,O,k,H,h,d,s),W=B.join(""),void 0!==x&&0===(H=(m=x.trim()).length)&&(h=0,m="")),0<H)switch(h){case 115:W=W.replace(w,a);case 100:case 109:case 45:m=W+"{"+m+"}";break;case 107:m=(W=W.replace(g,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=W+m,112===s&&(z+=m,m="")}else m="";break;default:m=t(r,n(r,W,R),m,s,d+1)}G+=m,m=R=B=A=f=0,W="",h=u.charCodeAt(++N);break;case 125:case 59:if(1<(H=(W=(0<B?W.replace(p,""):W).trim()).length))switch(0===A&&(f=W.charCodeAt(0),45===f||96<f&&123>f)&&(H=(W=W.replace(" ",":")).length),0<D&&void 0!==(x=l(1,W,r,e,O,k,z.length,s,d,s))&&0===(H=(W=x.trim()).length)&&(W="\0\0"),f=W.charCodeAt(0),h=W.charCodeAt(1),f){case 0:break;case 64:if(105===h||99===h){U+=W+u.charAt(N);break}default:58!==W.charCodeAt(H-1)&&(z+=o(W,f,h,W.charCodeAt(2)))}R=B=A=f=0,W="",h=u.charCodeAt(++N)}}switch(h){case 13:case 10:47===I?I=0:0===1+f&&107!==s&&0<W.length&&(B=1,W+="\0"),0<D*_&&l(0,W,r,e,O,k,z.length,s,d,s),k=1,O++;break;case 59:case 125:if(0===I+M+S+E){k++;break}default:switch(k++,v=u.charAt(N),h){case 9:case 32:if(0===M+E+I)switch(C){case 44:case 58:case 9:case 32:v="";break;default:32!==h&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===M+I+E&&(B=R=1,v="\f"+v);break;case 108:if(0===M+I+E+j&&0<A)switch(N-A){case 2:112===C&&58===u.charCodeAt(N-3)&&(j=C);case 8:111===L&&(j=L)}break;case 58:0===M+I+E&&(A=N);break;case 44:0===I+S+M+E&&(B=1,v+="\r");break;case 34:case 39:0===I&&(M=M===h?0:0===M?h:M);break;case 91:0===M+I+S&&E++;break;case 93:0===M+I+S&&E--;break;case 41:0===M+I+E&&S--;break;case 40:if(0===M+I+E){if(0===f)switch(2*C+3*L){case 533:break;default:f=1}S++}break;case 64:0===I+S+M+E+A+m&&(m=1);break;case 42:case 47:if(!(0<M+E+S))switch(I){case 0:switch(2*h+3*u.charCodeAt(N+1)){case 235:I=47;break;case 220:H=N,I=42}break;case 42:47===h&&42===C&&H+2!==N&&(33===u.charCodeAt(H+2)&&(z+=u.substring(H,N+1)),v="",I=0)}}0===I&&(W+=v)}L=C,C=h,N++}if(0<(H=z.length)){if(B=r,0<D&&(void 0!==(x=l(2,z,B,e,O,k,H,s,d,s))&&0===(z=x).length))return U+z+G;if(z=B.join(",")+"{"+z+"}",0!=P*j){switch(2!==P||i(z,2)||(j=0),j){case 111:z=z.replace(y,":-moz-$1")+z;break;case 112:z=z.replace(b,"::-webkit-input-$1")+z.replace(b,"::-moz-$1")+z.replace(b,":-ms-input-$1")+z}j=0}}return U+z+G}function n(e,t,n){var o=t.trim().split(m);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var l=0;for(e=0===a?"":e[0]+" ";l<i;++l)t[l]=r(e,t[l],n).trim();break;default:var u=l=0;for(t=[];l<i;++l)for(var s=0;s<a;++s)t[u++]=r(e[s]+" ",o[l],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(v,"$1"+e.trim());case 58:return e.trim()+t.replace(v,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(v,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",l=2*t+3*n+4*r;if(944===l){e=a.indexOf(":",9)+1;var u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===P||2===P&&i(u,1)?"-webkit-"+u+u:u}if(0===P||2===P&&!i(a,1))return a;switch(l){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(C,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return f.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=a.replace(x,"tb");break;case 232:u=a.replace(x,"tb-rl");break;case 220:u=a.replace(x,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,l=(u=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<l?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(I,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(I,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===M.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),A(2!==t?r:r.replace(S,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(E," or ($1)").substring(4):"("+t+")"}function l(e,t,n,r,o,i,a,l,u,c){for(var p,d=0,f=t;d<D;++d)switch(p=L[d].call(s,e,f,n,r,o,i,a,l,u,c)){case void 0:case!1:case!0:case null:break;default:f=p}if(f!==t)return f}function u(e){return void 0!==(e=e.prefix)&&(A=null,e?"function"!=typeof e?P=1:(P=2,A=e):P=0),u}function s(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<D){var o=l(-1,n,r,r,O,k,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var i=t(T,r,n,0,0);return 0<D&&(void 0!==(o=l(-2,i,r,r,O,k,i.length,0,0,0))&&(i=o)),"",j=0,k=O=1,i}var c=/^\0+/g,p=/[\0\r\f]/g,d=/: */g,f=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,v=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,y=/:(read-only)/g,x=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,I=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,M=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,k=1,O=1,j=0,P=1,T=[],L=[],D=0,A=null,_=0;return s.use=function e(t){switch(t){case void 0:case null:D=L.length=0;break;default:if("function"==typeof t)L[D++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else _=0|!!t}return e},s.set=u,void 0!==e&&u(e),s}},8560:function(e,t){"use strict";t.Z={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},56002:function(e,t,n){"use strict";n.d(t,{f:function(){return r},M:function(){return o}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert("."+r,o,e.sheet,!0);o=o.next}while(void 0!==o)}}},21112:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(89526),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,l=e.height,u=void 0===l?24:l,s=e.style,c=void 0===s?{}:s,p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:u},c)},p),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},47327:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(89526),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,l=e.height,u=void 0===l?24:l,s=e.style,c=void 0===s?{}:s,p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:u},c)},p),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},17449:function(e,t,n){"use strict";var r=n(99850),o=[],i=[],a=r.makeRequestCallFromTimer((function(){if(i.length)throw i.shift()}));function l(e){var t;(t=o.length?o.pop():new u).task=e,r(t)}function u(){this.task=null}e.exports=l,u.prototype.call=function(){try{this.task.call()}catch(e){l.onerror?l.onerror(e):(i.push(e),a())}finally{this.task=null,o[o.length]=this}}},99850:function(e,t,n){"use strict";function r(e){i.length||(o(),!0),i[i.length]=e}e.exports=r;var o,i=[],a=0;function l(){for(;a<i.length;){var e=a;if(a+=1,i[e].call(),a>1024){for(var t=0,n=i.length-a;t<n;t++)i[t]=i[t+a];i.length-=a,a=0}}i.length=0,a=0,!1}var u,s,c,p=void 0!==n.g?n.g:self,d=p.MutationObserver||p.WebKitMutationObserver;function f(e){return function(){var t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}"function"==typeof d?(u=1,s=new d(l),c=document.createTextNode(""),s.observe(c,{characterData:!0}),o=function(){u=-u,c.data=u}):o=f(l),r.requestFlush=o,r.makeRequestCallFromTimer=f},64403:function(e,t){var n;
|
2 |
/*!
|
3 |
Copyright (c) 2017 Jed Watson.
|
4 |
Licensed under the MIT License (MIT), see
|
1 |
+
var WPRecipeMaker;(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-recipe-maker/dist/admin-faq"]=(self.webpackChunkWPRecipeMaker_name_=self.webpackChunkWPRecipeMaker_name_||[]).push([[437],{98453:function(e,t,n){"use strict";n.r(t);var r=n(73961),o=n(89526),i=(n(35054),n(37932)),a=e=>o.createElement("div",{className:"wprm-admin-onboarding-step-welcome"},o.createElement("p",null,"Welcome to WP Recipe Maker!"),o.createElement("p",null,"These onboarding steps will get you up and running in no time by ",o.createElement("strong",null,"choosing the correct options for your situation")," and showing you how to get the most out of this plugin."),o.createElement("div",{className:"wprm-admin-onboarding-step-welcome-buttons"},o.createElement("button",{className:"button button-primary",onClick:()=>{e.jumpToStep(1)}},"Start the onboarding!"),o.createElement("a",{href:wprm_admin.manage_url+"&skip_onboarding=1"},"or click here to skip")));function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?g(e):t}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function x(e){return function(e){if(Array.isArray(e))return w(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 w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(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 w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var E=function e(t){var n=this,r=t.expanded,o=void 0===r?[]:r,i=t.allowMultipleExpanded,a=void 0!==i&&i,u=t.allowZeroExpanded,s=void 0!==u&&u;l(this,e),c(this,"expanded",void 0),c(this,"allowMultipleExpanded",void 0),c(this,"allowZeroExpanded",void 0),c(this,"toggleExpanded",(function(e){return n.isItemDisabled(e)?n:n.isItemExpanded(e)?n.augment({expanded:n.expanded.filter((function(t){return t!==e}))}):n.augment({expanded:n.allowMultipleExpanded?[].concat(x(n.expanded),[e]):[e]})})),c(this,"isItemDisabled",(function(e){var t=n.isItemExpanded(e),r=1===n.expanded.length;return Boolean(t&&!n.allowZeroExpanded&&r)})),c(this,"isItemExpanded",(function(e){return-1!==n.expanded.indexOf(e)})),c(this,"getPanelAttributes",(function(e,t){var r=null!=t?t:n.isItemExpanded(e);return{role:n.allowMultipleExpanded?void 0:"region","aria-hidden":n.allowMultipleExpanded?!r:void 0,"aria-labelledby":n.getButtonId(e),id:n.getPanelId(e),hidden:!r||void 0}})),c(this,"getHeadingAttributes",(function(){return{role:"heading"}})),c(this,"getButtonAttributes",(function(e,t){var r=null!=t?t:n.isItemExpanded(e),o=n.isItemDisabled(e);return{id:n.getButtonId(e),"aria-disabled":o,"aria-expanded":r,"aria-controls":n.getPanelId(e),role:"button",tabIndex:0}})),c(this,"getPanelId",(function(e){return"accordion__panel-".concat(e)})),c(this,"getButtonId",(function(e){return"accordion__heading-".concat(e)})),c(this,"augment",(function(t){return new e(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({expanded:n.expanded,allowMultipleExpanded:n.allowMultipleExpanded,allowZeroExpanded:n.allowZeroExpanded},t))})),this.expanded=o,this.allowMultipleExpanded=a,this.allowZeroExpanded=s},I=(0,o.createContext)(null),S=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return c(g(e=t.call.apply(t,[this].concat(o))),"state",new E({expanded:e.props.preExpanded,allowMultipleExpanded:e.props.allowMultipleExpanded,allowZeroExpanded:e.props.allowZeroExpanded})),c(g(e),"toggleExpanded",(function(t){e.setState((function(e){return e.toggleExpanded(t)}),(function(){e.props.onChange&&e.props.onChange(e.state.expanded)}))})),c(g(e),"isItemDisabled",(function(t){return e.state.isItemDisabled(t)})),c(g(e),"isItemExpanded",(function(t){return e.state.isItemExpanded(t)})),c(g(e),"getPanelAttributes",(function(t,n){return e.state.getPanelAttributes(t,n)})),c(g(e),"getHeadingAttributes",(function(){return e.state.getHeadingAttributes()})),c(g(e),"getButtonAttributes",(function(t,n){return e.state.getButtonAttributes(t,n)})),e}return s(n,[{key:"render",value:function(){var e=this.state,t=e.allowZeroExpanded,n=e.allowMultipleExpanded;return(0,o.createElement)(I.Provider,{value:{allowMultipleExpanded:n,allowZeroExpanded:t,toggleExpanded:this.toggleExpanded,isItemDisabled:this.isItemDisabled,isItemExpanded:this.isItemExpanded,getPanelAttributes:this.getPanelAttributes,getHeadingAttributes:this.getHeadingAttributes,getButtonAttributes:this.getButtonAttributes}},this.props.children||null)}}]),n}(o.PureComponent);c(S,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var M,C=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return c(g(e=t.call.apply(t,[this].concat(o))),"renderChildren",(function(t){return t?e.props.children(t):null})),e}return s(n,[{key:"render",value:function(){return(0,o.createElement)(I.Consumer,null,this.renderChildren)}}]),n}(o.PureComponent),k=function(e){var t=e.className,n=void 0===t?"accordion":t,r=e.allowMultipleExpanded,i=e.allowZeroExpanded,a=e.onChange,l=e.preExpanded,u=v(e,["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"]);return(0,o.createElement)(S,{preExpanded:l,allowMultipleExpanded:r,allowZeroExpanded:i,onChange:a},(0,o.createElement)("div",p({"data-accordion-component":"Accordion",className:n},u)))};!function(e){e.Accordion="Accordion",e.AccordionItem="AccordionItem",e.AccordionItemButton="AccordionItemButton",e.AccordionItemHeading="AccordionItemHeading",e.AccordionItemPanel="AccordionItemPanel"}(M||(M={}));var O=M,j=0;function P(){var e=j;return j+=1,"raa-".concat(e)}var T=/[\u0009\u000a\u000c\u000d\u0020]/g;function L(e){return""!==e&&!T.test(e)||(console.error('uuid must be a valid HTML5 id but was given "'.concat(e,'", ASCII whitespaces are forbidden')),!1)}var D=(0,o.createContext)(null),A=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return c(g(e=t.call.apply(t,[this].concat(i))),"toggleExpanded",(function(){e.props.accordionContext.toggleExpanded(e.props.uuid)})),c(g(e),"renderChildren",(function(t){var n=e.props,r=n.uuid,i=n.dangerouslySetExpanded,a=null!=i?i:t.isItemExpanded(r),l=t.isItemDisabled(r),u=t.getPanelAttributes(r,i),s=t.getHeadingAttributes(r),c=t.getButtonAttributes(r,i);return(0,o.createElement)(D.Provider,{value:{uuid:r,expanded:a,disabled:l,toggleExpanded:e.toggleExpanded,panelAttributes:u,headingAttributes:s,buttonAttributes:c}},e.props.children)})),e}return s(n,[{key:"render",value:function(){return(0,o.createElement)(C,null,this.renderChildren)}}]),n}(o.Component),_=function(e){return(0,o.createElement)(C,null,(function(t){return(0,o.createElement)(A,p({},e,{accordionContext:t}))}))},N=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return c(g(e=t.call.apply(t,[this].concat(o))),"renderChildren",(function(t){return t?e.props.children(t):null})),e}return s(n,[{key:"render",value:function(){return(0,o.createElement)(D.Consumer,null,this.renderChildren)}}]),n}(o.PureComponent),B=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return c(g(e=t.call.apply(t,[this].concat(i))),"instanceUuid",P()),c(g(e),"renderChildren",(function(t){var n=e.props,r=(n.uuid,n.className),i=n.activeClassName,a=(n.dangerouslySetExpanded,v(n,["uuid","className","activeClassName","dangerouslySetExpanded"])),l=t.expanded&&i?i:r;return(0,o.createElement)("div",p({"data-accordion-component":"AccordionItem",className:l},a))})),e}return s(n,[{key:"render",value:function(){var e=this.props,t=e.uuid,n=void 0===t?this.instanceUuid:t,r=e.dangerouslySetExpanded,i=v(e,["uuid","dangerouslySetExpanded"]);return L(n),i.id&&L(i.id),(0,o.createElement)(_,{uuid:n,dangerouslySetExpanded:r},(0,o.createElement)(N,null,this.renderChildren))}}]),n}(o.Component);function R(e){return e&&(e.matches('[data-accordion-component="Accordion"]')?e:R(e.parentElement))}function H(e){var t=R(e);return t&&Array.from(t.querySelectorAll('[data-accordion-component="AccordionItemButton"]'))}c(B,"defaultProps",{className:"accordion__item"}),c(B,"displayName",O.AccordionItem);var F="40",Z="35",W="13",z="36",G="37",U="39",V="32",J="38",Y=function(e){var t=e.toggleExpanded,n=e.className,r=void 0===n?"accordion__button":n,i=v(e,["toggleExpanded","className"]);return i.id&&L(i.id),(0,o.createElement)("div",p({className:r},i,{role:"button",tabIndex:0,onClick:t,onKeyDown:function(e){var n,r,o=e.which.toString();if(o!==W&&o!==V||(e.preventDefault(),t()),e.target instanceof HTMLElement)switch(o){case z:e.preventDefault(),n=e.target,(r=(H(n)||[])[0])&&r.focus();break;case Z:e.preventDefault(),function(e){var t=H(e)||[],n=t[t.length-1];n&&n.focus()}(e.target);break;case G:case J:e.preventDefault(),function(e){var t=H(e)||[],n=t.indexOf(e);if(-1!==n){var r=t[n-1];r&&r.focus()}}(e.target);break;case U:case F:e.preventDefault(),function(e){var t=H(e)||[],n=t.indexOf(e);if(-1!==n){var r=t[n+1];r&&r.focus()}}(e.target)}},"data-accordion-component":"AccordionItemButton"}))},Q=function(e){return(0,o.createElement)(N,null,(function(t){var n=t.toggleExpanded,r=t.buttonAttributes;return(0,o.createElement)(Y,p({toggleExpanded:n},e,r))}))},X=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return c(g(e=t.call.apply(t,[this].concat(o))),"ref",void 0),c(g(e),"setRef",(function(t){e.ref=t})),e}return s(n,[{key:"componentDidUpdate",value:function(){n.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){n.VALIDATE(this.ref)}},{key:"render",value:function(){return(0,o.createElement)("div",p({"data-accordion-component":"AccordionItemHeading"},this.props,{ref:this.setRef}))}}],[{key:"VALIDATE",value:function(e){if(void 0===e)throw new Error("ref is undefined");if(1!==e.childElementCount||!e.firstElementChild||"AccordionItemButton"!==e.firstElementChild.getAttribute("data-accordion-component"))throw new Error("AccordionItemButton may contain only one child element, which must be an instance of AccordionItemButton.\n\nFrom the WAI-ARIA spec (https://www.w3.org/TR/wai-aria-practices-1.1/#accordion):\n\n“The button element is the only element inside the heading element. That is, if there are other visually persistent elements, they are not included inside the heading element.”\n\n")}}]),n}(o.PureComponent);c(X,"defaultProps",{className:"accordion__heading","aria-level":3});var q=function(e){return(0,o.createElement)(N,null,(function(t){var n=t.headingAttributes;return e.id&&L(e.id),(0,o.createElement)(X,p({},e,n))}))};q.displayName=O.AccordionItemHeading;var $=function(e){var t=e.className,n=void 0===t?"accordion__panel":t,r=e.id,i=v(e,["className","id"]),a=function(e){var t=e.panelAttributes;return r&&L(r),(0,o.createElement)("div",p({"data-accordion-component":"AccordionItemPanel",className:n},i,t))};return(0,o.createElement)(N,null,a)},K=e=>o.createElement("div",{className:"wprm-admin-onboarding-accordion-container"},e.hasOwnProperty("title")&&o.createElement("h2",null,e.title),o.createElement(k,{className:"wprm-admin-onboarding-accordion",allowZeroExpanded:!0},e.items.map(((e,t)=>o.createElement(B,{key:t},o.createElement(q,null,o.createElement(Q,null,e.header)),o.createElement($,null,e.content)))))),ee=wprm_admin.wprm_url+"assets/images/faq/creating/",te=e=>o.createElement(K,{items:[{header:"Gutenberg Block Editor (WordPress default)",content:o.createElement(o.Fragment,null,o.createElement("p",null,"This is the default editor for WordPress and the one we recommend. To add a recipe you ",o.createElement("strong",null,"add a WPRM Recipe block")," to the post content."),o.createElement("img",{src:ee+"gutenberg-block.png"}),o.createElement("p",null,"After adding a WPRM Recipe block you can click a button to ",o.createElement("strong",null,"create a new recipe or insert an existing one"),'. The "Create new from Existing Recipe" button can be used to duplicate an existing recipe to start your new recipe from.'),o.createElement("img",{src:ee+"gutenberg-block-buttons.png"}),o.createElement("p",null,"Clicking on a button will open up the recipe modal for you to fill in."))},{header:"Classic Editor",content:o.createElement(o.Fragment,null,o.createElement("p",null,"You won't get a nice preview of the recipe, but we still fully support the Classic Editor. To add a recipe, ",o.createElement("strong",null,"click on the WP Recipe Maker button or icon")," in the visual editor."),o.createElement("img",{src:ee+"classic-editor-buttons.png"}),o.createElement("p",null,"After clicking a modal will show up with all things that WP Recipe Maker can insert for you."),o.createElement("img",{src:ee+"classic-editor-modal.png"}),o.createElement("p",null,"Click the button to ",o.createElement("strong",null,"create a new recipe or insert an existing one"),'. The "Create new from Existing Recipe" button can be used to duplicate an existing recipe to start your new recipe from.'))},{header:"Elementor Page Builder",content:o.createElement(o.Fragment,null,o.createElement("p",null,"We integrate with the Elementor Page Builder so you can simply ",o.createElement("strong",null,"add a WPRM Recipe widget to your post"),"."),o.createElement("img",{src:ee+"elementor-widget.png"}),o.createElement("p",null,'When you click on "Create or edit Recipe" it will take you to the ',o.createElement("strong",null,"WP Recipe Maker Manage page explained below"),", as recipes can't be created or edited in the Elementor interface."),o.createElement("p",null,"Once you've create a recipe you can just ",o.createElement("strong",null,"search for its name")," to insert it."),o.createElement("img",{src:ee+"elementor-select-recipe.png"}))},{header:"Other Page Builder",content:o.createElement(o.Fragment,null,o.createElement("p",null,"If you're using a page builder that we don't integrate with you can still use WP Recipe Maker. You'll ",o.createElement("strong",null,"create a recipe on the WP Recipe Maker Manage page explained below"),"."),o.createElement("p",null,"After creating a recipe you ",o.createElement("strong",null,"type the recipe shortcode")," where you want the recipe to appear."),o.createElement("img",{src:ee+"page-builder.png"}))},{header:"WordPress.com Editor",content:o.createElement(o.Fragment,null,o.createElement("p",null,"If your interface ",o.createElement("strong",null,"looks like the classic editor but doesn't have the WP Recipe Maker button")," you might be using the WordPress.com interface."),o.createElement("img",{src:ee+"wordpress-com-interface.png"}),o.createElement("p",null,"One option you have is to ",o.createElement("strong",null,'type the recipe shortcode as shown under "Other Page Builder"')," above."),o.createElement("p",null,"Or you could revert to the ",o.createElement("strong",null,"classic WP Admin interface")," through the menu link."),o.createElement("img",{src:ee+"wordpress-com-admin-link.png"}),o.createElement("p",null,"Once in the classic interface you can follow the ",o.createElement("strong",null,"Classic Editor")," instructions above."))}]}),ne=wprm_admin.wprm_url+"assets/images/faq/creating/",re=e=>o.createElement("div",{className:"wprm-admin-onboarding-step-creating"},o.createElement("p",null,"An important thing about WP Recipe Maker is that ",o.createElement("strong",null,"recipes do not exist on their own"),". You create a recipe and then ",o.createElement("strong",null,"add it to a regular post")," on your website."),o.createElement("p",null,"The way to add a recipe to a post depends on the editor you're using."),o.createElement("h2",null,"What editor are you using?"),o.createElement("p",null,"Click on the editor you use on your website to get instructions on how to add a recipe."),o.createElement(te,null),o.createElement("h2",null,"Using the WP Recipe Maker Manage page"),o.createElement("p",null,"Whatever editor you're using, an easy way to ",o.createElement("strong",null,"create, edit, and manage")," your recipes is through the ",o.createElement("em",null,"WP Recipe Maker > Manage")," page that will be available after going through these onboarding steps."),o.createElement("p",null,"On the Manage page you will find an ",o.createElement("strong",null,"overview of all the recipes on your website"),"."),o.createElement("img",{src:ne+"manage-overview.png"}),o.createElement("p",null,"There is a LOT to explore on the manage page, but for now just focus on the ",o.createElement("strong",null,'blue "Create Recipe" button')," in the top right. Simply clicking this will create a new recipe for you."),o.createElement("p",null,"It's worth repeating that ",o.createElement("strong",null,"this new recipe won't get displayed anywhere automatically"),". It has to be added to a post using one of the methods shown above. This will then become ",o.createElement("strong",null,"the parent post for the recipe"),", the place on your website where the recipe is displayed."),o.createElement("p",null,"Now that you know how to create recipes it's time to have a look at them!")),oe=n(720),ie=n(99237);class ae extends o.Component{constructor(e){super(e);var t=!1;wprm_admin_template.templates.hasOwnProperty("chic")&&(t=wprm_admin_template.templates.chic),this.state={template:t}}render(){var e=[];return Object.values(wprm_admin_template.templates).forEach((t=>{"recipe"===t.type&&"excerpt"!==t.slug&&"compact-howto"!==t.slug&&e.push(t)})),o.createElement("div",{className:"wprm-admin-onboarding-step-template"},o.createElement("p",null,"WP Recipe Maker includes a ",o.createElement("strong",null,"full Template Editor to customize the entire look and feel of your recipes")," to match your needs. It can be accessed through the ",o.createElement("em",null,"WP Recipe Maker > Settings")," page."),o.createElement("p",null,"For now let's just start by choosing one of our default templates. You'll have time to dive into the customization rabbit hole later!"),o.createElement("h2",null,"Select a template for your recipes"),o.createElement("div",{className:"wprm-admin-onboarding-step-template-select"},e.map(((e,t)=>{var n="wprm-manage-templates-template";return n+=!1!==this.state.template&&this.state.template.slug===e.slug?" wprm-manage-templates-template-selected":"",n+=e.premium&&!wprm_admin.addons.premium?" wprm-manage-templates-template-premium":"",o.createElement("div",{key:t,className:n,onClick:()=>{this.setState({template:e})}},e.name)}))),o.createElement("div",{className:"wprm-admin-onboarding-step-template-preview"},!1!==this.state.template&&o.createElement(o.Fragment,null,this.state.template.premium&&!wprm_admin.addons.premium&&o.createElement("p",{style:{color:"darkred",textAlign:"center"}},"You need ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium")," to use this template."),o.createElement(oe.Z,{template:this.state.template,mode:"onboarding",onChangeMode:()=>{},onChangeHTML:()=>{}}))),o.createElement("div",{className:"footer-buttons"},o.createElement("button",{type:"button",className:"button",id:"prev-button",onClick:()=>{this.props.jumpToStep(1)}},"Previous"),o.createElement("button",{type:"button",className:"button button-primary",id:"next-button",onClick:()=>{this.state.template?this.state.template.premium&&!wprm_admin.addons.premium?alert("This template is only available in WP Recipe Maker Premium."):(ie.Z.settings.save({recipe_template_mode:"modern",default_recipe_template_modern:this.state.template.slug}),this.props.jumpToStep(3)):alert("Please select a template above.")}},"Use the above Template")))}}class le extends o.Component{constructor(e){super(e);var t=!1;wprm_admin_template.templates.hasOwnProperty("snippet-basic-buttons")&&(t=wprm_admin_template.templates["snippet-basic-buttons"]),this.state={template:t}}render(){var e=[];return Object.values(wprm_admin_template.templates).forEach((t=>{"snippet"===t.type&&e.push(t)})),o.createElement("div",{className:"wprm-admin-onboarding-step-snippet"},o.createElement("p",null,"Most people have content before the actual recipe. Often, there are some paragrahs with additional information or backstory. Maybe a few ads in between? You want people to read this, but if they are in a hurry you could ",o.createElement("strong",null,"give your visitors the option to jump directly to the recipe as well"),"!"),o.createElement("p",null,'That\'s where the Recipe Snippets feature comes in. These snippets usually contain a "Jump to Recipe" and "Print Recipe" button but can include any field you want, really. Have a look at the ',o.createElement("em",null,"Snippet Summary")," template below, for example."),o.createElement("p",null,"These snippets are ",o.createElement("strong",null,"fully customizable in the Template Editor")," as well. So you can change colors, text and add more information afterwards."),o.createElement("h2",null,"Select a snippet template"),o.createElement("div",{className:"wprm-admin-onboarding-step-template-select"},e.map(((e,t)=>{var n="wprm-manage-templates-template";return n+=!1!==this.state.template&&this.state.template.slug===e.slug?" wprm-manage-templates-template-selected":"",n+=e.premium&&!wprm_admin.addons.premium?" wprm-manage-templates-template-premium":"",o.createElement("div",{key:t,className:n,onClick:()=>{this.setState({template:e})}},e.name)}))),o.createElement("div",{className:"wprm-admin-onboarding-step-template-preview"},!1!==this.state.template&&o.createElement(o.Fragment,null,this.state.template.premium&&!wprm_admin.addons.premium&&o.createElement("p",{style:{color:"darkred",textAlign:"center"}},"You need ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium")," to use this template."),o.createElement(oe.Z,{template:this.state.template,mode:"onboarding",onChangeMode:()=>{},onChangeHTML:()=>{}}),o.createElement("p",null,"This would be the start of your regular post content, so the snippet appears right at the top of your post."))),o.createElement("div",{className:"footer-buttons"},o.createElement("button",{type:"button",className:"button",id:"prev-button",onClick:()=>{this.props.jumpToStep(2)}},"Previous"),o.createElement("button",{type:"button",className:"button button-primary",id:"skip-button",onClick:()=>{this.props.jumpToStep(4)}},"Do not enable snippets right now"),o.createElement("button",{type:"button",className:"button button-primary",id:"next-button",onClick:()=>{this.state.template?this.state.template.premium&&!wprm_admin.addons.premium?alert("This template is only available in WP Recipe Maker Premium."):(ie.Z.settings.save({recipe_snippets_automatically_add_modern:!0,recipe_snippets_template:this.state.template.slug}),this.props.jumpToStep(4)):alert("Please select a template above.")}},"Use the above Snippet Template")))}}var ue=e=>o.createElement(K,{items:[{header:"Earn affiliate income with ingredient and equipment links",content:o.createElement(o.Fragment,null,!wprm_admin.addons.premium&&o.createElement("p",{style:{color:"darkred"}},"This feature is available in ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium"),"."),o.createElement("p",null,"Ingredient and equipment links are perfect for affiliate marketing: you set the link once and it will automatically get displayed whenever you use that ingredient/equipment in a recipe."),o.createElement("p",null,"For equipment you even have the ability to add an image to increase the changes of having visitors click on the link."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/29-ingredient-links",target:"_blank"},"Learn about ingredient links")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/193-equipment-links",target:"_blank"},"Learn about equipment links")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/203-equipment-images",target:"_blank"},"Adding equipment images"))))},{header:"Calculating and adding nutrition facts to your recipes",content:o.createElement(o.Fragment,null,!wprm_admin.addons.pro&&o.createElement("p",{style:{color:"darkred"}},"This feature is available in ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium - Pro Bundle"),"."),o.createElement("p",null,"Provide your visitors with the complete recipe details by including a full nutrition label. With the Pro Bundle we can even ",o.createElement("strong",null,"help calculated these nutrition facts for you"),"."),o.createElement("p",null,"You have full control over the values that get displayed and can even ",o.createElement("strong",null,"create your own custom and calculated nutrients"),". This can be used for fields like Net Carbs, for example."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/22-nutrition-label",target:"_blank"},"Nutrition Label")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/21-nutrition-facts-calculation",target:"_blank"},"Calculating Nutrition Facts")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/199-custom-and-calculated-nutrients",target:"_blank"},"Custom and Calculated Nutrients"))))},{header:"Reach an international audience with US and Metric units",content:o.createElement(o.Fragment,null,!wprm_admin.addons.pro&&o.createElement("p",{style:{color:"darkred"}},"This feature is available in ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium - Pro Bundle"),"."),o.createElement("p",null,"Some of your readers might have a hard time making your recipes because they simply don't use the units you write them in. Not everyone is familiar with cups or grams, for example."),o.createElement("p",null,"Our unit conversion allows you to ",o.createElement("strong",null,"offer both unit system")," to your visitors and have them switch back and forth. To get these values we integrate with an API that helps calculate them for you!"),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/18-unit-conversion",target:"_blank"},"Setting up the Unit Conversion feature"))))},{header:"Set up Meal Planning with the recipe collections feature",content:o.createElement(o.Fragment,null,!wprm_admin.addons.elite&&o.createElement("p",{style:{color:"darkred"}},"This feature is available in ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium - Elite Bundle"),"."),o.createElement("p",null,"Recipe Collections allow your visitors to ",o.createElement("strong",null,"save the recipes on your website in their own collections and then generate a shopping list")," for them. Can be used for collecting favorites, meal planning and much more!"),o.createElement("p",null,"As the site owner you can also ",o.createElement("strong",null,"create your own saved collections to present to your users"),". This can include as many recipes (and individual ingredients) as you want and you can even total the nutrition facts for those recipes."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/148-recipe-collections",target:"_blank"},"Learn more about Recipe Collections")),o.createElement("li",null,o.createElement("a",{href:"https://demo.wprecipemaker.com/saved-recipe-collection/",target:"_blank"},"See a Saved Recipe Collection in action"))))}]}),se=e=>o.createElement(o.Fragment,null,o.createElement("p",null,"We built an email course full of ",o.createElement("strong",null,"tips and tricks")," to help you get the most out of WP Recipe Maker."),o.createElement("p",null,"During the course you'll get introduced to a ",o.createElement("strong",null,"private Facebook group")," full of WP Recipe Maker Food Bloggers to learn from and we'll even ",o.createElement("strong",null,"help promote your recipes on social media")," for free."),o.createElement("form",{action:"https://www.getdrip.com/forms/917801565/submissions",method:"post",className:"wprm-drip-form","data-drip-embedded-form":"917801565",target:"_blank"},o.createElement("div",null,o.createElement("div",null,o.createElement("label",{htmlFor:"drip-email"},"Email Address"),o.createElement("br",null),o.createElement("input",{type:"email",id:"drip-email",name:"fields[email]",defaultValue:wprm_faq.user.email}),o.createElement("input",{type:"hidden",id:"drip-customer-website",name:"fields[customer_website]",value:wprm_faq.user.website})),o.createElement("div",null,o.createElement("input",{type:"hidden",name:"fields[eu_consent]",id:"drip-eu-consent-denied",value:"denied"}),o.createElement("input",{type:"checkbox",name:"fields[eu_consent]",id:"drip-eu-consent",value:"granted"}),o.createElement("label",{htmlFor:"drip-eu-consent"},"I understand and agree to the ",o.createElement("a",{href:"https://www.iubenda.com/privacy-policy/82708778"},"privacy policy"))),o.createElement("div",null,o.createElement("input",{type:"hidden",name:"fields[eu_consent_message]",value:"I understand and agree to the privacy policy (https://www.iubenda.com/privacy-policy/82708778)"}))),o.createElement("div",null,o.createElement("input",{type:"submit",name:"submit",value:"Help me get the most out of WP Recipe Maker!",className:"button button-primary","data-drip-attribute":"sign-up-button"})))),ce=wprm_admin.wprm_url+"assets/images/faq/getting-started/",pe=e=>o.createElement(K,{items:[{header:"Using WPRM in a different language (or multilingual site)",content:o.createElement(o.Fragment,null,o.createElement("p",null,"We follow WordPress standards to make sure all text in WP Recipe Maker can be translated to fit your needs. Learn more here:"),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/128-translating-text-in-the-plugin",target:"_blank"},"Translating any text in WP Recipe Maker")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/132-how-to-use-this-for-a-multilingual-blog",target:"_blank"},"Using WPRM on a multilingual website"))))},{header:"Importing recipes from another plugin",content:o.createElement(o.Fragment,null,o.createElement("p",null,"Already have recipes on your website that were created in a different plugin? There's a good chance we can import them for you! If there are recipes we can import, you will find them on the ",o.createElement("em",null,"WP Recipe Maker > Import Recipes"),"."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/69-importing-recipes-from-other-plugins",target:"_blank"},"All the plugins we can import from")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/86-custom-recipe-importer",target:"_blank"},"Develop your own recipe importer"))))},{header:"Adding recipes from Word, Google Docs, ...",content:o.createElement(o.Fragment,null,o.createElement("p",null,"If you already have your recipes in another document, filling in all the individual fields can be a bit tedious. Use our ",o.createElement("strong",null,"import recipe from text feature")," to paste in that recipe entirely and speed up the process."),o.createElement("p",null,"The field to paste in the recipe can be found after scrolling up all the way in the recipe modal:"),o.createElement("img",{src:ce+"import-from-text.png"}),o.createElement("p",null,"This will open up a new modal where you can follow the steps to import."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/70-import-recipe-from-text",target:"_blank"},"Learn more about the import recipe from text feature"))))},{header:"Recipe metadata and SEO",content:o.createElement(o.Fragment,null,o.createElement("p",null,"An important reason for using a recipe plugin is to have it ",o.createElement("strong",null,"automatically add the recipe metadata that Google wants to see"),"."),o.createElement("p",null,"But WP Recipe Maker can only add that metadata if you actually fill in all the fields. To find out if you've done that, have a look at the SEO column on the ",o.createElement("em",null,"WP Recipe Maker > Manage")," page and make sure you ",o.createElement("strong",null,"get a green light there"),"."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/51-recipe-metadata-for-seo",target:"_blank"},"Learn more about Recipe Metadata for SEO")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/74-recipe-metadata-checker",target:"_blank"},"Using the Recipe Metadata Checker"))))},{header:"Using the Template Editor",content:o.createElement(o.Fragment,null,o.createElement("p",null,"Everyone is unique so we want you to be able to ",o.createElement("strong",null,"completely change the recipe template to your liking"),". Not everyone will have the budget for a completely custom-coded template though, so that's what we built the Template Editor for!"),o.createElement("p",null,"With a little bit of a learning curve everyone should be able to add or remove specific parts of the recipe box, change labels and colors or add custom text. The Template Editor can be accessed through the ",o.createElement("em",null,"WP Recipe Maker > Settings")," page."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/118-template-editor-101",target:"_blank"},"Go through the Template Editor 101 documentation first")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/category/25-template-editor-faq",target:"_blank"},"Learn more in these Template Editor FAQs"))))},{header:"WPRM for recipe roundup posts",content:o.createElement(o.Fragment,null,o.createElement("p",null,'WP Recipe Maker can also be used for recipe roundup posts (think "Easy Valentine\'s Day Menu" or "10 Scary Halloween Recipes"), ',o.createElement("strong",null,"linking to both recipes on your own website and others"),"."),o.createElement("p",null,"A good reason for using WPRM for these kind of posts is that we'll automatically include the ",o.createElement("strong",null,"ItemList metadata that Google needs to display your recipes in a Carousel"),". That should definitely get you some extra visits!"),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/182-itemlist-metadata-for-recipe-roundup-posts",target:"_blank"},"Learn about using recipe roundup feature"))))}]}),de=e=>o.createElement("div",{id:"wprm-admin-faq-container"},o.createElement("h1",null,"Get the most out of WP Recipe Maker"),o.createElement(se,null),o.createElement("h1",null,"Explainer Videos"),o.createElement("p",null,"Are you a visual learner? Make sure to check out the ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/videos/",target:"_blank"},"WP Recipe Maker Explainer Videos"),' we have on several topics. "Introduction to WP Recipe Maker" is a good one to start with:'),o.createElement("iframe",{width:"640",height:"433",src:"https://www.loom.com/embed/9f268e92cc064be9a45580a46fc84084",frameborder:"0",webkitallowfullscreen:!0,mozallowfullscreen:!0,allowfullscreen:!0}),o.createElement("h1",null,"Documentation & Support"),o.createElement("p",null,"We've listed some frequently asked questions below. If you need more help we recommend checking out the ",o.createElement("a",{href:"https://help.bootstrapped.ventures/collection/1-wp-recipe-maker",target:"_blank"},"WP Recipe Maker Knowledge Base")," and the ",o.createElement("a",{href:"https://demo.wprecipemaker.com",target:"_blank"},"WPRM Demo Site")," that shows all features in action."),o.createElement("p",null,"If you have any other questions or suggestions at all, ",o.createElement("strong",null,"contact us using the blue question mark in the bottom right")," of this page or by emailing ",o.createElement("a",{href:"mailto:support@bootstrapped.ventures"},"support@bootstrapped.ventures")," directly. We answer all tickets within 24 hours, and usually a lot faster."),o.createElement("h1",null,"Frequently Asked Questions"),o.createElement("p",null,"Just click on the different sections to learn more!"),o.createElement("h2",null,"Getting started with WP Recipe Maker"),o.createElement(pe,null),o.createElement("h2",null,"Adding recipes in different editors"),o.createElement(te,null),o.createElement("h2",null,"Advanced WPRM Usage"),o.createElement(ue,null),o.createElement("p",null,"Need more? Go to the ",o.createElement("a",{href:"https://help.bootstrapped.ventures/collection/1-wp-recipe-maker",target:"_blank"},"WP Recipe Maker Knowledge Base"),".")),fe=e=>o.createElement("div",{className:"wprm-admin-onboarding-step-next"},o.createElement("p",null,"You made it to the end of the onboarding! There is a lot left to explore, but we recommend just starting by creating a recipe now. And don't forget to ",o.createElement("strong",null,"sign up for the email course")," below to get the most out of this plugin. You won't regret it!"),o.createElement("p",null,"No need to worry about leaving this page either. The information below will be available on the ",o.createElement("em",null,"WP Recipe Maker > FAQ & Support")," page at any time."),o.createElement(de,null),o.createElement("div",{className:"footer-buttons"},o.createElement("a",{href:wprm_admin.manage_url+"&skip_onboarding=1",className:"button button-primary"},"Continue to the Manage page"))),he=[{name:"Welcome",component:o.createElement(a,null)},{name:"Creating Recipes",component:o.createElement(re,null)},{name:"Template",component:o.createElement(ae,null)},{name:"Snippets",component:o.createElement(le,null)},{name:"Next Steps",component:o.createElement(fe,null)}];class me extends o.Component{render(){return wprm_faq.onboarded?o.createElement(de,null):o.createElement(o.Fragment,null,o.createElement("h1",null,"WP Recipe Maker"),o.createElement("div",{id:"wprm-admin-onboarding-steps"},o.createElement(i.Z,{steps:he,stepsNavigation:!1,prevBtnOnLastStep:!1,backButtonCls:"button",nextButtonCls:"button button-primary",onStepChange:e=>{e===he.length-1&&fetch(wprm_admin.ajax_url,{method:"POST",credentials:"same-origin",body:"action=wprm_finished_onboarding&security="+wprm_admin.nonce,headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded; charset=utf-8"}})}})))}}var ve=document.getElementById("wprm-admin-faq");ve&&r.render(o.createElement(me,null),ve)},5308:function(e,t,n){"use strict";n(87191);var r=n(52082),o={selectImage(e){this.select("image",e)},selectVideo(e){this.select("video",e)},select(e,t){var n={title:(0,r.S)("Select Media"),button:{text:(0,r.S)("Select")},multiple:!1};"video"===e?(n.frame="video",n.state="video-details"):n.library={type:"image"};var o=wp.media(n);o.on("select",(function(){var e=o.state().get("selection").first().toJSON();t(e)})),o.on("update",(function(){var e=o.state().media.attachment;e&&t(e)})),o.open()}};t.Z=o},57573:function(e,t,n){"use strict";n(54883),n(72975),n(33290),n(19985),n(22321),n(68995);t.Z={parseCSS(e){var t=e.style.css;for(var n of Object.values(e.style.properties)){var r="";Object.entries(n).forEach((e=>{var[t,n]=e;["id","name","default","value","options"].includes(t)||(r=" ".concat(t,"=").concat(n))}));var o="".concat(n.value,"; /*wprm_").concat(n.id).concat(r,"*/");t=t.replace(new RegExp("%wprm_".concat(n.id,"%s*;"),"g"),o)}return t},getShortcodeName(e){var t=e.replace("wprm-","");return t=(t=t.replace(/-/g," ")).toLowerCase().replace(/\b[a-z]/g,(function(e){return e.toUpperCase()}))},getFullShortcode(e){var t="["+e.id;for(var n in e.attributes)if(e.attributes.hasOwnProperty(n)){var r=e.attributes[n];t+=" "+n+'="'+(r=(r=r.replace(/"/gm,""")).replace(/\]/gm,"]"))+'"'}return t+="]"},dependencyMet(e,t){var n=!0;if(t&&e.hasOwnProperty("dependency")){var r=e.dependency;Array.isArray(r)||(r=[r]);var o=e.hasOwnProperty("dependency_compare")?e.dependency_compare:"AND",i=!0;for(var a of r)if(t.hasOwnProperty(a.id)){var l=!1,u=t[a.id].value,s=a.hasOwnProperty("type")?a.type:"match";"inverse"==s?u!=a.value&&(l=!0):"includes"==s?u.includes(a.value)&&(l=!0):u==a.value&&(l=!0),"OR"===o?(i&&(n=!1,i=!1),n=n||l):n=n&&l}}return n}}},720:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});n(31807),n(54883),n(55281),n(75668),n(22321),n(68995);var r=n(89526),o=n(14264),i=n.n(o),a=n(57573),l=n(34133),u=(n(29897),n(98373)),s=n.n(u),c=n(99237),p=n(73961),d=e=>p.createPortal(e.children,document.getElementById("wprm-block-properties")),f=n(42458);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class g extends r.Component{constructor(e){super(e),this.state={fullShortcode:"",html:"",loading:!1,blockMode:"edit"}}componentDidMount(){this.checkShortcodeChange()}componentDidUpdate(e){this.checkShortcodeChange(),e.recipeId!==this.props.recipeId&&this.updatePreview(),e.editingBlock!==this.props.editingBlock&&this.onChangeBlockMode("edit")}checkShortcodeChange(){var e=a.Z.getFullShortcode(this.props.shortcode);e!==this.state.fullShortcode&&this.setState({fullShortcode:e},this.updatePreview)}updatePreview(){this.setState({loading:!0}),c.Z.template.previewShortcode(this.props.shortcode.uid,this.state.fullShortcode,this.props.recipeId).then((e=>{this.setState({html:e.hasOwnProperty(this.props.shortcode.uid)?e[this.props.shortcode.uid]:"",loading:!1})}))}getBlockProperties(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.shortcode,t={},n=!!wprm_admin_template.shortcodes.hasOwnProperty(e.id)&&wprm_admin_template.shortcodes[e.id];return n&&Object.entries(n).forEach((n=>{var[r,o]=n;if(o.type){var i=o.name?o.name:r.replace(/_/g," ").toLowerCase().replace(/\b[a-z]/g,(function(e){return e.toUpperCase()})),a=e.attributes.hasOwnProperty(r)?e.attributes[r]:o.default;a=(a=a.replace(/"/gm,'"')).replace(/]/gm,"]"),t[r]=m(m({},o),{},{id:r,name:i,value:a})}})),t}onChangeBlockMode(e){e!==this.state.blockMode&&this.setState({blockMode:e})}onCopyPasteStyle(e,t){var n=this.getBlockProperties(this.props.shortcodes[e]),r=this.getBlockProperties(this.props.shortcodes[t]),o={};Object.entries(r).forEach((e=>{var[t,r]=e;n.hasOwnProperty(t)&&n[t].value!==r.value&&"icon"!==t&&"text"!==t&&"label"!==t&&"header"!==t&&n[t].type===r.type&&("dropdown"!==r.type||r.options.hasOwnProperty(n[t].value))&&(o[t]=n[t].value)})),Object.keys(o).length&&this.props.onBlockPropertiesChange(t,o)}render(){var e=this.getBlockProperties();return r.createElement(r.Fragment,null,this.state.loading?r.createElement(l.Z,null):r.createElement(r.Fragment,null,i()(this.state.html.trim(),{replace:function(e){if(!e.parent&&this.props.shortcode.uid===this.props.hoveringBlock)return e.attribs||(e.attribs={}),e.attribs.class=e.attribs.class?e.attribs.class+" wprm-template-block-hovering":"wprm-template-block-hovering",s()(e)}.bind(this)})),this.props.shortcode.uid===this.props.editingBlock?r.createElement(d,null,"edit"===this.state.blockMode&&r.createElement(r.Fragment,null,r.createElement("div",{className:"wprm-template-menu-block-details"},r.createElement("a",{href:"#",onClick:e=>(e.preventDefault(),this.props.onChangeEditingBlock(!1))},"Blocks")," > ",this.props.shortcode.name),r.createElement("div",{className:"wprm-template-menu-block-quick-edit"},r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.onChangeBlockMode("copy")}},"Copy styles to...")," | ",r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.onChangeBlockMode("paste")}},"Paste styles from...")),Object.values(e).map(((t,n)=>r.createElement(f.Z,{properties:e,property:t,onPropertyChange:(e,t)=>this.props.onBlockPropertyChange(this.props.shortcode.uid,e,t),key:n}))),!Object.keys(e).length&&r.createElement("p",null,"There are no adjustable properties for this block.")),("copy"===this.state.blockMode||"paste"===this.state.blockMode)&&r.createElement(r.Fragment,null,r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.onChangeBlockMode("edit")}},"Stop"),r.createElement("p",null,"copy"===this.state.blockMode?"Copy styles to:":"Paste styles from:"),this.props.shortcodes.map(((e,t)=>e.uid===this.props.shortcode.uid?r.createElement("div",{key:t,className:"wprm-template-menu-block wprm-template-menu-block-self"},"copy"===this.state.blockMode?"Copying from":"Pasting to"," ",e.name):r.createElement("div",{key:t,className:e.uid===this.props.hoveringBlock?"wprm-template-menu-block wprm-template-menu-block-hover":"wprm-template-menu-block",onClick:()=>{var t="copy"===this.state.blockMode?this.props.shortcode.uid:e.uid,n="copy"===this.state.blockMode?e.uid:this.props.shortcode.uid;this.onCopyPasteStyle(t,n)},onMouseEnter:()=>this.props.onChangeHoveringBlock(e.uid),onMouseLeave:()=>this.props.onChangeHoveringBlock(!1)},e.name))))):null)}}var b=e=>p.createPortal(e.children,document.getElementById("wprm-add-blocks")),y=e=>p.createPortal(e.children,document.getElementById("wprm-remove-blocks")),x=(n(35054),n(45624));class w extends r.Component{getOptions(e){return e?c.Z.template.searchRecipes(e).then((e=>e.data.recipes_with_id)):Promise.resolve({options:[]})}render(){return r.createElement(x.ZP,{className:"wprm-main-container-preview-recipe",placeholder:"Select or search a recipe to preview",value:this.props.recipe,onChange:this.props.onRecipeChange,getOptionValue:e=>{var{id:t}=e;return t},getOptionLabel:e=>{var{text:t}=e;return t},defaultOptions:wprm_admin.latest_recipes,loadOptions:this.getOptions.bind(this),noOptionsMessage:()=>"Create a recipe on the Manage page",clearable:!1})}}function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){S(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var M=["wprm-spacer","wprm-text","wprm-link","wprm-image","wprm-call-to-action","wprm-icon","wprm-prevent-sleep"],C=[],k=Object.keys(wprm_admin_template.shortcodes).sort();for(var O of k)M.includes(O)||C.push(O);class j extends r.Component{constructor(e){super(e);var t=wprm_admin_template.preview_recipe;"demo"!==t&&0!==t.id||(t={id:"demo",text:"Use WPRM Demo Recipe"}),this.state={recipe:t,html:"",htmlMap:"",parsedHtml:"",shortcodes:[],editingBlock:!1,addingBlock:!1,hoveringBlock:!1,hasError:!1}}componentDidCatch(){this.setState({hasError:!0})}componentDidMount(){this.checkHtmlChange()}componentDidUpdate(e){"blocks"===this.props.mode&&this.props.mode!==e.mode?this.onChangeEditingBlock(!1):this.checkHtmlChange()}checkHtmlChange(){this.props.template.html!==this.state.html&&this.changeHtml()}changeHtml(){var e=this.parseHtml(this.props.template.html);this.setState({html:this.props.template.html,htmlMap:e.htmlMap,parsedHtml:e.html,shortcodes:e.shortcodes,hasError:!1})}parseHtml(e){for(var t,n=e,o=[],u=/\[([^\s\]]*)\s*([^\]]*?)\]/gim;null!==(t=u.exec(e));){var s={},c=t[2].match(/(\w+=\"[^\"]*?\"|\w+=\'[^\']*?\'|\w+=\w*)/gim);if(c)for(var p=0;p<c.length;p++){var d=c[p],f=d.substring(0,d.indexOf("=")),h=d.substring(d.indexOf("=")+1);'"'!==h[0]&&"'"!==h[0]||(h=h.substr(1,h.length-2)),s[f]=h}var m=t[1],v=a.Z.getShortcodeName(m),b=o.length;n=n.replace(t[0],'<wprm-replace-shortcode-with-block uid="'+b+'"></wprm-replace-shortcode-with-block>'),o.push({uid:b,id:m,name:v,attributes:s})}var y=r.createElement(l.Z,null);try{y=i()(n,{replace:function(e){if("wprm-replace-shortcode-with-block"==e.name){var t=!!this.state.recipe&&this.state.recipe.id;return r.createElement(g,{recipeId:t,shortcode:o[e.attribs.uid],shortcodes:o,onBlockPropertyChange:this.onBlockPropertyChange.bind(this),onBlockPropertiesChange:this.onBlockPropertiesChange.bind(this),editingBlock:this.state.editingBlock,onChangeEditingBlock:this.onChangeEditingBlock.bind(this),hoveringBlock:this.state.hoveringBlock,onChangeHoveringBlock:this.onChangeHoveringBlock.bind(this)})}}.bind(this)})}catch(x){}return{htmlMap:n,html:y,shortcodes:o}}unparseHtml(){var e=this.state.htmlMap;for(var t of this.state.shortcodes){var n=a.Z.getFullShortcode(t);e=e.replace('<wprm-replace-shortcode-with-block uid="'+t.uid+'"></wprm-replace-shortcode-with-block>',n)}return e}onBlockPropertyChange(e,t,n){var r={};r[t]=n,this.onBlockPropertiesChange(e,r)}onBlockPropertiesChange(e,t){var n=this.state;n.shortcodes[e].attributes=I(I({},n.shortcodes[e].attributes),t),this.setState(n,(()=>{var e=this.unparseHtml();this.props.onChangeHTML(e)}))}onChangeEditingBlock(e){e!==this.state.editingBlock&&this.setState({editingBlock:e,hoveringBlock:!1},this.changeHtml)}onChangeHoveringBlock(e){e!==this.state.hoveringBlock&&this.setState({hoveringBlock:e},this.changeHtml)}onChangeAddingBlock(e){e!==this.state.addingBlock&&this.setState({addingBlock:e})}onAddBlockAfter(e){var t=this.state.htmlMap,n="["+this.state.addingBlock+"]",r='<wprm-replace-shortcode-with-block uid="'+e+'"></wprm-replace-shortcode-with-block>';(t=t.replace(r,r+"\n"+n))!==this.state.htmlMap&&this.setState({addingBlock:!1,hoveringBlock:!1,htmlMap:t},(()=>{var t=this.unparseHtml();this.props.onChangeHTML(t),this.props.onChangeMode("blocks"),this.setState({addingBlock:!1,hoveringBlock:!1},(()=>{this.onChangeEditingBlock(e+1)}))}))}onRemoveBlock(e){var t=this.state.htmlMap;(t=t.replace('<wprm-replace-shortcode-with-block uid="'+e+'"></wprm-replace-shortcode-with-block>',""))!==this.state.htmlMap&&this.setState({htmlMap:t},(()=>{var e=this.unparseHtml();this.props.onChangeHTML(e)}))}render(){var e=this.state.hasError?r.createElement(l.Z,null):this.state.parsedHtml;return"onboarding"===this.props.mode?r.createElement(r.Fragment,null,r.createElement("style",null,a.Z.parseCSS(this.props.template)),"recipe"===this.props.template.type&&r.createElement("div",{className:"wprm-recipe wprm-recipe-template-".concat(this.props.template.slug)},e),"snippet"===this.props.template.type&&r.createElement("div",{className:"wprm-recipe wprm-recipe-snippet wprm-recipe-template-".concat(this.props.template.slug)},e)):r.createElement(r.Fragment,null,r.createElement("div",{className:"wprm-main-container"},r.createElement("h2",{className:"wprm-main-container-name"},"Preview"),r.createElement("div",{className:"wprm-main-container-preview"},r.createElement(w,{recipe:this.state.recipe,onRecipeChange:e=>{e!==this.state.recipe&&this.setState({recipe:e,html:""})}}),this.state.recipe&&this.state.recipe.id?r.createElement(r.Fragment,null,r.createElement("style",null,a.Z.parseCSS(this.props.template)),"recipe"===this.props.template.type&&r.createElement(r.Fragment,null,r.createElement("p",null,"This is an example paragraph that could be appearing before the recipe box, just to give some context to this preview. After this paragraph the recipe box will appear."),r.createElement("div",{className:"wprm-recipe wprm-recipe-template-".concat(this.props.template.slug)},e),r.createElement("p",null,"This is a paragraph appearing after the recipe box.")),"snippet"===this.props.template.type&&r.createElement(r.Fragment,null,r.createElement("p",null," "),r.createElement("div",{className:"wprm-recipe wprm-recipe-snippet wprm-recipe-template-".concat(this.props.template.slug)},e),r.createElement("p",null,"This would be the start of your post content, as the recipe snippets should automatically appear above. We'll be adding some example content below to give you a realistic preview."),r.createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In eleifend vitae nisl et pharetra. Sed euismod nisi convallis arcu lobortis commodo. Mauris nec arcu blandit, ultrices nisi sit amet, scelerisque tortor. Mauris vitae odio sed nisl posuere feugiat eu sit amet nunc. Vivamus varius rutrum tortor, ut viverra mi. Pellentesque sed justo eget lectus eleifend consectetur. Curabitur hendrerit purus velit, ut auctor orci fringilla sed. Phasellus commodo luctus nulla, et rutrum risus lobortis in. Aenean ullamcorper, magna congue viverra consequat, libero elit blandit magna, in ultricies quam risus et magna. Aenean viverra lorem leo, eget laoreet quam suscipit viverra. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Quisque sodales dolor mauris. Ut sed tempus erat. Nulla metus diam, luctus ac erat bibendum, placerat maximus nisi. Nullam hendrerit eleifend lobortis."),r.createElement("p",null,"Proin tempus hendrerit orci, tincidunt bibendum justo tincidunt vel. Morbi porttitor finibus magna non imperdiet. Fusce sollicitudin ex auctor interdum ultricies. Proin efficitur eleifend lacus, dapibus eleifend nibh tempus at. Pellentesque feugiat imperdiet turpis, sed consequat diam tincidunt a. Mauris mollis justo nec tellus aliquam, efficitur scelerisque nunc semper. Morbi rhoncus ultricies congue. Sed semper aliquet interdum."),r.createElement("p",null,"Nam ultricies, tellus nec vulputate varius, ligula ipsum viverra libero, lacinia ultrices sapien erat id mi. Duis vel dignissim lectus. Aliquam vehicula finibus tortor, cursus fringilla leo sodales ut. Vestibulum nec erat pretium, finibus odio et, porta lorem. Nunc in mi lobortis, aliquet sem sollicitudin, accumsan mi. Nam pretium nibh nunc, vel varius ex sagittis at. Vestibulum ac turpis vitae dui congue iaculis et non massa. Duis sed gravida nunc. Vivamus blandit dapibus orci, eu maximus velit faucibus eu."),r.createElement("div",{id:"wprm-recipe-container-".concat(this.state.recipe.id),className:"wprm-preview-snippet-recipe-box"},r.createElement("p",null,"This is an example recipe box."),r.createElement("p",{id:"wprm-recipe-video-container-".concat(this.state.recipe.id)},"It includes an example video.")),r.createElement("p",null,"Some more random content could be appearing after the recipe box. Morbi dignissim euismod vestibulum. Interdum et malesuada fames ac ante ipsum primis in faucibus. Vestibulum eu faucibus lectus. Donec sit amet mattis erat, at vulputate elit. Morbi ullamcorper, justo nec porttitor porta, dui lectus euismod est, convallis tempor lorem elit nec leo. Praesent hendrerit auctor risus sed mollis. Integer suscipit arcu at risus efficitur, et interdum arcu fringilla. Aliquam mollis accumsan blandit. Nam vestibulum urna id velit scelerisque, eu commodo urna imperdiet. Mauris sed risus libero. Integer lacinia nec lectus in posuere. Sed feugiat dolor eros, ac scelerisque tellus hendrerit sit amet. Sed nisl lacus, condimentum id orci eu, malesuada mattis sem. Quisque ipsum velit, viverra et magna a, laoreet porta lorem. Praesent porttitor lorem quis quam lobortis, lacinia tincidunt odio sodales.")),"roundup"===this.props.template.type&&r.createElement(r.Fragment,null,r.createElement("h2",null,"Our first recipe"),r.createElement("p",null,"This is the first example recipe in this recipe roundup. We can have as much information and images as we want here and then end with the roundup template for this particular recipe."),r.createElement("div",{className:"wprm-recipe wprm-recipe-roundup-item wprm-recipe-template-".concat(this.props.template.slug)},e),r.createElement("h2",null,"Our second recipe"),r.createElement("p",null,"A roundup would have multiple recipes, so here is another one with some more demo text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In eleifend vitae nisl et pharetra. Sed euismod nisi convallis arcu lobortis commodo."),r.createElement("p",null,"..."))):r.createElement("p",{style:{color:"darkred",textAlign:"center"}},"You have to select a recipe to preview the template. Use the dropdown above or set a default recipe to use for the preview on the settings page."))),!1===this.state.editingBlock||this.state.shortcodes.length<=this.state.editingBlock?r.createElement(d,null,this.state.shortcodes.map(((e,t)=>r.createElement("div",{key:t,className:e.uid===this.state.hoveringBlock?"wprm-template-menu-block wprm-template-menu-block-hover":"wprm-template-menu-block",onClick:()=>this.onChangeEditingBlock(e.uid),onMouseEnter:()=>this.onChangeHoveringBlock(e.uid),onMouseLeave:()=>this.onChangeHoveringBlock(!1)},e.name))),!this.state.shortcodes.length&&r.createElement("p",null,"There are no adjustable blocks.")):null,r.createElement(b,null,this.state.addingBlock?r.createElement(r.Fragment,null,r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.onChangeAddingBlock(!1)}},"Cancel"),r.createElement("p",null,'Add "',a.Z.getShortcodeName(this.state.addingBlock),'" after:'),this.state.shortcodes.map(((e,t)=>r.createElement("div",{key:t,className:e.uid===this.state.hoveringBlock?"wprm-template-menu-block wprm-template-menu-block-hover":"wprm-template-menu-block",onClick:()=>this.onAddBlockAfter(e.uid),onMouseEnter:()=>this.onChangeHoveringBlock(e.uid),onMouseLeave:()=>this.onChangeHoveringBlock(!1)},e.name))),!this.state.shortcodes.length&&r.createElement("p",null,"There are no blocks in the Template.")):r.createElement(r.Fragment,null,r.createElement("p",null,"Select block to add:"),r.createElement("div",{className:"wprm-template-menu-add-block-group"},"General Blocks"),M.map(((e,t)=>r.createElement("div",{key:t,className:"wprm-template-menu-block",onClick:()=>this.onChangeAddingBlock(e)},a.Z.getShortcodeName(e)))),r.createElement("div",{className:"wprm-template-menu-add-block-group"},"Recipe Blocks"),C.map(((e,t)=>r.createElement("div",{key:t,className:"wprm-template-menu-block",onClick:()=>this.onChangeAddingBlock(e)},a.Z.getShortcodeName(e)))))),r.createElement(y,null,this.state.shortcodes.map(((e,t)=>r.createElement("div",{key:t,className:e.uid===this.state.hoveringBlock?"wprm-template-menu-block wprm-template-menu-block-hover":"wprm-template-menu-block",onClick:()=>{confirm('Are you sure you want to delete the "'+e.name+'" block?')&&this.onRemoveBlock(e.uid)},onMouseEnter:()=>this.onChangeHoveringBlock(e.uid),onMouseLeave:()=>this.onChangeHoveringBlock(!1)},e.name))),!this.state.shortcodes.length&&r.createElement("p",null,"There are no blocks to remove.")))}}},42458:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(89526),o=n(62834),i=n(57573),a=n(29790),l=n(8612);class u extends r.Component{constructor(e){super(e),this.state={displayColorPicker:!1}}handleClick(){this.setState({displayColorPicker:!this.state.displayColorPicker})}handleClose(){this.setState({displayColorPicker:!1})}handleChange(e){this.props.onValueChange(e.hex)}render(){var e=(0,a.default)({default:{color:{width:"36px",height:"14px",borderRadius:"2px",background:"".concat(this.props.value)},swatch:{padding:"5px",background:"#fff",borderRadius:"1px",boxShadow:"0 0 0 1px rgba(0,0,0,.1)",display:"inline-block",cursor:"pointer"},popover:{position:"absolute",zIndex:"2",right:"0",bottom:"30px"},cover:{position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}}});return r.createElement("div",{className:"wprm-template-property-input"},r.createElement("div",{style:e.swatch,onClick:this.handleClick.bind(this)},r.createElement("div",{style:e.color})),this.state.displayColorPicker?r.createElement("div",{style:e.popover},r.createElement("div",{style:e.cover,onClick:this.handleClose.bind(this)}),r.createElement(l.xS,{color:this.props.value,onChange:this.handleChange.bind(this),disableAlpha:!0})):null)}}var s=n(844),c=e=>{var t=[];for(var n in e.property.options)t.push({value:n,label:e.property.options[n]});return r.createElement(s.ZP,{className:"wprm-template-property-input",menuPlacement:"top",value:t.filter((t=>{var{value:n}=t;return n===e.value})),onChange:t=>e.onValueChange(t.value),options:t,clearable:!1})};n(19985);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=e=>{var t=[{label:"General",options:[{value:"custom",label:"Set custom font"},{value:"inherit",label:"Inherit from parent"},{value:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',label:"System Font"}]},{label:"Default Serif Fonts",options:[{value:"Georgia, serif",label:"Georgia"},{value:'"Palatino Linotype", "Book Antiqua", Palatino, serif',label:"Palatino"},{value:'"Times New Roman", Times, serif',label:"Times New Roman"}]},{label:"Default Sans-Serif Fonts",options:[{value:"Arial, Helvetica, sans-serif",label:"Arial"},{value:'"Arial Black", Gadget, sans-serif',label:"Arial Black"},{value:'"Comic Sans MS", cursive, sans-serif',label:"Comic Sans MS"},{value:"Helvetica, sans-serif",label:"Helvetica"},{value:"Impact, Charcoal, sans-serif",label:"Impact"},{value:'"Lucida Sans Unicode", "Lucida Grande", sans-serif',label:"Lucida"},{value:"Tahoma, Geneva, sans-serif",label:"Tahoma"},{value:'"Trebuchet MS", Helvetica, sans-serif',label:"Trebuchet MS"},{value:"Verdana, Geneva, sans-serif",label:"Verdana"}]},{label:"Default Monospace Fonts",options:[{value:'"Courier New", Courier, monospace',label:"Courier New"},{value:'"Lucida Console", Monaco, monospace',label:"Lucida Console"}]}],n=t.reduce(((e,t)=>e.concat(t.options)),[]),o=n.map((e=>e.value)),i=!e.value||!o.includes(e.value),a=i?"custom":e.value,l={option:(e,t)=>{var{data:n,isDisabled:r,isFocused:o,isSelected:i}=t,a="custom"===n.value?"inherit":n.value;return d(d({},e),{},{fontFamily:a})}};return r.createElement(r.Fragment,null,r.createElement(s.ZP,{className:"wprm-template-property-input",menuPlacement:"top",value:n.filter((e=>{var{value:t}=e;return t===a})),onChange:t=>{var n="custom"===t.value?"":t.value;return e.onValueChange(n)},options:t,styles:l,clearable:!1}),i&&r.createElement("input",{className:"wprm-template-property-input",type:"text",value:e.value,onChange:t=>e.onValueChange(t.target.value)}))},m=(n(55281),n(49092));class v extends r.Component{constructor(e){super(e),this.state={selectingIcon:!1}}render(){var e=wprm_admin_template.icons.hasOwnProperty(this.props.value)?wprm_admin_template.icons[this.props.value].url:this.props.value;return r.createElement(r.Fragment,null,this.state.selectingIcon?r.createElement("div",{className:"wprm-template-property-icon-select-container"},r.createElement("a",{href:"#",onClick:e=>(e.preventDefault(),this.setState({selectingIcon:!1}),this.props.onValueChange(""))},"Clear icon")," | ",r.createElement("a",{href:"#",onClick:e=>{e.preventDefault();var t=prompt("Set a custom URL for the icon");if(t)return this.setState({selectingIcon:!1}),this.props.onValueChange(t)}},"Set custom URL")," | Select:",r.createElement("div",{className:"wprm-template-property-icon-select-container-icons"},Object.keys(wprm_admin_template.icons).sort().map(((e,t)=>{var n=wprm_admin_template.icons[e];return r.createElement("span",{href:"#",onClick:()=>{if(this.setState({selectingIcon:!1}),n.id!==this.props.value)return this.props.onValueChange(n.id)},key:t},r.createElement(m.Z,{src:n.url,className:n.id===this.props.value?"wprm-template-property-icon-select wprm-template-property-icon-selected":"wprm-template-property-icon-select"}))})))):r.createElement("span",{className:"wprm-template-property-icon-selected-container"},e&&r.createElement(m.Z,{src:e,className:"wprm-template-property-icon-select"}),r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.setState({selectingIcon:!0})}},e?"Change...":"Select...")))}}var g=n(5308),b=e=>{var t=0<parseInt(e.value);return r.createElement("a",{href:"#",onClick:t=>{t.preventDefault(),g.Z.selectImage((t=>{e.onValueChange(""+t.id)}))}},t?"Change...":"Select...")},y=(n(31807),n(54883),n(68995),Array.isArray(wprm_admin_template.thumbnail_sizes)?wprm_admin_template.thumbnail_sizes:Object.values(wprm_admin_template.thumbnail_sizes));class x extends r.Component{constructor(e){super(e),this.state={width:"",height:""}}componentDidMount(){this.checkSize()}componentDidUpdate(){this.checkSize()}checkSize(){var e=this.props.value;if(""!==e){var t=e.indexOf("x"),n=t>0?parseInt(e.substr(0,t)):0,r=t>0?parseInt(e.substr(t+1)):0;r=0<r?r:"",(n=0<n?n:"")===this.state.width&&r===this.state.height||this.setState({width:n,height:r})}}changeSize(e,t){if("width"===e||"height"===e){var n=this.state;n[e]=parseInt(t),this.setState(n,(()=>{(0<this.state.width||0<this.state.height)&&this.props.onValueChange("".concat(this.state.width,"x").concat(this.state.height))}))}}render(){var e=[];for(var t of y)e.push({value:t,label:t});return r.createElement(r.Fragment,null,r.createElement("label",null,"Select existing thumbnail size:"),r.createElement(s.ZP,{className:"wprm-template-property-input",menuPlacement:"top",value:y.includes(this.props.value)?e.filter((e=>{var{value:t}=e;return t===this.props.value})):"",onChange:e=>e?this.props.onValueChange(e.value):this.props.onValueChange(""),options:e,clearable:!0}),r.createElement("label",null,"...or set a specific width and height:"),r.createElement("div",{className:"wprm-template-property-input-width-height"},r.createElement("input",{className:"wprm-template-property-input",type:"number",value:this.state.width,onChange:e=>this.changeSize("width",e.target.value)})," x ",r.createElement("input",{className:"wprm-template-property-input",type:"number",value:this.state.height,onChange:e=>this.changeSize("height",e.target.value)})))}}n(22321);var w=e=>{var t=e.property.hasOwnProperty("suffix")?e.property.suffix:"",n=t?e.value.replace(t,""):e.value;return r.createElement(r.Fragment,null,r.createElement("input",{className:"wprm-template-property-input",type:"number",value:n,onChange:n=>{var r="".concat(n.target.value).concat(t);return e.onValueChange(r)}}),t&&r.createElement("span",{className:"wprm-template-property-number-suffix"}," ",t))};n(75668);class E extends r.Component{constructor(e){super(e),this.state={number:"",unit:""}}changeNumber(e){e!==this.state.number&&this.props.onValueChange("".concat(e).concat(this.state.unit))}changeUnit(e){e!==this.state.unit&&this.props.onValueChange("".concat(this.state.number).concat(e))}componentDidMount(){this.checkNumber()}componentDidUpdate(){this.checkNumber()}checkNumber(){var e=this.props.value.match(/([+-]?\d*\.?\d*)\s*([^;]*)/),t=e?e[1]:"",n=e?e[2]:"";t===this.state.number&&n===this.state.unit||this.setState({number:t,unit:n})}render(){var e=["px","em"];return this.state.unit&&!e.includes(this.state.unit)&&e.push(this.state.unit),r.createElement(r.Fragment,null,r.createElement("input",{className:"wprm-template-property-input",type:"number",step:"px"===this.state.unit?"1":"0.1",value:this.state.number,onChange:e=>this.changeNumber(e.target.value)}),e.map(((e,t)=>r.createElement("span",{className:e===this.state.unit?"wprm-template-property-value-size-unit wprm-template-property-value-size-unit-selected":"wprm-template-property-value-size-unit",onClick:()=>this.changeUnit(e),key:t},e))))}}var I=e=>r.createElement("input",{className:"wprm-template-property-input",type:"text",value:e.value,onChange:t=>e.onValueChange(t.target.value)}),S=n(67127),M={color:u,align:c,border:c,dropdown:c,float:c,font:h,font_size:E,icon:v,image:b,image_size:x,percentage:w,number:w,size:E,text:I,toggle:e=>r.createElement(S.Z,{className:"wprm-template-property-input",checked:"1"===e.value,onChange:t=>{var n=t.target.checked?"1":"0";return e.onValueChange(n)}})},C=e=>{var t=!!M.hasOwnProperty(e.property.type)&&M[e.property.type];if(!t)return null;if(!i.Z.dependencyMet(e.property,e.properties))return null;var n=null;return e.property.hasOwnProperty("help")&&(n=r.createElement(o.Z,{type:"question",title:e.property.help,className:"wprm-admin-icon-help"})),r.createElement("div",{className:"wprm-template-property"},r.createElement("div",{className:"wprm-template-property-label"},e.property.name," ",n),r.createElement("div",{className:"wprm-template-property-value wprm-template-property-value-".concat(e.property.type)},r.createElement(t,{property:e.property,value:e.property.value,onValueChange:t=>{e.onPropertyChange(e.property.id,t)}})))}},99237:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var r=n(46087),o=wprm_admin.endpoints.analytics,i={delete:e=>r.Z.call("".concat(o,"/").concat(e),"DELETE")};function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=wprm_admin.endpoints.custom_taxonomies,s={save(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t),o=e?"PUT":"POST";return r.Z.call(u,o,n)}},c=wprm_admin.endpoints.dashboard,p={getAnalytics:()=>r.Z.call("".concat(c,"/analytics"))},d=wprm_admin.endpoints.notices,f={dismissNotice(e){var t={id:e};return r.Z.call(d,"DELETE",t)}},h=wprm_admin.endpoints.modal,m={parseIngredients(e){var t={ingredients:e};return r.Z.call("".concat(h,"/ingredient/parse"),"POST",t)}},v=(n(35054),wprm_admin.endpoints.manage),g=wprm_admin.endpoints.rating,b=wprm_admin.endpoints.taxonomy,y=!1,x=!1,w={getData(e){return y?(x=e,new Promise((e=>e(!1)))):this.getDataDebounced(e)},getDataDebounced(e){return y=!0,r.Z.call("".concat(v,"/").concat(e.route),"POST",e).then((e=>{if(x){var t=x;return x=!1,this.getDataDebounced(t)}return y=!1,e}))},deleteUserRatings:e=>r.Z.call("".concat(g,"/recipe/").concat(e),"DELETE"),getTerm:(e,t)=>r.Z.call("".concat(b).concat(e,"/").concat(t)),createTerm(e,t){var n={name:t};return r.Z.call("".concat(b).concat(e),"POST",n)},deleteTerm:(e,t)=>r.Z.call("".concat(b).concat(e,"/").concat(t,"?force=true"),"DELETE"),renameTerm(e,t,n){var o={name:n};return r.Z.call("".concat(b).concat(e,"/").concat(t),"POST",o)},changeTermSlug(e,t,n){var o={slug:n};return r.Z.call("".concat(b).concat(e,"/").concat(t),"POST",o)},renameTermLabel(e,t,n){var o={type:e,id:t,label:n};return r.Z.call("".concat(v,"/taxonomy/label"),"POST",o)},mergeTerm(e,t,n){var o={type:e,oldId:t,newId:n};return r.Z.call("".concat(v,"/taxonomy/merge"),"POST",o)},updateTaxonomyMeta(e,t,n){var o={};return o[e]=n,r.Z.call("".concat(b).concat(e,"/").concat(t),"POST",o)},bulkEdit(e,t,n,o){var i={type:t,ids:n,action:o};return r.Z.call("".concat(v,"/").concat(e,"/bulk"),"POST",i)}},E=wprm_admin.endpoints.modal,I=!1,S=!1,M={getSuggestions(e){return I?(S=e,new Promise((e=>e(!1)))):this.getSuggestionsDebounced(e)},getSuggestionsDebounced(e){return I=!0,r.Z.call("".concat(E,"/suggest"),"POST",e).then((e=>{if(S){var t=S;return S=!1,this.getSuggestionsDebounced(t)}return I=!1,e}))}},C=wprm_admin.endpoints.rating,k={update(e){var t={rating:e};return r.Z.call("".concat(C),"POST",t)},delete:e=>r.Z.call("".concat(C,"/").concat(e),"DELETE")},O=wprm_admin.endpoints.recipe,j=wprm_admin.endpoints.manage,P={get:e=>r.Z.call("".concat(O,"/").concat(e)),save(e){var t={recipe:e},n=O,o="POST",i=!!e.id&&parseInt(e.id);return i&&(n+="/".concat(i),o="PUT"),r.Z.call(n,o,t)},updateStatus(e,t){var n={status:t};return r.Z.call("".concat(O,"/").concat(e),"PUT",n)},delete(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n="".concat(O,"/").concat(e);return t&&(n+="?force=true"),r.Z.call(n,"DELETE")},deleteRevision:e=>r.Z.call("".concat(j,"/revision/").concat(e),"DELETE")},T=wprm_admin.endpoints.setting,L={save(e){var t={settings:e};return r.Z.call(T,"POST",t)}},D=wprm_admin.endpoints.template,A=[],_={},N=null,B={previewShortcode(e,t,n){return _[e]=t,clearTimeout(N),N=setTimeout((()=>{this.previewShortcodes(n)}),500),new Promise((e=>A.push(e)))},previewShortcodes(e){var t=A,n=_;A=[],_={};var r={recipeId:e,shortcodes:n};fetch("".concat(D,"/preview"),{method:"POST",headers:{"X-WP-Nonce":wprm_admin.api_nonce,Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(r)}).then((e=>e.json().then((n=>{var r=e.ok?n.preview:{};t.forEach((e=>e(r)))}))))},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 r.Z.call(D,"POST",t)},delete(e){var t={slug:e};return r.Z.call(D,"DELETE",t)}},R=wprm_admin.endpoints.utilities,H={saveImage(e){var t={url:e};return r.Z.call("".concat(R,"/save_image"),"POST",t)}},{hooks:F}=WPRecipeMaker["wp-recipe-maker/dist/shared"],Z=F.applyFilters("api",{analytics:i,customTaxonomy:s,dashboard:p,general:f,import:m,manage:w,modal:M,rating:k,recipe:P,settings:L,template:B,utilities:H})},46087:function(e,t,n){"use strict";n(31807),n(35054),n(22321);t.Z={call(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=wprm_admin.api_nonce;"object"==typeof window.wpApiSettings&&window.wpApiSettings.nonce&&(r=window.wpApiSettings.nonce);var o={method:t,headers:{"X-WP-Nonce":r,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||(o.method="POST",o.headers["X-HTTP-Method-Override"]=t),n&&(o.body=JSON.stringify(n));var i=0;return e=e.replace(/\?/g,(function(e){return 2<=++i?"&":e})),fetch(e,o).then((function(t){if(t.ok)return t.json();console.log(e,o),console.log(t);var n="Something went wrong. Using a firewall like Cloudflare or Sucuri? Try whitelisting your IP. If that doesn't work, please contact support@bootstrapped.ventures with the following details:",r="".concat(t.url," ").concat(t.redirected?"(redirected)":"","- ").concat(t.status," - ").concat(t.statusText);try{t.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."):alert("".concat(n,"\r\n\r\n").concat(r,"\r\n\r\n").concat(e))}))}catch(i){console.log(i),alert("".concat(n,"\r\n\r\n").concat(r,"\r\n\r\n").concat(i))}return!1}))}}},62834:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(89526),o=n(49092),i=n(95075),a={adjustable:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyLjUiIHkxPSIxMi41IiB4Mj0iMTUuNSIgeTI9IjEyLjUiPjwvbGluZT4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjAuNSIgeTE9IjMuNSIgeDI9IjMuNSIgeTI9IjMuNSI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3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?"wprm-admin-icon ".concat(e.className):"wprm-admin-icon",u=!!e.hasOwnProperty("hidden")&&e.hidden;return u&&(n="",l+=" wprm-admin-icon-hidden"),r.createElement(i.Z,{content:n},r.createElement("span",{className:l,onClick:u?()=>{}:e.onClick},r.createElement(o.Z,{src:t})))}},34133:function(e,t,n){"use strict";var r=n(89526);t.Z=e=>r.createElement("div",{className:"wprm-admin-loader"})},95075:function(e,t,n){"use strict";var r=n(89526),o=n(20877);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.Z=e=>{if(!e.content)return e.children;var t=e.hasOwnProperty("style")?e.style:{};return r.createElement(o.Tooltip,{html:r.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,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{S:function(){return l}});var a={};function l(e){return a.hasOwnProperty(e)?a[e]:e}window.hasOwnProperty("wprm_public")&&wprm_public.hasOwnProperty("translations")&&(a=o(o({},a),wprm_public.translations)),window.hasOwnProperty("wprm_admin")&&wprm_admin.hasOwnProperty("translations")&&(a=o(o({},a),wprm_admin.translations))},71236:function(e,t,n){"use strict";var r=n(59833),o=n(24697),i="/*|*/";function a(e){e&&l.current.insert(e+"}")}var l={current:null},u=function(e,t,n,r,o,u,s,c,p,d){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return l.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===c)return t+i;break;case 3:switch(c){case 102:case 112:return l.current.insert(n[0]+t),"";default:return t+(0===d?i:"")}case-2:t.split("/*|*/}").forEach(a)}};t.Z=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var i=new o.Z(t);var a,s={};a=e.container||document.head;var c,p=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(p,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){s[e]=!0})),e.parentNode!==a&&a.appendChild(e)})),i.use(e.stylisPlugins)(u),c=function(e,t,n,r){var o=t.name;l.current=n,i(e,t.styles),r&&(d.inserted[o]=!0)};var d={key:n,sheet:new r.m({key:n,container:a,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:s,registered:{},insert:c};return d}},12821:function(e,t,n){"use strict";n.d(t,{nq:function(){return p},tZ:function(){return g},F4:function(){return b},ms:function(){return w}});var r=n(89526),o=n(71236),i=n(56002),a=n(26794),l=n(59833),u=n(72144);var s=(0,r.createContext)((0,o.Z)()),c=(0,r.createContext)({}),p=s.Provider,d=function(e){return(0,r.forwardRef)((function(t,n){return(0,r.createElement)(s.Consumer,null,(function(r){return e(t,r,n)}))}))},f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",h=Object.prototype.hasOwnProperty,m=function(e,t,n,o){var l=t[f],u=[],s="",c=null===n?t.css:t.css(n);"string"==typeof c&&void 0!==e.registered[c]&&(c=e.registered[c]),u.push(c),void 0!==t.className&&(s=(0,i.f)(e.registered,u,t.className));var p=(0,a.O)(u);(0,i.M)(e,p,"string"==typeof l);s+=e.key+"-"+p.name;var d={};for(var m in t)h.call(t,m)&&"css"!==m&&m!==f&&(d[m]=t[m]);return d.ref=o,d.className=s,(0,r.createElement)(l,d)},v=d((function(e,t,n){return"function"==typeof e.css?(0,r.createElement)(c.Consumer,null,(function(r){return m(t,e,r,n)})):m(t,e,null,n)}));var g=function(e,t){var n=arguments;if(null==t||null==t.css)return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=v;var a={};for(var l in t)h.call(t,l)&&(a[l]=t[l]);a[f]=e,i[1]=a;for(var u=2;u<o;u++)i[u]=n[u];return r.createElement.apply(null,i)},b=(r.Component,function(){var e=u.Z.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}),y=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var l in a="",i)i[l]&&l&&(a&&(a+=" "),a+=l);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};function x(e,t,n){var r=[],o=(0,i.f)(e,r,n);return r.length<2?n:o+t(r)}var w=d((function(e,t){return(0,r.createElement)(c.Consumer,null,(function(n){var r=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=(0,a.O)(n,t.registered);return(0,i.M)(t,o,!1),t.key+"-"+o.name},o={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return x(t.registered,r,y(n))},theme:n},l=e.children(o);return!0,l}))}))},72144:function(e,t,n){"use strict";var r=n(26794);t.Z=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.O)(t)}},95862:function(e,t){"use strict";t.Z=function(e){for(var t,n=e.length,r=n^n,o=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++o;switch(n){case 3:r^=(255&e.charCodeAt(o+2))<<16;case 2:r^=(255&e.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),((r^=r>>>15)>>>0).toString(36)}},93059:function(e,t){"use strict";t.Z=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}},26794:function(e,t,n){"use strict";n.d(t,{O:function(){return f}});var r=n(95862),o=n(8560),i=n(93059),a=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=(0,i.Z)((function(e){return e.replace(a,"-$&").toLowerCase()})),s=function(e,t){if(null==t||"boolean"==typeof t)return"";switch(e){case"animation":case"animationName":"string"==typeof t&&(t=t.replace(l,(function(e,t,n){return p={name:t,styles:n,next:p},t})))}return 1!==o.Z[e]&&45!==e.charCodeAt(1)&&"number"==typeof t&&0!==t?t+"px":t};function c(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)p={name:o.name,styles:o.styles,next:p},o=o.next;return n.styles}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=c(e,t,n[o],!1);else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":r+=u(i)+":"+s(i,a)+";";else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]])r+=i+"{"+c(e,t,a,!1)+"}";else for(var l=0;l<a.length;l++)r+=u(i)+":"+s(i,a[l])+";"}return r}(e,t,n);case"function":if(void 0!==e){var i=p,a=n(e);return p=i,c(e,t,a,r)}default:if(null==t)return n;var l=t[n];return void 0===l||r?n:l}}var p,d=/label:\s*([^\s;\n{]+)\s*;/g;var f=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,i="";p=void 0;var a=e[0];null==a||void 0===a.raw?(o=!1,i+=c(n,t,a,!1)):i+=a[0];for(var l=1;l<e.length;l++)i+=c(n,t,e[l],46===i.charCodeAt(i.length-1)),o&&(i+=a[l]);d.lastIndex=0;for(var u,s="";null!==(u=d.exec(i));)s+="-"+u[1];return{name:(0,r.Z)(i)+s,styles:i,next:p}}},59833:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});var r=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var i=105===e.charCodeAt(1)&&64===e.charCodeAt(0);o.insertRule(e,i?0:o.cssRules.length)}catch(a){0}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},24697:function(e,t){"use strict";t.Z=function(e){function t(e,r,u,s,d){for(var f,h,m,v,x,E=0,I=0,S=0,M=0,C=0,L=0,A=m=f=0,N=0,B=0,R=0,H=0,F=u.length,Z=F-1,W="",z="",G="",U="";N<F;){if(h=u.charCodeAt(N),N===Z&&0!==I+M+S+E&&(0!==I&&(h=47===I?10:47),M=S=E=0,F++,Z++),0===I+M+S+E){if(N===Z&&(0<B&&(W=W.replace(p,"")),0<W.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:W+=u.charAt(N)}h=59}switch(h){case 123:for(f=(W=W.trim()).charCodeAt(0),m=1,H=++N;N<F;){switch(h=u.charCodeAt(N)){case 123:m++;break;case 125:m--;break;case 47:switch(h=u.charCodeAt(N+1)){case 42:case 47:e:{for(A=N+1;A<Z;++A)switch(u.charCodeAt(A)){case 47:if(42===h&&42===u.charCodeAt(A-1)&&N+2!==A){N=A+1;break e}break;case 10:if(47===h){N=A+1;break e}}N=A}}break;case 91:h++;case 40:h++;case 34:case 39:for(;N++<Z&&u.charCodeAt(N)!==h;);}if(0===m)break;N++}switch(m=u.substring(H,N),0===f&&(f=(W=W.replace(c,"").trim()).charCodeAt(0)),f){case 64:switch(0<B&&(W=W.replace(p,"")),h=W.charCodeAt(1)){case 100:case 109:case 115:case 45:B=r;break;default:B=T}if(H=(m=t(r,B,m,h,d+1)).length,0<D&&(x=l(3,m,B=n(T,W,R),r,O,k,H,h,d,s),W=B.join(""),void 0!==x&&0===(H=(m=x.trim()).length)&&(h=0,m="")),0<H)switch(h){case 115:W=W.replace(w,a);case 100:case 109:case 45:m=W+"{"+m+"}";break;case 107:m=(W=W.replace(g,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=W+m,112===s&&(z+=m,m="")}else m="";break;default:m=t(r,n(r,W,R),m,s,d+1)}G+=m,m=R=B=A=f=0,W="",h=u.charCodeAt(++N);break;case 125:case 59:if(1<(H=(W=(0<B?W.replace(p,""):W).trim()).length))switch(0===A&&(f=W.charCodeAt(0),45===f||96<f&&123>f)&&(H=(W=W.replace(" ",":")).length),0<D&&void 0!==(x=l(1,W,r,e,O,k,z.length,s,d,s))&&0===(H=(W=x.trim()).length)&&(W="\0\0"),f=W.charCodeAt(0),h=W.charCodeAt(1),f){case 0:break;case 64:if(105===h||99===h){U+=W+u.charAt(N);break}default:58!==W.charCodeAt(H-1)&&(z+=o(W,f,h,W.charCodeAt(2)))}R=B=A=f=0,W="",h=u.charCodeAt(++N)}}switch(h){case 13:case 10:47===I?I=0:0===1+f&&107!==s&&0<W.length&&(B=1,W+="\0"),0<D*_&&l(0,W,r,e,O,k,z.length,s,d,s),k=1,O++;break;case 59:case 125:if(0===I+M+S+E){k++;break}default:switch(k++,v=u.charAt(N),h){case 9:case 32:if(0===M+E+I)switch(C){case 44:case 58:case 9:case 32:v="";break;default:32!==h&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===M+I+E&&(B=R=1,v="\f"+v);break;case 108:if(0===M+I+E+j&&0<A)switch(N-A){case 2:112===C&&58===u.charCodeAt(N-3)&&(j=C);case 8:111===L&&(j=L)}break;case 58:0===M+I+E&&(A=N);break;case 44:0===I+S+M+E&&(B=1,v+="\r");break;case 34:case 39:0===I&&(M=M===h?0:0===M?h:M);break;case 91:0===M+I+S&&E++;break;case 93:0===M+I+S&&E--;break;case 41:0===M+I+E&&S--;break;case 40:if(0===M+I+E){if(0===f)switch(2*C+3*L){case 533:break;default:f=1}S++}break;case 64:0===I+S+M+E+A+m&&(m=1);break;case 42:case 47:if(!(0<M+E+S))switch(I){case 0:switch(2*h+3*u.charCodeAt(N+1)){case 235:I=47;break;case 220:H=N,I=42}break;case 42:47===h&&42===C&&H+2!==N&&(33===u.charCodeAt(H+2)&&(z+=u.substring(H,N+1)),v="",I=0)}}0===I&&(W+=v)}L=C,C=h,N++}if(0<(H=z.length)){if(B=r,0<D&&(void 0!==(x=l(2,z,B,e,O,k,H,s,d,s))&&0===(z=x).length))return U+z+G;if(z=B.join(",")+"{"+z+"}",0!=P*j){switch(2!==P||i(z,2)||(j=0),j){case 111:z=z.replace(y,":-moz-$1")+z;break;case 112:z=z.replace(b,"::-webkit-input-$1")+z.replace(b,"::-moz-$1")+z.replace(b,":-ms-input-$1")+z}j=0}}return U+z+G}function n(e,t,n){var o=t.trim().split(m);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var l=0;for(e=0===a?"":e[0]+" ";l<i;++l)t[l]=r(e,t[l],n).trim();break;default:var u=l=0;for(t=[];l<i;++l)for(var s=0;s<a;++s)t[u++]=r(e[s]+" ",o[l],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(v,"$1"+e.trim());case 58:return e.trim()+t.replace(v,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(v,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",l=2*t+3*n+4*r;if(944===l){e=a.indexOf(":",9)+1;var u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===P||2===P&&i(u,1)?"-webkit-"+u+u:u}if(0===P||2===P&&!i(a,1))return a;switch(l){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(C,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return f.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=a.replace(x,"tb");break;case 232:u=a.replace(x,"tb-rl");break;case 220:u=a.replace(x,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,l=(u=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<l?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(I,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(I,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===M.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),A(2!==t?r:r.replace(S,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(E," or ($1)").substring(4):"("+t+")"}function l(e,t,n,r,o,i,a,l,u,c){for(var p,d=0,f=t;d<D;++d)switch(p=L[d].call(s,e,f,n,r,o,i,a,l,u,c)){case void 0:case!1:case!0:case null:break;default:f=p}if(f!==t)return f}function u(e){return void 0!==(e=e.prefix)&&(A=null,e?"function"!=typeof e?P=1:(P=2,A=e):P=0),u}function s(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<D){var o=l(-1,n,r,r,O,k,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var i=t(T,r,n,0,0);return 0<D&&(void 0!==(o=l(-2,i,r,r,O,k,i.length,0,0,0))&&(i=o)),"",j=0,k=O=1,i}var c=/^\0+/g,p=/[\0\r\f]/g,d=/: */g,f=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,v=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,y=/:(read-only)/g,x=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,I=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,M=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,k=1,O=1,j=0,P=1,T=[],L=[],D=0,A=null,_=0;return s.use=function e(t){switch(t){case void 0:case null:D=L.length=0;break;default:if("function"==typeof t)L[D++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else _=0|!!t}return e},s.set=u,void 0!==e&&u(e),s}},8560:function(e,t){"use strict";t.Z={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},56002:function(e,t,n){"use strict";n.d(t,{f:function(){return r},M:function(){return o}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert("."+r,o,e.sheet,!0);o=o.next}while(void 0!==o)}}},21112:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(89526),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,l=e.height,u=void 0===l?24:l,s=e.style,c=void 0===s?{}:s,p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:u},c)},p),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},47327:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(89526),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,l=e.height,u=void 0===l?24:l,s=e.style,c=void 0===s?{}:s,p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:u},c)},p),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},17449:function(e,t,n){"use strict";var r=n(99850),o=[],i=[],a=r.makeRequestCallFromTimer((function(){if(i.length)throw i.shift()}));function l(e){var t;(t=o.length?o.pop():new u).task=e,r(t)}function u(){this.task=null}e.exports=l,u.prototype.call=function(){try{this.task.call()}catch(e){l.onerror?l.onerror(e):(i.push(e),a())}finally{this.task=null,o[o.length]=this}}},99850:function(e,t,n){"use strict";function r(e){i.length||(o(),!0),i[i.length]=e}e.exports=r;var o,i=[],a=0;function l(){for(;a<i.length;){var e=a;if(a+=1,i[e].call(),a>1024){for(var t=0,n=i.length-a;t<n;t++)i[t]=i[t+a];i.length-=a,a=0}}i.length=0,a=0,!1}var u,s,c,p=void 0!==n.g?n.g:self,d=p.MutationObserver||p.WebKitMutationObserver;function f(e){return function(){var t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}"function"==typeof d?(u=1,s=new d(l),c=document.createTextNode(""),s.observe(c,{characterData:!0}),o=function(){u=-u,c.data=u}):o=f(l),r.requestFlush=o,r.makeRequestCallFromTimer=f},64403:function(e,t){var n;
|
2 |
/*!
|
3 |
Copyright (c) 2017 Jed Watson.
|
4 |
Licensed under the MIT License (MIT), see
|
dist/admin-manage.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
var WPRecipeMaker;(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-recipe-maker/dist/admin-manage"]=(self.webpackChunkWPRecipeMaker_name_=self.webpackChunkWPRecipeMaker_name_||[]).push([[624],{12946:function(e,t,r){"use strict";r.r(t);var n=r(73961),i=r(89526),a=r(565),o=(r(19985),r(75668),r(67838),r(59934));class l extends i.Component{render(){var{datatables:e}=this.props,t={};return Object.keys(e).map((r=>{var n=e[r].parent,i="recipe"===r?"/":"/".concat(r);n&&!t.hasOwnProperty(n)&&(t[n]={name:n,active:!1,link:i}),i===this.props.location.pathname&&(t[n].active=!0)})),i.createElement(i.Fragment,null,i.createElement("div",{className:"wprm-admin-manage-parent-menu"},Object.keys(t).map(((e,r)=>{var n=t[e];return i.createElement(a.OL,{to:n.link,className:"wprm-admin-manage-menu-item".concat(n.active?" wprm-admin-manage-menu-item-active":""),key:r,exact:!0},n.name)}))),i.createElement("div",{className:"wprm-admin-manage-child-menu"},Object.keys(e).map(((r,n)=>{var o=e[r],l=o.parent,s="recipe"===r?"/":"/".concat(r),c=!0;if(!o.hasOwnProperty("required")||wprm_admin.addons.hasOwnProperty(o.required)&&!0===wprm_admin.addons[o.required]||(c=!1),t.hasOwnProperty(l)&&t[l].active){var u=o.hasOwnProperty("title")?o.title:o.label.plural;return c||(u+="*"),i.createElement(a.OL,{to:s,className:"wprm-admin-manage-menu-item".concat(c?"":" wprm-admin-manage-menu-item-requirement"),activeClassName:"wprm-admin-manage-menu-item-active",key:n,exact:!0},u)}return null}))))}}var s=(0,o.EN)(l),c=r(71288),u=r(62834),p=r(52082);class d extends i.Component{render(){return wprm_admin_modal.notices&&wprm_admin_modal.notices.length?i.createElement("div",{className:"wprm-admin-manage-notices"},wprm_admin_modal.notices.map(((e,t)=>e.dismissed?null:i.createElement("div",{className:"wprm-admin-notice",key:t},i.createElement("div",{className:"wprm-admin-notice-content"},e.title?i.createElement("div",{className:"wprm-admin-notice-title"},e.title):null,i.createElement("div",{className:"wprm-admin-notice-text",dangerouslySetInnerHTML:{__html:e.text}})),i.createElement("div",{className:"wprm-admin-notice-dismiss"},i.createElement(u.Z,{title:(0,p.S)("Remove Notice"),type:"close",onClick:()=>{c.Z.general.dismissNotice(e.id),e.dismissed=!0,this.forceUpdate()}})))))):null}}r(54883),r(68995);var m=r(64403),f=r.n(m),g=r(79370),h=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};function v(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var b={get:function(e,t,r){if(!t)return e;var n=w(t),i=void 0;try{i=n.reduce((function(e,t){return e[t]}),e)}catch(a){}return void 0!==i?i:r},set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],r=arguments[2],n=w(t),i=void 0,a=e;for(;(i=n.shift())&&n.length;)a[i]||(a[i]={}),a=a[i];return a[i]=r,e},takeRight:function(e,t){var r=t>e.length?0:e.length-t;return e.slice(r)},last:function(e){return e[e.length-1]},orderBy:function(e,t,r,n){return e.sort((function(e,i){for(var a=0;a<t.length;a+=1){var o=t[a],l=!1===r[a]||"desc"===r[a],s=o(e,i);if(s)return l?-s:s}return r[0]?e[n]-i[n]:i[n]-e[n]}))},range:function(e){for(var t=[],r=0;r<e;r+=1)t.push(e);return t},remove:function(e,t){return e.filter((function(r,n){return!!t(r)&&(e.splice(n,1),!0)}))},clone:function(e){try{return JSON.parse(JSON.stringify(e,(function(e,t){return"function"==typeof t?t.toString():t})))}catch(t){return e}},getFirstDefined:function(){for(var e=0;e<arguments.length;e+=1)if(void 0!==(arguments.length<=e?void 0:arguments[e]))return arguments.length<=e?void 0:arguments[e]},sum:function(e){return e.reduce((function(e,t){return e+t}),0)},makeTemplateComponent:function(e,t){if(!t)throw new Error("No displayName found for template component:",e);var r=function(t){var r=t.children,n=t.className,a=v(t,["children","className"]);return i.createElement("div",h({className:f()(e,n)},a),r)};return r.displayName=t,r},groupBy:function(e,t){return e.reduce((function(e,r,n){var i="function"==typeof t?t(r,n):r[t];return e[i]=y(e[i])?e[i]:[],e[i].push(r),e}),{})},isArray:y,splitProps:function(e){var t=e.className,r=e.style,n=v(e,["className","style"]);return{className:t,style:r,rest:n||{}}},compactObject:function(e){var t={};e&&Object.keys(e).map((function(r){return Object.prototype.hasOwnProperty.call(e,r)&&void 0!==e[r]&&void 0!==e[r]&&(t[r]=e[r]),!0}));return t},isSortingDesc:function(e){return!("desc"!==e.sort&&!0!==e.desc&&!1!==e.asc)},normalizeComponent:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;if(g.isElement(e)||"string"==typeof e)return e;if(g.isValidElementType(e))return i.createElement(e,t);return r},asPx:function(e){return e=Number(e),Number.isNaN(e)?null:e+"px"}};function y(e){return Array.isArray(e)}function w(e){return I(e).join(".").replace(/\[/g,".").replace(/\]/g,"").split(".")}function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(y(e))for(var r=0;r<e.length;r+=1)I(e[r],t);else t.push(e);return t}var S=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}}();var E=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,l=e[Symbol.iterator]();!(n=(o=l.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(s){i=!0,a=s}finally{try{!n&&l.return&&l.return()}finally{if(i)throw a}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},x=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},D=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}}();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 M(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)}function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var N=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}}(),L=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};var j=function(e){return i.createElement("button",L({type:"button"},e,{className:"-btn"}),e.children)},k=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.getSafePage=r.getSafePage.bind(r),r.changePage=r.changePage.bind(r),r.applyPage=r.applyPage.bind(r),r.state={page:e.page},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),N(t,[{key:"componentDidUpdate",value:function(e,t){e.page!==this.props.page&&t.page!==this.state.page&&this.setState({page:this.props.page})}},{key:"getSafePage",value:function(e){return Number.isNaN(e)&&(e=this.props.page),Math.min(Math.max(e,0),this.props.pages-1)}},{key:"changePage",value:function(e){e=this.getSafePage(e),this.setState({page:e}),this.props.page!==e&&this.props.onPageChange(e)}},{key:"applyPage",value:function(e){e&&e.preventDefault();var t=this.state.page;this.changePage(""===t?this.props.page:t)}},{key:"getPageJumpProperties",value:function(){var e=this;return{onKeyPress:function(t){13!==t.which&&13!==t.keyCode||e.applyPage()},onBlur:this.applyPage,value:""===this.state.page?"":this.state.page+1,onChange:function(t){var r=t.target.value,n=r-1;if(""===r)return e.setState({page:r});e.setState({page:e.getSafePage(n)})},inputType:""===this.state.page?"text":"number",pageJumpText:this.props.pageJumpText}}},{key:"render",value:function(){var e=this,t=this.props,r=t.pages,n=t.page,a=t.showPageSizeOptions,o=t.pageSizeOptions,l=t.pageSize,s=t.showPageJump,c=t.canPrevious,u=t.canNext,p=t.onPageSizeChange,d=t.className,m=t.PreviousComponent,g=t.NextComponent,h=t.renderPageJump,v=t.renderCurrentPage,b=t.renderTotalPagesCount,y=t.renderPageSizeOptions;return i.createElement("div",{className:f()(d,"-pagination"),style:this.props.style},i.createElement("div",{className:"-previous"},i.createElement(m,{onClick:function(){c&&e.changePage(n-1)},disabled:!c},this.props.previousText)),i.createElement("div",{className:"-center"},i.createElement("span",{className:"-pageInfo"},this.props.pageText," ",s?h(this.getPageJumpProperties()):v(n)," ",this.props.ofText," ",b(r)),a&&y({pageSize:l,rowsSelectorText:this.props.rowsSelectorText,pageSizeOptions:o,onPageSizeChange:p,rowsText:this.props.rowsText})),i.createElement("div",{className:"-next"},i.createElement(g,{onClick:function(){u&&e.changePage(n+1)},disabled:!u},this.props.nextText)))}}]),t}(i.Component);k.defaultProps={PreviousComponent:j,NextComponent:j,renderPageJump:function(e){var t=e.onChange,r=e.value,n=e.onBlur,a=e.onKeyPress,o=e.inputType,l=e.pageJumpText;return i.createElement("div",{className:"-pageJump"},i.createElement("input",{"aria-label":l,type:o,onChange:t,value:r,onBlur:n,onKeyPress:a}))},renderCurrentPage:function(e){return i.createElement("span",{className:"-currentPage"},e+1)},renderTotalPagesCount:function(e){return i.createElement("span",{className:"-totalPages"},e||1)},renderPageSizeOptions:function(e){var t=e.pageSize,r=e.pageSizeOptions,n=e.rowsSelectorText,a=e.onPageSizeChange,o=e.rowsText;return i.createElement("span",{className:"select-wrap -pageSizeOptions"},i.createElement("select",{"aria-label":n,onChange:function(e){return a(Number(e.target.value))},value:t},r.map((function(e,t){return i.createElement("option",{key:t,value:e},e+" "+o)}))))}};var A=k,O=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};function R(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var Z=function(){return{}},H={data:[],resolveData:function(e){return e},loading:!1,showPagination:!0,showPaginationTop:!1,showPaginationBottom:!0,showPageSizeOptions:!0,pageSizeOptions:[5,10,20,25,50,100],defaultPage:0,defaultPageSize:20,showPageJump:!0,collapseOnSortingChange:!0,collapseOnPageChange:!0,collapseOnDataChange:!0,freezeWhenExpanded:!1,sortable:!0,multiSort:!0,resizable:!0,filterable:!1,defaultSortDesc:!1,defaultSorted:[],defaultFiltered:[],defaultResized:[],defaultExpanded:{},defaultFilterMethod:function(e,t,r){var n=e.pivotId||e.id;return void 0===t[n]||String(t[n]).startsWith(e.value)},defaultSortMethod:function(e,t,r){return t=null==t?"":t,(e="string"==typeof(e=null==e?"":e)?e.toLowerCase():e)>(t="string"==typeof t?t.toLowerCase():t)?1:e<t?-1:0},onPageChange:void 0,onPageSizeChange:void 0,onSortedChange:void 0,onFilteredChange:void 0,onResizedChange:void 0,onExpandedChange:void 0,pivotBy:void 0,pivotValKey:"_pivotVal",pivotIDKey:"_pivotID",subRowsKey:"_subRows",aggregatedKey:"_aggregated",nestingLevelKey:"_nestingLevel",originalKey:"_original",indexKey:"_index",groupedByPivotKey:"_groupedByPivot",onFetchData:function(){return null},className:"",style:{},getProps:Z,getTableProps:Z,getTheadGroupProps:Z,getTheadGroupTrProps:Z,getTheadGroupThProps:Z,getTheadProps:Z,getTheadTrProps:Z,getTheadThProps:Z,getTheadFilterProps:Z,getTheadFilterTrProps:Z,getTheadFilterThProps:Z,getTbodyProps:Z,getTrGroupProps:Z,getTrProps:Z,getTdProps:Z,getTfootProps:Z,getTfootTrProps:Z,getTfootTdProps:Z,getPaginationProps:Z,getLoadingProps:Z,getNoDataProps:Z,getResizerProps:Z,column:{Cell:void 0,Header:void 0,Footer:void 0,Aggregated:void 0,Pivot:void 0,PivotValue:void 0,Expander:void 0,Filter:void 0,Placeholder:void 0,sortable:void 0,resizable:void 0,filterable:void 0,show:!0,minWidth:100,minResizeWidth:11,className:"",style:{},getProps:Z,aggregate:void 0,headerClassName:"",headerStyle:{},getHeaderProps:Z,footerClassName:"",footerStyle:{},getFooterProps:Z,filterMethod:void 0,filterAll:!1,sortMethod:void 0},expanderDefaults:{sortable:!1,resizable:!1,filterable:!1,width:35},pivotDefaults:{},previousText:"Previous",nextText:"Next",loadingText:"Loading...",noDataText:"No rows found",pageText:"Page",ofText:"of",rowsText:"rows",pageJumpText:"jump to page",rowsSelectorText:"rows per page",TableComponent:function(e){var t=e.children,r=e.className,n=R(e,["children","className"]);return i.createElement("div",O({className:f()("rt-table",r),role:"grid"},n),t)},TheadComponent:b.makeTemplateComponent("rt-thead","Thead"),TbodyComponent:b.makeTemplateComponent("rt-tbody","Tbody"),TrGroupComponent:function(e){var t=e.children,r=e.className,n=R(e,["children","className"]);return i.createElement("div",O({className:f()("rt-tr-group",r),role:"rowgroup"},n),t)},TrComponent:function(e){var t=e.children,r=e.className,n=R(e,["children","className"]);return i.createElement("div",O({className:f()("rt-tr",r),role:"row"},n),t)},ThComponent:function(e){var t=e.toggleSort,r=e.className,n=e.children,a=R(e,["toggleSort","className","children"]);return i.createElement("div",O({className:f()("rt-th",r),onClick:function(e){return t&&t(e)},role:"columnheader",tabIndex:"-1"},a),n)},TdComponent:function(e){e.toggleSort;var t=e.className,r=e.children,n=R(e,["toggleSort","className","children"]);return i.createElement("div",O({className:f()("rt-td",t),role:"gridcell"},n),r)},TfootComponent:b.makeTemplateComponent("rt-tfoot","Tfoot"),FilterComponent:function(e){var t=e.filter,r=e.onChange,n=e.column;return i.createElement("input",{type:"text",style:{width:"100%"},placeholder:n.Placeholder,value:t?t.value:"",onChange:function(e){return r(e.target.value)}})},ExpanderComponent:function(e){var t=e.isExpanded;return i.createElement("div",{className:f()("rt-expander",t&&"-open")},"•")},PivotValueComponent:function(e){var t=e.subRows,r=e.value;return i.createElement("span",null,r," ",t&&"("+t.length+")")},AggregatedComponent:function(e){var t=e.subRows,r=e.column,n=t.filter((function(e){return void 0!==e[r.id]})).map((function(e,n){return i.createElement("span",{key:n},e[r.id],n<t.length-1?", ":"")}));return i.createElement("span",null,n)},PivotComponent:void 0,PaginationComponent:A,PreviousComponent:void 0,NextComponent:void 0,LoadingComponent:function(e){var t=e.className,r=e.loading,n=e.loadingText,a=R(e,["className","loading","loadingText"]);return i.createElement("div",O({className:f()("-loading",{"-active":r},t)},a),i.createElement("div",{className:"-loading-inner"},n))},NoDataComponent:b.makeTemplateComponent("rt-noData","NoData"),ResizerComponent:b.makeTemplateComponent("rt-resizer","Resizer"),PadRowComponent:function(){return i.createElement("span",null," ")}},z=r(2652),_=r.n(z),B={data:_().any,loading:_().bool,showPagination:_().bool,showPaginationTop:_().bool,showPaginationBottom:_().bool,showPageSizeOptions:_().bool,pageSizeOptions:_().array,defaultPageSize:_().number,showPageJump:_().bool,collapseOnSortingChange:_().bool,collapseOnPageChange:_().bool,collapseOnDataChange:_().bool,freezeWhenExpanded:_().bool,sortable:_().bool,resizable:_().bool,filterable:_().bool,defaultSortDesc:_().bool,defaultSorted:_().array,defaultFiltered:_().array,defaultResized:_().array,defaultExpanded:_().object,defaultFilterMethod:_().func,defaultSortMethod:_().func,onPageChange:_().func,onPageSizeChange:_().func,onSortedChange:_().func,onFilteredChange:_().func,onResizedChange:_().func,onExpandedChange:_().func,pivotBy:_().array,pivotValKey:_().string,pivotIDKey:_().string,subRowsKey:_().string,aggregatedKey:_().string,nestingLevelKey:_().string,originalKey:_().string,indexKey:_().string,groupedByPivotKey:_().string,onFetchData:_().func,className:_().string,style:_().object,getProps:_().func,getTableProps:_().func,getTheadGroupProps:_().func,getTheadGroupTrProps:_().func,getTheadGroupThProps:_().func,getTheadProps:_().func,getTheadTrProps:_().func,getTheadThProps:_().func,getTheadFilterProps:_().func,getTheadFilterTrProps:_().func,getTheadFilterThProps:_().func,getTbodyProps:_().func,getTrGroupProps:_().func,getTrProps:_().func,getTdProps:_().func,getTfootProps:_().func,getTfootTrProps:_().func,getTfootTdProps:_().func,getPaginationProps:_().func,getLoadingProps:_().func,getNoDataProps:_().func,getResizerProps:_().func,columns:_().arrayOf(_().shape({Cell:_().oneOfType([_().element,_().string,_().elementType]),Header:_().oneOfType([_().element,_().string,_().elementType]),Footer:_().oneOfType([_().element,_().string,_().elementType]),Aggregated:_().oneOfType([_().element,_().string,_().elementType]),Pivot:_().oneOfType([_().element,_().string,_().elementType]),PivotValue:_().oneOfType([_().element,_().string,_().elementType]),Expander:_().oneOfType([_().element,_().string,_().elementType]),Filter:_().oneOfType([_().element,_().elementType]),sortable:_().bool,resizable:_().bool,filterable:_().bool,show:_().bool,minWidth:_().number,minResizeWidth:_().number,className:_().string,style:_().object,getProps:_().func,aggregate:_().func,headerClassName:_().string,headerStyle:_().object,getHeaderProps:_().func,footerClassName:_().string,footerStyle:_().object,getFooterProps:_().func,filterMethod:_().func,filterAll:_().bool,sortMethod:_().func})),expanderDefaults:_().shape({sortable:_().bool,resizable:_().bool,filterable:_().bool,width:_().number}),pivotDefaults:_().object,previousText:_().node,nextText:_().node,loadingText:_().node,noDataText:_().node,pageText:_().node,ofText:_().node,rowsText:_().node,pageJumpText:_().node,rowsSelectorText:_().node,TableComponent:_().elementType,TheadComponent:_().elementType,TbodyComponent:_().elementType,TrGroupComponent:_().elementType,TrComponent:_().elementType,ThComponent:_().elementType,TdComponent:_().elementType,TfootComponent:_().elementType,FilterComponent:_().elementType,ExpanderComponent:_().elementType,PivotValueComponent:_().elementType,AggregatedComponent:_().elementType,PivotComponent:_().elementType,PaginationComponent:_().elementType,PreviousComponent:_().elementType,NextComponent:_().elementType,LoadingComponent:_().elementType,NoDataComponent:_().elementType,ResizerComponent:_().elementType,PadRowComponent:_().elementType},G=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,l=e[Symbol.iterator]();!(n=(o=l.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(s){i=!0,a=s}finally{try{!n&&l.return&&l.return()}finally{if(i)throw a}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},U=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(){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}}();var q=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.getResolvedState=r.getResolvedState.bind(r),r.getDataModel=r.getDataModel.bind(r),r.getSortedData=r.getSortedData.bind(r),r.fireFetchData=r.fireFetchData.bind(r),r.getPropOrState=r.getPropOrState.bind(r),r.getStateOrProp=r.getStateOrProp.bind(r),r.filterData=r.filterData.bind(r),r.sortData=r.sortData.bind(r),r.getMinRows=r.getMinRows.bind(r),r.onPageChange=r.onPageChange.bind(r),r.onPageSizeChange=r.onPageSizeChange.bind(r),r.sortColumn=r.sortColumn.bind(r),r.filterColumn=r.filterColumn.bind(r),r.resizeColumnStart=r.resizeColumnStart.bind(r),r.resizeColumnEnd=r.resizeColumnEnd.bind(r),r.resizeColumnMoving=r.resizeColumnMoving.bind(r),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),W(t,[{key:"render",value:function(){var e=this,t=this.getResolvedState(),r=t.children,n=t.className,a=t.style,o=t.getProps,l=t.getTableProps,s=t.getTheadGroupProps,c=t.getTheadGroupTrProps,u=t.getTheadGroupThProps,p=t.getTheadProps,d=t.getTheadTrProps,m=t.getTheadThProps,g=t.getTheadFilterProps,h=t.getTheadFilterTrProps,v=t.getTheadFilterThProps,y=t.getTbodyProps,w=t.getTrGroupProps,I=t.getTrProps,S=t.getTdProps,E=t.getTfootProps,x=t.getTfootTrProps,D=t.getTfootTdProps,T=t.getPaginationProps,M=t.getLoadingProps,P=t.getNoDataProps,C=t.getResizerProps,N=t.showPagination,L=t.showPaginationTop,j=t.showPaginationBottom,k=t.manual,A=t.loadingText,O=t.noDataText,R=t.sortable,Z=t.multiSort,z=t.resizable,_=t.filterable,B=t.pivotIDKey,W=t.pivotValKey,q=t.pivotBy,F=t.subRowsKey,V=t.aggregatedKey,J=t.originalKey,Y=t.indexKey,Q=t.groupedByPivotKey,X=t.loading,K=t.pageSize,$=t.page,ee=t.sorted,te=t.filtered,re=t.resized,ne=t.expanded,ie=t.pages,ae=t.onExpandedChange,oe=t.TableComponent,le=t.TheadComponent,se=t.TbodyComponent,ce=t.TrGroupComponent,ue=t.TrComponent,pe=t.ThComponent,de=t.TdComponent,me=t.TfootComponent,fe=t.PaginationComponent,ge=t.LoadingComponent,he=t.SubComponent,ve=t.NoDataComponent,be=t.ResizerComponent,ye=t.ExpanderComponent,we=t.PivotValueComponent,Ie=t.PivotComponent,Se=t.AggregatedComponent,Ee=t.FilterComponent,xe=t.PadRowComponent,De=t.resolvedData,Te=t.allVisibleColumns,Me=t.headerGroups,Pe=t.hasHeaderGroups,Ce=t.sortedData,Ne=t.currentlyResizing,Le=K*$,je=Le+K,ke=k?De:Ce.slice(Le,je),Ae=this.getMinRows(),Oe=b.range(Math.max(Ae-ke.length,0)),Re=Te.some((function(e){return e.Footer})),Ze=_||Te.some((function(e){return e.filterable})),He=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;return[t.map((function(t,i){var a=U({},t,{_viewIndex:n+=1}),o=r.concat([i]);if(a[F]&&b.get(ne,o)){var l=e(a[F],o,n),s=G(l,2);a[F]=s[0],n=s[1]}return a})),n]}(ke),ze=G(He,1);ke=ze[0];var _e=$>0,Be=$+1<ie,Ge=b.sum(Te.map((function(e){var t=re.find((function(t){return t.id===e.id}))||{};return b.getFirstDefined(t.value,e.width,e.minWidth)}))),Ue=-1,We=U({},t,{startRow:Le,endRow:je,pageRows:ke,minRows:Ae,padRows:Oe,hasColumnFooter:Re,canPrevious:_e,canNext:Be,rowMinWidth:Ge}),qe=b.splitProps(o(We,void 0,void 0,this)),Fe=b.splitProps(l(We,void 0,void 0,this)),Ve=b.splitProps(y(We,void 0,void 0,this)),Je=M(We,void 0,void 0,this),Ye=P(We,void 0,void 0,this),Qe=function(t,r){var n=function(e){return(re.find((function(t){return t.id===e.id}))||{}).value},a=b.sum(t.columns.map((function(e){return e.width||n(e)?0:e.minWidth}))),o=b.sum(t.columns.map((function(e){return b.getFirstDefined(n(e),e.width,e.minWidth)}))),l=b.sum(t.columns.map((function(e){return b.getFirstDefined(n(e),e.width,e.maxWidth)}))),s=b.splitProps(u(We,void 0,t,e)),c=b.splitProps(t.getHeaderProps(We,void 0,t,e)),p=[t.headerClassName,s.className,c.className],d=U({},t.headerStyle,s.style,c.style),m=U({},s.rest,c.rest),g={flex:a+" 0 auto",width:b.asPx(o),maxWidth:b.asPx(l)};return i.createElement(pe,U({key:r+"-"+t.id,className:f()(p),style:U({},d,g)},m),b.normalizeComponent(t.Header,{data:Ce,column:t}))},Xe=function(t,r){var n=re.find((function(e){return e.id===t.id}))||{},a=ee.find((function(e){return e.id===t.id})),o="function"==typeof t.show?t.show():t.show,l=b.getFirstDefined(n.value,t.width,t.minWidth),s=b.getFirstDefined(n.value,t.width,t.maxWidth),c=b.splitProps(m(We,void 0,t,e)),u=b.splitProps(t.getHeaderProps(We,void 0,t,e)),p=[t.headerClassName,c.className,u.className],d=U({},t.headerStyle,c.style,u.style),g=U({},c.rest,u.rest),h=b.getFirstDefined(t.resizable,z,!1),v=h?i.createElement(be,U({onMouseDown:function(r){return e.resizeColumnStart(r,t,!1)},onTouchStart:function(r){return e.resizeColumnStart(r,t,!0)}},C("finalState",void 0,t,e))):null,y=b.getFirstDefined(t.sortable,R,!1);return i.createElement(pe,U({key:r+"-"+t.id,className:f()(p,h&&"rt-resizable-header",a?a.desc?"-sort-desc":"-sort-asc":"",y&&"-cursor-pointer",!o&&"-hidden",q&&q.slice(0,-1).includes(t.id)&&"rt-header-pivot"),style:U({},d,{flex:l+" 0 auto",width:b.asPx(l),maxWidth:b.asPx(s)}),toggleSort:function(r){y&&e.sortColumn(t,!!Z&&r.shiftKey)}},g),i.createElement("div",{className:f()(h&&"rt-resizable-header-content")},b.normalizeComponent(t.Header,{data:Ce,column:t})),v)},Ke=function(t,r){var n=re.find((function(e){return e.id===t.id}))||{},a=b.getFirstDefined(n.value,t.width,t.minWidth),o=b.getFirstDefined(n.value,t.width,t.maxWidth),l=b.splitProps(v(We,void 0,t,e)),s=b.splitProps(t.getHeaderProps(We,void 0,t,e)),c=[t.headerClassName,l.className,s.className],u=U({},t.headerStyle,l.style,s.style),p=U({},l.rest,s.rest),d=te.find((function(e){return e.id===t.id})),m=t.Filter||Ee,g=b.getFirstDefined(t.filterable,_,!1);return i.createElement(pe,U({key:r+"-"+t.id,className:f()(c),style:U({},u,{flex:a+" 0 auto",width:b.asPx(a),maxWidth:b.asPx(o)})},p),g?b.normalizeComponent(m,{column:t,filter:d,onChange:function(r){return e.filterColumn(t,r)}},H.column.Filter):null)},$e=function t(r,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o={original:r[J],row:r,index:r[Y],viewIndex:Ue+=1,pageSize:K,page:$,level:a.length,nestingPath:a.concat([n]),aggregated:r[V],groupedByPivot:r[Q],subRows:r[F]},l=b.get(ne,o.nestingPath),s=w(We,o,void 0,e),c=b.splitProps(I(We,o,void 0,e));return i.createElement(ce,U({key:o.nestingPath.join("_")},s),i.createElement(ue,U({className:f()(c.className,r._viewIndex%2?"-even":"-odd"),style:c.style},c.rest),Te.map((function(t,n){var a=re.find((function(e){return e.id===t.id}))||{},s="function"==typeof t.show?t.show():t.show,c=b.getFirstDefined(a.value,t.width,t.minWidth),u=b.getFirstDefined(a.value,t.width,t.maxWidth),p=b.splitProps(S(We,o,t,e)),d=b.splitProps(t.getProps(We,o,t,e)),m=[p.className,t.className,d.className],g=U({},p.style,t.style,d.style),h=U({},o,{isExpanded:l,column:U({},t),value:o.row[t.id],pivoted:t.pivoted,expander:t.expander,resized:re,show:s,width:c,maxWidth:u,tdProps:p,columnProps:d,classes:m,styles:g}),v=h.value,y=void 0,w=void 0,I=void 0,E=b.normalizeComponent(t.Cell,h,v),x=t.Aggregated||(t.aggregate?t.Cell:Se),D=t.Expander||ye,T=t.PivotValue||we,M=Ie||function(e){return i.createElement("div",null,i.createElement(D,e),i.createElement(T,e))},P=t.Pivot||M;(h.pivoted||h.expander)&&(h.expandable=!0,y=!0,!h.pivoted||h.subRows||he||(h.expandable=!1)),h.pivoted?(w=o.row[B]===t.id&&h.subRows,I=q.indexOf(t.id)>q.indexOf(o.row[B])&&h.subRows,E=w?b.normalizeComponent(P,U({},h,{value:r[W]}),r[W]):I?b.normalizeComponent(x,h,v):null):h.aggregated&&(E=b.normalizeComponent(x,h,v)),h.expander&&(E=b.normalizeComponent(D,h,r[W]),q&&(h.groupedByPivot&&(E=null),h.subRows||he||(E=null)));var C=y?function(t){var r=b.clone(ne);return r=l?b.set(r,h.nestingPath,!1):b.set(r,h.nestingPath,{}),e.setStateWithData({expanded:r},(function(){return ae&&ae(r,h.nestingPath,t,h)}))}:function(){},N={onClick:C};return p.rest.onClick&&(N.onClick=function(e){p.rest.onClick(e,(function(){return C(e)}))}),d.rest.onClick&&(N.onClick=function(e){d.rest.onClick(e,(function(){return C(e)}))}),i.createElement(de,U({key:n+"-"+t.id,className:f()(m,!h.expandable&&!s&&"hidden",h.expandable&&"rt-expandable",(w||I)&&"rt-pivot"),style:U({},g,{flex:c+" 0 auto",width:b.asPx(c),maxWidth:b.asPx(u)})},p.rest,d.rest,N),E)}))),o.subRows&&l&&o.subRows.map((function(e,r){return t(e,r,o.nestingPath)})),he&&!o.subRows&&l&&he(o,(function(){var e=b.clone(ne);b.set(e,o.nestingPath,!1)})))},et=function(t,r){var n=re.find((function(e){return e.id===t.id}))||{},a="function"==typeof t.show?t.show():t.show,o=b.getFirstDefined(n.value,t.width,t.minWidth),l=o,s=b.getFirstDefined(n.value,t.width,t.maxWidth),c=b.splitProps(S(We,void 0,t,e)),u=b.splitProps(t.getProps(We,void 0,t,e)),p=[c.className,t.className,u.className],d=U({},c.style,t.style,u.style);return i.createElement(de,U({key:r+"-"+t.id,className:f()(p,!a&&"hidden"),style:U({},d,{flex:l+" 0 auto",width:b.asPx(o),maxWidth:b.asPx(s)})},c.rest),b.normalizeComponent(xe))},tt=function(t,r){var n=w(We,void 0,void 0,e),a=b.splitProps(I(We,void 0,void 0,e));return i.createElement(ce,U({key:"pad-"+r},n),i.createElement(ue,{className:f()("-padRow",(ke.length+r)%2?"-even":"-odd",a.className),style:a.style||{}},Te.map(et)))},rt=function(t,r){var n=re.find((function(e){return e.id===t.id}))||{},a="function"==typeof t.show?t.show():t.show,o=b.getFirstDefined(n.value,t.width,t.minWidth),l=b.getFirstDefined(n.value,t.width,t.maxWidth),s=b.splitProps(D(We,void 0,t,e)),c=b.splitProps(t.getProps(We,void 0,t,e)),u=b.splitProps(t.getFooterProps(We,void 0,t,e)),p=[s.className,t.className,c.className,u.className],d=U({},s.style,t.style,c.style,u.style);return i.createElement(de,U({key:r+"-"+t.id,className:f()(p,!a&&"hidden"),style:U({},d,{flex:o+" 0 auto",width:b.asPx(o),maxWidth:b.asPx(l)})},c.rest,s.rest,u.rest),b.normalizeComponent(t.Footer,{data:Ce,column:t}))},nt=function(r){var n=b.splitProps(T(We,void 0,void 0,e));return i.createElement(fe,U({},t,{pages:ie,canPrevious:_e,canNext:Be,onPageChange:e.onPageChange,onPageSizeChange:e.onPageSizeChange,className:n.className,style:n.style,isTop:r},n.rest))},it=function(){return i.createElement("div",U({className:f()("ReactTable",n,qe.className),style:U({},a,qe.style)},qe.rest),N&&L?i.createElement("div",{className:"pagination-top"},nt(!0)):null,i.createElement(oe,U({className:f()(Fe.className,Ne?"rt-resizing":""),style:Fe.style},Fe.rest),Pe?(v=b.splitProps(s(We,void 0,void 0,e)),y=b.splitProps(c(We,void 0,void 0,e)),i.createElement(le,U({className:f()("-headerGroups",v.className),style:U({},v.style,{minWidth:Ge+"px"})},v.rest),i.createElement(ue,U({className:y.className,style:y.style},y.rest),Me.map(Qe)))):null,(u=b.splitProps(p(We,void 0,void 0,e)),m=b.splitProps(d(We,void 0,void 0,e)),i.createElement(le,U({className:f()("-header",u.className),style:U({},u.style,{minWidth:Ge+"px"})},u.rest),i.createElement(ue,U({className:m.className,style:m.style},m.rest),Te.map(Xe)))),Ze?(o=b.splitProps(g(We,void 0,void 0,e)),l=b.splitProps(h(We,void 0,void 0,e)),i.createElement(le,U({className:f()("-filters",o.className),style:U({},o.style,{minWidth:Ge+"px"})},o.rest),i.createElement(ue,U({className:l.className,style:l.style},l.rest),Te.map(Ke)))):null,i.createElement(se,U({className:f()(Ve.className),style:U({},Ve.style,{minWidth:Ge+"px"})},Ve.rest),ke.map((function(e,t){return $e(e,t)})),Oe.map(tt)),Re?(t=b.splitProps(E(We,void 0,void 0,e)),r=b.splitProps(x(We,void 0,void 0,e)),i.createElement(me,U({className:t.className,style:U({},t.style,{minWidth:Ge+"px"})},t.rest),i.createElement(ue,U({className:f()(r.className),style:r.style},r.rest),Te.map(rt)))):null),N&&j?i.createElement("div",{className:"pagination-bottom"},nt(!1)):null,!ke.length&&i.createElement(ve,Ye,b.normalizeComponent(O)),i.createElement(ge,U({loading:X,loadingText:A},Je)));var t,r,o,l,u,m,v,y};return r?r(We,it,this):it()}}]),t}(function(e){return function(e){function t(){return P(this,t),C(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),D(t,[{key:"getResolvedState",value:function(e,t){return x({},b.compactObject(this.state),b.compactObject(this.props),b.compactObject(t),b.compactObject(e))}},{key:"getDataModel",value:function(e,t){var r=this,n=e.columns,a=e.pivotBy,o=void 0===a?[]:a,l=e.data,s=e.resolveData,c=e.pivotIDKey,u=e.pivotValKey,p=e.subRowsKey,d=e.aggregatedKey,m=e.nestingLevelKey,f=e.originalKey,g=e.indexKey,h=e.groupedByPivotKey,v=e.SubComponent,y=!1;n.forEach((function(e){e.columns&&(y=!0)}));var w=[].concat(M(n)),I=n.find((function(e){return e.expander||e.columns&&e.columns.some((function(e){return e.expander}))}));I&&!I.expander&&(I=I.columns.find((function(e){return e.expander}))),v&&!I&&(w=[I={expander:!0}].concat(M(w)));var S=[],D=function(e,t){var n=function(e,t){var n=void 0;if((n=e.expander?x({},r.props.column,r.props.expanderDefaults,e):x({},r.props.column,e)).maxWidth<n.minWidth&&(n.minWidth=n.maxWidth),t&&(n.parentColumn=t),"string"==typeof n.accessor){n.id=n.id||n.accessor;var i=n.accessor;return n.accessor=function(e){return b.get(e,i)},n}if(n.accessor&&!n.id)throw console.warn(n),new Error("A column id is required if using a non-string accessor for column above.");return n.accessor||(n.accessor=function(){}),n}(e,t);return S.push(n),n},P=w.map((function(e){return e.columns?x({},e,{columns:e.columns.map((function(t){return D(t,e)}))}):D(e)})).slice(),C=[],N=(P=(P=P.map((function(e){if(e.columns){var t=e.columns.filter((function(e){return!(o.indexOf(e.id)>-1)&&b.getFirstDefined(e.show,!0)}));return x({},e,{columns:t})}return e}))).filter((function(e){return e.columns?e.columns.length:!(o.indexOf(e.id)>-1)&&b.getFirstDefined(e.show,!0)}))).findIndex((function(e){return e.pivot}));if(o.length){var L=[];o.forEach((function(e){var t=S.find((function(t){return t.id===e}));t&&L.push(t)}));var j=L.reduce((function(e,t){return e&&e===t.parentColumn&&t.parentColumn}),L[0].parentColumn),k=y&&j.Header,A={Header:k=k||function(){return i.createElement("strong",null,"Pivoted")},columns:L.map((function(e){return x({},r.props.pivotDefaults,e,{pivoted:!0})}))};N>=0?(A=x({},P[N],A),P.splice(N,1,A)):P.unshift(A)}var O=[],R=[],Z=function(e,t){O.push(x({},r.props.column,t,{columns:e})),R=[]};P.forEach((function(e){if(e.columns)return C=C.concat(e.columns),R.length>0&&Z(R),void Z(e.columns,e);C.push(e),R.push(e)})),y&&R.length>0&&Z(R);var H=function e(t,r){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=(T(n={},f,t),T(n,g,r),T(n,p,t[p]),T(n,m,i),n);return S.forEach((function(e){e.expander||(a[e.id]=e.accessor(t))})),a[p]&&(a[p]=a[p].map((function(t,r){return e(t,r,i+1)}))),a},z=this.resolvedData;this.resolvedData&&!t||(z=s(l),this.resolvedData=z),z=z.map((function(e,t){return H(e,t)}));var _=C.filter((function(e){return!e.expander&&e.aggregate})),B=function(e){var t={};return _.forEach((function(r){var n=e.map((function(e){return e[r.id]}));t[r.id]=r.aggregate(n,e)})),t};if(o.length){z=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(n===r.length)return t;var i=Object.entries(b.groupBy(t,r[n])).map((function(e){var t,i=E(e,2),a=i[0],o=i[1];return T(t={},c,r[n]),T(t,u,a),T(t,r[n],a),T(t,p,o),T(t,m,n),T(t,h,!0),t}));return i=i.map((function(t){var i,a=e(t[p],r,n+1);return x({},t,(T(i={},p,a),T(i,d,!0),i),B(a))}))}(z,o)}return x({},e,{resolvedData:z,allVisibleColumns:C,headerGroups:O,allDecoratedColumns:S,hasHeaderGroups:y})}},{key:"getSortedData",value:function(e){var t=e.manual,r=e.sorted,n=e.filtered,i=e.defaultFilterMethod,a=e.resolvedData,o=e.allDecoratedColumns,l={};return o.filter((function(e){return e.sortMethod})).forEach((function(e){l[e.id]=e.sortMethod})),{sortedData:t?a:this.sortData(this.filterData(a,n,i,o),r,l)}}},{key:"fireFetchData",value:function(){var e=x({},this.getResolvedState(),{page:this.getStateOrProp("page"),pageSize:this.getStateOrProp("pageSize"),filtered:this.getStateOrProp("filtered")});this.props.onFetchData(e,this)}},{key:"getPropOrState",value:function(e){return b.getFirstDefined(this.props[e],this.state[e])}},{key:"getStateOrProp",value:function(e){return b.getFirstDefined(this.state[e],this.props[e])}},{key:"filterData",value:function(e,t,r,n){var i=this,a=e;return t.length&&(a=(a=t.reduce((function(e,t){var i=n.find((function(e){return e.id===t.id}));if(!i||!1===i.filterable)return e;var a=i.filterMethod||r;return i.filterAll?a(t,e,i):e.filter((function(e){return a(t,e,i)}))}),a)).map((function(e){return e[i.props.subRowsKey]?x({},e,T({},i.props.subRowsKey,i.filterData(e[i.props.subRowsKey],t,r,n))):e})).filter((function(e){return!e[i.props.subRowsKey]||e[i.props.subRowsKey].length>0}))),a}},{key:"sortData",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.length)return e;var i=(this.props.orderByMethod||b.orderBy)(e,t.map((function(e){return n[e.id]?function(t,r){return n[e.id](t[e.id],r[e.id],e.desc)}:function(t,n){return r.props.defaultSortMethod(t[e.id],n[e.id],e.desc)}})),t.map((function(e){return!e.desc})),this.props.indexKey);return i.forEach((function(e){e[r.props.subRowsKey]&&(e[r.props.subRowsKey]=r.sortData(e[r.props.subRowsKey],t,n))})),i}},{key:"getMinRows",value:function(){return b.getFirstDefined(this.props.minRows,this.getStateOrProp("pageSize"))}},{key:"onPageChange",value:function(e){var t=this.props,r=t.onPageChange,n=t.collapseOnPageChange,i={page:e};n&&(i.expanded={}),this.setStateWithData(i,(function(){return r&&r(e)}))}},{key:"onPageSizeChange",value:function(e){var t=this.props.onPageSizeChange,r=this.getResolvedState(),n=r.pageSize*r.page,i=Math.floor(n/e);this.setStateWithData({pageSize:e,page:i},(function(){return t&&t(e,i)}))}},{key:"sortColumn",value:function(e,t){var r=this.getResolvedState(),n=r.sorted,i=r.skipNextSort,a=r.defaultSortDesc,o=Object.prototype.hasOwnProperty.call(e,"defaultSortDesc")?e.defaultSortDesc:a,l=!o;if(i)this.setStateWithData({skipNextSort:!1});else{var s=this.props.onSortedChange,c=b.clone(n||[]).map((function(e){return e.desc=b.isSortingDesc(e),e}));if(b.isArray(e)){var u=c.findIndex((function(t){return t.id===e[0].id}));if(u>-1)c[u].desc===l?t?c.splice(u,e.length):e.forEach((function(e,t){c[u+t].desc=o})):e.forEach((function(e,t){c[u+t].desc=l})),t||(c=c.slice(u,e.length));else c=t?c.concat(e.map((function(e){return{id:e.id,desc:o}}))):e.map((function(e){return{id:e.id,desc:o}}))}else{var p=c.findIndex((function(t){return t.id===e.id}));if(p>-1){var d=c[p];d.desc===l?t?c.splice(p,1):(d.desc=o,c=[d]):(d.desc=l,t||(c=[d]))}else t?c.push({id:e.id,desc:o}):c=[{id:e.id,desc:o}]}this.setStateWithData({page:!n.length&&c.length||!t?0:this.state.page,sorted:c},(function(){return s&&s(c,e,t)}))}}},{key:"filterColumn",value:function(e,t){var r=this.getResolvedState().filtered,n=this.props.onFilteredChange,i=(r||[]).filter((function(t){return t.id!==e.id}));""!==t&&i.push({id:e.id,value:t}),this.setStateWithData({filtered:i},(function(){return n&&n(i,e,t)}))}},{key:"resizeColumnStart",value:function(e,t,r){var n=this;e.stopPropagation();var i=e.target.parentElement.getBoundingClientRect().width,a=void 0;a=r?e.changedTouches[0].pageX:e.pageX,this.trapEvents=!0,this.setStateWithData({currentlyResizing:{id:t.id,startX:a,parentWidth:i}},(function(){r?(document.addEventListener("touchmove",n.resizeColumnMoving),document.addEventListener("touchcancel",n.resizeColumnEnd),document.addEventListener("touchend",n.resizeColumnEnd)):(document.addEventListener("mousemove",n.resizeColumnMoving),document.addEventListener("mouseup",n.resizeColumnEnd),document.addEventListener("mouseleave",n.resizeColumnEnd))}))}},{key:"resizeColumnMoving",value:function(e){e.stopPropagation();var t=this.props,r=t.onResizedChange,n=t.column,i=this.getResolvedState(),a=i.resized,o=i.currentlyResizing,l=i.columns.find((function(e){return e.accessor===o.id||e.id===o.id})),s=l&&null!=l.minResizeWidth?l.minResizeWidth:n.minResizeWidth,c=a.filter((function(e){return e.id!==o.id})),u=void 0;"touchmove"===e.type?u=e.changedTouches[0].pageX:"mousemove"===e.type&&(u=e.pageX);var p=Math.max(o.parentWidth+u-o.startX,s);c.push({id:o.id,value:p}),this.setStateWithData({resized:c},(function(){return r&&r(c,e)}))}},{key:"resizeColumnEnd",value:function(e){e.stopPropagation();var t="touchend"===e.type||"touchcancel"===e.type;t&&(document.removeEventListener("touchmove",this.resizeColumnMoving),document.removeEventListener("touchcancel",this.resizeColumnEnd),document.removeEventListener("touchend",this.resizeColumnEnd)),document.removeEventListener("mousemove",this.resizeColumnMoving),document.removeEventListener("mouseup",this.resizeColumnEnd),document.removeEventListener("mouseleave",this.resizeColumnEnd),t||this.setStateWithData({skipNextSort:!0,currentlyResizing:!1})}}]),t}(e)}(function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n={page:e.defaultPage,pageSize:e.defaultPageSize,sorted:e.defaultSorted,expanded:e.defaultExpanded,filtered:e.defaultFiltered,resized:e.defaultResized,currentlyResizing:!1,skipNextSort:!1},i=r.getResolvedState(e,n),a=r.getDataModel(i,!0);return r.state=r.calculateNewResolvedState(a),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),S(t,[{key:"componentDidMount",value:function(){this.fireFetchData()}},{key:"componentDidUpdate",value:function(e,t){var r=this.getResolvedState(e,t),n=this.getResolvedState(this.props,this.state);["sorted","filtered","resized","expanded"].forEach((function(e){var t="default"+(e.charAt(0).toUpperCase()+e.slice(1));JSON.stringify(r[t])!==JSON.stringify(n[t])&&(n[e]=n[t])})),["sortable","filterable","resizable"].forEach((function(e){if(r[e]!==n[e]){var t=e.replace("able","")+"ed",i="default"+(t.charAt(0).toUpperCase()+t.slice(1));n[t]=n[i]}})),r.data===n.data&&r.columns===n.columns&&r.pivotBy===n.pivotBy&&r.sorted===n.sorted&&r.filtered===n.filtered||this.setStateWithData(this.getDataModel(n,r.data!==n.data))}},{key:"calculateNewResolvedState",value:function(e){var t=this.getResolvedState(),r=this.getResolvedState({},e),n=r.freezeWhenExpanded;if(r.frozen=!1,n)for(var i=Object.keys(r.expanded),a=0;a<i.length;a+=1)if(r.expanded[i[a]]){r.frozen=!0;break}return(t.frozen&&!r.frozen||t.sorted!==r.sorted||t.filtered!==r.filtered||t.showFilters!==r.showFilters||!r.frozen&&t.resolvedData!==r.resolvedData)&&((t.sorted!==r.sorted&&this.props.collapseOnSortingChange||t.filtered!==r.filtered||t.showFilters!==r.showFilters||t.sortedData&&!r.frozen&&t.resolvedData!==r.resolvedData&&this.props.collapseOnDataChange)&&(r.expanded={}),Object.assign(r,this.getSortedData(r))),t.filtered!==r.filtered&&(r.page=0),r.sortedData&&(r.pages=r.manual?r.pages:Math.ceil(r.sortedData.length/r.pageSize),r.page=r.manual?r.page:Math.max(r.page>=r.pages?r.pages-1:r.page,0)),r}},{key:"setStateWithData",value:function(e,t){var r=this,n=this.getResolvedState(),i=this.calculateNewResolvedState(e);return this.setState(i,(function(){t&&t(),n.page===i.page&&n.pageSize===i.pageSize&&n.sorted===i.sorted&&n.filtered===i.filtered||r.fireFetchData()}))}}]),t}(i.Component)));q.propTypes=B,q.defaultProps=H;var F=q,V=r(48618),J=e=>i.createElement("div",{className:"wprm-admin-manage-select-columns-container"},i.createElement("div",{className:"wprm-admin-manage-select-columns"},e.columns.map(((t,r)=>{if("actions"===t.id)return null;var n=e.selectedColumns.includes(t.id),a=e.filteredColumns.includes(t.id),o=["wprm-admin-manage-select-columns-column"];return n&&o.push("wprm-admin-manage-select-columns-column-selected"),a&&o.push("wprm-admin-manage-select-columns-column-filtered"),i.createElement("span",{className:o.join(" "),onClick:r=>{r.preventDefault(),a||e.onColumnsChange(t.id,!n)},key:r},t.Header)})))),Y=e=>{if(!e.filtered&&!e.total)return i.createElement("div",{className:"wprm-admin-table-totals"}," ");var t=!1!==e.filtered&&e.filtered!=e.total;return i.createElement("div",{className:"wprm-admin-table-totals"},e.total?i.createElement(i.Fragment,null,t?"".concat((0,p.S)("Showing")," ").concat(Number(e.filtered).toLocaleString()," ").concat((0,p.S)("filtered of")," ").concat(Number(e.total).toLocaleString()," ").concat((0,p.S)("total")):"".concat((0,p.S)("Showing")," ").concat(Number(e.total).toLocaleString()," ").concat((0,p.S)("total"))):"".concat(Number(e.filtered).toLocaleString()," ").concat((0,p.S)("rows")),!1!==e.filter&&i.createElement("div",{className:"wprm-admin-table-totals-filter"},"".concat((0,p.S)("Filter"),": ").concat(e.filter[0]," = ").concat(e.filter[1])))};function Q(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 X(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){K(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function K(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $={data:[],pages:null,filtered:[],countFiltered:!1,countTotal:!1,loading:!0,columns:[],selectedColumns:!1,selectedRows:{},selectedAllRows:0};class ee extends i.Component{constructor(e){super(e),this.state=X({},$),this.initDataTable=this.initDataTable.bind(this),this.refreshData=this.refreshData.bind(this),this.fetchData=this.fetchData.bind(this),this.toggleSelectRow=this.toggleSelectRow.bind(this),this.toggleSelectAll=this.toggleSelectAll.bind(this),this.getSelectedRows=this.getSelectedRows.bind(this),this.onColumnsChange=this.onColumnsChange.bind(this),this.requirementMet=this.requirementMet.bind(this)}componentDidMount(){this.initDataTable()}componentDidUpdate(e){this.props.type!==e.type&&this.initDataTable(!0)}initDataTable(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.requirementMet()){var t=this.props.options.selectedColumns;if(!1!==t){var r=localStorage.getItem("wprm-admin-manage-".concat(this.props.options.id,"-columns"));r&&(r=JSON.parse(r),Array.isArray(r)&&(t=r))}this.setState(X(X({},$),{},{columns:this.props.options.columns.getColumns(this),selectedColumns:t}),(()=>{e&&this.refreshData()}))}}toggleSelectRow(e){var t=X({},this.state.selectedRows);t[e]=!t[e];var r=Object.values(t).filter((e=>e)).length,n=2;0===r?n=0:this.state.data.length===r&&(n=1),this.setState({selectedRows:t,selectedAllRows:n})}toggleSelectAll(){var e="taxonomy"===this.props.options.route?"term_id":"id",t={};if(0===this.state.selectedAllRows)for(var r of this.state.data)t[r[e]]=!0;this.setState({selectedRows:t,selectedAllRows:0===this.state.selectedAllRows?1:0})}getSelectedRows(){return Object.keys(this.state.selectedRows).filter((e=>this.state.selectedRows[e])).map((e=>parseInt(e)))}refreshData(){this.refReactTable&&this.refReactTable.fireFetchData()}fetchData(e,t){var r=e.data;this.setState({loading:!0},(()=>{this.requirementMet()&&c.Z.manage.getData({route:this.props.options.route,type:this.props.options.id,pageSize:e.pageSize,page:e.page,sorted:e.sorted,filtered:this.state.filtered,filter:this.props.filter}).then((e=>{if(e){var t={data:e.rows,pages:e.pages,countFiltered:e.filtered,countTotal:e.total,loading:!1},n="taxonomy"===this.props.options.route?"term_id":"id";JSON.stringify(e.rows.map((e=>e[n])))!==JSON.stringify(r.map((e=>e[n])))&&(t.selectedRows={},t.selectedAllRows=0),this.setState(t)}}))}))}onColumnsChange(e,t){var r=[...this.state.selectedColumns];t?r.push(e):r=r.filter((t=>t!==e)),this.setState({selectedColumns:r}),localStorage.setItem("wprm-admin-manage-".concat(this.props.options.id,"-columns"),JSON.stringify(r))}requirementMet(){return!(this.props.options.hasOwnProperty("required")&&(!wprm_admin.addons.hasOwnProperty(this.props.options.required)||!0!==wprm_admin.addons[this.props.options.required]))}render(){if(!this.props.options)return null;if(!this.requirementMet()){var e=this.props.options.required[0].toUpperCase()+this.props.options.required.substring(1);return i.createElement("div",{className:"wprm-admin-manage-requirement"},i.createElement("div",null,"*",(0,p.S)("This feature is only available in")),i.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker ".concat(e," Bundle")))}var{data:t,pages:r,loading:n}=this.state,a=this.state.columns.filter((e=>"actions"===e.id||!1===this.state.selectedColumns||this.state.selectedColumns.includes(e.id))),o=this.state.filtered.filter((e=>""!==e.value&&"all"!==e.value)).map((e=>e.id));return i.createElement("div",{className:"wprm-admin-manage-page"},!1!==this.state.selectedColumns||this.props.options.bulkEdit||this.props.options.createButton?i.createElement("div",{className:"wprm-admin-manage-header"},!1===this.state.selectedColumns?i.createElement("div",null):i.createElement(J,{onColumnsChange:this.onColumnsChange,columns:this.state.columns,selectedColumns:this.state.selectedColumns,filteredColumns:o}),i.createElement("div",{className:"wprm-admin-manage-header-buttons"},(!1===this.state.selectedColumns||this.state.selectedColumns.includes("bulk_edit"))&&this.props.options.bulkEdit&&i.createElement("button",{className:"button",onClick:()=>{WPRM_Modal.open("bulk-edit",{route:this.props.options.bulkEdit.route,type:this.props.options.bulkEdit.type,ids:this.getSelectedRows(),saveCallback:()=>this.refreshData()})},disabled:0===this.getSelectedRows().length},(0,p.S)("Bulk Edit")," ",this.getSelectedRows().length," ",1===this.getSelectedRows().length?this.props.options.label.singular:this.props.options.label.plural,"..."),this.props.options.createButton?i.createElement("button",{className:"button button-primary",onClick:()=>this.props.options.createButton(this)},"".concat((0,p.S)("Create")," ").concat(this.props.options.label.singular)):null)):null,i.createElement("div",{className:"wprm-admin-manage-table-container"},i.createElement(V.Z,{module:"Datatable"},i.createElement(Y,{filtered:this.state.countFiltered,total:this.state.countTotal,filter:this.props.filter}),i.createElement("div",{className:"wprm-admin-manage-table-inner"},i.createElement(F,{ref:e=>{this.refReactTable=e},manual:!0,columns:a,data:t,pages:r,filtered:this.state.filtered,onFilteredChange:e=>{this.setState({filtered:e})},loading:n,onFetchData:this.fetchData,defaultPageSize:this.props.options.hasOwnProperty("defaultPageSize")?this.props.options.defaultPageSize:25,pageSizeOptions:[5,10,20,25,50,100,500],defaultSorted:[{id:"rating"===this.props.type?"date":"id",desc:!0}],filterable:!0,resizable:!1,className:"wprm-admin-manage-table wprm-admin-table -highlight"})))))}}r(29897);var te=r(2778),re=r.n(te),ne={getColumns:e=>[{Header:"",id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,filterable:!1,width:70,Cell:t=>i.createElement("div",{className:"wprm-admin-manage-actions"},i.createElement(u.Z,{type:"pencil",title:(0,p.S)("Edit Taxonomy"),onClick:()=>{WPRM_Modal.open("taxonomy",{taxonomy:t.original,saveCallback:()=>e.refreshData()})}}),!1===t.original.default&&i.createElement(u.Z,{type:"trash",title:(0,p.S)("Delete Taxonomy"),onClick:()=>{confirm("".concat((0,p.S)("Are you sure you want to delete"),' "wprm_').concat(t.original.key,'"?'))&&c.Z.customTaxonomy.delete(t.original.key).then((()=>e.refreshData()))}}))},{Header:(0,p.S)("Key"),id:"key",accessor:"key",sortable:!1,filterable:!1,Cell:e=>i.createElement("div",null,"wprm_",e.value)},{Header:(0,p.S)("Singular Name"),id:"singular_name",accessor:"singular_name",sortable:!1,filterable:!1,Cell:e=>e.value?re().decode(e.value):null},{Header:(0,p.S)("Plural Name"),id:"name",accessor:"name",sortable:!1,filterable:!1,Cell:e=>e.value?re().decode(e.value):null},{Header:(0,p.S)("Archive"),id:"archive",accessor:"archive",sortable:!1,filterable:!1,width:70,Cell:e=>e.value?(0,p.S)("Yes"):(0,p.S)("No")},{Header:(0,p.S)("Slug"),id:"slug",accessor:"slug",sortable:!1,filterable:!1,Cell:e=>e.value?re().decode(e.value):null}]},ie=r(80416),ae=r(94341);function oe(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 le(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach((function(t){se(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ce={getColumns:e=>[(0,ae.Z)(e),{Header:(0,p.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:70,Filter:()=>i.createElement("div",null,(0,p.S)("Filter:")),Cell:t=>i.createElement("div",{className:"wprm-admin-manage-actions"},i.createElement(u.Z,{type:"pencil",title:(0,p.S)("Click on the stars to edit the rating."),onClick:()=>{alert((0,p.S)("Click on the stars to edit the rating."))}}),i.createElement(u.Z,{type:"trash",title:(0,p.S)("Delete Rating"),onClick:()=>{confirm((0,p.S)("Are you sure you want to delete this rating?"))&&c.Z.rating.delete(t.original.id).then((()=>e.refreshData()))}}))},{Header:(0,p.S)("Date"),id:"date",accessor:"date",width:150,Filter:e=>i.createElement(ie.Z,e)},{Header:(0,p.S)("Rating"),id:"rating",accessor:"rating",width:100,Filter:e=>{var{filter:t,onChange:r}=e;return i.createElement("select",{onChange:e=>r(e.target.value),style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},i.createElement("option",{value:"all"},(0,p.S)("All Ratings")),i.createElement("option",{value:"1"},"1 ".concat((0,p.S)("star"))),i.createElement("option",{value:"2"},"2 ".concat((0,p.S)("stars"))),i.createElement("option",{value:"3"},"3 ".concat((0,p.S)("stars"))),i.createElement("option",{value:"4"},"4 ".concat((0,p.S)("stars"))),i.createElement("option",{value:"5"},"5 ".concat((0,p.S)("stars"))))},Cell:t=>i.createElement("div",{className:"wprm-admin-manage-ratings-rating"},[1,2,3,4,5].map(((r,n)=>i.createElement(u.Z,{type:r<=t.value?"star-full":"star-empty",title:"".concat((0,p.S)("Click to change this rating to:")," ").concat(r),onClick:()=>{var n=le(le({},t.original),{},{rating:r});c.Z.rating.update(n).then((()=>e.refreshData()))},key:n}))))},{Header:(0,p.S)("Type"),id:"type",accessor:"type",width:150,sortable:!1,Filter:e=>{var{filter:t,onChange:r}=e;return i.createElement("select",{onChange:e=>r(e.target.value),style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},i.createElement("option",{value:"all"},(0,p.S)("All Types")),i.createElement("option",{value:"user"},(0,p.S)("User Rating")),i.createElement("option",{value:"comment"},(0,p.S)("Comment Rating")))},Cell:e=>i.createElement("div",null,"user"===e.value?(0,p.S)("User Rating"):(0,p.S)("Comment Rating"))},{Header:(0,p.S)("Approved"),id:"approved",accessor:"approved",width:100,sortable:!1,Filter:e=>{var{filter:t,onChange:r}=e;return i.createElement("select",{onChange:e=>r(e.target.value),style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},i.createElement("option",{value:"all"},(0,p.S)("All")),i.createElement("option",{value:"yes"},(0,p.S)("Approved")),i.createElement("option",{value:"no"},(0,p.S)("Not Approved")))},Cell:e=>i.createElement("div",null,0==e.value?(0,p.S)("No"):(0,p.S)("Yes"))},{Header:(0,p.S)("User ID"),id:"user_id",accessor:"user_id",width:150,Filter:e=>i.createElement(ie.Z,e),Cell:e=>{if(!e.value||"0"===e.value)return i.createElement("div",null);var t="".concat(e.value," - ").concat(e.original.user?e.original.user:(0,p.S)("n/a"));return i.createElement("div",null,e.original.user_link?i.createElement("a",{href:re().decode(e.original.user_link),target:"_blank"},t):t)}},{Header:(0,p.S)("IP"),id:"ip",accessor:"ip",width:150,Filter:e=>i.createElement(ie.Z,e)},{Header:(0,p.S)("Comment ID"),id:"comment_id",accessor:"comment_id",width:350,Filter:e=>i.createElement(ie.Z,e),Cell:e=>{if(!e.value||"0"===e.value)return i.createElement("div",null);var t="".concat(e.value," - ").concat(e.original.comment?"".concat(e.original.comment):(0,p.S)("n/a"));return i.createElement("div",null,e.original.comment_link?i.createElement("a",{href:re().decode(e.original.comment_link),target:"_blank"},t):t)}},{Header:(0,p.S)("Recipe ID"),id:"recipe_id",accessor:"recipe_id",width:350,Filter:e=>i.createElement(ie.Z,e),Cell:t=>{if(!t.value||"0"===t.value)return i.createElement("div",null);var r="".concat(t.value," - ").concat(t.original.recipe?t.original.recipe:(0,p.S)("n/a"));return i.createElement("div",null,t.original.recipe?i.createElement("a",{href:"#",onClick:r=>{r.preventDefault(),WPRM_Modal.open("recipe",{recipeId:t.value,saveCallback:()=>e.refreshData()})}},r):r)}},{Header:(0,p.S)("Parent Post ID"),id:"post_id",accessor:"post_id",width:350,Filter:e=>i.createElement(ie.Z,e),Cell:e=>{if(!e.value||"0"===e.value)return i.createElement("div",null);var t="".concat(e.value," - ").concat(e.original.post?e.original.post:(0,p.S)("n/a"));return i.createElement("div",null,e.original.post_link?i.createElement("a",{href:re().decode(e.original.post_link),target:"_blank"},t):t)}}]},ue=(r(55281),r(22321),r(55565)),pe=r.n(ue),de=r(95075);class me extends i.Component{constructor(e){super(e),this.state={copied:!1}}onCopy(){this.setState({copied:!0},(()=>{setTimeout((()=>{this.setState({copied:!1})}),2e3)}))}render(){return i.createElement(pe(),{text:this.props.text,onCopy:this.onCopy.bind(this)},i.createElement("span",{className:"wprm-admin-table-container-copy",style:{opacity:this.state.copied?.2:1}},this.props.hasOwnProperty("type")&&"text"===this.props.type?i.createElement(de.Z,{content:this.state.copied?(0,p.S)("Copied!"):(0,p.S)("Copy to clipboard")},i.createElement("span",null,this.props.text)):i.createElement(u.Z,{type:"clipboard",title:this.state.copied?(0,p.S)("Copied!"):(0,p.S)("Copy to clipboard")})))}}var fe=e=>e.seo?i.createElement(de.Z,{content:e.seo.message,style:{width:"100%"}},i.createElement("div",{className:"wprm-admin-manage-seo-indicator wprm-admin-manage-seo-indicator-".concat(e.seo.type.trim()),onClick:e.onClick},"other"===e.seo.type?"n/a":i.createElement(i.Fragment,null,i.createElement("div",{className:"wprm-admin-manage-seo-indicator-block"}),i.createElement("div",{className:"wprm-admin-manage-seo-indicator-block"}),i.createElement("div",{className:"wprm-admin-manage-seo-indicator-block"}),i.createElement("div",{className:"wprm-admin-manage-seo-indicator-block"})))):null,ge=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=parseInt(e),n=0,i=0,a=0,o="";return r>0?(n=Math.floor(r/24/60),i=Math.floor(r/60%24),a=Math.floor(r%60),n&&(o+="".concat(n," ").concat(1===n?(0,p.S)("day"):(0,p.S)("days")," ")),i&&(o+="".concat(i," ").concat(1===i?(0,p.S)("hr"):(0,p.S)("hrs")," ")),a&&(o+="".concat(a," ").concat(1===a?(0,p.S)("min"):(0,p.S)("mins")," "))):t&&(o="0 ".concat((0,p.S)("mins"))),o.trim()},he={getColumns(e){var t=[(0,ae.Z)(e),{Header:(0,p.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:wprm_admin.addons.premium?130:100,Filter:()=>i.createElement("div",null,(0,p.S)("Filter:")),Cell:t=>i.createElement("div",{className:"wprm-admin-manage-actions"},i.createElement(u.Z,{type:"pencil",title:(0,p.S)("Edit Recipe"),onClick:()=>{WPRM_Modal.open("recipe",{recipe:t.original,saveCallback:()=>e.refreshData()})}}),i.createElement(u.Z,{type:"print",title:(0,p.S)("Print Recipe"),onClick:()=>{var e=wprm_admin.home_url.split(/\?(.+)/),r=e[0];wprm_admin.permalinks?(r+=wprm_admin.print_slug+"/"+t.original.id,e[1]&&(r+="?"+e[1])):(r+="?"+wprm_admin.print_slug+"="+t.original.id,e[1]&&(r+="&"+e[1])),window.open(r,"_blank")}}),!0===wprm_admin.addons.premium&&i.createElement(u.Z,{type:"duplicate",title:(0,p.S)("Clone Recipe"),onClick:()=>{WPRM_Modal.open("recipe",{recipeId:t.original.id,cloneRecipe:!0,saveCallback:()=>e.refreshData()},!0)}}),i.createElement(u.Z,{type:"trash",title:(0,p.S)("Delete Recipe"),onClick:()=>{confirm("".concat((0,p.S)("Are you sure you want to delete"),' "').concat(t.original.name,'"?'))&&c.Z.recipe.delete(t.original.id).then((()=>e.refreshData()))}}))},{Header:(0,p.S)("SEO"),id:"seo",accessor:"seo",width:65,sortable:!1,filterable:!1,Cell:e=>i.createElement(fe,{seo:e.value})},{Header:(0,p.S)("Type"),id:"type",accessor:"type",width:80,Filter:e=>{var{filter:t,onChange:r}=e;return i.createElement("select",{onChange:e=>r(e.target.value),style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},i.createElement("option",{value:"all"},(0,p.S)("All")),i.createElement("option",{value:"food"},(0,p.S)("Food")),i.createElement("option",{value:"howto"},(0,p.S)("How-to")),i.createElement("option",{value:"other"},(0,p.S)("Other")))},Cell:e=>i.createElement("div",null,"other"===e.value?(0,p.S)("Other"):"howto"===e.value?(0,p.S)("How-to"):(0,p.S)("Food"))},{Header:(0,p.S)("ID"),id:"id",accessor:"id",width:65,Filter:e=>i.createElement(ie.Z,e)}];"public"===wprm_admin.settings.post_type_structure&&t.push({Header:(0,p.S)("Slug"),id:"slug",accessor:"slug",width:200,Filter:e=>i.createElement(ie.Z,e),Cell:e=>i.createElement("span",null,e.original.permalink?i.createElement("a",{href:e.original.permalink,target:"_blank"},e.value):e.value)}),t.push({Header:(0,p.S)("Shortcode"),id:"shortcode",accessor:"id",sortable:!1,filterable:!1,width:200,Cell:e=>{var t='[wprm-recipe id="'.concat(e.value,'"]');return i.createElement("div",{className:"wprm-admin-manage-shortcode-container"},i.createElement(me,{text:t,type:"text"}))}},{Header:(0,p.S)("Date"),id:"date",accessor:"date",width:150,Filter:e=>i.createElement(ie.Z,e)},{Header:(0,p.S)("Image"),id:"image",accessor:"image_url",width:100,sortable:!1,Filter:e=>{var{filter:t,onChange:r}=e;return i.createElement("select",{onChange:e=>r(e.target.value),style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},i.createElement("option",{value:"all"},(0,p.S)("Show All")),i.createElement("option",{value:"yes"},(0,p.S)("Has Recipe Image")),i.createElement("option",{value:"no"},(0,p.S)("Does not have Recipe Image")))},Cell:e=>i.createElement("div",{style:{width:"100%"}},e.value?i.createElement("img",{src:e.value,className:"wprm-admin-manage-image"}):null)},{Header:(0,p.S)("Pin Image"),id:"pin_image",accessor:"pin_image_url",width:100,sortable:!1,Filter:e=>{var{filter:t,onChange:r}=e;return i.createElement("select",{onChange:e=>r(e.target.value),style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},i.createElement("option",{value:"all"},(0,p.S)("Show All")),i.createElement("option",{value:"yes"},(0,p.S)("Has Custom Pin Image")),i.createElement("option",{value:"no"},(0,p.S)("Does not have Custom Pin Image")))},Cell:e=>i.createElement("div",{style:{width:"100%"}},e.value?i.createElement("img",{src:e.value,className:"wprm-admin-manage-image"}):null)},{Header:(0,p.S)("Video"),id:"video",accessor:"video_url",width:200,sortable:!1,Filter:e=>{var{filter:t,onChange:r}=e;return i.createElement("select",{onChange:e=>r(e.target.value),style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},i.createElement("option",{value:"all"},(0,p.S)("Show All")),i.createElement("option",{value:"yes"},(0,p.S)("Has any video")),i.createElement("option",{value:"id"},(0,p.S)("Has an uploaded video")),i.createElement("option",{value:"embed"},(0,p.S)("Has an embedded video")),i.createElement("option",{value:"no"},(0,p.S)("Does not have a video")))},Cell:e=>i.createElement("div",{style:{width:"100%"}},e.value?e.value:i.createElement(i.Fragment,null,e.original.video_embed?e.original.video_embed:null))},{Header:(0,p.S)("Name"),id:"name",accessor:"name",width:300,Filter:e=>i.createElement(ie.Z,e)},{Header:(0,p.S)("Summary"),id:"summary",accessor:"summary",width:300,sortable:!1,Filter:e=>i.createElement(ie.Z,e),Cell:e=>e.value?i.createElement("div",{dangerouslySetInnerHTML:{__html:e.value}}):i.createElement("div",null)},{Header:(0,p.S)("Author"),id:"post_author",accessor:"post_author",width:150,Filter:e=>{var{filter:t,onChange:r}=e;return i.createElement("select",{onChange:e=>r(e.target.value),style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},i.createElement("option",{value:"all"},(0,p.S)("All Authors")),Object.keys(wprm_admin_manage.authors).map(((e,t)=>{var r=wprm_admin_manage.authors[e].data;return i.createElement("option",{value:r.ID,key:t},r.ID,r.display_name?" - ".concat(re().decode(r.display_name)):""," ")})))},Cell:e=>(wprm_admin_manage.authors.hasOwnProperty(e.value)||(wprm_admin_manage.authors[e.value]={data:{ID:e.value,display_name:e.original.post_author_name}}),i.createElement("div",null,e.value&&"0"!==e.value?i.createElement("a",{href:e.original.post_author_link,target:"_blank"},e.value," - ",e.original.post_author_name):null))},{Header:(0,p.S)("Display Author Type"),id:"author_display",accessor:"author_display",width:250,Filter:e=>{var{filter:t,onChange:r}=e;return i.createElement("select",{onChange:e=>r(e.target.value),style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},i.createElement("option",{value:"all"},(0,p.S)("All Display Author Types")),wprm_admin_modal.options.author.map(((e,t)=>"same"===e.value?null:i.createElement("option",{value:e.value,key:t},e.label))))},Cell:e=>{var t=wprm_admin_modal.options.author.find((t=>t.value===e.value));return t?i.createElement("div",null,t.label):i.createElement("div",null)}},{Header:(0,p.S)("Display Author"),id:"author",accessor:"author",width:150,sortable:!1,filterable:!1,Cell:e=>e.value?i.createElement("div",{dangerouslySetInnerHTML:{__html:e.original.author}}):i.createElement("div",null)},{Header:(0,p.S)("Status"),id:"status",accessor:"post_status",width:120,sortable:!1,Filter:e=>{var{filter:t,onChange:r}=e;return i.createElement("select",{onChange:e=>r(e.target.value),style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},i.createElement("option",{value:"all"},(0,p.S)("All Statuses")),Object.keys(wprm_admin_manage.post_statuses).map(((e,t)=>i.createElement("option",{value:e,key:t},re().decode(wprm_admin_manage.post_statuses[e])))))},Cell:e=>{var t=Object.keys(wprm_admin_manage.post_statuses).includes(e.value)?wprm_admin_manage.post_statuses[e.value]:e.value;return i.createElement("div",null,t)}},{Header:(0,p.S)("Parent ID"),id:"parent_post_id",accessor:"parent_post_id",width:65,Filter:e=>i.createElement(ie.Z,e),Cell:e=>e.value?i.createElement("div",null,e.value):i.createElement("div",null)},{Header:(0,p.S)("Parent Name"),id:"parent_post",accessor:"parent_post",width:300,sortable:!1,Filter:e=>{var{filter:t,onChange:r}=e;return i.createElement("select",{onChange:e=>r(e.target.value),style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},i.createElement("option",{value:"all"},(0,p.S)("Show All")),i.createElement("option",{value:"yes"},(0,p.S)("Has Parent Post")),i.createElement("option",{value:"no"},(0,p.S)("Does not have Parent Post")))},Cell:e=>{var t=e.value,r=!!e.original.parent_post_url&&re().decode(e.original.parent_post_url),n=!!e.original.parent_post_edit_url&&re().decode(e.original.parent_post_edit_url);return t?i.createElement("div",{className:"wprm-admin-manage-recipes-parent-post-container"},r&&i.createElement("a",{href:r,target:"_blank"},i.createElement(u.Z,{type:"eye",title:(0,p.S)("View Parent Post")})),n&&i.createElement("a",{href:n,target:"_blank"},i.createElement(u.Z,{type:"pencil",title:(0,p.S)("Edit Parent Post")})),t.post_title):null}}),wprm_admin_manage.multilingual&&t.push({Header:(0,p.S)("Parent Language"),id:"parent_post_language",accessor:"parent_post_language",width:150,sortable:!1,Filter:e=>{var{filter:t,onChange:r}=e;return i.createElement("select",{onChange:e=>r(e.target.value),style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},i.createElement("option",{value:"all"},(0,p.S)("All Languages")),Object.values(wprm_admin_manage.multilingual.languages).map(((e,t)=>i.createElement("option",{value:e.value,key:t},"".concat(e.value," - ").concat(re().decode(e.label))))))},Cell:e=>{var t=!!wprm_admin_manage.multilingual.languages.hasOwnProperty(e.value)&&wprm_admin_manage.multilingual.languages[e.value];return t?i.createElement("div",null,"".concat(t.value," - ").concat(re().decode(t.label))):i.createElement("div",null)}}),t.push({Header:(0,p.S)("Ratings"),id:"rating",accessor:"rating",width:200,Filter:e=>{var{filter:t,onChange:r}=e;return i.createElement("select",{onChange:e=>r(e.target.value),style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},i.createElement("optgroup",{label:(0,p.S)("General")},i.createElement("option",{value:"all"},(0,p.S)("All Ratings")),i.createElement("option",{value:"none"},(0,p.S)("No Ratings")),i.createElement("option",{value:"any"},(0,p.S)("Any Rating"))),i.createElement("optgroup",{label:(0,p.S)("Stars")},i.createElement("option",{value:"1"},"1 ".concat((0,p.S)("star"))),i.createElement("option",{value:"2"},"2 ".concat((0,p.S)("stars"))),i.createElement("option",{value:"3"},"3 ".concat((0,p.S)("stars"))),i.createElement("option",{value:"4"},"4 ".concat((0,p.S)("stars"))),i.createElement("option",{value:"5"},"5 ".concat((0,p.S)("stars")))))},Cell:t=>{var r=t.value;return r.average&&"0"!==r.average?i.createElement("div",{className:"wprm-admin-manage-recipes-ratings-container"},i.createElement("div",{className:"wprm-admin-manage-recipes-ratings-average"},r.average),i.createElement("div",{className:"wprm-admin-manage-recipes-ratings-details"},!1===r.comment_ratings?i.createElement("div",{className:"wprm-admin-manage-recipes-ratings-details-none"},(0,p.S)("no comment ratings")):i.createElement("div",null,"".concat(r.comment_ratings.average," ").concat((0,p.S)("from")," ").concat(r.comment_ratings.count," ").concat(1===r.comment_ratings.count?(0,p.S)("comment"):(0,p.S)("comments"))),!1===r.user_ratings?i.createElement("div",{className:"wprm-admin-manage-recipes-ratings-details-none"},(0,p.S)("no user ratings")):i.createElement("div",null,"".concat(r.user_ratings.average," ").concat((0,p.S)("from")," ").concat(r.user_ratings.count," ").concat(1===r.user_ratings.count?(0,p.S)("vote"):(0,p.S)("votes")),i.createElement("a",{href:"#",onClick:r=>{r.preventDefault(),confirm("".concat((0,p.S)("Are you sure you want to delete the user ratings for"),' "').concat(t.original.name,'"?'))&&c.Z.manage.deleteUserRatings(t.original.id).then((()=>e.refreshData()))}},"(reset)")))):null}});var r=function(e){var r=wprm_admin_modal.categories[e];r.terms.sort(((e,t)=>e.name.localeCompare(t.name))),t.push({Header:r.label,id:"tag_".concat(e),accessor:t=>t.tags[e],width:300,sortable:!1,Filter:e=>{var{filter:t,onChange:n}=e;return i.createElement("select",{onChange:e=>n(e.target.value),style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},i.createElement("optgroup",{label:(0,p.S)("General")},i.createElement("option",{value:"all"},"".concat((0,p.S)("All")," ").concat(r.label)),i.createElement("option",{value:"none"},"".concat((0,p.S)("No")," ").concat(r.label)),i.createElement("option",{value:"any"},"".concat((0,p.S)("Any")," ").concat(r.label))),i.createElement("optgroup",{label:(0,p.S)("Terms")},r.terms.map(((e,t)=>i.createElement("option",{value:e.term_id,key:t},re().decode(e.name),e.count?" (".concat(e.count,")"):"")))))},Cell:e=>{var t=e.value.map((e=>e.name)).join(", ");return i.createElement("div",null,t?re().decode(t):null)}})};for(var n in wprm_admin_modal.categories)r(n);t.push({Header:(0,p.S)("Prep Time"),id:"prep_time",accessor:"prep_time",width:100,Filter:e=>i.createElement(ie.Z,e),Cell:e=>i.createElement("div",null,ge(e.value,e.original.prep_time_zero))},{Header:(0,p.S)("Cook Time"),id:"cook_time",accessor:"cook_time",width:100,Filter:e=>i.createElement(ie.Z,e),Cell:e=>i.createElement("div",null,ge(e.value,e.original.cook_time_zero))},{Header:(0,p.S)("Custom Time"),id:"custom_time",accessor:"custom_time",width:120,Filter:e=>i.createElement(ie.Z,e),Cell:e=>i.createElement("div",null,i.createElement("div",null,e.original.custom_time_label),i.createElement("div",null,ge(e.value,e.original.custom_time_zero)))},{Header:(0,p.S)("Total Time"),id:"total_time",accessor:"total_time",width:100,Filter:e=>i.createElement(ie.Z,e),Cell:e=>i.createElement("div",null,ge(e.value))},{Header:(0,p.S)("Servings"),id:"servings",accessor:"servings",width:100,Filter:e=>i.createElement(ie.Z,e),Cell:e=>i.createElement("div",null,"0"===e.value?"":e.value," ",e.original.servings_unit)},{Header:(0,p.S)("Equipment"),id:"equipment",accessor:"equipment",width:300,sortable:!1,Filter:e=>i.createElement(ie.Z,e),Cell:e=>i.createElement("div",null,e.value?e.value.map(((e,t)=>{if(e.name){var r=e.name.replace(/(<([^>]+)>)/gi,"").trim();if(r)return i.createElement("div",{key:t},re().decode(r))}})):null)},{Header:(0,p.S)("Ingredients"),id:"ingredient",accessor:"ingredients",width:300,sortable:!1,Filter:e=>i.createElement(ie.Z,e),Cell:e=>i.createElement("div",null,e.value?e.value.map(((e,t)=>(e.name=e.name.replace(/(<([^>]+)>)/gi,"").trim(),i.createElement("div",{key:t},e.name&&i.createElement("div",{style:{fontWeight:"bold"}},re().decode(e.name)),e.ingredients.map(((e,t)=>{var r=[];if(e.amount&&r.push(e.amount),e.unit&&r.push(e.unit),e.name&&r.push(e.name),e.notes&&r.push(e.notes),r.length){var n=r.join(" ").replace(/(<([^>]+)>)/gi,"").trim();if(n)return i.createElement("div",{key:t},re().decode(n))}})))))):null)},{Header:(0,p.S)("Converted Ingredients"),id:"unit_conversion",accessor:"unit_conversion",width:300,sortable:!1,filterable:!1,Cell:e=>Array.isArray(e.value)?i.createElement("div",null,e.value.map(((e,t)=>{if(e=e.replace(/(<([^>]+)>)/gi,"").trim())return i.createElement("div",{key:t},re().decode(e))}))):i.createElement("div",null,e.value)},{Header:(0,p.S)("Nutrition"),id:"nutrition",accessor:"nutrition",width:250,sortable:!1,filterable:!1,Cell:e=>i.createElement("div",{className:"wprm-manage-recipes-nutrition-container"},Object.keys(wprm_admin_modal.nutrition).map(((t,r)=>{var n=wprm_admin_modal.nutrition[t],a=!!e.value.hasOwnProperty(t)&&e.value[t],o=n.unit;return"serving_size"===t&&e.value.hasOwnProperty("serving_unit")&&e.value.serving_unit&&(o=e.value.serving_unit),!1===a?null:"calories"===t||wprm_admin.addons.premium?i.createElement("div",{className:"wprm-manage-recipes-nutrition",key:r},i.createElement("div",{className:"wprm-manage-recipes-nutrition-label"},n.label),i.createElement("div",{className:"wprm-manage-recipes-nutrition-value-unit"},i.createElement("span",{className:"wprm-manage-recipes-nutrition-value"},a),i.createElement("span",{className:"wprm-manage-recipes-nutrition-unit"},o))):null})))}),wprm_admin.addons.elite&&t.push({Header:(0,p.S)("Recipe Submission User"),id:"submission_author",accessor:"submission_author",width:300,sortable:!1,Filter:e=>{var{filter:t,onChange:r}=e;return i.createElement("select",{onChange:e=>r(e.target.value),style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},i.createElement("option",{value:"all"},(0,p.S)("Show All")),i.createElement("option",{value:"yes"},(0,p.S)("Was Recipe Submission")),i.createElement("option",{value:"no"},(0,p.S)("Was not a Recipe Submission")))},Cell:e=>{var t=e.value;if(!t)return null;var r=t.name?t.name:e.original.submission_author_user_name?e.original.submission_author_user_name:"";return i.createElement("div",{className:"wprm-admin-manage-recipe-submission-user"},i.createElement("div",{className:"wprm-admin-manage-recipe-submission-user-name"},t.id?i.createElement("a",{href:e.original.submission_author_user_link,target:"_blank"},"#",t.id):null,r?i.createElement("span",null," - ",r):null),t.email?i.createElement("div",{className:"wprm-admin-manage-recipe-submission-user-email"},t.email):null)}});var a=wprm_admin_modal.custom_fields&&wprm_admin_modal.custom_fields.fields?Object.values(wprm_admin_modal.custom_fields.fields):[],o=function(e){t.push({Header:e.name,id:"custom_field_".concat(e.key),accessor:"custom_fields",width:150,Filter:e=>i.createElement(ie.Z,e),Cell:t=>{if(!t.value.hasOwnProperty(e.key)||!t.value[e.key])return null;var r=t.value[e.key];return"image"===e.type?i.createElement("div",{style:{width:"100%"}},r.hasOwnProperty("url")&&r.url?i.createElement("img",{src:r.url,className:"wprm-admin-manage-image"}):null):"textarea"===e.type?i.createElement("div",{dangerouslySetInnerHTML:{__html:r}}):"link"===e.type?i.createElement("a",{href:r,target:"_blank"},r):"email"===e.type?i.createElement("a",{href:"mailto:".concat(r)},r):i.createElement("div",null,r)}})};for(var l of a)o(l);return t}},ve={getColumns:e=>[(0,ae.Z)(e),{Header:(0,p.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:70,Filter:()=>i.createElement("div",null,(0,p.S)("Filter:")),Cell:t=>i.createElement("div",{className:"wprm-admin-manage-actions"},i.createElement(u.Z,{type:"eye",title:(0,p.S)("View Revision"),onClick:()=>{WPRM_Modal.open("recipe",{recipe:t.original.recipe_data,restoreRevision:!0,saveCallback:()=>e.refreshData()})}}),i.createElement(u.Z,{type:"trash",title:(0,p.S)("Delete Revision"),onClick:()=>{confirm("".concat((0,p.S)("Are you sure you want to delete"),' "').concat(t.original.post_title,'"?'))&&c.Z.recipe.deleteRevision(t.original.id).then((()=>e.refreshData()))}}))},{Header:(0,p.S)("Recipe ID"),id:"recipe_id",accessor:"post_parent",width:75,Filter:e=>i.createElement(ie.Z,e)},{Header:(0,p.S)("Revision ID"),id:"id",accessor:"id",width:75,Filter:e=>i.createElement(ie.Z,e)},{Header:(0,p.S)("Date"),id:"date",accessor:"post_date",width:150,Filter:e=>i.createElement(ie.Z,e)},{Header:(0,p.S)("Name"),id:"name",accessor:"post_title",Filter:e=>i.createElement(ie.Z,e)},{Header:(0,p.S)("Recipe Data Size"),id:"recipe_data",accessor:"recipe_data",sortable:!1,filterable:!1,width:150,Cell:e=>{var t=JSON.stringify(wprm_admin_modal.recipe).length,r=JSON.stringify(e.value).length;return i.createElement("div",null,Math.max(r-t,0).toLocaleString())}}]},be=r(5308),ye={getColumns(e){var t=wprm_admin_modal.options.hasOwnProperty("".concat(e.props.options.id,"_link_nofollow"))?wprm_admin_modal.options["".concat(e.props.options.id,"_link_nofollow")]:wprm_admin_modal.options.term_link_nofollow,r=[];return"suitablefordiet"!==e.props.options.id&&r.push((0,ae.Z)(e,"term_id")),r=[...r,{Header:(0,p.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:"suitablefordiet"===e.props.options.id?65:100,Filter:()=>i.createElement("div",null,(0,p.S)("Filter:")),Cell:t=>i.createElement("div",{className:"wprm-admin-manage-actions"},"suitablefordiet"===e.props.options.id?i.createElement(u.Z,{type:"pencil",title:"".concat((0,p.S)("Rename")," ").concat(e.props.options.label.singular),onClick:()=>{var r=prompt("".concat((0,p.S)("What do you want to be the new name for"),' "').concat(t.original.label,'"?'),t.original.label);r&&r.trim()&&c.Z.manage.renameTermLabel(e.props.options.id,t.original.term_id,r).then((()=>e.refreshData()))}}):i.createElement(i.Fragment,null,i.createElement(u.Z,{type:"pencil",title:"".concat((0,p.S)("Rename")," ").concat(e.props.options.label.singular),onClick:()=>{var r=prompt("".concat((0,p.S)("What do you want to be the new name for"),' "').concat(t.original.name,'"?'),t.original.name);r&&r.trim()&&c.Z.manage.renameTerm(e.props.options.id,t.original.term_id,r).then((()=>e.refreshData()))}}),i.createElement(u.Z,{type:"merge",title:"".concat((0,p.S)("Merge into another")," ").concat(e.props.options.label.singular),onClick:()=>{var r=prompt("".concat((0,p.S)("What is the ID of the term you want the merge"),' "').concat(t.original.name,'" ').concat((0,p.S)("into"),"?"));r&&r!=t.original.term_id&&r.trim()&&c.Z.manage.getTerm(e.props.options.id,r).then((n=>{n?confirm("".concat((0,p.S)("Are you sure you want to merge"),' "').concat(t.original.name,'" ').concat((0,p.S)("into"),' "').concat(n.name,'"?'))&&c.Z.manage.mergeTerm(e.props.options.id,t.original.term_id,r).then((()=>e.refreshData())):alert((0,p.S)("We could not find a term with that ID."))}))}}),i.createElement(u.Z,{type:"trash",title:"".concat((0,p.S)("Delete")," ").concat(e.props.options.label.singular),onClick:()=>{confirm("".concat((0,p.S)("Are you sure you want to delete"),' "').concat(t.original.name,'"?'))&&c.Z.manage.deleteTerm(e.props.options.id,t.original.term_id).then((()=>e.refreshData()))}})))},{Header:(0,p.S)("ID"),id:"id",accessor:"term_id",width:65,Filter:e=>i.createElement(ie.Z,e)},{Header:(0,p.S)("Slug"),id:"slug",accessor:"slug",width:200,Filter:e=>i.createElement(ie.Z,e),Cell:t=>i.createElement("div",{className:"wprm-manage-ingredients-group-container"},i.createElement(u.Z,{type:"pencil",title:(0,p.S)("Change Slug"),onClick:()=>{var r=prompt("".concat((0,p.S)("What do you want the slug to be for"),' "').concat(t.original.name,'"?'),t.value);!1!==r&&c.Z.manage.changeTermSlug(e.props.options.id,t.original.term_id,r).then((()=>e.refreshData()))}}),t.original.permalink?i.createElement("span",null,i.createElement("a",{href:t.original.permalink,target:"_blank"},t.value)):i.createElement("span",null,t.value))},{Header:"suitablefordiet"===e.props.options.id?(0,p.S)("Diet"):(0,p.S)("Name"),id:"name",accessor:"name",Filter:e=>i.createElement(ie.Z,e),Cell:e=>e.value?re().decode(e.value):null},{Header:(0,p.S)("Recipes"),id:"count",accessor:"count",filterable:!1,width:65,Cell:t=>i.createElement(a.OL,{to:"/recipe/".concat(e.props.options.id,"=").concat(t.original.term_id)},t.value)}],"suitablefordiet"===e.props.options.id&&r.push({Header:(0,p.S)("Label"),id:"label",accessor:"label",sortable:!1,filterable:!1,Cell:e=>e.value?re().decode(e.value):null}),"ingredient"===e.props.options.id&&r.push({Header:(0,p.S)("Plural"),id:"plural",accessor:"plural",width:200,Filter:e=>i.createElement(ie.Z,e),Cell:t=>i.createElement("div",{className:"wprm-manage-ingredients-group-container"},i.createElement(u.Z,{type:"pencil",title:(0,p.S)("Change Plural"),onClick:()=>{var r=prompt("".concat((0,p.S)("What do you want the plural to be for"),' "').concat(t.original.name,'"?'),t.value);!1!==r&&c.Z.manage.updateTaxonomyMeta("ingredient",t.original.term_id,{plural:r}).then((()=>e.refreshData()))}}),t.value?i.createElement("span",null,t.value):null)}),"ingredient"===e.props.options.id&&wprm_admin.addons.premium&&r.push({Header:(0,p.S)("Shopping List Group"),id:"group",accessor:"group",width:200,Filter:e=>i.createElement(ie.Z,e),Cell:t=>i.createElement("div",{className:"wprm-manage-ingredients-group-container"},i.createElement(u.Z,{type:"pencil",title:(0,p.S)("Change Group"),onClick:()=>{var r=prompt("".concat((0,p.S)("What do you want to be the new group for"),' "').concat(t.original.name,'"?'),t.value);!1!==r&&c.Z.manage.updateTaxonomyMeta("ingredient",t.original.term_id,{group:r}).then((()=>e.refreshData()))}}),t.value?i.createElement("span",null,t.value):null)}),"ingredient"!==e.props.options.id&&wprm_admin.addons.premium&&r.push({Header:(0,p.S)("Image"),id:"image_id",accessor:"image_id",width:110,sortable:!1,Filter:e=>{var{filter:t,onChange:r}=e;return i.createElement("select",{onChange:e=>r(e.target.value),style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},i.createElement("option",{value:"all"},(0,p.S)("Show All")),i.createElement("option",{value:"yes"},(0,p.S)("Has Image")),i.createElement("option",{value:"no"},(0,p.S)("Does not have Image")))},Cell:t=>{var r=r=>{r.preventDefault(),be.Z.selectImage((r=>{c.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{image_id:r.id}).then((()=>e.refreshData()))}))};return i.createElement("div",{className:"wprm-manage-image-container"},t.value?i.createElement("div",{className:"wprm-manage-image-preview"},i.createElement(de.Z,{content:(0,p.S)("Edit Image")},i.createElement("img",{src:t.original.image_url,onClick:r})),i.createElement(u.Z,{type:"trash",title:(0,p.S)("Remove Image"),onClick:()=>{c.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{image_id:0}).then((()=>e.refreshData()))}})):i.createElement(u.Z,{type:"photo",title:(0,p.S)("Add Image"),onClick:r}))}}),wprm_admin.addons.premium&&(window.hasOwnProperty("EAFL_Modal")&&r.push({Header:(0,p.S)("Easy Affiliate Links"),id:"eafl",accessor:"eafl",width:300,Filter:e=>i.createElement(ie.Z,e),Cell:t=>i.createElement("div",{className:"wprm-manage-ingredients-eafl-container"},t.value?i.createElement(i.Fragment,null,i.createElement(u.Z,{type:"eafl-link",title:(0,p.S)("Edit Link"),onClick:()=>{t.original.hasOwnProperty("eafl_details")?EAFL_Modal.open("edit",{link:t.original.eafl_details,saveCallback:()=>e.refreshData()}):alert((0,p.S)("An Affiliate Link with this ID cannot be found. Try deleting and adding it again."))}})," ",i.createElement(u.Z,{type:"eafl-unlink",title:(0,p.S)("Remove Link"),onClick:()=>{confirm((0,p.S)("Are you sure you want to delete this link?"))&&c.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{eafl:""}).then((()=>e.refreshData()))}}),i.createElement("div",{className:"wprm-manage-ingredients-eafl-details"},t.original.hasOwnProperty("eafl_details")?i.createElement(i.Fragment,null,i.createElement("div",null,"#",t.value," - ",t.original.eafl_details.name),i.createElement("div",null,i.createElement("a",{href:t.original.eafl_details.url,target:"_blank"},t.original.eafl_details.url))):i.createElement("div",null,"#",t.value," - ",(0,p.S)("n/a")))):i.createElement(u.Z,{type:"eafl-link",title:(0,p.S)("Set Affiliate Link"),onClick:()=>{EAFL_Modal.open("insert",{insertCallback:function(r){c.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{eafl:r.id}).then((()=>e.refreshData()))},selectedText:t.original.name})}}))}),r.push({Header:(0,p.S)("Link"),id:"link",accessor:"link",width:300,Filter:e=>i.createElement(ie.Z,e),Cell:t=>i.createElement("div",{className:"wprm-manage-ingredients-link-container"},i.createElement(u.Z,{type:"pencil",title:(0,p.S)("Change Link"),onClick:()=>{var r=prompt("".concat((0,p.S)("What do you want to be the new link for"),' "').concat(t.original.name,'"?'),t.value);!1!==r&&(""===r||"http"===r.substring(0,4)||confirm('"'.concat(r,'" ').concat((0,p.S)("does not start with http:// or https:// as we would expect for a link. Are you sure you want to use this? Regular HTML code will not work here."))))&&c.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{link:r}).then((()=>e.refreshData()))}}),t.value?i.createElement("a",{href:t.value,target:"_blank"},t.value):null)},{Header:(0,p.S)("Link Nofollow"),id:"link_nofollow",accessor:"link_nofollow",width:250,Filter:e=>{var{filter:r,onChange:n}=e;return i.createElement("select",{onChange:e=>n(e.target.value),style:{width:"100%",fontSize:"1em"},value:r?r.value:"all"},i.createElement("option",{value:"all"},(0,p.S)("Any Nofollow")),t.map(((e,t)=>i.createElement("option",{value:e.value,key:t},e.label))))},Cell:r=>i.createElement("div",null,r.original.link?i.createElement("select",{onChange:t=>{c.Z.manage.updateTaxonomyMeta(e.props.options.id,r.original.term_id,{link_nofollow:t.target.value}).then((()=>e.refreshData()))},style:{width:"100%",fontSize:"1em"},value:r.value},t.map(((e,t)=>i.createElement("option",{value:e.value,key:t},e.label)))):null)})),"equipment"===e.props.options.id&&wprm_admin.addons.premium&&(r.push({Header:(0,p.S)("Affiliate HTML"),id:"affiliate_html",accessor:"affiliate_html",width:500,Filter:e=>i.createElement(ie.Z,e),Cell:t=>i.createElement("div",{className:"wprm-manage-equipment-affiliate-html-container"},i.createElement(u.Z,{type:"pencil",title:(0,p.S)("Change HTML"),onClick:()=>{WPRM_Modal.open("input-fields",{header:(0,p.S)("Change Affiliate HTML"),fields:[{label:"HTML",type:"textarea",value:t.value}],insertCallback:r=>{var n=r.fields[0].value;c.Z.manage.updateTaxonomyMeta("equipment",t.original.term_id,{affiliate_html:n}).then((()=>e.refreshData()))}})}}),i.createElement("span",{className:"wprm-manage-equipment-affiliate-html"},t.value))}),r.push({Header:(0,p.S)("Affiliate HTML Preview"),id:"affiliate_html_preview",accessor:"affiliate_html",width:250,filterable:!1,sortable:!1,Cell:e=>i.createElement("div",{className:"wprm-manage-equipment-affiliate-html-preview-container"},i.createElement("div",{dangerouslySetInnerHTML:{__html:e.value}}))})),window.hasOwnProperty("wpupg_admin")&&(r.push({Header:(0,p.S)("Grid Link"),id:"wpupg_custom_link",accessor:"wpupg_custom_link",width:300,Filter:e=>i.createElement(ie.Z,e),Cell:t=>i.createElement("div",{className:"wprm-manage-ingredients-link-container"},i.createElement(u.Z,{type:"pencil",title:(0,p.S)("Change Link"),onClick:()=>{var r=prompt("".concat((0,p.S)("What do you want to be the new grid link for"),' "').concat(t.original.name,'"?'),t.value);!1!==r&&(""===r||"http"===r.substring(0,4)||confirm('"'.concat(r,'" ').concat((0,p.S)("does not start with http:// or https:// as we would expect for a link. Are you sure you want to use this? Regular HTML code will not work here."))))&&c.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{wpupg_custom_link:r}).then((()=>e.refreshData()))}}),t.value?i.createElement("a",{href:t.value,target:"_blank"},t.value):null)}),r.push({Header:(0,p.S)("Grid Image"),id:"wpupg_custom_image",accessor:"wpupg_custom_image",width:110,sortable:!1,Filter:e=>{var{filter:t,onChange:r}=e;return i.createElement("select",{onChange:e=>r(e.target.value),style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},i.createElement("option",{value:"all"},(0,p.S)("Show All")),i.createElement("option",{value:"yes"},(0,p.S)("Has Image")),i.createElement("option",{value:"no"},(0,p.S)("Does not have Image")))},Cell:t=>{var r=r=>{r.preventDefault(),be.Z.selectImage((r=>{c.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{wpupg_custom_image:r.id}).then((()=>e.refreshData()))}))};return i.createElement("div",{className:"wprm-manage-image-container"},t.value?i.createElement("div",{className:"wprm-manage-image-preview"},i.createElement(de.Z,{content:(0,p.S)("Edit Image")},i.createElement("img",{src:t.original.wpupg_custom_image_url,width:"80",onClick:r})),i.createElement(u.Z,{type:"trash",title:(0,p.S)("Remove Image"),onClick:()=>{c.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{wpupg_custom_image:0}).then((()=>e.refreshData()))}})):i.createElement(u.Z,{type:"photo",title:(0,p.S)("Add Image"),onClick:r}))}})),r}},we={getColumns:e=>[(0,ae.Z)(e),{Header:(0,p.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:70,Filter:()=>i.createElement("div",null,(0,p.S)("Filter:")),Cell:t=>i.createElement("div",{className:"wprm-admin-manage-actions"},i.createElement(u.Z,{type:"restore",title:(0,p.S)("Restore Recipe"),onClick:()=>{c.Z.recipe.updateStatus(t.original.id,"draft").then((()=>e.refreshData()))}}),i.createElement(u.Z,{type:"trash",title:(0,p.S)("Permanently Delete"),onClick:()=>{confirm("".concat((0,p.S)("Are you sure you want to delete"),' "').concat(t.original.name,'"?'))&&c.Z.recipe.delete(t.original.id,!0).then((()=>e.refreshData()))}}))},{Header:(0,p.S)("ID"),id:"id",accessor:"id",width:65,Filter:e=>i.createElement(ie.Z,e)},{Header:(0,p.S)("Date"),id:"date",accessor:"date",width:150,Filter:e=>i.createElement(ie.Z,e)},{Header:(0,p.S)("Name"),id:"name",accessor:"name",width:300,Filter:e=>i.createElement(ie.Z,e)}]},Ie=(r(33290),{getColumns:e=>[(0,ae.Z)(e),{Header:(0,p.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:40,Filter:()=>i.createElement("div",null,(0,p.S)("Filter:")),Cell:t=>i.createElement("div",{className:"wprm-admin-manage-actions"},i.createElement(u.Z,{type:"trash",title:(0,p.S)("Delete Action"),onClick:()=>{confirm((0,p.S)("Are you sure you want to delete this action?"))&&c.Z.analytics.delete(t.original.id).then((()=>e.refreshData()))}}))},{Header:(0,p.S)("Date"),id:"created_at",accessor:"created_at",width:150,Filter:e=>i.createElement(ie.Z,e)},{Header:(0,p.S)("Action"),id:"type",accessor:"type",width:150,sortable:!1,Filter:e=>i.createElement(ie.Z,e)},{Header:(0,p.S)("Action Details"),id:"meta",accessor:"meta",width:200,sortable:!1,filterable:!1,Cell:e=>i.createElement("div",null,"object"==typeof e.value?Object.keys(e.value).map(((t,r)=>i.createElement("div",{key:r},i.createElement("strong",null,t,":")," ",e.value[t].toString()))):null)},{Header:(0,p.S)("Recipe ID"),id:"recipe_id",accessor:"recipe_id",width:350,Filter:e=>i.createElement(ie.Z,e),Cell:t=>{if(!t.value||"0"===t.value)return i.createElement("div",null);var r="".concat(t.value," - ").concat(t.original.recipe?t.original.recipe:(0,p.S)("n/a"));return i.createElement("div",null,t.original.recipe?i.createElement("a",{href:"#",onClick:r=>{r.preventDefault(),WPRM_Modal.open("recipe",{recipeId:t.value,saveCallback:()=>e.refreshData()})}},r):r)}},{Header:(0,p.S)("Parent Post ID"),id:"post_id",accessor:"post_id",width:350,Filter:e=>i.createElement(ie.Z,e),Cell:e=>{if(!e.value||"0"===e.value)return i.createElement("div",null);var t="".concat(e.value," - ").concat(e.original.post?e.original.post:(0,p.S)("n/a"));return i.createElement("div",null,e.original.post_link?i.createElement("a",{href:re().decode(e.original.post_link),target:"_blank"},t):t)}},{Header:(0,p.S)("User ID"),id:"user_id",accessor:"user_id",width:150,Filter:e=>i.createElement(ie.Z,e),Cell:e=>{if(!e.value||"0"===e.value)return i.createElement("div",null);var t="".concat(e.value," - ").concat(e.original.user?e.original.user:(0,p.S)("n/a"));return i.createElement("div",null,e.original.user_link?i.createElement("a",{href:re().decode(e.original.user_link),target:"_blank"},t):t)}},{Header:(0,p.S)("Visitor UID"),id:"visitor_id",accessor:"visitor_id",width:175,Filter:e=>i.createElement(ie.Z,e)},{Header:(0,p.S)("Visitor Details"),id:"visitor",accessor:"visitor",width:200,sortable:!1,filterable:!1,Cell:e=>i.createElement("div",null,"object"==typeof e.value?Object.keys(e.value).map(((t,r)=>i.createElement("div",{key:r},i.createElement("strong",null,t,":")," ",e.value[t].toString()))):null)}]}),Se={recipe:{parent:(0,p.S)("Recipes"),title:(0,p.S)("Overview"),id:"recipe",route:"recipe",label:{singular:(0,p.S)("Recipe"),plural:(0,p.S)("Recipes")},bulkEdit:{route:"recipe",type:"recipe"},createButton:e=>{WPRM_Modal.open("recipe",{saveCallback:()=>e.refreshData()})},selectedColumns:["seo","id","date","name","parent_post","rating"],columns:he}};wprm_admin_manage.revisions&&(Se.revision={parent:(0,p.S)("Recipes"),id:"revision",route:"revision",label:{singular:(0,p.S)("Revision"),plural:(0,p.S)("Revisions")},bulkEdit:{route:"revision",type:"revision"},createButton:!1,selectedColumns:!1,columns:ve}),Se.trash={parent:(0,p.S)("Recipes"),title:"".concat((0,p.S)("Trash")," (").concat(wprm_admin_manage.trash,")"),id:"trash",route:"trash",label:{singular:(0,p.S)("Recipe"),plural:(0,p.S)("Recipes")},bulkEdit:{route:"trash",type:"trash"},createButton:!1,selectedColumns:!1,columns:we},Se.ingredient={parent:(0,p.S)("Recipe Fields"),id:"ingredient",route:"taxonomy",label:{singular:(0,p.S)("Ingredient"),plural:(0,p.S)("Ingredients")},bulkEdit:{route:"taxonomy",type:"ingredient"},createButton:e=>{var t=prompt((0,p.S)("What do you want to be the name of this new ingredient?"));t&&t.trim()&&c.Z.manage.createTerm("ingredient",t).then((t=>{t?e.refreshData():alert((0,p.S)("We were not able to create this ingredient. Make sure it does not exist yet."))}))},selectedColumns:!1,columns:ye},Se.equipment={parent:(0,p.S)("Recipe Fields"),id:"equipment",route:"taxonomy",label:{singular:(0,p.S)("Equipment"),plural:(0,p.S)("Equipment")},bulkEdit:{route:"taxonomy",type:"equipment"},createButton:e=>{var t=prompt((0,p.S)("What do you want to be the name of this new equipment?"));t&&t.trim()&&c.Z.manage.createTerm("equipment",t).then((t=>{t?e.refreshData():alert((0,p.S)("We were not able to create this equipment. Make sure it does not exist yet."))}))},selectedColumns:!1,columns:ye},Object.keys(wprm_admin_manage.taxonomies).map((e=>{var t=wprm_admin_manage.taxonomies[e],r=e.substr(5);Se["tag_"+r]="suitablefordiet"===r?{parent:(0,p.S)("Recipe Fields"),id:r,route:"taxonomy",label:{singular:t.singular_name,plural:t.name},bulkEdit:!1,createButton:!1,selectedColumns:["id","name","label","count"],columns:ye}:{parent:(0,p.S)("Recipe Fields"),id:r,route:"taxonomy",label:{singular:t.singular_name,plural:t.name},bulkEdit:{route:"taxonomy",type:r},createButton:e=>{var t=prompt((0,p.S)("What do you want to be the name of this new term?"));t&&t.trim()&&c.Z.manage.createTerm(r,t).then((t=>{t?(e.refreshData(),wprm_admin_modal.categories[r].terms.push({term_id:t.id,name:t.name,count:0})):alert((0,p.S)("We were not able to create this term. Make sure it does not exist yet."))}))},selectedColumns:["id","name","count"],columns:ye}})),Se.taxonomies={parent:(0,p.S)("Your Custom Fields"),id:"taxonomies",route:"taxonomies",label:{singular:(0,p.S)("Recipe Taxonomy"),plural:(0,p.S)("Recipe Taxonomies")},bulkEdit:!1,selectedColumns:!1,columns:ne},wprm_admin.addons.premium&&(Se.taxonomies.createButton=e=>{WPRM_Modal.open("taxonomy",{saveCallback:()=>e.refreshData()})}),Se["custom-fields"]={required:"pro",parent:(0,p.S)("Your Custom Fields"),id:"custom-fields",label:{singular:(0,p.S)("Custom Field"),plural:(0,p.S)("Custom Fields")}},Se.nutrition={required:"pro",parent:(0,p.S)("Your Custom Fields"),id:"nutrition_ingredient",label:{singular:(0,p.S)("Custom Nutrition Ingredient"),plural:(0,p.S)("Custom Nutrition")}},Se.nutrients={required:"premium",parent:(0,p.S)("Your Custom Fields"),id:"nutrition_ingredient",label:{singular:(0,p.S)("Custom Nutrient"),plural:(0,p.S)("Custom Nutrients")}},Se.rating={parent:(0,p.S)("Features"),id:"rating",route:"rating",label:{singular:(0,p.S)("Rating"),plural:(0,p.S)("Ratings")},bulkEdit:{route:"rating",type:"rating"},createButton:!1,selectedColumns:["date","rating","type","user_id","ip"],columns:ce},Se.collections={required:"elite",parent:(0,p.S)("Features"),id:"collections",label:{singular:(0,p.S)("Saved Collection"),plural:(0,p.S)("Saved Collections")}},Se["user-collections"]={required:"elite",parent:(0,p.S)("Features"),id:"user-collections",label:{singular:(0,p.S)("User Collection"),plural:(0,p.S)("User Collections")}},Se["recipe-submission"]={required:"elite",parent:(0,p.S)("Features"),title:(0,p.S)("Recipe Submissions"),id:"recipe-submission",label:{singular:(0,p.S)("Recipe Submission"),plural:(0,p.S)("Recipe Submissions")}},Se.analytics={parent:(0,p.S)("Analytics"),title:(0,p.S)("Overview"),id:"analytics",route:"analytics",label:{singular:(0,p.S)("Action"),plural:(0,p.S)("Actions")},bulkEdit:{route:"analytics",type:"analytics"},createButton:!1,selectedColumns:["created_at","type","recipe_id","post_id","user_id"],columns:Ie};var Ee=Se,{hooks:xe}=WPRecipeMaker["wp-recipe-maker/dist/shared"];class De extends i.Component{render(){var e=xe.applyFilters("datatables",Ee);return i.createElement(V.Z,{module:"Manage"},i.createElement("div",{id:"wprm-admin-manage-header"},i.createElement(s,{datatables:e}),i.createElement(d,null)),i.createElement("div",{id:"wprm-admin-manage-content"},i.createElement(o.AW,{path:"/:type?/:filter?",render:t=>{var{match:r}=t,n="recipe";r.params.type&&Object.keys(e).includes(r.params.type)&&(n=r.params.type);var a=!1;if(r.params.filter){var o=r.params.filter.split("=");2===o.length&&(a=o)}return e.hasOwnProperty(n)?i.createElement(ee,{type:n,filter:a,options:e[n]}):null}})))}}var Te=document.getElementById("wprm-admin-manage");Te&&n.render(i.createElement(a.UT,{hashType:"noslash"},i.createElement(De,null)),Te)},80416:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(89526);class i extends n.Component{constructor(e){super(e),this.debouncedTimer=!1;var t="";e.filter&&e.filter.value&&(t=e.filter.value),this.state={value:t,passedValue:t},this.onChange=this.onChange.bind(this),this.updateFilter=this.updateFilter.bind(this)}onChange(e){clearTimeout(this.debouncedTimer),e!==this.state.passedValue&&(this.debouncedTimer=setTimeout((()=>{this.updateFilter(e)}),500)),this.setState({value:e})}updateFilter(e){this.props.onChange(e),this.setState({passedValue:e})}render(){return n.createElement("input",{className:"wprm-admin-manage-text-filter",type:"text",value:this.state.value,onChange:e=>this.onChange(e.target.value)})}}},94341:function(e,t,r){"use strict";var n=r(89526),i=r(52082);t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id";return{Header:(0,i.S)("Bulk Edit"),id:"bulk_edit",className:"wprm-admin-table-checkbox-container",headerClassName:"wprm-admin-table-checkbox-container",sortable:!1,width:30,Filter:()=>n.createElement("input",{type:"checkbox",checked:1===e.state.selectedAllRows,ref:t=>{t&&(t.indeterminate=2===e.state.selectedAllRows)},onChange:()=>e.toggleSelectAll()}),Cell:r=>n.createElement("input",{type:"checkbox",checked:!0===e.state.selectedRows[r.original[t]],onChange:()=>e.toggleSelectRow(r.original[t])})}}},5308:function(e,t,r){"use strict";r(87191);var n=r(52082),i={selectImage(e){this.select("image",e)},selectVideo(e){this.select("video",e)},select(e,t){var r={title:(0,n.S)("Select Media"),button:{text:(0,n.S)("Select")},multiple:!1};"video"===e?(r.frame="video",r.state="video-details"):r.library={type:"image"};var i=wp.media(r);i.on("select",(function(){var e=i.state().get("selection").first().toJSON();t(e)})),i.on("update",(function(){var e=i.state().media.attachment;e&&t(e)})),i.open()}};t.Z=i},71288:function(e,t,r){"use strict";r.d(t,{Z:function(){return z}});var n=r(46087),i=wprm_admin.endpoints.analytics,a={delete:e=>n.Z.call("".concat(i,"/").concat(e),"DELETE")};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 l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=wprm_admin.endpoints.custom_taxonomies,c={save(e,t){var r=function(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){l(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}({},t),i=e?"PUT":"POST";return n.Z.call(s,i,r)}},u=wprm_admin.endpoints.notices,p={dismissNotice(e){var t={id:e};return n.Z.call(u,"DELETE",t)}},d=wprm_admin.endpoints.modal,m={parseIngredients(e){var t={ingredients:e};return n.Z.call("".concat(d,"/ingredient/parse"),"POST",t)}},f=(r(35054),wprm_admin.endpoints.manage),g=wprm_admin.endpoints.rating,h=wprm_admin.endpoints.taxonomy,v=!1,b=!1,y={getData(e){return v?(b=e,new Promise((e=>e(!1)))):this.getDataDebounced(e)},getDataDebounced(e){return v=!0,n.Z.call("".concat(f,"/").concat(e.route),"POST",e).then((e=>{if(b){var t=b;return b=!1,this.getDataDebounced(t)}return v=!1,e}))},deleteUserRatings:e=>n.Z.call("".concat(g,"/recipe/").concat(e),"DELETE"),getTerm:(e,t)=>n.Z.call("".concat(h).concat(e,"/").concat(t)),createTerm(e,t){var r={name:t};return n.Z.call("".concat(h).concat(e),"POST",r)},deleteTerm:(e,t)=>n.Z.call("".concat(h).concat(e,"/").concat(t,"?force=true"),"DELETE"),renameTerm(e,t,r){var i={name:r};return n.Z.call("".concat(h).concat(e,"/").concat(t),"POST",i)},changeTermSlug(e,t,r){var i={slug:r};return n.Z.call("".concat(h).concat(e,"/").concat(t),"POST",i)},renameTermLabel(e,t,r){var i={type:e,id:t,label:r};return n.Z.call("".concat(f,"/taxonomy/label"),"POST",i)},mergeTerm(e,t,r){var i={type:e,oldId:t,newId:r};return n.Z.call("".concat(f,"/taxonomy/merge"),"POST",i)},updateTaxonomyMeta(e,t,r){var i={};return i[e]=r,n.Z.call("".concat(h).concat(e,"/").concat(t),"POST",i)},bulkEdit(e,t,r,i){var a={type:t,ids:r,action:i};return n.Z.call("".concat(f,"/").concat(e,"/bulk"),"POST",a)}},w=wprm_admin.endpoints.modal,I=!1,S=!1,E={getSuggestions(e){return I?(S=e,new Promise((e=>e(!1)))):this.getSuggestionsDebounced(e)},getSuggestionsDebounced(e){return I=!0,n.Z.call("".concat(w,"/suggest"),"POST",e).then((e=>{if(S){var t=S;return S=!1,this.getSuggestionsDebounced(t)}return I=!1,e}))}},x=wprm_admin.endpoints.rating,D={update(e){var t={rating:e};return n.Z.call("".concat(x),"POST",t)},delete:e=>n.Z.call("".concat(x,"/").concat(e),"DELETE")},T=wprm_admin.endpoints.recipe,M=wprm_admin.endpoints.manage,P={get:e=>n.Z.call("".concat(T,"/").concat(e)),save(e){var t={recipe:e},r=T,i="POST",a=!!e.id&&parseInt(e.id);return a&&(r+="/".concat(a),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(M,"/revision/").concat(e),"DELETE")},C=wprm_admin.endpoints.setting,N={save(e){var t={settings:e};return n.Z.call(C,"POST",t)}},L=wprm_admin.endpoints.template,j=[],k={},A=null,O={previewShortcode(e,t,r){return k[e]=t,clearTimeout(A),A=setTimeout((()=>{this.previewShortcodes(r)}),500),new Promise((e=>j.push(e)))},previewShortcodes(e){var t=j,r=k;j=[],k={};var n={recipeId:e,shortcodes:r};fetch("".concat(L,"/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(L,"POST",t)},delete(e){var t={slug:e};return n.Z.call(L,"DELETE",t)}},R=wprm_admin.endpoints.utilities,Z={saveImage(e){var t={url:e};return n.Z.call("".concat(R,"/save_image"),"POST",t)}},{hooks:H}=WPRecipeMaker["wp-recipe-maker/dist/shared"],z=H.applyFilters("api",{analytics:a,customTaxonomy:c,general:p,import:m,manage:y,modal:E,rating:D,recipe:P,settings:N,template:O,utilities:Z})},46087:function(e,t,r){"use strict";r(31807),r(35054),r(22321);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){if(t.ok)return t.json();console.log(e,i),console.log(t);var r="Something went wrong. Using a firewall like Cloudflare or Sucuri? Try whitelisting your IP. If that doesn't work, please contact support@bootstrapped.ventures with the following details:",n="".concat(t.url," ").concat(t.redirected?"(redirected)":"","- ").concat(t.status," - ").concat(t.statusText);try{t.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."):alert("".concat(r,"\r\n\r\n").concat(n,"\r\n\r\n").concat(e))}))}catch(a){console.log(a),alert("".concat(r,"\r\n\r\n").concat(n,"\r\n\r\n").concat(a))}return!1}))}}},48618:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});r(33290);var n=r(89526);class i extends n.Component{constructor(e){super(e),this.state={hasError:!1,error:!1,info:!1}}componentDidCatch(e,t){this.setState({hasError:!0,error:e,info:t})}render(){return n.createElement(n.Fragment,null,this.state.hasError?n.createElement("div",{className:"wprm-error-boundary"},n.createElement("p",null,n.createElement("strong",null,"Something went wrong"),n.createElement("br",null),"Please contact ",n.createElement("a",{href:"mailto:support@bootstrapped.ventures"},"support@bootstrapped.ventures")," and send along the following information:"),n.createElement("pre",null,this.props.module?"Module: ".concat(this.props.module,"\n"):null,this.state.error?"Error: ".concat(this.state.error.toString(),"\n"):null,this.state.info?"Stack: ".concat(this.state.info.componentStack):null)):this.props.children)}}},62834:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(89526),i=r(49092),a=r(95075),o={adjustable:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyLjUiIHkxPSIxMi41IiB4Mj0iMTUuNSIgeTI9IjEyLjUiPjwvbGluZT4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjAuNSIgeTE9IjMuNSIgeDI9IjMuNSIgeTI9IjMuNSI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iOS41IiB5MT0iMy41IiB4Mj0iMTUuNSIgeTI9IjMuNSI+PC9saW5lPiA8cmVjdCBkYXRhLWNvbG9yPSJjb2xvci0yIiB4PSIzLjUiIHk9IjAuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5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